forked from Viglino/ol-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patholms.js
9 lines (9 loc) · 224 KB
/
olms.js
1
2
3
4
5
6
7
8
9
olms=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=81)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.array=c,t.toString=d,t.checkSubtype=function e(t,n){if("error"===n.kind)return null;if("array"===t.kind){if("array"===n.kind&&!e(t.itemType,n.itemType)&&("number"!=typeof t.N||t.N===n.N))return null}else{if(t.kind===n.kind)return null;if("value"===t.kind){var o=!0,r=!1,i=void 0;try{for(var a,s=f[Symbol.iterator]();!(o=(a=s.next()).done);o=!0){var u=a.value;if(!e(u,n))return null}}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}}}return"Expected "+d(t)+" but found "+d(n)+" instead."};var o=t.NullType={kind:"null"},r=t.NumberType={kind:"number"},i=t.StringType={kind:"string"},a=t.BooleanType={kind:"boolean"},s=t.ColorType={kind:"color"},u=t.ObjectType={kind:"object"},l=t.ValueType={kind:"value"};t.ErrorType={kind:"error"},t.CollatorType={kind:"collator"};function c(e,t){return{kind:"array",itemType:e,N:t}}function d(e){if("array"===e.kind){var t=d(e.itemType);return"number"==typeof e.N?"array<"+t+", "+e.N+">":"value"===e.itemType.kind?"array":"array<"+t+">"}return e.kind}var f=[o,r,i,a,s,u,c(l)]},function(e,t,n){"use strict";(function(t){
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <[email protected]> <http://feross.org>
* @license MIT
*/
var o="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};function r(e,t){if(e===t)return 0;for(var n=e.length,o=t.length,r=0,i=Math.min(n,o);r<i;++r)if(e[r]!==t[r]){n=e[r],o=t[r];break}return n<o?-1:o<n?1:0}function i(e){return t.Buffer&&"function"==typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var a=n(58),s=Object.prototype.hasOwnProperty,u=Array.prototype.slice,l="foo"===function(){}.name;function c(e){return Object.prototype.toString.call(e)}function d(e){return!i(e)&&("function"==typeof t.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var f=e.exports=g,p=/\s*function\s+([^\(\s]*)\s*/;function h(e){if(a.isFunction(e)){if(l)return e.name;var t=e.toString().match(p);return t&&t[1]}}function y(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function m(e){if(l||!a.isFunction(e))return a.inspect(e);var t=h(e);return"[Function"+(t?": "+t:"")+"]"}function v(e,t,n,o,r){throw new f.AssertionError({message:n,actual:e,expected:t,operator:o,stackStartFunction:r})}function g(e,t){e||v(e,!0,t,"==",f.ok)}function b(e,t,n,s){if(e===t)return!0;if(i(e)&&i(t))return 0===r(e,t);if(a.isDate(e)&&a.isDate(t))return e.getTime()===t.getTime();if(a.isRegExp(e)&&a.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"===(void 0===e?"undefined":o(e))||null!==t&&"object"===(void 0===t?"undefined":o(t))){if(d(e)&&d(t)&&c(e)===c(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===r(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(i(e)!==i(t))return!1;var l=(s=s||{actual:[],expected:[]}).actual.indexOf(e);return-1!==l&&l===s.expected.indexOf(t)||(s.actual.push(e),s.expected.push(t),function(e,t,n,o){if(null===e||void 0===e||null===t||void 0===t)return!1;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var r=w(e),i=w(t);if(r&&!i||!r&&i)return!1;if(r)return e=u.call(e),t=u.call(t),b(e,t,n);var s,l,c=T(e),d=T(t);if(c.length!==d.length)return!1;for(c.sort(),d.sort(),l=c.length-1;l>=0;l--)if(c[l]!==d[l])return!1;for(l=c.length-1;l>=0;l--)if(s=c[l],!b(e[s],t[s],n,o))return!1;return!0}(e,t,n,s))}return n?e===t:e==t}function w(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function x(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function k(e,t,n,o){var r;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(o=n,n=null),r=function(e){var t;try{e()}catch(e){t=e}return t}(t),o=(n&&n.name?" ("+n.name+").":".")+(o?" "+o:"."),e&&!r&&v(r,n,"Missing expected exception"+o);var i="string"==typeof o,s=!e&&a.isError(r),u=!e&&r&&!n;if((s&&i&&x(r,n)||u)&&v(r,n,"Got unwanted exception"+o),e&&r&&n&&!x(r,n)||!e&&r)throw r}f.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return y(m(e.actual),128)+" "+e.operator+" "+y(m(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||v;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var o=n.stack,r=h(t),i=o.indexOf("\n"+r);if(i>=0){var a=o.indexOf("\n",i+1);o=o.substring(a+1)}this.stack=o}}},a.inherits(f.AssertionError,Error),f.fail=v,f.ok=g,f.equal=function(e,t,n){e!=t&&v(e,t,n,"==",f.equal)},f.notEqual=function(e,t,n){e==t&&v(e,t,n,"!=",f.notEqual)},f.deepEqual=function(e,t,n){b(e,t,!1)||v(e,t,n,"deepEqual",f.deepEqual)},f.deepStrictEqual=function(e,t,n){b(e,t,!0)||v(e,t,n,"deepStrictEqual",f.deepStrictEqual)},f.notDeepEqual=function(e,t,n){b(e,t,!1)&&v(e,t,n,"notDeepEqual",f.notDeepEqual)},f.notDeepStrictEqual=function e(t,n,o){b(t,n,!0)&&v(t,n,o,"notDeepStrictEqual",e)},f.strictEqual=function(e,t,n){e!==t&&v(e,t,n,"===",f.strictEqual)},f.notStrictEqual=function(e,t,n){e===t&&v(e,t,n,"!==",f.notStrictEqual)},f.throws=function(e,t,n){k(!0,e,t,n)},f.doesNotThrow=function(e,t,n){k(!1,e,t,n)},f.ifError=function(e){if(e)throw e};var T=Object.keys||function(e){var t=[];for(var n in e)s.call(e,n)&&t.push(n);return t}}).call(this,n(22))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Collator=t.Color=void 0;var o="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};t.validateRGBA=function(e,t,n,o){if(!("number"==typeof e&&e>=0&&e<=255&&"number"==typeof t&&t>=0&&t<=255&&"number"==typeof n&&n>=0&&n<=255)){var r="number"==typeof o?[e,t,n,o]:[e,t,n];return"Invalid rgba value ["+r.join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}if(!(void 0===o||"number"==typeof o&&o>=0&&o<=1))return"Invalid rgba value ["+[e,t,n,o].join(", ")+"]: 'a' must be between 0 and 1.";return null},t.isValue=function e(t){if(null===t)return!0;if("string"==typeof t)return!0;if("boolean"==typeof t)return!0;if("number"==typeof t)return!0;if(t instanceof i.default)return!0;if(t instanceof a.Collator)return!0;if(Array.isArray(t)){var n=!0,r=!1,s=void 0;try{for(var u,l=t[Symbol.iterator]();!(n=(u=l.next()).done);n=!0){var c=u.value;if(!e(c))return!1}}catch(e){r=!0,s=e}finally{try{!n&&l.return&&l.return()}finally{if(r)throw s}}return!0}if("object"===(void 0===t?"undefined":o(t))){for(var d in t)if(!e(t[d]))return!1;return!0}return!1},t.typeOf=function e(t){if(null===t)return s.NullType;if("string"==typeof t)return s.StringType;if("boolean"==typeof t)return s.BooleanType;if("number"==typeof t)return s.NumberType;if(t instanceof i.default)return s.ColorType;if(t instanceof a.Collator)return s.CollatorType;if(Array.isArray(t)){var n=t.length,u=void 0,l=!0,c=!1,d=void 0;try{for(var f,p=t[Symbol.iterator]();!(l=(f=p.next()).done);l=!0){var h=f.value,y=e(h);if(u){if(u===y)continue;u=s.ValueType;break}u=y}}catch(e){c=!0,d=e}finally{try{!l&&p.return&&p.return()}finally{if(c)throw d}}return(0,s.array)(u||s.ValueType,n)}return(0,r.default)("object"===(void 0===t?"undefined":o(t))),s.ObjectType};var r=u(n(1)),i=u(n(4)),a=n(7),s=n(0);function u(e){return e&&e.__esModule?e:{default:e}}t.Color=i.default,t.Collator=a.Collator},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="ExpressionEvaluationError",this.message=t}return o(e,[{key:"toJSON",value:function(){return this.message}}]),e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=n(61);var a=function(){function e(t,n,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.r=t,this.g=n,this.b=o,this.a=r}return r(e,[{key:"toString",value:function(){var e=this.toArray(),t=o(e,4),n=t[0],r=t[1],i=t[2],a=t[3];return"rgba("+Math.round(n)+","+Math.round(r)+","+Math.round(i)+","+a+")"}},{key:"toArray",value:function(){var e=this.r,t=this.g,n=this.b,o=this.a;return 0===o?[0,0,0,0]:[255*e/o,255*t/o,255*n/o,o]}}],[{key:"parse",value:function(t){if(t){if(t instanceof e)return t;if("string"==typeof t){var n=(0,i.parseCSSColor)(t);if(n)return new e(n[0]/255*n[3],n[1]/255*n[3],n[2]/255*n[3],n[3])}}}}]),e}();a.black=new a(0,0,0,1),a.white=new a(1,1,1,1),a.transparent=new a(0,0,0,0),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=n(0),a=u(n(20)),s=(u(n(6)),u(n(1)));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t,n,o,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name=t,this.type=n,this._evaluate=o,this.args=r}return r(e,[{key:"evaluate",value:function(e){return this._evaluate(e,this.args)}},{key:"eachChild",value:function(e){this.args.forEach(e)}},{key:"possibleOutputs",value:function(){return[void 0]}},{key:"serialize",value:function(){return[this.name].concat(this.args.map(function(e){return e.serialize()}))}}],[{key:"parse",value:function(t,n){var r=t[0],u=e.definitions[r];if(!u)return n.error('Unknown expression "'+r+'". If you wanted a literal array, use ["literal", [...]].',0);for(var l=Array.isArray(u)?u[0]:u.type,c=Array.isArray(u)?[[u[1],u[2]]]:u.overloads,d=c.filter(function(e){var n=o(e,1)[0];return!Array.isArray(n)||n.length===t.length-1}),f=[],p=1;p<t.length;p++){var h=t[p],y=void 0;if(1===d.length){var m=d[0][0];y=Array.isArray(m)?m[p-1]:m.type}var v=n.parse(h,1+f.length,y);if(!v)return null;f.push(v)}var g=null,b=!0,w=!1,x=void 0;try{for(var k,T=d[Symbol.iterator]();!(b=(k=T.next()).done);b=!0){var S=k.value,j=o(S,2),_=j[0],O=j[1];if(g=new a.default(n.registry,n.path,null,n.scope),Array.isArray(_)&&_.length!==f.length)g.error("Expected "+_.length+" arguments, but found "+f.length+" instead.");else{for(var A=0;A<f.length;A++){var M=Array.isArray(_)?_[A]:_.type,C=f[A];g.concat(A+1).checkSubtype(M,C.type)}if(0===g.errors.length)return new e(r,l,O,f)}}}catch(e){w=!0,x=e}finally{try{!b&&T.return&&T.return()}finally{if(w)throw x}}if((0,s.default)(!g||g.errors.length>0),1===d.length)n.errors.push.apply(n.errors,g.errors);else{var z=(d.length?d:c).map(function(e){return function(e){return Array.isArray(e)?"("+e.map(i.toString).join(", ")+")":"("+(0,i.toString)(e.type)+"...)"}(o(e,1)[0])}).join(" | "),E=f.map(function(e){return(0,i.toString)(e.type)}).join(", ");n.error("Expected arguments of type "+z+", but found ("+E+") instead.")}return null}},{key:"register",value:function(t,n){for(var o in(0,s.default)(!e.definitions),e.definitions=n,n)t[o]=e}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n(2);var i=["Unknown","Point","LineString","Polygon"],a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._parseColorCache={}}return o(e,[{key:"id",value:function(){return this.feature&&"id"in this.feature?this.feature.id:null}},{key:"geometryType",value:function(){return this.feature?"number"==typeof this.feature.type?i[this.feature.type]:this.feature.type:null}},{key:"properties",value:function(){return this.feature&&this.feature.properties||{}}},{key:"parseColor",value:function(e){var t=this._parseColorCache[e];return t||(t=this._parseColorCache[e]=r.Color.parse(e)),t}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CollatorExpression=t.Collator=void 0;var o="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},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=n(0);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=t.Collator=function(){function e(t,n,o){a(this,e),this.sensitivity=t?n?"variant":"case":n?"accent":"base",this.locale=o,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}return r(e,[{key:"compare",value:function(e,t){return this.collator.compare(e,t)}},{key:"resolvedLocale",value:function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}]),e}();t.CollatorExpression=function(){function e(t,n,o){a(this,e),this.type=i.CollatorType,this.locale=o,this.caseSensitive=t,this.diacriticSensitive=n}return r(e,[{key:"evaluate",value:function(e){return new s(this.caseSensitive.evaluate(e),this.diacriticSensitive.evaluate(e),this.locale?this.locale.evaluate(e):null)}},{key:"eachChild",value:function(e){e(this.caseSensitive),e(this.diacriticSensitive),this.locale&&e(this.locale)}},{key:"possibleOutputs",value:function(){return[void 0]}},{key:"serialize",value:function(){var e={};return e["case-sensitive"]=this.caseSensitive.serialize(),e["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(e.locale=this.locale.serialize()),["collator",e]}}],[{key:"parse",value:function(t,n){if(2!==t.length)return n.error("Expected one argument.");var r=t[1];if("object"!==(void 0===r?"undefined":o(r))||Array.isArray(r))return n.error("Collator options argument must be an object.");var a=n.parse(void 0!==r["case-sensitive"]&&r["case-sensitive"],1,i.BooleanType);if(!a)return null;var s=n.parse(void 0!==r["diacritic-sensitive"]&&r["diacritic-sensitive"],1,i.BooleanType);if(!s)return null;var u=null;return r.locale&&!(u=n.parse(r.locale,1,i.StringType))?null:new e(a,s,u)}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function(e){return e&&e.__esModule?e:{default:e}}(n(59)),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),s=n(0),u=n(24);var l=function(){function e(t,n,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.interpolation=n,this.input=r,this.labels=[],this.outputs=[];var a=!0,s=!1,u=void 0;try{for(var l,c=i[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var d=l.value,f=o(d,2),p=f[0],h=f[1];this.labels.push(p),this.outputs.push(h)}}catch(e){s=!0,u=e}finally{try{!a&&c.return&&c.return()}finally{if(s)throw u}}}return r(e,[{key:"evaluate",value:function(t){var n=this.labels,o=this.outputs;if(1===n.length)return o[0].evaluate(t);var r=this.input.evaluate(t);if(r<=n[0])return o[0].evaluate(t);var i=n.length;if(r>=n[i-1])return o[i-1].evaluate(t);var s=(0,u.findStopLessThanOrEqualTo)(n,r),l=n[s],c=n[s+1],d=e.interpolationFactor(this.interpolation,r,l,c),f=o[s].evaluate(t),p=o[s+1].evaluate(t);return a[this.type.kind.toLowerCase()](f,p,d)}},{key:"eachChild",value:function(e){e(this.input);var t=!0,n=!1,o=void 0;try{for(var r,i=this.outputs[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){e(r.value)}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}}},{key:"possibleOutputs",value:function(){var e;return(e=[]).concat.apply(e,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(this.outputs.map(function(e){return e.possibleOutputs()})))}},{key:"serialize",value:function(){for(var e=["interpolate","linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints),this.input.serialize()],t=0;t<this.labels.length;t++)e.push(this.labels[t],this.outputs[t].serialize());return e}}],[{key:"interpolationFactor",value:function(e,t,n,o){var r=0;if("exponential"===e.name)r=c(t,e.base,n,o);else if("linear"===e.name)r=c(t,1,n,o);else if("cubic-bezier"===e.name){var a=e.controlPoints;r=new i.default(a[0],a[1],a[2],a[3]).solve(c(t,1,n,o))}return r}},{key:"parse",value:function(t,n){var o=function(e){return Array.isArray(e)?e:Array.from(e)}(t),r=o[1],i=o[2],a=o.slice(3);if(!Array.isArray(r)||0===r.length)return n.error("Expected an interpolation type expression.",1);if("linear"===r[0])r={name:"linear"};else if("exponential"===r[0]){var u=r[1];if("number"!=typeof u)return n.error("Exponential interpolation requires a numeric base.",1,1);r={name:"exponential",base:u}}else{if("cubic-bezier"!==r[0])return n.error("Unknown interpolation type "+String(r[0]),1,0);var l=r.slice(1);if(4!==l.length||l.some(function(e){return"number"!=typeof e||e<0||e>1}))return n.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);r={name:"cubic-bezier",controlPoints:l}}if(t.length-1<4)return n.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return n.error("Expected an even number of arguments.");if(!(i=n.parse(i,2,s.NumberType)))return null;var c=[],d=null;n.expectedType&&"value"!==n.expectedType.kind&&(d=n.expectedType);for(var f=0;f<a.length;f+=2){var p=a[f],h=a[f+1],y=f+3,m=f+4;if("number"!=typeof p)return n.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',y);if(c.length&&c[c.length-1][0]>=p)return n.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',y);var v=n.parse(h,m,d);if(!v)return null;d=d||v.type,c.push([p,v])}return"number"===d.kind||"color"===d.kind||"array"===d.kind&&"number"===d.itemType.kind&&"number"==typeof d.N?new e(d,r,i,c):n.error("Type "+(0,s.toString)(d)+" is not interpolatable.")}}]),e}();function c(e,t,n,o){var r=o-n,i=e-n;return 0===r?0:1===t?i/r:(Math.pow(t,i)-1)/(Math.pow(t,r)-1)}t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=!0,i=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(r=(s=u.next()).done);r=!0){var l=s.value;for(var c in l)e[c]=l[c]}}catch(e){i=!0,a=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw a}}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.number=r,t.color=function(e,t,n){return new o.default(r(e.r,t.r,n),r(e.g,t.g,n),r(e.b,t.b,n),r(e.a,t.a,n))},t.array=function(e,t,n){return e.map(function(e,o){return r(e,t[o],n)})};var o=function(e){return e&&e.__esModule?e:{default:e}}(n(4));function r(e,t,n){return e*(1-n)+t*n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var a=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=n.type,this.bindings=[].concat(t),this.result=n}return i(e,[{key:"evaluate",value:function(e){return this.result.evaluate(e)}},{key:"eachChild",value:function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=this.bindings[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){e(r.value[1])}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}e(this.result)}},{key:"possibleOutputs",value:function(){return this.result.possibleOutputs()}},{key:"serialize",value:function(){var e=["let"],t=!0,n=!1,o=void 0;try{for(var i,a=this.bindings[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value,u=r(s,2),l=u[0],c=u[1];e.push(l,c.serialize())}}catch(e){n=!0,o=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw o}}return e.push(this.result.serialize()),e}}],[{key:"parse",value:function(t,n){if(t.length<4)return n.error("Expected at least 3 arguments, but found "+(t.length-1)+" instead.");for(var r=[],i=1;i<t.length-1;i+=2){var a=t[i];if("string"!=typeof a)return n.error("Expected string, but found "+(void 0===a?"undefined":o(a))+" instead.",i);if(/[^a-zA-Z0-9_]/.test(a))return n.error("Variable names must contain only alphanumeric characters or '_'.",i);var s=n.parse(t[i+1],i+1);if(!s)return null;r.push([a,s])}var u=n.parse(t[t.length-1],t.length-1,void 0,r);return u?new e(r,u):null}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),i=n(0);var a=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.args=n}return o(e,[{key:"evaluate",value:function(e){var t=null,n=!0,o=!1,r=void 0;try{for(var i,a=this.args[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){if(null!==(t=i.value.evaluate(e)))break}}catch(e){o=!0,r=e}finally{try{!n&&a.return&&a.return()}finally{if(o)throw r}}return t}},{key:"eachChild",value:function(e){this.args.forEach(e)}},{key:"possibleOutputs",value:function(){var e;return(e=[]).concat.apply(e,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(this.args.map(function(e){return e.possibleOutputs()})))}},{key:"serialize",value:function(){var e=["coalesce"];return this.eachChild(function(t){e.push(t.serialize())}),e}}],[{key:"parse",value:function(t,n){if(t.length<2)return n.error("Expectected at least one argument.");var o=null,a=n.expectedType;a&&"value"!==a.kind&&(o=a);var s=[],u=!0,l=!1,c=void 0;try{for(var d,f=t.slice(1)[Symbol.iterator]();!(u=(d=f.next()).done);u=!0){var p=d.value,h=n.parse(p,1+s.length,o,void 0,{omitTypeAnnotations:!0});if(!h)return null;o=o||h.type,s.push(h)}}catch(e){l=!0,c=e}finally{try{!u&&f.return&&f.return()}finally{if(l)throw c}}return(0,r.default)(o),new e(a&&s.some(function(e){return(0,i.checkSubtype)(a,e.type)})?i.ValueType:o,s)}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=n(0),a=n(24);var s=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.input=n,this.labels=[],this.outputs=[];var i=!0,a=!1,s=void 0;try{for(var u,l=r[Symbol.iterator]();!(i=(u=l.next()).done);i=!0){var c=u.value,d=o(c,2),f=d[0],p=d[1];this.labels.push(f),this.outputs.push(p)}}catch(e){a=!0,s=e}finally{try{!i&&l.return&&l.return()}finally{if(a)throw s}}}return r(e,[{key:"evaluate",value:function(e){var t=this.labels,n=this.outputs;if(1===t.length)return n[0].evaluate(e);var o=this.input.evaluate(e);if(o<=t[0])return n[0].evaluate(e);var r=t.length;return o>=t[r-1]?n[r-1].evaluate(e):n[(0,a.findStopLessThanOrEqualTo)(t,o)].evaluate(e)}},{key:"eachChild",value:function(e){e(this.input);var t=!0,n=!1,o=void 0;try{for(var r,i=this.outputs[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){e(r.value)}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}}},{key:"possibleOutputs",value:function(){var e;return(e=[]).concat.apply(e,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(this.outputs.map(function(e){return e.possibleOutputs()})))}},{key:"serialize",value:function(){for(var e=["step",this.input.serialize()],t=0;t<this.labels.length;t++)t>0&&e.push(this.labels[t]),e.push(this.outputs[t].serialize());return e}}],[{key:"parse",value:function(t,n){var o=function(e){return Array.isArray(e)?e:Array.from(e)}(t),r=o[1],a=o.slice(2);if(t.length-1<4)return n.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return n.error("Expected an even number of arguments.");if(!(r=n.parse(r,1,i.NumberType)))return null;var s=[],u=null;n.expectedType&&"value"!==n.expectedType.kind&&(u=n.expectedType),a.unshift(-1/0);for(var l=0;l<a.length;l+=2){var c=a[l],d=a[l+1],f=l+1,p=l+2;if("number"!=typeof c)return n.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',f);if(s.length&&s[s.length-1][0]>=c)return n.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',f);var h=n.parse(d,p,u);if(!h)return null;u=u||h.type,s.push([c,h])}return new e(u,r,s)}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var r=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=n.type,this.name=t,this.boundExpression=n}return o(e,[{key:"evaluate",value:function(e){return this.boundExpression.evaluate(e)}},{key:"eachChild",value:function(){}},{key:"possibleOutputs",value:function(){return[void 0]}},{key:"serialize",value:function(){return["var",this.name]}}],[{key:"parse",value:function(t,n){if(2!==t.length||"string"!=typeof t[1])return n.error("'var' expression requires exactly one string literal argument.");var o=t[1];return n.scope.has(o)?new e(o,n.scope.get(o)):n.error('Unknown variable "'+o+'". Make sure "'+o+'" has been bound in an enclosing "let" expression before using it.',1)}}]),e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isGlobalPropertyConstant=t.isFeatureConstant=void 0;var o=function(e){return e&&e.__esModule?e:{default:e}}(n(5));t.isFeatureConstant=function e(t){if(t instanceof o.default){if("get"===t.name&&1===t.args.length)return!1;if("has"===t.name&&1===t.args.length)return!1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return!1;if(/^filter-/.test(t.name))return!1}var n=!0;return t.eachChild(function(t){n&&!e(t)&&(n=!1)}),n},t.isGlobalPropertyConstant=function e(t,n){if(t instanceof o.default&&n.indexOf(t.name)>=0)return!1;var r=!0;return t.eachChild(function(t){r&&!e(t,n)&&(r=!1)}),r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=u(n(1)),i=n(0),a=n(2),s=u(n(3));function u(e){return e&&e.__esModule?e:{default:e}}var l={"to-number":i.NumberType,"to-color":i.ColorType},c=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.args=n}return o(e,[{key:"evaluate",value:function(e){if("color"===this.type.kind){var t=void 0,n=void 0,o=!0,r=!1,i=void 0;try{for(var u,l=this.args[Symbol.iterator]();!(o=(u=l.next()).done);o=!0){if(n=null,"string"==typeof(t=u.value.evaluate(e))){var c=e.parseColor(t);if(c)return c}else if(Array.isArray(t)&&!(n=t.length<3||t.length>4?"Invalid rbga value "+JSON.stringify(t)+": expected an array containing either three or four numeric values.":(0,a.validateRGBA)(t[0],t[1],t[2],t[3])))return new a.Color(t[0]/255,t[1]/255,t[2]/255,t[3])}}catch(e){r=!0,i=e}finally{try{!o&&l.return&&l.return()}finally{if(r)throw i}}throw new s.default(n||"Could not parse color from value '"+("string"==typeof t?t:JSON.stringify(t))+"'")}var d=null,f=!0,p=!1,h=void 0;try{for(var y,m=this.args[Symbol.iterator]();!(f=(y=m.next()).done);f=!0){if(null!==(d=y.value.evaluate(e))){var v=Number(d);if(!isNaN(v))return v}}}catch(e){p=!0,h=e}finally{try{!f&&m.return&&m.return()}finally{if(p)throw h}}throw new s.default("Could not convert "+JSON.stringify(d)+" to number.")}},{key:"eachChild",value:function(e){this.args.forEach(e)}},{key:"possibleOutputs",value:function(){var e;return(e=[]).concat.apply(e,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(this.args.map(function(e){return e.possibleOutputs()})))}},{key:"serialize",value:function(){var e=["to-"+this.type.kind];return this.eachChild(function(t){e.push(t.serialize())}),e}}],[{key:"parse",value:function(t,n){if(t.length<2)return n.error("Expected at least one argument.");var o=t[0];(0,r.default)(l[o],o);for(var a=l[o],s=[],u=1;u<t.length;u++){var c=n.parse(t[u],u,i.ValueType);if(!c)return null;s.push(c)}return new e(a,s)}}]),e}();t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n(0),i=n(2),a=function(e){return e&&e.__esModule?e:{default:e}}(n(3));var s={string:r.StringType,number:r.NumberType,boolean:r.BooleanType},u=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.input=n}return o(e,[{key:"evaluate",value:function(e){var t=this.input.evaluate(e);if((0,r.checkSubtype)(this.type,(0,i.typeOf)(t)))throw new a.default("Expected value to be of type "+(0,r.toString)(this.type)+", but found "+(0,r.toString)((0,i.typeOf)(t))+" instead.");return t}},{key:"eachChild",value:function(e){e(this.input)}},{key:"possibleOutputs",value:function(){return this.input.possibleOutputs()}},{key:"serialize",value:function(){var e=["array"],t=this.type.itemType;if("string"===t.kind||"number"===t.kind||"boolean"===t.kind){e.push(t.kind);var n=this.type.N;"number"==typeof n&&e.push(n)}return e.push(this.input.serialize()),e}}],[{key:"parse",value:function(t,n){if(t.length<2||t.length>4)return n.error("Expected 1, 2, or 3 arguments, but found "+(t.length-1)+" instead.");var o=void 0,i=void 0;if(t.length>2){var a=t[1];if("string"!=typeof a||!(a in s))return n.error('The item type argument of "array" must be one of string, number, boolean',1);o=s[a]}else o=r.ValueType;if(t.length>3){if("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2]))return n.error('The length argument to "array" must be a positive integer literal',2);i=t[2]}var u=(0,r.array)(o,i),l=n.parse(t[t.length-1],t.length-1,r.ValueType);return l?new e(u,l):null}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=u(n(1)),i=n(0),a=u(n(3)),s=n(2);function u(e){return e&&e.__esModule?e:{default:e}}var l={string:i.StringType,number:i.NumberType,boolean:i.BooleanType,object:i.ObjectType},c=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.args=n}return o(e,[{key:"evaluate",value:function(e){for(var t=0;t<this.args.length;t++){var n=this.args[t].evaluate(e);if(!(0,i.checkSubtype)(this.type,(0,s.typeOf)(n)))return n;if(t===this.args.length-1)throw new a.default("Expected value to be of type "+(0,i.toString)(this.type)+", but found "+(0,i.toString)((0,s.typeOf)(n))+" instead.")}return(0,r.default)(!1),null}},{key:"eachChild",value:function(e){this.args.forEach(e)}},{key:"possibleOutputs",value:function(){var e;return(e=[]).concat.apply(e,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(this.args.map(function(e){return e.possibleOutputs()})))}},{key:"serialize",value:function(){return[this.type.kind].concat(this.args.map(function(e){return e.serialize()}))}}],[{key:"parse",value:function(t,n){if(t.length<2)return n.error("Expected at least one argument.");var o=t[0];(0,r.default)(l[o],o);for(var a=l[o],s=[],u=1;u<t.length;u++){var c=n.parse(t[u],u,i.ValueType);if(!c)return null;s.push(c)}return new e(a,s)}}]),e}();t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),i=n(2);var a=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.value=n}return o(e,[{key:"evaluate",value:function(){return this.value}},{key:"eachChild",value:function(){}},{key:"possibleOutputs",value:function(){return[this.value]}},{key:"serialize",value:function(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof i.Color?["rgba"].concat(this.value.toArray()):((0,r.default)(null===this.value||"string"==typeof this.value||"number"==typeof this.value||"boolean"==typeof this.value),this.value)}}],[{key:"parse",value:function(t,n){if(2!==t.length)return n.error("'literal' expression requires exactly one argument, but found "+(t.length-1)+" instead.");if(!(0,i.isValue)(t[1]))return n.error("invalid value");var o=t[1],r=(0,i.typeOf)(o),a=n.expectedType;return"array"!==r.kind||0!==r.N||!a||"array"!==a.kind||"number"==typeof a.N&&0!==a.N||(r=a),new e(r,o)}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=v(n(54)),a=n(0),s=v(n(21)),u=v(n(19)),l=v(n(18)),c=v(n(17)),d=v(n(16)),f=v(n(6)),p=v(n(5)),h=n(7),y=n(15),m=v(n(14));function v(e){return e&&e.__esModule?e:{default:e}}var g=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new i.default,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.registry=t,this.path=n,this.key=n.map(function(e){return"["+e+"]"}).join(""),this.scope=r,this.errors=a,this.expectedType=o}return r(e,[{key:"parse",value:function(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return t?this.concat(t,n,o)._parse(e,r):this._parse(e,r)}},{key:"_parse",value:function(e,t){if(null!==e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e||(e=["literal",e]),Array.isArray(e)){if(0===e.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var n=e[0];if("string"!=typeof n)return this.error("Expression name must be a string, but found "+(void 0===n?"undefined":o(n))+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var r=this.registry[n];if(r){var i=r.parse(e,this);if(!i)return null;if(this.expectedType){var a=this.expectedType,s=i.type;if("string"!==a.kind&&"number"!==a.kind&&"boolean"!==a.kind&&"object"!==a.kind||"value"!==s.kind)if("array"===a.kind&&"value"===s.kind)t.omitTypeAnnotations||(i=new c.default(a,i));else if("color"!==a.kind||"value"!==s.kind&&"string"!==s.kind){if(this.checkSubtype(this.expectedType,i.type))return null}else t.omitTypeAnnotations||(i=new d.default(a,[i]));else t.omitTypeAnnotations||(i=new l.default(a,[i]))}if(!(i instanceof u.default)&&function e(t){if(t instanceof m.default)return e(t.boundExpression);if(t instanceof p.default&&"error"===t.name)return!1;if(t instanceof h.CollatorExpression)return!1;var n=t instanceof d.default||t instanceof l.default||t instanceof c.default;var o=!0;t.eachChild(function(t){o=n?o&&e(t):o&&t instanceof u.default});if(!o)return!1;return(0,y.isFeatureConstant)(t)&&(0,y.isGlobalPropertyConstant)(t,["zoom","heatmap-density","line-progress","is-supported-script"])}(i)){var v=new f.default;try{i=new u.default(i.type,i.evaluate(v))}catch(e){return this.error(e.message),null}}return i}return this.error('Unknown expression "'+n+'". If you wanted a literal array, use ["literal", [...]].',0)}return void 0===e?this.error("'undefined' value invalid. Use null instead."):"object"===(void 0===e?"undefined":o(e))?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+(void 0===e?"undefined":o(e))+" instead.")}},{key:"concat",value:function(t,n,o){var r="number"==typeof t?this.path.concat(t):this.path,i=o?this.scope.concat(o):this.scope;return new e(this.registry,r,n||null,i,this.errors)}},{key:"error",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=""+this.key+n.map(function(e){return"["+e+"]"}).join("");this.errors.push(new s.default(r,e))}},{key:"checkSubtype",value:function(e,t){var n=(0,a.checkSubtype)(e,t);return n&&this.error(n),n}}]),e}();t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return o.message=n,o.key=e,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,Error),t}();t.default=o},function(e,t,n){"use strict";var o,r="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};o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":r(window))&&(o=window)}e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StylePropertyFunction=t.ZoomDependentExpression=t.ZoomConstantExpression=t.StyleExpression=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.isExpression=S,t.createExpression=j,t.createPropertyExpression=A,t.normalizePropertyExpression=function(e,t){if((0,g.isFunction)(e))return new M(e,t);if(S(e)){var n=A(e,t);if("error"===n.result)throw new Error(n.value.map(function(e){return e.key+": "+e.message}).join(", "));return n.value}var o=e;return"string"==typeof e&&"color"===t.type&&(o=b.Color.parse(e)),{kind:"constant",evaluate:function(){return o}}};var r=x(n(1)),i=x(n(9)),a=x(n(21)),s=x(n(20)),u=x(n(6)),l=x(n(5)),c=x(n(13)),d=x(n(8)),f=x(n(12)),p=x(n(11)),h=x(n(53)),y=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(15)),m=x(n(3)),v=n(47),g=n(25),b=n(2),w=n(0);function x(e){return e&&e.__esModule?e:{default:e}}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var T=t.StyleExpression=function(){function e(t,n){k(this,e),this.expression=t,this._warningHistory={},this._defaultValue=function(e){return"color"===e.type&&(0,g.isFunction)(e.default)?new b.Color(0,0,0,0):"color"===e.type?b.Color.parse(e.default)||null:void 0===e.default?null:e.default}(n),"enum"===n.type&&(this._enumValues=n.values)}return o(e,[{key:"evaluateWithoutErrorHandling",value:function(e,t){return this._evaluator||(this._evaluator=new u.default),this._evaluator.globals=e,this._evaluator.feature=t,this.expression.evaluate(this._evaluator)}},{key:"evaluate",value:function(e,t){this._evaluator||(this._evaluator=new u.default),this._evaluator.globals=e,this._evaluator.feature=t;try{var n=this.expression.evaluate(this._evaluator);if(null===n||void 0===n)return this._defaultValue;if(this._enumValues&&!(n in this._enumValues))throw new m.default("Expected value to be one of "+Object.keys(this._enumValues).map(function(e){return JSON.stringify(e)}).join(", ")+", but found "+JSON.stringify(n)+" instead.");return n}catch(e){return this._warningHistory[e.message]||(this._warningHistory[e.message]=!0,"undefined"!=typeof console&&console.warn(e.message)),this._defaultValue}}}]),e}();function S(e){return Array.isArray(e)&&e.length>0&&"string"==typeof e[0]&&e[0]in h.default}function j(e,t){var n=new s.default(h.default,[],function(e){var t={color:w.ColorType,string:w.StringType,number:w.NumberType,enum:w.StringType,boolean:w.BooleanType};if("array"===e.type)return(0,w.array)(t[e.value]||w.ValueType,e.length);return t[e.type]||null}(t)),o=n.parse(e);return o?(0,v.success)(new T(o,t)):((0,r.default)(n.errors.length>0),(0,v.error)(n.errors))}var _=t.ZoomConstantExpression=function(){function e(t,n){k(this,e),this.kind=t,this._styleExpression=n}return o(e,[{key:"evaluateWithoutErrorHandling",value:function(e,t){return this._styleExpression.evaluateWithoutErrorHandling(e,t)}},{key:"evaluate",value:function(e,t){return this._styleExpression.evaluate(e,t)}}]),e}(),O=t.ZoomDependentExpression=function(){function e(t,n,o){k(this,e),this.kind=t,this.zoomStops=o.labels,this._styleExpression=n,o instanceof d.default&&(this._interpolationType=o.interpolation)}return o(e,[{key:"evaluateWithoutErrorHandling",value:function(e,t){return this._styleExpression.evaluateWithoutErrorHandling(e,t)}},{key:"evaluate",value:function(e,t){return this._styleExpression.evaluate(e,t)}},{key:"interpolationFactor",value:function(e,t,n){return this._interpolationType?d.default.interpolationFactor(this._interpolationType,e,t,n):0}}]),e}();function A(e,t){if("error"===(e=j(e,t)).result)return e;var n=e.value.expression,o=y.isFeatureConstant(n);if(!o&&!t["property-function"])return(0,v.error)([new a.default("","property expressions not supported")]);var r=y.isGlobalPropertyConstant(n,["zoom"]);if(!r&&!1===t["zoom-function"])return(0,v.error)([new a.default("","zoom expressions not supported")]);var i=function e(t){var n=null;if(t instanceof p.default)n=e(t.result);else if(t instanceof f.default){var o=!0,r=!1,i=void 0;try{for(var s,u=t.args[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var h=s.value;if(n=e(h))break}}catch(e){r=!0,i=e}finally{try{!o&&u.return&&u.return()}finally{if(r)throw i}}}else(t instanceof c.default||t instanceof d.default)&&t.input instanceof l.default&&"zoom"===t.input.name&&(n=t);if(n instanceof a.default)return n;t.eachChild(function(t){var o=e(t);o instanceof a.default?n=o:!n&&o?n=new a.default("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):n&&o&&n!==o&&(n=new a.default("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))});return n}(n);return i||r?i instanceof a.default?(0,v.error)([i]):i instanceof d.default&&"piecewise-constant"===t.function?(0,v.error)([new a.default("",'"interpolate" expressions cannot be used with this property')]):i?(0,v.success)(new O(o?"camera":"composite",e.value,i)):(0,v.success)(new _(o?"constant":"source",e.value)):(0,v.error)([new a.default("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}var M=t.StylePropertyFunction=function(){function e(t,n){k(this,e),this._parameters=t,this._specification=n,(0,i.default)(this,(0,g.createFunction)(this._parameters,this._specification))}return o(e,null,[{key:"deserialize",value:function(t){return new e(t._parameters,t._specification)}},{key:"serialize",value:function(e){return{_parameters:e._parameters,_specification:e._specification}}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findStopLessThanOrEqualTo=function(e,t){var n=0,r=e.length-1,i=0,a=void 0,s=void 0;for(;n<=r;){if(i=Math.floor((n+r)/2),a=e[i],s=e[i+1],t===a||t>a&&t<s)return i;if(a<t)n=i+1;else{if(!(a>t))throw new o.default("Input is not a number.");r=i-1}}return Math.max(i-1,0)};var o=function(e){return e&&e.__esModule?e:{default:e}}(n(3))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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};t.isFunction=function(e){return"object"===(void 0===e?"undefined":o(e))&&null!==e&&!Array.isArray(e)},t.createFunction=function e(t,n){var s="color"===n.type;var u=t.stops&&"object"===o(t.stops[0][0]);var c=u||void 0!==t.property;var d=u||!c;var f=t.type||("interpolated"===n.function?"exponential":"interval");s&&((t=(0,a.default)({},t)).stops&&(t.stops=t.stops.map(function(e){return[e[0],i.default.parse(e[1])]})),t.default?t.default=i.default.parse(t.default):t.default=i.default.parse(n.default));if(t.colorSpace&&"rgb"!==t.colorSpace&&!r[t.colorSpace])throw new Error("Unknown color space: "+t.colorSpace);var g=void 0;var b=void 0;var w=void 0;if("exponential"===f)g=m;else if("interval"===f)g=y;else if("categorical"===f){g=h,b=Object.create(null);var x=!0,k=!1,T=void 0;try{for(var S,j=t.stops[Symbol.iterator]();!(x=(S=j.next()).done);x=!0){var _=S.value;b[_[0]]=_[1]}}catch(e){k=!0,T=e}finally{try{!x&&j.return&&j.return()}finally{if(k)throw T}}w=o(t.stops[0][0])}else{if("identity"!==f)throw new Error('Unknown function type "'+f+'"');g=v}if(u){for(var O={},A=[],M=0;M<t.stops.length;M++){var C=t.stops[M],z=C[0].zoom;void 0===O[z]&&(O[z]={zoom:z,type:t.type,property:t.property,default:t.default,stops:[]},A.push(z)),O[z].stops.push([C[0].value,C[1]])}var E=[],N=!0,P=!1,R=void 0;try{for(var I,q=A[Symbol.iterator]();!(N=(I=q.next()).done);N=!0){var F=I.value;E.push([O[F].zoom,e(O[F],n)])}}catch(e){P=!0,R=e}finally{try{!N&&q.return&&q.return()}finally{if(P)throw R}}return{kind:"composite",interpolationFactor:l.default.interpolationFactor.bind(void 0,{name:"linear"}),zoomStops:E.map(function(e){return e[0]}),evaluate:function(e,o){var r=e.zoom;return m({stops:E,base:t.base},n,r).evaluate(r,o)}}}return d?{kind:"camera",interpolationFactor:"exponential"===f?l.default.interpolationFactor.bind(void 0,{name:"exponential",base:void 0!==t.base?t.base:1}):function(){return 0},zoomStops:t.stops.map(function(e){return e[0]}),evaluate:function(e){var o=e.zoom;return g(t,n,o,b,w)}}:{kind:"source",evaluate:function(e,o){var r=o&&o.properties?o.properties[t.property]:void 0;return void 0===r?p(t.default,n.default):g(t,n,r,b,w)}}};var r=d(n(62)),i=c(n(4)),a=c(n(9)),s=c(n(60)),u=d(n(10)),l=c(n(8));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function f(e){return e}function p(e,t,n){return void 0!==e?e:void 0!==t?t:void 0!==n?n:void 0}function h(e,t,n,r,i){return p((void 0===n?"undefined":o(n))===i?r[n]:void 0,e.default,t.default)}function y(e,t,n){if("number"!==(0,s.default)(n))return p(e.default,t.default);var o=e.stops.length;if(1===o)return e.stops[0][1];if(n<=e.stops[0][0])return e.stops[0][1];if(n>=e.stops[o-1][0])return e.stops[o-1][1];var r=g(e.stops,n);return e.stops[r][1]}function m(e,t,n){var o=void 0!==e.base?e.base:1;if("number"!==(0,s.default)(n))return p(e.default,t.default);var i=e.stops.length;if(1===i)return e.stops[0][1];if(n<=e.stops[0][0])return e.stops[0][1];if(n>=e.stops[i-1][0])return e.stops[i-1][1];var a=g(e.stops,n),l=function(e,t,n,o){var r=o-n,i=e-n;return 0===r?0:1===t?i/r:(Math.pow(t,i)-1)/(Math.pow(t,r)-1)}(n,o,e.stops[a][0],e.stops[a+1][0]),c=e.stops[a][1],d=e.stops[a+1][1],h=u[t.type]||f;if(e.colorSpace&&"rgb"!==e.colorSpace){var y=r[e.colorSpace];h=function(e,t){return y.reverse(y.interpolate(y.forward(e),y.forward(t),l))}}return"function"==typeof c.evaluate?{evaluate:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=c.evaluate.apply(void 0,t),r=d.evaluate.apply(void 0,t);if(void 0!==o&&void 0!==r)return h(o,r,l)}}:h(c,d,l)}function v(e,t,n){return"color"===t.type?n=i.default.parse(n):(0,s.default)(n)===t.type||"enum"===t.type&&t.values[n]||(n=void 0),p(n,e.default,t.default)}function g(e,t){for(var n=0,o=e.length-1,r=0,i=void 0,a=void 0;n<=o;){if(i=e[r=Math.floor((n+o)/2)][0],a=e[r+1][0],t===i||t>i&&t<a)return r;i<t?n=r+1:i>t&&(o=r-1)}return Math.max(r-1,0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=function(e,t){if(!e)throw new o.default(t)};var o=function(e){return e&&e.__esModule?e:{default:e}}(n(71))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION=t.WEBGL_EXTENSIONS=t.WEBGL_MAX_TEXTURE_SIZE=t.HAS_WEBGL=t.DEBUG_WEBGL=void 0,t.inherits=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},t.getUid=function(e){return e.ol_uid||(e.ol_uid=++l)};var o=n(73),r=(t.DEBUG_WEBGL=!0,void 0),i=void 0,a=!1;if("undefined"!=typeof window&&"WebGLRenderingContext"in window)try{var s=document.createElement("CANVAS"),u=(0,o.getContext)(s,{failIfMajorPerformanceCaveat:!0});u&&(t.HAS_WEBGL=a=!0,t.WEBGL_MAX_TEXTURE_SIZE=r=u.getParameter(u.MAX_TEXTURE_SIZE),t.WEBGL_EXTENSIONS=i=u.getSupportedExtensions())}catch(e){}t.HAS_WEBGL=a,t.WEBGL_MAX_TEXTURE_SIZE=r,t.WEBGL_EXTENSIONS=i;t.VERSION="v4.6.4";var l=0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getValue=j,t.default=function(e,t,n,f,p,h,y){if(!f){f=[];for(var m=78271.51696402048;f.length<21;m/=2)f.push(m)}if("string"==typeof t&&(t=JSON.parse(t)),8!=t.version)throw new Error("glStyle version 8 required.");var b=void 0,x=void 0;if(h){var T=new Image;T.crossOrigin="anonymous",T.onload=function(){b=T,x=[T.width,T.height],e.changed(),T.onload=null},T.src=h}var A=document.createElement("CANVAS").getContext("2d"),C={};function E(e,t,n){var o=n+","+t+","+e,r=C[o];if(!r){A.font=t;for(var i=A.measureText("M").width*n,a=e.split(" "),s="",u=[],l=0,c=a.length;l<c;++l){var d=a[l];A.measureText(s+d).width<=i?s+=(s?" ":"")+d:(s&&u.push(s),s=d)}s&&u.push(s),C[o]=r=u.join("\n")}return r}for(var N=(0,c.default)(t.layers),P={},R=[],I=void 0,q=0,F=N.length;q<F;++q){var B=N[q],L=B.id;if("string"==typeof n&&B.source==n||-1!==n.indexOf(L)){var D=B["source-layer"];I||(I=B.source);var G=P[D];G||(G=P[D]=[]),G.push({layer:B,index:q}),R.push(L)}delete S[L],delete _[L]}var V=new i.default,U=new r.default,W={},J={},H=[],Z=function(e,t){var n=e.getProperties(),c=P[n.layer];if(c){var h=f.indexOf(t);-1==h&&(h=(0,g.getZoomForResolution)(t,f));for(var m=w[e.getGeometry().getType()],T={properties:n,type:m},S=-1,_=0,A=c.length;_<A;++_){var C=c[_],N=C.layer,R=N.id,I=N.layout||k,q=N.paint||k;if(!("none"===I.visibility||"minzoom"in N&&h<N.minzoom||"maxzoom"in N&&h>=N.maxzoom)){var F=N.filter;if(!F||O(R,F,T,h)){var B=void 0,L=void 0,D=void 0,G=void 0,Z=void 0,X=void 0,K=C.index;if(3==m&&"fill"==N.type)if(L=j(N,"paint","fill-opacity",h,T),"fill-pattern"in q){var Y=j(N,"paint","fill-pattern",h,T);if(Y){var $=z(Y,n);if(b&&p&&p[$]){(X=H[++S])&&X.getFill()&&!X.getStroke()&&!X.getText()||(X=H[S]=new o.default({fill:new r.default})),D=X.getFill(),X.setZIndex(K);var Q=$+"."+L,ee=J[Q];if(!ee){var te=p[$],ne=document.createElement("canvas");ne.width=te.width,ne.height=te.height;var oe=ne.getContext("2d");oe.globalAlpha=L,oe.drawImage(b,te.x,te.y,te.width,te.height,0,0,te.width,te.height),ee=oe.createPattern(ne,"repeat"),J[Q]=ee}D.setColor(ee)}}}else L=j(N,"paint","fill-opacity",h,T),(B=M(j(N,"paint","fill-color",h,T),L))&&((X=H[++S])&&X.getFill()&&!X.getStroke()&&!X.getText()||(X=H[S]=new o.default({fill:new r.default})),(D=X.getFill()).setColor(B),X.setZIndex(K)),"fill-outline-color"in q&&(Z=M(j(N,"paint","fill-outline-color",h,T),L)),Z&&((X=H[++S])&&X.getStroke()&&!X.getFill()&&!X.getText()||(X=H[S]=new o.default({stroke:new i.default})),(G=X.getStroke()).setLineCap(d.default.layout_line["line-cap"]),G.setLineJoin(d.default.layout_line["line-join"]),G.setMiterLimit(d.default.layout_line["line-miter-limit"]),G.setColor(Z),G.setWidth(1),G.setLineDash(null),X.setZIndex(K));1!=m&&function(){B=!("line-pattern"in q)&&"line-color"in q?M(j(N,"paint","line-color",h,T),j(N,"paint","line-opacity",h,T)):void 0;var e="line"==N.type?j(N,"paint","line-width",h,T):1;B&&e>0&&((X=H[++S])&&X.getStroke()&&!X.getFill()&&!X.getText()||(X=H[S]=new o.default({stroke:new i.default})),(G=X.getStroke()).setLineCap(j(N,"layout","line-cap",h,T)),G.setLineJoin(j(N,"layout","line-join",h,T)),G.setMiterLimit(j(N,"layout","line-miter-limit",h,T)),G.setColor(B),G.setWidth(e),G.setLineDash(q["line-dasharray"]?j(N,"paint","line-dasharray",h,T).map(function(t){return t*e}):null),X.setZIndex(K))}();var re=!1,ie=null,ae=void 0,se=void 0,ue=void 0;if((1==m||2==m)&&"icon-image"in I){var le=j(N,"layout","icon-image",h,T);if(le){ae=z(le,n);var ce=void 0;if(b&&p&&p[ae]){if(2==m){var de=e.getGeometry();if(de.getFlatMidpoint){var fe=de.getExtent();Math.sqrt(Math.max(Math.pow((fe[2]-fe[0])/t,2),Math.pow((fe[3]-fe[1])/t,2)))>150&&(ce=new l.default(de.getFlatMidpoint()))}}if(2!==m||ce){(X=H[++S])&&X.getImage()&&!X.getFill()&&!X.getStroke()||(X=H[S]=new o.default),X.setGeometry(ce);var pe=j(N,"layout","icon-size",h,T),he=void 0!==q["icon-color"]?j(N,"paint","icon-color",h,T):null,ye=ae+"."+pe;if(null!==he&&(ye+="."+he),!(se=W[ye])){var me=p[ae];if(null!==he){B=M(he,1);var ve=document.createElement("canvas");ve.width=me.width,ve.height=me.height;var ge=ve.getContext("2d");ge.drawImage(b,me.x,me.y,me.width,me.height,0,0,me.width,me.height);for(var be=ge.getImageData(0,0,ve.width,ve.height),we=0,xe=be.data.length;we<xe;we+=4)be.data[we]=B[0],be.data[we+1]=B[1],be.data[we+2]=B[2];ge.putImageData(be,0,0),se=W[ye]=new a.default({img:ve,imgSize:[ve.width,ve.height],scale:pe/me.pixelRatio})}else se=W[ye]=new a.default({img:b,imgSize:x,size:[me.width,me.height],offset:[me.x,me.y],scale:pe/me.pixelRatio})}se.setRotation((0,g.deg2rad)(j(N,"layout","icon-rotate",h,T))),se.setOpacity(j(N,"paint","icon-opacity",h,T)),X.setImage(se),ie=X.getText(),X.setText(void 0),X.setZIndex(99999-K),re=!0,ue=!1}else ue=!0}}}if(1==m&&"circle-radius"in q){(X=H[++S])&&X.getImage()&&!X.getFill()&&!X.getStroke()||(X=H[S]=new o.default);var ke=j(N,"paint","circle-radius",h,T),Te=j(N,"paint","circle-stroke-color",h,T),Se=j(N,"paint","circle-color",h,T),je=j(N,"paint","circle-opacity",h,T),_e=j(N,"paint","circle-stroke-width",h,T);(se=W[ke+"."+Te+"."+Se+"."+je+"."+_e])||(se=new u.default({radius:ke,stroke:0===_e?void 0:new i.default({width:_e,color:M(Te,je)}),fill:new r.default({color:M(Se,je)})})),X.setImage(se),ie=X.getText(),X.setText(void 0),X.setGeometry(void 0),X.setZIndex(99999-K),re=!0}var Oe=void 0;if("text-field"in I)Oe=z(j(N,"layout","text-field",h,T),n);if(Oe&&!ue){re||((X=H[++S])&&X.getText()&&!X.getFill()&&!X.getStroke()||(X=H[S]=new o.default),X.setImage(void 0),X.setGeometry(void 0)),X.getText()||X.setText(ie||new s.default),ie=X.getText();var Ae=j(N,"layout","text-size",h,T),Me=j(N,"layout","text-font",h,T),Ce=(0,v.default)(y?y(Me):Me,Ae),ze=I["text-transform"];"uppercase"==ze?Oe=Oe.toUpperCase():"lowercase"==ze&&(Oe=Oe.toLowerCase());var Ee=2==m?Oe:E(Oe,Ce,j(N,"layout","text-max-width",h,T));ie.setText(Ee),ie.setFont(Ce),ie.setRotation((0,g.deg2rad)(j(N,"layout","text-rotate",h,T)));var Ne=j(N,"layout","text-anchor",h,T),Pe=re||1==m?"point":j(N,"layout","symbol-placement",h,T);if(ie.setPlacement(Pe),"point"==Pe){var Re="center";-1!==Ne.indexOf("left")?Re="left":-1!==Ne.indexOf("right")&&(Re="right"),ie.setTextAlign(Re)}else ie.setTextAlign();var Ie="middle";0==Ne.indexOf("bottom")?Ie="bottom":0==Ne.indexOf("top")&&(Ie="top"),ie.setTextBaseline(Ie);var qe=j(N,"layout","text-offset",h,T);ie.setOffsetX(qe[0]*Ae),ie.setOffsetY(qe[1]*Ae),L=j(N,"paint","text-opacity",h,T),U.setColor(M(j(N,"paint","text-color",h,T),L)),ie.setFill(U);var Fe=M(j(N,"paint","text-halo-color",h,T),L);Fe?(V.setColor(Fe),V.setWidth(j(N,"paint","text-halo-width",h,T)),ie.setStroke(V)):ie.setStroke(void 0),X.setZIndex(99999-K)}}}}return S>-1?(H.length=S+1,H):void 0}};return e.setStyle(Z),e.set("mapbox-source",I),e.set("mapbox-layers",R),Z};var o=b(n(79)),r=b(n(78)),i=b(n(77)),a=b(n(76)),s=b(n(75)),u=b(n(68)),l=b(n(67)),c=b(n(66)),d=b(n(64)),f=n(25),p=n(23),h=b(n(46)),y=b(n(4)),m=b(n(45)),v=b(n(29)),g=n(44);function b(e){return e&&e.__esModule?e:{default:e}}var w={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},x=function(e,t){var n=(0,p.createPropertyExpression)(e,t);if("error"===n.result)throw new Error(n.value.map(function(e){return e.key+": "+e.message}).join(", "));return n.value},k={},T={zoom:0},S={};function j(e,t,n,o,r){var i=e.id;S[i]||(S[i]={});var a=S[i];if(!a[n]){var s=(e[t]||k)[n],u=d.default[t+"_"+e.type][n];void 0===s&&(s=u.default);var l=(0,p.isExpression)(s);if(!l&&(0,f.isFunction)(s)&&(s=(0,h.default)(s,u),l=!0),l){var c=x(s,u);a[n]=c.evaluate.bind(c)}else"color"==u.type&&(s=y.default.parse(s)),a[n]=function(){return s}}return T.zoom=o,a[n](T,r)}var _={};function O(e,t,n,o){return e in _||(_[e]=(0,m.default)(t)),T.zoom=o,_[e](T,n)}var A={};function M(e,t){if(e&&void 0!==t){var n=A[e];n||(A[e]=n={color:e.toArray(),opacity:e.a}),(e=n.color)[3]=n.opacity*t,0===e[3]&&(e=void 0)}return e}var C=/^([^]*)\{(.*)\}([^]*)$/;function z(e,t){var n=void 0;do{if(n=e.match(C)){var o=t[n[2]]||"";e=n[1]+o+n[3]}}while(n);return e}},function(e,t,n){"use strict";var o={thin:100,hairline:100,"ultra-light":100,"extra-light":100,light:200,book:300,regular:400,normal:400,plain:400,roman:400,standard:400,medium:500,"semi-bold":600,"demi-bold":600,bold:700,heavy:800,black:800,"extra-bold":800,"ultra-black":900,"extra-black":900,"ultra-bold":900,"heavy-black":900,fat:900,poster:900},r=/(italic|oblique)$/i,i={};e.exports=function(e,t){var n=i[e];if(!n){Array.isArray(e)||(e=[e]);for(var a="normal",s="normal",u=[],l=0,c=e.length;l<c;++l){var d=e[l].split(" "),f=d[d.length-1].toLowerCase();for(var p in"normal"==f||"italic"==f||"oblique"==f?(s=f,d.pop(),f=d[d.length-1].toLowerCase()):r.test(f)&&(f=f.replace(r,""),s=d[d.length-1].replace(f,"")),o)if(f==p||f==p.replace("-","")||f==p.replace("-"," ")){a=o[p],d.pop();break}"number"==typeof f&&(a=f);var h=d.join(" ").replace("Klokantech Noto Sans","Noto Sans");-1!==h.indexOf(" ")&&(h='"'+h+'"'),u.push(h)}n=i[e]=[s,a,u]}return n[0]+" "+n[1]+" "+t+"px "+n[2]}},function(e,t){e.exports=ol.source.XYZ},function(e,t){e.exports=ol.source.VectorTile},function(e,t){e.exports=ol.source.Vector},function(e,t){e.exports=ol.source.TileJSON},function(e,t){e.exports=ol.layer.VectorTile},function(e,t){e.exports=ol.layer.Vector},function(e,t){e.exports=ol.layer.Tile},function(e,t){e.exports=ol.Observable},function(e,t){e.exports=ol.format.MVT},function(e,t){e.exports=ol.format.GeoJSON},function(e,t){e.exports=ol.Map},function(e,t){e.exports=ol.tilegrid},function(e,t){e.exports=ol.proj},function(e,t,n){"use strict";(function(){var t;e.exports={icon:"icons/google.svg",name:"google",title:"Google Fonts",link:"google.com/fonts",getNames:function(){return t},getLink:function(e){return"https://fonts.google.com/specimen/"+e.replace(/( )/g,"+")},normalizeName:function(e){return e}},t=["ABeeZee","Abel","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akronim","Aladin","Aldrich","Alef","Alegreya","Alegreya SC","Alegreya Sans","Alegreya Sans SC","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allura","Almendra","Almendra Display","Almendra SC","Amarante","Amaranth","Amatic SC","Amethysta","Amiri","Amita","Anaheim","Andada","Andika","Angkor","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo Black","Archivo Narrow","Arimo","Arizonia","Armata","Artifika","Arvo","Arya","Asap","Asar","Asset","Astloch","Asul","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bad Script","Balthazar","Bangers","Basic","Battambang","Baumans","Bayon","Belgrano","Belleza","BenchNine","Bentham","Berkshire Swash","Bevan","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","Biryani","Bitter","Black Ops One","Bokor","Bonbon","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Bubblegum Sans","Bubbler One","Buda","Buenard","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Calligraffitti","Cambay","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Catamaran","Caudex","Caveat","Caveat Brush","Cedarville Cursive","Ceviche One","Changa One","Chango","Chau Philomene One","Chela One","Chelsea Market","Chenla","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chivo","Chonburi","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Combo","Comfortaa","Coming Soon","Concert One","Condiment","Content","Contrail One","Convergence","Cookie","Copse","Corben","Courgette","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Text","Croissant One","Crushed","Cuprum","Cutive","Cutive Mono","Damion","Dancing Script","Dangrek","Dawning of a New Day","Days One","Dekko","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devonshire","Dhurjati","Didact Gothic","Diplomata","Diplomata SC","Domine","Donegal One","Doppio One","Dorsa","Dosis","Dr Sugiyama","Droid Sans","Droid Sans Mono","Droid Serif","Duru Sans","Dynalight","EB Garamond","Eagle Lake","Eater","Economica","Eczar","Ek Mukta","Electrolize","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Engagement","Englebert","Enriqueta","Erica One","Esteban","Euphoria Script","Ewert","Exo","Exo 2","Expletus Sans","Fanwood Text","Fascinate","Fascinate Inline","Faster One","Fasthand","Fauna One","Federant","Federo","Felipa","Fenix","Finger Paint","Fira Mono","Fira Sans","Fjalla One","Fjord One","Flamenco","Flavors","Fondamento","Fontdiner Swanky","Forum","Francois One","Freckle Face","Fredericka the Great","Fredoka One","Freehand","Fresca","Frijole","Fruktur","Fugaz One","GFS Didot","GFS Neohellenic","Gabriela","Gafata","Galdeano","Galindo","Gentium Basic","Gentium Book Basic","Geo","Geostar","Geostar Fill","Germania One","Gidugu","Gilda Display","Give You Glory","Glass Antiqua","Glegoo","Gloria Hallelujah","Goblin One","Gochi Hand","Gorditas","Goudy Bookletter 1911","Graduate","Grand Hotel","Gravitas One","Great Vibes","Griffy","Gruppo","Gudea","Gurajada","Habibi","Halant","Hammersmith One","Hanalei","Hanalei Fill","Handlee","Hanuman","Happy Monkey","Headland One","Henny Penny","Herr Von Muellerhoff","Hind","Hind Siliguri","Hind Vadodara","Holtwood One SC","Homemade Apple","Homenaje","IM Fell DW Pica","IM Fell DW Pica SC","IM Fell Double Pica","IM Fell Double Pica SC","IM Fell English","IM Fell English SC","IM Fell French Canon","IM Fell French Canon SC","IM Fell Great Primer","IM Fell Great Primer SC","Iceberg","Iceland","Imprima","Inconsolata","Inder","Indie Flower","Inika","Inknut Antiqua","Irish Grover","Istok Web","Italiana","Italianno","Itim","Jacques Francois","Jacques Francois Shadow","Jaldi","Jim Nightshade","Jockey One","Jolly Lodger","Josefin Sans","Josefin Slab","Joti One","Judson","Julee","Julius Sans One","Junge","Jura","Just Another Hand","Just Me Again Down Here","Kadwa","Kalam","Kameron","Kantumruy","Karla","Karma","Kaushan Script","Kavoon","Kdam Thmor","Keania One","Kelly Slab","Kenia","Khand","Khmer","Khula","Kite One","Knewave","Kotta One","Koulen","Kranky","Kreon","Kristi","Krona One","Kurale","La Belle Aurore","Laila","Lakki Reddy","Lancelot","Lateef","Lato","League Script","Leckerli One","Ledger","Lekton","Lemon","Libre Baskerville","Life Savers","Lilita One","Lily Script One","Limelight","Linden Hill","Lobster","Lobster Two","Londrina Outline","Londrina Shadow","Londrina Sketch","Londrina Solid","Lora","Love Ya Like A Sister","Loved by the King","Lovers Quarrel","Luckiest Guy","Lusitana","Lustria","Macondo","Macondo Swash Caps","Magra","Maiden Orange","Mako","Mallanna","Mandali","Marcellus","Marcellus SC","Marck Script","Margarine","Marko One","Marmelad","Martel","Martel Sans","Marvel","Mate","Mate SC","Maven Pro","McLaren","Meddon","MedievalSharp","Medula One","Megrim","Meie Script","Merienda","Merienda One","Merriweather","Merriweather Sans","Metal","Metal Mania","Metamorphous","Metrophobic","Michroma","Milonga","Miltonian","Miltonian Tattoo","Miniver","Miss Fajardose","Modak","Modern Antiqua","Molengo","Molle","Monda","Monofett","Monoton","Monsieur La Doulaise","Montaga","Montez","Montserrat","Montserrat Alternates","Montserrat Subrayada","Moul","Moulpali","Mountains of Christmas","Mouse Memoirs","Mr Bedfort","Mr Dafoe","Mr De Haviland","Mrs Saint Delafield","Mrs Sheppards","Muli","Mystery Quest","NTR","Neucha","Neuton","New Rocker","News Cycle","Niconne","Nixie One","Nobile","Nokora","Norican","Nosifer","Nothing You Could Do","Noticia Text","Noto Sans","Noto Serif","Nova Cut","Nova Flat","Nova Mono","Nova Oval","Nova Round","Nova Script","Nova Slim","Nova Square","Numans","Nunito","Odor Mean Chey","Offside","Old Standard TT","Oldenburg","Oleo Script","Oleo Script Swash Caps","Open Sans","Open Sans Condensed","Oranienbaum","Orbitron","Oregano","Orienta","Original Surfer","Oswald","Over the Rainbow","Overlock","Overlock SC","Ovo","Oxygen","Oxygen Mono","PT Mono","PT Sans","PT Sans Caption","PT Sans Narrow","PT Serif","PT Serif Caption","Pacifico","Palanquin","Palanquin Dark","Paprika","Parisienne","Passero One","Passion One","Pathway Gothic One","Patrick Hand","Patrick Hand SC","Patua One","Paytone One","Peddana","Peralta","Permanent Marker","Petit Formal Script","Petrona","Philosopher","Piedra","Pinyon Script","Pirata One","Plaster","Play","Playball","Playfair Display","Playfair Display SC","Podkova","Poiret One","Poller One","Poly","Pompiere","Pontano Sans","Poppins","Port Lligat Sans","Port Lligat Slab","Pragati Narrow","Prata","Preahvihear","Press Start 2P","Princess Sofia","Prociono","Prosto One","Puritan","Purple Purse","Quando","Quantico","Quattrocento","Quattrocento Sans","Questrial","Quicksand","Quintessential","Qwigley","Racing Sans One","Radley","Rajdhani","Raleway","Raleway Dots","Ramabhadra","Ramaraja","Rambla","Rammetto One","Ranchers","Rancho","Ranga","Rationale","Ravi Prakash","Redressed","Reenie Beanie","Revalia","Rhodium Libre","Ribeye","Ribeye Marrow","Righteous","Risque","Roboto","Roboto Condensed","Roboto Mono","Roboto Slab","Rochester","Rock Salt","Rokkitt","Romanesco","Ropa Sans","Rosario","Rosarivo","Rouge Script","Rozha One","Rubik","Rubik Mono One","Rubik One","Ruda","Rufina","Ruge Boogie","Ruluko","Rum Raisin","Ruslan Display","Russo One","Ruthie","Rye","Sacramento","Sahitya","Sail","Salsa","Sanchez","Sancreek","Sansita One","Sarala","Sarina","Sarpanch","Satisfy","Scada","Scheherazade","Schoolbell","Seaweed Script","Sevillana","Seymour One","Shadows Into Light","Shadows Into Light Two","Shanti","Share","Share Tech","Share Tech Mono","Shojumaru","Short Stack","Siemreap","Sigmar One","Signika","Signika Negative","Simonetta","Sintony","Sirin Stencil","Six Caps","Skranji","Slabo 13px","Slabo 27px","Slackey","Smokum","Smythe","Sniglet","Snippet","Snowburst One","Sofadi One","Sofia","Sonsie One","Sorts Mill Goudy","Source Code Pro","Source Sans Pro","Source Serif Pro","Special Elite","Spicy Rice","Spinnaker","Spirax","Squada One","Sree Krushnadevaraya","Stalemate","Stalinist One","Stardos Stencil","Stint Ultra Condensed","Stint Ultra Expanded","Stoke","Strait","Sue Ellen Francisco","Sumana","Sunshiney","Supermercado One","Sura","Suranna","Suravaram","Suwannaphum","Swanky and Moo Moo","Syncopate","Tangerine","Taprom","Tauri","Teko","Telex","Tenali Ramakrishna","Tenor Sans","Text Me One","The Girl Next Door","Tienne","Tillana","Timmana","Tinos","Titan One","Titillium Web","Trade Winds","Trocchi","Trochut","Trykker","Tulpen One","Ubuntu","Ubuntu Condensed","Ubuntu Mono","Ultra","Uncial Antiqua","Underdog","Unica One","UnifrakturCook","UnifrakturMaguntia","Unkempt","Unlock","Unna","VT323","Vampiro One","Varela","Varela Round","Vast Shadow","Vesper Libre","Vibur","Vidaloka","Viga","Voces","Volkhov","Vollkorn","Voltaire","Waiting for the Sunrise","Wallpoet","Walter Turncoat","Warnes","Wellfleet","Wendy One","Wire One","Work Sans","Yanone Kaffeesatz","Yantramanav","Yellowtail","Yeseva One","Yesteryear","Zeyada"]}).call(void 0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deg2rad=function(e){return e*Math.PI/180},t.getZoomForResolution=function(e,t){for(var n=0,o=t.length;n<o;++n){var r=t[n];if(r<e&&n+1<o){var i=t[n]/t[n+1];return n+Math.log(t[n]/e)/Math.log(i)}}return o-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isExpressionFilter=void 0;var o="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},r=n(23);function i(e){if(!Array.isArray(e)||0===e.length)return!1;switch(e[0]){case"has":return e.length>=2&&"$id"!==e[1]&&"$type"!==e[1];case"in":case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3===e.length&&(Array.isArray(e[1])||Array.isArray(e[2]));case"any":case"all":var t=!0,n=!1,o=void 0;try{for(var r,a=e.slice(1)[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){var s=r.value;if(!i(s)&&"boolean"!=typeof s)return!1}}catch(e){n=!0,o=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw o}}return!0;default:return!0}}t.default=function(e){if(!e)return function(){return!0};i(e)||(e=u(e));var t=(0,r.createExpression)(e,a);if("error"===t.result)throw new Error(t.value.map(function(e){return e.key+": "+e.message}).join(", "));return function(e,n){return t.value.evaluate(e,n)}},t.isExpressionFilter=i;var a={type:"boolean",default:!1,function:!0,"property-function":!0,"zoom-function":!0};function s(e,t){return e<t?-1:e>t?1:0}function u(e){if(!e)return!0;var t=e[0];return e.length<=1?"any"!==t:"=="===t?l(e[1],e[2],"=="):"!="===t?f(l(e[1],e[2],"==")):"<"===t||">"===t||"<="===t||">="===t?l(e[1],e[2],t):"any"===t?function(e){return["any"].concat(e.map(u))}(e.slice(1)):"all"===t?["all"].concat(e.slice(1).map(u)):"none"===t?["all"].concat(e.slice(1).map(u).map(f)):"in"===t?c(e[1],e.slice(2)):"!in"===t?f(c(e[1],e.slice(2))):"has"===t?d(e[1]):"!has"!==t||f(d(e[1]))}function l(e,t,n){switch(e){case"$type":return["filter-type-"+n,t];case"$id":return["filter-id-"+n,t];default:return["filter-"+n,e,t]}}function c(e,t){if(0===t.length)return!1;switch(e){case"$type":return["filter-type-in",["literal",t]];case"$id":return["filter-id-in",["literal",t]];default:return t.length>200&&!t.some(function(e){return(void 0===e?"undefined":o(e))!==o(t[0])})?["filter-in-large",e,["literal",t.sort(s)]]:["filter-in-small",e,["literal",t]]}}function d(e){switch(e){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",e]}}function f(e){return["!",e]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=a(n(1)),i=a(n(9));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return void 0===e||null===e?null:"color"===t.type?e:"array"===t.type?["literal",e]:e}function u(e,t,n,i){var a=d(e,t),s=o(n[0][0]);(0,r.default)("string"===s||"number"===s||"boolean"===s);var u=[s,["get",e.property]],f=void 0,p=!1;if("categorical"===a&&"boolean"===s)return(0,r.default)(e.stops.length>0&&e.stops.length<=2),!1===e.stops[0][0]&&(u=["!",u]),f=["case",u,e.stops[0][1]],e.stops.length>1?f.push(e.stops[1][1]):f.push(i),f;if("categorical"===a)f=["match",u];else if("interval"===a)f=["step",u],p=!0;else{if("exponential"!==a)throw new Error("Unknown property function type "+a);f=["interpolate",["exponential",void 0!==e.base?e.base:1],u]}var h=!0,y=!1,m=void 0;try{for(var v,g=n[Symbol.iterator]();!(h=(v=g.next()).done);h=!0){var b=v.value;c(f,b[0],b[1],p)}}catch(e){y=!0,m=e}finally{try{!h&&g.return&&g.return()}finally{if(y)throw m}}return"match"===f[0]&&f.push(i),l(f),f}function l(e){"step"===e[0]&&3===e.length&&(e.push(0),e.push(e[3]))}function c(e,t,n,o){e.length>3&&t===e[e.length-2]||(o&&2===e.length||e.push(t),e.push(n))}function d(e,t){return e.type?e.type:t.function?"interpolated"===t.function?"exponential":"interval":"exponential"}t.default=function(e,t){var n=void 0,r=void 0;void 0!==(e=(0,i.default)({},e)).default?r=s(e.default,t):null===(r=s(t.default,t))&&(r=["error","No default property value available."]);if(e.stops){var a=e.stops&&"object"===o(e.stops[0][0]),f=a||void 0!==e.property,p=a||!f,h=e.stops.map(function(e){return!f&&t.tokens&&"string"==typeof e[1]?[e[0],function(e){var t=["concat"],n=/{([^{}]+)}/g,o=0,r=void 0;for(;null!==(r=n.exec(e));){var i=e.slice(o,n.lastIndex-r[0].length);o=n.lastIndex,i.length>0&&t.push(i),t.push(["to-string",["get",r[1]]])}if(1===t.length)return e;if(o<e.length)t.push(e.slice(o));else if(2===t.length)return t[1];return t}(e[1])]:[e[0],s(e[1],t)]});if(e.colorSpace&&"rgb"!==e.colorSpace)throw new Error("Unimplemented");n=a?function(e,t,n,o){for(var r={},i={},a=[],s=0;s<n.length;s++){var f=n[s],p=f[0].zoom;void 0===r[p]&&(r[p]={zoom:p,type:e.type,property:e.property,default:e.default},i[p]=[],a.push(p)),i[p].push([f[0].value,f[1]])}if("exponential"===d({},t)){var h=["interpolate",["linear"],["zoom"]],y=!0,m=!1,v=void 0;try{for(var g,b=a[Symbol.iterator]();!(y=(g=b.next()).done);y=!0){var w=g.value,x=u(r[w],t,i[w],o);c(h,w,x,!1)}}catch(e){m=!0,v=e}finally{try{!y&&b.return&&b.return()}finally{if(m)throw v}}return h}var k=["step",["zoom"]],T=!0,S=!1,j=void 0;try{for(var _,O=a[Symbol.iterator]();!(T=(_=O.next()).done);T=!0){var A=_.value,M=u(r[A],t,i[A],o);c(k,A,M,!0)}}catch(e){S=!0,j=e}finally{try{!T&&O.return&&O.return()}finally{if(S)throw j}}return l(k),k}(e,t,h,r):p?function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:["zoom"],r=d(e,t),i=void 0,a=!1;if("interval"===r)i=["step",o],a=!0;else{if("exponential"!==r)throw new Error('Unknown zoom function type "'+r+'"');var s=void 0!==e.base?e.base:1;i=["interpolate",["exponential",s],o]}var u=!0,f=!1,p=void 0;try{for(var h,y=n[Symbol.iterator]();!(u=(h=y.next()).done);u=!0){var m=h.value;c(i,m[0],m[1],a)}}catch(e){f=!0,p=e}finally{try{!u&&y.return&&y.return()}finally{if(f)throw p}}return l(i),i}(e,t,h):u(e,t,h,r)}else n=function(e,t,n){var o=["get",e.property];return"color"===t.type?void 0===e.default?o:["to-color",o,e.default]:"array"===t.type&&"number"==typeof t.length?["array",t.value,t.length,o]:"array"===t.type?["array",t.value,o]:"enum"===t.type?["let","property_value",["string",o],["match",["var","property_value"],Object.keys(t.values),["var","property_value"],n]]:void 0===e.default?o:[t.type,o,e.default]}(e,t,r);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.success=function(e){return{result:"success",value:e}},t.error=function(e){return{result:"error",value:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n(0),i=n(2),a=function(e){return e&&e.__esModule?e:{default:e}}(n(3));var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=r.NumberType,this.input=t}return o(e,[{key:"evaluate",value:function(e){var t=this.input.evaluate(e);if("string"==typeof t)return t.length;if(Array.isArray(t))return t.length;throw new a.default("Expected value to be of type string or array, but found "+(0,r.toString)((0,i.typeOf)(t))+" instead.")}},{key:"eachChild",value:function(e){e(this.input)}},{key:"possibleOutputs",value:function(){return[void 0]}},{key:"serialize",value:function(){var e=["length"];return this.eachChild(function(t){e.push(t.serialize())}),e}}],[{key:"parse",value:function(t,n){if(2!==t.length)return n.error("Expected 1 argument, but found "+(t.length-1)+" instead.");var o=n.parse(t[1],1);return o?"array"!==o.type.kind&&"string"!==o.type.kind&&"value"!==o.type.kind?n.error("Expected argument of type string or array, but found "+(0,r.toString)(o.type)+" instead."):new e(o):null}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotEquals=t.Equals=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n(0);function i(e){return"string"===e.kind||"number"===e.kind||"boolean"===e.kind||"null"===e.kind}function a(e,t){return function(){function n(e,t,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),this.type=r.BooleanType,this.lhs=e,this.rhs=t,this.collator=o}return o(n,[{key:"evaluate",value:function(e){var n=this.collator?0===this.collator.evaluate(e).compare(this.lhs.evaluate(e),this.rhs.evaluate(e)):this.lhs.evaluate(e)===this.rhs.evaluate(e);return t?!n:n}},{key:"eachChild",value:function(e){e(this.lhs),e(this.rhs),this.collator&&e(this.collator)}},{key:"possibleOutputs",value:function(){return[!0,!1]}},{key:"serialize",value:function(){var t=[e];return this.eachChild(function(e){t.push(e.serialize())}),t}}],[{key:"parse",value:function(e,t){if(3!==e.length&&4!==e.length)return t.error("Expected two or three arguments.");var o=t.parse(e[1],1,r.ValueType);if(!o)return null;var a=t.parse(e[2],2,r.ValueType);if(!a)return null;if(!i(o.type)&&!i(a.type))return t.error("Expected at least one argument to be a string, number, boolean, or null, but found ("+(0,r.toString)(o.type)+", "+(0,r.toString)(a.type)+") instead.");if(o.type.kind!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return t.error("Cannot compare "+(0,r.toString)(o.type)+" and "+(0,r.toString)(a.type)+".");var s=null;if(4===e.length){if("string"!==o.type.kind&&"string"!==a.type.kind)return t.error("Cannot use collator to compare non-string types.");if(!(s=t.parse(e[3],3,r.CollatorType)))return null}return new n(o,a,s)}}]),n}()}t.Equals=a("==",!1),t.NotEquals=a("!=",!0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),a=n(0);var s=function(){function e(t,n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.branches=n,this.otherwise=o}return r(e,[{key:"evaluate",value:function(e){var t=!0,n=!1,r=void 0;try{for(var i,a=this.branches[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value,u=o(s,2),l=u[0],c=u[1];if(l.evaluate(e))return c.evaluate(e)}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}return this.otherwise.evaluate(e)}},{key:"eachChild",value:function(e){var t=!0,n=!1,r=void 0;try{for(var i,a=this.branches[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value,u=o(s,2),l=u[0],c=u[1];e(l),e(c)}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}e(this.otherwise)}},{key:"possibleOutputs",value:function(){var e;return(e=[]).concat.apply(e,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(this.branches.map(function(e){var t=o(e,2);t[0];return t[1].possibleOutputs()}))).concat(this.otherwise.possibleOutputs())}},{key:"serialize",value:function(){var e=["case"];return this.eachChild(function(t){e.push(t.serialize())}),e}}],[{key:"parse",value:function(t,n){if(t.length<4)return n.error("Expected at least 3 arguments, but found only "+(t.length-1)+".");if(t.length%2!=0)return n.error("Expected an odd number of arguments.");var o=void 0;n.expectedType&&"value"!==n.expectedType.kind&&(o=n.expectedType);for(var r=[],s=1;s<t.length-1;s+=2){var u=n.parse(t[s],s,a.BooleanType);if(!u)return null;var l=n.parse(t[s+1],s+1,o);if(!l)return null;r.push([u,l]),o=o||l.type}var c=n.parse(t[t.length-1],t.length-1,o);return c?((0,i.default)(o),new e(o,r,c)):null}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),a=n(2);var s=function(){function e(t,n,o,r,i,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.inputType=t,this.type=n,this.input=o,this.cases=r,this.outputs=i,this.otherwise=a}return r(e,[{key:"evaluate",value:function(e){var t=this.input.evaluate(e);return(this.outputs[this.cases[t]]||this.otherwise).evaluate(e)}},{key:"eachChild",value:function(e){e(this.input),this.outputs.forEach(e),e(this.otherwise)}},{key:"possibleOutputs",value:function(){var e;return(e=[]).concat.apply(e,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(this.outputs.map(function(e){return e.possibleOutputs()}))).concat(this.otherwise.possibleOutputs())}},{key:"serialize",value:function(){var e=this,t=["match",this.input.serialize()],n=Object.keys(this.cases).sort(),r=[],i={},a=!0,s=!1,u=void 0;try{for(var l,c=n[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var d=l.value;void 0===(w=i[this.cases[d]])?(i[this.cases[d]]=r.length,r.push([this.cases[d],[d]])):r[w][1].push(d)}}catch(e){s=!0,u=e}finally{try{!a&&c.return&&c.return()}finally{if(s)throw u}}var f=function(t){return"number"===e.input.type.kind?Number(t):t},p=!0,h=!1,y=void 0;try{for(var m,v=r[Symbol.iterator]();!(p=(m=v.next()).done);p=!0){var g=m.value,b=o(g,2),w=b[0],x=b[1];1===x.length?t.push(f(x[0])):t.push(x.map(f)),t.push(this.outputs[w].serialize())}}catch(e){h=!0,y=e}finally{try{!p&&v.return&&v.return()}finally{if(h)throw y}}return t.push(this.otherwise.serialize()),t}}],[{key:"parse",value:function(t,n){if(t.length<5)return n.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if(t.length%2!=1)return n.error("Expected an even number of arguments.");var o=void 0,r=void 0;n.expectedType&&"value"!==n.expectedType.kind&&(r=n.expectedType);for(var s={},u=[],l=2;l<t.length-1;l+=2){var c=t[l],d=t[l+1];Array.isArray(c)||(c=[c]);var f=n.concat(l);if(0===c.length)return f.error("Expected at least one branch label.");var p=!0,h=!1,y=void 0;try{for(var m,v=c[Symbol.iterator]();!(p=(m=v.next()).done);p=!0){var g=m.value;if("number"!=typeof g&&"string"!=typeof g)return f.error("Branch labels must be numbers or strings.");if("number"==typeof g&&Math.abs(g)>Number.MAX_SAFE_INTEGER)return f.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if("number"==typeof g&&Math.floor(g)!==g)return f.error("Numeric branch labels must be integer values.");if(o){if(f.checkSubtype(o,(0,a.typeOf)(g)))return null}else o=(0,a.typeOf)(g);if(void 0!==s[String(g)])return f.error("Branch labels must be unique.");s[String(g)]=u.length}}catch(e){h=!0,y=e}finally{try{!p&&v.return&&v.return()}finally{if(h)throw y}}var b=n.parse(d,l,r);if(!b)return null;r=r||b.type,u.push(b)}var w=n.parse(t[1],1,o);if(!w)return null;var x=n.parse(t[t.length-1],t.length-1,r);return x?((0,i.default)(o&&r),new e(o,r,w,s,u,x)):null}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(n(3));var a=function(){function e(t,n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.index=n,this.input=o}return o(e,[{key:"evaluate",value:function(e){var t=this.index.evaluate(e),n=this.input.evaluate(e);if(t<0)throw new i.default("Array index out of bounds: "+t+" < 0.");if(t>=n.length)throw new i.default("Array index out of bounds: "+t+" > "+(n.length-1)+".");if(t!==Math.floor(t))throw new i.default("Array index must be an integer, but found "+t+" instead.");return n[t]}},{key:"eachChild",value:function(e){e(this.index),e(this.input)}},{key:"possibleOutputs",value:function(){return[void 0]}},{key:"serialize",value:function(){return["at",this.index.serialize(),this.input.serialize()]}}],[{key:"parse",value:function(t,n){if(3!==t.length)return n.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var o=n.parse(t[1],1,r.NumberType),i=n.parse(t[2],2,(0,r.array)(n.expectedType||r.ValueType));return o&&i?new e(i.type.itemType,o,i):null}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=n(0),a=n(2),s=S(n(5)),u=S(n(3)),l=S(n(11)),c=S(n(14)),d=S(n(19)),f=S(n(18)),p=S(n(17)),h=S(n(16)),y=S(n(52)),m=S(n(51)),v=S(n(50)),g=S(n(13)),b=S(n(8)),w=S(n(12)),x=n(49),k=n(7),T=S(n(48));function S(e){return e&&e.__esModule?e:{default:e}}function j(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var _={"==":x.Equals,"!=":x.NotEquals,array:p.default,at:y.default,boolean:f.default,case:v.default,coalesce:w.default,collator:k.CollatorExpression,interpolate:b.default,length:T.default,let:l.default,literal:d.default,match:m.default,number:f.default,object:f.default,step:g.default,string:f.default,"to-color":h.default,"to-number":h.default,var:c.default};function O(e,t){var n=r(t,4),o=n[0],i=n[1],s=n[2],l=n[3];o=o.evaluate(e),i=i.evaluate(e),s=s.evaluate(e);var c=l?l.evaluate(e):1,d=(0,a.validateRGBA)(o,i,s,c);if(d)throw new u.default(d);return new a.Color(o/255*c,i/255*c,s/255*c,c)}function A(e,t){return e in t}function M(e,t){var n=t[e];return void 0===n?null:n}function C(e,t){var n=r(t,2),o=n[0],i=n[1];return o.evaluate(e)<i.evaluate(e)}function z(e,t){var n=r(t,2),o=n[0],i=n[1];return o.evaluate(e)>i.evaluate(e)}function E(e,t){var n=r(t,2),o=n[0],i=n[1];return o.evaluate(e)<=i.evaluate(e)}function N(e,t){var n=r(t,2),o=n[0],i=n[1];return o.evaluate(e)>=i.evaluate(e)}function P(e){return{type:e}}s.default.register(_,{error:[i.ErrorType,[i.StringType],function(e,t){var n=r(t,1)[0];throw new u.default(n.evaluate(e))}],typeof:[i.StringType,[i.ValueType],function(e,t){var n=r(t,1)[0];return(0,i.toString)((0,a.typeOf)(n.evaluate(e)))}],"to-string":[i.StringType,[i.ValueType],function(e,t){var n=r(t,1)[0],i=void 0===(n=n.evaluate(e))?"undefined":o(n);return null===n?"":"string"===i||"number"===i||"boolean"===i?String(n):n instanceof a.Color?n.toString():JSON.stringify(n)}],"to-boolean":[i.BooleanType,[i.ValueType],function(e,t){var n=r(t,1)[0];return Boolean(n.evaluate(e))}],"to-rgba":[(0,i.array)(i.NumberType,4),[i.ColorType],function(e,t){return r(t,1)[0].evaluate(e).toArray()}],rgb:[i.ColorType,[i.NumberType,i.NumberType,i.NumberType],O],rgba:[i.ColorType,[i.NumberType,i.NumberType,i.NumberType,i.NumberType],O],has:{type:i.BooleanType,overloads:[[[i.StringType],function(e,t){return A(r(t,1)[0].evaluate(e),e.properties())}],[[i.StringType,i.ObjectType],function(e,t){var n=r(t,2),o=n[0],i=n[1];return A(o.evaluate(e),i.evaluate(e))}]]},get:{type:i.ValueType,overloads:[[[i.StringType],function(e,t){return M(r(t,1)[0].evaluate(e),e.properties())}],[[i.StringType,i.ObjectType],function(e,t){var n=r(t,2),o=n[0],i=n[1];return M(o.evaluate(e),i.evaluate(e))}]]},properties:[i.ObjectType,[],function(e){return e.properties()}],"geometry-type":[i.StringType,[],function(e){return e.geometryType()}],id:[i.ValueType,[],function(e){return e.id()}],zoom:[i.NumberType,[],function(e){return e.globals.zoom}],"heatmap-density":[i.NumberType,[],function(e){return e.globals.heatmapDensity||0}],"line-progress":[i.NumberType,[],function(e){return e.globals.lineProgress||0}],"+":[i.NumberType,P(i.NumberType),function(e,t){var n=0,o=!0,r=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(o=(a=s.next()).done);o=!0){n+=a.value.evaluate(e)}}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}],"*":[i.NumberType,P(i.NumberType),function(e,t){var n=1,o=!0,r=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(o=(a=s.next()).done);o=!0){n*=a.value.evaluate(e)}}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}],"-":{type:i.NumberType,overloads:[[[i.NumberType,i.NumberType],function(e,t){var n=r(t,2),o=n[0],i=n[1];return o.evaluate(e)-i.evaluate(e)}],[[i.NumberType],function(e,t){return-r(t,1)[0].evaluate(e)}]]},"/":[i.NumberType,[i.NumberType,i.NumberType],function(e,t){var n=r(t,2),o=n[0],i=n[1];return o.evaluate(e)/i.evaluate(e)}],"%":[i.NumberType,[i.NumberType,i.NumberType],function(e,t){var n=r(t,2),o=n[0],i=n[1];return o.evaluate(e)%i.evaluate(e)}],ln2:[i.NumberType,[],function(){return Math.LN2}],pi:[i.NumberType,[],function(){return Math.PI}],e:[i.NumberType,[],function(){return Math.E}],"^":[i.NumberType,[i.NumberType,i.NumberType],function(e,t){var n=r(t,2),o=n[0],i=n[1];return Math.pow(o.evaluate(e),i.evaluate(e))}],sqrt:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0];return Math.sqrt(n.evaluate(e))}],log10:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0];return Math.log10(n.evaluate(e))}],ln:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0];return Math.log(n.evaluate(e))}],log2:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0];return Math.log2(n.evaluate(e))}],sin:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0];return Math.sin(n.evaluate(e))}],cos:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0];return Math.cos(n.evaluate(e))}],tan:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0];return Math.tan(n.evaluate(e))}],asin:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0];return Math.asin(n.evaluate(e))}],acos:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0];return Math.acos(n.evaluate(e))}],atan:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0];return Math.atan(n.evaluate(e))}],min:[i.NumberType,P(i.NumberType),function(e,t){return Math.min.apply(Math,j(t.map(function(t){return t.evaluate(e)})))}],max:[i.NumberType,P(i.NumberType),function(e,t){return Math.max.apply(Math,j(t.map(function(t){return t.evaluate(e)})))}],abs:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0];return Math.abs(n.evaluate(e))}],round:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0].evaluate(e);return n<0?-Math.round(-n):Math.round(n)}],floor:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0];return Math.floor(n.evaluate(e))}],ceil:[i.NumberType,[i.NumberType],function(e,t){var n=r(t,1)[0];return Math.ceil(n.evaluate(e))}],"filter-==":[i.BooleanType,[i.StringType,i.ValueType],function(e,t){var n=r(t,2),o=n[0],i=n[1];return e.properties()[o.value]===i.value}],"filter-id-==":[i.BooleanType,[i.ValueType],function(e,t){var n=r(t,1)[0];return e.id()===n.value}],"filter-type-==":[i.BooleanType,[i.StringType],function(e,t){var n=r(t,1)[0];return e.geometryType()===n.value}],"filter-<":[i.BooleanType,[i.StringType,i.ValueType],function(e,t){var n=r(t,2),i=n[0],a=n[1],s=e.properties()[i.value],u=a.value;return(void 0===s?"undefined":o(s))===(void 0===u?"undefined":o(u))&&s<u}],"filter-id-<":[i.BooleanType,[i.ValueType],function(e,t){var n=r(t,1)[0],i=e.id(),a=n.value;return(void 0===i?"undefined":o(i))===(void 0===a?"undefined":o(a))&&i<a}],"filter->":[i.BooleanType,[i.StringType,i.ValueType],function(e,t){var n=r(t,2),i=n[0],a=n[1],s=e.properties()[i.value],u=a.value;return(void 0===s?"undefined":o(s))===(void 0===u?"undefined":o(u))&&s>u}],"filter-id->":[i.BooleanType,[i.ValueType],function(e,t){var n=r(t,1)[0],i=e.id(),a=n.value;return(void 0===i?"undefined":o(i))===(void 0===a?"undefined":o(a))&&i>a}],"filter-<=":[i.BooleanType,[i.StringType,i.ValueType],function(e,t){var n=r(t,2),i=n[0],a=n[1],s=e.properties()[i.value],u=a.value;return(void 0===s?"undefined":o(s))===(void 0===u?"undefined":o(u))&&s<=u}],"filter-id-<=":[i.BooleanType,[i.ValueType],function(e,t){var n=r(t,1)[0],i=e.id(),a=n.value;return(void 0===i?"undefined":o(i))===(void 0===a?"undefined":o(a))&&i<=a}],"filter->=":[i.BooleanType,[i.StringType,i.ValueType],function(e,t){var n=r(t,2),i=n[0],a=n[1],s=e.properties()[i.value],u=a.value;return(void 0===s?"undefined":o(s))===(void 0===u?"undefined":o(u))&&s>=u}],"filter-id->=":[i.BooleanType,[i.ValueType],function(e,t){var n=r(t,1)[0],i=e.id(),a=n.value;return(void 0===i?"undefined":o(i))===(void 0===a?"undefined":o(a))&&i>=a}],"filter-has":[i.BooleanType,[i.ValueType],function(e,t){return r(t,1)[0].value in e.properties()}],"filter-has-id":[i.BooleanType,[],function(e){return null!==e.id()}],"filter-type-in":[i.BooleanType,[(0,i.array)(i.StringType)],function(e,t){return r(t,1)[0].value.indexOf(e.geometryType())>=0}],"filter-id-in":[i.BooleanType,[(0,i.array)(i.ValueType)],function(e,t){return r(t,1)[0].value.indexOf(e.id())>=0}],"filter-in-small":[i.BooleanType,[i.StringType,(0,i.array)(i.ValueType)],function(e,t){var n=r(t,2),o=n[0];return n[1].value.indexOf(e.properties()[o.value])>=0}],"filter-in-large":[i.BooleanType,[i.StringType,(0,i.array)(i.ValueType)],function(e,t){var n=r(t,2),o=n[0],i=n[1];return function(e,t,n,o){for(;n<=o;){var r=n+o>>1;if(t[r]===e)return!0;t[r]>e?o=r-1:n=r+1}return!1}(e.properties()[o.value],i.value,0,i.value.length-1)}],">":{type:i.BooleanType,overloads:[[[i.NumberType,i.NumberType],z],[[i.StringType,i.StringType],z],[[i.StringType,i.StringType,i.CollatorType],function(e,t){var n=r(t,3),o=n[0],i=n[1];return n[2].evaluate(e).compare(o.evaluate(e),i.evaluate(e))>0}]]},"<":{type:i.BooleanType,overloads:[[[i.NumberType,i.NumberType],C],[[i.StringType,i.StringType],C],[[i.StringType,i.StringType,i.CollatorType],function(e,t){var n=r(t,3),o=n[0],i=n[1];return n[2].evaluate(e).compare(o.evaluate(e),i.evaluate(e))<0}]]},">=":{type:i.BooleanType,overloads:[[[i.NumberType,i.NumberType],N],[[i.StringType,i.StringType],N],[[i.StringType,i.StringType,i.CollatorType],function(e,t){var n=r(t,3),o=n[0],i=n[1];return n[2].evaluate(e).compare(o.evaluate(e),i.evaluate(e))>=0}]]},"<=":{type:i.BooleanType,overloads:[[[i.NumberType,i.NumberType],E],[[i.StringType,i.StringType],E],[[i.StringType,i.StringType,i.CollatorType],function(e,t){var n=r(t,3),o=n[0],i=n[1];return n[2].evaluate(e).compare(o.evaluate(e),i.evaluate(e))<=0}]]},all:{type:i.BooleanType,overloads:[[[i.BooleanType,i.BooleanType],function(e,t){var n=r(t,2),o=n[0],i=n[1];return o.evaluate(e)&&i.evaluate(e)}],[P(i.BooleanType),function(e,t){var n=!0,o=!1,r=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){if(!i.value.evaluate(e))return!1}}catch(e){o=!0,r=e}finally{try{!n&&a.return&&a.return()}finally{if(o)throw r}}return!0}]]},any:{type:i.BooleanType,overloads:[[[i.BooleanType,i.BooleanType],function(e,t){var n=r(t,2),o=n[0],i=n[1];return o.evaluate(e)||i.evaluate(e)}],[P(i.BooleanType),function(e,t){var n=!0,o=!1,r=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){if(i.value.evaluate(e))return!0}}catch(e){o=!0,r=e}finally{try{!n&&a.return&&a.return()}finally{if(o)throw r}}return!1}]]},"!":[i.BooleanType,[i.BooleanType],function(e,t){return!r(t,1)[0].evaluate(e)}],"is-supported-script":[i.BooleanType,[i.StringType],function(e,t){var n=r(t,1)[0],o=e.globals&&e.globals.isSupportedScript;return!o||o(n.evaluate(e))}],upcase:[i.StringType,[i.StringType],function(e,t){return r(t,1)[0].evaluate(e).toUpperCase()}],downcase:[i.StringType,[i.StringType],function(e,t){return r(t,1)[0].evaluate(e).toLowerCase()}],concat:[i.StringType,P(i.StringType),function(e,t){return t.map(function(t){return t.evaluate(e)}).join("")}],"resolved-locale":[i.StringType,[i.CollatorType],function(e,t){return r(t,1)[0].evaluate(e).resolvedLocale()}]}),t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var i=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t,this.bindings={};var r=!0,i=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(r=(s=u.next()).done);r=!0){var l=s.value,c=o(l,2),d=c[0],f=c[1];this.bindings[d]=f}}catch(e){i=!0,a=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw a}}}return r(e,[{key:"concat",value:function(t){return new e(this,t)}},{key:"get",value:function(e){if(this.bindings[e])return this.bindings[e];if(this.parent)return this.parent.get(e);throw new Error(e+" not found in scope.")}},{key:"has",value:function(e){return!!this.bindings[e]||!!this.parent&&this.parent.has(e)}}]),e}();t.default=i},function(e,t,n){"use strict";"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";var o="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.exports=function(e){return e&&"object"===(void 0===e?"undefined":o(e))&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t,n){"use strict";var o,r,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function u(e){if(o===setTimeout)return setTimeout(e,0);if((o===a||!o)&&setTimeout)return o=setTimeout,setTimeout(e,0);try{return o(e,0)}catch(t){try{return o.call(null,e,0)}catch(t){return o.call(this,e,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:a}catch(e){o=a}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var l,c=[],d=!1,f=-1;function p(){d&&l&&(d=!1,l.length?c=l.concat(c):f=-1,c.length&&h())}function h(){if(!d){var e=u(p);d=!0;for(var t=c.length;t;){for(l=c,c=[];++f<t;)l&&l[f].run();f=-1,t=c.length}l=null,d=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new y(e,t)),1!==c.length||d||u(h)},y.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";(function(e,o){var r="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},i=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(u(arguments[n]));return t.join(" ")}n=1;for(var o=arguments,r=o.length,a=String(e).replace(i,function(e){if("%%"===e)return"%";if(n>=r)return e;switch(e){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch(e){return"[Circular]"}default:return e}}),s=o[n];n<r;s=o[++n])m(s)||!x(s)?a+=" "+s:a+=" "+u(s);return a},t.deprecate=function(n,r){if(b(e.process))return function(){return t.deprecate(n,r).apply(this,arguments)};if(!0===o.noDeprecation)return n;var i=!1;return function(){if(!i){if(o.throwDeprecation)throw new Error(r);o.traceDeprecation?console.trace(r):console.error(r),i=!0}return n.apply(this,arguments)}};var a,s={};function u(e,n){var o={seen:[],stylize:c};return arguments.length>=3&&(o.depth=arguments[2]),arguments.length>=4&&(o.colors=arguments[3]),y(n)?o.showHidden=n:n&&t._extend(o,n),b(o.showHidden)&&(o.showHidden=!1),b(o.depth)&&(o.depth=2),b(o.colors)&&(o.colors=!1),b(o.customInspect)&&(o.customInspect=!0),o.colors&&(o.stylize=l),d(o,e,o.depth)}function l(e,t){var n=u.styles[t];return n?"["+u.colors[n][0]+"m"+e+"["+u.colors[n][1]+"m":e}function c(e,t){return e}function d(e,n,o){if(e.customInspect&&n&&S(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var r=n.inspect(o,e);return g(r)||(r=d(e,r,o)),r}var i=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(g(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(v(t))return e.stylize(""+t,"number");if(y(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(i)return i;var a=Object.keys(n),s=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),T(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(n);if(0===a.length){if(S(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(w(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(k(n))return e.stylize(Date.prototype.toString.call(n),"date");if(T(n))return f(n)}var l,c="",x=!1,j=["{","}"];(h(n)&&(x=!0,j=["[","]"]),S(n))&&(c=" [Function"+(n.name?": "+n.name:"")+"]");return w(n)&&(c=" "+RegExp.prototype.toString.call(n)),k(n)&&(c=" "+Date.prototype.toUTCString.call(n)),T(n)&&(c=" "+f(n)),0!==a.length||x&&0!=n.length?o<0?w(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=x?function(e,t,n,o,r){for(var i=[],a=0,s=t.length;a<s;++a)A(t,String(a))?i.push(p(e,t,n,o,String(a),!0)):i.push("");return r.forEach(function(r){r.match(/^\d+$/)||i.push(p(e,t,n,o,r,!0))}),i}(e,n,o,s,a):a.map(function(t){return p(e,n,o,s,t,x)}),e.seen.pop(),function(e,t,n){if(e.reduce(function(e,t){return 0,t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,c,j)):j[0]+c+j[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,n,o,r,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,r)||{value:t[r]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),A(o,r)||(a="["+r+"]"),s||(e.seen.indexOf(u.value)<0?(s=m(n)?d(e,u.value,null):d(e,u.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),b(a)){if(i&&r.match(/^\d+$/))return s;(a=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function m(e){return null===e}function v(e){return"number"==typeof e}function g(e){return"string"==typeof e}function b(e){return void 0===e}function w(e){return x(e)&&"[object RegExp]"===j(e)}function x(e){return"object"===(void 0===e?"undefined":r(e))&&null!==e}function k(e){return x(e)&&"[object Date]"===j(e)}function T(e){return x(e)&&("[object Error]"===j(e)||e instanceof Error)}function S(e){return"function"==typeof e}function j(e){return Object.prototype.toString.call(e)}function _(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(b(a)&&(a=o.env.NODE_DEBUG||""),e=e.toUpperCase(),!s[e])if(new RegExp("\\b"+e+"\\b","i").test(a)){var n=o.pid;s[e]=function(){var o=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,o)}}else s[e]=function(){};return s[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=y,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=g,t.isSymbol=function(e){return"symbol"===(void 0===e?"undefined":r(e))},t.isUndefined=b,t.isRegExp=w,t.isObject=x,t.isDate=k,t.isError=T,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"===(void 0===e?"undefined":r(e))||void 0===e},t.isBuffer=n(56);var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",function(){var e=new Date,t=[_(e.getHours()),_(e.getMinutes()),_(e.getSeconds())].join(":");return[e.getDate(),O[e.getMonth()],t].join(" ")}(),t.format.apply(t,arguments))},t.inherits=n(55),t._extend=function(e,t){if(!t||!x(t))return e;for(var n=Object.keys(t),o=n.length;o--;)e[n[o]]=t[n[o]];return e}}).call(this,n(22),n(57))},function(e,t,n){"use strict";function o(e,t,n,o){this.cx=3*e,this.bx=3*(n-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*t,this.by=3*(o-t)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=o,this.p2x=n,this.p2y=o}e.exports=o,o.prototype.sampleCurveX=function(e){return((this.ax*e+this.bx)*e+this.cx)*e},o.prototype.sampleCurveY=function(e){return((this.ay*e+this.by)*e+this.cy)*e},o.prototype.sampleCurveDerivativeX=function(e){return(3*this.ax*e+2*this.bx)*e+this.cx},o.prototype.solveCurveX=function(e,t){var n,o,r,i,a;for(void 0===t&&(t=1e-6),r=e,a=0;a<8;a++){if(i=this.sampleCurveX(r)-e,Math.abs(i)<t)return r;var s=this.sampleCurveDerivativeX(r);if(Math.abs(s)<1e-6)break;r-=i/s}if(o=1,(r=e)<(n=0))return n;if(r>o)return o;for(;n<o;){if(i=this.sampleCurveX(r),Math.abs(i-e)<t)return r;e>i?n=r:o=r,r=.5*(o-n)+n}return r},o.prototype.solve=function(e,t){return this.sampleCurveY(this.solveCurveX(e,t))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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};t.default=function(e){return e instanceof Number?"number":e instanceof String?"string":e instanceof Boolean?"boolean":Array.isArray(e)?"array":null===e?"null":void 0===e?"undefined":o(e)}},function(e,t,n){"use strict";var o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function r(e){return(e=Math.round(e))<0?0:e>255?255:e}function i(e){return e<0?0:e>1?1:e}function a(e){return"%"===e[e.length-1]?r(parseFloat(e)/100*255):r(parseInt(e))}function s(e){return"%"===e[e.length-1]?i(parseFloat(e)/100):i(parseFloat(e))}function u(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}try{t.parseCSSColor=function(e){var t,n=e.replace(/ /g,"").toLowerCase();if(n in o)return o[n].slice();if("#"===n[0])return 4===n.length?(t=parseInt(n.substr(1),16))>=0&&t<=4095?[(3840&t)>>4|(3840&t)>>8,240&t|(240&t)>>4,15&t|(15&t)<<4,1]:null:7===n.length&&(t=parseInt(n.substr(1),16))>=0&&t<=16777215?[(16711680&t)>>16,(65280&t)>>8,255&t,1]:null;var i=n.indexOf("("),l=n.indexOf(")");if(-1!==i&&l+1===n.length){var c=n.substr(0,i),d=n.substr(i+1,l-(i+1)).split(","),f=1;switch(c){case"rgba":if(4!==d.length)return null;f=s(d.pop());case"rgb":return 3!==d.length?null:[a(d[0]),a(d[1]),a(d[2]),f];case"hsla":if(4!==d.length)return null;f=s(d.pop());case"hsl":if(3!==d.length)return null;var p=(parseFloat(d[0])%360+360)%360/360,h=s(d[1]),y=s(d[2]),m=y<=.5?y*(h+1):y+h-y*h,v=2*y-m;return[r(255*u(v,m,p+1/3)),r(255*u(v,m,p)),r(255*u(v,m,p-1/3)),f];default:return null}}return null}}catch(e){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hcl=t.lab=void 0;var o=function(e){return e&&e.__esModule?e:{default:e}}(n(4)),r=n(10);var i=.95047,a=1,s=1.08883,u=4/29,l=6/29,c=3*l*l,d=l*l*l,f=Math.PI/180,p=180/Math.PI;function h(e){return e>d?Math.pow(e,1/3):e/c+u}function y(e){return e>l?e*e*e:c*(e-u)}function m(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function v(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function g(e){var t=v(e.r),n=v(e.g),o=v(e.b),r=h((.4124564*t+.3575761*n+.1804375*o)/i),u=h((.2126729*t+.7151522*n+.072175*o)/a);return{l:116*u-16,a:500*(r-u),b:200*(u-h((.0193339*t+.119192*n+.9503041*o)/s)),alpha:e.a}}function b(e){var t=(e.l+16)/116,n=isNaN(e.a)?t:t+e.a/500,r=isNaN(e.b)?t:t-e.b/200;return t=a*y(t),n=i*y(n),r=s*y(r),new o.default(m(3.2404542*n-1.5371385*t-.4985314*r),m(-.969266*n+1.8760108*t+.041556*r),m(.0556434*n-.2040259*t+1.0572252*r),e.alpha)}t.lab={forward:g,reverse:b,interpolate:function(e,t,n){return{l:(0,r.number)(e.l,t.l,n),a:(0,r.number)(e.a,t.a,n),b:(0,r.number)(e.b,t.b,n),alpha:(0,r.number)(e.alpha,t.alpha,n)}}},t.hcl={forward:function(e){var t=g(e),n=t.l,o=t.a,r=t.b,i=Math.atan2(r,o)*p;return{h:i<0?i+360:i,c:Math.sqrt(o*o+r*r),l:n,alpha:e.a}},reverse:function(e){var t=e.h*f,n=e.c;return b({l:e.l,a:Math.cos(t)*n,b:Math.sin(t)*n,alpha:e.alpha})},interpolate:function(e,t,n){return{h:function(e,t,n){var o=t-e;return e+n*(o>180||o<-180?o-360*Math.round(o/360):o)}(e.h,t.h,n),c:(0,r.number)(e.c,t.c,n),l:(0,r.number)(e.l,t.l,n),alpha:(0,r.number)(e.alpha,t.alpha,n)}}}},function(e){e.exports={$version:8,$root:{version:{required:!0,type:"enum",values:[8],doc:"Style specification version number. Must be 8.",example:8},name:{type:"string",doc:"A human-readable name for the style.",example:"Bright"},metadata:{type:"*",doc:"Arbitrary properties useful to track with the stylesheet, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'."},center:{type:"array",value:"number",doc:"Default map center in longitude and latitude. The style center will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:[-73.9749,40.7736]},zoom:{type:"number",doc:"Default zoom level. The style zoom will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:12.5},bearing:{type:"number",default:0,period:360,units:"degrees",doc:'Default bearing, in degrees. The bearing is the compass direction that is "up"; for example, a bearing of 90° orients the map so that east is up. This value will be used only if the map has not been positioned by other means (e.g. map options or user interaction).',example:29},pitch:{type:"number",default:0,units:"degrees",doc:"Default pitch, in degrees. Zero is perpendicular to the surface, for a look straight down at the map, while a greater value like 60 looks ahead towards the horizon. The style pitch will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:50},light:{type:"light",doc:"The global light source.",example:{anchor:"viewport",color:"white",intensity:.4}},sources:{required:!0,type:"sources",doc:"Data source specifications.",example:{"mapbox-streets":{type:"vector",url:"mapbox://mapbox.mapbox-streets-v6"}}},sprite:{type:"string",doc:"A base URL for retrieving the sprite image and metadata. The extensions `.png`, `.json` and scale factor `@2x.png` will be automatically appended. This property is required if any layer uses the `background-pattern`, `fill-pattern`, `line-pattern`, `fill-extrusion-pattern`, or `icon-image` properties.",example:"mapbox://sprites/mapbox/bright-v8"},glyphs:{type:"string",doc:"A URL template for loading signed-distance-field glyph sets in PBF format. The URL must include `{fontstack}` and `{range}` tokens. This property is required if any layer uses the `text-field` layout property.",example:"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"},transition:{type:"transition",doc:"A global transition definition to use as a default across properties.",example:{duration:300,delay:0}},layers:{required:!0,type:"array",value:"layer",doc:"Layers will be drawn in the order of this array.",example:[{id:"water",source:"mapbox-streets","source-layer":"water",type:"fill",paint:{"fill-color":"#00ffff"}}]}},sources:{"*":{type:"source",doc:"Specification of a data source. For vector and raster sources, either TileJSON or a URL to a TileJSON must be provided. For image and video sources, a URL must be provided. For GeoJSON sources, a URL or inline GeoJSON must be provided."}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{doc:"A vector tile source."}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<mapid>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.0511,180,85.0511],doc:"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},"*":{type:"*",doc:"Other keys to configure the data source."}},source_raster:{type:{required:!0,type:"enum",values:{raster:{doc:"A raster tile source."}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<mapid>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.0511,180,85.0511],doc:"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},tileSize:{type:"number",default:512,units:"pixels",doc:"The minimum visual size to display tiles for this layer. Only configurable for raster layers."},scheme:{type:"enum",values:{xyz:{doc:"Slippy map tilenames scheme."},tms:{doc:"OSGeo spec scheme."}},default:"xyz",doc:"Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},"*":{type:"*",doc:"Other keys to configure the data source."}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{doc:"A RGB-encoded raster DEM source"}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<mapid>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.0511,180,85.0511],doc:"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},tileSize:{type:"number",default:512,units:"pixels",doc:"The minimum visual size to display tiles for this layer. Only configurable for raster layers."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},encoding:{type:"enum",values:{terrarium:{doc:"Terrarium format PNG tiles. See https://aws.amazon.com/es/public-datasets/terrain/ for more info."},mapbox:{doc:"Mapbox Terrain RGB tiles. See https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb for more info."}},default:"mapbox",doc:"The encoding used by this source. Mapbox Terrain RGB is used by default"},"*":{type:"*",doc:"Other keys to configure the data source."}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{doc:"A GeoJSON data source."}},doc:"The data type of the GeoJSON source."},data:{type:"*",doc:"A URL to a GeoJSON file, or inline GeoJSON."},maxzoom:{type:"number",default:18,doc:"Maximum zoom level at which to create vector tiles (higher means greater detail at high zoom levels)."},buffer:{type:"number",default:128,maximum:512,minimum:0,doc:"Size of the tile buffer on each side. A value of 0 produces no buffer. A value of 512 produces a buffer as wide as the tile itself. Larger values produce fewer rendering artifacts near tile edges and slower performance."},tolerance:{type:"number",default:.375,doc:"Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance)."},cluster:{type:"boolean",default:!1,doc:"If the data is a collection of point features, setting this to true clusters the points by radius into groups."},clusterRadius:{type:"number",default:50,minimum:0,doc:"Radius of each cluster if clustering is enabled. A value of 512 indicates a radius equal to the width of a tile."},clusterMaxZoom:{type:"number",doc:"Max zoom on which to cluster points if clustering is enabled. Defaults to one zoom less than maxzoom (so that last zoom features are not clustered)."},lineMetrics:{type:"boolean",default:!1,doc:"Whether to calculate line distance metrics. This is required for line layers that specify `line-gradient` values."}},source_video:{type:{required:!0,type:"enum",values:{video:{doc:"A video data source."}},doc:"The data type of the video source."},urls:{required:!0,type:"array",value:"string",doc:"URLs to video content in order of preferred format."},coordinates:{required:!0,doc:"Corners of video specified in longitude, latitude pairs.",type:"array",length:4,value:{type:"array",length:2,value:"number",doc:"A single longitude, latitude pair."}}},source_image:{type:{required:!0,type:"enum",values:{image:{doc:"An image data source."}},doc:"The data type of the image source."},url:{required:!0,type:"string",doc:"URL that points to an image."},coordinates:{required:!0,doc:"Corners of image specified in longitude, latitude pairs.",type:"array",length:4,value:{type:"array",length:2,value:"number",doc:"A single longitude, latitude pair."}}},layer:{id:{type:"string",doc:"Unique layer name.",required:!0},type:{type:"enum",values:{fill:{doc:"A filled polygon with an optional stroked border.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},line:{doc:"A stroked line.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},symbol:{doc:"An icon or a text label.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},circle:{doc:"A filled circle.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},heatmap:{doc:"A heatmap.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"fill-extrusion":{doc:"An extruded (3D) polygon.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},raster:{doc:"Raster map textures such as satellite imagery.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},hillshade:{doc:"Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},background:{doc:"The background color or pattern of the map.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}}},doc:"Rendering type of this layer.",required:!0},metadata:{type:"*",doc:"Arbitrary properties useful to track with the layer, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'."},source:{type:"string",doc:"Name of a source description to be used for this layer. Required for all layer types except `background`."},"source-layer":{type:"string",doc:"Layer to use from a vector tile source. Required for vector tile sources; prohibited for all other source types, including GeoJSON sources."},minzoom:{type:"number",minimum:0,maximum:24,doc:"The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden."},maxzoom:{type:"number",minimum:0,maximum:24,doc:"The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden."},filter:{type:"filter",doc:"A expression specifying conditions on source features. Only features that match the filter are displayed."},layout:{type:"layout",doc:"Layout properties for the layer."},paint:{type:"paint",doc:"Default paint properties for this layer."}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}}},layout_fill:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}}},layout_circle:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}}},layout_heatmap:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}}},layout_line:{"line-cap":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{butt:{doc:"A cap with a squared-off end which is drawn to the exact endpoint of the line."},round:{doc:"A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line."},square:{doc:"A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width."}},default:"butt",doc:"The display of line endings.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"line-join":{type:"enum",function:"piecewise-constant","zoom-function":!0,"property-function":!0,values:{bevel:{doc:"A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width."},round:{doc:"A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line."},miter:{doc:"A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet."}},default:"miter",doc:"The display of lines when joining.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}}},"line-miter-limit":{type:"number",default:2,function:"interpolated","zoom-function":!0,doc:"Used to automatically convert miter joins to bevel joins for sharp angles.",requires:[{"line-join":"miter"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"line-round-limit":{type:"number",default:1.05,function:"interpolated","zoom-function":!0,doc:"Used to automatically convert round joins to miter joins for shallow angles.",requires:[{"line-join":"round"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}}},layout_symbol:{"symbol-placement":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{point:{doc:"The label is placed at the point where the geometry is located."},line:{doc:"The label is placed along the line of the geometry. Can only be used on `LineString` and `Polygon` geometries."}},default:"point",doc:"Label placement relative to its geometry.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"symbol-spacing":{type:"number",default:250,minimum:1,function:"interpolated","zoom-function":!0,units:"pixels",doc:"Distance between two symbol anchors.",requires:[{"symbol-placement":"line"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"symbol-avoid-edges":{type:"boolean",function:"piecewise-constant","zoom-function":!0,default:!1,doc:"If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"icon-allow-overlap":{type:"boolean",function:"piecewise-constant","zoom-function":!0,default:!1,doc:"If true, the icon will be visible even if it collides with other previously drawn symbols.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"icon-ignore-placement":{type:"boolean",function:"piecewise-constant","zoom-function":!0,default:!1,doc:"If true, other symbols can be visible even if they collide with the icon.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"icon-optional":{type:"boolean",function:"piecewise-constant","zoom-function":!0,default:!1,doc:"If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.",requires:["icon-image","text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"icon-rotation-alignment":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{map:{doc:"When `symbol-placement` is set to `point`, aligns icons east-west. When `symbol-placement` is set to `line`, aligns icon x-axes with the line."},viewport:{doc:"Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`."},auto:{doc:"When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line`, this is equivalent to `map`."}},default:"auto",doc:"In combination with `symbol-placement`, determines the rotation behavior of icons.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"},"data-driven styling":{}}},"icon-size":{type:"number",default:1,minimum:0,function:"interpolated","zoom-function":!0,"property-function":!0,units:"factor of the original icon size",doc:"Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by `icon-size`. 1 is the original size; 3 triples the size of the image.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},"icon-text-fit":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{none:{doc:"The icon is displayed at its intrinsic aspect ratio."},width:{doc:"The icon is scaled in the x-dimension to fit the width of the text."},height:{doc:"The icon is scaled in the y-dimension to fit the height of the text."},both:{doc:"The icon is scaled in both x- and y-dimensions."}},default:"none",doc:"Scales the icon to fit around the associated text.",requires:["icon-image","text-field"],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"},"data-driven styling":{}}},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",function:"interpolated","zoom-function":!0,doc:"Size of the additional area added to dimensions determined by `icon-text-fit`, in clockwise order: top, right, bottom, left.",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"},"data-driven styling":{}}},"icon-image":{type:"string",function:"piecewise-constant","zoom-function":!0,"property-function":!0,doc:"Name of image in sprite to use for drawing an image background.",tokens:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},"icon-rotate":{type:"number",default:0,period:360,function:"interpolated","zoom-function":!0,"property-function":!0,units:"degrees",doc:"Rotates the icon clockwise.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.21.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"icon-padding":{type:"number",default:2,minimum:0,function:"interpolated","zoom-function":!0,units:"pixels",doc:"Size of the additional area around the icon bounding box used for detecting symbol collisions.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"icon-keep-upright":{type:"boolean",function:"piecewise-constant","zoom-function":!0,default:!1,doc:"If true, the icon may be flipped to prevent it from being rendered upside-down.",requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":"line"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],function:"interpolated","zoom-function":!0,"property-function":!0,doc:"Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of `icon-size` to obtain the final offset in pixels. When combined with `icon-rotate` the offset will be as if the rotated direction was up.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"icon-anchor":{type:"enum",function:"piecewise-constant","zoom-function":!0,"property-function":!0,values:{center:{doc:"The center of the icon is placed closest to the anchor."},left:{doc:"The left side of the icon is placed closest to the anchor."},right:{doc:"The right side of the icon is placed closest to the anchor."},top:{doc:"The top of the icon is placed closest to the anchor."},bottom:{doc:"The bottom of the icon is placed closest to the anchor."},"top-left":{doc:"The top left corner of the icon is placed closest to the anchor."},"top-right":{doc:"The top right corner of the icon is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the icon is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the icon is placed closest to the anchor."}},default:"center",doc:"Part of the icon placed closest to the anchor.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}}},"icon-pitch-alignment":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{map:{doc:"The icon is aligned to the plane of the map."},viewport:{doc:"The icon is aligned to the plane of the viewport."},auto:{doc:"Automatically matches the value of `icon-rotation-alignment`."}},default:"auto",doc:"Orientation of icon when map is pitched.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"},"data-driven styling":{}}},"text-pitch-alignment":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{map:{doc:"The text is aligned to the plane of the map."},viewport:{doc:"The text is aligned to the plane of the viewport."},auto:{doc:"Automatically matches the value of `text-rotation-alignment`."}},default:"auto",doc:"Orientation of text when map is pitched.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"},"data-driven styling":{}}},"text-rotation-alignment":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{map:{doc:"When `symbol-placement` is set to `point`, aligns text east-west. When `symbol-placement` is set to `line`, aligns text x-axes with the line."},viewport:{doc:"Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`."},auto:{doc:"When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line`, this is equivalent to `map`."}},default:"auto",doc:"In combination with `symbol-placement`, determines the rotation behavior of the individual glyphs forming the text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"},"data-driven styling":{}}},"text-field":{type:"string",function:"piecewise-constant","zoom-function":!0,"property-function":!0,default:"",tokens:!0,doc:"Value to use for a text label.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"text-font":{type:"array",value:"string",function:"piecewise-constant","zoom-function":!0,"property-function":!0,default:["Open Sans Regular","Arial Unicode MS Regular"],doc:"Font stack to use for displaying text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"text-size":{type:"number",default:16,minimum:0,units:"pixels",function:"interpolated","zoom-function":!0,"property-function":!0,doc:"Font size.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",function:"interpolated","zoom-function":!0,"property-function":!0,doc:"The maximum line width for text wrapping.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}}},"text-line-height":{type:"number",default:1.2,units:"ems",function:"interpolated","zoom-function":!0,doc:"Text leading value for multi-line text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"text-letter-spacing":{type:"number",default:0,units:"ems",function:"interpolated","zoom-function":!0,"property-function":!0,doc:"Text tracking amount.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}}},"text-justify":{type:"enum",function:"piecewise-constant","zoom-function":!0,"property-function":!0,values:{left:{doc:"The text is aligned to the left."},center:{doc:"The text is centered."},right:{doc:"The text is aligned to the right."}},default:"center",doc:"Text justification options.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}}},"text-anchor":{type:"enum",function:"piecewise-constant","zoom-function":!0,"property-function":!0,values:{center:{doc:"The center of the text is placed closest to the anchor."},left:{doc:"The left side of the text is placed closest to the anchor."},right:{doc:"The right side of the text is placed closest to the anchor."},top:{doc:"The top of the text is placed closest to the anchor."},bottom:{doc:"The bottom of the text is placed closest to the anchor."},"top-left":{doc:"The top left corner of the text is placed closest to the anchor."},"top-right":{doc:"The top right corner of the text is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the text is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the text is placed closest to the anchor."}},default:"center",doc:"Part of the text placed closest to the anchor.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}}},"text-max-angle":{type:"number",default:45,units:"degrees",function:"interpolated","zoom-function":!0,doc:"Maximum angle change between adjacent characters.",requires:["text-field",{"symbol-placement":"line"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"text-rotate":{type:"number",default:0,period:360,units:"degrees",function:"interpolated","zoom-function":!0,"property-function":!0,doc:"Rotates the text clockwise.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",function:"interpolated","zoom-function":!0,doc:"Size of the additional area around the text bounding box used for detecting symbol collisions.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"text-keep-upright":{type:"boolean",function:"piecewise-constant","zoom-function":!0,default:!0,doc:"If true, the text may be flipped vertically to prevent it from being rendered upside-down.",requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":"line"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"text-transform":{type:"enum",function:"piecewise-constant","zoom-function":!0,"property-function":!0,values:{none:{doc:"The text is not altered."},uppercase:{doc:"Forces all letters to be displayed in uppercase."},lowercase:{doc:"Forces all letters to be displayed in lowercase."}},default:"none",doc:"Specifies how to capitalize text, similar to the CSS `text-transform` property.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"text-offset":{type:"array",doc:"Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up.",value:"number",units:"ems",function:"interpolated","zoom-function":!0,"property-function":!0,length:2,default:[0,0],requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},"text-allow-overlap":{type:"boolean",function:"piecewise-constant","zoom-function":!0,default:!1,doc:"If true, the text will be visible even if it collides with other previously drawn symbols.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"text-ignore-placement":{type:"boolean",function:"piecewise-constant","zoom-function":!0,default:!1,doc:"If true, other symbols can be visible even if they collide with the text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"text-optional":{type:"boolean",function:"piecewise-constant","zoom-function":!0,default:!1,doc:"If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.",requires:["text-field","icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}}},layout_raster:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}}},layout_hillshade:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}}}},filter:{type:"array",value:"*",doc:"A filter selects specific features from a layer."},filter_operator:{type:"enum",values:{"==":{doc:'`["==", key, value]` equality: `feature[key] = value`'},"!=":{doc:'`["!=", key, value]` inequality: `feature[key] ≠ value`'},">":{doc:'`[">", key, value]` greater than: `feature[key] > value`'},">=":{doc:'`[">=", key, value]` greater than or equal: `feature[key] ≥ value`'},"<":{doc:'`["<", key, value]` less than: `feature[key] < value`'},"<=":{doc:'`["<=", key, value]` less than or equal: `feature[key] ≤ value`'},in:{doc:'`["in", key, v0, ..., vn]` set inclusion: `feature[key] ∈ {v0, ..., vn}`'},"!in":{doc:'`["!in", key, v0, ..., vn]` set exclusion: `feature[key] ∉ {v0, ..., vn}`'},all:{doc:'`["all", f0, ..., fn]` logical `AND`: `f0 ∧ ... ∧ fn`'},any:{doc:'`["any", f0, ..., fn]` logical `OR`: `f0 ∨ ... ∨ fn`'},none:{doc:'`["none", f0, ..., fn]` logical `NOR`: `¬f0 ∧ ... ∧ ¬fn`'},has:{doc:'`["has", key]` `feature[key]` exists'},"!has":{doc:'`["!has", key]` `feature[key]` does not exist'}},doc:"The filter operator."},geometry_type:{type:"enum",values:{Point:{doc:"Filter to point geometries."},LineString:{doc:"Filter to line geometries."},Polygon:{doc:"Filter to polygon geometries."}},doc:"The geometry type for the filter to select."},function:{expression:{type:"expression",doc:"An expression."},stops:{type:"array",doc:"An array of stops.",value:"function_stop"},base:{type:"number",default:1,minimum:0,doc:"The exponential base of the interpolation curve. It controls the rate at which the result increases. Higher values make the result increase more towards the high end of the range. With `1` the stops are interpolated linearly."},property:{type:"string",doc:"The name of a feature property to use as the function input.",default:"$zoom"},type:{type:"enum",values:{identity:{doc:"Return the input value as the output value."},exponential:{doc:"Generate an output by interpolating between stops just less than and just greater than the function input."},interval:{doc:"Return the output value of the stop just less than the function input."},categorical:{doc:"Return the output value of the stop equal to the function input."}},doc:"The interpolation strategy to use in function evaluation.",default:"exponential"},colorSpace:{type:"enum",values:{rgb:{doc:"Use the RGB color space to interpolate color values"},lab:{doc:"Use the LAB color space to interpolate color values."},hcl:{doc:"Use the HCL color space to interpolate color values, interpolating the Hue, Chroma, and Luminance channels individually."}},doc:"The color space in which colors interpolated. Interpolating colors in perceptual color spaces like LAB and HCL tend to produce color ramps that look more consistent and produce colors that can be differentiated more easily than those interpolated in RGB space.",default:"rgb"},default:{type:"*",required:!1,doc:"A value to serve as a fallback function result when a value isn't otherwise available. It is used in the following circumstances:\n* In categorical functions, when the feature value does not match any of the stop domain values.\n* In property and zoom-and-property functions, when a feature does not contain a value for the specified property.\n* In identity functions, when the feature value is not valid for the style property (for example, if the function is being used for a `circle-color` property but the feature property value is not a string or not a valid color).\n* In interval or exponential property and zoom-and-property functions, when the feature value is not numeric.\nIf no default is provided, the style property's default is used in these circumstances."}},function_stop:{type:"array",minimum:0,maximum:22,value:["number","color"],length:2,doc:"Zoom level and value pair."},expression:{type:"array",value:"*",minimum:1,doc:"An expression defines a function that can be used for data-driven style properties or feature filters."},expression_name:{doc:"",type:"enum",values:{let:{doc:'Binds expressions to named variables, which can then be referenced in the result expression using ["var", "variable_name"].',group:"Variable binding","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},var:{doc:'References variable bound using "let".',group:"Variable binding","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},literal:{doc:"Provides a literal array or object value.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},array:{doc:"Asserts that the input is an array (optionally with a specific item type and length). If, when the input expression is evaluated, it is not of the asserted type, then this assertion will cause the whole expression to be aborted.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},at:{doc:"Retrieves an item from an array.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},case:{doc:"Selects the first output whose corresponding test condition evaluates to true.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},match:{doc:'Selects the output whose label value matches the input value, or the fallback value if no match is found. The `input` can be any string or number expression (e.g. `["get", "building_type"]`). Each label can either be a single literal value or an array of values.',group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},coalesce:{doc:"Evaluates each expression in turn until the first non-null value is obtained, and returns that value.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},step:{doc:'Produces discrete, stepped results by evaluating a piecewise-constant function defined by pairs of input and output values ("stops"). The `input` may be any numeric expression (e.g., `["get", "population"]`). Stop inputs must be numeric literals in strictly ascending order. Returns the output value of the stop just less than the input, or the first input if the input is less than the first stop.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},interpolate:{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). The `input` may be any numeric expression (e.g., `["get", "population"]`). Stop inputs must be numeric literals in strictly ascending order. The output type must be `number`, `array<number>`, or `color`.\n\nInterpolation types:\n- `["linear"]`: interpolates linearly between the pair of stops just less than and just greater than the input.\n- `["exponential", base]`: interpolates exponentially between the stops just less than and just greater than the input. `base` controls the rate at which the output increases: higher values make the output increase more towards the high end of the range. With values close to 1 the output increases linearly.\n- `["cubic-bezier", x1, y1, x2, y2]`: interpolates using the cubic bezier curve defined by the given control points.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},ln2:{doc:"Returns mathematical constant ln(2).",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},pi:{doc:"Returns the mathematical constant pi.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},e:{doc:"Returns the mathematical constant e.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},typeof:{doc:"Returns a string describing the type of the given value.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},string:{doc:"Asserts that the input value is a string. If multiple values are provided, each one is evaluated in order until a string is obtained. If none of the inputs are strings, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},number:{doc:"Asserts that the input value is a number. If multiple values are provided, each one is evaluated in order until a number is obtained. If none of the inputs are numbers, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},boolean:{doc:"Asserts that the input value is a boolean. If multiple values are provided, each one is evaluated in order until a boolean is obtained. If none of the inputs are booleans, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},object:{doc:"Asserts that the input value is an object. If multiple values are provided, each one is evaluated in order until an object is obtained. If none of the inputs are objects, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},collator:{doc:"Returns a `collator` for use in locale-dependent comparison operations. The `case-sensitive` and `diacritic-sensitive` options default to `false`. The `locale` argument specifies the IETF language tag of the locale to use. If none is provided, the default locale is used. If the requested locale is not available, the `collator` will use a system-defined fallback locale. Use `resolved-locale` to test the results of locale fallback behavior.",group:"Types","sdk-support":{"basic functionality":{js:"0.45.0"}}},"to-string":{doc:'Converts the input value to a string. If the input is `null`, the result is `""`. If the input is a boolean, the result is `"true"` or `"false"`. If the input is a number, it is converted to a string as specified by the ["NumberToString" algorithm](https://tc39.github.io/ecma262/#sec-tostring-applied-to-the-number-type) of the ECMAScript Language Specification. If the input is a color, it is converted to a string of the form `"rgba(r,g,b,a)"`, where `r`, `g`, and `b` are numerals ranging from 0 to 255, and `a` ranges from 0 to 1. Otherwise, the input is converted to a string in the format specified by the [`JSON.stringify`](https://tc39.github.io/ecma262/#sec-json.stringify) function of the ECMAScript Language Specification.',group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-number":{doc:'Converts the input value to a number, if possible. If the input is `null` or `false`, the result is 0. If the input is `true`, the result is 1. If the input is a string, it is converted to a number as specified by the ["ToNumber Applied to the String Type" algorithm](https://tc39.github.io/ecma262/#sec-tonumber-applied-to-the-string-type) of the ECMAScript Language Specification. If multiple values are provided, each one is evaluated in order until the first successful conversion is obtained. If none of the inputs can be converted, the expression is an error.',group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-boolean":{doc:"Converts the input value to a boolean. The result is `false` when then input is an empty string, 0, `false`, `null`, or `NaN`; otherwise it is `true`.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-rgba":{doc:"Returns a four-element array containing the input color's red, green, blue, and alpha components, in that order.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-color":{doc:"Converts the input value to a color. If multiple values are provided, each one is evaluated in order until the first successful conversion is obtained. If none of the inputs can be converted, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},rgb:{doc:"Creates a color value from red, green, and blue components, which must range between 0 and 255, and an alpha component of 1. If any component is out of range, the expression is an error.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},rgba:{doc:"Creates a color value from red, green, blue components, which must range between 0 and 255, and an alpha component which must range between 0 and 1. If any component is out of range, the expression is an error.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},get:{doc:"Retrieves a property value from the current feature's properties, or from another object if a second argument is provided. Returns null if the requested property is missing.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},has:{doc:"Tests for the presence of an property value in the current feature's properties, or from another object if a second argument is provided.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},length:{doc:"Gets the length of an array or string.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},properties:{doc:'Gets the feature properties object. Note that in some cases, it may be more efficient to use ["get", "property_name"] directly.',group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"geometry-type":{doc:"Gets the feature's geometry type: Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},id:{doc:"Gets the feature's id, if it has one.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},zoom:{doc:'Gets the current zoom level. Note that in style layout and paint properties, ["zoom"] may only appear as the input to a top-level "step" or "interpolate" expression.',group:"Zoom","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"heatmap-density":{doc:"Gets the kernel density estimation of a pixel in a heatmap layer, which is a relative measure of how many data points are crowded around a particular pixel. Can only be used in the `heatmap-color` property.",group:"Heatmap","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"line-progress":{doc:"Gets the progress along a gradient line. Can only be used in the `line-gradient` property.",group:"Heatmap"},"+":{doc:"Returns the sum of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"*":{doc:"Returns the product of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"-":{doc:"For two inputs, returns the result of subtracting the second input from the first. For a single input, returns the result of subtracting it from 0.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"/":{doc:"Returns the result of floating point division of the first input by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"%":{doc:"Returns the remainder after integer division of the first input by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"^":{doc:"Returns the result of raising the first input to the power specified by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},sqrt:{doc:"Returns the square root of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},log10:{doc:"Returns the base-ten logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},ln:{doc:"Returns the natural logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},log2:{doc:"Returns the base-two logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},sin:{doc:"Returns the sine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},cos:{doc:"Returns the cosine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},tan:{doc:"Returns the tangent of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},asin:{doc:"Returns the arcsine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},acos:{doc:"Returns the arccosine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},atan:{doc:"Returns the arctangent of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},min:{doc:"Returns the minimum value of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},max:{doc:"Returns the maximum value of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},round:{doc:'Rounds the input to the nearest integer. Halfway values are rounded away from zero. For example, `["round", -1.5]` evaluates to -2.',group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},abs:{doc:"Returns the absolute value of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},ceil:{doc:"Returns the smallest integer that is greater than or equal to the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},floor:{doc:"Returns the largest integer that is less than or equal to the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"==":{doc:"Returns `true` if the input values are equal, `false` otherwise. Equality is strictly typed: values of different types are always considered not equal. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"!=":{doc:"Returns `true` if the input values are not equal, `false` otherwise. Equality is strictly typed: values of different types are always considered not equal. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},">":{doc:"Returns `true` if the first input is strictly greater than the second, `false` otherwise. The inputs must be numbers or strings, and both of the same type. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"<":{doc:"Returns `true` if the first input is strictly less than the second, `false` otherwise. The inputs must be numbers or strings, and both of the same type. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},">=":{doc:"Returns `true` if the first input is greater than or equal to the second, `false` otherwise. The inputs must be numbers or strings, and both of the same type. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"<=":{doc:"Returns `true` if the first input is less than or equal to the second, `false` otherwise. The inputs must be numbers or strings, and both of the same type. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},all:{doc:"Returns `true` if all the inputs are `true`, `false` otherwise. The inputs are evaluated in order, and evaluation is short-circuiting: once an input expression evaluates to `false`, the result is `false` and no further input expressions are evaluated.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},any:{doc:"Returns `true` if any of the inputs are `true`, `false` otherwise. The inputs are evaluated in order, and evaluation is short-circuiting: once an input expression evaluates to `true`, the result is `true` and no further input expressions are evaluated.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"!":{doc:"Logical negation. Returns `true` if the input is `false`, and `false` if the input is `true`.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"is-supported-script":{doc:"Returns `true` if the input string is expected to render legibly. Returns `false` if the input string contains sections that cannot be rendered without potential loss of meaning (e.g. Indic scripts that require complex text shaping, or right-to-left scripts if the the `mapbox-gl-rtl-text` plugin is not in use in Mapbox GL JS).",group:"String"},upcase:{doc:"Returns the input string converted to uppercase. Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},downcase:{doc:"Returns the input string converted to lowercase. Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},concat:{doc:"Returns a string consisting of the concatenation of the inputs.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"resolved-locale":{doc:"Returns the IETF language tag of the locale being used by the provided `collator`. This can be used to determine the default system locale, or to determine if a requested locale was successfully loaded.",group:"String","sdk-support":{"basic functionality":{js:"0.45.0"}}}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{doc:"The position of the light source is aligned to the rotation of the map."},viewport:{doc:"The position of the light source is aligned to the rotation of the viewport."}},transition:!1,"zoom-function":!0,"property-function":!1,function:"piecewise-constant",doc:"Whether extruded geometries are lit relative to the map or viewport.",example:"map","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},position:{type:"array",default:[1.15,210,30],length:3,value:"number",transition:!0,function:"interpolated","zoom-function":!0,"property-function":!1,doc:"Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0° (0° when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0° when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0°, directly above, to 180°, directly below).",example:[1.5,90,80],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},color:{type:"color",default:"#ffffff",function:"interpolated","zoom-function":!0,"property-function":!1,transition:!0,doc:"Color tint for lighting extruded geometries.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},intensity:{type:"number",default:.5,minimum:0,maximum:1,function:"interpolated","zoom-function":!0,"property-function":!1,transition:!0,doc:"Intensity of lighting (on a scale from 0 to 1). Higher numbers will present as more extreme contrast.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",function:"piecewise-constant","zoom-function":!0,default:!0,doc:"Whether or not the fill should be antialiased.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"fill-opacity":{type:"number",function:"interpolated","zoom-function":!0,"property-function":!0,default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill layer. In contrast to the `fill-color`, this value will also affect the 1px stroke around the fill, if the stroke is used.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.21.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"fill-color":{type:"color",default:"#000000",doc:"The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.",function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,requires:[{"!":"fill-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.19.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"fill-outline-color":{type:"color",doc:"The outline color of the fill. Matches the value of `fill-color` if unspecified.",function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.19.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],function:"interpolated","zoom-function":!0,transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"fill-translate-anchor":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{map:{doc:"The fill is translated relative to the map."},viewport:{doc:"The fill is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-translate`.",default:"map",requires:["fill-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"fill-pattern":{type:"string",function:"piecewise-constant","zoom-function":!0,transition:!0,doc:"Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",function:"interpolated","zoom-function":!0,"property-function":!1,default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],function:"interpolated","zoom-function":!0,transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{}}},"fill-extrusion-translate-anchor":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{}}},"fill-extrusion-pattern":{type:"string",function:"piecewise-constant","zoom-function":!0,transition:!0,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{}}},"fill-extrusion-height":{type:"number",function:"interpolated","zoom-function":!0,"property-function":!0,default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},"fill-extrusion-base":{type:"number",function:"interpolated","zoom-function":!0,"property-function":!0,default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}}},paint_line:{"line-opacity":{type:"number",doc:"The opacity at which the line will be drawn.",function:"interpolated","zoom-function":!0,"property-function":!0,default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"line-color":{type:"color",doc:"The color with which the line will be drawn.",default:"#000000",function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,requires:[{"!":"line-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.23.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"line-translate":{type:"array",value:"number",length:2,default:[0,0],function:"interpolated","zoom-function":!0,transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"line-translate-anchor":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{map:{doc:"The line is translated relative to the map."},viewport:{doc:"The line is translated relative to the viewport."}},doc:"Controls the frame of reference for `line-translate`.",default:"map",requires:["line-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"line-width":{type:"number",default:1,minimum:0,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,units:"pixels",doc:"Stroke thickness.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}}},"line-gap-width":{type:"number",default:0,minimum:0,doc:"Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.",function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,units:"pixels","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"line-offset":{type:"number",default:0,doc:"The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.",function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,units:"pixels","sdk-support":{"basic functionality":{js:"0.12.1",android:"3.0.0",ios:"3.1.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"line-blur":{type:"number",default:0,minimum:0,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,units:"pixels",doc:"Blur applied to the line, in pixels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"line-dasharray":{type:"array",value:"number",function:"piecewise-constant","zoom-function":!0,doc:"Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. Note that GeoJSON sources with `lineMetrics: true` specified won't render dashed lines to the expected scale. Also note that zoom-dependent expressions will be evaluated only at integer zoom levels.",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"line-pattern":{type:"string",function:"piecewise-constant","zoom-function":!0,transition:!0,doc:"Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"line-gradient":{type:"color",doc:'Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify `"lineMetrics": true`.',function:"interpolated","zoom-function":!1,"property-function":!1,transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],"sdk-support":{"basic functionality":{js:"0.45.0"},"data-driven styling":{}}}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,units:"pixels",doc:"Circle radius.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.18.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"circle-color":{type:"color",default:"#000000",doc:"The fill color of the circle.",function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.18.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"circle-blur":{type:"number",default:0,doc:"Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.",function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.20.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"circle-opacity":{type:"number",doc:"The opacity at which the circle will be drawn.",default:1,minimum:0,maximum:1,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.20.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],function:"interpolated","zoom-function":!0,transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"circle-translate-anchor":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{map:{doc:"The circle is translated relative to the map."},viewport:{doc:"The circle is translated relative to the viewport."}},doc:"Controls the frame of reference for `circle-translate`.",default:"map",requires:["circle-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"circle-pitch-scale":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{map:{doc:"Circles are scaled according to their apparent distance to the camera."},viewport:{doc:"Circles are not scaled."}},default:"map",doc:"Controls the scaling behavior of the circle when the map is pitched.","sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"},"data-driven styling":{}}},"circle-pitch-alignment":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{map:{doc:"The circle is aligned to the plane of the map."},viewport:{doc:"The circle is aligned to the plane of the viewport."}},default:"viewport",doc:"Orientation of circle when map is pitched.","sdk-support":{"basic functionality":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"},"data-driven styling":{}}},"circle-stroke-width":{type:"number",default:0,minimum:0,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,units:"pixels",doc:"The width of the circle's stroke. Strokes are placed outside of the `circle-radius`.","sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"circle-stroke-color":{type:"color",default:"#000000",doc:"The stroke color of the circle.",function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,"sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"circle-stroke-opacity":{type:"number",doc:"The opacity of the circle's stroke.",default:1,minimum:0,maximum:1,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,"sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,units:"pixels",doc:"Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"heatmap-weight":{type:"number",default:1,minimum:0,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!1,doc:"A measure of how much an individual point contributes to the heatmap. A value of 10 would be equivalent to having 10 points of weight 1 in the same spot. Especially useful when combined with clustering.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"heatmap-intensity":{type:"number",default:1,minimum:0,function:"interpolated","zoom-function":!0,"property-function":!1,transition:!0,doc:"Similar to `heatmap-weight` but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}}},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],doc:'Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmap-density"]` as input.',function:"interpolated","zoom-function":!1,"property-function":!1,transition:!1,"sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}}},"heatmap-opacity":{type:"number",doc:"The global opacity at which the heatmap layer will be drawn.",default:1,minimum:0,maximum:1,function:"interpolated","zoom-function":!0,"property-function":!1,transition:!0,"sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}}}},paint_symbol:{"icon-opacity":{doc:"The opacity at which the icon will be drawn.",type:"number",default:1,minimum:0,maximum:1,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"icon-color":{type:"color",default:"#000000",function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,doc:"The color of the icon. This can only be used with sdf icons.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,doc:"The color of the icon's halo. Icon halos can only be used with SDF icons.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"icon-halo-width":{type:"number",default:0,minimum:0,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,units:"pixels",doc:"Distance of halo to the icon outline.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"icon-halo-blur":{type:"number",default:0,minimum:0,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,units:"pixels",doc:"Fade out the halo towards the outside.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],function:"interpolated","zoom-function":!0,transition:!0,units:"pixels",doc:"Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"icon-translate-anchor":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{map:{doc:"Icons are translated relative to the map."},viewport:{doc:"Icons are translated relative to the viewport."}},doc:"Controls the frame of reference for `icon-translate`.",default:"map",requires:["icon-image","icon-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"text-opacity":{type:"number",doc:"The opacity at which the text will be drawn.",default:1,minimum:0,maximum:1,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"text-color":{type:"color",doc:"The color with which the text will be drawn.",default:"#000000",function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,doc:"The color of the text's halo, which helps it stand out from backgrounds.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"text-halo-width":{type:"number",default:0,minimum:0,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,units:"pixels",doc:"Distance of halo to the font outline. Max text halo width is 1/4 of the font-size.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"text-halo-blur":{type:"number",default:0,minimum:0,function:"interpolated","zoom-function":!0,"property-function":!0,transition:!0,units:"pixels",doc:"The halo's fadeout distance towards the outside.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}}},"text-translate":{type:"array",value:"number",length:2,default:[0,0],function:"interpolated","zoom-function":!0,transition:!0,units:"pixels",doc:"Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"text-translate-anchor":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{map:{doc:"The text is translated relative to the map."},viewport:{doc:"The text is translated relative to the viewport."}},doc:"Controls the frame of reference for `text-translate`.",default:"map",requires:["text-field","text-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}}},paint_raster:{"raster-opacity":{type:"number",doc:"The opacity at which the image will be drawn.",default:1,minimum:0,maximum:1,function:"interpolated","zoom-function":!0,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"raster-hue-rotate":{type:"number",default:0,period:360,function:"interpolated","zoom-function":!0,transition:!0,units:"degrees",doc:"Rotates hues around the color wheel.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"raster-brightness-min":{type:"number",function:"interpolated","zoom-function":!0,doc:"Increase or reduce the brightness of the image. The value is the minimum brightness.",default:0,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"raster-brightness-max":{type:"number",function:"interpolated","zoom-function":!0,doc:"Increase or reduce the brightness of the image. The value is the maximum brightness.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"raster-saturation":{type:"number",doc:"Increase or reduce the saturation of the image.",default:0,minimum:-1,maximum:1,function:"interpolated","zoom-function":!0,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"raster-contrast":{type:"number",doc:"Increase or reduce the contrast of the image.",default:0,minimum:-1,maximum:1,function:"interpolated","zoom-function":!0,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}},"raster-fade-duration":{type:"number",default:300,minimum:0,function:"interpolated","zoom-function":!0,transition:!1,units:"milliseconds",doc:"Fade duration when a new tile is added.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}}}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,doc:"The direction of the light source used to generate the hillshading with 0 as the top of the viewport if `hillshade-illumination-anchor` is set to `viewport` and due north if `hillshade-illumination-anchor` is set to `map`.",function:"interpolated","zoom-function":!0,transition:!1,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}}},"hillshade-illumination-anchor":{type:"enum",function:"piecewise-constant","zoom-function":!0,values:{map:{doc:"The hillshade illumination is relative to the north direction."},viewport:{doc:"The hillshade illumination is relative to the top of the viewport."}},default:"viewport",doc:"Direction of light source when map is rotated.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}}},"hillshade-exaggeration":{type:"number",doc:"Intensity of the hillshade",default:.5,minimum:0,maximum:1,function:"interpolated","zoom-function":!0,transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}}},"hillshade-shadow-color":{type:"color",default:"#000000",doc:"The shading color of areas that face away from the light source.",function:"interpolated","zoom-function":!0,transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}}},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",doc:"The shading color of areas that faces towards the light source.",function:"interpolated","zoom-function":!0,transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}}},"hillshade-accent-color":{type:"color",default:"#000000",doc:"The shading color used to accentuate rugged terrain like sharp cliffs and gorges.",function:"interpolated","zoom-function":!0,transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}}}},paint_background:{"background-color":{type:"color",default:"#000000",doc:"The color with which the background will be drawn.",function:"interpolated","zoom-function":!0,transition:!0,requires:[{"!":"background-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},"background-pattern":{type:"string",function:"piecewise-constant","zoom-function":!0,transition:!0,doc:"Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity at which the background will be drawn.",function:"interpolated","zoom-function":!0,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds",doc:"Time allotted for transitions to complete."},delay:{type:"number",default:0,minimum:0,units:"milliseconds",doc:"Length of time before a transition begins."}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(63));t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["type","source","source-layer","minzoom","maxzoom","filter","layout"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(65));function r(e,t){var n={};for(var r in e)"ref"!==r&&(n[r]=e[r]);return o.default.forEach(function(e){e in t&&(n[e]=t[e])}),n}t.default=function(e){e=e.slice();for(var t=Object.create(null),n=0;n<e.length;n++)t[e[n].id]=e[n];for(var o=0;o<e.length;o++)"ref"in e[o]&&(e[o]=r(e[o],t[e[o].ref]));return e}},function(e,t){e.exports=ol.geom.Point},function(e,t){e.exports=ol.style.Circle},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={POINT:"point",LINE:"line"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cosh=void 0,t.clamp=function(e,t,n){return Math.min(Math.max(e,t),n)},t.roundUpToPowerOfTwo=function(e){return(0,o.assert)(0<e,29),Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))},t.squaredSegmentDistance=function(e,t,n,o,i,a){var s=i-n,u=a-o;if(0!==s||0!==u){var l=((e-n)*s+(t-o)*u)/(s*s+u*u);l>1?(n=i,o=a):l>0&&(n+=s*l,o+=u*l)}return r(e,t,n,o)},t.squaredDistance=r,t.solveLinearSystem=function(e){for(var t=e.length,n=0;n<t;n++){for(var o=n,r=Math.abs(e[n][n]),i=n+1;i<t;i++){var a=Math.abs(e[i][n]);a>r&&(r=a,o=i)}if(0===r)return null;var s=e[o];e[o]=e[n],e[n]=s;for(var u=n+1;u<t;u++)for(var l=-e[u][n]/e[n][n],c=n;c<t+1;c++)n==c?e[u][c]=0:e[u][c]+=l*e[n][c]}for(var d=new Array(t),f=t-1;f>=0;f--){d[f]=e[f][t]/e[f][f];for(var p=f-1;p>=0;p--)e[p][t]-=e[p][f]*d[f]}return d},t.toDegrees=function(e){return 180*e/Math.PI},t.toRadians=function(e){return e*Math.PI/180},t.modulo=function(e,t){var n=e%t;return n*t<0?n+t:n},t.lerp=function(e,t,n){return e+n*(t-e)};var o=n(26);t.cosh="cosh"in Math?Math.cosh:function(e){var t=Math.exp(e);return(t+1/t)/2};function r(e,t,n,o){var r=n-e,i=o-t;return r*r+i*i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(27),r=function(e){var t=o.VERSION?o.VERSION.split("-")[0]:"latest";this.message="Assertion failed. See https://openlayers.org/en/"+t+"/doc/errors/#"+e+" for details.",this.code=e,this.name="AssertionError"};(0,o.inherits)(r,Error),t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromString=void 0,t.asString=function(e){return"string"==typeof e?e:l(e)},t.asArray=function(e){return Array.isArray(e)?e:s(e)},t.normalize=u,t.toString=l;var o=n(26),r=n(70),i=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,a=/^([a-z]*)$/i;var s=t.fromString=function(){var e={},t=0;return function(n){var r=void 0;if(e.hasOwnProperty(n))r=e[n];else{if(t>=1024){var s=0;for(var l in e)0==(3&s++)&&(delete e[l],--t)}r=function(e){var t=void 0,n=void 0,r=void 0,s=void 0,l=void 0;a.exec(e)&&(e=function(e){var t=document.createElement("div");if(t.style.color=e,""!==t.style.color){document.body.appendChild(t);var n=getComputedStyle(t).color;return document.body.removeChild(t),n}return""}(e));if(i.exec(e)){var c=e.length-1,d=void 0;d=c<=4?1:2;var f=4===c||8===c;t=parseInt(e.substr(1+0*d,d),16),n=parseInt(e.substr(1+1*d,d),16),r=parseInt(e.substr(1+2*d,d),16),s=f?parseInt(e.substr(1+3*d,d),16):255,1==d&&(t=(t<<4)+t,n=(n<<4)+n,r=(r<<4)+r,f&&(s=(s<<4)+s)),l=[t,n,r,s/255]}else 0==e.indexOf("rgba(")?u(l=e.slice(5,-1).split(",").map(Number)):0==e.indexOf("rgb(")?((l=e.slice(4,-1).split(",").map(Number)).push(1),u(l)):(0,o.assert)(!1,14);return l}(n),e[n]=r,++t}return r}}();function u(e){return e[0]=(0,r.clamp)(e[0]+.5|0,0,255),e[1]=(0,r.clamp)(e[1]+.5|0,0,255),e[2]=(0,r.clamp)(e[2]+.5|0,0,255),e[3]=(0,r.clamp)(e[3],0,1),e}function l(e){var t=e[0];t!=(0|t)&&(t=t+.5|0);var n=e[1];n!=(0|n)&&(n=n+.5|0);var o=e[2];return o!=(0|o)&&(o=o+.5|0),"rgba("+t+","+n+","+o+","+(void 0===e[3]?1:e[3])+")"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContext=function(e,t){for(var n=o.length,r=0;r<n;++r)try{var i=e.getContext(o[r],t);if(i)return i}catch(e){}return null};t.ONE=1,t.SRC_ALPHA=770,t.COLOR_ATTACHMENT0=36064,t.COLOR_BUFFER_BIT=16384,t.TRIANGLES=4,t.TRIANGLE_STRIP=5,t.ONE_MINUS_SRC_ALPHA=771,t.ARRAY_BUFFER=34962,t.ELEMENT_ARRAY_BUFFER=34963,t.STREAM_DRAW=35040,t.STATIC_DRAW=35044,t.DYNAMIC_DRAW=35048,t.CULL_FACE=2884,t.BLEND=3042,t.STENCIL_TEST=2960,t.DEPTH_TEST=2929,t.SCISSOR_TEST=3089,t.UNSIGNED_BYTE=5121,t.UNSIGNED_SHORT=5123,t.UNSIGNED_INT=5125,t.FLOAT=5126,t.RGBA=6408,t.FRAGMENT_SHADER=35632,t.VERTEX_SHADER=35633,t.LINK_STATUS=35714,t.LINEAR=9729,t.TEXTURE_MAG_FILTER=10240,t.TEXTURE_MIN_FILTER=10241,t.TEXTURE_WRAP_S=10242,t.TEXTURE_WRAP_T=10243,t.TEXTURE_2D=3553,t.TEXTURE0=33984,t.CLAMP_TO_EDGE=33071,t.COMPILE_STATUS=35713,t.FRAMEBUFFER=36160;var o=["experimental-webgl","webgl","webkit-3d","moz-webgl"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(27),r=n(72),i=function(e){var t=e||{};this.color_=void 0!==t.color?t.color:null,this.checksum_=void 0};i.prototype.clone=function(){var e=this.getColor();return new i({color:e&&e.slice?e.slice():e||void 0})},i.prototype.getColor=function(){return this.color_},i.prototype.setColor=function(e){this.color_=e,this.checksum_=void 0},i.prototype.getChecksum=function(){return void 0===this.checksum_&&(this.color_ instanceof CanvasPattern||this.color_ instanceof CanvasGradient?this.checksum_=(0,o.getUid)(this.color_).toString():this.checksum_="f"+(this.color_?(0,r.asString)(this.color_):"-")),this.checksum_},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(74)),r=i(n(69));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=e||{};this.font_=t.font,this.rotation_=t.rotation,this.rotateWithView_=t.rotateWithView,this.scale_=t.scale,this.text_=t.text,this.textAlign_=t.textAlign,this.textBaseline_=t.textBaseline,this.fill_=void 0!==t.fill?t.fill:new o.default({color:"#333"}),this.maxAngle_=void 0!==t.maxAngle?t.maxAngle:Math.PI/4,this.placement_=void 0!==t.placement?t.placement:r.default.POINT,this.overflow_=!!t.overflow,this.stroke_=void 0!==t.stroke?t.stroke:null,this.offsetX_=void 0!==t.offsetX?t.offsetX:0,this.offsetY_=void 0!==t.offsetY?t.offsetY:0,this.backgroundFill_=t.backgroundFill?t.backgroundFill:null,this.backgroundStroke_=t.backgroundStroke?t.backgroundStroke:null,this.padding_=void 0===t.padding?null:t.padding};a.prototype.clone=function(){return new a({font:this.getFont(),placement:this.getPlacement(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:this.getScale(),text:this.getText(),textAlign:this.getTextAlign(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0})},a.prototype.getOverflow=function(){return this.overflow_},a.prototype.getFont=function(){return this.font_},a.prototype.getMaxAngle=function(){return this.maxAngle_},a.prototype.getPlacement=function(){return this.placement_},a.prototype.getOffsetX=function(){return this.offsetX_},a.prototype.getOffsetY=function(){return this.offsetY_},a.prototype.getFill=function(){return this.fill_},a.prototype.getRotateWithView=function(){return this.rotateWithView_},a.prototype.getRotation=function(){return this.rotation_},a.prototype.getScale=function(){return this.scale_},a.prototype.getStroke=function(){return this.stroke_},a.prototype.getText=function(){return this.text_},a.prototype.getTextAlign=function(){return this.textAlign_},a.prototype.getTextBaseline=function(){return this.textBaseline_},a.prototype.getBackgroundFill=function(){return this.backgroundFill_},a.prototype.getBackgroundStroke=function(){return this.backgroundStroke_},a.prototype.getPadding=function(){return this.padding_},a.prototype.setOverflow=function(e){this.overflow_=e},a.prototype.setFont=function(e){this.font_=e},a.prototype.setMaxAngle=function(e){this.maxAngle_=e},a.prototype.setOffsetX=function(e){this.offsetX_=e},a.prototype.setOffsetY=function(e){this.offsetY_=e},a.prototype.setPlacement=function(e){this.placement_=e},a.prototype.setFill=function(e){this.fill_=e},a.prototype.setRotation=function(e){this.rotation_=e},a.prototype.setScale=function(e){this.scale_=e},a.prototype.setStroke=function(e){this.stroke_=e},a.prototype.setText=function(e){this.text_=e},a.prototype.setTextAlign=function(e){this.textAlign_=e},a.prototype.setTextBaseline=function(e){this.textBaseline_=e},a.prototype.setBackgroundFill=function(e){this.backgroundFill_=e},a.prototype.setBackgroundStroke=function(e){this.backgroundStroke_=e},a.prototype.setPadding=function(e){this.padding_=e},t.default=a},function(e,t){e.exports=ol.style.Icon},function(e,t){e.exports=ol.style.Stroke},function(e,t){e.exports=ol.style.Fill},function(e,t){e.exports=ol.style.Style},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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};t.applyStyle=E,t.applyBackground=function(e,t){t.layers.some(function(t){if("background"==t.type)return P(e,t),!0})},t.apply=function(e,t){var n,o,r,i;n=o=r=i="",e instanceof c.default||(e=new c.default({target:e}));if("string"==typeof t){var a=t.match(M);a&&(o=a[1],n=a.length>2?a[2]:""),fetch(t,{credentials:"same-origin"}).then(function(e){return e.json()}).then(function(a){var s=document.createElement("A");s.href=t,i=s.pathname.split("/").slice(0,-1).join("/")+"/",r=t.substr(0,t.indexOf(i)),I(a,e,o,r,i,n)}).catch(function(e){throw console.error(e),new Error("Could not load "+t)})}else setTimeout(function(){I(t,e)},0);return e},t.getLayer=function(e,t){for(var n=e.getLayers().getArray(),o=0,r=n.length;o<r;++o)if(-1!==n[o].get("mapbox-layers").indexOf(t))return n[o]},t.getSource=function(e,t){for(var n=e.getLayers().getArray(),o=0,r=n.length;o<r;++o){var i=n[o].getSource();if(-1!==n[o].get("mapbox-source").indexOf(t))return i}};var r=k(n(29)),i=n(28),a=k(i),s=k(n(43)),u=n(42),l=n(41),c=k(n(40)),d=k(n(39)),f=k(n(38)),p=n(37),h=k(n(36)),y=k(n(35)),m=k(n(34)),v=k(n(33)),g=k(n(32)),b=k(n(31)),w=k(n(30)),x=k(n(4));function k(e){return e&&e.__esModule?e:{default:e}}var T,S=/font-family: ?([^;]*);/,j=/("|')/g;var _={},O=s.default.getNames();function A(e){if(e in _)return _[e];var t=e.map(function(e){return(0,r.default)(e,1).split(" 1px ")[1].replace(/"/g,"")})[0];if(!function(e){if(!T){T={};for(var t=document.styleSheets,n=0,o=t.length;n<o;++n){var r=t[n];try{var i=r.rules||r.cssRules;if(i)for(var a=0,s=i.length;a<s;++a){var u=i[a];if(5==u.type){var l=u.cssText.match(S);T[l[1].replace(j,"")]=!0}}}catch(e){}}}return e in T}(t)&&-1!==O.indexOf(t)){var n="https://fonts.googleapis.com/css?family="+t.replace(/ /g,"+");if(!document.querySelector('link[href="'+n+'"]')){var o=document.createElement("link");o.href=n,o.rel="stylesheet",document.getElementsByTagName("head")[0].appendChild(o)}}return e}var M=/^(.*)(\?.*)$/;function C(e,t){return t&&0!=e.indexOf("http")&&(e=t+e),e}function z(e,t,n){var o=(e=C(e,t)).match(M);return o?o[1]+n+(o.length>2?o[2]:""):e+n}function E(e,t,n,r,i){return new Promise(function(s,u){var l,c,d;function f(){d||t.sprite&&!l?d&&e.setStyle(d):((e instanceof y.default||e instanceof m.default)&&(d=(0,a.default)(e,t,n,i,l,c,A)),s())}if("object"!=(void 0===t?"undefined":o(t))&&(t=JSON.parse(t)),8!=t.version&&u(new Error("glStyle version 8 required.")),t.sprite){var p=.5==(window.devicePixelRatio>=1.5?.5:1)?"@2x":"",h=z(t.sprite,r,p+".json");fetch(h,{credentials:"same-origin"}).then(function(e){return 200===e.status?e.json():""!==p?(p="",h=z(t.sprite,r,".json"),fetch(h,{credentials:"same-origin"}).then(function(e){return e.json()})):void 0}).then(function(e){if(void 0===e)throw"No sprites found.";l=e,c=z(t.sprite,r,p+".png"),f()}).catch(function(e){console.error(e),u(new Error("Sprites cannot be loaded from "+h))})}else f()})}var N={};function P(e,t){function n(){var n=e.getTargetElement();if(n){var o=t.layout||{},r=t.paint||{},a=e.getView().getZoom();if("background-color"in r){var s=(0,i.getValue)(t,"paint","background-color",a,N);n.style.backgroundColor=x.default.parse(s).toString()}"background-opacity"in r&&(n.style.backgroundOpacity=(0,i.getValue)(t,"paint","background-opacity",a,N)),"none"==o.visibility&&(n.style.backgroundColor="",n.style.backgroundOpacity="")}}e.getTargetElement()&&n(),e.on(["change:resolution","change:target"],n)}function R(e,t){var n;return e.some(function(e){if(e.id==t)return n=e.source,!0}),n}function I(e,t,n,o,r,i){var a=t.getView();"center"in e&&!a.getCenter()&&a.setCenter((0,u.fromLonLat)(e.center)),"zoom"in e&&void 0===a.getZoom()&&a.setZoom(e.zoom),a.getCenter()&&void 0!==a.getZoom()||a.fit(a.getProjection().getExtent(),{nearest:!0,size:t.getSize()}),e.sprite&&(0==e.sprite.indexOf("mapbox://")?e.sprite=n+"/sprite"+i:0!=e.sprite.indexOf("http")&&(e.sprite=(o?o+r:"")+e.sprite+i));var s,c,x,k,T,S,j,_,O=e.layers,A=new d.default,M=[];function z(n){if(M.length>0){t.addLayer(n);var o=function(){E(n,e,M,r).then(function(){n.setVisible(!0)},function(e){console.error(e)})};n.getSource()?o():n.once("change:source",o)}}for(var N=0,I=O.length;N<I;++N)if("background"==(s=O[N]).type)P(t,s);else{if((k=s.source||R(O,s.ref))!=x){z(T),M=[],c=e.sources[k],_=c.url;var q=c.tiles;if(_&&0==_.indexOf("mapbox://")&&(S=_.replace("mapbox://",""),q=["a","b","c","d"].map(function(e){return"https://"+e+".tiles.mapbox.com/v4/"+S+"/{z}/{x}/{y}."+("vector"==c.type?"vector.pbf":"png")+i})),"vector"==c.type)T=q?function(){var e=(0,l.createXYZ)({tileSize:512,maxZoom:"maxzoom"in c?c.maxzoom:22,minZoom:c.minzoom});return new m.default({declutter:!0,maxResolution:e.getMinZoom()>0?e.getResolution(e.getMinZoom()):void 0,source:new b.default({attributions:c.attribution,format:new f.default,tileGrid:e,urls:q}),visible:!1,zIndex:N})}():function(){var e=new m.default({declutter:!0,visible:!1,zIndex:N}),t=new v.default({url:_}),n=t.on("change",function(){if("ready"==t.getState()){for(var o=t.getTileJSON(),r=Array.isArray(o.tiles)?o.tiles:[o.tiles],i=0,a=r.length;i<a;++i){var s=r[i];0!=s.indexOf("http")&&(r[i]=c.url+s)}var u=t.getTileGrid();e.setSource(new b.default({attributions:t.getAttributions()||o.attribution,format:new f.default,tileGrid:(0,l.createXYZ)({minZoom:u.getMinZoom(),maxZoom:u.getMaxZoom(),tileSize:512}),urls:r})),u.getMinZoom()>0&&e.setMaxResolution(u.getResolution(u.getMinZoom())),(0,p.unByKey)(n)}});return e}();else if("raster"==c.type){var F;c.tiles?(F=new w.default({transition:j,attributions:c.attribution,minZoom:c.minzoom,maxZoom:"maxzoom"in c?c.maxzoom:22,tileSize:c.tileSize||512,url:_,urls:c.tiles,crossOrigin:"anonymous"}),j=0):F=new v.default({transition:j,url:_,crossOrigin:"anonymous"}),F.setTileLoadFunction(function(e,t){if(-1!=t.indexOf("{bbox-epsg-3857}")){var n=F.getTileGrid().getTileCoordExtent(e.getTileCoord());t=t.replace("{bbox-epsg-3857}",n.toString())}e.getImage().src=t}),T=new h.default({source:F,visible:!s.layout||"none"!==s.layout.visibility})}else if("geojson"==c.type){var B,L,D=c.data;"string"==typeof D?L=C(D,r):B=A.readFeatures(D,{featureProjection:"EPSG:3857"}),T=new y.default({source:new g.default({attributions:c.attribution,features:B,format:A,url:L}),visible:!1,zIndex:N})}x=k}M.push(s.id)}z(T),t.set("mapbox-style",e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(80),r=function(e){return e&&e.__esModule?e:{default:e}}(n(28));t.default={apply:o.apply,applyBackground:o.applyBackground,applyStyle:o.applyStyle,stylefunction:r.default}}]).default;
//# sourceMappingURL=olms.js.map