You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
52 KiB
JavaScript

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2725],{36109:function(e,t,r){var n=r(41376),o=r(95783),i=r(54354),a=r(31998),u=r(56581),p=r(86384),s=r(25691),c=r(5265),f=r(88460),l=r(91988),y=r(85528),h=r(28082),m=r(32275),w=r(86923),v=r(17985),g=r(12810),d=r(4750),b=r(32025);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=A(e);if(t){var o=A(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return O(this,r)}}function O(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=p.J+" http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd",N={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"},M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&P(e,t)}(i,e);var t,r,n,o=R(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);var r=e||{};return(t=o.call(this,r)).surface_=void 0!==r.surface&&r.surface,t.curve_=void 0!==r.curve&&r.curve,t.multiCurve_=void 0===r.multiCurve||r.multiCurve,t.multiSurface_=void 0===r.multiSurface||r.multiSurface,t.schemaLocation=r.schemaLocation?r.schemaLocation:_,t.hasZ=void 0!==r.hasZ&&r.hasZ,t}return t=i,(r=[{key:"readMultiCurve",value:function(e,t){var r=(0,h.O)([],this.MULTICURVE_PARSERS,e,t,this);return r?new f.Z(r):void 0}},{key:"readMultiSurface",value:function(e,t){var r=(0,h.O)([],this.MULTISURFACE_PARSERS,e,t,this);if(r)return new l.Z(r)}},{key:"curveMemberParser",value:function(e,t){(0,h.T3)(this.CURVEMEMBER_PARSERS,e,t,this)}},{key:"surfaceMemberParser",value:function(e,t){(0,h.T3)(this.SURFACEMEMBER_PARSERS,e,t,this)}},{key:"readPatch",value:function(e,t){return(0,h.O)([null],this.PATCHES_PARSERS,e,t,this)}},{key:"readSegment",value:function(e,t){return(0,h.O)([null],this.SEGMENTS_PARSERS,e,t,this)}},{key:"readPolygonPatch",value:function(e,t){return(0,h.O)([null],this.FLAT_LINEAR_RINGS_PARSERS,e,t,this)}},{key:"readLineStringSegment",value:function(e,t){return(0,h.O)([null],this.GEOMETRY_FLAT_COORDINATES_PARSERS,e,t,this)}},{key:"interiorParser",value:function(e,t){var r=(0,h.O)(void 0,this.RING_PARSERS,e,t,this);r&&t[t.length-1].push(r)}},{key:"exteriorParser",value:function(e,t){var r=(0,h.O)(void 0,this.RING_PARSERS,e,t,this);r&&(t[t.length-1][0]=r)}},{key:"readSurface",value:function(e,t){var r=(0,h.O)([null],this.SURFACE_PARSERS,e,t,this);if(r&&r[0]){var n,o,i=r[0],a=[i.length];for(n=1,o=r.length;n<o;++n)(0,v.l7)(i,r[n]),a.push(i.length);return new y.ZP(i,s.Z.XYZ,a)}}},{key:"readCurve",value:function(e,t){var r=(0,h.O)([null],this.CURVE_PARSERS,e,t,this);return r?new c.Z(r,s.Z.XYZ):void 0}},{key:"readEnvelope",value:function(e,t){var r=(0,h.O)([null],this.ENVELOPE_PARSERS,e,t,this);return(0,w.T9)(r[1][0],r[1][1],r[2][0],r[2][1])}},{key:"readFlatPos",value:function(e,t){for(var r,n=(0,h.Ve)(e,!1),o=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,i=[];r=o.exec(n);)i.push(parseFloat(r[1])),n=n.substr(r[0].length);if(""===n){var a,u,p=t[0].srsName,s="enu";if(p&&(s=(0,g.U2)(p).getAxisOrientation()),"neu"===s)for(a=0,u=i.length;a<u;a+=3){var c=i[a],f=i[a+1];i[a]=f,i[a+1]=c}var l=i.length;if(2==l&&i.push(0),0!==l)return i}}},{key:"readFlatPosList",value:function(e,t){var r=(0,h.Ve)(e,!1).replace(/^\s*|\s*$/g,""),n=t[0],o=n.srsName,i=n.srsDimension,a="enu";o&&(a=(0,g.U2)(o).getAxisOrientation());var u,p,s,c=r.split(/\s+/),f=2;e.getAttribute("srsDimension")?f=(0,d._E)(e.getAttribute("srsDimension")):e.getAttribute("dimension")?f=(0,d._E)(e.getAttribute("dimension")):e.parentNode.getAttribute("srsDimension")?f=(0,d._E)(e.parentNode.getAttribute("srsDimension")):i&&(f=(0,d._E)(i));for(var l=[],y=0,m=c.length;y<m;y+=f)u=parseFloat(c[y]),p=parseFloat(c[y+1]),s=3===f?parseFloat(c[y+2]):0,"en"===a.substr(0,2)?l.push(u,p,s):l.push(p,u,s);return l}},{key:"writePos_",value:function(e,t,r){var n=r[r.length-1],o=n.hasZ,i=o?"3":"2";e.setAttribute("srsDimension",i);var a=n.srsName,u="enu";a&&(u=(0,g.U2)(a).getAxisOrientation());var p,s=t.getCoordinates();p="en"===u.substr(0,2)?s[0]+" "+s[1]:s[1]+" "+s[0],o&&(p+=" "+(s[2]||0)),(0,d.bZ)(e,p)}},{key:"getCoords_",value:function(e,t,r){var n="enu";t&&(n=(0,g.U2)(t).getAxisOrientation());var o="en"===n.substr(0,2)?e[0]+" "+e[1]:e[1]+" "+e[0];return r&&(o+=" "+(e[2]||0)),o}},{key:"writePosList_",value:function(e,t,r){var n=r[r.length-1],o=n.hasZ,i=o?"3":"2";e.setAttribute("srsDimension",i);for(var a,u=n.srsName,p=t.getCoordinates(),s=p.length,c=new Array(s),f=0;f<s;++f)a=p[f],c[f]=this.getCoords_(a,u,o);(0,d.bZ)(e,c.join(" "))}},{key:"writePoint",value:function(e,t,r){var n=r[r.length-1].srsName;n&&e.setAttribute("srsName",n);var o=(0,h.c)(e.namespaceURI,"pos");e.appendChild(o),this.writePos_(o,t,r)}},{key:"writeEnvelope",value:function(e,t,r){var n=r[r.length-1].srsName;n&&e.setAttribute("srsName",n);var o=[t[0]+" "+t[1],t[2]+" "+t[3]];(0,h.ZL)({node:e},this.ENVELOPE_SERIALIZERS,h.hg,o,r,["lowerCorner","upperCorner"],this)}},{key:"writeLinearRing",value:function(e,t,r){var n=r[r.length-1].srsName;n&&e.setAttribute("srsName",n);var o=(0,h.c)(e.namespaceURI,"posList");e.appendChild(o),this.writePosList_(o,t,r)}},{key:"RING_NODE_FACTORY_",value:function(e,t,r){var n=t[t.length-1],o=n.node,i=n.exteriorWritten;return void 0===i&&(n.exteriorWritten=!0),(0,h.c)(o.namespaceURI,void 0!==i?"interior":"exterior")}},{key:"writeSurfaceOrPolygon",value:function(e,t,r){var n=r[r.length-1],o=n.hasZ,i=n.srsName;if("PolygonPatch"!==e.nodeName&&i&&e.setAttribute("srsName",i),"Polygon"===e.nodeName||"PolygonPatch"===e.nodeName){var a=t.getLinearRings();(0,h.ZL)({node:e,hasZ:o,srsName:i},this.RING_SERIALIZERS,this.RING_NODE_FACTORY_,a,r,void 0,this)}else if("Surface"===e.nodeName){var u=(0,h.c)(e.namespaceURI,"patches");e.appendChild(u),this.writeSurfacePatches_(u,t,r)}}},{key:"writeCurveOrLineString",value:function(e,t,r){var n=r[r.length-1].srsName;if("LineStringSegment"!==e.nodeName&&n&&e.setAttribute("srsName",n),"LineString"===e.nodeName||"LineStringSegment"===e.nodeName){var o=(0,h.c)(e.namespaceURI,"posList");e.appendChild(o),this.writePosList_(o,t,r)}else if("Curve"===e.nodeName){var i=(0,h.c)(e.namespaceURI,"segments");e.appendChild(i),this.writeCurveSegments_(i,t,r)}}},{key:"writeMultiSurfaceOrPolygon",value:function(e,t,r){var n=r[r.length-1],o=n.hasZ,i=n.srsName,a=n.surface;i&&e.setAttribute("srsName",i);var u=t.getPolygons();(0,h.ZL)({node:e,hasZ:o,srsName:i,surface:a},this.SURFACEORPOLYGONMEMBER_SERIALIZERS,this.MULTIGEOMETRY_MEMBER_NODE_FACTORY_,u,r,void 0,this)}},{key:"writeMultiPoint",value:function(e,t,r){var n=r[r.length-1],o=n.srsName,i=n.hasZ;o&&e.setAttribute("srsName",o);var a=t.getPoints();(0,h.ZL)({node:e,hasZ:i,srsName:o},this.POINTMEMBER_SERIALIZERS,(0,h.G3)("pointMember"),a,r,void 0,this)}},{key:"writeMultiCurveOrLineString",value:function(e,t,r){var n=r[r.length-1],o=n.hasZ,i=n.srsName,a=n.curve;i&&e.setAttribute("srsName",i);var u=t.getLineStrings();(0,h.ZL)({node:e,hasZ:o,srsName:i,curve:a},this.LINESTRINGORCURVEMEMBER_SERIALIZERS,this.MULTIGEOMETRY_MEMBER_NODE_FACTORY_,u,r,void 0,this)}},{key:"writeRing",value:function(e,t,r){var n=(0,h.c)(e.namespaceURI,"LinearRing");e.appendChild(n),this.writeLinearRing(n,t,r)}},{key:"writeSurfaceOrPolygonMember",value:function(e,t,r){var n=this.GEOMETRY_NODE_FACTORY_(t,r);n&&(e.appendChild(n),this.writeSurfaceOrPolygon(n,t,r))}},{key:"writePointMember",value:function(e,t,r){var n=(0,h.c)(e.namespaceURI,"Point");e.appendChild(n),this.writePoint(n,t,r)}},{key:"writeLineStringOrCurveMember",value:function(e,t,r){var n=this.GEOMETRY_NODE_FACTORY_(t,r);n&&(e.appendChild(n),this.writeCurveOrLineString(n,t,r))}},{key:"writeSurfacePatches_",value:function(e,t,r){var n=(0,h.c)(e.namespaceURI,"PolygonPatch");e.appendChild(n),this.writeSurfaceOrPolygon(n,t,r)}},{key:"writeCurveSegments_",value:function(e,t,r){var n=(0,h.c)(e.namespaceURI,"LineStringSegment");e.appendChild(n),this.writeCurveOrLineString(n,t,r)}},{key:"writeGeometryElement",value:function(e,t,r){var n,o=r[r.length-1],i=(0,m.f0)({},o);i.node=e,n=Array.isArray(t)?(0,b.lj)(t,o):(0,b.fI)(t,!0,o),(0,h.ZL)(i,this.GEOMETRY_SERIALIZERS,this.GEOMETRY_NODE_FACTORY_,[n],r,void 0,this)}},{key:"writeFeatureElement",value:function(e,t,r){var n=t.getId();n&&e.setAttribute("fid",n);var o=r[r.length-1],i=o.featureNS,a=t.getGeometryName();o.serializers||(o.serializers={},o.serializers[i]={});var u=[],p=[];if(t.hasProperties()){var s=t.getProperties();for(var c in s){var f=s[c];null!==f&&(u.push(c),p.push(f),c==a||"function"==typeof f.getSimplifiedGeometry?c in o.serializers[i]||(o.serializers[i][c]=(0,h.A4)(this.writeGeometryElement,this)):c in o.serializers[i]||(o.serializers[i][c]=(0,h.A4)(d.bZ)))}}var l=(0,m.f0)({},o);l.node=e,(0,h.ZL)(l,o.serializers,(0,h.G3)(void 0,i),p,r,u)}},{key:"writeFeatureMembers_",value:function(e,t,r){var n=r[r.length-1],o=n.featureType,i=n.featureNS,a={};a[i]={},a[i][o]=(0,h.A4)(this.writeFeatureElement,this);var u=(0,m.f0)({},n);u.node=e,(0,h.ZL)(u,a,(0,h.G3)(o,i),t,r)}},{key:"MULTIGEOMETRY_MEMBER_NODE_FACTORY_",value:function(e,t,r){var n=t[t.length-1].node;return(0,h.c)(this.namespace,N[n.nodeName])}},{key:"GEOMETRY_NODE_FACTORY_",value:function(e,t,r){var n,o=t[t.length-1],i=o.multiSurface,a=o.surface,u=o.curve,p=o.multiCurve;return Array.isArray(e)?n="Envelope":"MultiPolygon"===(n=e.getType())&&!0===i?n="MultiSurface":"Polygon"===n&&!0===a?n="Surface":"LineString"===n&&!0===u?n="Curve":"MultiLineString"===n&&!0===p&&(n="MultiCurve"),(0,h.c)(this.namespace,n)}},{key:"writeGeometryNode",value:function(e,t){t=this.adaptOptions(t);var r=(0,h.c)(this.namespace,"geom"),n={node:r,hasZ:this.hasZ,srsName:this.srsName,curve:this.curve_,surface:this.surface_,multiSurface:this.multiSurface_,multiCurve:this.multiCurve_};return t&&(0,m.f0)(n,t),this.writeGeometryElement(r,e,[n]),r}},{key:"writeFeaturesNode",value:function(e,t){t=this.adaptOptions(t);var r=(0,h.c)(this.namespace,"featureMembers");r.setAttributeNS(h.fJ,"xsi:schemaLocation",this.schemaLocation);var n={srsName:this.srsName,hasZ:this.hasZ,curve:this.curve_,surface:this.surface_,multiSurface:this.multiSurface_,multiCurve:this.multiCurve_,featureNS:this.featureNS,featureType:this.featureType};return t&&(0,m.f0)(n,t),this.writeFeatureMembers_(r,e,[n]),r}}])&&E(t.prototype,r),n&&E(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(p.Z);M.prototype.GEOMETRY_FLAT_COORDINATES_PARSERS={"http://www.opengis.net/gml":{pos:(0,h.z)(M.prototype.readFlatPos),posList:(0,h.z)(M.prototype.readFlatPosList),coordinates:(0,h.z)(u.Z.prototype.readFlatCoordinates)}},M.prototype.FLAT_LINEAR_RINGS_PARSERS={"http://www.opengis.net/gml":{interior:M.prototype.interiorParser,exterior:M.prototype.exteriorParser}},M.prototype.GEOMETRY_PARSERS={"http://www.opengis.net/gml":{Point:(0,h.z)(p.Z.prototype.readPoint),MultiPoint:(0,h.z)(p.Z.prototype.readMultiPoint),LineString:(0,h.z)(p.Z.prototype.readLineString),MultiLineString:(0,h.z)(p.Z.prototype.readMultiLineString),LinearRing:(0,h.z)(p.Z.prototype.readLinearRing),Polygon:(0,h.z)(p.Z.prototype.readPolygon),MultiPolygon:(0,h.z)(p.Z.prototype.readMultiPolygon),Surface:(0,h.z)(M.prototype.readSurface),MultiSurface:(0,h.z)(M.prototype.readMultiSurface),Curve:(0,h.z)(M.prototype.readCurve),MultiCurve:(0,h.z)(M.prototype.readMultiCurve),Envelope:(0,h.z)(M.prototype.readEnvelope)}},M.prototype.MULTICURVE_PARSERS={"http://www.opengis.net/gml":{curveMember:(0,h.Ei)(M.prototype.curveMemberParser),curveMembers:(0,h.Ei)(M.prototype.curveMemberParser)}},M.prototype.MULTISURFACE_PARSERS={"http://www.opengis.net/gml":{surfaceMember:(0,h.Ei)(M.prototype.surfaceMemberParser),surfaceMembers:(0,h.Ei)(M.prototype.surfaceMemberParser)}},M.prototype.CURVEMEMBER_PARSERS={"http://www.opengis.net/gml":{LineString:(0,h.Ei)(p.Z.prototype.readLineString),Curve:(0,h.Ei)(M.prototype.readCurve)}},M.prototype.SURFACEMEMBER_PARSERS={"http://www.opengis.net/gml":{Polygon:(0,h.Ei)(p.Z.prototype.readPolygon),Surface:(0,h.Ei)(M.prototype.readSurface)}},M.prototype.SURFACE_PARSERS={"http://www.opengis.net/gml":{patches:(0,h.z)(M.prototype.readPatch)}},M.prototype.CURVE_PARSERS={"http://www.opengis.net/gml":{segments:(0,h.z)(M.prototype.readSegment)}},M.prototype.ENVELOPE_PARSERS={"http://www.opengis.net/gml":{lowerCorner:(0,h.Ei)(M.prototype.readFlatPosList),upperCorner:(0,h.Ei)(M.prototype.readFlatPosList)}},M.prototype.PATCHES_PARSERS={"http://www.opengis.net/gml":{PolygonPatch:(0,h.z)(M.prototype.readPolygonPatch)}},M.prototype.SEGMENTS_PARSERS={"http://www.opengis.net/gml":{LineStringSegment:(0,h.z)(M.prototype.readLineStringSegment)}},M.prototype.writeFeatures,M.prototype.RING_SERIALIZERS={"http://www.opengis.net/gml":{exterior:(0,h.A4)(M.prototype.writeRing),interior:(0,h.A4)(M.prototype.writeRing)}},M.prototype.ENVELOPE_SERIALIZERS={"http://www.opengis.net/gml":{lowerCorner:(0,h.A4)(d.bZ),upperCorner:(0,h.A4)(d.bZ)}},M.prototype.SURFACEORPOLYGONMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{surfaceMember:(0,h.A4)(M.prototype.writeSurfaceOrPolygonMember),polygonMember:(0,h.A4)(M.prototype.writeSurfaceOrPolygonMember)}},M.prototype.POINTMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{pointMember:(0,h.A4)(M.prototype.writePointMember)}},M.prototype.LINESTRINGORCURVEMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{lineStringMember:(0,h.A4)(M.prototype.writeLineStringOrCurveMember),curveMember:(0,h.A4)(M.prototype.writeLineStringOrCurveMember)}},M.prototype.GEOMETRY_SERIALIZERS={"http://www.opengis.net/gml":{Curve:(0,h.A4)(M.prototype.writeCurveOrLineString),MultiCurve:(0,h.A4)(M.prototype.writeMultiCurveOrLineString),Point:(0,h.A4)(M.prototype.writePoint),MultiPoint:(0,h.A4)(M.prototype.writeMultiPoint),LineString:(0,h.A4)(M.prototype.writeCurveOrLineString),MultiLineString:(0,h.A4)(M.prototype.writeMultiCurveOrLineString),LinearRing:(0,h.A4)(M.prototype.writeLinearRing),Polygon:(0,h.A4)(M.prototype.writeSurfaceOrPolygon),MultiPolygon:(0,h.A4)(M.prototype.writeMultiSurfaceOrPolygon),Surface:(0,h.A4)(M.prototype.writeSurfaceOrPolygon),MultiSurface:(0,h.A4)(M.prototype.writeMultiSurfaceOrPolygon),Envelope:(0,h.A4)(M.prototype.writeEnvelope)}};var C=M;function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=j(e);if(t){var o=j(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return F(this,r)}}function F(e,t){if(t&&("object"===L(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&I(e,t)}(i,e);var t,r,n,o=Z(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);var r=e||{};return(t=o.call(this,r)).schemaLocation=r.schemaLocation?r.schemaLocation:t.namespace+" http://schemas.opengis.net/gml/3.2.1/gml.xsd",t}return t=i,r&&T(t.prototype,r),n&&T(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(C);x.prototype.namespace="http://www.opengis.net/gml/3.2",x.prototype.GEOMETRY_FLAT_COORDINATES_PARSERS={"http://www.opengis.net/gml/3.2":{pos:(0,h.z)(C.prototype.readFlatPos),posList:(0,h.z)(C.prototype.readFlatPosList),coordinates:(0,h.z)(u.Z.prototype.readFlatCoordinates)}},x.prototype.FLAT_LINEAR_RINGS_PARSERS={"http://www.opengis.net/gml/3.2":{interior:C.prototype.interiorParser,exterior:C.prototype.exteriorParser}},x.prototype.GEOMETRY_PARSERS={"http://www.opengis.net/gml/3.2":{Point:(0,h.z)(p.Z.prototype.readPoint),MultiPoint:(0,h.z)(p.Z.prototype.readMultiPoint),LineString:(0,h.z)(p.Z.prototype.readLineString),MultiLineString:(0,h.z)(p.Z.prototype.readMultiLineString),LinearRing:(0,h.z)(p.Z.prototype.readLinearRing),Polygon:(0,h.z)(p.Z.prototype.readPolygon),MultiPolygon:(0,h.z)(p.Z.prototype.readMultiPolygon),Surface:(0,h.z)(x.prototype.readSurface),MultiSurface:(0,h.z)(C.prototype.readMultiSurface),Curve:(0,h.z)(x.prototype.readCurve),MultiCurve:(0,h.z)(C.prototype.readMultiCurve),Envelope:(0,h.z)(x.prototype.readEnvelope)}},x.prototype.MULTICURVE_PARSERS={"http://www.opengis.net/gml/3.2":{curveMember:(0,h.Ei)(C.prototype.curveMemberParser),curveMembers:(0,h.Ei)(C.prototype.curveMemberParser)}},x.prototype.MULTISURFACE_PARSERS={"http://www.opengis.net/gml/3.2":{surfaceMember:(0,h.Ei)(C.prototype.surfaceMemberParser),surfaceMembers:(0,h.Ei)(C.prototype.surfaceMemberParser)}},x.prototype.CURVEMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{LineString:(0,h.Ei)(p.Z.prototype.readLineString),Curve:(0,h.Ei)(C.prototype.readCurve)}},x.prototype.SURFACEMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Polygon:(0,h.Ei)(p.Z.prototype.readPolygon),Surface:(0,h.Ei)(C.prototype.readSurface)}},x.prototype.SURFACE_PARSERS={"http://www.opengis.net/gml/3.2":{patches:(0,h.z)(C.prototype.readPatch)}},x.prototype.CURVE_PARSERS={"http://www.opengis.net/gml/3.2":{segments:(0,h.z)(C.prototype.readSegment)}},x.prototype.ENVELOPE_PARSERS={"http://www.opengis.net/gml/3.2":{lowerCorner:(0,h.Ei)(C.prototype.readFlatPosList),upperCorner:(0,h.Ei)(C.prototype.readFlatPosList)}},x.prototype.PATCHES_PARSERS={"http://www.opengis.net/gml/3.2":{PolygonPatch:(0,h.z)(C.prototype.readPolygonPatch)}},x.prototype.SEGMENTS_PARSERS={"http://www.opengis.net/gml/3.2":{LineStringSegment:(0,h.z)(C.prototype.readLineStringSegment)}},x.prototype.MULTIPOINT_PARSERS={"http://www.opengis.net/gml/3.2":{pointMember:(0,h.Ei)(p.Z.prototype.pointMemberParser),pointMembers:(0,h.Ei)(p.Z.prototype.pointMemberParser)}},x.prototype.MULTILINESTRING_PARSERS={"http://www.opengis.net/gml/3.2":{lineStringMember:(0,h.Ei)(p.Z.prototype.lineStringMemberParser),lineStringMembers:(0,h.Ei)(p.Z.prototype.lineStringMemberParser)}},x.prototype.MULTIPOLYGON_PARSERS={"http://www.opengis.net/gml/3.2":{polygonMember:(0,h.Ei)(p.Z.prototype.polygonMemberParser),polygonMembers:(0,h.Ei)(p.Z.prototype.polygonMemberParser)}},x.prototype.POINTMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Point:(0,h.Ei)(p.Z.prototype.readFlatCoordinatesFromNode)}},x.prototype.LINESTRINGMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{LineString:(0,h.Ei)(p.Z.prototype.readLineString)}},x.prototype.POLYGONMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Polygon:(0,h.Ei)(p.Z.prototype.readPolygon)}},x.prototype.RING_PARSERS={"http://www.opengis.net/gml/3.2":{LinearRing:(0,h.z)(p.Z.prototype.readFlatLinearRing)}},x.prototype.RING_SERIALIZERS={"http://www.opengis.net/gml/3.2":{exterior:(0,h.A4)(C.prototype.writeRing),interior:(0,h.A4)(C.prototype.writeRing)}},x.prototype.ENVELOPE_SERIALIZERS={"http://www.opengis.net/gml/3.2":{lowerCorner:(0,h.A4)(d.bZ),upperCorner:(0,h.A4)(d.bZ)}},x.prototype.SURFACEORPOLYGONMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{surfaceMember:(0,h.A4)(C.prototype.writeSurfaceOrPolygonMember),polygonMember:(0,h.A4)(C.prototype.writeSurfaceOrPolygonMember)}},x.prototype.POINTMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{pointMember:(0,h.A4)(C.prototype.writePointMember)}},x.prototype.LINESTRINGORCURVEMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{lineStringMember:(0,h.A4)(C.prototype.writeLineStringOrCurveMember),curveMember:(0,h.A4)(C.prototype.writeLineStringOrCurveMember)}},x.prototype.GEOMETRY_SERIALIZERS={"http://www.opengis.net/gml/3.2":{Curve:(0,h.A4)(C.prototype.writeCurveOrLineString),MultiCurve:(0,h.A4)(C.prototype.writeMultiCurveOrLineString),Point:(0,h.A4)(x.prototype.writePoint),MultiPoint:(0,h.A4)(C.prototype.writeMultiPoint),LineString:(0,h.A4)(C.prototype.writeCurveOrLineString),MultiLineString:(0,h.A4)(C.prototype.writeMultiCurveOrLineString),LinearRing:(0,h.A4)(C.prototype.writeLinearRing),Polygon:(0,h.A4)(C.prototype.writeSurfaceOrPolygon),MultiPolygon:(0,h.A4)(C.prototype.writeMultiSurfaceOrPolygon),Surface:(0,h.A4)(C.prototype.writeSurfaceOrPolygon),MultiSurface:(0,h.A4)(C.prototype.writeMultiSurfaceOrPolygon),Envelope:(0,h.A4)(C.prototype.writeEnvelope)}};var k=x,G=r(42865);function B(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var U=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.tagName_=t}var t,r,n;return t=e,(r=[{key:"getTagName",value:function(){return this.tagName_}}])&&B(t.prototype,r),n&&B(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),z=r(90776);function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=X(e);if(t){var o=X(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return J(this,r)}}function J(e,t){if(t&&("object"===D(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function W(e){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t){return(H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function K(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=te(e);if(t){var o=te(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return ee(this,r)}}function ee(e,t){if(t&&("object"===W(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function te(e){return(te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&H(e,t)}(i,e);var t,r,n,o=K(i);function i(e){return Q(this,i),o.call(this,"And",Array.prototype.slice.call(arguments))}return t=i,r&&$(t.prototype,r),n&&$(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&V(e,t)}(i,e);var t,r,n,o=q(i);function i(e,t){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(r=o.call(this,e)).conditions=t,(0,z.h)(r.conditions.length>=2,57),r}return t=i,r&&Y(t.prototype,r),n&&Y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(U));function ne(e){return(ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=pe(e);if(t){var o=pe(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return ue(this,r)}}function ue(e,t){if(t&&("object"===ne(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function pe(e){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var se=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ie(e,t)}(i,e);var t,r,n,o=ae(i);function i(e,t,r){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this,"BBOX")).geometryName=e,n.extent=t,4!==t.length)throw new Error("Expected an extent with four values ([minX, minY, maxX, maxY])");return n.srsName=r,n}return t=i,r&&oe(t.prototype,r),n&&oe(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(U);function ce(e){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function le(e,t){return(le=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ye(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=me(e);if(t){var o=me(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return he(this,r)}}function he(e,t){if(t&&("object"===ce(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function me(e){return(me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var we=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&le(e,t)}(i,e);var t,r,n,o=ye(i);function i(e,t){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(r=o.call(this,e)).propertyName=t,r}return t=i,r&&fe(t.prototype,r),n&&fe(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(U);function ve(e){return(ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ge(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function de(e,t){return(de=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Ee(e);if(t){var o=Ee(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Se(this,r)}}function Se(e,t){if(t&&("object"===ve(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ee(e){return(Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pe(e){return(Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Re(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oe(e,t){return(Oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Ne(e);if(t){var o=Ne(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return _e(this,r)}}function _e(e,t){if(t&&("object"===Pe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ne(e){return(Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Me=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oe(e,t)}(i,e);var t,r,n,o=Ae(i);function i(e,t,r){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,"PropertyIsEqualTo",e,t,r)}return t=i,r&&Re(t.prototype,r),n&&Re(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&de(e,t)}(i,e);var t,r,n,o=be(i);function i(e,t,r,n){var a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(a=o.call(this,e,t)).expression=r,a.matchCase=n,a}return t=i,r&&ge(t.prototype,r),n&&ge(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(we));function Ce(e){return(Ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Le(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Te(e,t){return(Te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Fe(e);if(t){var o=Fe(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Ze(this,r)}}function Ze(e,t){if(t&&("object"===Ce(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var je=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Te(e,t)}(i,e);var t,r,n,o=Ie(i);function i(e,t,r,n,a,u){var p;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(p=o.call(this,"PropertyIsLike",e)).pattern=t,p.wildCard=void 0!==r?r:"*",p.singleChar=void 0!==n?n:".",p.escapeChar=void 0!==a?a:"!",p.matchCase=u,p}return t=i,r&&Le(t.prototype,r),n&&Le(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(we);function xe(e){var t=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(re,t))}function ke(e){return(ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ge(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Be(e,t){return(Be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ue(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=De(e);if(t){var o=De(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return ze(this,r)}}function ze(e,t){if(t&&("object"===ke(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function De(e){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ye={"http://www.opengis.net/gml":{boundedBy:(0,h.Pr)(p.Z.prototype.readGeometryElement,"bounds")},"http://www.opengis.net/wfs/2.0":{member:(0,h.Ei)(p.Z.prototype.readFeaturesInternal)}},Ve={"http://www.opengis.net/wfs":{totalInserted:(0,h.Pr)(d.$L),totalUpdated:(0,h.Pr)(d.$L),totalDeleted:(0,h.Pr)(d.$L)},"http://www.opengis.net/wfs/2.0":{totalInserted:(0,h.Pr)(d.$L),totalUpdated:(0,h.Pr)(d.$L),totalDeleted:(0,h.Pr)(d.$L)}},qe={"http://www.opengis.net/wfs":{TransactionSummary:(0,h.Pr)(ot,"transactionSummary"),InsertResults:(0,h.Pr)(pt,"insertIds")},"http://www.opengis.net/wfs/2.0":{TransactionSummary:(0,h.Pr)(ot,"transactionSummary"),InsertResults:(0,h.Pr)(pt,"insertIds")}},Je={"http://www.opengis.net/wfs":{PropertyName:(0,h.A4)(d.bZ)},"http://www.opengis.net/wfs/2.0":{PropertyName:(0,h.A4)(d.bZ)}},Xe={"http://www.opengis.net/wfs":{Insert:(0,h.A4)(st),Update:(0,h.A4)(yt),Delete:(0,h.A4)(lt),Property:(0,h.A4)(ht),Native:(0,h.A4)(mt)},"http://www.opengis.net/wfs/2.0":{Insert:(0,h.A4)(st),Update:(0,h.A4)(yt),Delete:(0,h.A4)(lt),Property:(0,h.A4)(ht),Native:(0,h.A4)(mt)}},We="feature",$e="http://www.w3.org/2000/xmlns/",Qe={"2.0.0":"http://www.opengis.net/ogc/1.1","1.1.0":"http://www.opengis.net/ogc","1.0.0":"http://www.opengis.net/ogc"},He={"2.0.0":"http://www.opengis.net/wfs/2.0","1.1.0":"http://www.opengis.net/wfs","1.0.0":"http://www.opengis.net/wfs"},Ke={"2.0.0":"http://www.opengis.net/fes/2.0","1.1.0":"http://www.opengis.net/fes","1.0.0":"http://www.opengis.net/fes"},et={"2.0.0":"http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd","1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"},tt={"2.0.0":k,"1.1.0":C,"1.0.0":u.Z},rt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Be(e,t)}(i,e);var t,r,n,o=Ue(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);var r=e||{};return(t=o.call(this)).version_=r.version?r.version:"1.1.0",t.featureType_=r.featureType,t.featureNS_=r.featureNS,t.gmlFormat_=r.gmlFormat?r.gmlFormat:new tt[t.version_],t.schemaLocation_=r.schemaLocation?r.schemaLocation:et[t.version_],t}return t=i,(r=[{key:"getFeatureType",value:function(){return this.featureType_}},{key:"setFeatureType",value:function(e){this.featureType_=e}},{key:"readFeaturesFromNode",value:function(e,t){var r={node:e};(0,m.f0)(r,{featureType:this.featureType_,featureNS:this.featureNS_}),(0,m.f0)(r,this.getReadOptions(e,t||{}));var n,o=[r];n="2.0.0"===this.version_?Ye:this.gmlFormat_.FEATURE_COLLECTION_PARSERS;var i=(0,h.O)([],n,e,o,this.gmlFormat_);return i||(i=[]),i}},{key:"readTransactionResponse",value:function(e){if(e){if("string"==typeof e){var t=(0,h.Qc)(e);return this.readTransactionResponseFromDocument(t)}return(0,h.qk)(e)?this.readTransactionResponseFromDocument(e):this.readTransactionResponseFromNode(e)}}},{key:"readFeatureCollectionMetadata",value:function(e){if(e){if("string"==typeof e){var t=(0,h.Qc)(e);return this.readFeatureCollectionMetadataFromDocument(t)}return(0,h.qk)(e)?this.readFeatureCollectionMetadataFromDocument(e):this.readFeatureCollectionMetadataFromNode(e)}}},{key:"readFeatureCollectionMetadataFromDocument",value:function(e){for(var t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.readFeatureCollectionMetadataFromNode(t)}},{key:"readFeatureCollectionMetadataFromNode",value:function(e){var t={},r=(0,d._E)(e.getAttribute("numberOfFeatures"));return t.numberOfFeatures=r,(0,h.O)(t,Ye,e,[],this.gmlFormat_)}},{key:"readTransactionResponseFromDocument",value:function(e){for(var t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.readTransactionResponseFromNode(t)}},{key:"readTransactionResponseFromNode",value:function(e){return(0,h.O)({},qe,e,[])}},{key:"writeGetFeature",value:function(e){var t=this,r=(0,h.c)(He[this.version_],"GetFeature");r.setAttribute("service","WFS"),r.setAttribute("version",this.version_),e.handle&&r.setAttribute("handle",e.handle),e.outputFormat&&r.setAttribute("outputFormat",e.outputFormat),void 0!==e.maxFeatures&&r.setAttribute("maxFeatures",String(e.maxFeatures)),e.resultType&&r.setAttribute("resultType",e.resultType),void 0!==e.startIndex&&r.setAttribute("startIndex",String(e.startIndex)),void 0!==e.count&&r.setAttribute("count",String(e.count)),void 0!==e.viewParams&&r.setAttribute("viewParams",e.viewParams),r.setAttributeNS(h.fJ,"xsi:schemaLocation",this.schemaLocation_);var n={node:r};if((0,m.f0)(n,{version:this.version_,srsName:e.srsName,featureNS:e.featureNS?e.featureNS:this.featureNS_,featurePrefix:e.featurePrefix,propertyNames:e.propertyNames?e.propertyNames:[]}),(0,z.h)(Array.isArray(e.featureTypes),11),"string"==typeof e.featureTypes[0]){var o=e.filter;e.bbox&&((0,z.h)(e.geometryName,12),o=this.combineBboxAndFilter(e.geometryName,e.bbox,e.srsName,o)),(0,m.f0)(n,{geometryName:e.geometryName,filter:o}),It(r,e.featureTypes,[n])}else e.featureTypes.forEach((function(o){var i=t.combineBboxAndFilter(o.geometryName,o.bbox,e.srsName,e.filter);(0,m.f0)(n,{geometryName:o.geometryName,filter:i}),It(r,[o.name],[n])}));return r}},{key:"combineBboxAndFilter",value:function(e,t,r,n){var o=function(e,t,r){return new se(e,t,r)}(e,t,r);return n?xe(n,o):o}},{key:"writeTransaction",value:function(e,t,r,n){var o,i=[],a=n.version?n.version:this.version_,u=(0,h.c)(He[a],"Transaction");u.setAttribute("service","WFS"),u.setAttribute("version",a),n&&(o=n.gmlOptions?n.gmlOptions:{},n.handle&&u.setAttribute("handle",n.handle)),u.setAttributeNS(h.fJ,"xsi:schemaLocation",et[a]);var p=function(e,t,r,n){var o,i=n.featurePrefix?n.featurePrefix:We;return"1.0.0"===r?o=2:"1.1.0"===r?o=3:"2.0.0"===r&&(o=3.2),(0,m.f0)({node:e},{version:r,featureNS:n.featureNS,featureType:n.featureType,featurePrefix:i,gmlVersion:o,hasZ:n.hasZ,srsName:n.srsName},t)}(u,o,a,n);return e&&nt("Insert",e,i,p),t&&nt("Update",t,i,p),r&&nt("Delete",r,i,p),n.nativeElements&&nt("Native",n.nativeElements,i,p),u}},{key:"readProjectionFromDocument",value:function(e){for(var t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.readProjectionFromNode(t);return null}},{key:"readProjectionFromNode",value:function(e){if(e.firstElementChild&&e.firstElementChild.firstElementChild)for(var t=(e=e.firstElementChild.firstElementChild).firstElementChild;t;t=t.nextElementSibling)if(0!==t.childNodes.length&&(1!==t.childNodes.length||3!==t.firstChild.nodeType)){var r=[{}];return this.gmlFormat_.readGeometryElement(t,r),(0,g.U2)(r.pop().srsName)}return null}}])&&Ge(t.prototype,r),n&&Ge(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(G.Z);function nt(e,t,r,n){(0,h.ZL)(n,Xe,(0,h.G3)(e),t,r)}function ot(e,t){return(0,h.O)({},Ve,e,t)}var it={"http://www.opengis.net/ogc":{FeatureId:(0,h.Ei)((function(e,t){return e.getAttribute("fid")}))},"http://www.opengis.net/ogc/1.1":{FeatureId:(0,h.Ei)((function(e,t){return e.getAttribute("fid")}))}};function at(e,t){(0,h.T3)(it,e,t)}var ut={"http://www.opengis.net/wfs":{Feature:at},"http://www.opengis.net/wfs/2.0":{Feature:at}};function pt(e,t){return(0,h.O)([],ut,e,t)}function st(e,t,r){var n=r[r.length-1],o=n.featureType,i=n.featureNS,a=n.gmlVersion,p=(0,h.c)(i,o);e.appendChild(p),2===a?u.Z.prototype.writeFeatureElement(p,t,r):3===a?C.prototype.writeFeatureElement(p,t,r):k.prototype.writeFeatureElement(p,t,r)}function ct(e,t,r){var n=r[r.length-1].version,o=Qe[n],i=(0,h.c)(o,"Filter"),a=(0,h.c)(o,"FeatureId");i.appendChild(a),a.setAttribute("fid",t),e.appendChild(i)}function ft(e,t){var r=(e=e||We)+":";return 0===t.indexOf(r)?t:r+t}function lt(e,t,r){var n=r[r.length-1];(0,z.h)(void 0!==t.getId(),26);var o=n.featureType,i=n.featurePrefix,a=n.featureNS,u=ft(i,o);e.setAttribute("typeName",u),e.setAttributeNS($e,"xmlns:"+i,a);var p=t.getId();void 0!==p&&ct(e,p,r)}function yt(e,t,r){var n=r[r.length-1];(0,z.h)(void 0!==t.getId(),27);var o=n.version,i=n.featureType,a=n.featurePrefix,u=n.featureNS,p=ft(a,i),s=t.getGeometryName();e.setAttribute("typeName",p),e.setAttributeNS($e,"xmlns:"+a,u);var c=t.getId();if(void 0!==c){for(var f=t.getKeys(),l=[],y=0,m=f.length;y<m;y++){var w=t.get(f[y]);if(void 0!==w){var v=f[y];w&&"function"==typeof w.getSimplifiedGeometry&&(v=s),l.push({name:v,value:w})}}(0,h.ZL)({version:o,gmlVersion:n.gmlVersion,node:e,hasZ:n.hasZ,srsName:n.srsName},Xe,(0,h.G3)("Property"),l,r),ct(e,c,r)}}function ht(e,t,r){var n=r[r.length-1],o=n.version,i=He[o],a=(0,h.c)(i,"Name"),p=n.gmlVersion;if(e.appendChild(a),(0,d.bZ)(a,t.name),void 0!==t.value&&null!==t.value){var s=(0,h.c)(i,"Value");e.appendChild(s),t.value&&"function"==typeof t.value.getSimplifiedGeometry?2===p?u.Z.prototype.writeGeometryElement(s,t.value,r):3===p?C.prototype.writeGeometryElement(s,t.value,r):k.prototype.writeGeometryElement(s,t.value,r):(0,d.bZ)(s,t.value)}}function mt(e,t,r){t.vendorId&&e.setAttribute("vendorId",t.vendorId),void 0!==t.safeToIgnore&&e.setAttribute("safeToIgnore",String(t.safeToIgnore)),void 0!==t.value&&(0,d.bZ)(e,t.value)}var wt={"http://www.opengis.net/wfs":{Query:(0,h.A4)(vt)},"http://www.opengis.net/wfs/2.0":{Query:(0,h.A4)(vt)},"http://www.opengis.net/ogc":{During:(0,h.A4)(Et),And:(0,h.A4)(Pt),Or:(0,h.A4)(Pt),Not:(0,h.A4)(Rt),BBOX:(0,h.A4)(dt),Contains:(0,h.A4)(bt),Intersects:(0,h.A4)(bt),Within:(0,h.A4)(bt),DWithin:(0,h.A4)(St),PropertyIsEqualTo:(0,h.A4)(Ot),PropertyIsNotEqualTo:(0,h.A4)(Ot),PropertyIsLessThan:(0,h.A4)(Ot),PropertyIsLessThanOrEqualTo:(0,h.A4)(Ot),PropertyIsGreaterThan:(0,h.A4)(Ot),PropertyIsGreaterThanOrEqualTo:(0,h.A4)(Ot),PropertyIsNull:(0,h.A4)(At),PropertyIsBetween:(0,h.A4)(_t),PropertyIsLike:(0,h.A4)(Nt)},"http://www.opengis.net/fes/2.0":{During:(0,h.A4)(Et),And:(0,h.A4)(Pt),Or:(0,h.A4)(Pt),Not:(0,h.A4)(Rt),BBOX:(0,h.A4)(dt),Contains:(0,h.A4)(bt),Disjoint:(0,h.A4)(bt),Intersects:(0,h.A4)(bt),ResourceId:(0,h.A4)((function(e,t,r){e.setAttribute("rid",t.rid)})),Within:(0,h.A4)(bt),DWithin:(0,h.A4)(St),PropertyIsEqualTo:(0,h.A4)(Ot),PropertyIsNotEqualTo:(0,h.A4)(Ot),PropertyIsLessThan:(0,h.A4)(Ot),PropertyIsLessThanOrEqualTo:(0,h.A4)(Ot),PropertyIsGreaterThan:(0,h.A4)(Ot),PropertyIsGreaterThanOrEqualTo:(0,h.A4)(Ot),PropertyIsNull:(0,h.A4)(At),PropertyIsBetween:(0,h.A4)(_t),PropertyIsLike:(0,h.A4)(Nt)}};function vt(e,t,r){var n,o,i=r[r.length-1],a=i.version,u=i.featurePrefix,p=i.featureNS,s=i.propertyNames,c=i.srsName;n=u?ft(u,t):t,o="2.0.0"===a?"typeNames":"typeName",e.setAttribute(o,n),c&&e.setAttribute("srsName",c),p&&e.setAttributeNS($e,"xmlns:"+u,p);var f=(0,m.f0)({},i);f.node=e,(0,h.ZL)(f,Je,(0,h.G3)("PropertyName"),s,r);var l=i.filter;if(l){var y=(0,h.c)(Zt(a),"Filter");e.appendChild(y),gt(y,l,r)}}function gt(e,t,r){var n=r[r.length-1],o={node:e};(0,m.f0)(o,{context:n}),(0,h.ZL)(o,wt,(0,h.G3)(t.getTagName()),[t],r)}function dt(e,t,r){var n=r[r.length-1],o=n.context.version;n.srsName=t.srsName;var i=tt[o];Lt(o,e,t.geometryName),i.prototype.writeGeometryElement(e,t.extent,r)}function bt(e,t,r){var n=r[r.length-1],o=n.context.version;n.srsName=t.srsName;var i=tt[o];Lt(o,e,t.geometryName),i.prototype.writeGeometryElement(e,t.geometry,r)}function St(e,t,r){var n=r[r.length-1].context.version;bt(e,t,r);var o=(0,h.c)(Zt(n),"Distance");(0,d.bZ)(o,t.distance.toString()),"2.0.0"===n?o.setAttribute("uom",t.unit):o.setAttribute("units",t.unit),e.appendChild(o)}function Et(e,t,r){var n=r[r.length-1].context.version;Mt(Ke[n],"ValueReference",e,t.propertyName);var o=(0,h.c)(p.J,"TimePeriod");e.appendChild(o);var i=(0,h.c)(p.J,"begin");o.appendChild(i),Tt(i,t.begin);var a=(0,h.c)(p.J,"end");o.appendChild(a),Tt(a,t.end)}function Pt(e,t,r){var n=r[r.length-1].context,o={node:e};(0,m.f0)(o,{context:n});for(var i=t.conditions,a=0,u=i.length;a<u;++a){var p=i[a];(0,h.ZL)(o,wt,(0,h.G3)(p.getTagName()),[p],r)}}function Rt(e,t,r){var n=r[r.length-1].context,o={node:e};(0,m.f0)(o,{context:n});var i=t.condition;(0,h.ZL)(o,wt,(0,h.G3)(i.getTagName()),[i],r)}function Ot(e,t,r){var n=r[r.length-1].context.version;void 0!==t.matchCase&&e.setAttribute("matchCase",t.matchCase.toString()),Lt(n,e,t.propertyName),Ct(n,e,""+t.expression)}function At(e,t,r){Lt(r[r.length-1].context.version,e,t.propertyName)}function _t(e,t,r){var n=r[r.length-1].context.version,o=Zt(n);Lt(n,e,t.propertyName);var i=(0,h.c)(o,"LowerBoundary");e.appendChild(i),Ct(n,i,""+t.lowerBoundary);var a=(0,h.c)(o,"UpperBoundary");e.appendChild(a),Ct(n,a,""+t.upperBoundary)}function Nt(e,t,r){var n=r[r.length-1].context.version;e.setAttribute("wildCard",t.wildCard),e.setAttribute("singleChar",t.singleChar),e.setAttribute("escapeChar",t.escapeChar),void 0!==t.matchCase&&e.setAttribute("matchCase",t.matchCase.toString()),Lt(n,e,t.propertyName),Ct(n,e,""+t.pattern)}function Mt(e,t,r,n){var o=(0,h.c)(e,t);(0,d.bZ)(o,n),r.appendChild(o)}function Ct(e,t,r){Mt(Zt(e),"Literal",t,r)}function Lt(e,t,r){"2.0.0"===e?Mt(Ke[e],"ValueReference",t,r):Mt(Qe[e],"PropertyName",t,r)}function Tt(e,t){var r=(0,h.c)(p.J,"TimeInstant");e.appendChild(r);var n=(0,h.c)(p.J,"timePosition");r.appendChild(n),(0,d.bZ)(n,t)}function It(e,t,r){var n=r[r.length-1],o=(0,m.f0)({},n);o.node=e,(0,h.ZL)(o,wt,(0,h.G3)("Query"),t,r)}function Zt(e){return"2.0.0"===e?Ke[e]:Qe[e]}var Ft,jt,xt,kt,Gt,Bt,Ut=rt,zt=r(91118),Dt=r(69039),Yt=r(720),Vt=r(41372),qt=r(42010),Jt=new o.Z,Xt=new Vt.Z({source:Jt,style:new Dt.ZP({stroke:new Yt.Z({color:"rgba(0, 0, 255, 1.0)",width:2})})}),Wt=new qt.Z({source:new a.Z({attributions:'<a href="https://www.maptiler.com/copyright/" target="_blank">&copy; MapTiler</a> <a href="https://www.openstreetmap.org/copyright" target="_blank">&copy; OpenStreetMap contributors</a>',url:"https://api.maptiler.com/tiles/satellite/{z}/{x}/{y}.jpg?key=get_your_own_D6rA4zTHduk6KOKTXzGB",maxZoom:20})}),$t=new n.Z({layers:[Wt,Xt],target:document.getElementById("map"),view:new i.ZP({center:[-8908887.277395891,5381918.072437216],maxZoom:19,zoom:12})}),Qt=(new Ut).writeGetFeature({srsName:"EPSG:3857",featureNS:"http://openstreemap.org",featurePrefix:"osm",featureTypes:["water_areas"],outputFormat:"application/json",filter:xe((Ft="name",jt="Mississippi*",new je(Ft,jt,xt,kt,Gt,Bt)),function(e,t,r){return new Me(e,t,r)}("waterway","riverbank"))});fetch("https://ahocevar.com/geoserver/wfs",{method:"POST",body:(new XMLSerializer).serializeToString(Qt)}).then((function(e){return e.json()})).then((function(e){var t=(new zt.Z).readFeatures(e);Jt.addFeatures(t),$t.getView().fit(Jt.getExtent())}))}},function(e){var t=function(t){return e(e.s=t)};t(9877),t(36109)}]);
//# sourceMappingURL=vector-wfs-getfeature.js.map