This commit is contained in:
HarelM committed 2026-12-04 16:23:26 +00:00
1 parent 1b152f53a2
commit 3376796dae
3 files changed
+9 -9

No files matched your search

@@ -25,7 +25,7 @@ __p += '`),r&&(f+=`' +
function print() { __p += __j.call(arguments, '') }
`:`;
`)+f+`return __p
}`;var g=Dl(function(){return rt(o,m+`return `+f).apply(n,s)});if(g.source=f,Tc(g))throw g;return g},N.times=function(e,t){if(e=Uc(e),e<1||e>_)return[];var n=b,r=Kt(e,b);t=xo(t),e-=b;for(var i=Gn(r,t);++n<e;)t(n);return i},N.toFinite=Hc,N.toInteger=Uc,N.toLength=Wc,N.toLower=function(e){return qc(e).toLowerCase()},N.toNumber=Gc,N.toSafeInteger=function(e){return e?qr(Uc(e),-_,_):e===0?e:0},N.toString=qc,N.toUpper=function(e){return qc(e).toUpperCase()},N.trim=function(e,t,r){if(e=qc(e),e&&(r||t===n))return qn(e);if(!e||!(t=ua(t)))return e;var i=hr(e),a=hr(t);return Sa(i,Zn(i,a),Qn(i,a)+1).join(``)},N.trimEnd=function(e,t,r){if(e=qc(e),e&&(r||t===n))return e.slice(0,gr(e)+1);if(!e||!(t=ua(t)))return e;var i=hr(e);return Sa(i,0,Qn(i,hr(t))+1).join(``)},N.trimStart=function(e,t,r){if(e=qc(e),e&&(r||t===n))return e.replace(ze,``);if(!e||!(t=ua(t)))return e;var i=hr(e);return Sa(i,Zn(i,hr(t))).join(``)},N.truncate=function(e,t){var r=30,i=`...`;if(kc(t)){var a=`separator`in t?t.separator:a;r=`length`in t?Uc(t.length):r,i=`omission`in t?ua(t.omission):i}e=qc(e);var o=e.length;if(ir(e)){var s=hr(e);o=s.length}if(r>=o)return e;var c=r-mr(i);if(c<1)return i;var l=s?Sa(s,0,c).join(``):e.slice(0,c);if(a===n)return l+i;if(s&&(c+=l.length-c),Pc(a)){if(e.slice(c).search(a)){var u,d=l;for(a.global||(a=ot(a.source,qc(Je.exec(a))+`g`)),a.lastIndex=0;u=a.exec(d);)var f=u.index;l=l.slice(0,f===n?c:f)}}else if(e.indexOf(ua(a),c)!=c){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+i},N.unescape=function(e){return e=qc(e),e&&ke.test(e)?e.replace(De,_r):e},N.uniqueId=function(e){var t=++ht;return qc(e)+t},N.upperCase=wl,N.upperFirst=Tl,N.each=Gs,N.eachRight=Ks,N.first=vs,Il(N,function(){var e={};return ci(N,function(t,n){mt.call(N.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),N.VERSION=`4.18.1`,bn([`bind`,`bindKey`,`curry`,`curryRight`,`partial`,`partialRight`],function(e){N[e].placeholder=N}),bn([`drop`,`take`],function(e,t){kr.prototype[e]=function(r){r=r===n?1:Gt(Uc(r),0);var i=this.__filtered__&&!t?new kr(this):this.clone();return i.__filtered__?i.__takeCount__=Kt(r,i.__takeCount__):i.__views__.push({size:Kt(r,b),type:e+(i.__dir__<0?`Right`:``)}),i},kr.prototype[e+`Right`]=function(t){return this.reverse()[e](t).reverse()}}),bn([`filter`,`map`,`takeWhile`],function(e,t){var n=t+1,r=n==1||n==3;kr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:xo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),bn([`head`,`last`],function(e,t){var n=`take`+(t?`Right`:``);kr.prototype[e]=function(){return this[n](1).value()[0]}}),bn([`initial`,`tail`],function(e,t){var n=`drop`+(t?``:`Right`);kr.prototype[e]=function(){return this.__filtered__?new kr(this):this[n](1)}}),kr.prototype.compact=function(){return this.filter(Ml)},kr.prototype.find=function(e){return this.filter(e).head()},kr.prototype.findLast=function(e){return this.reverse().find(e)},kr.prototype.invokeMap=Zi(function(e,t){return typeof e==`function`?new kr(this):this.map(function(n){return bi(n,e,t)})}),kr.prototype.reject=function(e){return this.filter(uc(xo(e)))},kr.prototype.slice=function(e,t){e=Uc(e);var r=this;return r.__filtered__&&(e>0||t<0)?new kr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(t=Uc(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},kr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},kr.prototype.toArray=function(){return this.take(b)},ci(kr.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=N[i?`take`+(t==`last`?`Right`:``):t],o=i||/^find/.test(t);a&&(N.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,c=t instanceof kr,l=s[0],u=c||yc(t),d=function(e){var t=a.apply(N,Dn([e],s));return i&&f?t[0]:t};u&&r&&typeof l==`function`&&l.length!=1&&(c=u=!1);var f=this.__chain__,p=!!this.__actions__.length,m=o&&!f,h=c&&!p;if(!o&&u){t=h?t:new kr(this);var g=e.apply(t,s);return g.__actions__.push({func:zs,args:[d],thisArg:n}),new Or(g,f)}return m&&h?e.apply(this,s):(g=this.thru(d),m?i?g.value()[0]:g.value():g)})}),bn([`pop`,`push`,`shift`,`sort`,`splice`,`unshift`],function(e){var t=lt[e],n=/^(?:push|sort|unshift)$/.test(e)?`tap`:`thru`,r=/^(?:pop|shift)$/.test(e);N.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(yc(i)?i:[],e)}return this[n](function(n){return t.apply(yc(n)?n:[],e)})}}),ci(kr.prototype,function(e,t){var n=N[t];if(n){var r=n.name+``;mt.call(Mn,r)||(Mn[r]=[]),Mn[r].push({name:t,func:n})}}),Mn[Ya(n,c).name]=[{name:`wrapper`,func:n}],kr.prototype.clone=function(){var e=new kr(this.__wrapped__);return e.__actions__=Pa(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Pa(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Pa(this.__views__),e},kr.prototype.reverse=function(){if(this.__filtered__){var e=new kr(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},kr.prototype.value=function(){ Line truncated
}`;var g=Dl(function(){return rt(o,m+`return `+f).apply(n,s)});if(g.source=f,Tc(g))throw g;return g},N.times=function(e,t){if(e=Uc(e),e<1||e>_)return[];var n=b,r=Kt(e,b);t=xo(t),e-=b;for(var i=Gn(r,t);++n<e;)t(n);return i},N.toFinite=Hc,N.toInteger=Uc,N.toLength=Wc,N.toLower=function(e){return qc(e).toLowerCase()},N.toNumber=Gc,N.toSafeInteger=function(e){return e?qr(Uc(e),-_,_):e===0?e:0},N.toString=qc,N.toUpper=function(e){return qc(e).toUpperCase()},N.trim=function(e,t,r){if(e=qc(e),e&&(r||t===n))return qn(e);if(!e||!(t=ua(t)))return e;var i=hr(e),a=hr(t);return Sa(i,Zn(i,a),Qn(i,a)+1).join(``)},N.trimEnd=function(e,t,r){if(e=qc(e),e&&(r||t===n))return e.slice(0,gr(e)+1);if(!e||!(t=ua(t)))return e;var i=hr(e);return Sa(i,0,Qn(i,hr(t))+1).join(``)},N.trimStart=function(e,t,r){if(e=qc(e),e&&(r||t===n))return e.replace(ze,``);if(!e||!(t=ua(t)))return e;var i=hr(e);return Sa(i,Zn(i,hr(t))).join(``)},N.truncate=function(e,t){var r=30,i=`...`;if(kc(t)){var a=`separator`in t?t.separator:a;r=`length`in t?Uc(t.length):r,i=`omission`in t?ua(t.omission):i}e=qc(e);var o=e.length;if(ir(e)){var s=hr(e);o=s.length}if(r>=o)return e;var c=r-mr(i);if(c<1)return i;var l=s?Sa(s,0,c).join(``):e.slice(0,c);if(a===n)return l+i;if(s&&(c+=l.length-c),Pc(a)){if(e.slice(c).search(a)){var u,d=l;for(a.global||(a=ot(a.source,qc(Je.exec(a))+`g`)),a.lastIndex=0;u=a.exec(d);)var f=u.index;l=l.slice(0,f===n?c:f)}}else if(e.indexOf(ua(a),c)!=c){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+i},N.unescape=function(e){return e=qc(e),e&&ke.test(e)?e.replace(De,_r):e},N.uniqueId=function(e){var t=++ht;return qc(e)+t},N.upperCase=wl,N.upperFirst=Tl,N.each=Gs,N.eachRight=Ks,N.first=vs,Il(N,function(){var e={};return ci(N,function(t,n){mt.call(N.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),N.VERSION=`4.18.1`,bn([`bind`,`bindKey`,`curry`,`curryRight`,`partial`,`partialRight`],function(e){N[e].placeholder=N}),bn([`drop`,`take`],function(e,t){kr.prototype[e]=function(r){r=r===n?1:Gt(Uc(r),0);var i=this.__filtered__&&!t?new kr(this):this.clone();return i.__filtered__?i.__takeCount__=Kt(r,i.__takeCount__):i.__views__.push({size:Kt(r,b),type:e+(i.__dir__<0?`Right`:``)}),i},kr.prototype[e+`Right`]=function(t){return this.reverse()[e](t).reverse()}}),bn([`filter`,`map`,`takeWhile`],function(e,t){var n=t+1,r=n==1||n==3;kr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:xo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),bn([`head`,`last`],function(e,t){var n=`take`+(t?`Right`:``);kr.prototype[e]=function(){return this[n](1).value()[0]}}),bn([`initial`,`tail`],function(e,t){var n=`drop`+(t?``:`Right`);kr.prototype[e]=function(){return this.__filtered__?new kr(this):this[n](1)}}),kr.prototype.compact=function(){return this.filter(Ml)},kr.prototype.find=function(e){return this.filter(e).head()},kr.prototype.findLast=function(e){return this.reverse().find(e)},kr.prototype.invokeMap=Zi(function(e,t){return typeof e==`function`?new kr(this):this.map(function(n){return bi(n,e,t)})}),kr.prototype.reject=function(e){return this.filter(uc(xo(e)))},kr.prototype.slice=function(e,t){e=Uc(e);var r=this;return r.__filtered__&&(e>0||t<0)?new kr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(t=Uc(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},kr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},kr.prototype.toArray=function(){return this.take(b)},ci(kr.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=N[i?`take`+(t==`last`?`Right`:``):t],o=i||/^find/.test(t);a&&(N.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,c=t instanceof kr,l=s[0],u=c||yc(t),d=function(e){var t=a.apply(N,Dn([e],s));return i&&f?t[0]:t};u&&r&&typeof l==`function`&&l.length!=1&&(c=u=!1);var f=this.__chain__,p=!!this.__actions__.length,m=o&&!f,h=c&&!p;if(!o&&u){t=h?t:new kr(this);var g=e.apply(t,s);return g.__actions__.push({func:zs,args:[d],thisArg:n}),new Or(g,f)}return m&&h?e.apply(this,s):(g=this.thru(d),m?i?g.value()[0]:g.value():g)})}),bn([`pop`,`push`,`shift`,`sort`,`splice`,`unshift`],function(e){var t=lt[e],n=/^(?:push|sort|unshift)$/.test(e)?`tap`:`thru`,r=/^(?:pop|shift)$/.test(e);N.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(yc(i)?i:[],e)}return this[n](function(n){return t.apply(yc(n)?n:[],e)})}}),ci(kr.prototype,function(e,t){var n=N[t];if(n){var r=n.name+``;mt.call(Mn,r)||(Mn[r]=[]),Mn[r].push({name:t,func:n})}}),Mn[Ya(n,c).name]=[{name:`wrapper`,func:n}],kr.prototype.clone=function(){var e=new kr(this.__wrapped__);return e.__actions__=Pa(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Pa(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Pa(this.__views__),e},kr.prototype.reverse=function(){if(this.__filtered__){var e=new kr(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},kr.prototype.value=function(){ Line truncated
* In categorical functions, when the feature value does not match any of the stop domain values.
@@ -35,12 +35,12 @@ function print() { __p += __j.call(arguments, '') }
* In interval or exponential property and zoom-and-property functions, when the feature value is not numeric.
If no default is provided, the style property's default is used in these circumstances.`}},function_stop:{type:`array`,minimum:0,maximum:24,value:[`number`,`color`],length:2,doc:`Zoom level and value pair.`},expression:{type:`array`,value:`expression_name`,minimum:1,doc:'An expression defines a function that can be used for data-driven style properties or feature filters. The first element of an expression array is a string naming the expression operator, e.g. `"*"` or `"case"`. Elements that follow (if any) are the _arguments_ to the expression. Each argument is either a literal value (a string, number, boolean, or `null`), or another expression array.'},expression_name:JSON.parse('{"doc":"First element in an expression array. May be followed by a number of arguments.","type":"enum","values":{"let":{"doc":"Binds expressions to named variables, which can then be referenced in the result expression using `[\\"var\\", \\"variable_name\\"]`.\\n\\n - [Visualize population density](https://maplibre.org/maplibre-gl-js/docs/examples/visualize-population-density/)","syntax":{"overloads":[{"parameters":["var_name_1","var_value_1","...","var_name_n","var_value_n","expression"],"output-type":"any"}],"parameters":[{"name":"var_name_i","type":"string literal","doc":"The name of the i-th variable."},{"name":"var_value_i","type":"any","doc":"The value of the i-th variable."},{"name":"expression","type":"any","doc":"The expression within which the named variables can be referenced."}]},"example":["let","someNumber",500,["interpolate",["linear"],["var","someNumber"],274,"#edf8e9",1551,"#006d2c"]],"group":"Variable binding","sdk-support":{"basic functionality":{"js":"0.41.0","android":"6.0.0","ios":"4.0.0"}}},"var":{"doc":"References variable bound using [`let`](expressions/#let).\\n\\n - [Visualize population density](https://maplibre.org/maplibre-gl-js/docs/examples/visualize-population-density/)","syntax":{"overloads":[{"parameters":["var_name"],"output-type":"any"}],"parameters":[{"name":"var_name","type":"string literal","doc":"The name of the variable bound using [`let`](expressions/#let)."}]},"example":["var","density"],"group":"Variable binding","sdk-support":{"basic functionality":{"js":"0.41.0","android":"6.0.0","ios":"4.0.0"}}},"literal":{"doc":"Provides a literal array or object value, treating nested values as literals themselves.\\n\\n - [Display and style rich text labels](https://maplibre.org/maplibre-gl-js/docs/examples/display-and-style-rich-text-labels/)","syntax":{"overloads":[{"parameters":["json_object"],"output-type":"object"},{"parameters":["json_array"],"output-type":"array"}],"parameters":[{"name":"json_object","type":"JSON object"},{"name":"json_array","type":"JSON array"}]},"example":["literal",["DIN Offc Pro Italic","Arial Unicode MS Regular"]],"group":"Types","sdk-support":{"basic functionality":{"js":"0.41.0","android":"6.0.0","ios":"4.0.0"}}},"semiliteral":{"doc":"Provides an array value, evaluating expressions in the elements of the array.","syntax":{"overloads":[{"parameters":["json_array"],"output-type":"array"}],"parameters":[{"name":"json_array","type":"JSON array"}]},"example":["semiliteral",[["get","label_x"],["get","label_y"]]],"group":"Types","sdk-support":{"basic functionality":{"js":"6.6.0","android":"https://github.com/maplibre/maplibre-native/issues/4401","ios":"https://github.com/maplibre/maplibre-native/issues/4401"}}},"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 or length, then this assertion will cause the whole expression to be aborted.","syntax":{"overloads":[{"parameters":["value"],"output-type":"array"},{"parameters":["type","value"],"output-type":"array<type>"},{"parameters":["type","length","value"],"output-type":"array<type, length>"}],"parameters":[{"name":"value","type":"any"},{"name":"type","type":["string","number","boolean"],"doc":"The asserted type of the input array."},{"name":"length","type":"number literal","doc":"The asserted length of the input array."}]},"example":["array","string",3,["literal",["a","b","c"]]],"group":"Types","sdk-support":{"basic functionality":{"js":"0.41.0","android":"6.0.0","ios":"4.0.0"}}},"at":{"doc":"Retrieves an item from an array.","syntax":{"overloads":[{"parameters":["index","array"],"output-type":"T"}],"parameters":[{"name":"index","type":"number","doc":"The index into `array`."},{"name":"array","type":"array<T>","doc":"The array of items to retrieve the specified item from."}]},"example":["at",1,["literal",["a","b","c"]]],"group":"Lookup","sdk-support":{"basic functionality":{"js":"0.41.0","android":"6.0.0","ios":"4.0.0"}}},"in":{"doc":"Determines whether an item exists in an array or a substring exists in a string.\\n\\n - [Measure distances](https://maplibre.org/maplibre-gl-js/docs/examples/measure-distances/)","syntax":{"overloads":[{"parameters":["item","array"],"output-type":"boolean"},{"paramLine truncated
If no default is provided, the style property's default is used in these circumstances.`}},function_stop:{type:`array`,minimum:0,maximum:24,value:[`number`,`color`],length:2,doc:`Zoom level and value pair.`},expression:{type:`array`,value:`expression_name`,minimum:1,doc:'An expression defines a function that can be used for data-driven style properties or feature filters. The first element of an expression array is a string naming the expression operator, e.g. `"*"` or `"case"`. Elements that follow (if any) are the _arguments_ to the expression. Each argument is either a literal value (a string, number, boolean, or `null`), or another expression array.'},expression_name:JSON.parse('{"doc":"First element in an expression array. May be followed by a number of arguments.","type":"enum","values":{"let":{"doc":"Binds expressions to named variables, which can then be referenced in the result expression using `[\\"var\\", \\"variable_name\\"]`.\\n\\n - [Visualize population density](https://maplibre.org/maplibre-gl-js/docs/examples/visualize-population-density/)","syntax":{"overloads":[{"parameters":["var_name_1","var_value_1","...","var_name_n","var_value_n","expression"],"output-type":"any"}],"parameters":[{"name":"var_name_i","type":"string literal","doc":"The name of the i-th variable."},{"name":"var_value_i","type":"any","doc":"The value of the i-th variable."},{"name":"expression","type":"any","doc":"The expression within which the named variables can be referenced."}]},"example":["let","someNumber",500,["interpolate",["linear"],["var","someNumber"],274,"#edf8e9",1551,"#006d2c"]],"group":"Variable binding","sdk-support":{"basic functionality":{"js":"0.41.0","android":"6.0.0","ios":"4.0.0"}}},"var":{"doc":"References variable bound using [`let`](expressions/#let).\\n\\n - [Visualize population density](https://maplibre.org/maplibre-gl-js/docs/examples/visualize-population-density/)","syntax":{"overloads":[{"parameters":["var_name"],"output-type":"any"}],"parameters":[{"name":"var_name","type":"string literal","doc":"The name of the variable bound using [`let`](expressions/#let)."}]},"example":["var","density"],"group":"Variable binding","sdk-support":{"basic functionality":{"js":"0.41.0","android":"6.0.0","ios":"4.0.0"}}},"literal":{"doc":"Provides a literal array or object value, treating nested values as literals themselves.\\n\\n - [Display and style rich text labels](https://maplibre.org/maplibre-gl-js/docs/examples/display-and-style-rich-text-labels/)","syntax":{"overloads":[{"parameters":["json_object"],"output-type":"object"},{"parameters":["json_array"],"output-type":"array"}],"parameters":[{"name":"json_object","type":"JSON object"},{"name":"json_array","type":"JSON array"}]},"example":["literal",["DIN Offc Pro Italic","Arial Unicode MS Regular"]],"group":"Types","sdk-support":{"basic functionality":{"js":"0.41.0","android":"6.0.0","ios":"4.0.0"}}},"semiliteral":{"doc":"Provides an array value, evaluating expressions in the elements of the array.","syntax":{"overloads":[{"parameters":["json_array"],"output-type":"array"}],"parameters":[{"name":"json_array","type":"JSON array"}]},"example":["semiliteral",[["get","label_x"],["get","label_y"]]],"group":"Types","sdk-support":{"basic functionality":{"js":"6.6.0","android":"https://github.com/maplibre/maplibre-native/issues/4401","ios":"https://github.com/maplibre/maplibre-native/issues/4401"}}},"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 or length, then this assertion will cause the whole expression to be aborted.","syntax":{"overloads":[{"parameters":["value"],"output-type":"array"},{"parameters":["type","value"],"output-type":"array<type>"},{"parameters":["type","length","value"],"output-type":"array<type, length>"}],"parameters":[{"name":"value","type":"any"},{"name":"type","type":["string","number","boolean"],"doc":"The asserted type of the input array."},{"name":"length","type":"number literal","doc":"The asserted length of the input array."}]},"example":["array","string",3,["literal",["a","b","c"]]],"group":"Types","sdk-support":{"basic functionality":{"js":"0.41.0","android":"6.0.0","ios":"4.0.0"}}},"at":{"doc":"Retrieves an item from an array.","syntax":{"overloads":[{"parameters":["index","array"],"output-type":"T"}],"parameters":[{"name":"index","type":"number","doc":"The index into `array`."},{"name":"array","type":"array<T>","doc":"The array of items to retrieve the specified item from."}]},"example":["at",1,["literal",["a","b","c"]]],"group":"Lookup","sdk-support":{"basic functionality":{"js":"0.41.0","android":"6.0.0","ios":"4.0.0"}}},"in":{"doc":"Determines whether an item exists in an array or a substring exists in a string.\\n\\n - [Select features with boxZoomEnd callback](https://maplibre.org/maplibre-gl-js/docs/examples/select-features-with-boxzoomend-callback/)","syntax":{"overloads":[{"parameters":["iLine truncated
![fill-extrusion-opacity](assets/fill-extrusion-opacity.svg)`,transition:!0,"sdk-support":{"basic functionality":{js:`0.27.0`,android:`5.1.0`,ios:`3.6.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`},"data-driven styling":{js:`https://github.com/maplibre/maplibre-gl-js/issues/4492`,android:`https://github.com/maplibre/maplibre-native/issues/5047`,ios:`https://github.com/maplibre/maplibre-native/issues/5047`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`]},"property-type":`data-driven`},"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`](layers/#fill-extrusion-opacity) to set the opacity.",transition:!0,requires:[{"!":`fill-extrusion-pattern`}],"sdk-support":{"basic functionality":{js:`0.27.0`,android:`5.1.0`,ios:`3.6.0`},"data-driven styling":{js:`0.27.0`,android:`5.1.0`,ios:`3.6.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`},"[`elevation`](expressions/#elevation) expression":{js:`https://github.com/maplibre/maplibre-gl-js/issues/8799`,android:`https://github.com/maplibre/maplibre-native/issues/4787`,ios:`https://github.com/maplibre/maplibre-native/issues/4787`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`,`elevation`]},"property-type":`data-driven`},"fill-extrusion-translate":{type:`array`,value:`number`,length:2,default:[0,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`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`},"fill-extrusion-translate-anchor":{type:`enum`,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`](layers/#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`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!1,parameters:[`zoom`]},"property-type":`data-constant`},"fill-extrusion-pattern":{type:`resolvedImage`,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`},"data-driven styling":{js:`0.49.0`,android:`6.5.0`,ios:`4.4.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!1,parameters:[`zoom`,`feature`]},"property-type":`cross-faded-data-driven`},"fill-extrusion-height":{type:`number`,default:0,units:`meters`,doc:`The height with which to extrude this layer. Negative values extrude below ground level, so a floor that is entirely underground can be expressed.`,transition:!0,"sdk-support":{"basic functionality":{js:`0.27.0`,android:`5.1.0`,ios:`3.6.0`},"data-driven styling":{js:`0.27.0`,android:`5.1.0`,ios:`3.6.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`},"negative values":{js:`https://github.com/maplibre/maplibre-gl-js/issues/8051`,android:`https://github.com/maplibre/maplibre-native/issues/4455`,ios:`https://github.com/maplibre/maplibre-native/issues/4455`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`]},"property-type":`data-driven`},"fill-extrusion-base":{type:`number`,default: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`](layers/#fill-extrusion-height). Negative values extrude below ground level, e.g. underground floors.",transition:!0,requires:[`fill-extrusion-height`],"sdk-support":{"basic functionality":{js:`0.27.0`,android:`5.1.0`,ios:`3.6.0`},"data-driven styling":{js:`0.27.0`,android:`5.1.0`,ios:`3.6.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`},"negative values":{js:`https://github.com/maplibre/maplibre-gl-js/issues/8051`,android:`https://github.com/maplibre/maplibre-native/issues/4455`,ios:`https://github.com/maplibre/maplibre-native/issues/4455`}},expression:{interpolated:!0,paramete Line truncated
![fill-extrusion-opacity](assets/fill-extrusion-opacity.svg)`,transition:!0,"sdk-support":{"basic functionality":{js:`0.27.0`,android:`5.1.0`,ios:`3.6.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`},"data-driven styling":{js:`https://github.com/maplibre/maplibre-gl-js/issues/4492`,android:`https://github.com/maplibre/maplibre-native/issues/5047`,ios:`https://github.com/maplibre/maplibre-native/issues/5047`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`]},"property-type":`data-driven`},"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`](layers/#fill-extrusion-opacity) to set the opacity.",transition:!0,requires:[{"!":`fill-extrusion-pattern`}],"sdk-support":{"basic functionality":{js:`0.27.0`,android:`5.1.0`,ios:`3.6.0`},"data-driven styling":{js:`0.27.0`,android:`5.1.0`,ios:`3.6.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`},"[`elevation`](expressions/#elevation) expression":{js:`https://github.com/maplibre/maplibre-gl-js/issues/8799`,android:`https://github.com/maplibre/maplibre-native/issues/4787`,ios:`https://github.com/maplibre/maplibre-native/issues/4787`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`,`elevation`]},"property-type":`data-driven`},"fill-extrusion-roof-color":{type:`color`,doc:"The color of roof surfaces. Matches [`fill-extrusion-color`](layers/#fill-extrusion-color) if unspecified. Wall surfaces keep using `fill-extrusion-color`.",transition:!0,requires:[{"!":`fill-extrusion-pattern`}],"sdk-support":{"basic functionality":{js:`https://github.com/maplibre/maplibre-gl-js/issues/9203`,android:`https://github.com/maplibre/maplibre-native/issues/5195`,ios:`https://github.com/maplibre/maplibre-native/issues/5195`},"data-driven styling":{js:`https://github.com/maplibre/maplibre-gl-js/issues/9203`,android:`https://github.com/maplibre/maplibre-native/issues/5195`,ios:`https://github.com/maplibre/maplibre-native/issues/5195`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`]},"property-type":`data-driven`},"fill-extrusion-roof-height":{type:`number`,minimum:0,units:`meters`,doc:"Height of the roof in meters, from the eave line to the highest point of the roof. When unset, a default height is derived from the roof frame and a per-shape pitch. A value of `0` means a zero-height roof.",transition:!0,"sdk-support":{"basic functionality":{js:`https://github.com/maplibre/maplibre-gl-js/issues/9203`,android:`https://github.com/maplibre/maplibre-native/issues/5195`,ios:`https://github.com/maplibre/maplibre-native/issues/5195`},"data-driven styling":{js:`https://github.com/maplibre/maplibre-gl-js/issues/9203`,android:`https://github.com/maplibre/maplibre-native/issues/5195`,ios:`https://github.com/maplibre/maplibre-native/issues/5195`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`]},"property-type":`data-driven`},"fill-extrusion-translate":{type:`array`,value:`number`,length:2,default:[0,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`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`},"fill-extrusion-translate-anchor":{type:`enum`,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`](layers/#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`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!1,parameters:[`zoom`]},"property-type":`data-constant`},"fill-extrusion-pattern":{type:`resolvedImage`,transition:!0,doc:`Name of image in sprite to use for drawing images on extruded fills. Projected from above onto roof surfaces. 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`},"data-driven styling":{js:`0.49.0`,android:`6.5.0`,ios:`4.4.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpo Line truncated
The unit is in pixels only for SDF sprites that were created with a blur radius of 8, multiplied by the display density. I.e., the radius needs to be 16 for \`@2x\` sprites, etc.`,requires:[`icon-image`],"sdk-support":{"basic functionality":{js:`0.10.0`,android:`2.0.1`,ios:`2.0.0`},"data-driven styling":{js:`0.33.0`,android:`5.0.0`,ios:`3.5.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`]},"property-type":`data-driven`},"icon-halo-blur":{type:`number`,default:0,minimum: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`},"data-driven styling":{js:`0.33.0`,android:`5.0.0`,ios:`3.5.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`]},"property-type":`data-driven`},"icon-translate":{type:`array`,value:`number`,length:2,default:[0,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`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`},"icon-translate-anchor":{type:`enum`,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`](layers/#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`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!1,parameters:[`zoom`]},"property-type":`data-constant`},"text-opacity":{type:`number`,doc:`The opacity at which the text will be drawn.`,default:1,minimum:0,maximum:1,transition:!0,requires:[`text-field`],"sdk-support":{"basic functionality":{js:`0.10.0`,android:`2.0.1`,ios:`2.0.0`},"data-driven styling":{js:`0.33.0`,android:`5.0.0`,ios:`3.5.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`]},"property-type":`data-driven`},"text-color":{type:`color`,doc:`The color with which the text will be drawn.`,default:`#000000`,transition:!0,overridable:!0,requires:[`text-field`],"sdk-support":{"basic functionality":{js:`0.10.0`,android:`2.0.1`,ios:`2.0.0`},"data-driven styling":{js:`0.33.0`,android:`5.0.0`,ios:`3.5.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`]},"property-type":`data-driven`},"text-halo-color":{type:`color`,default:`rgba(0, 0, 0, 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`},"data-driven styling":{js:`0.33.0`,android:`5.0.0`,ios:`3.5.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`]},"property-type":`data-driven`},"text-halo-width":{type:`number`,default:0,minimum: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`},"data-driven styling":{js:`0.33.0`,android:`5.0.0`,ios:`3.5.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`]},"property-type":`data-driven`},"text-halo-blur":{type:`number`,default:0,minimum: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`},"data-driven styling":{js:`0.33.0`,android:`5.0.0`,ios:`3.5.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`,`feature`,`feature-state`]},"property-type":`data-driven`},"text-translate":{type:`array`,value:`number`,length:2,default:[0,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.`,requLine truncated
![Visual comparison of linear resampling versus nearest resampling](assets/resampling.png)`,values:{linear:{doc:`(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled`},nearest:{doc:`Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled`}},default:`linear`,"sdk-support":{"basic functionality":{js:`5.20.0`,android:`https://github.com/maplibre/maplibre-native/issues/4117`,ios:`https://github.com/maplibre/maplibre-native/issues/4117`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`https://github.com/maplibre/maplibre-native/issues/4117`,ios:`https://github.com/maplibre/maplibre-native/issues/4117`}},expression:{interpolated:!1,parameters:[`zoom`]},"property-type":`data-constant`},"raster-resampling":{type:`enum`,doc:"The resampling/interpolation method to use for overscaling, also known as texture magnification filter. It is advised to use the generic `resampling` paint property instead.",values:{linear:{doc:`(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled`},nearest:{doc:`Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled`}},default:`linear`,"sdk-support":{"basic functionality":{js:`0.47.0`,android:`6.3.0`,ios:`4.2.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!1,parameters:[`zoom`]},"property-type":`data-constant`},"raster-fade-duration":{type:`number`,default:300,minimum:0,transition:!1,units:`milliseconds`,doc:`Fade duration when a new tile is added, or when a video is started or its coordinates are updated.`,"sdk-support":{"basic functionality":{js:`0.10.0`,android:`2.0.1`,ios:`2.0.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`}},paint_hillshade:{"hillshade-illumination-direction":{type:`numberArray`,default:335,minimum:0,maximum:359,doc:"The direction of the light source(s) used to generate the hillshading with 0 as the top of the viewport if [`hillshade-illumination-anchor`](layers/#hillshade-illumination-anchor) is set to `viewport` and due north if `hillshade-illumination-anchor` is set to `map`. Only when [`hillshade-method`](layers/#hillshade-method) is set to `multidirectional` can you specify multiple light sources.",transition:!1,"sdk-support":{"basic functionality":{js:`0.43.0`,android:`6.0.0`,ios:`4.0.0`},multidirectional:{js:`5.5.0`,android:`13.0.0`,ios:`6.24.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`},"hillshade-illumination-altitude":{type:`numberArray`,default:45,minimum:0,maximum:90,doc:"The altitude of the light source(s) used to generate the hillshading with 0 as sunset and 90 as noon. Only when [`hillshade-method`](layers/#hillshade-method) is set to `multidirectional` can you specify multiple light sources.",transition:!1,"sdk-support":{"basic functionality":{js:`5.5.0`,android:`13.0.0`,ios:`6.24.0`},multidirectional:{js:`5.5.0`,android:`13.0.0`,ios:`6.24.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`},"hillshade-illumination-anchor":{type:`enum`,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`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!1,parameters:[`zoom`]},"property-type":`data-constant`},"hillshade-exaggeration":{type:`number`,doc:`Intensity of the hillshade`,default:.5,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:`0.43.0`,android:`6.0.0`,ios:`4.0.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`},"hillshade-shadow-color":{type:`colorArray`,default:`#000000`,doc:"The shading color of areas that face away from the light source(s). Only when [`hillshade-method`](layers/#hillshade-method) is set to `multidirectional` can you specify multiple light sources.",transition:!0,"sdk-support":{"basic functionality":{js:`0.43.0`,android:`6.0.0`,ios:`4.0.0 Line truncated
![Visual comparison of linear resampling versus nearest resampling](assets/resampling.png)`,values:{linear:{doc:`(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled`},nearest:{doc:`Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled`}},default:`linear`,"sdk-support":{"basic functionality":{js:`5.20.0`,android:`https://github.com/maplibre/maplibre-native/issues/4117`,ios:`https://github.com/maplibre/maplibre-native/issues/4117`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`https://github.com/maplibre/maplibre-native/issues/4117`,ios:`https://github.com/maplibre/maplibre-native/issues/4117`}},expression:{interpolated:!1,parameters:[`zoom`]},"property-type":`data-constant`},"raster-resampling":{type:`enum`,doc:"The resampling/interpolation method to use for overscaling, also known as texture magnification filter. It is advised to use the generic `resampling` paint property instead.",values:{linear:{doc:`(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled`},nearest:{doc:`Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled`}},default:`linear`,"sdk-support":{"basic functionality":{js:`0.47.0`,android:`6.3.0`,ios:`4.2.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!1,parameters:[`zoom`]},"property-type":`data-constant`},"raster-fade-duration":{type:`number`,default:300,minimum:0,transition:!1,units:`milliseconds`,doc:`Fade duration when a new tile is added, or when a video is started or its coordinates are updated.`,"sdk-support":{"basic functionality":{js:`0.10.0`,android:`2.0.1`,ios:`2.0.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`}},paint_hillshade:{"hillshade-illumination-direction":{type:`numberArray`,default:335,minimum:0,maximum:360,doc:"The direction of the light source(s) used to generate the hillshading with 0 as the top of the viewport if [`hillshade-illumination-anchor`](layers/#hillshade-illumination-anchor) is set to `viewport` and due north if `hillshade-illumination-anchor` is set to `map`. Only when [`hillshade-method`](layers/#hillshade-method) is set to `multidirectional` can you specify multiple light sources.",transition:!1,"sdk-support":{"basic functionality":{js:`0.43.0`,android:`6.0.0`,ios:`4.0.0`},multidirectional:{js:`5.5.0`,android:`13.0.0`,ios:`6.24.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`},"hillshade-illumination-altitude":{type:`numberArray`,default:45,minimum:0,maximum:90,doc:"The altitude of the light source(s) used to generate the hillshading with 0 as sunset and 90 as noon. Only when [`hillshade-method`](layers/#hillshade-method) is set to `multidirectional` can you specify multiple light sources.",transition:!1,"sdk-support":{"basic functionality":{js:`5.5.0`,android:`13.0.0`,ios:`6.24.0`},multidirectional:{js:`5.5.0`,android:`13.0.0`,ios:`6.24.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`},"hillshade-illumination-anchor":{type:`enum`,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`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!1,parameters:[`zoom`]},"property-type":`data-constant`},"hillshade-exaggeration":{type:`number`,doc:`Intensity of the hillshade`,default:.5,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:`0.43.0`,android:`6.0.0`,ios:`4.0.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`},"hillshade-shadow-color":{type:`colorArray`,default:`#000000`,doc:"The shading color of areas that face away from the light source(s). Only when [`hillshade-method`](layers/#hillshade-method) is set to `multidirectional` can you specify multiple light sources.",transition:!0,"sdk-support":{"basic functionality":{js:`0.43.0`,android:`6.0.0`,ios:`4.0.0 Line truncated
![Visual comparison of linear resampling versus nearest resampling](assets/resampling.png)`,values:{linear:{doc:`(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled`},nearest:{doc:`Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled`}},default:`linear`,"sdk-support":{"basic functionality":{js:`5.20.0`,android:`https://github.com/maplibre/maplibre-native/issues/4117`,ios:`https://github.com/maplibre/maplibre-native/issues/4117`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`https://github.com/maplibre/maplibre-native/issues/4117`,ios:`https://github.com/maplibre/maplibre-native/issues/4117`}},expression:{interpolated:!1,parameters:[`zoom`]},"property-type":`data-constant`}},"paint_color-relief":{"color-relief-opacity":{type:`number`,default:1,minimum:0,maximum:1,doc:`The opacity at which the color-relief will be drawn.`,transition:!0,"sdk-support":{"basic functionality":{js:`5.6.0`,android:`13.0.0`,ios:`6.24.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`},"color-relief-color":{type:`color`,doc:"Defines the color of each pixel based on its elevation. Should be an expression that uses the [`elevation`](expressions/#elevation) expression as input.",example:[`interpolate`,[`linear`],[`elevation`],0,`black`,8849,`white`],transition:!1,"sdk-support":{"basic functionality":{js:`5.6.0`,android:`13.0.0`,ios:`6.24.0`},"data-driven styling":{},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`elevation`]},"property-type":`color-ramp`},resampling:{type:`enum`,doc:`The resampling/interpolation method to use for overscaling, also known as texture magnification filter.
![Visual comparison of linear resampling versus nearest resampling](assets/resampling.png)`,values:{linear:{doc:`(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled`},nearest:{doc:`Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled`}},default:`linear`,"sdk-support":{"basic functionality":{js:`5.20.0`,android:`https://github.com/maplibre/maplibre-native/issues/4117`,ios:`https://github.com/maplibre/maplibre-native/issues/4117`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`https://github.com/maplibre/maplibre-native/issues/4117`,ios:`https://github.com/maplibre/maplibre-native/issues/4117`}},expression:{interpolated:!1,parameters:[`zoom`]},"property-type":`data-constant`}},paint_background:{"background-color":{type:`color`,default:`#000000`,doc:`The color with which the background will be drawn.`,transition:!0,requires:[{"!":`background-pattern`}],"sdk-support":{"basic functionality":{js:`0.10.0`,android:`2.0.1`,ios:`2.0.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`},"background-pattern":{type:`resolvedImage`,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`},"data-driven styling":{},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!1,parameters:[`zoom`]},"property-type":`cross-faded`},"background-opacity":{type:`number`,default:1,minimum:0,maximum:1,doc:`The opacity at which the background will be drawn.`,transition:!0,"sdk-support":{"basic functionality":{js:`0.10.0`,android:`2.0.1`,ios:`2.0.0`},"[`global-state`](expressions/#global-state) expression":{js:`5.6.0`,android:`13.7.1`,ios:`7.0.0`}},expression:{interpolated:!0,parameters:[`zoom`]},"property-type":`data-constant`}},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.`}},"property-type":{"data-driven":{type:`property-type`,doc:`Property is interpolable and can be represented using a property expression.`},"cross-faded":{type:`property-type`,doc:`Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms.`},"cross-faded-data-driven":{type:`property-type`,doc:`Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms. It can be represented using a property expression.`},"color-ramp":{type:`property-type`,doc:`Property should be specified using a color ramp from which the output color can be sampled based on a property calculation.`},"data-constant":{type:`property-type`,doc:`Property is interpolable but cannot be represented using a property expression.`},constant:{type:`property-type`,doc:`Property is constant across all zoom levels and property values.`}},promoteId:{"*":{type:`string`,doc:`A name of a feature property to use as ID for feature state.`}},interpolation:{type:`array`,value:`interpolation_name`,minimum:1,doc:'An interpolation defines how to transition between items. The first element of an interpolation array is a string naming the interpolation operator, e.g. `"linear"` or `"exponential"`. Elements that follow (if any) are the _arguments_ to the interpolation.'},interpolation_name:{doc:`First element in an interpolation array. May be followed by a number of arguments.`,type:`enum`,values:{linear:{doc:`Interpolates linearly between the pair of stops just less than and just greater than the input`,syntax:{overloads:[{parameters:[],"output-type":`interpolation`}],parameters:[]},example:[`linear`],"sdk-support":{interpolate:{js:`0.42.0`,android:`6.0.0`,ios:`4.0.0`},"interpolate-hcl":{js:`0.49.0`,ios:`https://github.com/maplibre/maplibre-native/issues/2784`,android:`https://github.com/maplibre/maplibre-native/issues/2784`},"interpolate-lab":{js:`0.49.0`,ios:`https://github.com/maplibre/maplibre-native/issues/2784`,android:`https://github.com/maplibre/maplibre-native/issues/2784`},"interpolate-oklch":{js:`https://github.com/maplibre/maplibre-gl-js/issues/9011`,android:`https://github.com/maplibre/maplibre-native/issues/4970`,ios:`https://github.com/maplibre/maplibre-native/issues/4970`},"interpolate-oklab":{js:`https://github.com/maplibre/maplibre-gl-js/issues/9051`,android:`https://github.com/maplibre/maplibre-native/i Line truncated
precision mediump float;
@@ -1097,7 +1097,7 @@ From the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion)
background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));
background: linear-gradient(to top, #000, rgba(0,0,0,0));
}
`),m.createElement(`div`,{style:s.white,className:`saturation-white`},m.createElement(`div`,{style:s.black,className:`saturation-black`}),m.createElement(`div`,{style:s.pointer},this.props.pointer?m.createElement(this.props.pointer,this.props):m.createElement(`div`,{style:s.circle}))))}}]),t}(m.PureComponent||m.Component);function net(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var ret=lQe(Object.keys,Object),iet=Object.prototype.hasOwnProperty;function aet(e){if(!FY(e))return ret(e);var t=[];for(var n in Object(e))iet.call(e,n)&&n!=`constructor`&&t.push(n);return t}function eX(e){return BY(e)?p$e(e):aet(e)}function oet(e,t){return e&&QZe(e,t,eX)}function set(e,t){return function(n,r){if(n==null)return n;if(!BY(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}var cet=set(oet);function uet(e){return typeof e==`function`?e:JY}function det(e,t){return(RY(e)?net:cet)(e,uet(t))}function tX(e){"@babel/helpers - typeof";return tX=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},tX(e)}var fet=/^\s+/,pet=/\s+$/;function nX(e,t){if(e||=``,t||={},e instanceof nX)return e;if(!(this instanceof nX))return new nX(e,t);var n=met(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}nX.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},getLuminance:function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255,i=t<=.03928?t/12.92:((t+.055)/1.055)**2.4,a=n<=.03928?n/12.92:((n+.055)/1.055)**2.4,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4;return .2126*i+.7152*a+.0722*o},setAlpha:function(e){return this._a=Ret(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=vet(this._r,this._g,this._b);return{h:e.h*360,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=vet(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.v*100);return this._a==1?`hsv(`+t+`, `+n+`%, `+r+`%)`:`hsva(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHsl:function(){var e=get(this._r,this._g,this._b);return{h:e.h*360,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=get(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.l*100);return this._a==1?`hsl(`+t+`, `+n+`%, `+r+`%)`:`hsla(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHex:function(e){return bet(this._r,this._g,this._b,e)},toHexString:function(e){return`#`+this.toHex(e)},toHex8:function(e){return xet(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return`#`+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?`rgb(`+Math.round(this._r)+`, `+Math.round(this._g)+`, `+Math.round(this._b)+`)`:`rgba(`+Math.round(this._r)+`, `+Math.round(this._g)+`, `+Math.round(this._b)+`, `+this._roundA+`)`},toPercentageRgb:function(){return{r:Math.round(iX(this._r,255)*100)+`%`,g:Math.round(iX(this._g,255)*100)+`%`,b:Math.round(iX(this._b,255)*100)+`%`,a:this._a}},toPercentageRgbString:function(){return this._a==1?`rgb(`+Math.round(iX(this._r,255)*100)+`%, `+Math.round(iX(this._g,255)*100)+`%, `+Math.round(iX(this._b,255)*100)+`%)`:`rgba(`+Math.round(iX(this._r,255)*100)+`%, `+Math.round(iX(this._g,255)*100)+`%, `+Math.round(iX(this._b,255)*100)+`%, `+this._roundA+`)`},toName:function(){return this._a===0?`transparent`:this._a<1?!1:Iet[bet(this._r,this._g,this._b,!0)]||!1},toFilter:function(e){var t=`#`+Cet(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?`GradientType = 1, `:``;if(e){var i=nX(e);n=`#`+Cet(i._r,i._g,i._b,i._a)}return`progid:DXImageTransform.Microsoft.gradient(`+r+`startColorstr=`+t+`,endColorstr=`+n+`)`},toString:function(e){var t=!!e;e||=this._format;var n=!1,r=this._a<1&&this._a>=0;return!t&&r&&(e===`hex`||e===`hex6`||e===`hex3`||e===`hex4`||e===`hex8`||e===`name`)?e===`name`&&this._a===0?this.toName():this.toRgbString():(e===`rgb`&&(n=this.toRgbString()),e===`prgb`&&(n=this.toPercentageRgbString()),(e===`hex`||e===`hex6`)&&(n=this.toHexString()),e===`hex3`&&(n=this.toHexString(!0)),e===`hex4`&&(n=this.toHex8String(!0)),e===`hex8`&&(n=this.toHex8String()),e===`name`&&(n=this.toName()),e===`hsl`&&(n=this.toHslString()),e===`hsv`&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return nX(this.t Line truncated
`),m.createElement(`div`,{style:s.white,className:`saturation-white`},m.createElement(`div`,{style:s.black,className:`saturation-black`}),m.createElement(`div`,{style:s.pointer},this.props.pointer?m.createElement(this.props.pointer,this.props):m.createElement(`div`,{style:s.circle}))))}}]),t}(m.PureComponent||m.Component);function net(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var ret=lQe(Object.keys,Object),iet=Object.prototype.hasOwnProperty;function aet(e){if(!FY(e))return ret(e);var t=[];for(var n in Object(e))iet.call(e,n)&&n!=`constructor`&&t.push(n);return t}function eX(e){return BY(e)?p$e(e):aet(e)}function oet(e,t){return e&&QZe(e,t,eX)}function set(e,t){return function(n,r){if(n==null)return n;if(!BY(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}var cet=set(oet);function uet(e){return typeof e==`function`?e:JY}function det(e,t){return(RY(e)?net:cet)(e,uet(t))}function tX(e){"@babel/helpers - typeof";return tX=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},tX(e)}var fet=/^\s+/,pet=/\s+$/;function nX(e,t){if(e||=``,t||={},e instanceof nX)return e;if(!(this instanceof nX))return new nX(e,t);var n=met(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}nX.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},getLuminance:function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255,i=t<=.03928?t/12.92:((t+.055)/1.055)**2.4,a=n<=.03928?n/12.92:((n+.055)/1.055)**2.4,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4;return .2126*i+.7152*a+.0722*o},setAlpha:function(e){return this._a=Ret(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=vet(this._r,this._g,this._b);return{h:e.h*360,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=vet(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.v*100);return this._a==1?`hsv(`+t+`, `+n+`%, `+r+`%)`:`hsva(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHsl:function(){var e=get(this._r,this._g,this._b);return{h:e.h*360,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=get(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.l*100);return this._a==1?`hsl(`+t+`, `+n+`%, `+r+`%)`:`hsla(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHex:function(e){return bet(this._r,this._g,this._b,e)},toHexString:function(e){return`#`+this.toHex(e)},toHex8:function(e){return xet(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return`#`+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?`rgb(`+Math.round(this._r)+`, `+Math.round(this._g)+`, `+Math.round(this._b)+`)`:`rgba(`+Math.round(this._r)+`, `+Math.round(this._g)+`, `+Math.round(this._b)+`, `+this._roundA+`)`},toPercentageRgb:function(){return{r:Math.round(iX(this._r,255)*100)+`%`,g:Math.round(iX(this._g,255)*100)+`%`,b:Math.round(iX(this._b,255)*100)+`%`,a:this._a}},toPercentageRgbString:function(){return this._a==1?`rgb(`+Math.round(iX(this._r,255)*100)+`%, `+Math.round(iX(this._g,255)*100)+`%, `+Math.round(iX(this._b,255)*100)+`%)`:`rgba(`+Math.round(iX(this._r,255)*100)+`%, `+Math.round(iX(this._g,255)*100)+`%, `+Math.round(iX(this._b,255)*100)+`%, `+this._roundA+`)`},toName:function(){return this._a===0?`transparent`:this._a<1?!1:Iet[bet(this._r,this._g,this._b,!0)]||!1},toFilter:function(e){var t=`#`+Cet(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?`GradientType = 1, `:``;if(e){var i=nX(e);n=`#`+Cet(i._r,i._g,i._b,i._a)}return`progid:DXImageTransform.Microsoft.gradient(`+r+`startColorstr=`+t+`,endColorstr=`+n+`)`},toString:function(e){var t=!!e;e||=this._format;var n=!1,r=this._a<1&&this._a>=0;return!t&&r&&(e===`hex`||e===`hex6`||e===`hex3`||e===`hex4`||e===`hex8`||e===`name`)?e===`name`&&this._a===0?this.toName():this.toRgbString():(e===`rgb`&&(n=this.toRgbString()),e===`prgb`&&(n=this.toPercentageRgbString()),(e===`hex`||e===`hex6`)&&(n=this.toHexString()),e===`hex3`&&(n=this.toHexString(!0)),e===`hex4`&&(n=this.toHex8String(!0)),e===`hex8`&&(n=this.toHex8String()),e===`name`&&(n=this.toName()),e===`hsl`&&(n=this.toHslString()),e===`hsv`&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return nX(this.t Line truncated
<html>
<head>
<meta charset="utf-8" />
@@ -1121,5 +1121,5 @@ From the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion)
<\/script>
</body>
</html>
`),r=(A$().s[9]++,new Blob([n],{type:`text/html;charset=utf-8`})),i=(A$().s[10]++,this.exportName());A$().s[11]++,(0,Yst.saveAs)(r,i+`.html`)}async saveStyle(){A$().f[3]++;let e=(A$().s[12]++,this.tokenizedStyle());if(A$().s[13]++,Qst)A$().b[2][1]++;else{A$().b[2][0]++;let t=(A$().s[14]++,new Blob([e],{type:`application/json;charset=utf-8`})),n=(A$().s[15]++,this.exportName());A$().s[16]++,(0,Yst.saveAs)(t,n+`.json`),A$().s[17]++;return}let t=(A$().s[18]++,this.props.fileHandle);if(A$().s[19]++,t==null){if(A$().b[3][0]++,A$().s[20]++,t=await this.createFileHandle(),A$().s[21]++,this.props.onSetFileHandle(t),A$().s[22]++,t==null){A$().b[4][0]++,A$().s[23]++;return}A$().b[4][1]++}else A$().b[3][1]++;let n=(A$().s[24]++,await t.createWritable());A$().s[25]++,await n.write(e),A$().s[26]++,await n.close(),A$().s[27]++,this.props.onOpenToggle()}async saveStyleAs(){A$().f[4]++;let e=(A$().s[28]++,this.tokenizedStyle()),t=(A$().s[29]++,await this.createFileHandle());if(A$().s[30]++,this.props.onSetFileHandle(t),A$().s[31]++,t==null){A$().b[5][0]++,A$().s[32]++;return}A$().b[5][1]++;let n=(A$().s[33]++,await t.createWritable());A$().s[34]++,await n.write(e),A$().s[35]++,await n.close(),A$().s[36]++,this.props.onOpenToggle()}async createFileHandle(){A$().f[5]++;let e=(A$().s[37]++,{types:[{description:`json`,accept:{"application/json":[`.json`]}}],suggestedName:this.exportName()}),t=(A$().s[38]++,await window.showSaveFilePicker(e));return A$().s[39]++,this.props.onSetFileHandle(t),A$().s[40]++,t}changeMetadataProperty(e,t){A$().f[6]++;let n=(A$().s[41]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[e]:t}});A$().s[42]++,this.props.onStyleChanged(n)}render(){A$().f[7]++;let e=(A$().s[43]++,this.props.t),t=(A$().s[44]++,Ust(e));return A$().s[45]++,(0,R.jsx)(LW,{"data-wd-key":`modal:export`,isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:e(`Save Style`),className:`maputnik-export-modal`,children:(0,R.jsxs)(`section`,{className:`maputnik-modal-section`,children:[(0,R.jsx)(`h1`,{children:e(`Save Style`)}),(0,R.jsx)(`p`,{children:e(`Save the JSON style to your computer.`)}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(x$,{label:t.maputnik.maptiler_access_token.label,fieldSpec:t.maputnik.maptiler_access_token,value:(A$().b[6][0]++,this.props.mapStyle.metadata||(A$().b[6][1]++,{}))[`maputnik:openmaptiles_access_token`],onChange:this.changeMetadataProperty.bind(this,`maputnik:openmaptiles_access_token`)}),(0,R.jsx)(x$,{label:t.maputnik.thunderforest_access_token.label,fieldSpec:t.maputnik.thunderforest_access_token,value:(A$().b[7][0]++,this.props.mapStyle.metadata||(A$().b[7][1]++,{}))[`maputnik:thunderforest_access_token`],onChange:this.changeMetadataProperty.bind(this,`maputnik:thunderforest_access_token`)}),(0,R.jsx)(x$,{label:t.maputnik.stadia_access_token.label,fieldSpec:t.maputnik.stadia_access_token,value:(A$().b[8][0]++,this.props.mapStyle.metadata||(A$().b[8][1]++,{}))[`maputnik:stadia_access_token`],onChange:this.changeMetadataProperty.bind(this,`maputnik:stadia_access_token`)}),(0,R.jsx)(x$,{label:t.maputnik.locationiq_access_token.label,fieldSpec:t.maputnik.locationiq_access_token,value:(A$().b[9][0]++,this.props.mapStyle.metadata||(A$().b[9][1]++,{}))[`maputnik:locationiq_access_token`],onChange:this.changeMetadataProperty.bind(this,`maputnik:locationiq_access_token`)})]}),(0,R.jsxs)(`div`,{className:`maputnik-modal-export-buttons`,children:[(0,R.jsxs)(uW,{onClick:this.saveStyle.bind(this),children:[(0,R.jsx)(b7,{}),e(`Save`)]}),(A$().b[10][0]++,Qst&&(A$().b[10][1]++,(0,R.jsxs)(uW,{onClick:this.saveStyleAs.bind(this),children:[(0,R.jsx)(b7,{}),e(`Save as`)]}))),(0,R.jsxs)(uW,{onClick:this.createHtml.bind(this),children:[(0,R.jsx)(i4e,{}),e(`Create HTML`)]})]})]})})}},ect=(A$().s[46]++,er()($st));function j$(){var e=`/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx`,t=`615893f63b00bf2bdf08d7f34d665947b5e31694`,n=globalThis,r=`__coverage__`,i={path:`/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx`,statementMap:{0:{start:{line:4,column:33},end:{line:9,column:1}},1:{start:{line:5,column:1},end:{line:8,column:4}}},fnMap:{0:{name:`(anonymous_0)`,decl:{start:{line:4,column:33},end:{line:4,column:34}},loc:{start:{line:4,column:44},end:{line:9,column:1}},line:4}},branchMap:{},s:{0:0,1:0},f:{0:0},b:{},inputSourceMap:{version:3,names:[],sources:[`/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx`],mappings:`AAAA,SAAS,yBAAsD;AAC/D,SAAS,gBAAgB;;AASzB,OAAO,MAAM,qBAAuD,UAAU;CAC5E,OACE,qBAAC,UAAD;EAAU,OAAO,MAAM;YACrB,qBAAC,mBAAD,EAAmB,GAAI,MAAQ;CACvB;AAEd`},_coverageSchema:`1a1c01bbd47fc00a2c39e90264f33305004495a9`,hash:`615893f63b00bf2bdf08d7f34d665947b5e31694`},a=n[r]||(n[r]={});a[e]&&a[e].hash===t||(a[e]=i);var o=a[e];return j$=function(){return o},o}j$(),j$().s[0]++;var tct=e=>(j$().f[0]++,j$().s[1]++,(0,R.jsx)(BZ,{label:e.label,children:(0,R.jsx)(jZ,{...e})}));function M$(){var e=`/home/runner/work/maputnik/maputnik/sLine truncated
//# sourceMappingURL=index-cOHyUEve.js.map
`),r=(A$().s[9]++,new Blob([n],{type:`text/html;charset=utf-8`})),i=(A$().s[10]++,this.exportName());A$().s[11]++,(0,Yst.saveAs)(r,i+`.html`)}async saveStyle(){A$().f[3]++;let e=(A$().s[12]++,this.tokenizedStyle());if(A$().s[13]++,Qst)A$().b[2][1]++;else{A$().b[2][0]++;let t=(A$().s[14]++,new Blob([e],{type:`application/json;charset=utf-8`})),n=(A$().s[15]++,this.exportName());A$().s[16]++,(0,Yst.saveAs)(t,n+`.json`),A$().s[17]++;return}let t=(A$().s[18]++,this.props.fileHandle);if(A$().s[19]++,t==null){if(A$().b[3][0]++,A$().s[20]++,t=await this.createFileHandle(),A$().s[21]++,this.props.onSetFileHandle(t),A$().s[22]++,t==null){A$().b[4][0]++,A$().s[23]++;return}A$().b[4][1]++}else A$().b[3][1]++;let n=(A$().s[24]++,await t.createWritable());A$().s[25]++,await n.write(e),A$().s[26]++,await n.close(),A$().s[27]++,this.props.onOpenToggle()}async saveStyleAs(){A$().f[4]++;let e=(A$().s[28]++,this.tokenizedStyle()),t=(A$().s[29]++,await this.createFileHandle());if(A$().s[30]++,this.props.onSetFileHandle(t),A$().s[31]++,t==null){A$().b[5][0]++,A$().s[32]++;return}A$().b[5][1]++;let n=(A$().s[33]++,await t.createWritable());A$().s[34]++,await n.write(e),A$().s[35]++,await n.close(),A$().s[36]++,this.props.onOpenToggle()}async createFileHandle(){A$().f[5]++;let e=(A$().s[37]++,{types:[{description:`json`,accept:{"application/json":[`.json`]}}],suggestedName:this.exportName()}),t=(A$().s[38]++,await window.showSaveFilePicker(e));return A$().s[39]++,this.props.onSetFileHandle(t),A$().s[40]++,t}changeMetadataProperty(e,t){A$().f[6]++;let n=(A$().s[41]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[e]:t}});A$().s[42]++,this.props.onStyleChanged(n)}render(){A$().f[7]++;let e=(A$().s[43]++,this.props.t),t=(A$().s[44]++,Ust(e));return A$().s[45]++,(0,R.jsx)(LW,{"data-wd-key":`modal:export`,isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:e(`Save Style`),className:`maputnik-export-modal`,children:(0,R.jsxs)(`section`,{className:`maputnik-modal-section`,children:[(0,R.jsx)(`h1`,{children:e(`Save Style`)}),(0,R.jsx)(`p`,{children:e(`Save the JSON style to your computer.`)}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(x$,{label:t.maputnik.maptiler_access_token.label,fieldSpec:t.maputnik.maptiler_access_token,value:(A$().b[6][0]++,this.props.mapStyle.metadata||(A$().b[6][1]++,{}))[`maputnik:openmaptiles_access_token`],onChange:this.changeMetadataProperty.bind(this,`maputnik:openmaptiles_access_token`)}),(0,R.jsx)(x$,{label:t.maputnik.thunderforest_access_token.label,fieldSpec:t.maputnik.thunderforest_access_token,value:(A$().b[7][0]++,this.props.mapStyle.metadata||(A$().b[7][1]++,{}))[`maputnik:thunderforest_access_token`],onChange:this.changeMetadataProperty.bind(this,`maputnik:thunderforest_access_token`)}),(0,R.jsx)(x$,{label:t.maputnik.stadia_access_token.label,fieldSpec:t.maputnik.stadia_access_token,value:(A$().b[8][0]++,this.props.mapStyle.metadata||(A$().b[8][1]++,{}))[`maputnik:stadia_access_token`],onChange:this.changeMetadataProperty.bind(this,`maputnik:stadia_access_token`)}),(0,R.jsx)(x$,{label:t.maputnik.locationiq_access_token.label,fieldSpec:t.maputnik.locationiq_access_token,value:(A$().b[9][0]++,this.props.mapStyle.metadata||(A$().b[9][1]++,{}))[`maputnik:locationiq_access_token`],onChange:this.changeMetadataProperty.bind(this,`maputnik:locationiq_access_token`)})]}),(0,R.jsxs)(`div`,{className:`maputnik-modal-export-buttons`,children:[(0,R.jsxs)(uW,{onClick:this.saveStyle.bind(this),children:[(0,R.jsx)(b7,{}),e(`Save`)]}),(A$().b[10][0]++,Qst&&(A$().b[10][1]++,(0,R.jsxs)(uW,{onClick:this.saveStyleAs.bind(this),children:[(0,R.jsx)(b7,{}),e(`Save as`)]}))),(0,R.jsxs)(uW,{onClick:this.createHtml.bind(this),children:[(0,R.jsx)(i4e,{}),e(`Create HTML`)]})]})]})})}},ect=(A$().s[46]++,er()($st));function j$(){var e=`/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx`,t=`615893f63b00bf2bdf08d7f34d665947b5e31694`,n=globalThis,r=`__coverage__`,i={path:`/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx`,statementMap:{0:{start:{line:4,column:33},end:{line:9,column:1}},1:{start:{line:5,column:1},end:{line:8,column:4}}},fnMap:{0:{name:`(anonymous_0)`,decl:{start:{line:4,column:33},end:{line:4,column:34}},loc:{start:{line:4,column:44},end:{line:9,column:1}},line:4}},branchMap:{},s:{0:0,1:0},f:{0:0},b:{},inputSourceMap:{version:3,names:[],sources:[`/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx`],mappings:`AAAA,SAAS,yBAAsD;AAC/D,SAAS,gBAAgB;;AASzB,OAAO,MAAM,qBAAuD,UAAU;CAC5E,OACE,qBAAC,UAAD;EAAU,OAAO,MAAM;YACrB,qBAAC,mBAAD,EAAmB,GAAI,MAAQ;CACvB;AAEd`},_coverageSchema:`1a1c01bbd47fc00a2c39e90264f33305004495a9`,hash:`615893f63b00bf2bdf08d7f34d665947b5e31694`},a=n[r]||(n[r]={});a[e]&&a[e].hash===t||(a[e]=i);var o=a[e];return j$=function(){return o},o}j$(),j$().s[0]++;var tct=e=>(j$().f[0]++,j$().s[1]++,(0,R.jsx)(BZ,{label:e.label,children:(0,R.jsx)(jZ,{...e})}));function M$(){var e=`/home/runner/work/maputnik/maputnik/sLine truncated
//# sourceMappingURL=index-DEubPYK-.js.map
@@ -1 +1 @@
{"version":3,"file":"index-cOHyUEve.js","names":["REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_CONSUMER_TYPE","REACT_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_ACTIVITY_TYPE","REACT_VIEW_TRANSITION_TYPE","MAYBE_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","ReactNoopUpdateQueue","assign","emptyObject","Component","props","context","updater","partialState","callback","ComponentDummy","PureComponent","pureComponentPrototype","isArrayImpl","noop","ReactSharedInternals","hasOwnProperty","ReactElement","type","key","refProp","cloneAndReplaceKey","oldElement","newKey","isValidElement","object","escape","escaperLookup","match","userProvidedKeyEscapeRegex","getElementKey","element","index","resolveThenable","thenable","fulfilledValue","error","mapIntoArray","children","array","escapedPrefix","nameSoFar","invokeCallback","c","nextNamePrefix","i","mapChildren","func","result","count","child","lazyInitializer","payload","moduleObject","reportGlobalError","event","startTransition","scope","prevTransition","currentTransition","returnValue","onStartTransitionFinish","addTransitionType","transition","transitionTypes","Children","forEachFunc","forEachContext","n","exports","size","fn","config","propName","childArray","defaultValue","childrenLength","render","ctor","compare","usable","action","initialState","permalink","deps","Context","value","initialValue","create","ref","passthrough","reducer","initialArg","init","subscribe","getSnapshot","getServerSnapshot","module","require_react_production","DefaultContext","IconContext","import_react","_excluded","_objectWithoutProperties","o","_objectWithoutPropertiesLoose","r","e","t","_extends","ownKeys","_objectSpread","_defineProperty","_toPropertyKey","_toPrimitive","Tree2Element","tree","node","GenIcon","data","IconBase","elem","conf","attr","title","svgProps","computedSize","className","push","heap","parentIndex","parent","peek","pop","first","last","length","halfLength","leftIndex","left","rightIndex","right","a","b","diff","localPerformance","localDate","initialTime","taskQueue","timerQueue","taskIdCounter","currentTask","currentPriorityLevel","isPerformingWork","isHostCallbackScheduled","isHostTimeoutScheduled","needsPaint","localSetTimeout","localClearTimeout","localSetImmediate","advanceTimers","currentTime","timer","handleTimeout","isMessageLoopRunning","schedulePerformWorkUntilDeadline","firstTimer","requestHostTimeout","taskTimeoutID","frameInterval","startTime","shouldYieldToHost","performWorkUntilDeadline","hasMoreWork","previousPriorityLevel","continuationCallback","channel","port","ms","task","fps","eventHandler","priorityLevel","options","timeout","parentPriorityLevel","require_scheduler_production","React","require_react","formatProdErrorMessage","code","url","Internals","REACT_RECOVERABLE_TYPE","REACT_OPTIMISTIC_KEY","createPortal$1","containerInfo","implementation","getCrossOriginStringAs","as","input","reason","container","previousTransition","previousUpdatePriority","href","crossOrigin","integrity","fetchPriority","form","checkDCE","err","require_react_dom_production","Scheduler","require_scheduler","ReactDOM","require_react_dom","isValidContainer","getNearestMountedFiber","fiber","nextNode","getSuspenseInstanceFromFiber","suspenseState","getActivityInstanceFromFiber","activityState","assertIsMounted","findCurrentFiberUsingSlowPath","alternate","parentA","parentB","didFindChild","child$0","findCurrentHostFiberImpl","tag","traverseVisibleInstancesAndTextInstances","searchWithinHosts","getFragmentParentInstanceOrContainerFiber","fiberIsPortaledIntoHost","foundPortalParent","getFragmentInstanceOrTextInstanceSiblings","parentHostFiber","findFragmentInstanceOrTextInstanceSiblings","self","state","getInstanceFromHostFiber","searchTarget","searchBoundary","isFiberPrecedingCheck","target","boundary","isFiberFollowingCheck","getParentForFragmentAncestors","inst","getLowestCommonAncestor","instA","instB","getParent","depthA","tempA","tempB","REACT_LEGACY_ELEMENT_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_LEGACY_HIDDEN_TYPE","REACT_MEMO_CACHE_SENTINEL","REACT_CLIENT_REFERENCE","getComponentNameFromType","innerType","ReactDOMSharedInternals","sharedNotPendingObject","valueStack","createCursor","cursor","contextStackCursor","contextFiberStackCursor","rootInstanceStackCursor","hostTransitionProviderCursor","pushHostContainer","nextRootInstance","getOwnHostContext","getChildHostContextProd","popHostContainer","pushHostContext","stateHook","HostTransitionContext","JSCompiler_inline_result","popHostContext","prefix","suffix","describeBuiltInComponentFrame","name","x","reentry","describeNativeComponentFrame","construct","previousPrepareStackTrace","RunInRootFrame","Fake","control","x$1","prevProps","x$2","sample","namePropDescriptor","_RunInRootFrame$Deter","sampleStack","controlStack","sampleLines","controlLines","frame","describeFiber","childFLine truncated
{"version":3,"file":"index-DEubPYK-.js","names":["REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_CONSUMER_TYPE","REACT_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_ACTIVITY_TYPE","REACT_VIEW_TRANSITION_TYPE","MAYBE_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","ReactNoopUpdateQueue","assign","emptyObject","Component","props","context","updater","partialState","callback","ComponentDummy","PureComponent","pureComponentPrototype","isArrayImpl","noop","ReactSharedInternals","hasOwnProperty","ReactElement","type","key","refProp","cloneAndReplaceKey","oldElement","newKey","isValidElement","object","escape","escaperLookup","match","userProvidedKeyEscapeRegex","getElementKey","element","index","resolveThenable","thenable","fulfilledValue","error","mapIntoArray","children","array","escapedPrefix","nameSoFar","invokeCallback","c","nextNamePrefix","i","mapChildren","func","result","count","child","lazyInitializer","payload","moduleObject","reportGlobalError","event","startTransition","scope","prevTransition","currentTransition","returnValue","onStartTransitionFinish","addTransitionType","transition","transitionTypes","Children","forEachFunc","forEachContext","n","exports","size","fn","config","propName","childArray","defaultValue","childrenLength","render","ctor","compare","usable","action","initialState","permalink","deps","Context","value","initialValue","create","ref","passthrough","reducer","initialArg","init","subscribe","getSnapshot","getServerSnapshot","module","require_react_production","DefaultContext","IconContext","import_react","_excluded","_objectWithoutProperties","o","_objectWithoutPropertiesLoose","r","e","t","_extends","ownKeys","_objectSpread","_defineProperty","_toPropertyKey","_toPrimitive","Tree2Element","tree","node","GenIcon","data","IconBase","elem","conf","attr","title","svgProps","computedSize","className","push","heap","parentIndex","parent","peek","pop","first","last","length","halfLength","leftIndex","left","rightIndex","right","a","b","diff","localPerformance","localDate","initialTime","taskQueue","timerQueue","taskIdCounter","currentTask","currentPriorityLevel","isPerformingWork","isHostCallbackScheduled","isHostTimeoutScheduled","needsPaint","localSetTimeout","localClearTimeout","localSetImmediate","advanceTimers","currentTime","timer","handleTimeout","isMessageLoopRunning","schedulePerformWorkUntilDeadline","firstTimer","requestHostTimeout","taskTimeoutID","frameInterval","startTime","shouldYieldToHost","performWorkUntilDeadline","hasMoreWork","previousPriorityLevel","continuationCallback","channel","port","ms","task","fps","eventHandler","priorityLevel","options","timeout","parentPriorityLevel","require_scheduler_production","React","require_react","formatProdErrorMessage","code","url","Internals","REACT_RECOVERABLE_TYPE","REACT_OPTIMISTIC_KEY","createPortal$1","containerInfo","implementation","getCrossOriginStringAs","as","input","reason","container","previousTransition","previousUpdatePriority","href","crossOrigin","integrity","fetchPriority","form","checkDCE","err","require_react_dom_production","Scheduler","require_scheduler","ReactDOM","require_react_dom","isValidContainer","getNearestMountedFiber","fiber","nextNode","getSuspenseInstanceFromFiber","suspenseState","getActivityInstanceFromFiber","activityState","assertIsMounted","findCurrentFiberUsingSlowPath","alternate","parentA","parentB","didFindChild","child$0","findCurrentHostFiberImpl","tag","traverseVisibleInstancesAndTextInstances","searchWithinHosts","getFragmentParentInstanceOrContainerFiber","fiberIsPortaledIntoHost","foundPortalParent","getFragmentInstanceOrTextInstanceSiblings","parentHostFiber","findFragmentInstanceOrTextInstanceSiblings","self","state","getInstanceFromHostFiber","searchTarget","searchBoundary","isFiberPrecedingCheck","target","boundary","isFiberFollowingCheck","getParentForFragmentAncestors","inst","getLowestCommonAncestor","instA","instB","getParent","depthA","tempA","tempB","REACT_LEGACY_ELEMENT_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_LEGACY_HIDDEN_TYPE","REACT_MEMO_CACHE_SENTINEL","REACT_CLIENT_REFERENCE","getComponentNameFromType","innerType","ReactDOMSharedInternals","sharedNotPendingObject","valueStack","createCursor","cursor","contextStackCursor","contextFiberStackCursor","rootInstanceStackCursor","hostTransitionProviderCursor","pushHostContainer","nextRootInstance","getOwnHostContext","getChildHostContextProd","popHostContainer","pushHostContext","stateHook","HostTransitionContext","JSCompiler_inline_result","popHostContext","prefix","suffix","describeBuiltInComponentFrame","name","x","reentry","describeNativeComponentFrame","construct","previousPrepareStackTrace","RunInRootFrame","Fake","control","x$1","prevProps","x$2","sample","namePropDescriptor","_RunInRootFrame$Deter","sampleStack","controlStack","sampleLines","controlLines","frame","describeFiber","childFLine truncated
+1 -1
View File
@@ -7,7 +7,7 @@
<link rel="manifest" href="/maputnik/assets/manifest-BrZzkYP9.json">
<link rel="icon" href="/maputnik/assets/favicon-DBn6BKLx.ico" type="image/x-icon" />
<style>html{background-color:#1c1f24}.loading{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:absolute;top:0;left:0}.loading__logo img{width:200px;height:200px}.loading__text{color:#fff;padding-bottom:2em;font-family:sans-serif;font-size:1.2em}</style>
<script type="module" crossorigin src="/maputnik/assets/index-cOHyUEve.js"></script>
<script type="module" crossorigin src="/maputnik/assets/index-DEubPYK-.js"></script>
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-CLXnA9Qy.css">
</head>
<body>