diff --git a/404.html b/404.html index 16b0797..a0c13af 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -API des Services
\ No newline at end of file +API des Services
\ No newline at end of file diff --git a/index.html b/index.html index 16b0797..a0c13af 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -API des Services
\ No newline at end of file +API des Services
\ No newline at end of file diff --git a/js/app.3b0542ee.js b/js/app.3b0542ee.js new file mode 100644 index 0000000..3a8ec8c --- /dev/null +++ b/js/app.3b0542ee.js @@ -0,0 +1,34 @@ +(function(e){function t(t){for(var n,l,s=t[0],r=t[1],u=t[2],c=0,d=[];c"]},"optional":true,"description":"list of layers which can be requested through the control. Each array element is an object, with following properties :","name":"options.layers","value":null,"section":true},{"type":{"names":["ol.layer.Layer"]},"description":"{@link http://openlayers.org/en/latest/apidoc/ol.layer.Layer.html ol.layer.Layer} layer handled by the control (that has been added to map).","name":"options.layers.obj","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"name of the mouse event triggering getFeatureInfo on this layer (that has been added to map). allowed values are : \'singleclick\', \'dblclick\' and \'contextmenu\'. If not specified the triggering event is the current default event (see options.options.defaultEvent).","name":"options.layers.event","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"indicates the format mime-type of the response of GetFeatureInfo requests.","name":"options.layers.infoFormat","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"custom options object to configure the control, with following properties :","name":"options.options","value":null,"section":true},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"specifies if the widget should be hidden.","name":"options.options.hidden","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"specifies if the control run in automatic mode. In automatic mode all vector layers added on run time or added at map initialization can be requested through the control. The triggering event of those layers is the default event.","name":"options.options.auto","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"specifies if the control is active or inactive. In inactive mode requests are not fired and no information are displayed.","name":"options.options.active","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"singleclick\\"","description":"default triggering event chosen in the list (\'singleclick\', \'dblclick\', \'contextmenu\'). This is the triggering event of all layers added to the control without configured triggering event.","name":"options.options.defaultEvent","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"text/html\\"","description":"indicates the default format mime-type of the response of GetFeatureInfo requests.","name":"options.options.defaultInfoFormat","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"pointer\\"","description":"specifies the type of cursor to be displayed when pointing on vector feature of a layer previously added to the control. The value must be choosen in the possible values of the css cursor property.","name":"options.options.cursorStyle","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Proxy URL to avoid cross-domain problems.","name":"options.options.proxyUrl","value":null,"section":false},{"type":{"names":["Array."]},"optional":true,"description":"Proxy will not be used for this list of domain names. Only use if you know what you\'re doing.","name":"options.options.noProxyDomains","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Specifies whether the map should auto-pan if the pop-up is rendered outside of the canvas. Defaults to true.","name":"options.options.autoPan","value":null,"section":true},{"type":{"names":["Object"]},"optional":true,"description":"Used to customize the auto-pan animation. See {@link https://openlayers.org/en/latest/apidoc/module-ol_Overlay.html#~PanOptions PanOptions}.","name":"options.options.autoPanAnimation","value":null,"section":false},{"type":{"names":["Number"]},"optional":true,"description":"Margin (in pixels) between the pop-up and the border of the map when autopanning. Default is 20.","name":"options.options.autoPanMargin","value":null,"section":false}]}')},"0b5d":function(e,t,o){"use strict";var n=function(){var e=this,t=e._self._c;return t("div",{},[t("h2",[e._v("Generateur de carte "+e._s(e.name))]),t("form",{attrs:{id:"",action:"javascript:void(0);",novalidate:""},on:{submit:e.onSubmitGenerateMap}},[t("TheCollapsible",{attrs:{active:"false",name:"menu-options-map",title:"Options de la carte"}}),t("div",{attrs:{id:"params-map"}},[t("TheCptOptionsMenu",{attrs:{names:e.getMapNames}}),e._l(e.getMapOptions,(function(o){return t("div",{key:o.id},[t("TheCptOptions",{attrs:{options:o},on:{"check-option":e.onActive}})],1)}))],2),t("TheCollapsible",{attrs:{active:"false",name:"menu-options-widgets",title:"Options des widgets"}}),t("div",{attrs:{id:"params-widgets"}},[t("TheCptOptionsMenu",{attrs:{names:e.getWidgetNames}}),e._l(e.getWidgetOptions,(function(o){return t("div",{key:o.id},[t("TheCptOptions",{attrs:{options:o},on:{"check-option":e.onActive}})],1)}))],2),t("TheCollapsible",{attrs:{active:"true",name:"menu-options-generate",title:"Options de génération de la carte"}}),t("div",{attrs:{id:"params-generate"}},[t("button",{staticClass:"button",attrs:{type:"submit"}},[e._v("Générer la carte")]),t("button",{staticClass:"button",attrs:{type:"button"},on:{click:e.onClickReset}},[e._v("Réinitialiser les options")]),t("button",{staticClass:"button",attrs:{type:"button"},on:{click:e.onClickShowCode}},[e._v("Afficher le code")]),t("button",{staticClass:"button",attrs:{type:"button"},on:{click:e.onClickExportMap}},[e._v("Exporter la carte")])])],1),t("div",{style:{display:e.display},attrs:{id:"mapContainer"}},[t("div",{attrs:{id:"map"}})]),t("TheVersion",{attrs:{version:e.info.version,date:e.info.date}}),e.show?t("ThePopup",{on:{close:e.onClickClosePopup,copy:e.onClickCopyCode},scopedSlots:e._u([{key:"header",fn:function(){return[t("h3",[e._v("Code JS")])]},proxy:!0},{key:"body",fn:function(){return[t("highlightjs",{attrs:{language:"javascript",code:e.code}})]},proxy:!0},{key:"footer",fn:function(){return[e._v(" version "+e._s(e.info.version)+" ")]},proxy:!0}],null,!1,2169187397)}):e._e()],1)},a=[],i=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"info"}},[t("p",[e._v(" Bibliothèque des extensions version "+e._s(e.version)+" ( "+e._s(e.date)+" )")])])},l=[],s={name:"TheVersion",props:{version:String,date:String}},r=s,u=(o("3ad3"),o("2877")),p=Object(u["a"])(r,i,l,!1,null,"f5c173a8",null),c=p.exports,d=function(){var e=this,t=e._self._c;return t("button",{staticClass:"collapsible",attrs:{id:e.name,type:"button"}},[e._v(e._s(e.title))])},m=[],f={name:"TheCollapsible",props:{name:String,title:String},mounted(){var e=document.getElementById(this.name),t=e.nextElementSibling;"true"===this.$attrs.active?(t.style.display="block",e.classList.toggle("active")):t.style.display="none",e.addEventListener("click",(function(){this.classList.toggle("active");var e=this.nextElementSibling;"block"===e.style.display?e.style.display="none":e.style.display="block"}))}},y=f,v=(o("f33f"),Object(u["a"])(y,d,m,!1,null,"4cabe56d",null)),h=v.exports,g=function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"modal"}},[t("div",{staticClass:"modal-mask"},[t("div",{staticClass:"modal-close",on:{click:function(t){return e.$emit("close")}}},[e._v("×")]),t("div",{staticClass:"modal-wrapper"},[t("div",{staticClass:"modal-container"},[t("div",{staticClass:"modal-header"},[e._t("header",(function(){return[e._v(" default header ")]}))],2),t("div",{staticClass:"modal-body"},[e._t("body",(function(){return[e._v(" default body ")]}))],2),t("div",{staticClass:"modal-footer"},[e._t("footer",(function(){return[e._v(" default footer ")]})),t("div",{staticClass:"container-default-buttons"},[t("button",{staticClass:"modal-default-button",on:{click:function(t){return t.preventDefault(),e.$emit("close")}}},[e._v(" Fermer ")]),t("button",{staticClass:"modal-default-button",on:{click:function(t){return t.preventDefault(),e.$emit("copy")}}},[e._v(" Copier ")])])],2)])])])])},b=[],w={name:"ThePopup"},S=w,O=(o("8fee"),Object(u["a"])(S,g,b,!1,null,"75e6057a",null)),C=O.exports,k=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tabcontent",attrs:{id:e.options.name}},[!0===e.options.auto?t("div",{staticClass:"check-option"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.active,expression:"active"}],attrs:{type:"checkbox",name:e.options.name},domProps:{checked:Array.isArray(e.active)?e._i(e.active,null)>-1:e.active},on:{change:[function(t){var o=e.active,n=t.target,a=!!n.checked;if(Array.isArray(o)){var i=null,l=e._i(o,i);n.checked?l<0&&(e.active=o.concat([i])):l>-1&&(e.active=o.slice(0,l).concat(o.slice(l+1)))}else e.active=a},function(t){return e.onChangeCheckOption(t)}]}}),t("span",[e._v('Activation du widget "'+e._s(e.options.name)+'"')])]):e._e(),t("fieldset",[!0===e.options.auto?t("legend",[e._v(" Options du widgets "),t("button",{staticClass:"button-exemple",attrs:{type:"button"},on:{click:e.onClickShowExample}},[e._v("exemple")])]):e._e(),e._l(e.options.params,(function(o){return t("div",{key:o.id,ref:e.options.name,refInFor:!0,staticClass:"button-options"},[t("TheCptOptionType",{attrs:{option:o,name:e.options.name,auto:e.options.auto},on:{"change-value":e.onChangeValue}})],1)}))],2),e.show?t("ThePopup",{on:{close:e.onClickClosePopup,copy:e.onClickCopyCode},scopedSlots:e._u([{key:"header",fn:function(){return[t("h3",[e._v("Exemples")])]},proxy:!0},{key:"body",fn:function(){return[t("pre",[e._v(e._s(e.exemple))])]},proxy:!0},{key:"footer",fn:function(){return[e._v(" ... ")]},proxy:!0}],null,!1,1685722139)}):e._e()],1)},j=[],A=function(){var e=this,t=e._self._c;return!0===e.isSection()?t("div",{staticClass:"div-option-section"},[e._v(" "+e._s(e.option.name)+" ")]):t("div",{staticClass:"div-option"},[t("button",{staticClass:"button-option",attrs:{type:"button",id:e.name+"."+e.option.name,title:e.option.description},on:{click:function(t){return e.onClickButtonOption(t)}}},[e._v(" "+e._s(e.option.name)+" ")]),t("div",{ref:e.name+"."+e.option.name,staticClass:"panel-option"},["string"===e.option.type.names[0].toLowerCase()?t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],ref:"type-option",staticClass:"type-text-option",attrs:{type:"text"},domProps:{value:e.value},on:{change:function(t){return e.onChangeValue(t,!1)},input:function(t){t.target.composing||(e.value=t.target.value)}}})]):"boolean"===e.option.type.names[0].toLowerCase()?t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],ref:"type-option",staticClass:"type-check-option",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.value)?e._i(e.value,null)>-1:e.value},on:{change:[function(t){var o=e.value,n=t.target,a=!!n.checked;if(Array.isArray(o)){var i=null,l=e._i(o,i);n.checked?l<0&&(e.value=o.concat([i])):l>-1&&(e.value=o.slice(0,l).concat(o.slice(l+1)))}else e.value=a},function(t){return e.onChangeValue(t,!1)}]}})]):"array"===e.option.type.names[0].toLowerCase()?t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],ref:"type-option",staticClass:"type-array-option",attrs:{type:"text",placeholder:"[ ]"},domProps:{value:e.value},on:{change:function(t){return e.onChangeValue(t,!0)},input:function(t){t.target.composing||(e.value=t.target.value)}}})]):"array."===e.option.type.names[0].toLowerCase()?t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],ref:"type-option",staticClass:"type-array-option",attrs:{type:"text",placeholder:"[{ }]"},domProps:{value:e.value},on:{change:function(t){return e.onChangeValue(t,!0)},input:function(t){t.target.composing||(e.value=t.target.value)}}})]):"number"===e.option.type.names[0].toLowerCase()?t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],ref:"type-option",staticClass:"type-number-option",attrs:{type:"number"},domProps:{value:e.value},on:{change:function(t){return e.onChangeValue(t,!1)},input:function(t){t.target.composing||(e.value=t.target.value)}}})]):"object"===e.option.type.names[0].toLowerCase()?t("div",[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],ref:"type-option",staticClass:"type-obj-option",attrs:{placeholder:"{ }"},domProps:{value:e.value},on:{change:function(t){return e.onChangeValue(t,!0)},input:function(t){t.target.composing||(e.value=t.target.value)}}})]):"function"===e.option.type.names[0].toLowerCase()?t("div",[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],ref:"type-option",staticClass:"type-fct-option",attrs:{placeholder:"{ }"},domProps:{value:e.value},on:{change:function(t){return e.onChangeValue(t,!0)},input:function(t){t.target.composing||(e.value=t.target.value)}}})]):t("div",[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],ref:"type-option",staticClass:"type-obj-option",attrs:{placeholder:"{ }"},domProps:{value:e.value},on:{change:function(t){return e.onChangeValue(t,!0)},input:function(t){t.target.composing||(e.value=t.target.value)}}})])])])},x=[],L={name:"TheCptOptionType",props:{option:Object,name:String,auto:Boolean},data(){return{value:null}},mounted(){if(this.$log.debug(this,this.option.defaultvalue),"defaultvalue"in this.option){var e=this.$refs["type-option"];if(e){var t=this.option.defaultvalue;switch(this.value=t,"string"===typeof t&&0===t.indexOf('"')&&t.lastIndexOf('"')===t.length-1&&(this.value=t.slice(1,-1)),e.className){case"type-text-option":case"type-number-option":e.value=this.value,this.auto||this.onChangeValue(e,!1);break;case"type-obj-option":case"type-array-option":case"type-fct-option":e.value=this.value,this.auto||this.onChangeValue(e,!0);break;case"type-check-option":e.checked=this.value,this.auto||this.onChangeValue(e,!1);break;default:this.$log.warn("type de classe inconnu",e.className)}}}},methods:{isSection(){return"section"in this.option&&this.option.section},onClickButtonOption(e){var t=e.target.id;"none"===this.$refs[t].style.display||""===this.$refs[t].style.display?this.$refs[t].style.display="block":this.$refs[t].style.display="none"},onChangeValue(e,t){if(null!==this.value){var o=t?this.value.replace(/'/g,'"'):this.value;if(this.option.value=o,t)try{this.option.value=JSON.parse(o)}catch(n){this.$log.error("Parsing error JSON.parse() :",this.option,n)}this.$emit("change-value",{target:e,value:this.value,name:this.name,option:this.option})}else this.$log.error("Change value but it's null",this.option)}}},P=L,M=(o("693f"),Object(u["a"])(P,A,x,!1,null,"04662b44",null)),B=M.exports,D={name:"TheCptOptions",components:{ThePopup:C,TheCptOptionType:B},props:{options:Object},data(){return{show:!1,exemple:"",active:!1}},methods:{onChangeCheckOption(e){this.$emit("check-option",{type:this.options.name,value:e.target.checked})},onChangeValue(e){this.$log.debug(e)},onClickShowExample(){this.show=!0,this.options.examples.forEach(e=>{this.exemple+=e})},onClickClosePopup(){this.show=!1},onClickCopyCode(){var e=this;navigator.clipboard.writeText(this.exemple).then(()=>{e.$log.info("Copy to clipboard !")},()=>{e.$log.error("Copy to clipboard not supported !")})}}},G=D,I=(o("f7a8"),Object(u["a"])(G,k,j,!1,null,"a3f1d260",null)),T=I.exports,E=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tab"},e._l(e.names,(function(o,n){return t("button",{key:n,ref:"tablinks_"+n,refInFor:!0,staticClass:"tablinks button-menu",class:{active:0===n},attrs:{type:"button"},on:{click:function(t){return e.onClickButtonOpenOptions(t,o)}}},[t("span",[e._v(e._s(o)+" ")])])})),0)},_=[],N={name:"TheCptOptionsMenu",props:{names:Array},mounted(){this.$refs["tablinks_0"][0].click()},methods:{onClickButtonOpenOptions(e,t){for(var o=this.$el.parentElement.getElementsByClassName("tabcontent"),n=0;n + + + + + + + + + + + + + + + + Exemple + + + +

Extensions Géoportail

+ +
+ + + + + `}function H(){return"\n #map:{\n height: 400px;\n }\n "}var Z={clear:q,addLayer:z,addView:U,addWidget:$,getCodeJS:Y,getCodeHTML:X,getCodeCSS:H},Q=o("330b"),ee=o.n(Q);function te(e){return e&&"object"===typeof e&&!Array.isArray(e)}function oe(e,...t){if(!t.length)return e;const o=t.shift();if(te(e)&&te(o))for(const n in o)te(o[n])?(e[n]||Object.assign(e,{[n]:{}}),oe(e[n],o[n])):Object.assign(e,{[n]:o[n]});return oe(e,...t)}function ne(e){var t={name:e.name,options:{}};return e.params.forEach(e=>{if("value"in e&&null!==e.value){var o=new ee.a;o.set(e.name,e.value);var n=o.data();oe(t,n)}}),t.options}var ae=o("5eee"),ie=o("a2c7"),le=o("1ab5"),se=o("a2e1"),re=o("cbcb"),ue=o("5831"),pe=o("3e6b"),ce=(o("5bc0"),o("e606")),de=o("a06c"),me=o("150c"),fe=o("899d"),ye=o("0872"),ve=o("ad19"),he=o("adb8"),ge=o("6cdf"),be=o("456f"),we=o("87fd"),Se=o("53fd"),Oe=o("0107"),Ce=o("0ca0"),ke=o("10b4"),je=o("baab"),Ae=o("2414"),xe=o("74ec");const Le=!0;Le?ce["a"].disableAll():ce["a"].enableAll();const Pe="/geoportal-extensions-openlayers-samples/";function Me(){var e=document.getElementById("map");while(e.hasChildNodes())e.removeChild(e.firstChild)}function Be(e,t){var o=function(){Z.clear();var o=[];e.ol.layer.params.forEach(e=>{e.section||e.value&&("tile"===e.service.toLowerCase()&&(o.push(new ce["e"].layer.GeoportalWMTS({layer:e.name})),Z.addLayer("tile",e.name)),"image"===e.service.toLowerCase()&&(o.push(new ce["e"].layer.GeoportalWMS({layer:e.name})),Z.addLayer("image",e.name)),"vector.kml"===e.service.toLowerCase()&&(o.push(new pe["a"]({source:new ue["a"]({url:Pe+e.name,format:new le["a"]})})),Z.addLayer("vector.kml",e.name)),"vector.gpx"===e.service.toLowerCase()&&(o.push(new pe["a"]({source:new ue["a"]({url:Pe+e.name,format:new re["a"]})})),Z.addLayer("vector.gpx",e.name)),"vector.geojson"===e.service.toLowerCase()&&(o.push(new pe["a"]({source:new ue["a"]({url:Pe+e.name,format:new se["a"]})})),Z.addLayer("vector.geojson",e.name)),"vectortile"===e.service.toLowerCase()&&o.push())});var n,a=new ae["a"]({target:"map",layers:o,view:new ie["a"](ne(e.ol.view))});if(Z.addView(ne(e.ol.view)),t.drawing){n=ne(e.drawing);var i=new ce["e"].control.Drawing;a.addControl(i),Z.addWidget("drawing",n)}if(t.isocurve){n=ne(e.isocurve);var l=new ce["e"].control.Isocurve(n);a.addControl(l),Z.addWidget("isocurve",n)}if(t.layerimport){n=ne(e.layerimport);var s=new ce["e"].control.LayerImport(n);a.addControl(s),Z.addWidget("layerimport",n)}if(t.layerswitcher){n=ne(e.layerswitcher);var r=new ce["e"].control.LayerSwitcher(n);a.addControl(r),Z.addWidget("layerswitcher",n)}if(t.geoportalmouseposition){n=ne(e.geoportalmouseposition);var u=new ce["e"].control.GeoportalMousePosition(n);a.addControl(u),Z.addWidget("geoportalmouseposition",n)}if(t.route){n=ne(e.route);var p=new ce["e"].control.Route(n);a.addControl(p),Z.addWidget("route",n)}if(t.reversegeocode){n=ne(e.reversegeocode);var c=new ce["e"].control.ReverseGeocode(n);a.addControl(c),Z.addWidget("reversegeocode",n)}if(t.searchengine){n=ne(e.searchengine);var d=new ce["e"].control.SearchEngine(n);a.addControl(d),Z.addWidget("searchengine",n)}if(t.getfeatureinfo){n=ne(e.getfeatureinfo);var m=new ce["e"].control.GetFeatureInfo(n);a.addControl(m),Z.addWidget("getfeatureinfo",n)}if(t.measurelength){n=ne(e.measurelength);var f=new ce["e"].control.MeasureLength(n);a.addControl(f),Z.addWidget("measurelength",n)}if(t.measurearea){n=ne(e.measurearea);var y=new ce["e"].control.MeasureArea(n);a.addControl(y),Z.addWidget("measurearea",n)}if(t.measureazimuth){n=ne(e.measureazimuth);var v=new ce["e"].control.MeasureAzimuth(n);a.addControl(v),Z.addWidget("measureazimuth",n)}if(t.elevationpath){n=ne(e.elevationpath);var h=new ce["e"].control.ElevationPath(n);a.addControl(h),Z.addWidget("elevationpath",n)}if(t.geoportalattribution){n=ne(e.geoportalattribution);var g=new ce["e"].control.GeoportalAttribution(n);a.addControl(g),Z.addWidget("geoportalattribution",n)}};ce["b"].getConfig({apiKey:R["a"].apiKey,protocol:"XHR",onSuccess:o})}function De(){return R["a"].project.library.name}function Ge(){return{measurelength:Se,measurearea:be,measureazimuth:we,drawing:de,layerimport:he,getfeatureinfo:ye,geoportalattribution:fe,route:ke,geoportalmouseposition:Oe,layerswitcher:ge,reversegeocode:Ce,searchengine:je,isocurve:ve,elevationpath:me}}function Ie(){return{ol:{view:Ae,layer:xe}}}function Te(){return{measurelength:!1,measurearea:!1,measureazimuth:!1,drawing:!1,layerimport:!1,getfeatureinfo:!1,geoportalattribution:!1,route:!1,geoportalmouseposition:!1,layerswitcher:!1,reversegeocode:!1,searchengine:!1,isocurve:!1,elevationpath:!1}}function Ee(){return{version:"["+ce["d"]+"]",date:ce["c"]}}var _e=o("21a6"),Ne={name:"MyCptGeneratorMap",components:{TheVersion:c,TheCollapsible:h,TheCptOptions:T,TheCptOptionsMenu:J,ThePopup:C},data(){return{show:!1,code:"",display:"none",name:De(),info:Ee(),options:Object.assign(Ge(),Ie()),active:Te()}},computed:{getWidgetNames(){var e=[];for(const o in Ge())if(Object.hasOwnProperty.call(Ge(),o)){var t=Ge()[o];e.push(t.name)}return e.sort()},getWidgetOptions(){return Ge()},getMapNames(){var e=[],t=Object.keys(Ie())[0];for(const n in Ie()[t])if(Object.hasOwnProperty.call(Ie()[t],n)){var o=Ie()[t][n];e.push(o.name)}return e},getMapOptions(){var e=Object.keys(Ie())[0];return Ie()[e]}},methods:{onSubmitGenerateMap(){Me(),this.display="block",Be(this.options,this.active)},onClickShowCode(){this.show=!0,this.code=Z.getCodeJS()},onClickExportMap(){try{var e=!!new Blob;e&&this.$log.debug("Blob is supported...")}catch(o){this.$log.error("Blob not supported !")}var t=new Blob([Z.getCodeHTML()],{type:"text/plain;charset=utf-8"});Object(_e["saveAs"])(t,"index.html")},onClickReset(){},onClickCopyCode(){var e=this;navigator.clipboard.writeText(Z.getCodeJS()).then(()=>{e.$log.info("Copy to clipboard !")},()=>{e.$log.error("Copy to clipboard not supported !")})},onClickClosePopup(){this.show=!1},onActive(e){this.active[e.type]=e.value}}},Ve=Ne,Fe=(o("d320"),Object(u["a"])(Ve,n,a,!1,null,"68221b20",null));t["a"]=Fe.exports},"0ca0":function(e){e.exports=JSON.parse('{"name":"reversegeocode","auto":true,"params":[{"type":{"names":["Object"]},"description":"ReverseGeocode control options","name":"options","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"API key for services call (reverse geocode service), mandatory if autoconf service has not been charged in advance","name":"options.apiKey","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":true,"description":"use of ssl or not (default true, service requested using https protocol)","name":"options.ssl","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Specify if widget has to be collapsed (true) or not (false) on map loading. Default is true.","name":"options.collapsed","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"Specify if widget is draggable","name":"options.draggable","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"[\\"StreetAddress\\", \\"PositionOfInterest\\", \\"CadastralParcel\\"]","description":"resources for geocoding, by default : [\\"StreetAddress\\", \\"PositionOfInterest\\", \\"CadastralParcel\\"]. Possible values are : \\"StreetAddress\\", \\"PositionOfInterest\\", \\"CadastralParcel\\". Resources will be displayed in the same order in widget list.","name":"options.resources","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"[\\"Point\\", \\"Circle\\", \\"Extent\\"]","description":"delimitations for reverse geocoding, by default : [\\"Point\\", \\"Circle\\", \\"Extent\\"]. Possible values are : \\"Point\\", \\"Circle\\", \\"Extent\\". Delimitations will be displayed in the same order in widget list.","name":"options.delimitations","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"reverse geocode service options. see {@link http://ignf.github.io/geoportal-access-lib/latest/jsdoc/module-Services.html#~reverseGeocode Gp.Services.reverseGeocode()} to know all reverse geocode options.","name":"options.reverseGeocodeOptions","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Layer informations to be displayed in LayerSwitcher widget (only if a LayerSwitcher is also added to the map)","name":"options.layerDescription","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Saisie (recherche inverse)\\"","description":"Layer title to be displayed in LayerSwitcher","name":"options.layerDescription.title","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Couche de saisie d\'une zone de recherche pour la recherche inverse\\"","description":"Layer description to be displayed in LayerSwitcher","name":"options.layerDescription.description","value":null,"section":false}],"examples":["var iso = ol.control.ReverseGeocode({\\n \\"collapsed\\" : false,\\n \\"draggable\\" : true,\\n \\"resources\\" : [\\"StreetAddress\\", \\"PositionOfInterest\\"],\\n \\"delimitations\\" : [\\"Point\\", \\"Circle\\"],\\n \\"reverseGeocodeOptions\\" : {}\\n });"]}')},"10b4":function(e){e.exports=JSON.parse('{"name":"route","auto":true,"params":[{"type":{"names":["Object"]},"description":"route control options","name":"options","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"API key for services call (route and autocomplete services), mandatory if autoconf service has not been charged in advance","name":"options.apiKey","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"use of ssl or not (default true, service requested using https protocol)","name":"options.ssl","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Specify if widget has to be collapsed (true) or not (false) on map loading. Default is true.","name":"options.collapsed","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"Specify if widget is draggable","name":"options.draggable","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"Specify if button \\"Export\\" is displayed","name":"options.export","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{\\"toll\\" : false, \\"tunnel\\" : false, \\"bridge\\" : false}","description":"list of exclusions with status (true = checked). By default : no exclusions checked.","name":"options.exclusions","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"defaultvalue":"[\\"Voiture\\", \\"Pieton\\"]","description":"list of resources, by default : [\\"Voiture\\", \\"Pieton\\"]. The first element is selected.","name":"options.graphs","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"route service options. see {@link http://ignf.github.io/geoportal-access-lib/latest/jsdoc/module-Services.html#~route Gp.Services.route()} to know all route options.","name":"options.routeOptions","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"autocomplete service options. see {@link http://ignf.github.io/geoportal-access-lib/latest/jsdoc/module-Services.html#~autoComplete Gp.Services.autoComplete()} to know all autocomplete options","name":"options.autocompleteOptions","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"options to use your own markers. Object properties can be \\"departure\\", \\"stages\\" or \\"arrival\\". Corresponding value is an object with following properties :","name":"options.markersOpts","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"marker base64 encoded url (ex \\"data:image/png;base64,...\\"\\"). Mandatory for a custom marker","name":"options.markersOpts.url","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"description":"Offsets in pixels used when positioning the overlay. The first element in the array is the horizontal offset. A positive value shifts the overlay right. The second element in the array is the vertical offset. A positive value shifts the overlay down. Default is [0, 0]. (see http://openlayers.org/en/latest/apidoc/ol.Overlay.html)","name":"options.markersOpts.offset","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Layer informations to be displayed in LayerSwitcher widget (only if a LayerSwitcher is also added to the map)","name":"options.layerDescription","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Itinéraire\\"","description":"Layer title to be displayed in LayerSwitcher","name":"options.layerDescription.title","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Itinéraire basé sur un graphe\\"","description":"Layer description to be displayed in LayerSwitcher","name":"options.layerDescription.description","value":null,"section":false}],"examples":["var route = ol.control.Route({\\n \\"collapsed\\" : true\\n \\"draggable\\" : true,\\n \\"export\\" : false,\\n \\"exclusions\\" : {\\n \\"toll\\" : true,\\n \\"bridge\\" : false,\\n \\"tunnel\\" : true\\n },\\n \\"graphs\\" : [\'Pieton\', \'Voiture\'],\\n \\"markersOpts\\" : {\\n \\"departure\\" : {\\n \\"url\\" : \\"...\\",\\n \\"offset\\" : [0,0]\\n },\\n \\"stages\\" : {\\n \\"url\\" : \\"...\\",\\n \\"offset\\" : [0,0]\\n },\\n \\"arrival\\" : {\\n \\"url\\" : \\"...\\",\\n \\"offset\\" : [0,0]\\n }\\n }\\n \\"autocompleteOptions\\" : {},\\n \\"routeOptions\\" : {}\\n });"]}')},"11c5":function(e,t,o){},"150c":function(e){e.exports=JSON.parse('{"name":"elevationpath","auto":true,"params":[{"type":{"names":["Object"]},"description":"options for function call.","name":"options","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"API key for services call (isocurve and autocomplete services), mandatory if autoconf service has not been charged in advance","name":"options.apiKey","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"specify if control should be actived at startup. Default is false.","name":"options.active","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"use of ssl or not (default true, service requested using https protocol)","name":"options.ssl","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"Specify if button \\"Export\\" is displayed","name":"options.export","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"elevation path service options. See {@link http://ignf.github.io/geoportal-access-lib/latest/jsdoc/module-Services.html#~getAltitude Gp.Services.getAltitude()} for available options","name":"options.elevationPathOptions","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Layer informations to be displayed in LayerSwitcher widget (only if a LayerSwitcher is also added to the map)","name":"options.layerDescription","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Profil altimétrique\\"","description":"Layer title to be displayed in LayerSwitcher","name":"options.layerDescription.title","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Mon profil altimétrique\\"","description":"Layer description to be displayed in LayerSwitcher","name":"options.layerDescription.description","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"styles management","name":"options.stylesOptions","value":null,"section":true},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"styles management of marker displayed on map when the user follows the elevation path. Specified with an {@link https://openlayers.org/en/latest/apidoc/module-ol_style_Image-ImageStyle.html ol.style.Image} subclass object","name":"options.stylesOptions.marker","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"styles used when drawing. Specified with following properties.","name":"options.stylesOptions.draw","value":null,"section":true},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Style for mouse pointer when drawing the line. Specified with an {@link https://openlayers.org/en/latest/apidoc/module-ol_style_Image-ImageStyle.html ol.style.Image} subclass object.","name":"options.stylesOptions.draw.pointer","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Line Style when drawing. Specified with an {@link https://openlayers.org/en/latest/apidoc/module-ol_style_Stroke-Stroke.html ol.style.Stroke} object.","name":"options.stylesOptions.draw.start","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Line Style when finished drawing. Specified with an {@link https://openlayers.org/en/latest/apidoc/module-ol_style_Stroke-Stroke.html ol.style.Stroke} object.","name":"options.stylesOptions.draw.finish","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"profile options.","name":"options.displayProfileOptions","value":null,"section":true},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"display the total distance of the path","name":"options.displayProfileOptions.totalDistance","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"display the greater slope into the graph","name":"options.displayProfileOptions.greaterSlope","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"display the mean slope into the graph","name":"options.displayProfileOptions.meanSlope","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"display the ascending elevation into the graph","name":"options.displayProfileOptions.ascendingElevation","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"display the descending elevation into the graph","name":"options.displayProfileOptions.descendingElevation","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"display current slope value on profile mouseover","name":"options.displayProfileOptions.currentSlope","value":null,"section":false},{"type":{"names":["function"]},"optional":true,"description":"function to display profile if you want to cutomise it. By default, ([DISPLAY_PROFILE_BY_DEFAULT()](./ol.control.ElevationPath.html#.DISPLAY_PROFILE_BY_DEFAULT)) is used. Helper functions to use with D3 ([DISPLAY_PROFILE_LIB_D3()](./ol.control.ElevationPath.html#.DISPLAY_PROFILE_LIB_D3)) or AmCharts ([DISPLAY_PROFILE_LIB_AMCHARTS()](./ol.control.ElevationPath.html#.DISPLAY_PROFILE_LIB_AMCHARTS)) frameworks are also provided. You may also provide your own function.","name":"options.displayProfileOptions.apply","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"DOM container to use to display the profile.","name":"options.displayProfileOptions.target","value":null,"section":false}],"examples":["var measure = new ol.control.ElevationPath({\\n export : false,\\n stylesOptions : {\\n draw : {\\n finish : new ol.style.Stroke({\\n color : \\"rgba(0, 0, 0, 0.5)\\",\\n width : 2\\n })\\n },\\n }\\n displayProfileOptions : {\\n apply : ol.control.ElevationPath.DISPLAY_PROFILE_RAW,\\n }\\n});\\n\\nExemples :\\n- displayProfileOptions.apply : null\\n- displayProfileOptions.apply : function (elevations, container, context) { // do some stuff... }\\n- displayProfileOptions.apply : ol.control.ElevationPath.DISPLAY_PROFILE_{LIB_AMCHARTS | LIB_D3 | RAW}"]}')},2414:function(e){e.exports=JSON.parse('{"name":"view","auto":false,"params":[{"type":{"names":["Object"]},"description":"View options","name":"options","defaultvalue":null,"value":null,"section":true},{"type":{"names":["Array"]},"description":"The initial center for the view. If a user projection is not set, the coordinate system for the center is specified with the projection option.","name":"options.center","defaultvalue":"[288074.8449901076, 6247982.515792289]","value":null,"section":false},{"type":{"names":["Number"]},"description":"Zoom level used to calculate the initial resolution for the view.","name":"options.zoom","defaultvalue":16,"value":null,"section":false},{"type":{"names":["Boolean"]},"description":"","name":"options.multiWorld","defaultvalue":false,"value":null,"section":false},{"type":{"names":["String"]},"description":"The projection. The default is Spherical Mercator.","name":"options.projection","defaultvalue":"EPSG:3857","value":null,"section":false},{"type":{"names":["Number"]},"description":"The initial rotation for the view in radians (positive rotation clockwise, 0 means North).","name":"options.rotation","defaultvalue":0,"value":null,"section":false},{"type":{"names":["Number"]},"description":"The zoom factor used to compute the corresponding resolution.","name":"options.zoomFactor","defaultvalue":2,"value":null,"section":false}]}')},2583:function(e,t,o){e.exports=o.p+"img/jsdoc.166b2c14.png"},"327b":function(e,t,o){"use strict";o("bd20")},"3ad3":function(e,t,o){"use strict";o("cda1")},"3d14":function(e,t,o){e.exports=o.p+"img/logo-openlayers.1207e253.png"},"3dfd":function(e,t,o){"use strict";var n=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("TheHeader",{attrs:{title:"Exemples d'utilisation de l'API des extensions"}}),t("div",{attrs:{id:"app-content"}},[t("div",{staticClass:"header-library"},[t("div",{staticClass:"header-p"},[t("a",{attrs:{href:e.url}},[t("img",{attrs:{src:o("3d14"),alt:"OpenLayers",width:"50",height:"50"}})])]),t("div",{staticClass:"header-p"},[e._v("Accès à la bibliothèque des "),t("a",{attrs:{href:e.source}},[e._v("extensions Geoportail")])])]),t("TheRouter",{attrs:{name:e.name}}),t("router-view"),t("TheFooter")],1)],1)},a=[],i=function(){var e=this,t=e._self._c;return t("header",[t("div",{staticClass:"header-content"},[t("a",{staticClass:"ribbon-github",attrs:{href:e.source}},[e._v("Fork me on GitHub")]),e._m(0),t("h1",[e._v(e._s(e.title))])])])},l=[function(){var e=this,t=e._self._c;return t("p",{staticClass:"logoIGN"},[t("a",{attrs:{href:"https://www.ign.fr"}},[t("img",{attrs:{src:o("67c8"),alt:"IGN",width:"94",height:"100"}})])])}],s=o("db49"),r={name:"TheHeader",props:{title:String},data(){return{source:s["a"].project.sourceProject}}},u=r,p=(o("327b"),o("2877")),c=Object(p["a"])(u,i,l,!1,null,"704a8df7",null),d=c.exports,m=function(){var e=this;e._self._c;return e._m(0)},f=[function(){var e=this,t=e._self._c;return t("footer",[t("div",{staticClass:"header-content"},[t("p",[t("img",{staticClass:"logo",attrs:{src:o("f7a1"),alt:"IGN",title:"IGN",width:"51",height:"25"}}),t("img",{staticClass:"baseline",attrs:{src:o("f207"),alt:"L'information grandeur nature",title:"L'information grandeur nature",width:"256",height:"21"}})])])])}],y={name:"TheFooter"},v=y,h=(o("017e"),Object(p["a"])(v,m,f,!1,null,"602bfec5",null)),g=h.exports,b=function(){var e=this,t=e._self._c;return t("div",{staticClass:"feature"},[t("router-link",{staticClass:"button",attrs:{to:"/generator"}},[t("img",{attrs:{src:o("8b55"),alt:"IGN",width:"250",height:"250"}})]),t("router-link",{staticClass:"button",attrs:{to:"/jsdoc"}},[t("img",{attrs:{src:o("2583"),alt:"IGN",width:"250",height:"250"}})])],1)},w=[],S={name:"TheRouter",props:{name:String}},O=S,C=(o("afc5"),Object(p["a"])(O,b,w,!1,null,"0edb326e",null)),k=C.exports,j={name:"App",components:{TheHeader:d,TheRouter:k,TheFooter:g},data(){return{source:s["a"].project.sourceExtensions,url:s["a"].project.library.url,logo:s["a"].project.library.logo,name:s["a"].project.library.name}}},A=j,x=(o("dc99"),Object(p["a"])(A,n,a,!1,null,"d2b5937e",null));t["a"]=x.exports},"3ef8":function(e,t,o){},4302:function(e,t,o){},"43b1":function(e,t,o){},"456f":function(e){e.exports=JSON.parse('{"name":"measurearea","auto":true,"params":[{"type":{"names":["Object"]},"description":"options for function call.","name":"options","value":null,"section":true},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"If true, area will be computed on the global sphere using the {@link https://openlayers.org/en/latest/apidoc/module-ol_sphere.html#geodesicArea ol.Sphere.geodesicArea()} function. Otherwise, area will be computed on the projected plane.","name":"options.geodesic","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"styles used when drawing. Specified with following properties.","name":"options.styles","value":null,"section":true},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Style for mouse pointer when drawing the polygon to measure. Specified with an {@link https://openlayers.org/en/latest/apidoc/module-ol_style_Image-ImageStyle.html ol.style.Image} subclass object.","name":"options.styles.pointer","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Polygon Style when drawing. Specified with an {@link https://openlayers.org/en/latest/apidoc/module-ol_style_Style-Style.htmll ol.style.Style} object.","name":"options.styles.start","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Polygon Style when finished drawing. Specified with an {@link https://openlayers.org/en/latest/apidoc/module-ol_style_Style-Style.htmll ol.style.Style} object.\\n\x3c!-- @param {Object} [options.tooltip = {}] - NOT YET IMPLEMENTED ! --\x3e","name":"options.styles.finish","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Layer informations to be displayed in LayerSwitcher widget (only if a LayerSwitcher is also added to the map)","name":"options.layerDescription","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Mesures de surface\\"","description":"Layer title to be displayed in LayerSwitcher","name":"options.layerDescription.title","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Mes mesures\\"","description":"Layer description to be displayed in LayerSwitcher","name":"options.layerDescription.description","value":null,"section":false}],"examples":["var measureArea = new ol.control.MeasureArea({\\n geodesic : false\\n});"]}')},"53fd":function(e){e.exports=JSON.parse('{"name":"measurelength","auto":true,"params":[{"type":{"names":["Object"]},"description":"options for function call.","name":"options","value":null,"section":true},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"If true, length will be computed on the global sphere using the {@link https://openlayers.org/en/latest/apidoc/module-ol_sphere.html#haversineDistance ol.Sphere.haversineDistance()} function. Otherwise, length will be computed on the projected plane.","name":"options.geodesic","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"styles used when drawing. Specified with following properties.","name":"options.styles","value":null,"section":true},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Style for mouse pointer when drawing the path. Specified with an {@link https://openlayers.org/en/latest/apidoc/module-ol_style_Image-ImageStyle.html ol.style.Image} subclass object.","name":"options.styles.pointer","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Line Style when drawing. Specified with an {@link https://openlayers.org/en/latest/apidoc/module-ol_style_Style-Style.htmll ol.style.Style} object.","name":"options.styles.start","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Line Style when finished drawing. Specified with an {@link https://openlayers.org/en/latest/apidoc/module-ol_style_Style-Style.htmll ol.style.Style} object.\\n\x3c!-- @param {Object} [options.tooltip = {}] - NOT YET IMPLEMENTED ! --\x3e","name":"options.styles.finish","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Layer informations to be displayed in LayerSwitcher widget (only if a LayerSwitcher is also added to the map)","name":"options.layerDescription","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Mesures de distance\\"","description":"Layer title to be displayed in LayerSwitcher","name":"options.layerDescription.title","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Mes mesures\\"","description":"Layer description to be displayed in LayerSwitcher","name":"options.layerDescription.description","value":null,"section":false}],"examples":["var measureLength = new ol.control.MeasureLength({\\n geodesic : false\\n});"]}')},"56d7":function(e,t,o){"use strict";o.r(t),function(e){var t=o("2b0e"),n=o("8c4f"),a=o("3dfd"),i=o("0b5d"),l=o("f29c"),s=o("85ff"),r=o.n(s),u=o("1020"),p=o.n(u),c=o("4dd1"),d=o.n(c),m=o("4626");p.a.registerLanguage("javascript",d.a);const f=!0,y={isEnabled:!f,logLevel:"debug",stringifyArguments:!1,showLogLevel:!0,showMethodName:!0,separator:"|",showConsoleColors:!0};t["a"].use(m["a"]),t["a"].use(r.a,y),t["a"].use(n["a"]),t["a"].config.productionTip=!1;const v=new n["a"]({mode:"history",base:e,routes:[{path:"/jsdoc",component:l["a"]},{path:"/generator",component:i["a"]}]});new t["a"]({router:v,render:e=>e(a["a"])}).$mount("#app")}.call(this,"/")},"5f77":function(e,t,o){},"67c8":function(e,t,o){e.exports=o.p+"img/logoIGN.c8530552.png"},"693f":function(e,t,o){"use strict";o("8ddf")},"6cdf":function(e){e.exports=JSON.parse('{"name":"layerswitcher","auto":true,"params":[{"type":{"names":["Object"]},"description":"control options","name":"options","value":null,"section":true},{"type":{"names":["Array"]},"optional":true,"description":"list of layers to be configured. Each array element is an object, with following properties :","name":"options.layers","value":null,"section":true},{"type":{"names":["ol.layer.Layer"]},"optional":true,"description":"ol.layer.Layer layer to be configured (that has been added to map)","name":"options.layers.layer","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"custom configuration object for layer information (title, description, legends, metadata, quicklook url), with following properties :","name":"options.layers.config","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"layer alias, to be displayed in widget layer list. E.g. : \\"Cartes IGN\\"","name":"options.layers.config.title","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"layer description, to be displayed on title hover, or in layer information panel.","name":"options.layers.config.description","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"link to a quick look image for this layer.","name":"options.layers.config.quicklookUrl","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"description":"array of layer legends. Each array element is an object, with following properties :\\n - url (String, mandatory) : link to a legend\\n - minScaleDenominator (Number, optional) : min scale denominator for legend validity.","name":"options.layers.config.legends","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"description":"array of layer metadata. Each array element is an object, with property url (String, mandatory) : link to a metadata","name":"options.layers.config.metadata","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"ol.control.Control options (see {@link http://openlayers.org/en/latest/apidoc/ol.control.Control.html ol.control.Control})","name":"options.options","value":null,"section":true},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Specify if widget has to be collapsed (true) or not (false) on map loading. Default is true.","name":"options.options.collapsed","value":null,"section":false}],"examples":["map.addControl(new ol.control.LayerSwitcher(\\n [\\n {\\n layer : wms1,\\n config : {\\n title : \\"test layer name 1\\",\\n description : \\"test layer desc 1\\",\\n }\\n }\\n ],\\n {\\n collapsed : true\\n }\\n));"]}')},"74ec":function(e){e.exports=JSON.parse('{"name":"layers","auto":false,"params":[{"type":{"names":["Object"]},"description":"Couches en WMTS (Geoportail)","name":"Couches en WMTS (Geoportail)","defaultvalue":true,"value":null,"section":true},{"type":{"names":["Boolean"]},"description":"","name":"ORTHOIMAGERY.ORTHOPHOTOS","service":"Tile","defaultvalue":true,"value":null,"section":false},{"type":{"names":["Boolean"]},"description":"","name":"GEOGRAPHICALGRIDSYSTEMS.MAPS","service":"Tile","defaultvalue":false,"value":null,"section":false},{"type":{"names":["Boolean"]},"description":"","name":"CADASTRALPARCELS.PARCELS","service":"Tile","defaultvalue":false,"value":null,"section":false},{"type":{"names":["Boolean"]},"description":"","name":"GEOGRAPHICALGRIDSYSTEMS.PLANIGN","service":"Tile","defaultvalue":false,"value":null,"section":false},{"type":{"names":["Object"]},"description":"Couches WMS (Geoportail)","name":"Couches WMS (Geoportail)","defaultvalue":null,"value":null,"section":true},{"type":{"names":["Boolean"]},"description":"","name":"TN.RailTransportNetwork","service":"Image","defaultvalue":true,"value":null,"section":false},{"type":{"names":["Boolean"]},"description":"","name":"TN.RoadTransportNetwork","service":"Image","defaultvalue":true,"value":null,"section":false},{"type":{"names":["Object"]},"description":"Couches Vecteurs (KML, GeoJSON, GPX)","name":"Couches Vecteurs (KML, GeoJSON, GPX)","defaultvalue":null,"value":null,"section":true},{"type":{"names":["Boolean"]},"description":"","name":"/ressources/data.kml","service":"Vector.KML","defaultvalue":false,"value":null,"section":false},{"type":{"names":["Boolean"]},"description":"","name":"/ressources/data.geojson","service":"Vector.GeoJSON","defaultvalue":false,"value":null,"section":false},{"type":{"names":["Boolean"]},"description":"","name":"/ressources/data.gpx","service":"Vector.GPX","defaultvalue":false,"value":null,"section":false},{"type":{"names":["Object"]},"description":"Couches Vecteurs tuilés (Geoportail)","name":"Couches Vecteurs tuilés (Geoportail)","defaultvalue":null,"value":null,"section":true},{"type":{"names":["Boolean"]},"description":"","name":"...","service":"VectorTile","defaultvalue":false,"value":null,"section":false}]}')},"87fd":function(e){e.exports=JSON.parse('{"name":"measureazimuth","auto":true,"params":[{"type":{"names":["Object"]},"description":"options for function call.","name":"options","value":null,"section":true},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"If true, azimuth will be computed on the global sphere. Otherwise, it will be computed on the projected plane.","name":"options.geodesic","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"styles used when drawing. Specified with following properties.","name":"options.styles","value":null,"section":true},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Style for mouse pointer when drawing the line. Specified with an {@link https://openlayers.org/en/latest/apidoc/module-ol_style_Image-ImageStyle.html ol.style.Image} subclass object.","name":"options.styles.pointer","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Line Style when drawing. Specified with an {@link https://openlayers.org/en/latest/apidoc/module-ol_style_Style-Style.htmll ol.style.Style} object.","name":"options.styles.start","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Line Style when finished drawing. Specified with an {@link https://openlayers.org/en/latest/apidoc/module-ol_style_Style-Style.htmll ol.style.Style} object.\\n\x3c!-- @param {Object} [options.tooltip = {}] - NOT YET IMPLEMENTED ! --\x3e","name":"options.styles.finish","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Layer informations to be displayed in LayerSwitcher widget (only if a LayerSwitcher is also added to the map)","name":"options.layerDescription","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Mesures d\'azimuth\\"","description":"Layer title to be displayed in LayerSwitcher","name":"options.layerDescription.title","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Mes mesures\\"","description":"Layer description to be displayed in LayerSwitcher","name":"options.layerDescription.description","value":null,"section":false}],"examples":["var measure = new ol.control.MeasureAzimuth({\\n geodesic : true\\n});"]}')},8838:function(e,t,o){},"899d":function(e){e.exports=JSON.parse('{"name":"geoportalattribution","auto":true,"params":[{"type":{"names":["Object"]},"description":"ol.control.Attribution options (see {@link http://openlayers.org/en/latest/apidoc/ol.control.Attribution.html ol.Control.Attribution})","name":"options","value":null,"section":true}],"examples":["var attribution = new ol.control.GeoportalAttribution({\\n collapsed : false\\n});\\nmap.addControl(attribution);\\n// listeners for attributions update :\\nattribution.on(\\"attributions:update\\", function (e) {});"]}')},"8b55":function(e,t,o){e.exports=o.p+"img/map.93df1905.png"},"8ddf":function(e,t,o){},"8fee":function(e,t,o){"use strict";o("3ef8")},a06c:function(e){e.exports=JSON.parse('{"name":"drawing","auto":true,"params":[{"type":{"names":["Object"]},"description":"options for function call.","name":"options","value":null,"section":true},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Specify if Drawing control should be collapsed at startup. Default is true.","name":"options.collapsed","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"Specify if widget is draggable","name":"options.draggable","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Openlayers layer that will hosts created features. If none, an empty vector layer will be created.","name":"options.layer","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Popup informations","name":"options.popup","value":null,"section":true},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Specify if popup is displayed when create a drawing","name":"options.popup.display","value":null,"section":false},{"type":{"names":["function"]},"optional":true,"description":"Function to display popup informations if you want to cutomise it. You may also provide your own function with params : {geomType / feature / saveFunc(message) / closeFunc()}. This function must return the DOM object of the popup content.","name":"options.popup.function","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Layer informations to be displayed in LayerSwitcher widget (only if a LayerSwitcher is also added to the map)","name":"options.layerDescription","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Croquis\\"","description":"Layer title to be displayed in LayerSwitcher","name":"options.layerDescription.title","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Mon croquis\\"","description":"Layer description to be displayed in LayerSwitcher","name":"options.layerDescription.description","value":null,"section":false},{"type":{"names":["Object"]},"description":"Tools to display in the drawing toolbox. All by default.","name":"options.tools","value":null,"section":true},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Display points drawing tool","name":"options.tools.points","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Display lines drawing tool","name":"options.tools.lines","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Display polygons drawing tool","name":"options.tools.polygons","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"Display polygons with holes drawing tool","name":"options.tools.holes","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Display text drawing tool","name":"options.tools.text","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Display feature removing tool","name":"options.tools.remove","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Display style editing tool","name":"options.tools.display","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Display text editing tool","name":"options.tools.tooltip","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Display editing tool","name":"options.tools.edit","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Display exporting tool","name":"options.tools.export","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"Display measure drawing into popup info","name":"options.tools.measure","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Labels for Control","name":"options.labels","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"Label for Control","name":"options.labels.control","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for points drawing tool","name":"options.labels.points","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for lines drawing tool","name":"options.labels.lines","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for polygons drawing tool","name":"options.labels.polygons","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for polygons with holes drawing tool","name":"options.labels.holes","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for text drawing tool","name":"options.labels.text","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for editing tool","name":"options.labels.edit","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for style editing tool","name":"options.labels.display","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for text editing tool","name":"options.labels.tooltip","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for feature removing tool","name":"options.labels.remove","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for exporting tool.","name":"options.labels.export","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"Title for exporting tool.","name":"options.labels.exportTitle","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for apply to object button.","name":"options.labels.applyToObject","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for save description button.","name":"options.labels.saveDescription","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for set as default style button.","name":"options.labels.setAsDefault","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for stroke color.","name":"options.labels.strokeColor","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for stroke width.","name":"options.labels.strokeWidth","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for fill color.","name":"options.labels.fillColor","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for fillOpacity.","name":"options.labels.fillOpacity","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Label for markerSize.","name":"options.labels.markerSize","value":null,"section":false},{"type":{"names":["Array."]},"optional":true,"defaultvalue":"[{\\"src\\" : \\"data:image/png;base64,xxxx\\", \\"anchor\\" : [0.5,1]}]","description":"List of markers src to be used for points with their anchor offsets See {@link http://openlayers.org/en/latest/apidoc/ol.style.Icon.html OpenLayers params} for anchor offset options.","name":"options.markersList","value":null,"section":false},{"type":{"names":["Object"]},"description":"Default styles applying to geometries (labels, lines and polygons).","name":"options.defaultStyles","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"#000000\\"","description":"Text fill color for labels (RGB hex value).","name":"options.defaultStyles.textFillColor","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"#FFFFFF\\"","description":"Text surrounding color for labels (RGB hex value).","name":"options.defaultStyles.textStrokeColor","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"#ffcc33\\"","description":"Stroke color (RGB hex value).","name":"options.defaultStyles.strokeColor","value":null,"section":false},{"type":{"names":["Number"]},"optional":true,"defaultvalue":2,"description":"Stroke width in pixels.","name":"options.defaultStyles.strokeWidth","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"#ffcc33\\"","description":"Stroke color (RGB hex value) for polygons.","name":"options.defaultStyles.polyStrokeColor","value":null,"section":false},{"type":{"names":["Number"]},"optional":true,"defaultvalue":2,"description":"Stroke width in pixels for polygons.","name":"options.defaultStyles.polyStrokeWidth","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"#ffffff\\"","description":"Polygons fill color (RGB hex value).","name":"options.defaultStyles.polyFillColor","value":null,"section":false},{"type":{"names":["Number"]},"optional":true,"defaultvalue":0.2,"description":"Polygon fill opacity (alpha value between 0:transparent and 1:opaque).","name":"options.defaultStyles.polyFillOpacity","value":null,"section":false},{"type":{"names":["Object"]},"description":"cursor (circle) style when drawing or editing.","name":"options.cursorStyle","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"rgba(0, 153, 255, 1)\\"","description":"Cursor fill color.","name":"options.cursorStyle.fillColor","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"#FFF\\"","description":"Cursor stroke color.","name":"options.cursorStyle.strokeColor","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":1,"description":"Cursor surrounding stroke width.","name":"options.cursorStyle.strokeWidth","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":6,"description":"Cursor radius.","name":"options.cursorStyle.radius","value":null,"section":false}],"examples":["var drawing = new ol.control.Drawing({\\n collapsed : false,\\n draggable : true,\\n layerswitcher : {\\n title : \\"Dessins\\",\\n description : \\"Mes dessins...\\"\\n },\\n markersList : [{\\n src : \\"http://api.ign.fr/api/images/api/markers/marker_01.png\\",\\n anchor : [0.5, 1]\\n }],\\n defaultStyles : {},\\n cursorStyle : {},\\n tools : {\\n points : true,\\n lines : true,\\n polygons :true,\\n holes : true,\\n text : false,\\n remove : true,\\n display : true,\\n tooltip : true,\\n export : true,\\n measure : true\\n },\\n popup : {\\n display : true,\\n function : function (params) {\\n var container = document.createElement(\\"div\\");\\n // - params.geomType;\\n // - params.feature;\\n // Les 2 fonctions ferment la popup avec ou sans sauvegarde des informations\\n // dans les properties de la feature (key : description)\\n // - params.saveFunc(message);\\n // - params.closeFunc();\\n return container;\\n }\\n});"]}')},a262:function(e,t,o){"use strict";o("dbce")},ad19:function(e){e.exports=JSON.parse('{"name":"isocurve","auto":true,"params":[{"type":{"names":["Object"]},"description":"Isocurve control options","name":"options","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"API key for services call (isocurve and autocomplete services), mandatory if autoconf service has not been charged in advance","name":"options.apiKey","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"use of ssl or not (default true, service requested using https protocol)","name":"options.ssl","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Specify if widget has to be collapsed (true) or not (false) on map loading. Default is true.","name":"options.collapsed","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"Specify if widget is draggable","name":"options.draggable","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"Specify if button \\"Export\\" is displayed","name":"options.export","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{\\"toll\\" : false, \\"tunnel\\" : false, \\"bridge\\" : false}","description":"list of exclusions with status (true = checked). By default : no exclusions checked.","name":"options.exclusions","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"defaultvalue":"[\\"Voiture\\", \\"Pieton\\"]","description":"list of graph resources to be used for isocurve calculation, by default : [\\"Voiture\\", \\"Pieton\\"]. Possible values are \\"Voiture\\" and \\"Pieton\\". The first element is selected.","name":"options.graphs","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"defaultvalue":"[\\"time\\", \\"distance\\"]","description":"list of methods, by default : [\\"time\\", \\"distance\\"]. Possible values are \\"time\\" and \\"distance\\". The first element is selected by default.","name":"options.methods","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"defaultvalue":"[\\"departure\\", \\"arrival\\"]","description":"list of directions to be displayed, by default : [\\"departure\\", \\"arrival\\"]. The first element is selected by default. Possible values are \\"departure\\" and \\"arrival\\".\\n Directions enable to specify if input location point will be used as a departure point (\\"departure\\") or as an arrival point (\\"arrival\\")","name":"options.directions","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"isocurve service options. see {@link http://ignf.github.io/geoportal-access-lib/latest/jsdoc/module-Services.html#~isoCurve Gp.Services.isoCurve()} to know all isocurve options.","name":"options.isocurveOptions","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"autocomplete service options. see {@link http://ignf.github.io/geoportal-access-lib/latest/jsdoc/module-Services.html#~autoComplete Gp.Services.autoComplete()} to know all autocomplete options","name":"options.autocompleteOptions","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"options to use your own marker. Default is a lightOrange marker.","name":"options.markerOpts","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"marker base64 encoded url (ex \\"data:image/png;base64,...\\"\\"). Mandatory for a custom marker","name":"options.markerOpts.url","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"description":"Offsets in pixels used when positioning the overlay. The first element in the array is the horizontal offset. A positive value shifts the overlay right. The second element in the array is the vertical offset. A positive value shifts the overlay down. Default is [0, 0]. (see http://openlayers.org/en/latest/apidoc/ol.Overlay.html)","name":"options.markerOpts.offset","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Layer informations to be displayed in LayerSwitcher widget (only if a LayerSwitcher is also added to the map)","name":"options.layerDescription","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"Isochrone/Isodistance\\"","description":"Layer title to be displayed in LayerSwitcher","name":"options.layerDescription.title","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"isochrone/isodistance basé sur un graphe\\"","description":"Layer description to be displayed in LayerSwitcher","name":"options.layerDescription.description","value":null,"section":false}],"examples":["var iso = ol.control.Isocurve({\\n \\"collapsed\\" : false,\\n \\"draggable\\" : true,\\n \\"export\\" : false,\\n \\"methods\\" : [\\"time\\", \\"distance\\"],\\n \\"exclusions\\" : {\\n \\"toll\\" : true,\\n \\"bridge\\" : false,\\n \\"tunnel\\" : true\\n },\\n \\"graphs\\" : [\\"Pieton\\", \\"Voiture\\"],\\n \\"markerOpts\\" : {\\n \\"url\\" : \\"...\\",\\n \\"offset\\" : [0,0]\\n }\\n \\"isocurveOptions\\" : {},\\n \\"autocompleteOptions\\" : {}\\n });"]}')},adb8:function(e){e.exports=JSON.parse('{"name":"layerimport","auto":true,"params":[{"type":{"names":["Object"]},"description":"options for function call.","name":"options","value":null,"section":true},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Specify if LayerImport control should be collapsed at startup. Default is true.","name":"options.collapsed","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"Specify if widget is draggable","name":"options.draggable","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"defaultvalue":"[\\"KML\\", \\"GPX\\", \\"GeoJSON\\", \\"WMS\\", \\"WMTS\\", \\"MAPBOX\\"]","description":"data types that could be imported : \\"KML\\", \\"GPX\\", \\"GeoJSON\\", \\"WMS\\", \\"WMTS\\" and \\"MAPBOX\\". Values will be displayed in the same order in widget list.","name":"options.layerTypes","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"Options to import WMS or WMTS layers","name":"options.webServicesOptions","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"Proxy URL to avoid cross-domain problems. Mandatory to import WMS and WMTS layer.","name":"options.webServicesOptions.proxyUrl","value":null,"section":false},{"type":{"names":["Array."]},"optional":true,"description":"Proxy will not be used for this list of domain names. Only use if you know what you\'re doing.","name":"options.webServicesOptions.noProxyDomains","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"Options for imported vector layer styling (KML, GPX, GeoJSON)","name":"options.vectorStyleOptions","value":null,"section":true},{"type":{"names":["Object"]},"optional":true,"description":"Options for KML layer styling","name":"options.vectorStyleOptions.KML","value":null,"section":true},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Extract styles from the KML. Default is true.","name":"options.vectorStyleOptions.KML.extractStyles","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Show names as labels for KML placemarks which contain points. Default is true.","name":"options.vectorStyleOptions.KML.showPointNames","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"default style to be applied to KML imports in case no style is defined. defaultStyle is an {@link http://openlayers.org/en/latest/apidoc/ol.style.Style.html ol.style.Style} object.","name":"options.vectorStyleOptions.KML.defaultStyle","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"Options for GPX layer styling","name":"options.vectorStyleOptions.GPX","value":null,"section":true},{"type":{"names":["Object"]},"optional":true,"description":"default style to be applied to GPX imports in case no style is defined. defaultStyle is an {@link http://openlayers.org/en/latest/apidoc/ol.style.Style.html ol.style.Style} object.","name":"options.vectorStyleOptions.GPX.defaultStyle","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"Options for GeoJSON layer styling","name":"options.vectorStyleOptions.GeoJSON","value":null,"section":true},{"type":{"names":["Object"]},"optional":true,"description":"default style to be applied to GeoJSON imports in case no style is defined. defaultStyle is an {@link http://openlayers.org/en/latest/apidoc/ol.style.Style.html ol.style.Style} object.","name":"options.vectorStyleOptions.GeoJSON.defaultStyle","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"Options for MapBox layer styling","name":"options.vectorStyleOptions.MapBox","value":null,"section":true},{"type":{"names":["Object"]},"optional":true,"description":"default style to be applied to MapBox imports in case no style is defined. defaultStyle is an {@link http://openlayers.org/en/latest/apidoc/ol.style.Style.html ol.style.Style} object.","name":"options.vectorStyleOptions.MapBox.defaultStyle","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"options for tools editor","name":"options.vectorStyleOptions.MapBox.editor","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"display tools editor","name":"options.vectorStyleOptions.MapBox.display","value":null,"section":false}],"examples":["var LayerImport = new ol.control.LayerImport({\\n \\"collapsed\\" : false,\\n \\"draggable\\" : true,\\n \\"layerTypes\\" : [\\"KML\\", \\"GPX\\"],\\n \\"webServicesOptions\\" : {\\n \\"proxyUrl\\" : \\"http://localhost/proxy/php/proxy.php?url=\\",\\n \\"noProxyDomains\\" : []\\n },\\n \\"vectorStyleOptions\\" : {\\n \\"KML\\" : {\\n extractStyles : true,\\n defaultStyle : new ol.style.Style({\\n image : new ol.style.Icon({\\n src : \\"data:image/png;base64....\\",\\n size : [51, 38],\\n }),\\n stroke : new ol.style.Stroke({\\n color : \\"#ffffff\\",\\n width : 7\\n }),\\n fill : new ol.style.Fill({\\n color : \\"rgba(255, 183, 152, 0.2)\\"\\n }),\\n text : new ol.style.Text({\\n font : \\"16px Sans\\",\\n textAlign : \\"left\\",\\n fill : new ol.style.Fill({\\n color : \\"rgba(255, 255, 255, 1)\\"\\n }),\\n stroke : new ol.style.Stroke({\\n color : \\"rgba(0, 0, 0, 1)\\",\\n width : 2\\n })\\n })\\n })\\n },\\n \\"GPX\\" : {\\n defaultStyle : new ol.style.Style({\\n image : new ol.style.Icon({\\n src : \\"path/to/my/icon.png\\",\\n size : [51, 38],\\n }),\\n stroke : new ol.style.Stroke({\\n color : \\"#ffffff\\",\\n width : 7\\n })\\n })\\n }\\n }\\n });"]}')},afc5:function(e,t,o){"use strict";o("5f77")},baab:function(e){e.exports=JSON.parse('{"name":"searchengine","auto":true,"params":[{"type":{"names":["Object"]},"description":"control options","name":"options","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"API key, mandatory if autoconf service has not been charged in advance","name":"options.apiKey","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"use of ssl or not (default true, service requested using https protocol)","name":"options.ssl","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"collapse mode, true by default\\n Value possible : auto or zoom level.\\n Possible to overload it with a function :\\n zoomTo : function (info) {\\n // do some stuff...\\n return zoom;\\n }","name":"options.collapsed","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"Placeholder in search bar. Default is \\"Rechercher un lieu, une adresse\\".","name":"options.placeholder","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"set a marker on search result, defaults to true.","name":"options.displayMarker","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"defaultvalue":"\\"lightOrange\\"","description":"Marker style. Currently possible values are \\"lightOrange\\" (default value), \\"darkOrange\\", \\"red\\" and \\"turquoiseBlue\\".","name":"options.markerStyle","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"False to disable advanced search tools (it will not be displayed). Default is true (displayed)","name":"options.displayAdvancedSearch","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"advanced search options for geocoding (filters). Properties can be found among geocode options.filterOptions (see {@link http://ignf.github.io/geoportal-access-lib/latest/jsdoc/module-Services.html#~geocode Gp.Services.geocode})","name":"options.advancedSearch","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"resources to be used by geocode and autocompletion services :","name":"options.resources","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"resources geocoding, by default : \\"location\\"","name":"options.resources.geocode","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"description":"resources autocompletion, by default : [\\"PositionOfInterest\\", \\"StreetAddress\\"]","name":"options.resources.autocomplete","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"False to disable advanced search tools (it will not be displayed). Default is true (displayed)","name":"options.displayAdvancedSearch","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"advanced search options for geocoding (filters). Properties can be found among geocode options.filterOptions (see {@link http://ignf.github.io/geoportal-access-lib/latest/jsdoc/module-Services.html#~geocode Gp.Services.geocode})","name":"options.advancedSearch","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"options of geocode service (see {@link http://ignf.github.io/geoportal-access-lib/latest/jsdoc/module-Services.html#~geocode Gp.Services.geocode})","name":"options.geocodeOptions","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"defaultvalue":"{}","description":"options of autocomplete service (see {@link http://ignf.github.io/geoportal-access-lib/latest/jsdoc/module-Services.html#~autoComplete Gp.Services.autoComplete}","name":"options.autocompleteOptions","value":null,"section":true},{"type":{"names":["Object"]},"optional":true,"description":"options of autocomplete service","name":"options.autocompleteOptions.serviceOptions","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"trigger a geocoding request if the autocompletion does not return any suggestions, false by default","name":"options.autocompleteOptions.triggerGeocode","value":null,"section":false},{"type":{"names":["Number"]},"optional":true,"defaultvalue":1000,"description":"waiting time before sending the geocoding request, 1000ms by default","name":"options.autocompleteOptions.triggerDelay","value":null,"section":false},{"type":{"names":["Sting","Numeric","function"]},"optional":true,"description":"zoom to results, by default, current zoom.","name":"options.zoomTo","value":null,"section":false}],"examples":["var SearchEngine = ol.control.SearchEngine({\\n apiKey : \\"CLEAPI\\",\\n collapsed : true,\\n resources : {\\n geocode : [\\"StreetAddress\\", \\"PositionOfInterest\\"],\\n autocomplete : [\\"StreetAddress\\"]\\n },\\n advancedSearch : {\\n PositionOfInterest : [{name : \\"municipality\\", title : \\"Ville\\"}],\\n StreetAddress : [{...}]\\n },\\n geocodeOptions : {},\\n autocompleteOptions : {}\\n });\\n\\n SearchEngine.on(\\"searchengine:autocomplete:click\\", function (e) {\\n console.warn(\\"autocomplete\\", e.location);\\n });\\n SearchEngine.on(\\"searchengine:geocode:click\\", function (e) {\\n console.warn(\\"geocode\\", e.location);\\n });"]}')},bd20:function(e,t,o){},cda1:function(e,t,o){},d320:function(e,t,o){"use strict";o("e2c6")},db49:function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var n="full",a={sourceProject:"https://github.com/IGNF/geoportal-extensions-openlayers-samples",sourceExtensions:"https://ignf.github.io/geoportal-extensions",jsdoc:"https://ignf.github.io/geoportal-extensions/current/jsdoc/openlayers",library:{name:"OpenLayers",url:"https://openlayers.org/",logo:"./assets/logo-openlayers.png",dist:{js:"https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v5.3.0/build/ol.js",css:"https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v5.3.0/css/ol.css"},plugin:{js:"https://ignf.github.io/geoportal-extensions/openlayers-latest/dist/GpPluginOpenLayers.js",css:"https://ignf.github.io/geoportal-extensions/openlayers-latest/dist/GpPluginOpenLayers.css"}}},i={apiKey:n,project:a}},dbce:function(e,t,o){},dc99:function(e,t,o){"use strict";o("8838")},e2c6:function(e,t,o){},e867:function(e,t,o){"use strict";o("4302")},f207:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAAVBAMAAABbMC3JAAAAMFBMVEX///////////////////////////////////////////////////////////////9Or7hAAAAAD3RSTlMAESIzRFVmd4iZqrvM3e5GKvWZAAAD90lEQVRIibWWz2vbZhjHH8c/5F8R7m2QNtZxMFbnMGgpFOc/iHco7SGbBDuOTGKDrSWlcil0PbRIt44dJpf9AUq3XXpo7BXGCuuiDMaWQ1o7G0mzMGYc2ZJdWX73vFLkuk7jZMF7DrL0Ps/z1ed9nucVBhirhb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VVb6C0nghZDCM8H/6N3tz4YFKsGn+1Iq79FgSZnQnCgoZe2xjo4wreVeGPwMVze9ykb9NojnMc0/Yx59OD/A4D/6T8AJJrjB4iT3aOGLt4qV8YPAAtHFp0i7eG/V8ewfwGnwLDMSQM+cgAAAABJRU5ErkJggg=="},f29c:function(e,t,o){"use strict";var n=function(){var e=this,t=e._self._c;return t("div",{},[t("h2",[e._v("JSDoc des extensions "+e._s(e.name))]),t("iframe",{attrs:{src:e.source}})])},a=[],i=o("db49"),l={name:"MyCptJsdoc",components:{},data(){return{source:i["a"].project.jsdoc,name:i["a"].project.library.name}},methods:{}},s=l,r=(o("a262"),o("2877")),u=Object(r["a"])(s,n,a,!1,null,"77f50f4e",null);t["a"]=u.exports},f33f:function(e,t,o){"use strict";o("0824")},f7a1:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAZCAYAAACclhZ6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA5RJREFUeNq8mFtIVUEUhvcx89ZFSrt4CUvErhJEkVjUU4poFJR0f8qiyG70UvTUQxIGEWhlYZeXgjJ88EGKDCnKDpVdTUUKKwJLS44FmVpn90/8J3bDPnvP7CP98KF7nDNnrVlr1qytzzTNOMMwooEJfGAYDBpqigGzwSIwH0zkeD94BvzgFfjlsk4hmAouGuqKAvG0WeinAWdqQAdo489KYLiQCPaCFjBkhtcgaAbbwRiH9faAIChW+O4Q2eA5aKfdNWKwUTKg3mWRfNBq6ssPUsKsWco5AZCn6EyOtH6jCNWQFL4hh9CWgnow19DXYjA5zN9CqZIIroEchfXEsfhhtTtaw5gScJa5alUvuAsegAANE2dnKZlgmRdQ+J40UMtz1KW1XQhPgxSu6zYhzQQ9NqlzEmQ4pEIWqOLcDyA5zLxtNms/cpgvmAcGLPMbohR9PgwmWZ6DoAzsA+8cPvea83aBPjCgsc8LwRUQp1Pe3JQJ1kpjF8ApDcNOg53cBB2tAOcU7VSaVADGW56/geMeCsB9zciEtAVUqExUKQD50nMz6JTGUsASMIcVSVy8PeAJ+WpEpgNM0/JInBkFMqSxDsvvImJHWOnSwqwhHL8MzrCiqagNJEul/Cj4worqKc1iiFUfpfuhwMERoWw6LCJapJGSmxhhq6rAGq/O+CwXmt1n+hmV9woGZoE6ngE3jQWNLBqmlEmXeAH3y7a5OTP8p4H7V6nSs2gkV4JWxca0BixXjNB5cNDG0as8o991nZEP70ybeS9o4AnwWcHIXI3DX2FTzcQ5rgYJutXMz7bEaki2TUXrY9WpBMUgj6mVwB5KtCaP2du1a1YzEZ0ksNUylujlnrlhE+b9DvPf8qBupOMlNKKcvVmmh9Js8vzURXpp3uOLltw9r1f4rI+RauJ9U81c96JhFo+mSJwZtMnZaLY0ZTal2yrxhjnF0jkbGm+xdhIHfh1o8eqMwepRK43Fc9fvsJFcwFdfcdnNYOdwDEw3Rla9TN1OL+1MqEveAabZVKJcIqLQzVI+jgc2kg10Uheb3waQ7mVhUa1Wg5sOrU86I5HkkrYjoZdgAxvfv84k2KRPOH0Cq8AhRkFHT8HuML3VaA0b5OK0mVkR68MbWiHTJ0jnRAhvKSyUyj6piBdpCotBkPdKN8u0n9F86PD/hVlgmcWGN+C2xkaJTSoSzoxEyJPpTCwNGqAzAeP/Kf23AAMAAaq4gDOc7sEAAAAASUVORK5CYII="},f7a8:function(e,t,o){"use strict";o("11c5")}}); +//# sourceMappingURL=app.3b0542ee.js.map \ No newline at end of file diff --git a/js/app.3b0542ee.js.map b/js/app.3b0542ee.js.map new file mode 100644 index 0000000..85aa870 --- /dev/null +++ b/js/app.3b0542ee.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/TheFooter.vue?aa3e","webpack:///./src/components/router/TheCptGeneratorMap.vue","webpack:///./src/components/TheVersion.vue","webpack:///src/components/TheVersion.vue","webpack:///./src/components/TheVersion.vue?a7e3","webpack:///./src/components/TheVersion.vue?ce9c","webpack:///./src/components/TheCollapsible.vue","webpack:///src/components/TheCollapsible.vue","webpack:///./src/components/TheCollapsible.vue?1d4d","webpack:///./src/components/TheCollapsible.vue?ed16","webpack:///./src/components/ThePopup.vue","webpack:///src/components/ThePopup.vue","webpack:///./src/components/ThePopup.vue?5306","webpack:///./src/components/ThePopup.vue?6a41","webpack:///./src/components/options/TheCptOptions.vue","webpack:///./src/components/options/TheCptOptionType.vue","webpack:///src/components/options/TheCptOptionType.vue","webpack:///./src/components/options/TheCptOptionType.vue?10a0","webpack:///./src/components/options/TheCptOptionType.vue?2f0b","webpack:///src/components/options/TheCptOptions.vue","webpack:///./src/components/options/TheCptOptions.vue?dd09","webpack:///./src/components/options/TheCptOptions.vue?5381","webpack:///./src/components/options/TheCptOptionsMenu.vue","webpack:///src/components/options/TheCptOptionsMenu.vue","webpack:///./src/components/options/TheCptOptionsMenu.vue?f789","webpack:///./src/components/options/TheCptOptionsMenu.vue?2f00","webpack:///./src/template.js","webpack:///./src/helper.js","webpack:///./src/map.js","webpack:///src/components/router/TheCptGeneratorMap.vue","webpack:///./src/components/router/TheCptGeneratorMap.vue?6760","webpack:///./src/components/router/TheCptGeneratorMap.vue?022b","webpack:///./src/assets/jsdoc.png","webpack:///./src/components/TheHeader.vue?6712","webpack:///./src/components/TheVersion.vue?c812","webpack:///./src/assets/logo-openlayers.png","webpack:///./src/App.vue","webpack:///./src/components/TheHeader.vue","webpack:///src/components/TheHeader.vue","webpack:///./src/components/TheHeader.vue?a127","webpack:///./src/components/TheHeader.vue?2820","webpack:///./src/components/TheFooter.vue","webpack:///src/components/TheFooter.vue","webpack:///./src/components/TheFooter.vue?345c","webpack:///./src/components/TheFooter.vue?72f5","webpack:///./src/components/TheRouter.vue","webpack:///src/components/TheRouter.vue","webpack:///./src/components/TheRouter.vue?da2b","webpack:///./src/components/TheRouter.vue?de83","webpack:///src/App.vue","webpack:///./src/App.vue?98c8","webpack:///./src/App.vue?bff9","webpack:///./src/main.js","webpack:///./src/assets/logoIGN.png","webpack:///./src/components/options/TheCptOptionType.vue?9508","webpack:///./src/assets/map.png","webpack:///./src/components/ThePopup.vue?93c4","webpack:///./src/components/router/TheCptJsdoc.vue?a60e","webpack:///./src/components/TheRouter.vue?c2f9","webpack:///./src/components/router/TheCptGeneratorMap.vue?2f17","webpack:///./src/config.js","webpack:///./src/App.vue?c7ad","webpack:///./src/components/options/TheCptOptionsMenu.vue?47dd","webpack:///./src/assets/baselineIGN.png","webpack:///./src/components/router/TheCptJsdoc.vue","webpack:///src/components/router/TheCptJsdoc.vue","webpack:///./src/components/router/TheCptJsdoc.vue?77a7","webpack:///./src/components/router/TheCptJsdoc.vue?beda","webpack:///./src/components/TheCollapsible.vue?dd7f","webpack:///./src/assets/logoIGNsmall.png","webpack:///./src/components/options/TheCptOptions.vue?db58"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_c","_self","_v","_s","attrs","on","onSubmitGenerateMap","getMapNames","_l","getMapOptions","options","id","onActive","getWidgetNames","getWidgetOptions","staticClass","onClickReset","onClickShowCode","onClickExportMap","style","display","info","version","date","show","onClickClosePopup","onClickCopyCode","scopedSlots","_u","fn","proxy","code","_e","staticRenderFns","props","String","component","title","mounted","el","document","getElementById","nextEl","nextElementSibling","$attrs","active","classList","toggle","addEventListener","netxEl","$event","$emit","_t","preventDefault","auto","directives","rawName","expression","domProps","Array","isArray","_i","$$a","$$el","target","$$c","checked","$$v","$$i","concat","onChangeCheckOption","onClickShowExample","params","option","ref","refInFor","onChangeValue","exemple","isSection","description","onClickButtonOption","type","names","toLowerCase","composing","Boolean","$log","debug","defaultvalue","$refs","indexOf","lastIndexOf","className","warn","methods","section","e","convert","replace","JSON","parse","error","components","ThePopup","TheCptOptionType","examples","forEach","ex","self","navigator","clipboard","writeText","then","index","class","onClickButtonOpenOptions","click","evt","tabcontent","$el","parentElement","getElementsByClassName","tablinks","element","currentTarget","apiKey","config","layers","view","widgets","drawing","isocurve","layerimport","layerswitcher","geoportalmouseposition","route","reversegeocode","searchengine","getfeatureinfo","measurelength","measurearea","measureazimuth","elevationpath","geoportalattribution","__clear","__addLayer","__addView","stringify","__addWidget","opts","__getCodeJS","commaLists","stripIndents","__getCodeHTML","js","css","__getCodeCSS","lib","project","library","dist","plugin","html","tpl","clear","addLayer","addView","addWidget","getCodeJS","getCodeHTML","getCodeCSS","isObject","item","mergeDeep","sources","source","assign","setOptions","obj","DataObjectParser","set","isProduction","process","Logger","disableAll","enableAll","publicPath","removeMap","map","hasChildNodes","removeChild","firstChild","addMap","status","createMap","layersOptions","ol","layer","service","olExtended","GeoportalWMTS","GeoportalWMS","VectorLayer","VectorSource","url","format","KML","GPX","GeoJSON","Map","View","control","Drawing","addControl","iso","Isocurve","layerImport","LayerImport","layerSwitcher","LayerSwitcher","mp","GeoportalMousePosition","Route","reverse","ReverseGeocode","search","SearchEngine","feature","GetFeatureInfo","measureLength","MeasureLength","measureArea","MeasureArea","measureAzimuth","MeasureAzimuth","measureProfil","ElevationPath","attributions","GeoportalAttribution","Services","getConfig","protocol","onSuccess","getLibraryName","JsonMeasureLength","JsonMeasureArea","JsonMeasureAzimuth","JsonDrawing","JsonLayerImport","JsonGetFeatureInfo","JsonGeoportalAttribution","JsonRoute","JsonGeoportalMousePosition","JsonLayerSwitcher","JsonReverseGeocode","JsonSearchEngine","JsonIsoCurve","JsonElevationPath","JsonOlView","JsonOlLayer","getWidgetStatus","getLibraryInfo","olExtVersion","olExtDate","TheVersion","TheCollapsible","TheCptOptions","TheCptOptionsMenu","computed","sort","keys","isFileSaverSupported","Blob","blob","saveAs","require","_m","sourceProject","TheHeader","TheRouter","TheFooter","sourceExtensions","logo","hljs","registerLanguage","javascript","isEnabled","logLevel","stringifyArguments","showLogLevel","showMethodName","separator","showConsoleColors","Vue","use","vuePlugin","VueLogger","VueRouter","productionTip","router","base","__dirname","routes","path","TheCptJsdoc","TheCptGeneratorMap","h","App","$mount","jsdoc"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrB,IAAO,GAGJK,EAAkB,GAGtB,SAASS,EAAoB1B,GAG5B,GAAG4B,EAAiB5B,GACnB,OAAO4B,EAAiB5B,GAAU6B,QAGnC,IAAIC,EAASF,E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,GACf7D,KAAA,aACAkI,WAAA,GACAtK,OACA,OACA+O,OAAAjD,OAAAgC,QAAAuJ,MACAjV,KAAA0J,OAAAgC,QAAAC,QAAA3L,OAGA0H,QAAA,ICrBmW,I,wBCQ/V1D,EAAY,eACd,EACAvC,EACAoC,GACA,EACA,KACA,WACA,MAIa,OAAAG,E,2CCnBf,W,mBCAArE,EAAOD,QAAU,81C,kCCAjB","file":"js/app.3b0542ee.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/geoportal-extensions-openlayers-samples/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheFooter.vue?vue&type=style&index=0&id=602bfec5&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{},[_c('h2',[_vm._v(\"Generateur de carte \"+_vm._s(_vm.name))]),_c('form',{attrs:{\"id\":\"\",\"action\":\"javascript:void(0);\",\"novalidate\":\"\"},on:{\"submit\":_vm.onSubmitGenerateMap}},[_c('TheCollapsible',{attrs:{\"active\":\"false\",\"name\":\"menu-options-map\",\"title\":\"Options de la carte\"}}),_c('div',{attrs:{\"id\":\"params-map\"}},[_c('TheCptOptionsMenu',{attrs:{\"names\":_vm.getMapNames}}),_vm._l((_vm.getMapOptions),function(options){return _c('div',{key:options.id},[_c('TheCptOptions',{attrs:{\"options\":options},on:{\"check-option\":_vm.onActive}})],1)})],2),_c('TheCollapsible',{attrs:{\"active\":\"false\",\"name\":\"menu-options-widgets\",\"title\":\"Options des widgets\"}}),_c('div',{attrs:{\"id\":\"params-widgets\"}},[_c('TheCptOptionsMenu',{attrs:{\"names\":_vm.getWidgetNames}}),_vm._l((_vm.getWidgetOptions),function(options){return _c('div',{key:options.id},[_c('TheCptOptions',{attrs:{\"options\":options},on:{\"check-option\":_vm.onActive}})],1)})],2),_c('TheCollapsible',{attrs:{\"active\":\"true\",\"name\":\"menu-options-generate\",\"title\":\"Options de génération de la carte\"}}),_c('div',{attrs:{\"id\":\"params-generate\"}},[_c('button',{staticClass:\"button\",attrs:{\"type\":\"submit\"}},[_vm._v(\"Générer la carte\")]),_c('button',{staticClass:\"button\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.onClickReset}},[_vm._v(\"Réinitialiser les options\")]),_c('button',{staticClass:\"button\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.onClickShowCode}},[_vm._v(\"Afficher le code\")]),_c('button',{staticClass:\"button\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.onClickExportMap}},[_vm._v(\"Exporter la carte\")])])],1),_c('div',{style:({ display : _vm.display }),attrs:{\"id\":\"mapContainer\"}},[_c('div',{attrs:{\"id\":\"map\"}})]),_c('TheVersion',{attrs:{\"version\":_vm.info.version,\"date\":_vm.info.date}}),(_vm.show)?_c('ThePopup',{on:{\"close\":_vm.onClickClosePopup,\"copy\":_vm.onClickCopyCode},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('h3',[_vm._v(\"Code JS\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('highlightjs',{attrs:{\"language\":\"javascript\",\"code\":_vm.code}})]},proxy:true},{key:\"footer\",fn:function(){return [_vm._v(\" version \"+_vm._s(_vm.info.version)+\" \")]},proxy:true}],null,false,2169187397)}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"info\"}},[_c('p',[_vm._v(\" Bibliothèque des extensions version \"+_vm._s(_vm.version)+\" ( \"+_vm._s(_vm.date)+\" )\")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheVersion.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheVersion.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TheVersion.vue?vue&type=template&id=f5c173a8&scoped=true\"\nimport script from \"./TheVersion.vue?vue&type=script&lang=js\"\nexport * from \"./TheVersion.vue?vue&type=script&lang=js\"\nimport style0 from \"./TheVersion.vue?vue&type=style&index=0&id=f5c173a8&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f5c173a8\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('button',{staticClass:\"collapsible\",attrs:{\"id\":_vm.name,\"type\":\"button\"}},[_vm._v(_vm._s(_vm.title))])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCollapsible.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCollapsible.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TheCollapsible.vue?vue&type=template&id=4cabe56d&scoped=true\"\nimport script from \"./TheCollapsible.vue?vue&type=script&lang=js\"\nexport * from \"./TheCollapsible.vue?vue&type=script&lang=js\"\nimport style0 from \"./TheCollapsible.vue?vue&type=style&index=0&id=4cabe56d&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4cabe56d\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{\"name\":\"modal\"}},[_c('div',{staticClass:\"modal-mask\"},[_c('div',{staticClass:\"modal-close\",on:{\"click\":function($event){return _vm.$emit('close')}}},[_vm._v(\"×\")]),_c('div',{staticClass:\"modal-wrapper\"},[_c('div',{staticClass:\"modal-container\"},[_c('div',{staticClass:\"modal-header\"},[_vm._t(\"header\",function(){return [_vm._v(\" default header \")]})],2),_c('div',{staticClass:\"modal-body\"},[_vm._t(\"body\",function(){return [_vm._v(\" default body \")]})],2),_c('div',{staticClass:\"modal-footer\"},[_vm._t(\"footer\",function(){return [_vm._v(\" default footer \")]}),_c('div',{staticClass:\"container-default-buttons\"},[_c('button',{staticClass:\"modal-default-button\",on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('close')}}},[_vm._v(\" Fermer \")]),_c('button',{staticClass:\"modal-default-button\",on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('copy')}}},[_vm._v(\" Copier \")])])],2)])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ThePopup.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ThePopup.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ThePopup.vue?vue&type=template&id=75e6057a&scoped=true\"\nimport script from \"./ThePopup.vue?vue&type=script&lang=js\"\nexport * from \"./ThePopup.vue?vue&type=script&lang=js\"\nimport style0 from \"./ThePopup.vue?vue&type=style&index=0&id=75e6057a&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"75e6057a\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"tabcontent\",attrs:{\"id\":_vm.options.name}},[(_vm.options.auto === true)?_c('div',{staticClass:\"check-option\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.active),expression:\"active\"}],attrs:{\"type\":\"checkbox\",\"name\":_vm.options.name},domProps:{\"checked\":Array.isArray(_vm.active)?_vm._i(_vm.active,null)>-1:(_vm.active)},on:{\"change\":[function($event){var $$a=_vm.active,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.active=$$a.concat([$$v]))}else{$$i>-1&&(_vm.active=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.active=$$c}},function($event){return _vm.onChangeCheckOption($event)}]}}),_c('span',[_vm._v(\"Activation du widget \\\"\"+_vm._s(_vm.options.name)+\"\\\"\")])]):_vm._e(),_c('fieldset',[(_vm.options.auto === true)?_c('legend',[_vm._v(\" Options du widgets \"),_c('button',{staticClass:\"button-exemple\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.onClickShowExample}},[_vm._v(\"exemple\")])]):_vm._e(),_vm._l((_vm.options.params),function(option){return _c('div',{key:option.id,ref:_vm.options.name,refInFor:true,staticClass:\"button-options\"},[_c('TheCptOptionType',{attrs:{\"option\":option,\"name\":_vm.options.name,\"auto\":_vm.options.auto},on:{\"change-value\":_vm.onChangeValue}})],1)})],2),(_vm.show)?_c('ThePopup',{on:{\"close\":_vm.onClickClosePopup,\"copy\":_vm.onClickCopyCode},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('h3',[_vm._v(\"Exemples\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('pre',[_vm._v(_vm._s(_vm.exemple))])]},proxy:true},{key:\"footer\",fn:function(){return [_vm._v(\" ... \")]},proxy:true}],null,false,1685722139)}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.isSection() === true)?_c('div',{staticClass:\"div-option-section\"},[_vm._v(\" \"+_vm._s(_vm.option.name)+\" \")]):_c('div',{staticClass:\"div-option\"},[_c('button',{staticClass:\"button-option\",attrs:{\"type\":\"button\",\"id\":_vm.name + '.' + _vm.option.name,\"title\":_vm.option.description},on:{\"click\":function($event){return _vm.onClickButtonOption($event)}}},[_vm._v(\" \"+_vm._s(_vm.option.name)+\" \")]),_c('div',{ref:_vm.name + '.' + _vm.option.name,staticClass:\"panel-option\"},[(_vm.option.type.names[0].toLowerCase() === 'string')?_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value),expression:\"value\"}],ref:\"type-option\",staticClass:\"type-text-option\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.value)},on:{\"change\":function($event){return _vm.onChangeValue($event, false)},\"input\":function($event){if($event.target.composing)return;_vm.value=$event.target.value}}})]):(_vm.option.type.names[0].toLowerCase() === 'boolean')?_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value),expression:\"value\"}],ref:\"type-option\",staticClass:\"type-check-option\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.value)?_vm._i(_vm.value,null)>-1:(_vm.value)},on:{\"change\":[function($event){var $$a=_vm.value,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.value=$$a.concat([$$v]))}else{$$i>-1&&(_vm.value=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.value=$$c}},function($event){return _vm.onChangeValue($event, false)}]}})]):(_vm.option.type.names[0].toLowerCase() === 'array')?_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value),expression:\"value\"}],ref:\"type-option\",staticClass:\"type-array-option\",attrs:{\"type\":\"text\",\"placeholder\":\"[ ]\"},domProps:{\"value\":(_vm.value)},on:{\"change\":function($event){return _vm.onChangeValue($event, true)},\"input\":function($event){if($event.target.composing)return;_vm.value=$event.target.value}}})]):(_vm.option.type.names[0].toLowerCase() === 'array.')?_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value),expression:\"value\"}],ref:\"type-option\",staticClass:\"type-array-option\",attrs:{\"type\":\"text\",\"placeholder\":\"[{ }]\"},domProps:{\"value\":(_vm.value)},on:{\"change\":function($event){return _vm.onChangeValue($event, true)},\"input\":function($event){if($event.target.composing)return;_vm.value=$event.target.value}}})]):(_vm.option.type.names[0].toLowerCase() === 'number')?_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value),expression:\"value\"}],ref:\"type-option\",staticClass:\"type-number-option\",attrs:{\"type\":\"number\"},domProps:{\"value\":(_vm.value)},on:{\"change\":function($event){return _vm.onChangeValue($event, false)},\"input\":function($event){if($event.target.composing)return;_vm.value=$event.target.value}}})]):(_vm.option.type.names[0].toLowerCase() === 'object')?_c('div',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value),expression:\"value\"}],ref:\"type-option\",staticClass:\"type-obj-option\",attrs:{\"placeholder\":\"{ }\"},domProps:{\"value\":(_vm.value)},on:{\"change\":function($event){return _vm.onChangeValue($event, true)},\"input\":function($event){if($event.target.composing)return;_vm.value=$event.target.value}}})]):(_vm.option.type.names[0].toLowerCase() === 'function')?_c('div',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value),expression:\"value\"}],ref:\"type-option\",staticClass:\"type-fct-option\",attrs:{\"placeholder\":\"{ }\"},domProps:{\"value\":(_vm.value)},on:{\"change\":function($event){return _vm.onChangeValue($event, true)},\"input\":function($event){if($event.target.composing)return;_vm.value=$event.target.value}}})]):_c('div',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value),expression:\"value\"}],ref:\"type-option\",staticClass:\"type-obj-option\",attrs:{\"placeholder\":\"{ }\"},domProps:{\"value\":(_vm.value)},on:{\"change\":function($event){return _vm.onChangeValue($event, true)},\"input\":function($event){if($event.target.composing)return;_vm.value=$event.target.value}}})])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptOptionType.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptOptionType.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TheCptOptionType.vue?vue&type=template&id=04662b44&scoped=true\"\nimport script from \"./TheCptOptionType.vue?vue&type=script&lang=js\"\nexport * from \"./TheCptOptionType.vue?vue&type=script&lang=js\"\nimport style0 from \"./TheCptOptionType.vue?vue&type=style&index=0&id=04662b44&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"04662b44\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptOptions.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptOptions.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TheCptOptions.vue?vue&type=template&id=a3f1d260&scoped=true\"\nimport script from \"./TheCptOptions.vue?vue&type=script&lang=js\"\nexport * from \"./TheCptOptions.vue?vue&type=script&lang=js\"\nimport style0 from \"./TheCptOptions.vue?vue&type=style&index=0&id=a3f1d260&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a3f1d260\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"tab\"},_vm._l((_vm.names),function(name,index){return _c('button',{key:index,ref:'tablinks_'+index,refInFor:true,staticClass:\"tablinks button-menu\",class:{ 'active': index === 0 },attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.onClickButtonOpenOptions($event, name)}}},[_c('span',[_vm._v(_vm._s(name)+\" \")])])}),0)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptOptionsMenu.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptOptionsMenu.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TheCptOptionsMenu.vue?vue&type=template&id=0de3e27c&scoped=true\"\nimport script from \"./TheCptOptionsMenu.vue?vue&type=script&lang=js\"\nexport * from \"./TheCptOptionsMenu.vue?vue&type=script&lang=js\"\nimport style0 from \"./TheCptOptionsMenu.vue?vue&type=style&index=0&id=0de3e27c&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0de3e27c\",\n null\n \n)\n\nexport default component.exports","// \n// ES6 notation\n// https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Template_literals\nimport {\n commaLists,\n stripIndents,\n html\n} from 'common-tags';\n\nimport {\n config\n} from \"./config\";\n\nvar data = {\n apiKey: config.apiKey,\n layers: [],\n view: \"\",\n widgets: {\n drawing: {\n code: \"\",\n class: \"Drawing\"\n },\n isocurve: {\n code: \"\",\n class: \"Isocurve\"\n },\n layerimport: {\n code: \"\",\n class: \"LayerImport\"\n },\n layerswitcher: {\n code: \"\",\n class: \"LayerSwitcher\"\n },\n geoportalmouseposition: {\n code: \"\",\n class: \"GeoportalMousePosition\"\n },\n route: {\n code: \"\",\n class: \"Route\"\n },\n reversegeocode: {\n code: \"\",\n class: \"ReverseGeocode\"\n },\n searchengine: {\n code: \"\",\n class: \"SearchEngine\"\n },\n getfeatureinfo: {\n code: \"\",\n class: \"GetFeatureInfo\"\n },\n measurelength: {\n code: \"\",\n class: \"MeasureLength\"\n },\n measurearea: {\n code: \"\",\n class: \"MeasureArea\"\n },\n measureazimuth: {\n code: \"\",\n class: \"MeasureAzimuth\"\n },\n elevationpath: {\n code: \"\",\n class: \"ElavationPath\"\n },\n geoportalattribution: {\n code: \"\",\n class: \"GeoportalAttribution\"\n }\n }\n};\n\n/**\n * clear data\n */\nfunction __clear() {\n data.layers = [];\n data.view = \"\";\n for (const key in data.widgets) {\n if (Object.hasOwnProperty.call(data.widgets, key)) {\n const el = data.widgets[key];\n el.code = \"\";\n }\n }\n}\n\n/**\n * add a layer config into template\n * @param {String} type \n * @param {String} name \n * @example\n * __addLayer('tile', 'ORTHOIMAGERY.ORTHOPHOTOS')\n */\nfunction __addLayer(type, name) {\n switch (type) {\n case \"tile\":\n data.layers.push(`\n new ol.layer.GeoportalWMTS({\n layer : \"${name}\"\n })`);\n break;\n case \"image\":\n data.layers.push(`\n new ol.layer.GeoportalWMS({\n layer : \"${name}\"\n })`);\n break;\n case \"vector.kml\":\n data.layers.push(`\n new ol.layer.Vector({\n source: new ol.source.Vector({\n url: \"${name}\",\n format: new ol.format.KML()\n })\n })`);\n break;\n case \"vector.gpx\":\n data.layers.push(`\n new ol.layer.Vector({\n source: new ol.source.Vector({\n url: \"${name}\",\n format: new ol.format.GPX()\n })\n })`);\n break;\n case \"vector.geojson\":\n data.layers.push(`\n new ol.layer.Vector({\n source: new ol.source.Vector({\n url: \"${name}\",\n format: new ol.format.GeoJSON()\n })\n })`);\n break;\n case \"vectortile\":\n default:\n break;\n }\n}\n\n/**\n * add a view config into template\n * @param {Object} option \n */\nfunction __addView(option) {\n data.view = JSON.stringify(option, null, 0);\n}\n\n/**\n * add a widget config into template\n * @param {String} name \n * @param {Object} option\n * @example\n * __addWidget('drawing', {})\n */\nfunction __addWidget(name, option) {\n var opts = JSON.stringify(option || {}, null, 0);\n var className = data.widgets[name].class;\n data.widgets[name].code = `\n // widget ${name}\n var ${name} = new ol.control.${className}(${opts});\n map.addControl(${name});\n `;\n}\n\n/**\n * get code js\n * @returns {String}\n */\nfunction __getCodeJS() {\n var layers = commaLists `[${data.layers}]`;\n var view = stripIndents `${data.view}`;\n\n return `\n var self = this;\n\n // Creation de la carte\n var createMap = function () {\n\n // les options des couches\n var layersOptions = ${layers};\n\n // les options de la vue\n var viewOptions = ${view};\n\n // la carte\n var map = new ol.Map({\n target : \"map\",\n layers : layersOptions,\n view : new ol.View(viewOptions)\n });\n\n // les widgets\n ${data.widgets.drawing.code}\n ${data.widgets.isocurve.code}\n ${data.widgets.layerimport.code}\n ${data.widgets.layerswitcher.code}\n ${data.widgets.geoportalmouseposition.code}\n ${data.widgets.route.code}\n ${data.widgets.reversegeocode.code}\n ${data.widgets.searchengine.code}\n ${data.widgets.getfeatureinfo.code}\n ${data.widgets.measurelength.code}\n ${data.widgets.measurearea.code}\n ${data.widgets.measureazimuth.code}\n ${data.widgets.elevationpath.code}\n ${data.widgets.geoportalattribution.code}\n };\n\n // Appel autoconf\n Gp.Services.getConfig({\n apiKey: \"${data.apiKey}\",\n protocol : \"XHR\",\n onSuccess : createMap\n });\n `;\n}\n\n/**\n * get code html\n * @returns {String}\n */\nfunction __getCodeHTML() {\n var code = {\n js: __getCodeJS(),\n css: __getCodeCSS()\n };\n var lib = {\n js: config.project.library.dist.js,\n css: config.project.library.dist.css\n };\n var plugin = {\n css: config.project.library.plugin.css,\n js: config.project.library.plugin.js\n }\n\n return html `\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n\n Exemple\n\n \n \n

Extensions Géoportail

\n \n
\n \n \n \n \n `;\n}\n\n/**\n * get code css\n * @returns {String}\n */\nfunction __getCodeCSS() {\n return `\n #map:{\n height: 400px;\n }\n `;\n}\n\nexport var tpl = {\n clear: __clear,\n addLayer: __addLayer,\n addView: __addView,\n addWidget: __addWidget,\n getCodeJS: __getCodeJS,\n getCodeHTML: __getCodeHTML,\n getCodeCSS: __getCodeCSS\n};","import DataObjectParser from \"dataobject-parser\";\n\n/**\n * Simple object check.\n * @param item\n * @returns {boolean}\n */\nexport function isObject(item) {\n return (item && typeof item === 'object' && !Array.isArray(item));\n}\n \n /**\n * Deep merge two objects.\n * @param target\n * @param ...sources\n */\nexport function mergeDeep(target, ...sources) {\n if (!sources.length) return target;\n const source = sources.shift();\n \n if (isObject(target) && isObject(source)) {\n for (const key in source) {\n if (isObject(source[key])) {\n if (!target[key]) Object.assign(target, { [key]: {} });\n mergeDeep(target[key], source[key]);\n } else {\n Object.assign(target, { [key]: source[key] });\n }\n }\n }\n \n return mergeDeep(target, ...sources);\n}\n\n/**\n * Conversion des options\n * @param opts\n */\n export function setOptions(opts) {\n var obj = {\n name : opts.name,\n options : {}\n };\n opts.params.forEach(element => {\n if (\"value\" in element && element.value !== null) {\n var d = new DataObjectParser();\n d.set(element.name, element.value);\n var o = d.data();\n mergeDeep(obj, o);\n }\n });\n return obj.options;\n}","// \n\nimport { setOptions } from \"./helper\";\nimport { config } from \"./config\";\nimport { tpl } from \"./template\";\n\nimport Map from \"ol/Map\";\nimport View from \"ol/View\";\nimport KML from \"ol/format/KML\"; \nimport GeoJSON from \"ol/format/GeoJSON\"; \nimport GPX from \"ol/format/GPX\";\n// import MapboxVector from \"ol/layer/MapboxVector\"; // EVOL ol v6 !\nimport VectorSource from \"ol/source/Vector\";\nimport {\n Vector as VectorLayer\n} from \"ol/layer\";\n\nimport \"ol/ol.css\";\n\nimport {\n olExtended, \n olExtVersion, \n olExtDate,\n Services,\n Logger\n} from \"geoportal-extensions-openlayers\";\n\nimport JsonDrawing from \"./data/openlayers-drawing.doclet.json\";\nimport JsonElevationPath from \"./data/openlayers-elevationpath.doclet.json\";\nimport JsonGeoportalAttribution from \"./data/openlayers-geoportalattribution.doclet.json\";\nimport JsonGetFeatureInfo from \"./data/openlayers-getfeatureinfo.doclet.json\";\nimport JsonIsoCurve from \"./data/openlayers-isocurve.doclet.json\";\nimport JsonLayerImport from \"./data/openlayers-layerimport.doclet.json\";\nimport JsonLayerSwitcher from \"./data/openlayers-layerswitcher.doclet.json\";\nimport JsonMeasureArea from \"./data/openlayers-measurearea.doclet.json\";\nimport JsonMeasureAzimuth from \"./data/openlayers-measureazimuth.doclet.json\";\nimport JsonMeasureLength from \"./data/openlayers-measurelength.doclet.json\";\nimport JsonGeoportalMousePosition from \"./data/openlayers-mouseposition.doclet.json\";\nimport JsonReverseGeocode from \"./data/openlayers-reversegeocode.doclet.json\";\nimport JsonRoute from \"./data/openlayers-route.doclet.json\";\nimport JsonSearchEngine from \"./data/openlayers-searchengine.doclet.json\";\n\nimport JsonOlView from \"./data/ol/openlayers-view.json\";\nimport JsonOlLayer from \"./data/ol/openlayers-layer.json\";\n\n// gestion des loggers des API\nconst isProduction = process.env.NODE_ENV === 'production';\nisProduction ? Logger.disableAll() : Logger.enableAll();\n\n// gestion du path de deploiement\nconst publicPath = process.env.BASE_URL;\n\n/** suppression de la carte */\nexport function removeMap() {\n var map = document.getElementById(\"map\");\n while (map.hasChildNodes()) { \n map.removeChild(map.firstChild);\n }\n}\n\n/** ajout de la carte */\nexport function addMap(options, status) {\n\n // Creation de la Map\n var createMap = function () {\n tpl.clear();\n\n // traitements des layers\n var layersOptions = [];\n\n options.ol.layer.params.forEach(element => {\n if (element.section) {\n return;\n }\n if (!element.value) {\n return;\n }\n if (element.service.toLowerCase() === \"tile\") {\n layersOptions.push(new olExtended.layer.GeoportalWMTS({\n layer : element.name\n }));\n tpl.addLayer(\"tile\", element.name);\n }\n if (element.service.toLowerCase() === \"image\") {\n layersOptions.push(new olExtended.layer.GeoportalWMS({\n layer : element.name\n }));\n tpl.addLayer(\"image\", element.name);\n }\n if (element.service.toLowerCase() === \"vector.kml\") {\n layersOptions.push(new VectorLayer({\n source: new VectorSource({\n url: publicPath + element.name,\n format: new KML()\n })\n }));\n tpl.addLayer(\"vector.kml\", element.name);\n }\n if (element.service.toLowerCase() === \"vector.gpx\") {\n layersOptions.push(new VectorLayer({\n source: new VectorSource({\n url: publicPath + element.name,\n format: new GPX()\n })\n }));\n tpl.addLayer(\"vector.gpx\", element.name);\n }\n if (element.service.toLowerCase() === \"vector.geojson\") {\n layersOptions.push(new VectorLayer({\n source: new VectorSource({\n url: publicPath + element.name,\n format: new GeoJSON()\n })\n }));\n tpl.addLayer(\"vector.geojson\", element.name);\n }\n if (element.service.toLowerCase() === \"vectortile\") {\n layersOptions.push(\n // EVOL ol v6 !\n // cf. https://openlayers.org/en/latest/apidoc/module-ol_layer_MapboxVector.html\n // new MapboxVector({\n // styleUrl: publicPath + '',\n // })\n );\n }\n });\n\n var map = new Map({\n target : \"map\",\n layers : layersOptions,\n view : new View(setOptions(options.ol.view))\n });\n\n tpl.addView(setOptions(options.ol.view));\n\n var opts;\n if (status.drawing) {\n opts = setOptions(options.drawing);\n var drawing = new olExtended.control.Drawing();\n map.addControl(drawing);\n tpl.addWidget(\"drawing\", opts);\n }\n if (status.isocurve) {\n opts = setOptions(options.isocurve);\n var iso = new olExtended.control.Isocurve(opts);\n map.addControl(iso);\n tpl.addWidget(\"isocurve\", opts);\n }\n if (status.layerimport) {\n opts = setOptions(options.layerimport);\n var layerImport = new olExtended.control.LayerImport(opts);\n map.addControl(layerImport);\n tpl.addWidget(\"layerimport\", opts);\n }\n if (status.layerswitcher) {\n opts = setOptions(options.layerswitcher);\n var layerSwitcher = new olExtended.control.LayerSwitcher(opts);\n map.addControl(layerSwitcher);\n tpl.addWidget(\"layerswitcher\", opts);\n }\n if (status.geoportalmouseposition) {\n opts = setOptions(options.geoportalmouseposition);\n var mp = new olExtended.control.GeoportalMousePosition(opts);\n map.addControl(mp);\n tpl.addWidget(\"geoportalmouseposition\", opts);\n }\n if (status.route) {\n opts = setOptions(options.route);\n var route = new olExtended.control.Route(opts);\n map.addControl(route);\n tpl.addWidget(\"route\", opts);\n }\n if (status.reversegeocode) {\n opts = setOptions(options.reversegeocode);\n var reverse = new olExtended.control.ReverseGeocode(opts);\n map.addControl(reverse);\n tpl.addWidget(\"reversegeocode\", opts);\n }\n if (status.searchengine) {\n opts = setOptions(options.searchengine);\n var search = new olExtended.control.SearchEngine(opts);\n map.addControl(search);\n tpl.addWidget(\"searchengine\", opts);\n }\n if (status.getfeatureinfo) {\n opts = setOptions(options.getfeatureinfo);\n var feature = new olExtended.control.GetFeatureInfo(opts);\n map.addControl(feature);\n tpl.addWidget(\"getfeatureinfo\", opts);\n }\n if (status.measurelength) {\n opts = setOptions(options.measurelength);\n var measureLength = new olExtended.control.MeasureLength(opts);\n map.addControl(measureLength);\n tpl.addWidget(\"measurelength\", opts);\n }\n if (status.measurearea) {\n opts = setOptions(options.measurearea);\n var measureArea = new olExtended.control.MeasureArea(opts);\n map.addControl(measureArea);\n tpl.addWidget(\"measurearea\", opts);\n }\n if (status.measureazimuth) {\n opts = setOptions(options.measureazimuth);\n var measureAzimuth = new olExtended.control.MeasureAzimuth(opts);\n map.addControl(measureAzimuth);\n tpl.addWidget(\"measureazimuth\", opts);\n }\n if (status.elevationpath) {\n opts = setOptions(options.elevationpath);\n var measureProfil = new olExtended.control.ElevationPath(opts);\n map.addControl(measureProfil);\n tpl.addWidget(\"elevationpath\", opts);\n }\n if (status.geoportalattribution) {\n opts = setOptions(options.geoportalattribution);\n var attributions = new olExtended.control.GeoportalAttribution(opts);\n map.addControl(attributions);\n tpl.addWidget(\"geoportalattribution\", opts);\n }\n };\n\n // Appel autoconf\n Services.getConfig({\n apiKey: config.apiKey,\n protocol : \"XHR\",\n onSuccess : createMap\n });\n}\n\n/** obtenir la nom de la librairie */\nexport function getLibraryName() {\n return config.project.library.name;\n}\n\n/** obtenir les options des widgets par defaut */\nexport function getWidgetOptions() {\n return {\n measurelength : JsonMeasureLength,\n measurearea : JsonMeasureArea,\n measureazimuth : JsonMeasureAzimuth,\n drawing : JsonDrawing,\n layerimport : JsonLayerImport,\n getfeatureinfo : JsonGetFeatureInfo,\n geoportalattribution : JsonGeoportalAttribution,\n route : JsonRoute,\n geoportalmouseposition : JsonGeoportalMousePosition,\n layerswitcher : JsonLayerSwitcher,\n reversegeocode : JsonReverseGeocode,\n searchengine : JsonSearchEngine,\n isocurve : JsonIsoCurve,\n elevationpath : JsonElevationPath\n };\n}\n\n/** obtenir les options de la carte par defaut */\nexport function getMapOptions() {\n return {\n ol: {\n view: JsonOlView,\n layer: JsonOlLayer\n }\n };\n}\n\n/** obtenir le statut des widgets par defaut */\nexport function getWidgetStatus() {\n return {\n measurelength : false,\n measurearea : false,\n measureazimuth : false,\n drawing : false,\n layerimport : false,\n getfeatureinfo : false,\n geoportalattribution : false,\n route : false,\n geoportalmouseposition : false,\n layerswitcher : false,\n reversegeocode : false,\n searchengine : false,\n isocurve : false,\n elevationpath : false\n };\n}\n\n/** obtenir la version / date des widgets */\nexport function getLibraryInfo() {\n return {\n version : \"[\" + olExtVersion + \"]\",\n date : olExtDate\n };\n}","\n\n\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptGeneratorMap.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptGeneratorMap.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TheCptGeneratorMap.vue?vue&type=template&id=68221b20&scoped=true\"\nimport script from \"./TheCptGeneratorMap.vue?vue&type=script&lang=js\"\nexport * from \"./TheCptGeneratorMap.vue?vue&type=script&lang=js\"\nimport style0 from \"./TheCptGeneratorMap.vue?vue&type=style&index=0&id=68221b20&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"68221b20\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/jsdoc.166b2c14.png\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheHeader.vue?vue&type=style&index=0&id=704a8df7&prod&scoped=true&lang=css\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheVersion.vue?vue&type=style&index=0&id=f5c173a8&prod&scoped=true&lang=css\"","module.exports = __webpack_public_path__ + \"img/logo-openlayers.1207e253.png\";","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"app\"}},[_c('TheHeader',{attrs:{\"title\":\"Exemples d'utilisation de l'API des extensions\"}}),_c('div',{attrs:{\"id\":\"app-content\"}},[_c('div',{staticClass:\"header-library\"},[_c('div',{staticClass:\"header-p\"},[_c('a',{attrs:{\"href\":_vm.url}},[_c('img',{attrs:{\"src\":require(\"./assets/logo-openlayers.png\"),\"alt\":\"OpenLayers\",\"width\":\"50\",\"height\":\"50\"}})])]),_c('div',{staticClass:\"header-p\"},[_vm._v(\"Accès à la bibliothèque des \"),_c('a',{attrs:{\"href\":_vm.source}},[_vm._v(\"extensions Geoportail\")])])]),_c('TheRouter',{attrs:{\"name\":_vm.name}}),_c('router-view'),_c('TheFooter')],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('header',[_c('div',{staticClass:\"header-content\"},[_c('a',{staticClass:\"ribbon-github\",attrs:{\"href\":_vm.source}},[_vm._v(\"Fork me on GitHub\")]),_vm._m(0),_c('h1',[_vm._v(_vm._s(_vm.title))])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"logoIGN\"},[_c('a',{attrs:{\"href\":\"https://www.ign.fr\"}},[_c('img',{attrs:{\"src\":require(\"./../assets/logoIGN.png\"),\"alt\":\"IGN\",\"width\":\"94\",\"height\":\"100\"}})])])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheHeader.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheHeader.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TheHeader.vue?vue&type=template&id=704a8df7&scoped=true\"\nimport script from \"./TheHeader.vue?vue&type=script&lang=js\"\nexport * from \"./TheHeader.vue?vue&type=script&lang=js\"\nimport style0 from \"./TheHeader.vue?vue&type=style&index=0&id=704a8df7&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"704a8df7\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _vm._m(0)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('footer',[_c('div',{staticClass:\"header-content\"},[_c('p',[_c('img',{staticClass:\"logo\",attrs:{\"src\":require(\"./../assets/logoIGNsmall.png\"),\"alt\":\"IGN\",\"title\":\"IGN\",\"width\":\"51\",\"height\":\"25\"}}),_c('img',{staticClass:\"baseline\",attrs:{\"src\":require(\"./../assets/baselineIGN.png\"),\"alt\":\"L'information grandeur nature\",\"title\":\"L'information grandeur nature\",\"width\":\"256\",\"height\":\"21\"}})])])])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheFooter.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheFooter.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TheFooter.vue?vue&type=template&id=602bfec5&scoped=true\"\nimport script from \"./TheFooter.vue?vue&type=script&lang=js\"\nexport * from \"./TheFooter.vue?vue&type=script&lang=js\"\nimport style0 from \"./TheFooter.vue?vue&type=style&index=0&id=602bfec5&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"602bfec5\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"feature\"},[_c('router-link',{staticClass:\"button\",attrs:{\"to\":\"/generator\"}},[_c('img',{attrs:{\"src\":require(\"./../assets/map.png\"),\"alt\":\"IGN\",\"width\":\"250\",\"height\":\"250\"}})]),_c('router-link',{staticClass:\"button\",attrs:{\"to\":\"/jsdoc\"}},[_c('img',{attrs:{\"src\":require(\"./../assets/jsdoc.png\"),\"alt\":\"IGN\",\"width\":\"250\",\"height\":\"250\"}})])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheRouter.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheRouter.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TheRouter.vue?vue&type=template&id=0edb326e&scoped=true\"\nimport script from \"./TheRouter.vue?vue&type=script&lang=js\"\nexport * from \"./TheRouter.vue?vue&type=script&lang=js\"\nimport style0 from \"./TheRouter.vue?vue&type=style&index=0&id=0edb326e&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0edb326e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=d2b5937e&scoped=true\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=d2b5937e&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d2b5937e\",\n null\n \n)\n\nexport default component.exports","import Vue from \"vue\";\nimport VueRouter from \"vue-router\";\nimport App from \"./App.vue\";\n\n// composants\nimport TheCptGeneratorMap from \"./components/router/TheCptGeneratorMap\";\nimport TheCptJsdoc from \"./components/router/TheCptJsdoc\";\n\nimport VueLogger from 'vuejs-logger';\n\nimport hljs from 'highlight.js/lib/core';\nimport javascript from 'highlight.js/lib/languages/javascript';\nimport vuePlugin from \"@highlightjs/vue-plugin\";\n\nhljs.registerLanguage('javascript', javascript);\n\nconst isProduction = process.env.NODE_ENV === 'production';\n \nconst options = {\n isEnabled: !isProduction,\n logLevel : 'debug',\n stringifyArguments : false,\n showLogLevel : true,\n showMethodName : true,\n separator: '|',\n showConsoleColors: true\n};\n\nVue.use(vuePlugin);\n\nVue.use(VueLogger, options);\n\nVue.use(VueRouter);\n\nVue.config.productionTip = false;\n\nconst router = new VueRouter({\n mode: 'history',\n base: __dirname,\n routes : [\n { path: '/jsdoc', component: TheCptJsdoc },\n { path: '/generator', component: TheCptGeneratorMap }\n ]\n});\n\nnew Vue({\n router,\n render: h => h(App)\n}).$mount(\"#app\");\n","module.exports = __webpack_public_path__ + \"img/logoIGN.c8530552.png\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptOptionType.vue?vue&type=style&index=0&id=04662b44&prod&scoped=true&lang=css\"","module.exports = __webpack_public_path__ + \"img/map.93df1905.png\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ThePopup.vue?vue&type=style&index=0&id=75e6057a&prod&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptJsdoc.vue?vue&type=style&index=0&id=77f50f4e&prod&scoped=true&lang=css\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheRouter.vue?vue&type=style&index=0&id=0edb326e&prod&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptGeneratorMap.vue?vue&type=style&index=0&id=68221b20&prod&scoped=true&lang=css\"","/**\n * Configuration par defaut de la carte\n */\nvar apiKey = \"full\";\n\n/**\n * Configuration par defaut du projet\n */\nvar project = {\n sourceProject : \"https://github.com/IGNF/geoportal-extensions-openlayers-samples\",\n sourceExtensions: \"https://ignf.github.io/geoportal-extensions\",\n jsdoc: \"https://ignf.github.io/geoportal-extensions/current/jsdoc/openlayers\",\n library: {\n name: \"OpenLayers\",\n url: \"https://openlayers.org/\",\n logo: \"./assets/logo-openlayers.png\",\n dist: {\n js: \"https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v5.3.0/build/ol.js\",\n css: \"https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v5.3.0/css/ol.css\"\n },\n plugin: {\n js: \"https://ignf.github.io/geoportal-extensions/openlayers-latest/dist/GpPluginOpenLayers.js\",\n css: \"https://ignf.github.io/geoportal-extensions/openlayers-latest/dist/GpPluginOpenLayers.css\"\n }\n }\n};\n\nexport var config = {\n apiKey: apiKey,\n project: project\n};","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=d2b5937e&prod&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptOptionsMenu.vue?vue&type=style&index=0&id=0de3e27c&prod&scoped=true&lang=css\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAAVBAMAAABbMC3JAAAAMFBMVEX///////////////////////////////////////////////////////////////9Or7hAAAAAD3RSTlMAESIzRFVmd4iZqrvM3e5GKvWZAAAD90lEQVRIibWWz2vbZhjHH8c/5F8R7m2QNtZxMFbnMGgpFOc/iHco7SGbBDuOTGKDrSWlcil0PbRIt44dJpf9AUq3XXpo7BXGCuuiDMaWQ1o7G0mzMGYc2ZJdWX73vFLkuk7jZMF7DrL0Ps/z1ed9nucVBhirhbhjJibV0f548Wg6qcphEdOZ4Vev0mu+NDpt8hB/YNlDAcSZoQXWA9AvbIxMY0vweDwA8jBAdole/2YCgPdfL6zC2ngAFG5oIU+7H7FfBgQ9Ct8YFC4eqPjZKABG2gfQn4Gzfi14GhJ5madlIOVgUKi8uQ+A33pFa+IJXkRnYCWkV2gmLWqUZsTI0usALtGbqV7hoxb+yj5juICjTsdBz4C48ifASVqUqBAAPC5gXNUoAdzpa52ycIsO5z94yScJAqQ7NoS2UiYV/wYGvD7AF9NCGfceMqRY9yFdKHjraZRmbZ+w/O7TDOgCg8NfQ7Syy50n5IIJkS6DEfV+VR98iR3EN14jxb1kQ8FHTdqGmD2Jz+FuEOp5mXobNOKIUhUlkhac/l7O9AFYXBM7HkBoB3j1SgfmPpDEBtb9viyd0ytMDeImGFyMBJ+M2MY1eHOFg9QWW/OT43a6AmFHa0G8xXZg4vYfAYAnvSz8A1fLBaVQV4HRVNBvU0DFr3JOgtO6S6s2E2vizusbwC/WjAbqgVzEw5qoweQSiB/vkKCaaZUX5DY2bZZt+Mn5EtsCpvlMgKQ55wJDK+OZ5002oZ4BWdDfQQm2l4Ed+T5l8yual0B2n+ENf/lyA0416iXIy81eA9IbFCBVS9boJMqfk6e1PdWcIKqyCdE2IICXrAj53kyKAiZMmRQYEpx5z8sXKcCcpJ0hLWBfQMTyfNO/+C0ogmJrWA2FPDCZ6j0iQL7u/mVCTp0wViHRxA9FrnSOnCVXrD1VfrZcUdC1C7LtJ5cz+p3tKQrAtAxx7Q23P3nUq3EMkSC3JM9b7vWsFQDECZoKyU2QV3GiUuS3KCHOCcJBtkc+tWD6O+0HByIdbEWaEItx+5OVI72aomK7r9rLBS9ZftINffXchkvGJ6Qbra51AgDPq1w0FjchtZsnlffc7C7AOhfXcPs6AmCvNLIwy7g3xQ9XQXYk+Bl7bN6FdYhWn8P87/AQ5skjo81N/Arymj82sVsXTR5vdWcm8eI8TU7U7wHMymT7OiiP8BAHtYK3qTdJvgXt64gV73IojnV6izg34VVb6C0nghZDCM8H/6N3tz4YFKsGn+1Iq79FgSZnQnCgoZe2xjo4wreVeGPwMVze9ykb9NojnMc0/Yx59OD/A4D/6T8AJJrjB4iT3aOGLt4qV8YPAAtHFp0i7eG/V8ewfwGnwLDMSQM+cgAAAABJRU5ErkJggg==\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{},[_c('h2',[_vm._v(\"JSDoc des extensions \"+_vm._s(_vm.name))]),_c('iframe',{attrs:{\"src\":_vm.source}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptJsdoc.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptJsdoc.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TheCptJsdoc.vue?vue&type=template&id=77f50f4e&scoped=true\"\nimport script from \"./TheCptJsdoc.vue?vue&type=script&lang=js\"\nexport * from \"./TheCptJsdoc.vue?vue&type=script&lang=js\"\nimport style0 from \"./TheCptJsdoc.vue?vue&type=style&index=0&id=77f50f4e&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"77f50f4e\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCollapsible.vue?vue&type=style&index=0&id=4cabe56d&prod&scoped=true&lang=css\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAZCAYAAACclhZ6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA5RJREFUeNq8mFtIVUEUhvcx89ZFSrt4CUvErhJEkVjUU4poFJR0f8qiyG70UvTUQxIGEWhlYZeXgjJ88EGKDCnKDpVdTUUKKwJLS44FmVpn90/8J3bDPnvP7CP98KF7nDNnrVlr1qytzzTNOMMwooEJfGAYDBpqigGzwSIwH0zkeD94BvzgFfjlsk4hmAouGuqKAvG0WeinAWdqQAdo489KYLiQCPaCFjBkhtcgaAbbwRiH9faAIChW+O4Q2eA5aKfdNWKwUTKg3mWRfNBq6ssPUsKsWco5AZCn6EyOtH6jCNWQFL4hh9CWgnow19DXYjA5zN9CqZIIroEchfXEsfhhtTtaw5gScJa5alUvuAsegAANE2dnKZlgmRdQ+J40UMtz1KW1XQhPgxSu6zYhzQQ9NqlzEmQ4pEIWqOLcDyA5zLxtNms/cpgvmAcGLPMbohR9PgwmWZ6DoAzsA+8cPvea83aBPjCgsc8LwRUQp1Pe3JQJ1kpjF8ApDcNOg53cBB2tAOcU7VSaVADGW56/geMeCsB9zciEtAVUqExUKQD50nMz6JTGUsASMIcVSVy8PeAJ+WpEpgNM0/JInBkFMqSxDsvvImJHWOnSwqwhHL8MzrCiqagNJEul/Cj4worqKc1iiFUfpfuhwMERoWw6LCJapJGSmxhhq6rAGq/O+CwXmt1n+hmV9woGZoE6ngE3jQWNLBqmlEmXeAH3y7a5OTP8p4H7V6nSs2gkV4JWxca0BixXjNB5cNDG0as8o991nZEP70ybeS9o4AnwWcHIXI3DX2FTzcQ5rgYJutXMz7bEaki2TUXrY9WpBMUgj6mVwB5KtCaP2du1a1YzEZ0ksNUylujlnrlhE+b9DvPf8qBupOMlNKKcvVmmh9Js8vzURXpp3uOLltw9r1f4rI+RauJ9U81c96JhFo+mSJwZtMnZaLY0ZTal2yrxhjnF0jkbGm+xdhIHfh1o8eqMwepRK43Fc9fvsJFcwFdfcdnNYOdwDEw3Rla9TN1OL+1MqEveAabZVKJcIqLQzVI+jgc2kg10Uheb3waQ7mVhUa1Wg5sOrU86I5HkkrYjoZdgAxvfv84k2KRPOH0Cq8AhRkFHT8HuML3VaA0b5OK0mVkR68MbWiHTJ0jnRAhvKSyUyj6piBdpCotBkPdKN8u0n9F86PD/hVlgmcWGN+C2xkaJTSoSzoxEyJPpTCwNGqAzAeP/Kf23AAMAAaq4gDOc7sEAAAAASUVORK5CYII=\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheCptOptions.vue?vue&type=style&index=0&id=a3f1d260&prod&scoped=true&lang=css\""],"sourceRoot":""} \ No newline at end of file diff --git a/js/chunk-vendors.eaecf78c.js b/js/chunk-vendors.eaecf78c.js new file mode 100644 index 0000000..9f9d356 --- /dev/null +++ b/js/chunk-vendors.eaecf78c.js @@ -0,0 +1,33 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"01d4":function(t,e,n){"use strict";e["a"]={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"}},"0414":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var i=42,o=256},"045d":function(t,e,n){"use strict";e["a"]={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}},"049d":function(t,e,n){"use strict";var i=n("521b"),o=n("f623"),r=n("9abc"),a=n("9769"),s=n("0af5"),l=n("abb7"),c=n("1c48"),u=n("bb6c"),h=n("b589"),d=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),p=function(t){function e(e,n){var i=t.call(this)||this;return i.maxDelta_=-1,i.maxDeltaRevision_=-1,void 0===n||Array.isArray(e[0])?i.setCoordinates(e,n):i.setFlatCoordinates(n,e),i}return d(e,t),e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,i){return i0;if(this.renderedVisible_!=n&&(this.element.style.display=n?"":"none",this.renderedVisible_=n),!Object(a["b"])(e,this.renderedAttributions_)){Object(l["d"])(this.ulElement_);for(var i=0,o=e.length;iC&&(h=(d+p)/2,Object(i["c"])(t,e,n,r,h,m)&&(b=h,C=I)),d=p}return isNaN(b)&&(b=a[s]),l?(l.push(b,m,C),l):[b,m,C]}function a(t,e,n,i,o){for(var a=[],s=0,l=n.length;sr&&(c|=o["a"].RIGHT),la&&(c|=o["a"].ABOVE),c===o["a"].UNKNOWN&&(c=o["a"].INTERSECTING),c}function g(){return[1/0,1/0,-1/0,-1/0]}function m(t,e,n,i,o){return o?(o[0]=t,o[1]=e,o[2]=n,o[3]=i,o):[t,e,n,i]}function y(t){return m(1/0,1/0,-1/0,-1/0,t)}function v(t,e){var n=t[0],i=t[1];return m(n,i,n,i,e)}function A(t,e,n,i,o){var r=y(o);return I(r,t,e,n,i)}function _(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function b(t,e){return e[0]t[2]&&(t[2]=e[2]),e[1]t[3]&&(t[3]=e[3]),t}function C(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function I(t,e,n,i,o){for(;ne[0]?i[0]=t[0]:i[0]=e[0],t[1]>e[1]?i[1]=t[1]:i[1]=e[1],t[2]=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function D(t){return t[2]=s&&y<=c),i||!(a&o["a"].RIGHT)||r&o["a"].RIGHT||(v=g-(p-c)*m,i=v>=l&&v<=u),i||!(a&o["a"].BELOW)||r&o["a"].BELOW||(y=p-(g-l)/m,i=y>=s&&y<=c),i||!(a&o["a"].LEFT)||r&o["a"].LEFT||(v=g-(p-s)*m,i=v>=l&&v<=u)}return i}function B(t,e,n,i){var o=[];if(i>1)for(var r=t[2]-t[0],a=t[3]-t[1],l=0;l=n[2])){var o=G(n),r=Math.floor((i[0]-n[0])/o),a=r*o;t[0]-=a,t[2]-=a}return t}},"0b2d":function(t,e,n){"use strict";var i=n("01d4");e["a"]={SINGLECLICK:"singleclick",CLICK:i["a"].CLICK,DBLCLICK:i["a"].DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},"0b78":function(t,e,n){},"0bfc":function(t,e,n){},"0cca":function(t,e,n){},"0e69":function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var i=n("dd32"),o=n("6573"),r=n("f623"),a=n("29f6"),s=n("e98d"),l=n("ddea"),c=n("1300"),u=n("0af5");function h(t,e,n,i,o){var r,a,s,l,c,u,h,d,p,f,g=n,m=n,y=0,v=0,A=n;for(a=n;at&&(v>y&&(y=v,g=A,m=a),v=0,A=a-o)),s=l,h=p,d=f),c=_,u=b}return v+=l,v>y?[A,a]:[g,m]}var d=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),p={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},f=function(t){function e(e,n,i,o){var r=t.call(this,e,n,i,o)||this;return r.labels_=null,r.text_="",r.textOffsetX_=0,r.textOffsetY_=0,r.textRotateWithView_=void 0,r.textRotation_=0,r.textFillState_=null,r.fillStates={},r.textStrokeState_=null,r.strokeStates={},r.textState_={},r.textStates={},r.textKey_="",r.fillKey_="",r.strokeKey_="",r.declutterImageWithText_=void 0,r}return d(e,t),e.prototype.finish=function(){var e=t.prototype.finish.call(this);return e.textStates=this.textStates,e.fillStates=this.fillStates,e.strokeStates=this.strokeStates,e},e.prototype.drawText=function(t,e){var n=this.textFillState_,i=this.textStrokeState_,s=this.textState_;if(""!==this.text_&&s&&(n||i)){var c=this.coordinates,d=c.length,p=t.getType(),f=null,g=t.getStride();if(s.placement!==a["a"].LINE||p!=r["a"].LINE_STRING&&p!=r["a"].MULTI_LINE_STRING&&p!=r["a"].POLYGON&&p!=r["a"].MULTI_POLYGON){var m=s.overflow?null:[];switch(p){case r["a"].POINT:case r["a"].MULTI_POINT:f=t.getFlatCoordinates();break;case r["a"].LINE_STRING:f=t.getFlatMidpoint();break;case r["a"].CIRCLE:f=t.getCenter();break;case r["a"].MULTI_LINE_STRING:f=t.getFlatMidpoints(),g=2;break;case r["a"].POLYGON:f=t.getFlatInteriorPoint(),s.overflow||m.push(f[2]/this.resolution),g=3;break;case r["a"].MULTI_POLYGON:var y=t.getFlatInteriorPoints();f=[];for(x=0,P=y.length;x0)},e.prototype.removeEventListener=function(t,e){var n=this.listeners_&&this.listeners_[t];if(n){var i=n.indexOf(e);-1!==i&&(this.pendingRemovals_&&t in this.pendingRemovals_?(n[i]=r["c"],++this.pendingRemovals_[t]):(n.splice(i,1),0===n.length&&delete this.listeners_[t]))}},e}(i["a"]);e["a"]=l},"0f37":function(t,e,n){},1020:function(t,e){function n(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(e){var i=t[e];"object"!=typeof i||Object.isFrozen(i)||n(i)})),t}var i=n,o=n;i.default=o;class r{constructor(t){void 0===t.data&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function a(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function s(t,...e){const n=Object.create(null);for(const i in t)n[i]=t[i];return e.forEach((function(t){for(const e in t)n[e]=t[e]})),n}const l="",c=t=>!!t.kind;class u{constructor(t,e){this.buffer="",this.classPrefix=e.classPrefix,t.walk(this)}addText(t){this.buffer+=a(t)}openNode(t){if(!c(t))return;let e=t.kind;t.sublanguage||(e=`${this.classPrefix}${e}`),this.span(e)}closeNode(t){c(t)&&(this.buffer+=l)}value(){return this.buffer}span(t){this.buffer+=``}}class h{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const e={kind:t,children:[]};this.add(e),this.stack.push(e)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,e){return"string"===typeof e?t.addText(e):e.children&&(t.openNode(e),e.children.forEach(e=>this._walk(t,e)),t.closeNode(e)),t}static _collapse(t){"string"!==typeof t&&t.children&&(t.children.every(t=>"string"===typeof t)?t.children=[t.children.join("")]:t.children.forEach(t=>{h._collapse(t)}))}}class d extends h{constructor(t){super(),this.options=t}addKeyword(t,e){""!==t&&(this.openNode(e),this.addText(t),this.closeNode())}addText(t){""!==t&&this.add(t)}addSublanguage(t,e){const n=t.root;n.kind=e,n.sublanguage=!0,this.add(n)}toHTML(){const t=new u(this,this.options);return t.value()}finalize(){return!0}}function p(t){return new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function f(t){return t?"string"===typeof t?t:t.source:null}function g(...t){const e=t.map(t=>f(t)).join("");return e}function m(...t){const e="("+t.map(t=>f(t)).join("|")+")";return e}function y(t){return new RegExp(t.toString()+"|").exec("").length-1}function v(t,e){const n=t&&t.exec(e);return n&&0===n.index}const A=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _(t,e="|"){let n=0;return t.map(t=>{n+=1;const e=n;let i=f(t),o="";while(i.length>0){const t=A.exec(i);if(!t){o+=i;break}o+=i.substring(0,t.index),i=i.substring(t.index+t[0].length),"\\"===t[0][0]&&t[1]?o+="\\"+String(Number(t[1])+e):(o+=t[0],"("===t[0]&&n++)}return o}).map(t=>`(${t})`).join(e)}const b=/\b\B/,C="[a-zA-Z]\\w*",I="[a-zA-Z_]\\w*",w="\\b\\d+(\\.\\d+)?",E="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",O="\\b(0b[01]+)",S="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",x=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=g(e,/.*\b/,t.binary,/\b.*/)),s({className:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,e)=>{0!==t.index&&e.ignoreMatch()}},t)},P={begin:"\\\\[\\s\\S]",relevance:0},M={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[P]},T={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[P]},R={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},j=function(t,e,n={}){const i=s({className:"comment",begin:t,end:e,contains:[]},n);return i.contains.push(R),i.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),i},k=j("//","$"),L=j("/\\*","\\*/"),G=j("#","$"),N={className:"number",begin:w,relevance:0},D={className:"number",begin:E,relevance:0},F={className:"number",begin:O,relevance:0},U={className:"number",begin:w+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},B={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[P,{begin:/\[/,end:/\]/,relevance:0,contains:[P]}]}]},z={className:"title",begin:C,relevance:0},V={className:"title",begin:I,relevance:0},W={begin:"\\.\\s*"+I,relevance:0},Y=function(t){return Object.assign(t,{"on:begin":(t,e)=>{e.data._beginMatch=t[1]},"on:end":(t,e)=>{e.data._beginMatch!==t[1]&&e.ignoreMatch()}})};var q=Object.freeze({__proto__:null,MATCH_NOTHING_RE:b,IDENT_RE:C,UNDERSCORE_IDENT_RE:I,NUMBER_RE:w,C_NUMBER_RE:E,BINARY_NUMBER_RE:O,RE_STARTERS_RE:S,SHEBANG:x,BACKSLASH_ESCAPE:P,APOS_STRING_MODE:M,QUOTE_STRING_MODE:T,PHRASAL_WORDS_MODE:R,COMMENT:j,C_LINE_COMMENT_MODE:k,C_BLOCK_COMMENT_MODE:L,HASH_COMMENT_MODE:G,NUMBER_MODE:N,C_NUMBER_MODE:D,BINARY_NUMBER_MODE:F,CSS_NUMBER_MODE:U,REGEXP_MODE:B,TITLE_MODE:z,UNDERSCORE_TITLE_MODE:V,METHOD_GUARD:W,END_SAME_AS_BEGIN:Y});function H(t,e){const n=t.input[t.index-1];"."===n&&e.ignoreMatch()}function X(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=H,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,void 0===t.relevance&&(t.relevance=0))}function Z(t,e){Array.isArray(t.illegal)&&(t.illegal=m(...t.illegal))}function K(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function J(t,e){void 0===t.relevance&&(t.relevance=1)}const Q=["of","and","for","in","not","or","if","then","parent","list","value"],$="keyword";function tt(t,e,n=$){const i={};return"string"===typeof t?o(n,t.split(" ")):Array.isArray(t)?o(n,t):Object.keys(t).forEach((function(n){Object.assign(i,tt(t[n],e,n))})),i;function o(t,n){e&&(n=n.map(t=>t.toLowerCase())),n.forEach((function(e){const n=e.split("|");i[n[0]]=[t,et(n[0],n[1])]}))}}function et(t,e){return e?Number(e):nt(t)?0:1}function nt(t){return Q.includes(t.toLowerCase())}function it(t,{plugins:e}){function n(e,n){return new RegExp(f(e),"m"+(t.case_insensitive?"i":"")+(n?"g":""))}class i{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(t,e){e.position=this.position++,this.matchIndexes[this.matchAt]=e,this.regexes.push([e,t]),this.matchAt+=y(t)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const t=this.regexes.map(t=>t[1]);this.matcherRe=n(_(t),!0),this.lastIndex=0}exec(t){this.matcherRe.lastIndex=this.lastIndex;const e=this.matcherRe.exec(t);if(!e)return null;const n=e.findIndex((t,e)=>e>0&&void 0!==t),i=this.matchIndexes[n];return e.splice(0,n),Object.assign(e,i)}}class o{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(t){if(this.multiRegexes[t])return this.multiRegexes[t];const e=new i;return this.rules.slice(t).forEach(([t,n])=>e.addRule(t,n)),e.compile(),this.multiRegexes[t]=e,e}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(t,e){this.rules.push([t,e]),"begin"===e.type&&this.count++}exec(t){const e=this.getMatcher(this.regexIndex);e.lastIndex=this.lastIndex;let n=e.exec(t);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const e=this.getMatcher(0);e.lastIndex=this.lastIndex+1,n=e.exec(t)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function r(t){const e=new o;return t.contains.forEach(t=>e.addRule(t.begin,{rule:t,type:"begin"})),t.terminatorEnd&&e.addRule(t.terminatorEnd,{type:"end"}),t.illegal&&e.addRule(t.illegal,{type:"illegal"}),e}function a(e,i){const o=e;if(e.isCompiled)return o;[K].forEach(t=>t(e,i)),t.compilerExtensions.forEach(t=>t(e,i)),e.__beforeBegin=null,[X,Z,J].forEach(t=>t(e,i)),e.isCompiled=!0;let s=null;if("object"===typeof e.keywords&&(s=e.keywords.$pattern,delete e.keywords.$pattern),e.keywords&&(e.keywords=tt(e.keywords,t.case_insensitive)),e.lexemes&&s)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return s=s||e.lexemes||/\w+/,o.keywordPatternRe=n(s,!0),i&&(e.begin||(e.begin=/\B|\b/),o.beginRe=n(e.begin),e.endSameAsBegin&&(e.end=e.begin),e.end||e.endsWithParent||(e.end=/\B|\b/),e.end&&(o.endRe=n(e.end)),o.terminatorEnd=f(e.end)||"",e.endsWithParent&&i.terminatorEnd&&(o.terminatorEnd+=(e.end?"|":"")+i.terminatorEnd)),e.illegal&&(o.illegalRe=n(e.illegal)),e.contains||(e.contains=[]),e.contains=[].concat(...e.contains.map((function(t){return rt("self"===t?e:t)}))),e.contains.forEach((function(t){a(t,o)})),e.starts&&a(e.starts,i),o.matcher=r(o),o}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=s(t.classNameAliases||{}),a(t)}function ot(t){return!!t&&(t.endsWithParent||ot(t.starts))}function rt(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map((function(e){return s(t,{variants:null},e)}))),t.cachedVariants?t.cachedVariants:ot(t)?s(t,{starts:t.starts?s(t.starts):null}):Object.isFrozen(t)?s(t):t}var at="10.7.3";function st(t){return Boolean(t||""===t)}function lt(t){const e={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!t.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,a(this.code);let e={};return this.autoDetect?(e=t.highlightAuto(this.code),this.detectedLanguage=e.language):(e=t.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),e.value},autoDetect(){return!this.language||st(this.autodetect)},ignoreIllegals(){return!0}},render(t){return t("pre",{},[t("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}},n={install(t){t.component("highlightjs",e)}};return{Component:e,VuePlugin:n}}const ct={"after:highlightElement":({el:t,result:e,text:n})=>{const i=ht(t);if(!i.length)return;const o=document.createElement("div");o.innerHTML=e.value,e.value=dt(i,ht(o),n)}};function ut(t){return t.nodeName.toLowerCase()}function ht(t){const e=[];return function t(n,i){for(let o=n.firstChild;o;o=o.nextSibling)3===o.nodeType?i+=o.nodeValue.length:1===o.nodeType&&(e.push({event:"start",offset:i,node:o}),i=t(o,i),ut(o).match(/br|hr|img|input/)||e.push({event:"stop",offset:i,node:o}));return i}(t,0),e}function dt(t,e,n){let i=0,o="";const r=[];function s(){return t.length&&e.length?t[0].offset!==e[0].offset?t[0].offset"}function c(t){o+=""}function u(t){("start"===t.event?l:c)(t.node)}while(t.length||e.length){let e=s();if(o+=a(n.substring(i,e[0].offset)),i=e[0].offset,e===t){r.reverse().forEach(c);do{u(e.splice(0,1)[0]),e=s()}while(e===t&&e.length&&e[0].offset===i);r.reverse().forEach(l)}else"start"===e[0].event?r.push(e[0].node):r.pop(),u(e.splice(0,1)[0])}return o+a(n.substr(i))}const pt={},ft=t=>{console.error(t)},gt=(t,...e)=>{console.log("WARN: "+t,...e)},mt=(t,e)=>{pt[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),pt[`${t}/${e}`]=!0)},yt=a,vt=s,At=Symbol("nomatch"),_t=function(t){const e=Object.create(null),n=Object.create(null),o=[];let a=!0;const s=/(^(<[^>]+>|\t|)+|\n)/gm,l="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let u={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:d};function h(t){return u.noHighlightRe.test(t)}function f(t){let e=t.className+" ";e+=t.parentNode?t.parentNode.className:"";const n=u.languageDetectRe.exec(e);if(n){const e=G(n[1]);return e||(gt(l.replace("{}",n[1])),gt("Falling back to no-highlight mode for this block.",t)),e?n[1]:"no-highlight"}return e.split(/\s+/).find(t=>h(t)||G(t))}function g(t,e,n,i){let o="",r="";"object"===typeof e?(o=t,n=e.ignoreIllegals,r=e.language,i=void 0):(mt("10.7.0","highlight(lang, code, ...args) has been deprecated."),mt("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),r=t,o=e);const a={code:o,language:r};B("before:highlight",a);const s=a.result?a.result:m(a.language,a.code,n,i);return s.code=a.code,B("after:highlight",s),s}function m(t,n,i,s){function c(t,e){const n=O.case_insensitive?e[0].toLowerCase():e[0];return Object.prototype.hasOwnProperty.call(t.keywords,n)&&t.keywords[n]}function h(){if(!P.keywords)return void T.addText(R);let t=0;P.keywordPatternRe.lastIndex=0;let e=P.keywordPatternRe.exec(R),n="";while(e){n+=R.substring(t,e.index);const i=c(P,e);if(i){const[t,o]=i;if(T.addText(n),n="",j+=o,t.startsWith("_"))n+=e[0];else{const n=O.classNameAliases[t]||t;T.addKeyword(e[0],n)}}else n+=e[0];t=P.keywordPatternRe.lastIndex,e=P.keywordPatternRe.exec(R)}n+=R.substr(t),T.addText(n)}function d(){if(""===R)return;let t=null;if("string"===typeof P.subLanguage){if(!e[P.subLanguage])return void T.addText(R);t=m(P.subLanguage,R,!0,M[P.subLanguage]),M[P.subLanguage]=t.top}else t=A(R,P.subLanguage.length?P.subLanguage:null);P.relevance>0&&(j+=t.relevance),T.addSublanguage(t.emitter,t.language)}function f(){null!=P.subLanguage?d():h(),R=""}function g(t){return t.className&&T.openNode(O.classNameAliases[t.className]||t.className),P=Object.create(t,{parent:{value:P}}),P}function y(t,e,n){let i=v(t.endRe,n);if(i){if(t["on:end"]){const n=new r(t);t["on:end"](e,n),n.isMatchIgnored&&(i=!1)}if(i){while(t.endsParent&&t.parent)t=t.parent;return t}}if(t.endsWithParent)return y(t.parent,e,n)}function _(t){return 0===P.matcher.regexIndex?(R+=t[0],1):(N=!0,0)}function b(t){const e=t[0],n=t.rule,i=new r(n),o=[n.__beforeBegin,n["on:begin"]];for(const r of o)if(r&&(r(t,i),i.isMatchIgnored))return _(e);return n&&n.endSameAsBegin&&(n.endRe=p(e)),n.skip?R+=e:(n.excludeBegin&&(R+=e),f(),n.returnBegin||n.excludeBegin||(R=e)),g(n),n.returnBegin?0:e.length}function C(t){const e=t[0],i=n.substr(t.index),o=y(P,t,i);if(!o)return At;const r=P;r.skip?R+=e:(r.returnEnd||r.excludeEnd||(R+=e),f(),r.excludeEnd&&(R=e));do{P.className&&T.closeNode(),P.skip||P.subLanguage||(j+=P.relevance),P=P.parent}while(P!==o.parent);return o.starts&&(o.endSameAsBegin&&(o.starts.endRe=o.endRe),g(o.starts)),r.returnEnd?0:e.length}function I(){const t=[];for(let e=P;e!==O;e=e.parent)e.className&&t.unshift(e.className);t.forEach(t=>T.openNode(t))}let w={};function E(e,o){const r=o&&o[0];if(R+=e,null==r)return f(),0;if("begin"===w.type&&"end"===o.type&&w.index===o.index&&""===r){if(R+=n.slice(o.index,o.index+1),!a){const e=new Error("0 width match regex");throw e.languageName=t,e.badRule=w.rule,e}return 1}if(w=o,"begin"===o.type)return b(o);if("illegal"===o.type&&!i){const t=new Error('Illegal lexeme "'+r+'" for mode "'+(P.className||"")+'"');throw t.mode=P,t}if("end"===o.type){const t=C(o);if(t!==At)return t}if("illegal"===o.type&&""===r)return 1;if(L>1e5&&L>3*o.index){const t=new Error("potential infinite loop, way more iterations than matches");throw t}return R+=r,r.length}const O=G(t);if(!O)throw ft(l.replace("{}",t)),new Error('Unknown language: "'+t+'"');const S=it(O,{plugins:o});let x="",P=s||S;const M={},T=new u.__emitter(u);I();let R="",j=0,k=0,L=0,N=!1;try{for(P.matcher.considerAll();;){L++,N?N=!1:P.matcher.considerAll(),P.matcher.lastIndex=k;const t=P.matcher.exec(n);if(!t)break;const e=n.substring(k,t.index),i=E(e,t);k=t.index+i}return E(n.substr(k)),T.closeAllNodes(),T.finalize(),x=T.toHTML(),{relevance:Math.floor(j),value:x,language:t,illegal:!1,emitter:T,top:P}}catch(D){if(D.message&&D.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:D.message,context:n.slice(k-100,k+100),mode:D.mode},sofar:x,relevance:0,value:yt(n),emitter:T};if(a)return{illegal:!1,relevance:0,value:yt(n),emitter:T,language:t,top:P,errorRaised:D};throw D}}function y(t){const e={relevance:0,emitter:new u.__emitter(u),value:yt(t),illegal:!1,top:c};return e.emitter.addText(t),e}function A(t,n){n=n||u.languages||Object.keys(e);const i=y(t),o=n.filter(G).filter(D).map(e=>m(e,t,!1));o.unshift(i);const r=o.sort((t,e)=>{if(t.relevance!==e.relevance)return e.relevance-t.relevance;if(t.language&&e.language){if(G(t.language).supersetOf===e.language)return 1;if(G(e.language).supersetOf===t.language)return-1}return 0}),[a,s]=r,l=a;return l.second_best=s,l}function _(t){return u.tabReplace||u.useBR?t.replace(s,t=>"\n"===t?u.useBR?"
":t:u.tabReplace?t.replace(/\t/g,u.tabReplace):t):t}function b(t,e,i){const o=e?n[e]:i;t.classList.add("hljs"),o&&t.classList.add(o)}const C={"before:highlightElement":({el:t})=>{u.useBR&&(t.innerHTML=t.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:t})=>{u.useBR&&(t.value=t.value.replace(/\n/g,"
"))}},I=/^(<[^>]+>|\t)+/gm,w={"after:highlightElement":({result:t})=>{u.tabReplace&&(t.value=t.value.replace(I,t=>t.replace(/\t/g,u.tabReplace)))}};function E(t){let e=null;const n=f(t);if(h(n))return;B("before:highlightElement",{el:t,language:n}),e=t;const i=e.textContent,o=n?g(i,{language:n,ignoreIllegals:!0}):A(i);B("after:highlightElement",{el:t,result:o,text:i}),t.innerHTML=o.value,b(t,n,o.language),t.result={language:o.language,re:o.relevance,relavance:o.relevance},o.second_best&&(t.second_best={language:o.second_best.language,re:o.second_best.relevance,relavance:o.second_best.relevance})}function O(t){t.useBR&&(mt("10.3.0","'useBR' will be removed entirely in v11.0"),mt("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),u=vt(u,t)}const S=()=>{if(S.called)return;S.called=!0,mt("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");const t=document.querySelectorAll("pre code");t.forEach(E)};function x(){mt("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),P=!0}let P=!1;function M(){if("loading"===document.readyState)return void(P=!0);const t=document.querySelectorAll("pre code");t.forEach(E)}function T(){P&&M()}function R(n,i){let o=null;try{o=i(t)}catch(r){if(ft("Language definition for '{}' could not be registered.".replace("{}",n)),!a)throw r;ft(r),o=c}o.name||(o.name=n),e[n]=o,o.rawDefinition=i.bind(null,t),o.aliases&&N(o.aliases,{languageName:n})}function j(t){delete e[t];for(const e of Object.keys(n))n[e]===t&&delete n[e]}function k(){return Object.keys(e)}function L(t){mt("10.4.0","requireLanguage will be removed entirely in v11."),mt("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const e=G(t);if(e)return e;const n=new Error("The '{}' language is required, but not loaded.".replace("{}",t));throw n}function G(t){return t=(t||"").toLowerCase(),e[t]||e[n[t]]}function N(t,{languageName:e}){"string"===typeof t&&(t=[t]),t.forEach(t=>{n[t.toLowerCase()]=e})}function D(t){const e=G(t);return e&&!e.disableAutodetect}function F(t){t["before:highlightBlock"]&&!t["before:highlightElement"]&&(t["before:highlightElement"]=e=>{t["before:highlightBlock"](Object.assign({block:e.el},e))}),t["after:highlightBlock"]&&!t["after:highlightElement"]&&(t["after:highlightElement"]=e=>{t["after:highlightBlock"](Object.assign({block:e.el},e))})}function U(t){F(t),o.push(t)}function B(t,e){const n=t;o.forEach((function(t){t[n]&&t[n](e)}))}function z(t){return mt("10.2.0","fixMarkup will be removed entirely in v11.0"),mt("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),_(t)}function V(t){return mt("10.7.0","highlightBlock will be removed entirely in v12.0"),mt("10.7.0","Please use highlightElement now."),E(t)}"undefined"!==typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",T,!1),Object.assign(t,{highlight:g,highlightAuto:A,highlightAll:M,fixMarkup:z,highlightElement:E,highlightBlock:V,configure:O,initHighlighting:S,initHighlightingOnLoad:x,registerLanguage:R,unregisterLanguage:j,listLanguages:k,getLanguage:G,registerAliases:N,requireLanguage:L,autoDetection:D,inherit:vt,addPlugin:U,vuePlugin:lt(t).VuePlugin}),t.debugMode=function(){a=!1},t.safeMode=function(){a=!0},t.versionString=at;for(const r in q)"object"===typeof q[r]&&i(q[r]);return Object.assign(t,q),t.addPlugin(C),t.addPlugin(ct),t.addPlugin(w),t};var bt=_t({});t.exports=bt},1300:function(t,e,n){"use strict";function i(){return function(){throw new Error("Unimplemented abstract method.")}()}n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var o=0;function r(t){return t.ol_uid||(t.ol_uid=String(++o))}var a="6.9.0"},1368:function(t,e,n){(function(e,n){ +/*! + * @overview es6-promise - a tiny implementation of Promises/A+. + * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) + * @license Licensed under MIT license + * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE + * @version v4.2.8+1e68dce6 + */ +(function(e,n){t.exports=n()})(0,(function(){"use strict";function t(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}function i(t){return"function"===typeof t}var o=void 0;o=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var r=o,a=0,s=void 0,l=void 0,c=function(t,e){C[a]=t,C[a+1]=e,a+=2,2===a&&(l?l(I):E())};function u(t){l=t}function h(t){c=t}var d="undefined"!==typeof window?window:void 0,p=d||{},f=p.MutationObserver||p.WebKitMutationObserver,g="undefined"===typeof self&&"undefined"!==typeof e&&"[object process]"==={}.toString.call(e),m="undefined"!==typeof Uint8ClampedArray&&"undefined"!==typeof importScripts&&"undefined"!==typeof MessageChannel;function y(){return function(){return e.nextTick(I)}}function v(){return"undefined"!==typeof s?function(){s(I)}:b()}function A(){var t=0,e=new f(I),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function _(){var t=new MessageChannel;return t.port1.onmessage=I,function(){return t.port2.postMessage(0)}}function b(){var t=setTimeout;return function(){return t(I,1)}}var C=new Array(1e3);function I(){for(var t=0;t1?r["Document"]=t:1==t.length&&(r["Placemark"]=t[0]);var a=Y[n.namespaceURI],s=Object(x["o"])(r,a);return Object(x["u"])(o,q,x["a"],s,[e],a,this),n},e}(S["a"]);function at(t,e){var n=[0,0],i="start",o=t.getImage();if(o){var r=o.getSize();if(r&&2==r.length){var a=o.getScaleArray(),s=o.getAnchor();n[0]=a[0]*(r[0]-s[0]),n[1]=a[1]*(r[1]/2-s[1]),i="left"}}var l=t.getText();l?(l=l.clone(),l.setFont(l.getFont()||Q.getFont()),l.setScale(l.getScale()||Q.getScale()),l.setFill(l.getFill()||Q.getFill()),l.setStroke(l.getStroke()||K)):l=Q.clone(),l.setText(e),l.setOffsetX(n[0]),l.setOffsetY(n[1]),l.setTextAlign(i);var c=new E["c"]({image:o,text:l});return c}function st(t,e,n,i,o){return function(r,a){var s=o,l="",c=[];if(s){var u=r.getGeometry();if(u){var d=u.getType();d===p["a"].GEOMETRY_COLLECTION?(c=u.getGeometriesArrayRecursive().filter((function(t){var e=t.getType();return e===p["a"].POINT||e===p["a"].MULTI_POINT})),s=c.length>0):s=d===p["a"].POINT||d===p["a"].MULTI_POINT}}s&&(l=r.get("name"),s=s&&!!l,s&&l.search(/&[^&]+;/)>-1&&(tt||(tt=document.createElement("textarea")),tt.innerHTML=l,l=tt.value));var f=n;if(t?f=t:e&&(f=lt(e,n,i)),s){var g=at(f[0],l);if(c.length>0){g.setGeometry(new h["a"](c));var m=new E["c"]({geometry:f[0].getGeometry(),image:null,fill:f[0].getFill(),stroke:f[0].getStroke(),text:null});return[g,m].concat(f.slice(1))}return g}return f}}function lt(t,e,n){return Array.isArray(t)?t:"string"===typeof t?lt(n[t],e,n):e}function ct(t){var e=Object(x["d"])(t,!1),n=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(e);if(n){var i=n[1];return[parseInt(i.substr(6,2),16),parseInt(i.substr(4,2),16),parseInt(i.substr(2,2),16),parseInt(i.substr(0,2),16)/255]}}function ut(t){var e=Object(x["d"])(t,!1),n=[];e=e.replace(/\s*,\s*/g,",");var i,o=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?),([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s+|,|$)(?:([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s+|$))?\s*/i;while(i=o.exec(e)){var r=parseFloat(i[1]),a=parseFloat(i[2]),s=i[3]?parseFloat(i[3]):0;n.push(r,a,s),e=e.substr(i[0].length)}if(""===e)return n}function ht(t){var e=Object(x["d"])(t,!1).trim(),n=t.baseURI;if(n&&"about:blank"!=n||(n=window.location.href),n){var i=new URL(e,n);return i.href}return e}function dt(t){var e=Object(x["d"])(t,!1).trim().replace(/^(?!.*#)/,"#"),n=t.baseURI;if(n&&"about:blank"!=n||(n=window.location.href),n){var i=new URL(e,n);return i.href}return e}function pt(t){var e,n=t.getAttribute("xunits"),i=t.getAttribute("yunits");return e="insetPixels"!==n?"insetPixels"!==i?m["a"].BOTTOM_LEFT:m["a"].TOP_LEFT:"insetPixels"!==i?m["a"].BOTTOM_RIGHT:m["a"].TOP_RIGHT,{x:parseFloat(t.getAttribute("x")),xunits:U[n],y:parseFloat(t.getAttribute("y")),yunits:U[i],origin:e}}function ft(t){return Object(j["d"])(t)}var gt=Object(x["q"])(D,{Pair:$t});function mt(t,e){return Object(x["t"])(void 0,gt,t,e,this)}var yt=Object(x["q"])(D,{Icon:Object(x["m"])(jt),color:Object(x["m"])(ct),heading:Object(x["m"])(j["d"]),hotSpot:Object(x["m"])(pt),scale:Object(x["m"])(ft)});function vt(t,e){var n=Object(x["t"])({},yt,t,e);if(n){var i,c,u,h,d=e[e.length-1],p="Icon"in n?n["Icon"]:{},g=!("Icon"in n)||Object.keys(p).length>0,v=p["href"];v?i=v:g&&(i=l);var A,_=m["a"].BOTTOM_LEFT,b=n["hotSpot"];b?(c=[b.x,b.y],u=b.xunits,h=b.yunits,_=b.origin):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(i)&&(/pushpin/.test(i)?(c=o,u=r,h=a):/arrow-reverse/.test(i)?(c=[54,42],u=r,h=a):/paddle/.test(i)&&(c=[32,1],u=r,h=a));var C,I=p["x"],w=p["y"];void 0!==I&&void 0!==w&&(A=[I,w]);var E,O=p["w"],S=p["h"];void 0!==O&&void 0!==S&&(C=[O,S]);var P=n["heading"];void 0!==P&&(E=Object(k["j"])(P));var M=n["scale"],T=n["color"];if(g){i==l&&(C=s);var R=new f["a"]({anchor:c,anchorOrigin:_,anchorXUnits:u,anchorYUnits:h,crossOrigin:this.crossOrigin_,offset:A,offsetOrigin:m["a"].BOTTOM_LEFT,rotation:E,scale:M,size:C,src:this.iconUrlFunction_(i),color:T}),j=R.getScaleArray()[0],L=R.getSize();if(null===L){var G=R.getImageState();if(G===y["a"].IDLE||G===y["a"].LOADING){var N=function(){var t=R.getImageState();if(t!==y["a"].IDLE&&t!==y["a"].LOADING){var e=R.getSize();if(e&&2==e.length){var n=nt(e);R.setScale(j*n)}R.unlistenImageChange(N)}};R.listenImageChange(N),G===y["a"].IDLE&&R.load()}}else if(2==L.length){var D=nt(L);R.setScale(j*D)}d["imageStyle"]=R}else d["imageStyle"]=X}}var At=Object(x["q"])(D,{color:Object(x["m"])(ct),scale:Object(x["m"])(ft)});function _t(t,e){var n=Object(x["t"])({},At,t,e);if(n){var o=e[e.length-1],r=new O["a"]({fill:new u["a"]({color:"color"in n?n["color"]:i}),scale:n["scale"]});o["textStyle"]=r}}var bt=Object(x["q"])(D,{color:Object(x["m"])(ct),width:Object(x["m"])(j["d"])});function Ct(t,e){var n=Object(x["t"])({},bt,t,e);if(n){var o=e[e.length-1],r=new w["a"]({color:"color"in n?n["color"]:i,width:"width"in n?n["width"]:1});o["strokeStyle"]=r}}var It=Object(x["q"])(D,{color:Object(x["m"])(ct),fill:Object(x["m"])(j["a"]),outline:Object(x["m"])(j["a"])});function wt(t,e){var n=Object(x["t"])({},It,t,e);if(n){var o=e[e.length-1],r=new u["a"]({color:"color"in n?n["color"]:i});o["fillStyle"]=r;var a=n["fill"];void 0!==a&&(o["fill"]=a);var s=n["outline"];void 0!==s&&(o["outline"]=s)}}var Et=Object(x["q"])(D,{coordinates:Object(x["n"])(ut)});function Ot(t,e){return Object(x["t"])(null,Et,t,e)}function St(t,e){var n=e[e.length-1],i=n.coordinates,o=Object(x["d"])(t,!1),r=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i,a=r.exec(o);if(a){var s=parseFloat(a[1]),l=parseFloat(a[2]),c=parseFloat(a[3]);i.push([s,l,c])}else i.push([])}var xt=Object(x["q"])(N,{Track:Object(x["i"])(Tt)});function Pt(t,e){var n=Object(x["t"])([],xt,t,e);if(n)return new A["a"](n)}var Mt=Object(x["q"])(D,{when:pe},Object(x["q"])(N,{coord:St}));function Tt(t,e){var n=Object(x["t"])({coordinates:[],whens:[]},Mt,t,e);if(n){for(var i=[],o=n.coordinates,r=n.whens,a=0,s=Math.min(o.length,r.length);a0){var i=e[e.length-1];i.push.apply(i,n)}}var ue=Object(x["q"])(D,{LinearRing:Object(x["n"])(Ot)});function he(t,e){var n=Object(x["t"])(void 0,ue,t,e);if(n){var i=e[e.length-1];i[0]=n}}function de(t,e){Object(x["s"])(V,t,e)}function pe(t,e){var n=e[e.length-1],i=n.whens,o=Object(x["d"])(t,!1),r=Date.parse(o);i.push(isNaN(r)?0:r)}function fe(t,e){for(var n=Object(P["a"])(e),i=4==n.length?n[3]:1,o=[255*i,n[2],n[1],n[0]],r=0;r<4;++r){var a=Math.floor(o[r]).toString(16);o[r]=1==a.length?"0"+a:a}Object(j["n"])(t,o.join(""))}function ge(t,e,n){var i,o=n[n.length-1],r=o["layout"],a=o["stride"];r==d["a"].XY||r==d["a"].XYM?i=2:r==d["a"].XYZ||r==d["a"].XYZM?i=3:Object(M["a"])(!1,34);var s=e.length,l="";if(s>0){l+=e[0];for(var c=1;c0){var v=Object(x["o"])(o,a),A={names:a,values:v};Object(x["u"])(i,Xe,Ke,[A],n)}var _=n[0],b=e.getGeometry();b&&(b=Object(L["b"])(b,!0,_)),Object(x["u"])(i,Xe,Fe,[b],n)}var Qe=Object(x["q"])(D,["extrude","tessellate","altitudeMode","coordinates"]),$e=Object(x["q"])(D,{extrude:Object(x["k"])(j["i"]),tessellate:Object(x["k"])(j["i"]),altitudeMode:Object(x["k"])(j["n"]),coordinates:Object(x["k"])(ge)});function tn(t,e,n){var i=e.getFlatCoordinates(),o={node:t};o["layout"]=e.getLayout(),o["stride"]=e.getStride();var r=e.getProperties();r.coordinates=i;var a=n[n.length-1].node,s=Qe[a.namespaceURI],l=Object(x["o"])(r,s);Object(x["u"])(o,$e,x["a"],l,n,s)}var en=Object(x["q"])(D,["color","fill","outline"]),nn=Object(x["q"])(D,{outerBoundaryIs:Object(x["k"])(He),innerBoundaryIs:Object(x["k"])(He)}),on=Object(x["p"])("innerBoundaryIs"),rn=Object(x["p"])("outerBoundaryIs");function an(t,e,n){var i=e.getLinearRings(),o=i.shift(),r={node:t};Object(x["u"])(r,nn,on,i,n),Object(x["u"])(r,nn,rn,[o],n)}var sn=Object(x["q"])(D,{color:Object(x["k"])(fe),fill:Object(x["k"])(j["i"]),outline:Object(x["k"])(j["i"])});function ln(t,e,n){var i={node:t},o=e.getFill(),r=e.getStroke(),a={color:o?o.getColor():void 0,fill:!!o&&void 0,outline:!!r&&void 0},s=n[n.length-1].node,l=en[s.namespaceURI],c=Object(x["o"])(a,l);Object(x["u"])(i,sn,x["a"],c,n,l)}function cn(t,e){Object(j["l"])(t,Math.round(1e6*e)/1e6)}var un=Object(x["q"])(D,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),hn=Object(x["q"])(D,{IconStyle:Object(x["k"])(Te),LabelStyle:Object(x["k"])(ke),LineStyle:Object(x["k"])(Ne),PolyStyle:Object(x["k"])(ln)});function dn(t,e,n){var i={node:t},o={};if(e.pointStyles.length){var r=e.pointStyles[0].getText();r&&(o["LabelStyle"]=r);var a=e.pointStyles[0].getImage();a&&"function"===typeof a.getSrc&&(o["IconStyle"]=a)}if(e.lineStyles.length){var s=e.lineStyles[0].getStroke();s&&(o["LineStyle"]=s)}if(e.polyStyles.length){s=e.polyStyles[0].getStroke();s&&!o["LineStyle"]&&(o["LineStyle"]=s),o["PolyStyle"]=e.polyStyles[0]}var l=n[n.length-1].node,c=un[l.namespaceURI],u=Object(x["o"])(o,c);Object(x["u"])(i,hn,x["a"],u,n,c)}function pn(t,e){t.setAttribute("x",String(e.x)),t.setAttribute("y",String(e.y)),t.setAttribute("xunits",e.xunits),t.setAttribute("yunits",e.yunits)}e["a"]=rt},"1af9":function(t,e,n){"use strict";n.d(e,"b",(function(){return p}));var i=n("5564"),o=n("01d4"),r=n("df4c"),a=n("070d"),s=n("6d83"),l=n("92fa"),c=n("38f3"),u=n("1e8d"),h=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),d=function(t){function e(e){var n=this,i=Object(c["a"])({},e);delete i.source,n=t.call(this,i)||this,n.on,n.once,n.un,n.mapPrecomposeKey_=null,n.mapRenderKey_=null,n.sourceChangeKey_=null,n.renderer_=null,e.render&&(n.render=e.render),e.map&&n.setMap(e.map),n.addChangeListener(r["a"].SOURCE,n.handleSourcePropertyChange_);var o=e.source?e.source:null;return n.setSource(o),n}return h(e,t),e.prototype.getLayersArray=function(t){var e=t||[];return e.push(this),e},e.prototype.getLayerStatesArray=function(t){var e=t||[];return e.push(this.getLayerState()),e},e.prototype.getSource=function(){return this.get(r["a"].SOURCE)||null},e.prototype.getSourceState=function(){var t=this.getSource();return t?t.getState():s["a"].UNDEFINED},e.prototype.handleSourceChange_=function(){this.changed()},e.prototype.handleSourcePropertyChange_=function(){this.sourceChangeKey_&&(Object(u["c"])(this.sourceChangeKey_),this.sourceChangeKey_=null);var t=this.getSource();t&&(this.sourceChangeKey_=Object(u["a"])(t,o["a"].CHANGE,this.handleSourceChange_,this)),this.changed()},e.prototype.getFeatures=function(t){return this.renderer_?this.renderer_.getFeatures(t):new Promise((function(t){return t([])}))},e.prototype.render=function(t,e){var n=this.getRenderer();if(n.prepareFrame(t))return n.renderFrame(t,e)},e.prototype.setMap=function(t){this.mapPrecomposeKey_&&(Object(u["c"])(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(Object(u["c"])(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=Object(u["a"])(t,a["a"].PRECOMPOSE,(function(t){var e=t,n=e.frameState.layerStatesArray,i=this.getLayerState(!1);Object(l["a"])(!n.some((function(t){return t.layer===i.layer})),67),n.push(i)}),this),this.mapRenderKey_=Object(u["a"])(this,o["a"].CHANGE,t.render,t),this.changed())},e.prototype.setSource=function(t){this.set(r["a"].SOURCE,t)},e.prototype.getRenderer=function(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_},e.prototype.hasRenderer=function(){return!!this.renderer_},e.prototype.createRenderer=function(){return null},e.prototype.disposeInternal=function(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),t.prototype.disposeInternal.call(this)},e}(i["a"]);function p(t,e){if(!t.visible)return!1;var n=e.resolution;if(n=t.maxResolution)return!1;var i=e.zoom;return i>t.minZoom&&i<=t.maxZoom}e["a"]=d},"1c48":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return r})),n.d(e,"e",(function(){return a})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return c}));var i=n("7fc9");function o(t,e,n,o,r,a,s){var l=(n-e)/o;if(l<3){for(;e0){for(var d=u.pop(),p=u.pop(),f=0,g=t[p],m=t[p+1],y=t[d],v=t[d+1],A=p+o;Af&&(h=A,f=C)}f>r&&(c[(h-e)/o]=1,p+o0&&m>f)&&(g<0&&y0&&y>g)?(l=d,c=p):(r[s++]=l,r[s++]=c,u=l,h=c,l=d,c=p)}}return r[s++]=l,r[s++]=c,s}function l(t,e,n,i,o,r,a,l){for(var c=0,u=n.length;c0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var i=n===e?0:4-n%4;return[n,i]}function u(t){var e=c(t),n=e[0],i=e[1];return 3*(n+i)/4-i}function h(t,e,n){return 3*(e+n)/4-n}function d(t){var e,n,i=c(t),a=i[0],s=i[1],l=new r(h(t,a,s)),u=0,d=s>0?a-4:a;for(n=0;n>16&255,l[u++]=e>>8&255,l[u++]=255&e;return 2===s&&(e=o[t.charCodeAt(n)]<<2|o[t.charCodeAt(n+1)]>>4,l[u++]=255&e),1===s&&(e=o[t.charCodeAt(n)]<<10|o[t.charCodeAt(n+1)]<<4|o[t.charCodeAt(n+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e),l}function p(t){return i[t>>18&63]+i[t>>12&63]+i[t>>6&63]+i[63&t]}function f(t,e,n){for(var i,o=[],r=e;rl?l:s+a));return 1===o?(e=t[n-1],r.push(i[e>>2]+i[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],r.push(i[e>>10]+i[e>>4&63]+i[e<<2&63]+"=")),r.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},"20e3":function(t,e,n){},"21a6":function(t,e,n){(function(n){var i,o,r;(function(n,a){o=[],i=a,r="function"===typeof i?i.apply(e,o):i,void 0===r||(t.exports=r)})(0,(function(){"use strict";function e(t,e){return"undefined"==typeof e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}function i(t,e,n){var i=new XMLHttpRequest;i.open("GET",t),i.responseType="blob",i.onload=function(){l(i.response,e,n)},i.onerror=function(){console.error("could not download file")},i.send()}function o(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function r(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(i){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(t,e,n){var s=a.URL||a.webkitURL,l=document.createElement("a");e=e||t.name||"download",l.download=e,l.rel="noopener","string"==typeof t?(l.href=t,l.origin===location.origin?r(l):o(l.href)?i(t,e,n):r(l,l.target="_blank")):(l.href=s.createObjectURL(t),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){r(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,n,a){if(n=n||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(e(t,a),n);else if(o(t))i(t,n,a);else{var s=document.createElement("a");s.href=t,s.target="_blank",setTimeout((function(){r(s)}))}}:function(t,e,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof t)return i(t,e,n);var r="application/octet-stream"===t.type,l=/constructor/i.test(a.HTMLElement)||a.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||r&&l||s)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var t=u.result;t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location=t,o=null},u.readAsDataURL(t)}else{var h=a.URL||a.webkitURL,d=h.createObjectURL(t);o?o.location=d:location.href=d,o=null,setTimeout((function(){h.revokeObjectURL(d)}),4e4)}});a.saveAs=l.saveAs=l,t.exports=l}))}).call(this,n("c8ba"))},2215:function(t,e,n){},"23b0":function(t,e,n){},"243a":function(t,e,n){},"256f":function(t,e,n){"use strict";n.d(e,"a",(function(){return i["a"]})),n.d(e,"d",(function(){return M})),n.d(e,"k",(function(){return R})),n.d(e,"l",(function(){return j})),n.d(e,"c",(function(){return k})),n.d(e,"e",(function(){return G})),n.d(e,"b",(function(){return D})),n.d(e,"g",(function(){return F})),n.d(e,"f",(function(){return U})),n.d(e,"n",(function(){return B})),n.d(e,"m",(function(){return z})),n.d(e,"s",(function(){return V})),n.d(e,"t",(function(){return W})),n.d(e,"o",(function(){return q})),n.d(e,"p",(function(){return H})),n.d(e,"h",(function(){return X})),n.d(e,"q",(function(){return Z})),n.d(e,"i",(function(){return K})),n.d(e,"r",(function(){return J})),n.d(e,"j",(function(){return Q}));var i=n("fced"),o=n("f5dd"),r=n("7fc9"),a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=6378137,l=Math.PI*s,c=[-l,-l,l,l],u=[-180,-85,180,85],h=s*Math.log(Math.tan(Math.PI/2)),d=function(t){function e(e){return t.call(this,{code:e,units:i["b"].METERS,extent:c,global:!0,worldExtent:u,getPointResolution:function(t,e){return t/Object(r["b"])(e[1]/s)}})||this}return a(e,t),e}(o["a"]),p=[new d("EPSG:3857"),new d("EPSG:102100"),new d("EPSG:102113"),new d("EPSG:900913"),new d("http://www.opengis.net/def/crs/EPSG/0/3857"),new d("http://www.opengis.net/gml/srs/epsg.xml#3857")];function f(t,e,n){var i=t.length,o=n>1?n:2,r=e;void 0===r&&(r=o>2?t.slice():new Array(i));for(var a=0;ah?c=h:c<-h&&(c=-h),r[a+1]=c}return r}function g(t,e,n){var i=t.length,o=n>1?n:2,r=e;void 0===r&&(r=o>2?t.slice():new Array(i));for(var a=0;a=2;--c)a[s+c]=e[s+c]}return a}}function D(t,e,n,i){var o=R(t),r=R(e);Object(E["a"])(o,r,N(n)),Object(E["a"])(r,o,N(i))}function F(t,e){return V(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")}function U(t,e){if(t===e)return!0;var n=t.getUnits()===e.getUnits();if(t.getCode()===e.getCode())return n;var i=B(t,e);return i===x&&n}function B(t,e){var n=t.getCode(),i=e.getCode(),o=Object(E["c"])(n,i);return o||(o=P),o}function z(t,e){var n=R(t),i=R(e);return B(n,i)}function V(t,e,n){var i=z(e,n);return i(t,void 0,t.length)}function W(t,e,n,i){var o=z(e,n);return Object(O["a"])(t,o,void 0,i)}var Y=null;function q(){return Y}function H(t,e){return Y?V(t,e,Y):t}function X(t,e){return Y?V(t,Y,e):t}function Z(t,e){return Y?W(t,e,Y):t}function K(t,e){return Y?W(t,Y,e):t}function J(t,e){if(!Y)return t;var n=R(e).getUnits(),o=Y.getUnits();return n&&o?t*i["a"][n]/i["a"][o]:t}function Q(t,e){if(!Y)return t;var n=R(e).getUnits(),o=Y.getUnits();return n&&o?t*i["a"][o]/i["a"][n]:t}function $(){k(p),k(b),L(b,p,f,g)}$()},"25a5":function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";function t(t,i,o,r,a){!function t(n,i,o,r,a){for(;r>o;){if(r-o>600){var s=r-o+1,l=i-o+1,c=Math.log(s),u=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*u*(s-u)/s)*(l-s/2<0?-1:1),d=Math.max(o,Math.floor(i-l*u/s+h)),p=Math.min(r,Math.floor(i+(s-l)*u/s+h));t(n,i,d,p,a)}var f=n[i],g=o,m=r;for(e(n,o,i),a(n[r],f)>0&&e(n,o,r);g0;)m--}0===a(n[o],f)?e(n,o,m):e(n,++m,r),m<=i&&(o=m+1),i<=m&&(r=m-1)}}(t,i,o||0,r||t.length-1,a||n)}function e(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function n(t,e){return te?1:0}var i=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function o(t,e,n){if(!n)return e.indexOf(t);for(var i=0;i=t.minX&&e.maxY>=t.minY}function f(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function g(e,n,i,o,r){for(var a=[n,i];a.length;)if(!((i=a.pop())-(n=a.pop())<=o)){var s=n+Math.ceil((i-n)/o/2)*o;t(e,s,n,i,r),a.push(n,s,s,i)}}return i.prototype.all=function(){return this._all(this.data,[])},i.prototype.search=function(t){var e=this.data,n=[];if(!p(t,e))return n;for(var i=this.toBBox,o=[];e;){for(var r=0;r=0&&o[e].children.length>this._maxEntries;)this._split(o,e),e--;this._adjustParentBBoxes(i,o,e)},i.prototype._split=function(t,e){var n=t[e],i=n.children.length,o=this._minEntries;this._chooseSplitAxis(n,o,i);var a=this._chooseSplitIndex(n,o,i),s=f(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,r(n,this.toBBox),r(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},i.prototype._splitRoot=function(t,e){this.data=f([t,e]),this.data.height=t.height+1,this.data.leaf=!1,r(this.data,this.toBBox)},i.prototype._chooseSplitIndex=function(t,e,n){for(var i,o,r,s,l,c,h,d=1/0,p=1/0,f=e;f<=n-e;f++){var g=a(t,0,f,this.toBBox),m=a(t,f,n,this.toBBox),y=(o=g,r=m,s=void 0,l=void 0,c=void 0,h=void 0,s=Math.max(o.minX,r.minX),l=Math.max(o.minY,r.minY),c=Math.min(o.maxX,r.maxX),h=Math.min(o.maxY,r.maxY),Math.max(0,c-s)*Math.max(0,h-l)),v=u(g)+u(m);y=e;p--){var f=t.children[p];s(l,t.leaf?o(f):f),c+=h(l)}return c},i.prototype._adjustParentBBoxes=function(t,e,n){for(var i=n;i>=0;i--)s(e[i],t)},i.prototype._condense=function(t){for(var e=t.length-1,n=void 0;e>=0;e--)0===t[e].children.length?e>0?(n=t[e-1].children).splice(n.indexOf(t[e]),1):this.clear():r(t[e],this.toBBox)},i}))},"25f1":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return s}));var i=n("0af5");function o(t,e,n,o,a){var s=Object(i["s"])(a,(function(i){return!r(t,e,n,o,i[0],i[1])}));return!s}function r(t,e,n,i,o,r){for(var a=0,s=t[n-i],l=t[n-i+1];er&&(c-s)*(r-l)-(o-s)*(u-l)>0&&a++:u<=r&&(c-s)*(r-l)-(o-s)*(u-l)<0&&a--,s=c,l=u}return 0!==a}function a(t,e,n,i,o,a){if(0===n.length)return!1;if(!r(t,e,n[0],i,o,a))return!1;for(var s=1,l=n.length;s=e+n||e?new java.lang.String(t,e,n)+"":t}function c(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}i.prototype.parseFromString=function(t,e){var n=this.options,i=new u,a=n.domBuilder||new r,s=n.errorHandler,l=n.locator,c=n.xmlns||{},h={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return l&&a.setDocumentLocator(l),i.errorHandler=o(s,a,l),i.domBuilder=n.domBuilder||a,/\/x?html?$/.test(e)&&(h.nbsp=" ",h.copy="©",c[""]="http://www.w3.org/1999/xhtml"),c.xml=c.xml||"http://www.w3.org/XML/1998/namespace",t?i.parse(t,c,h):i.errorHandler.error("invalid doc source"),a.doc},r.prototype={startDocument:function(){this.doc=(new h).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,n,i){var o=this.doc,r=o.createElementNS(t,n||e),s=i.length;c(this,r),this.currentElement=r,this.locator&&a(this.locator,r);for(var l=0;l=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function y(t){return null==t?"":Array.isArray(t)||p(t)&&t.toString===d?JSON.stringify(t,v,2):String(t)}function v(t,e){return e&&e.__v_isRef?e.value:e}function A(t){var e=parseFloat(t);return isNaN(e)?t:e}function _(t,e){for(var n=Object.create(null),i=t.split(","),o=0;o-1)return t.splice(i,1)}}var I=Object.prototype.hasOwnProperty;function w(t,e){return I.call(t,e)}function E(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var O=/-(\w)/g,S=E((function(t){return t.replace(O,(function(t,e){return e?e.toUpperCase():""}))})),x=E((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),P=/\B([A-Z])/g,M=E((function(t){return t.replace(P,"-$1").toLowerCase()}));function T(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function R(t,e){return t.bind(e)}var j=Function.prototype.bind?R:T;function k(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function L(t,e){for(var n in e)t[n]=e[n];return t}function G(t){for(var e={},n=0;n0,ot=et&&et.indexOf("edge/")>0;et&&et.indexOf("android");var rt=et&&/iphone|ipad|ipod|ios/.test(et);et&&/chrome\/\d+/.test(et),et&&/phantomjs/.test(et);var at,st=et&&et.match(/firefox\/(\d+)/),lt={}.watch,ct=!1;if(tt)try{var ut={};Object.defineProperty(ut,"passive",{get:function(){ct=!0}}),window.addEventListener("test-passive",null,ut)}catch($a){}var ht=function(){return void 0===at&&(at=!tt&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),at},dt=tt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function pt(t){return"function"===typeof t&&/native code/.test(t.toString())}var ft,gt="undefined"!==typeof Symbol&&pt(Symbol)&&"undefined"!==typeof Reflect&&pt(Reflect.ownKeys);ft="undefined"!==typeof Set&&pt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var mt=null;function yt(t){void 0===t&&(t=null),t||mt&&mt._scope.off(),mt=t,t&&t._scope.on()}var vt=function(){function t(t,e,n,i,o,r,a,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=o,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),At=function(t){void 0===t&&(t="");var e=new vt;return e.text=t,e.isComment=!0,e};function _t(t){return new vt(void 0,void 0,void 0,String(t))}function bt(t){var e=new vt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"===typeof SuppressedError&&SuppressedError;var Ct=0,It=[],wt=function(){for(var t=0;t0&&(i=ce(i,"".concat(e||"","_").concat(n)),le(i[0])&&le(u)&&(h[l]=_t(u.text+i[0].text),i.shift()),h.push.apply(h,i)):c(i)?le(u)?h[l]=_t(u.text+i):""!==i&&h.push(_t(i)):le(i)&&le(u)?h[l]=_t(u.text+i.text):(s(t._isVList)&&a(i.tag)&&r(i.key)&&a(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),h.push(i)));return h}function ue(t,e){var n,i,r,s,l=null;if(o(t)||"string"===typeof t)for(l=new Array(t.length),n=0,i=t.length;n0,s=e?!!e.$stable:!a,l=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&o&&o!==i&&l===o.$key&&!a&&!o.$hasNormal)return o;for(var c in r={},e)e[c]&&"$"!==c[0]&&(r[c]=Pe(t,n,c,e[c]))}else r={};for(var u in n)u in r||(r[u]=Me(n,u));return e&&Object.isExtensible(e)&&(e._normalized=r),K(r,"$stable",s),K(r,"$key",l),K(r,"$hasNormal",a),r}function Pe(t,e,n,i){var r=function(){var e=mt;yt(t);var n=arguments.length?i.apply(null,arguments):i({});n=n&&"object"===typeof n&&!o(n)?[n]:se(n);var r=n&&n[0];return yt(e),n&&(!r||1===n.length&&r.isComment&&!Se(r))?void 0:n};return i.proxy&&Object.defineProperty(e,n,{get:r,enumerable:!0,configurable:!0}),r}function Me(t,e){return function(){return t[e]}}function Te(t){var e=t.$options,n=e.setup;if(n){var i=t._setupContext=Re(t);yt(t),St();var o=Je(n,null,[t._props||Vt({}),i],t,"setup");if(xt(),yt(),u(o))e.render=o;else if(h(o))if(t._setupState=o,o.__sfc){var r=t._setupProxy={};for(var a in o)"__sfc"!==a&&Ht(r,o,a)}else for(var a in o)Z(a)||Ht(t,o,a);else 0}}function Re(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};K(e,"_v_attr_proxy",!0),je(e,t.$attrs,i,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};je(e,t.$listeners,i,t,"$listeners")}return t._listenersProxy},get slots(){return Le(t)},emit:j(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Ht(t,e,n)}))}}}function je(t,e,n,i,o){var r=!1;for(var a in e)a in t?e[a]!==n[a]&&(r=!0):(r=!0,ke(t,a,i,o));for(var a in t)a in e||(r=!0,delete t[a]);return r}function ke(t,e,n,i){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[i][e]}})}function Le(t){return t._slotsProxy||Ge(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function Ge(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function Ne(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=Ee(e._renderChildren,o),t.$scopedSlots=n?xe(t.$parent,n.data.scopedSlots,t.$slots):i,t._c=function(e,n,i,o){return qe(t,e,n,i,o,!1)},t.$createElement=function(e,n,i,o){return qe(t,e,n,i,o,!0)};var r=n&&n.data;Ft(t,"$attrs",r&&r.attrs||i,null,!0),Ft(t,"$listeners",e._parentListeners||i,null,!0)}var De=null;function Fe(t){we(t.prototype),t.prototype.$nextTick=function(t){return un(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,i=e._parentVnode;i&&t._isMounted&&(t.$scopedSlots=xe(t.$parent,i.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Ge(t._slotsProxy,t.$scopedSlots)),t.$vnode=i;var r,a=mt,s=De;try{yt(t),De=t,r=n.call(t._renderProxy,t.$createElement)}catch($a){Ke($a,t,"render"),r=t._vnode}finally{De=s,yt(a)}return o(r)&&1===r.length&&(r=r[0]),r instanceof vt||(r=At()),r.parent=i,r}}function Ue(t,e){return(t.__esModule||gt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),h(t)?e.extend(t):t}function Be(t,e,n,i,o){var r=At();return r.asyncFactory=t,r.asyncMeta={data:e,context:n,children:i,tag:o},r}function ze(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=De;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var i=t.owners=[n],o=!0,l=null,c=null;n.$on("hook:destroyed",(function(){return C(i,n)}));var u=function(t){for(var e=0,n=i.length;e1?k(n):n;for(var i=k(arguments,1),o='event handler for "'.concat(t,'"'),r=0,a=n.length;rdocument.createEvent("Event").timeStamp&&(Wn=function(){return Yn.now()})}var qn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Hn(){var t,e;for(Vn=Wn(),Un=!0,Gn.sort(qn),Bn=0;BnBn&&Gn[n].id>t.id)n--;Gn.splice(n+1,0,t)}else Gn.push(t);Fn||(Fn=!0,un(Hn))}}function Qn(t){var e=t.$options.provide;if(e){var n=u(e)?e.call(t):e;if(!h(n))return;for(var i=$t(t),o=gt?Reflect.ownKeys(n):Object.keys(n),r=0;r-1)if(r&&!w(o,"default"))a=!1;else if(""===a||a===M(t)){var l=Ti(String,o.type);(l<0||s-1)return this;var n=k(arguments,1);return n.unshift(this),u(t.install)?t.install.apply(t,n):u(t)&&t.apply(null,n),e.push(t),this}}function to(t){t.mixin=function(t){return this.options=wi(this.options,t),this}}function eo(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,o=t._Ctor||(t._Ctor={});if(o[i])return o[i];var r=ri(t)||ri(n.options);var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=wi(n.options,t),a["super"]=n,a.options.props&&no(a),a.options.computed&&io(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Y.forEach((function(t){a[t]=n[t]})),r&&(a.options.components[r]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=L({},a.options),o[i]=a,a}}function no(t){var e=t.options.props;for(var n in e)ji(t.prototype,"_props",n)}function io(t){var e=t.options.computed;for(var n in e)Ui(t.prototype,n,e[n])}function oo(t){Y.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&p(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&u(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function ro(t){return t&&(ri(t.Ctor.options)||t.tag)}function ao(t,e){return o(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function so(t,e){var n=t.cache,i=t.keys,o=t._vnode,r=t.$vnode;for(var a in n){var s=n[a];if(s){var l=s.name;l&&!e(l)&&lo(n,a,i,o)}}r.componentOptions.children=void 0}function lo(t,e,n,i){var o=t[e];!o||i&&o.tag===i.tag||o.componentInstance.$destroy(),t[e]=null,C(n,e)}Xi(Qi),qi(Qi),En(Qi),Pn(Qi),Fe(Qi);var co=[String,RegExp,Array],uo={name:"keep-alive",abstract:!0,props:{include:co,exclude:co,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,o=t.keyToCache;if(i){var r=i.tag,a=i.componentInstance,s=i.componentOptions;e[o]={name:ro(s),tag:r,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&lo(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)lo(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){so(t,(function(t){return ao(e,t)}))})),this.$watch("exclude",(function(e){so(t,(function(t){return!ao(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Ve(t),n=e&&e.componentOptions;if(n){var i=ro(n),o=this,r=o.include,a=o.exclude;if(r&&(!i||!ao(r,i))||a&&i&&ao(a,i))return e;var s=this,l=s.cache,c=s.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;l[u]?(e.componentInstance=l[u].componentInstance,C(c,u),c.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},ho={KeepAlive:uo};function po(t){var e={get:function(){return H}};Object.defineProperty(t,"config",e),t.util={warn:pi,extend:L,mergeOptions:wi,defineReactive:Ft},t.set=Ut,t.delete=Bt,t.nextTick=un,t.observable=function(t){return Dt(t),t},t.options=Object.create(null),Y.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,L(t.options.components,ho),$i(t),to(t),eo(t),oo(t)}po(Qi),Object.defineProperty(Qi.prototype,"$isServer",{get:ht}),Object.defineProperty(Qi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Qi,"FunctionalRenderContext",{value:ei}),Qi.version=pn;var fo=_("style,class"),go=_("input,textarea,option,select,progress"),mo=function(t,e,n){return"value"===n&&go(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},yo=_("contenteditable,draggable,spellcheck"),vo=_("events,caret,typing,plaintext-only"),Ao=function(t,e){return wo(e)||"false"===e?"false":"contenteditable"===t&&vo(e)?e:"true"},_o=_("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),bo="http://www.w3.org/1999/xlink",Co=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Io=function(t){return Co(t)?t.slice(6,t.length):""},wo=function(t){return null==t||!1===t};function Eo(t){var e=t.data,n=t,i=t;while(a(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=Oo(i.data,e));while(a(n=n.parent))n&&n.data&&(e=Oo(e,n.data));return So(e.staticClass,e.class)}function Oo(t,e){return{staticClass:xo(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function So(t,e){return a(t)||a(e)?xo(t,Po(e)):""}function xo(t,e){return t?e?t+" "+e:t:e||""}function Po(t){return Array.isArray(t)?Mo(t):h(t)?To(t):"string"===typeof t?t:""}function Mo(t){for(var e,n="",i=0,o=t.length;i-1?No[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:No[t]=/HTMLUnknownElement/.test(e.toString())}var Fo=_("text,number,password,search,email,tel,url");function Uo(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Bo(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function zo(t,e){return document.createElementNS(Ro[t],e)}function Vo(t){return document.createTextNode(t)}function Wo(t){return document.createComment(t)}function Yo(t,e,n){t.insertBefore(e,n)}function qo(t,e){t.removeChild(e)}function Ho(t,e){t.appendChild(e)}function Xo(t){return t.parentNode}function Zo(t){return t.nextSibling}function Ko(t){return t.tagName}function Jo(t,e){t.textContent=e}function Qo(t,e){t.setAttribute(e,"")}var $o=Object.freeze({__proto__:null,createElement:Bo,createElementNS:zo,createTextNode:Vo,createComment:Wo,insertBefore:Yo,removeChild:qo,appendChild:Ho,parentNode:Xo,nextSibling:Zo,tagName:Ko,setTextContent:Jo,setStyleScope:Qo}),tr={create:function(t,e){er(e)},update:function(t,e){t.data.ref!==e.data.ref&&(er(t,!0),er(e))},destroy:function(t){er(t,!0)}};function er(t,e){var n=t.data.ref;if(a(n)){var i=t.context,r=t.componentInstance||t.elm,s=e?null:r,l=e?void 0:r;if(u(n))Je(n,i,[s],i,"template ref function");else{var c=t.data.refInFor,h="string"===typeof n||"number"===typeof n,d=qt(n),p=i.$refs;if(h||d)if(c){var f=h?p[n]:n.value;e?o(f)&&C(f,r):o(f)?f.includes(r)||f.push(r):h?(p[n]=[r],nr(i,n,p[n])):n.value=[r]}else if(h){if(e&&p[n]!==r)return;p[n]=l,nr(i,n,s)}else if(d){if(e&&n.value!==r)return;n.value=s}else 0}}}function nr(t,e,n){var i=t._setupState;i&&w(i,e)&&(qt(i[e])?i[e].value=n:i[e]=n)}var ir=new vt("",{},[]),or=["create","activate","update","remove","destroy"];function rr(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&ar(t,e)||s(t.isAsyncPlaceholder)&&r(e.asyncFactory.error))}function ar(t,e){if("input"!==t.tag)return!0;var n,i=a(n=t.data)&&a(n=n.attrs)&&n.type,o=a(n=e.data)&&a(n=n.attrs)&&n.type;return i===o||Fo(i)&&Fo(o)}function sr(t,e,n){var i,o,r={};for(i=e;i<=n;++i)o=t[i].key,a(o)&&(r[o]=i);return r}function lr(t){var e,n,i={},l=t.modules,u=t.nodeOps;for(e=0;eg?(h=r(n[v+1])?null:n[v+1].elm,w(t,h,n,p,v,i)):p>v&&O(e,d,g)}function P(t,e,n,i){for(var o=n;o-1?Ar(t,e,n):_o(e)?wo(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):yo(e)?t.setAttribute(e,Ao(e,n)):Co(e)?wo(n)?t.removeAttributeNS(bo,Io(e)):t.setAttributeNS(bo,e,n):Ar(t,e,n)}function Ar(t,e,n){if(wo(n))t.removeAttribute(e);else{if(nt&&!it&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var _r={create:yr,update:yr};function br(t,e){var n=e.elm,i=e.data,o=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(o)||r(o.staticClass)&&r(o.class)))){var s=Eo(e),l=n._transitionClasses;a(l)&&(s=xo(s,Po(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Cr,Ir={create:br,update:br},wr="__r",Er="__c";function Or(t){if(a(t[wr])){var e=nt?"change":"input";t[e]=[].concat(t[wr],t[e]||[]),delete t[wr]}a(t[Er])&&(t.change=[].concat(t[Er],t.change||[]),delete t[Er])}function Sr(t,e,n){var i=Cr;return function o(){var r=e.apply(null,arguments);null!==r&&Mr(t,o,n,i)}}var xr=en&&!(st&&Number(st[1])<=53);function Pr(t,e,n,i){if(xr){var o=Vn,r=e;e=r._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return r.apply(this,arguments)}}Cr.addEventListener(t,e,ct?{capture:n,passive:i}:n)}function Mr(t,e,n,i){(i||Cr).removeEventListener(t,e._wrapper||e,n)}function Tr(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Cr=e.elm||t.elm,Or(n),ne(n,i,Pr,Mr,Sr,e.context),Cr=void 0}}var Rr,jr={create:Tr,update:Tr,destroy:function(t){return Tr(t,ir)}};function kr(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,o=e.elm,l=t.data.domProps||{},c=e.data.domProps||{};for(n in(a(c.__ob__)||s(c._v_attr_proxy))&&(c=e.data.domProps=L({},c)),l)n in c||(o[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===l[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=i;var u=r(i)?"":String(i);Lr(o,u)&&(o.value=u)}else if("innerHTML"===n&&ko(o.tagName)&&r(o.innerHTML)){Rr=Rr||document.createElement("div"),Rr.innerHTML="".concat(i,"");var h=Rr.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(h.firstChild)o.appendChild(h.firstChild)}else if(i!==l[n])try{o[n]=i}catch($a){}}}}function Lr(t,e){return!t.composing&&("OPTION"===t.tagName||Gr(t,e)||Nr(t,e))}function Gr(t,e){var n=!0;try{n=document.activeElement!==t}catch($a){}return n&&t.value!==e}function Nr(t,e){var n=t.value,i=t._vModifiers;if(a(i)){if(i.number)return A(n)!==A(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var Dr={create:kr,update:kr},Fr=E((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Ur(t){var e=Br(t.style);return t.staticStyle?L(t.staticStyle,e):e}function Br(t){return Array.isArray(t)?G(t):"string"===typeof t?Fr(t):t}function zr(t,e){var n,i={};if(e){var o=t;while(o.componentInstance)o=o.componentInstance._vnode,o&&o.data&&(n=Ur(o.data))&&L(i,n)}(n=Ur(t.data))&&L(i,n);var r=t;while(r=r.parent)r.data&&(n=Ur(r.data))&&L(i,n);return i}var Vr,Wr=/^--/,Yr=/\s*!important$/,qr=function(t,e,n){if(Wr.test(e))t.style.setProperty(e,n);else if(Yr.test(n))t.style.setProperty(M(e),n.replace(Yr,""),"important");else{var i=Xr(e);if(Array.isArray(n))for(var o=0,r=n.length;o-1?e.split(Jr).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function $r(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Jr).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function ta(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&L(e,ea(t.name||"v")),L(e,t),e}return"string"===typeof t?ea(t):void 0}}var ea=E((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),na=tt&&!it,ia="transition",oa="animation",ra="transition",aa="transitionend",sa="animation",la="animationend";na&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ra="WebkitTransition",aa="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(sa="WebkitAnimation",la="webkitAnimationEnd"));var ca=tt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ua(t){ca((function(){ca(t)}))}function ha(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Qr(t,e))}function da(t,e){t._transitionClasses&&C(t._transitionClasses,e),$r(t,e)}function pa(t,e,n){var i=ga(t,e),o=i.type,r=i.timeout,a=i.propCount;if(!o)return n();var s=o===ia?aa:la,l=0,c=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++l>=a&&c()};setTimeout((function(){l0&&(n=ia,u=a,h=r.length):e===oa?c>0&&(n=oa,u=c,h=l.length):(u=Math.max(a,c),n=u>0?a>c?ia:oa:null,h=n?n===ia?r.length:l.length:0);var d=n===ia&&fa.test(i[ra+"Property"]);return{type:n,timeout:u,propCount:h,hasTransform:d}}function ma(t,e){while(t.length1}function Ca(t,e){!0!==e.data.show&&va(e)}var Ia=tt?{create:Ca,activate:Ca,remove:function(t,e){!0!==t.data.show?Aa(t,e):e()}}:{},wa=[_r,Ir,jr,Dr,Kr,Ia],Ea=wa.concat(mr),Oa=lr({nodeOps:$o,modules:Ea});it&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ka(t,"input")}));var Sa={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?ie(n,"postpatch",(function(){Sa.componentUpdated(t,e,n)})):xa(t,e,n.context),t._vOptions=[].map.call(t.options,Ta)):("textarea"===n.tag||Fo(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Ra),t.addEventListener("compositionend",ja),t.addEventListener("change",ja),it&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){xa(t,e,n.context);var i=t._vOptions,o=t._vOptions=[].map.call(t.options,Ta);if(o.some((function(t,e){return!U(t,i[e])}))){var r=t.multiple?e.value.some((function(t){return Ma(t,o)})):e.value!==e.oldValue&&Ma(e.value,o);r&&ka(t,"change")}}}};function xa(t,e,n){Pa(t,e,n),(nt||ot)&&setTimeout((function(){Pa(t,e,n)}),0)}function Pa(t,e,n){var i=e.value,o=t.multiple;if(!o||Array.isArray(i)){for(var r,a,s=0,l=t.options.length;s-1,a.selected!==r&&(a.selected=r);else if(U(Ta(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Ma(t,e){return e.every((function(e){return!U(e,t)}))}function Ta(t){return"_value"in t?t._value:t.value}function Ra(t){t.target.composing=!0}function ja(t){t.target.composing&&(t.target.composing=!1,ka(t.target,"input"))}function ka(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function La(t){return!t.componentInstance||t.data&&t.data.transition?t:La(t.componentInstance._vnode)}var Ga={bind:function(t,e,n){var i=e.value;n=La(n);var o=n.data&&n.data.transition,r=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&o?(n.data.show=!0,va(n,(function(){t.style.display=r}))):t.style.display=i?r:"none"},update:function(t,e,n){var i=e.value,o=e.oldValue;if(!i!==!o){n=La(n);var r=n.data&&n.data.transition;r?(n.data.show=!0,i?va(n,(function(){t.style.display=t.__vOriginalDisplay})):Aa(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,o){o||(t.style.display=t.__vOriginalDisplay)}},Na={model:Sa,show:Ga},Da={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Fa(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Fa(Ve(e.children)):t}function Ua(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var o=n._parentListeners;for(var i in o)e[S(i)]=o[i];return e}function Ba(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function za(t){while(t=t.parent)if(t.data.transition)return!0}function Va(t,e){return e.key===t.key&&e.tag===t.tag}var Wa=function(t){return t.tag||Se(t)},Ya=function(t){return"show"===t.name},qa={name:"transition",props:Da,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Wa),n.length)){0;var i=this.mode;0;var o=n[0];if(za(this.$vnode))return o;var r=Fa(o);if(!r)return o;if(this._leaving)return Ba(t,o);var a="__transition-".concat(this._uid,"-");r.key=null==r.key?r.isComment?a+"comment":a+r.tag:c(r.key)?0===String(r.key).indexOf(a)?r.key:a+r.key:r.key;var s=(r.data||(r.data={})).transition=Ua(this),l=this._vnode,u=Fa(l);if(r.data.directives&&r.data.directives.some(Ya)&&(r.data.show=!0),u&&u.data&&!Va(r,u)&&!Se(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=L({},s);if("out-in"===i)return this._leaving=!0,ie(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ba(t,o);if("in-out"===i){if(Se(r))return l;var d,p=function(){d()};ie(s,"afterEnter",p),ie(s,"enterCancelled",p),ie(h,"delayLeave",(function(t){d=t}))}}return o}}},Ha=L({tag:String,moveClass:String},Da);delete Ha.mode;var Xa={props:Ha,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var o=Sn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,o=this.$slots.default||[],r=this.children=[],a=Ua(this),s=0;s1?m[m.length-2].toLowerCase():"";if(y==v||y==v.replace("-","")||A+"-"+y==v){u=l?u:n[v],m.pop(),A&&v.startsWith(A)&&m.pop();break}}l||"number"!=typeof y||(u=y,l=!0);var _=m.join(i).replace("Klokantech Noto Sans","Noto Sans");-1!==_.indexOf(i)&&(_='"'+_+'"'),d.push(_)}s=r[t]=[h,u,d]}return s[0]+i+s[1]+i+e+"px"+(a?"/"+a:"")+i+s[2]}},"2ce2":function(t,e,n){"use strict";var i=n("e300"),o=n("183a"),r=n("cef7"),a=n("f623"),s=n("4334"),l=n("57cb"),c=n("38f3"),u=n("6c77"),h=n("9f5e"),d=n("1300"),p=n("06f8"),f=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),g={SELECT:"select"},m=function(t){function e(e,n,i,o){var r=t.call(this,e)||this;return r.selected=n,r.deselected=i,r.mapBrowserEvent=o,r}return f(e,t),e}(r["a"]),y={},v=function(t){function e(e){var n=t.call(this)||this;n.on,n.once,n.un;var o,r=e||{};if(n.boundAddFeature_=n.addFeature_.bind(n),n.boundRemoveFeature_=n.removeFeature_.bind(n),n.condition_=r.condition?r.condition:p["m"],n.addCondition_=r.addCondition?r.addCondition:p["h"],n.removeCondition_=r.removeCondition?r.removeCondition:p["h"],n.toggleCondition_=r.toggleCondition?r.toggleCondition:p["l"],n.multi_=!!r.multi&&r.multi,n.filter_=r.filter?r.filter:l["b"],n.hitTolerance_=r.hitTolerance?r.hitTolerance:0,n.style_=void 0!==r.style?r.style:A(),n.features_=r.features||new i["a"],r.layers)if("function"===typeof r.layers)o=r.layers;else{var a=r.layers;o=function(t){return Object(h["f"])(a,t)}}else o=l["b"];return n.layerFilter_=o,n.featureLayerAssociation_={},n}return f(e,t),e.prototype.addFeatureLayerAssociation_=function(t,e){this.featureLayerAssociation_[Object(d["c"])(t)]=e},e.prototype.getFeatures=function(){return this.features_},e.prototype.getHitTolerance=function(){return this.hitTolerance_},e.prototype.getLayer=function(t){return this.featureLayerAssociation_[Object(d["c"])(t)]},e.prototype.setHitTolerance=function(t){this.hitTolerance_=t},e.prototype.setMap=function(e){var n=this.getMap();n&&this.style_&&this.features_.forEach(this.restorePreviousStyle_.bind(this)),t.prototype.setMap.call(this,e),e?(this.features_.addEventListener(o["a"].ADD,this.boundAddFeature_),this.features_.addEventListener(o["a"].REMOVE,this.boundRemoveFeature_),this.style_&&this.features_.forEach(this.applySelectedStyle_.bind(this))):(this.features_.removeEventListener(o["a"].ADD,this.boundAddFeature_),this.features_.removeEventListener(o["a"].REMOVE,this.boundRemoveFeature_))},e.prototype.addFeature_=function(t){var e=t.element;this.style_&&this.applySelectedStyle_(e)},e.prototype.removeFeature_=function(t){var e=t.element;this.style_&&this.restorePreviousStyle_(e)},e.prototype.getStyle=function(){return this.style_},e.prototype.applySelectedStyle_=function(t){var e=Object(d["c"])(t);e in y||(y[e]=t.getStyle()),t.setStyle(this.style_)},e.prototype.restorePreviousStyle_=function(t){for(var n=this.getMap().getInteractions().getArray(),i=n.length-1;i>=0;--i){var o=n[i];if(o!==this&&o instanceof e&&o.getStyle()&&-1!==o.getFeatures().getArray().lastIndexOf(t))return void t.setStyle(o.getStyle())}var r=Object(d["c"])(t);t.setStyle(y[r]),delete y[r]},e.prototype.removeFeatureLayerAssociation_=function(t){delete this.featureLayerAssociation_[Object(d["c"])(t)]},e.prototype.handleEvent=function(t){if(!this.condition_(t))return!0;var e=this.addCondition_(t),n=this.removeCondition_(t),i=this.toggleCondition_(t),o=!e&&!n&&!i,r=t.map,a=this.getFeatures(),s=[],l=[];if(o){Object(c["b"])(this.featureLayerAssociation_),r.forEachFeatureAtPixel(t.pixel,function(t,e){if(this.filter_(t,e))return l.push(t),this.addFeatureLayerAssociation_(t,e),!this.multi_}.bind(this),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(var u=a.getLength()-1;u>=0;--u){var d=a.item(u),p=l.indexOf(d);p>-1?l.splice(p,1):(a.remove(d),s.push(d))}0!==l.length&&a.extend(l)}else{r.forEachFeatureAtPixel(t.pixel,function(t,o){if(this.filter_(t,o))return!e&&!i||Object(h["f"])(a.getArray(),t)?(n||i)&&Object(h["f"])(a.getArray(),t)&&(s.push(t),this.removeFeatureLayerAssociation_(t)):(l.push(t),this.addFeatureLayerAssociation_(t,o)),!this.multi_}.bind(this),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(var f=s.length-1;f>=0;--f)a.remove(s[f]);a.extend(l)}return(l.length>0||s.length>0)&&this.dispatchEvent(new m(g.SELECT,l,s,t)),!0},e}(s["a"]);function A(){var t=Object(u["b"])();return Object(h["c"])(t[a["a"].POLYGON],t[a["a"].LINE_STRING]),Object(h["c"])(t[a["a"].GEOMETRY_COLLECTION],t[a["a"].LINE_STRING]),function(e){return e.getGeometry()?t[e.getGeometry().getType()]:null}}e["a"]=v},"30d1":function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return h})),n.d(e,"d",(function(){return p}));var i=n("3749"),o=n("f623"),r=n("869f"),a=n("1300"),s=.5,l={Point:_,LineString:y,Polygon:C,MultiPoint:b,MultiLineString:v,MultiPolygon:A,GeometryCollection:m,Circle:d};function c(t,e){return parseInt(Object(a["c"])(t),10)-parseInt(Object(a["c"])(e),10)}function u(t,e){var n=h(t,e);return n*n}function h(t,e){return s*t/e}function d(t,e,n,o,r){var a=n.getFill(),s=n.getStroke();if(a||s){var l=t.getBuilder(n.getZIndex(),i["a"].CIRCLE);l.setFillStrokeStyle(a,s),l.drawCircle(e,o)}var c=n.getText();if(c&&c.getText()){var u=(r||t).getBuilder(n.getZIndex(),i["a"].TEXT);u.setTextStyle(c),u.drawText(e,o)}}function p(t,e,n,i,o,a,s){var l=!1,c=n.getImage();if(c){var u=c.getImageState();u==r["a"].LOADED||u==r["a"].ERROR?c.unlistenImageChange(o):(u==r["a"].IDLE&&c.load(),u=c.getImageState(),c.listenImageChange(o),l=!0)}return f(t,e,n,i,a,s),l}function f(t,e,n,i,o,r){var a=n.getGeometryFunction()(e);if(a){var s=a.simplifyTransformed(i,o),c=n.getRenderer();if(c)g(t,s,n,e);else{var u=l[s.getType()];u(t,s,n,e,r)}}}function g(t,e,n,r){if(e.getType()!=o["a"].GEOMETRY_COLLECTION){var a=t.getBuilder(n.getZIndex(),i["a"].DEFAULT);a.drawCustom(e,r,n.getRenderer(),n.getHitDetectionRenderer())}else for(var s=e.getGeometries(),l=0,c=s.length;l0){if(n=s.shift().replace(/["']/g,""),["__proto__","prototype","constructor"].includes(n))throw new Error("Prototype pollution attempt detected");isNaN(+n)&&"[]"!==n?r(n)&&(i(l)||(l={},h(c,u,l))):o(l)||(l=[],h(c,u,l)),c=l,u=n,l=l[n]}return h(c,u,e),this}},u.prototype.get=function(t){var e=this._data,n=/[\$\w-|:]+|\[\]|([^\[[\w]\]]|["'](.*?)['"])/g;if(t){var i=t.match(n);while("undefined"!=typeof e&&i.length>0){if(!e.propertyIsEnumerable(i[0].replace(/"/g,"")))return;e=e[i.shift().replace(/"/g,"")]}return e}},u.prototype.data=function(t){return a(t)?this._data:(this._data=t,this)},u.transpose=function(t){var e=new u;for(var n in t)void 0!==t[n]&&e.set(n,t[n]);return e},u.untranspose=function(t){t=t||{};var e=t._data||t,n=function(t,e){var a=[],u=function(t,e){return function(e,n){var i=t;return/\./.test(t)&&(i='["'+i+'"]'),e.key.unshift(i+"."),{key:e.key,data:e.data}}};for(var h in t){var d;if(d=e?"["+h+"]":h,r(t[h])||s(t[h])||null===t[h]||l(t[h])||c(t[h]))/\./.test(h)&&(d='["'+h+'"]'),a.push({key:[d],data:t[h]});else if(o(t[h])){var p=n(t[h],!0);a=a.concat(p.map(u(d,t)))}else if(i(t[h])){var f=n(t[h],!1);a=a.concat(f.map(u(d,t)))}}return a},a=n(e,!1),u={};return a.every((function(t){for(var e=0;e0&&t[1]>0}function r(t,e,n){return void 0===n&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function a(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:(e[0]=t,e[1]=t),e)}n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return a}))},"35a7":function(t,e,n){"use strict";n.d(e,"b",(function(){return l}));var i=n("0ec0"),o=n("01d4"),r=n("1e8d"),a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(t){function e(){var e=t.call(this)||this;return e.on=e.onInternal,e.once=e.onceInternal,e.un=e.unInternal,e.revision_=0,e}return a(e,t),e.prototype.changed=function(){++this.revision_,this.dispatchEvent(o["a"].CHANGE)},e.prototype.getRevision=function(){return this.revision_},e.prototype.onInternal=function(t,e){if(Array.isArray(t)){for(var n=t.length,i=new Array(n),o=0;o0&&this.condition_(t)){var e=t.map,n=e.getView();return this.lastCentroid=null,n.getAnimating()&&n.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1},e}(c["b"]),m=g,y=n("8cc5"),v=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),A=function(t){function e(e){var n=this,i=e||{};return n=t.call(this,{stopDown:u["a"]})||this,n.condition_=i.condition?i.condition:h["c"],n.lastAngle_=void 0,n.duration_=void 0!==i.duration?i.duration:250,n}return v(e,t),e.prototype.handleDragEvent=function(t){if(Object(h["g"])(t)){var e=t.map,n=e.getView();if(n.getConstraints().rotation!==y["c"]){var i=e.getSize(),o=t.pixel,r=Math.atan2(i[1]/2-o[1],o[0]-i[0]/2);if(void 0!==this.lastAngle_){var a=r-this.lastAngle_;n.adjustRotationInternal(-a)}this.lastAngle_=r}}},e.prototype.handleUpEvent=function(t){if(!Object(h["g"])(t))return!0;var e=t.map,n=e.getView();return n.endInteraction(this.duration_),!1},e.prototype.handleDownEvent=function(t){if(!Object(h["g"])(t))return!1;if(Object(h["f"])(t)&&this.condition_(t)){var e=t.map;return e.getView().beginInteraction(),this.lastAngle_=void 0,!0}return!1},e}(c["b"]),_=A,b=n("cef7"),C=n("da5c"),I=n("5bc3"),w=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),E=function(t){function e(e){var n=t.call(this)||this;return n.geometry_=null,n.element_=document.createElement("div"),n.element_.style.position="absolute",n.element_.style.pointerEvents="auto",n.element_.className="ol-box "+e,n.map_=null,n.startPixel_=null,n.endPixel_=null,n}return w(e,t),e.prototype.disposeInternal=function(){this.setMap(null)},e.prototype.render_=function(){var t=this.startPixel_,e=this.endPixel_,n="px",i=this.element_.style;i.left=Math.min(t[0],e[0])+n,i.top=Math.min(t[1],e[1])+n,i.width=Math.abs(e[0]-t[0])+n,i.height=Math.abs(e[1]-t[1])+n},e.prototype.setMap=function(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);var e=this.element_.style;e.left="inherit",e.top="inherit",e.width="inherit",e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)},e.prototype.setPixels=function(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()},e.prototype.createOrUpdateGeometry=function(){var t=this.startPixel_,e=this.endPixel_,n=[t,[t[0],e[1]],e,[e[0],t[1]]],i=n.map(this.map_.getCoordinateFromPixelInternal,this.map_);i[4]=i[0].slice(),this.geometry_?this.geometry_.setCoordinates([i]):this.geometry_=new I["a"]([i])},e.prototype.getGeometry=function(){return this.geometry_},e}(C["a"]),O=E,S=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),x={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"},P=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.coordinate=n,o.mapBrowserEvent=i,o}return S(e,t),e}(b["a"]),M=function(t){function e(e){var n=t.call(this)||this;n.on,n.once,n.un;var i=e||{};return n.box_=new O(i.className||"ol-dragbox"),n.minArea_=void 0!==i.minArea?i.minArea:64,i.onBoxEnd&&(n.onBoxEnd=i.onBoxEnd),n.startPixel_=null,n.condition_=i.condition?i.condition:h["f"],n.boxEndCondition_=i.boxEndCondition?i.boxEndCondition:n.defaultBoxEndCondition,n}return S(e,t),e.prototype.defaultBoxEndCondition=function(t,e,n){var i=n[0]-e[0],o=n[1]-e[1];return i*i+o*o>=this.minArea_},e.prototype.getGeometry=function(){return this.box_.getGeometry()},e.prototype.handleDragEvent=function(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new P(x.BOXDRAG,t.coordinate,t))},e.prototype.handleUpEvent=function(t){this.box_.setMap(null);var e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new P(e?x.BOXEND:x.BOXCANCEL,t.coordinate,t)),!1},e.prototype.handleDownEvent=function(t){return!!this.condition_(t)&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new P(x.BOXSTART,t.coordinate,t)),!0)},e.prototype.onBoxEnd=function(t){},e}(c["b"]),T=M,R=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),j=function(t){function e(e){var n=this,i=e||{},o=i.condition?i.condition:h["l"];return n=t.call(this,{condition:o,className:i.className||"ol-dragzoom",minArea:i.minArea})||this,n.duration_=void 0!==i.duration?i.duration:200,n.out_=void 0!==i.out&&i.out,n}return R(e,t),e.prototype.onBoxEnd=function(t){var e=this.getMap(),n=e.getView(),i=this.getGeometry();if(this.out_){var o=n.rotatedExtentForGeometry(i),r=n.getResolutionForExtentInternal(o),a=n.getResolution()/r;i=i.clone(),i.scale(a*a)}n.fitInternal(i,{duration:this.duration_,easing:d["b"]})},e}(T),k=j,L=n("01d4"),G={LEFT:37,UP:38,RIGHT:39,DOWN:40},N=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),D=function(t){function e(e){var n=t.call(this)||this,i=e||{};return n.defaultCondition_=function(t){return Object(h["i"])(t)&&Object(h["n"])(t)},n.condition_=void 0!==i.condition?i.condition:n.defaultCondition_,n.duration_=void 0!==i.duration?i.duration:100,n.pixelDelta_=void 0!==i.pixelDelta?i.pixelDelta:128,n}return N(e,t),e.prototype.handleEvent=function(t){var e=!1;if(t.type==L["a"].KEYDOWN){var n=t.originalEvent,i=n.keyCode;if(this.condition_(t)&&(i==G.DOWN||i==G.LEFT||i==G.RIGHT||i==G.UP)){var r=t.map,a=r.getView(),s=a.getResolution()*this.pixelDelta_,l=0,c=0;i==G.DOWN?c=-s:i==G.LEFT?l=-s:i==G.RIGHT?l=s:c=s;var u=[l,c];Object(p["f"])(u,a.getRotation()),Object(o["b"])(a,u,this.duration_),n.preventDefault(),e=!0}}return!e},e}(o["a"]),F=D,U=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),B=function(t){function e(e){var n=t.call(this)||this,i=e||{};return n.condition_=i.condition?i.condition:h["n"],n.delta_=i.delta?i.delta:1,n.duration_=void 0!==i.duration?i.duration:100,n}return U(e,t),e.prototype.handleEvent=function(t){var e=!1;if(t.type==L["a"].KEYDOWN||t.type==L["a"].KEYPRESS){var n=t.originalEvent,i=n.charCode;if(this.condition_(t)&&(i=="+".charCodeAt(0)||i=="-".charCodeAt(0))){var r=t.map,a=i=="+".charCodeAt(0)?this.delta_:-this.delta_,s=r.getView();Object(o["c"])(s,a,void 0,this.duration_),n.preventDefault(),e=!0}}return!e},e}(o["a"]),z=B,V=function(){function t(t,e,n){this.decay_=t,this.minVelocity_=e,this.delay_=n,this.points_=[],this.angle_=0,this.initialVelocity_=0}return t.prototype.begin=function(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0},t.prototype.update=function(t,e){this.points_.push(t,e,Date.now())},t.prototype.end=function(){if(this.points_.length<6)return!1;var t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]0&&this.points_[n+2]>t)n-=3;var i=this.points_[e+2]-this.points_[n+2];if(i<1e3/60)return!1;var o=this.points_[e]-this.points_[n],r=this.points_[e+1]-this.points_[n+1];return this.angle_=Math.atan2(r,o),this.initialVelocity_=Math.sqrt(o*o+r*r)/i,this.initialVelocity_>this.minVelocity_},t.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},t.prototype.getAngle=function(){return this.angle_},t}(),W=V,Y=n("617d"),q=n("7fc9"),H=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),X={TRACKPAD:"trackpad",WHEEL:"wheel"},Z=function(t){function e(e){var n=this,i=e||{};n=t.call(this,i)||this,n.totalDelta_=0,n.lastDelta_=0,n.maxDelta_=void 0!==i.maxDelta?i.maxDelta:1,n.duration_=void 0!==i.duration?i.duration:250,n.timeout_=void 0!==i.timeout?i.timeout:80,n.useAnchor_=void 0===i.useAnchor||i.useAnchor,n.constrainResolution_=void 0!==i.constrainResolution&&i.constrainResolution;var o=i.condition?i.condition:h["d"];return n.condition_=i.onFocusOnly?Object(h["a"])(h["e"],o):o,n.lastAnchor_=null,n.startTime_=void 0,n.timeoutId_,n.mode_=void 0,n.trackpadEventGap_=400,n.trackpadTimeoutId_,n.deltaPerZoom_=300,n}return H(e,t),e.prototype.endInteraction_=function(){this.trackpadTimeoutId_=void 0;var t=this.getMap().getView();t.endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)},e.prototype.handleEvent=function(t){if(!this.condition_(t))return!0;var e=t.type;if(e!==L["a"].WHEEL)return!0;var n,i=t.map,o=t.originalEvent;if(o.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.coordinate),t.type==L["a"].WHEEL&&(n=o.deltaY,Y["b"]&&o.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(n/=Y["a"]),o.deltaMode===WheelEvent.DOM_DELTA_LINE&&(n*=40)),0===n)return!1;this.lastDelta_=n;var r=Date.now();void 0===this.startTime_&&(this.startTime_=r),(!this.mode_||r-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(n)<4?X.TRACKPAD:X.WHEEL);var a=i.getView();if(this.mode_===X.TRACKPAD&&!a.getConstrainResolution()&&!this.constrainResolution_)return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(a.getAnimating()&&a.cancelAnimations(),a.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),a.adjustZoom(-n/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=r,!1;this.totalDelta_+=n;var s=Math.max(this.timeout_-(r-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,i),s),!1},e.prototype.handleWheelZoom_=function(t){var e=t.getView();e.getAnimating()&&e.cancelAnimations();var n=-Object(q["a"])(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(n=n?n>0?1:-1:0),Object(o["c"])(e,n,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0},e.prototype.setMouseAnchor=function(t){this.useAnchor_=t,t||(this.lastAnchor_=null)},e}(o["a"]),K=Z,J=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Q=function(t){function e(e){var n=this,i=e||{},o=i;return o.stopDown||(o.stopDown=u["a"]),n=t.call(this,o)||this,n.anchor_=null,n.lastAngle_=void 0,n.rotating_=!1,n.rotationDelta_=0,n.threshold_=void 0!==i.threshold?i.threshold:.3,n.duration_=void 0!==i.duration?i.duration:250,n}return J(e,t),e.prototype.handleDragEvent=function(t){var e=0,n=this.targetPointers[0],i=this.targetPointers[1],o=Math.atan2(i.clientY-n.clientY,i.clientX-n.clientX);if(void 0!==this.lastAngle_){var r=o-this.lastAngle_;this.rotationDelta_+=r,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=r}this.lastAngle_=o;var a=t.map,s=a.getView();if(s.getConstraints().rotation!==y["c"]){var l=a.getViewport().getBoundingClientRect(),u=Object(c["a"])(this.targetPointers);u[0]-=l.left,u[1]-=l.top,this.anchor_=a.getCoordinateFromPixelInternal(u),this.rotating_&&(a.render(),s.adjustRotationInternal(e,this.anchor_))}},e.prototype.handleUpEvent=function(t){if(this.targetPointers.length<2){var e=t.map,n=e.getView();return n.endInteraction(this.duration_),!1}return!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1},e}(c["b"]),$=Q,tt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),et=function(t){function e(e){var n=this,i=e||{},o=i;return o.stopDown||(o.stopDown=u["a"]),n=t.call(this,o)||this,n.anchor_=null,n.duration_=void 0!==i.duration?i.duration:400,n.lastDistance_=void 0,n.lastScaleDelta_=1,n}return tt(e,t),e.prototype.handleDragEvent=function(t){var e=1,n=this.targetPointers[0],i=this.targetPointers[1],o=n.clientX-i.clientX,r=n.clientY-i.clientY,a=Math.sqrt(o*o+r*r);void 0!==this.lastDistance_&&(e=this.lastDistance_/a),this.lastDistance_=a;var s=t.map,l=s.getView();1!=e&&(this.lastScaleDelta_=e);var u=s.getViewport().getBoundingClientRect(),h=Object(c["a"])(this.targetPointers);h[0]-=u.left,h[1]-=u.top,this.anchor_=s.getCoordinateFromPixelInternal(h),s.render(),l.adjustResolutionInternal(e,this.anchor_)},e.prototype.handleUpEvent=function(t){if(this.targetPointers.length<2){var e=t.map,n=e.getView(),i=this.lastScaleDelta_>1?1:-1;return n.endInteraction(this.duration_,i),!1}return!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1},e}(c["b"]),nt=et;function it(t){var e=t||{},n=new i["a"],o=new W(-.005,.05,100),r=void 0===e.altShiftDragRotate||e.altShiftDragRotate;r&&n.push(new _);var a=void 0===e.doubleClickZoom||e.doubleClickZoom;a&&n.push(new l({delta:e.zoomDelta,duration:e.zoomDuration}));var s=void 0===e.dragPan||e.dragPan;s&&n.push(new m({onFocusOnly:e.onFocusOnly,kinetic:o}));var c=void 0===e.pinchRotate||e.pinchRotate;c&&n.push(new $);var u=void 0===e.pinchZoom||e.pinchZoom;u&&n.push(new nt({duration:e.zoomDuration}));var h=void 0===e.keyboard||e.keyboard;h&&(n.push(new F),n.push(new z({delta:e.zoomDelta,duration:e.zoomDuration})));var d=void 0===e.mouseWheelZoom||e.mouseWheelZoom;d&&n.push(new K({onFocusOnly:e.onFocusOnly,duration:e.zoomDuration}));var p=void 0===e.shiftDragZoom||e.shiftDragZoom;return p&&n.push(new k({duration:e.zoomDuration})),n}},"3bb6":function(t,e,n){},"3c22":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("5c38"),o=function(){function t(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}return t.prototype.clear=function(){this.cache_={},this.cacheSize_=0},t.prototype.canExpireCache=function(){return this.cacheSize_>this.maxCacheSize_},t.prototype.expire=function(){if(this.canExpireCache()){var t=0;for(var e in this.cache_){var n=this.cache_[e];0!==(3&t++)||n.hasListener()||(delete this.cache_[e],--this.cacheSize_)}}},t.prototype.get=function(t,e,n){var i=r(t,e,n);return i in this.cache_?this.cache_[i]:null},t.prototype.set=function(t,e,n,i){var o=r(t,e,n);this.cache_[o]=i,++this.cacheSize_},t.prototype.setSize=function(t){this.maxCacheSize_=t,this.expire()},t}();function r(t,e,n){var o=n?Object(i["b"])(n):"null";return e+":"+t+":"+o}var a=new o},"3caa":function(t,e,n){},"3d4a":function(t,e,n){"use strict";(function(t,i){n.d(e,"a",(function(){return Ut})),n.d(e,"b",(function(){return $i})),n.d(e,"c",(function(){return Do})),n.d(e,"d",(function(){return zi})),n.d(e,"e",(function(){return Fo})),n.d(e,"f",(function(){return q}));var o=8,r={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}},terrain:{type:"terrain",doc:"A global modifier that elevates layers and markers based on a DEM data source."},fog:{type:"fog",doc:"A global effect that fades layers and markers based on their distance to the camera. The fog can be used to approximate the effect of atmosphere on distant objects and enhance the depth perception of the map when used with terrain or 3D features."},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. The URL must be absolute, containing the [scheme, authority and path components](https://en.wikipedia.org/wiki/URL#Syntax).",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. The URL must be absolute, containing the [scheme, authority and path components](https://en.wikipedia.org/wiki/URL#Syntax).",example:"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"},transition:{type:"transition",doc:"A global transition definition to use as a default across properties, to be used for timing transitions between one value and the next when no property-specific transition is set. Collision-based symbol fading is controlled independently of the style's `transition` property.",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"}}]}},a={"*":{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."}},s=["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],l={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://`."},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.051129,180,85.051129],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."},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."},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."},promoteId:{type:"promoteId",doc:"A property to use as a feature id (for feature state). Either a property name, or an object of the form `{: }`. If specified as a string for a vector tile source, the same property is used across all its source layers."},volatile:{type:"boolean",default:!1,doc:"A setting to determine whether a source's tiles are cached locally.","sdk-support":{"basic functionality":{android:"9.3.0",ios:"5.10.0"}}},"*":{type:"*",doc:"Other keys to configure the data source."}},c={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://`."},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.051129,180,85.051129],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."},volatile:{type:"boolean",default:!1,doc:"A setting to determine whether a source's tiles are cached locally.","sdk-support":{"basic functionality":{android:"9.3.0",ios:"5.10.0"}}},"*":{type:"*",doc:"Other keys to configure the data source."}},u={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://`."},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.051129,180,85.051129],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"},volatile:{type:"boolean",default:!1,doc:"A setting to determine whether a source's tiles are cached locally.","sdk-support":{"basic functionality":{android:"9.3.0",ios:"5.10.0"}}},"*":{type:"*",doc:"Other keys to configure the data source."}},h={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)."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},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."},filter:{type:"*",doc:"An expression for filtering features prior to processing them for rendering."},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. Cluster groups become new `Point` features in the source with additional properties:\n * `cluster` Is `true` if the point is a cluster \n * `cluster_id` A unqiue id for the cluster to be used in conjunction with the [cluster inspection methods](https://www.mapbox.com/mapbox-gl-js/api/#geojsonsource#getclusterexpansionzoom)\n * `point_count` Number of original points grouped into this cluster\n * `point_count_abbreviated` An abbreviated point count"},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). Clusters are re-evaluated at integer zoom levels so setting clusterMaxZoom to 14 means the clusters will be displayed until z15."},clusterMinPoints:{type:"number",doc:"Minimum number of points necessary to form a cluster if clustering is enabled. Defaults to `2`."},clusterProperties:{type:"*",doc:'An object defining custom properties on the generated clusters if clustering is enabled, aggregating values from clustered points. Has the form `{"property_name": [operator, map_expression]}`. `operator` is any expression function that accepts at least 2 operands (e.g. `"+"` or `"max"`) — it accumulates the property value from clusters/points the cluster contains; `map_expression` produces the value of a single point.\n\nExample: `{"sum": ["+", ["get", "scalerank"]]}`.\n\nFor more advanced use cases, in place of `operator`, you can use a custom reduce expression that references a special `["accumulated"]` value, e.g.:\n`{"sum": [["+", ["accumulated"], ["get", "sum"]], ["get", "scalerank"]]}`'},lineMetrics:{type:"boolean",default:!1,doc:"Whether to calculate line distance metrics. This is required for line layers that specify `line-gradient` values."},generateId:{type:"boolean",default:!1,doc:"Whether to generate ids for the geojson features. When enabled, the `feature.id` property will be auto assigned based on its index in the `features` array, over-writing any previous values."},promoteId:{type:"promoteId",doc:"A property to use as a feature id (for feature state). Either a property name, or an object of the form `{: }`."}},d={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."}}},p={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."}}},f={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"}}},sky:{doc:"A spherical dome around the map that is always rendered behind all other layers.","sdk-support":{"basic functionality":{js:"2.0.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. Zoom expressions in filters are only evaluated at integer zoom levels. The `feature-state` expression is not supported in filter expressions."},layout:{type:"layout",doc:"Layout properties for the layer."},paint:{type:"paint",doc:"Default paint properties for this layer."}},g=["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background","layout_sky"],m={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"}},"property-type":"constant"}},y={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:"2.0.0"}},"property-type":"constant"}},v={"fill-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"},"data-driven styling":{js:"1.2.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},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"}},"property-type":"constant"}},A={"circle-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0",android:"9.2.0",ios:"5.9.0",macos:"0.16.0"},"data-driven styling":{js:"1.2.0",android:"9.2.0",ios:"5.9.0",macos:"0.16.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},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"}},"property-type":"constant"}},_={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"}},"property-type":"constant"}},b={"line-cap":{type:"enum",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":{js:"2.3.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-join":{type:"enum",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"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,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"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,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"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"},"data-driven styling":{js:"1.2.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},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"}},"property-type":"constant"}},C={"symbol-placement":{type:"enum",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."},"line-center":{doc:"The label is placed at the center of the line of the geometry. Can only be used on `LineString` and `Polygon` geometries. Note that a single feature in a vector tile may contain multiple line 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"},"`line-center` value":{js:"0.47.0",android:"6.4.0",ios:"4.3.0",macos:"0.10.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,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"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",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. When using a client that supports global collision detection, like Mapbox GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When `icon-allow-overlap` or `text-allow-overlap` is `false`, features with a lower sort key will have priority during placement. When `icon-allow-overlap` or `text-allow-overlap` is set to `true`, features with a higher sort key will overlap over features with a lower sort key.","sdk-support":{"basic functionality":{js:"0.53.0",android:"7.4.0",ios:"4.11.0",macos:"0.14.0"},"data-driven styling":{js:"0.53.0",android:"7.4.0",ios:"4.11.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{doc:"Sorts symbols by `symbol-sort-key` if set. Otherwise, sorts symbols by their y-position relative to the viewport if `icon-allow-overlap` or `text-allow-overlap` is set to `true` or `icon-ignore-placement` or `text-ignore-placement` is `false`."},"viewport-y":{doc:"Sorts symbols by their y-position relative to the viewport if `icon-allow-overlap` or `text-allow-overlap` is set to `true` or `icon-ignore-placement` or `text-ignore-placement` is `false`."},source:{doc:"Sorts symbols by `symbol-sort-key` if set. Otherwise, no sorting is applied; symbols are rendered in the same order as the source data."}},default:"auto",doc:"Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their y-position relative to the viewport. To control the order and prioritization of symbols otherwise, use `symbol-sort-key`.","sdk-support":{"basic functionality":{js:"0.49.0",android:"6.6.0",ios:"4.5.0",macos:"0.12.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{doc:"When `symbol-placement` is set to `point`, aligns icons east-west. When `symbol-placement` is set to `line` or `line-center`, 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` or `line-center`, 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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum: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"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",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"},"stretchable icons":{js:"1.6.0",android:"9.2.0",ios:"5.8.0",macos:"0.15.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",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"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",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"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,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"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum: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"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",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","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,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"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",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"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{doc:"When `symbol-placement` is set to `point`, aligns text east-west. When `symbol-placement` is set to `line` or `line-center`, 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` or `line-center`, 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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,doc:"Value to use for a text label. If a plain `string` is provided, it will be treated as a `formatted` with default/inherited formatting options.","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"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",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"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",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"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",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"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",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":{js:"2.3.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-letter-spacing":{type:"number",default:0,units:"ems",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"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{doc:"The text is aligned towards the anchor position."},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"},auto:{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,doc:"Radial offset of text, in the direction of the symbol's anchor. Useful in combination with `text-variable-anchor`, which defaults to using the two-dimensional `text-offset` if present.","sdk-support":{"basic functionality":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"},"data-driven styling":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",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."}},requires:["text-field",{"symbol-placement":["point"]}],doc:"To increase the chance of placing high-priority labels on the map, you can provide an array of `text-anchor` locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use `text-justify: auto` to choose justification based on anchor position. To apply an offset, use the `text-radial-offset` or the two-dimensional `text-offset`.","sdk-support":{"basic functionality":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",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",{"!":"text-variable-anchor"}],"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"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",doc:"Maximum angle change between adjacent characters.",requires:["text-field",{"symbol-placement":["line","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{doc:"If a text's language supports horizontal writing mode, symbols with point placement would be laid out horizontally."},vertical:{doc:"If a text's language supports vertical writing mode, symbols with point placement would be laid out vertically."}},doc:"The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.",requires:["text-field",{"symbol-placement":["point"]}],"sdk-support":{"basic functionality":{js:"1.3.0",android:"8.3.0",ios:"5.3.0",macos:"0.15.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",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"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",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"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",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","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",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"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"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. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position.",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],"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"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},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"}},"property-type":"constant"}},I={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"}},"property-type":"constant"}},w={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"}},"property-type":"constant"}},E={type:"array",value:"*",doc:"A filter selects specific features from a layer."},O={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'},within:{doc:'`["within", object]` feature geometry is within object geometry'}},doc:"The filter operator."},S={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."},x={type:"array",minimum:0,maximum:24,value:["number","color"],length:2,doc:"Zoom level and value pair."},P={type:"array",value:"*",minimum:1,doc:"An expression defines a function that can be used for data-driven style properties or feature filters."},M={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"}}},in:{doc:"Determines whether an item exists in an array or a substring exists in a string.",group:"Lookup","sdk-support":{"basic functionality":{js:"1.6.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"}}},"index-of":{doc:"Returns the first position at which an item can be found in an array or a substring can be found in a string, or `-1` if the input cannot be found. Accepts an optional index from where to begin the search.",group:"Lookup","sdk-support":{"basic functionality":{js:"1.10.0"}}},slice:{doc:"Returns an item from an array or a substring from a string from a specified start index, or between a start index and an end index if set. The return value is inclusive of the start index but not of the end index.",group:"Lookup","sdk-support":{"basic functionality":{js:"1.10.0"}}},case:{doc:"Selects the first output whose corresponding test condition evaluates to true, or the fallback value otherwise.",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 for which the label value matches the input value, or the fallback value if no match is found. The input can be any expression (for example, `["get", "building_type"]`). Each label must be unique, and must be either:\n - a single literal value; or\n - an array of literal values, the values of which must be all strings or all numbers (for example `[100, 101]` or `["c", "b"]`).\n\nThe input matches if any of the values in the array matches using strict equality, similar to the `"in"` operator.\nIf the input type does not match the type of the labels, the result will be the fallback value.',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 output 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`, 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"}}},"interpolate-hcl":{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). Works like `interpolate`, but the output type must be `color`, and the interpolation is performed in the Hue-Chroma-Luminance color space.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.49.0"}}},"interpolate-lab":{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). Works like `interpolate`, but the output type must be `color`, and the interpolation is performed in the CIELAB color space.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.49.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",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},format:{doc:'Returns a `formatted` string for displaying mixed-format text in the `text-field` property. The input may contain a string literal or expression, including an [`\'image\'`](#types-image) expression. Strings may be followed by a style override object that supports the following properties:\n- `"text-font"`: Overrides the font stack specified by the root layout property.\n- `"text-color"`: Overrides the color specified by the root paint property.\n- `"font-scale"`: Applies a scaling factor on `text-size` as specified by the root layout property.',group:"Types","sdk-support":{"basic functionality":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"text-font":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"font-scale":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"text-color":{js:"1.3.0",android:"7.3.0",ios:"4.10.0",macos:"0.14.0"},image:{js:"1.6.0",android:"8.6.0",ios:"5.7.0",macos:"0.15.0"}}},image:{doc:"Returns an `image` type for use in `icon-image`, `*-pattern` entries and as a section in the `format` expression. If set, the `image` argument will check that the requested image exists in the style and will return either the resolved image name or `null`, depending on whether or not the image is currently in the style. This validation process is synchronous and requires the image to have been added to the style before requesting it in the `image` argument.",group:"Types","sdk-support":{"basic functionality":{js:"1.4.0",android:"8.6.0",ios:"5.7.0",macos:"0.15.0"}}},"number-format":{doc:"Converts the input number into a string representation using the providing formatting rules. If set, the `locale` argument specifies the locale to use, as a BCP 47 language tag. If set, the `currency` argument specifies an ISO 4217 code to use for currency-style formatting. If set, the `min-fraction-digits` and `max-fraction-digits` arguments specify the minimum and maximum number of fractional digits to include.",group:"Types","sdk-support":{"basic functionality":{js:"0.54.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"}}},"feature-state":{doc:"Retrieves a property value from the current feature's state. Returns null if the requested property is not present on the feature's state. A feature's state is not part of the GeoJSON or vector tile data, and must be set programmatically on each feature. Features are identified by their `id` attribute, which must be an integer or a string that can be cast to an integer. Note that [\"feature-state\"] can only be used with paint properties that support data-driven styling.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.46.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:"Feature data","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.6.0",macos:"0.12.0"}}},"sky-radial-progress":{doc:"Gets the distance of a point on the sky from the sun position. Returns 0 at sun position and 1 when the distance reaches `sky-gradient-radius`. Can only be used in the `sky-gradient` property.",group:"sky","sdk-support":{"basic functionality":{js:"2.0.0"}}},accumulated:{doc:"Gets the value of a cluster property accumulated so far. Can only be used in the `clusterProperties` option of a clustered GeoJSON source.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.53.0"}}},"+":{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"}}},distance:{doc:"Returns the shortest distance in meters between the evaluated feature and the input geometry. The input value can be a valid GeoJSON of type `Point`, `MultiPoint`, `LineString`, `MultiLineString`, `Polygon`, `MultiPolygon`, `Feature`, or `FeatureCollection`. Distance values returned may vary in precision due to loss in precision from encoding geometries, particularly below zoom level 13.",group:"Math","sdk-support":{"basic functionality":{android:"9.2.0",ios:"5.9.0",macos:"0.16.0"}}},"==":{doc:"Returns `true` if the input values are equal, `false` otherwise. The comparison is strictly typed: values of different runtime types are always considered unequal. Cases where the types are known to be different at parse time are considered invalid and will produce a parse error. 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"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"!=":{doc:"Returns `true` if the input values are not equal, `false` otherwise. The comparison is strictly typed: values of different runtime types are always considered unequal. Cases where the types are known to be different at parse time are considered invalid and will produce a parse error. 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"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},">":{doc:"Returns `true` if the first input is strictly greater than the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. 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"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"<":{doc:"Returns `true` if the first input is strictly less than the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. 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"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},">=":{doc:"Returns `true` if the first input is greater than or equal to the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. 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"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"<=":{doc:"Returns `true` if the first input is less than or equal to the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. 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"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.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"}}},within:{doc:"Returns `true` if the evaluated feature is fully contained inside a boundary of the input geometry, `false` otherwise. The input value can be a valid GeoJSON of type `Polygon`, `MultiPolygon`, `Feature`, or `FeatureCollection`. Supported features for evaluation:\n- `Point`: Returns `false` if a point is on the boundary or falls outside the boundary.\n- `LineString`: Returns `false` if any part of a line falls outside the boundary, the line intersects the boundary, or a line's endpoint is on the boundary.",group:"Decision","sdk-support":{"basic functionality":{js:"1.9.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.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","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.6.0"}}},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. Each input is converted to a string as if by `to-string`.",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",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}}}},T={range:{type:"array",default:[.5,10],minimum:-20,maximum:20,length:2,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},doc:"The start and end distance range in which fog fades from fully transparent to fully opaque. The distance to the point at the center of the map is defined as zero, so that negative range values are closer to the camera, and positive values are farther away.",example:[.5,10],"sdk-support":{"basic functionality":{js:"2.3.0"}}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"The color of the fog. Using opacity is recommended only for smoothly transitioning fog on/off as anything less than 100% opacity results in more tiles loaded and drawn.","sdk-support":{"basic functionality":{js:"2.3.0"}}},"horizon-blend":{type:"number","property-type":"data-constant",default:.1,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Horizon blend applies a smooth fade from the color of the fog to the color of the sky. A value of zero leaves a sharp transition from fog to sky. Increasing the value blends the color of fog into increasingly high angles of the sky.","sdk-support":{"basic functionality":{js:"2.3.0"}}}},R={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."}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]},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","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},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","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},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","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},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"}}}},j={source:{type:"string",doc:"Name of a source of `raster_dem` type to be used for terrain elevation.",required:!0,"sdk-support":{"basic functionality":{js:"2.0.0"}}},exaggeration:{type:"number","property-type":"data-constant",default:1,minimum:0,maximum:1e3,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value.","sdk-support":{"basic functionality":{js:"2.0.0"}}}},k=["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background","paint_sky"],L={"fill-antialias":{type:"boolean",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"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.",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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",doc:"The outline color of the fill. Matches the value of `fill-color` if unspecified.",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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-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, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",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":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},G={"line-opacity":{type:"number",doc:"The opacity at which the line will be drawn.",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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",doc:"The color with which the line will be drawn.",default:"#000000",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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-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, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum: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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"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.",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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"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.",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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum: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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",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":{js:"2.3.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-pattern":{type:"resolvedImage",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":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"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`.',transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],"sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.4.0",macos:"0.11.0"},"data-driven styling":{}},expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},N={"circle-radius":{type:"number",default:5,minimum: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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",doc:"The fill color of the circle.",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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,doc:"Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.",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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",doc:"The opacity at which the circle will be drawn.",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.20.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-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, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum: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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",doc:"The stroke color of the circle.",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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",doc:"The opacity of the circle's stroke.",default:1,minimum:0,maximum:1,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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},D={"heatmap-radius":{type:"number",default:30,minimum:1,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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum: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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,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"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"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.',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":{}},expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",doc:"The global opacity at which the heatmap layer will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},F={"icon-opacity":{doc:"The opacity at which the icon will be drawn.",type:"number",default:1,minimum:0,maximum:1,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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum: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"}},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",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.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",macos:"0.1.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`.",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"}},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",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.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",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.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",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.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",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.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",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.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.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},U={"raster-opacity":{type:"number",doc:"The opacity at which the image will be drawn.",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"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,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"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",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"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",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"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",doc:"Increase or reduce the saturation of the image.",default:0,minimum:-1,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",doc:"Increase or reduce the contrast of the image.",default:0,minimum:-1,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,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",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",macos:"0.9.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.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},B={"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`.",transition:!1,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.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",macos:"0.7.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",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",doc:"The shading color of areas that face away from the light source.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",doc:"The shading color of areas that faces towards the light source.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",doc:"The shading color used to accentuate rugged terrain like sharp cliffs and gorges.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},z={"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",macos:"0.1.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",macos:"0.1.0"},"data-driven styling":{}},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",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},V={"sky-type":{type:"enum",values:{gradient:{doc:"Renders the sky with a gradient that can be configured with `sky-gradient-radius` and `sky-gradient`."},atmosphere:{doc:"Renders the sky with a simulated atmospheric scattering algorithm, the sun direction can be attached to the light position or explicitly set through `sky-atmosphere-sun`."}},default:"atmosphere",doc:"The type of the sky","sdk-support":{"basic functionality":{js:"2.0.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun":{type:"array",value:"number",length:2,units:"degrees",minimum:[0,0],maximum:[360,180],transition:!1,doc:"Position of the sun center [a azimuthal angle, p polar angle]. The azimuthal angle indicates the position of the sun relative to 0° north, where degrees proceed clockwise. The polar angle indicates the height of the sun, where 0° is directly above, at zenith, and 90° at the horizon. When this property is ommitted, the sun center is directly inherited from the light position.","sdk-support":{"basic functionality":{js:"2.0.0"}},requires:[{"sky-type":"atmosphere"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun-intensity":{type:"number",requires:[{"sky-type":"atmosphere"}],default:10,minimum:0,maximum:100,transition:!1,doc:"Intensity of the sun as a light source in the atmosphere (on a scale from 0 to a 100). Setting higher values will brighten up the sky.","sdk-support":{"basic functionality":{js:"2.0.0"}},"property-type":"data-constant"},"sky-gradient-center":{type:"array",requires:[{"sky-type":"gradient"}],value:"number",default:[0,0],length:2,units:"degrees",minimum:[0,0],maximum:[360,180],transition:!1,doc:"Position of the gradient center [a azimuthal angle, p polar angle]. The azimuthal angle indicates the position of the gradient center relative to 0° north, where degrees proceed clockwise. The polar angle indicates the height of the gradient center, where 0° is directly above, at zenith, and 90° at the horizon.","sdk-support":{"basic functionality":{js:"2.0.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-gradient-radius":{type:"number",requires:[{"sky-type":"gradient"}],default:90,minimum:0,maximum:180,transition:!1,doc:"The angular distance (measured in degrees) from `sky-gradient-center` up to which the gradient extends. A value of 180 causes the gradient to wrap around to the opposite direction from `sky-gradient-center`.","sdk-support":{"basic functionality":{js:"2.0.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-gradient":{type:"color",default:["interpolate",["linear"],["sky-radial-progress"],.8,"#87ceeb",1,"white"],doc:"Defines a radial color gradient with which to color the sky. The color values can be interpolated with an expression using `sky-radial-progress`. The range [0, 1] for the interpolant covers a radial distance (in degrees) of [0, `sky-gradient-radius`] centered at the position specified by `sky-gradient-center`.",transition:!1,requires:[{"sky-type":"gradient"}],"sdk-support":{"basic functionality":{js:"2.0.0"},"data-driven styling":{}},expression:{interpolated:!0,parameters:["sky-radial-progress"]},"property-type":"color-ramp"},"sky-atmosphere-halo-color":{type:"color",default:"white",doc:"A color applied to the atmosphere sun halo. The alpha channel describes how strongly the sun halo is represented in an atmosphere sky layer.",transition:!1,requires:[{"sky-type":"atmosphere"}],"sdk-support":{"basic functionality":{js:"2.0.0"}},"property-type":"data-constant"},"sky-atmosphere-color":{type:"color",default:"white",doc:"A color used to tweak the main atmospheric scattering coefficients. Using white applies the default coefficients giving the natural blue color to the atmosphere. This color affects how heavily the corresponding wavelength is represented during scattering. The alpha channel describes the density of the atmosphere, with 1 maximum density and 0 no density.",transition:!1,requires:[{"sky-type":"atmosphere"}],"sdk-support":{"basic functionality":{js:"2.0.0"}},"property-type":"data-constant"},"sky-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire sky layer.",transition:!0,"sdk-support":{"basic functionality":{js:"2.0.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},W={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."}},Y={"*":{type:"string",doc:"A name of a feature property to use as ID for feature state."}},q={$version:o,$root:r,sources:a,source:s,source_vector:l,source_raster:c,source_raster_dem:u,source_geojson:h,source_video:d,source_image:p,layer:f,layout:g,layout_background:m,layout_sky:y,layout_fill:v,layout_circle:A,layout_heatmap:_,"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"}},"property-type":"constant"}},layout_line:b,layout_symbol:C,layout_raster:I,layout_hillshade:w,filter:E,filter_operator:O,geometry_type:S,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:x,expression:P,expression_name:M,fog:T,light:R,terrain:j,paint:k,paint_fill:L,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",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"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"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.",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"}},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",macos:"0.5.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`.",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"}},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",macos:"0.5.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",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"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",ios:"4.7.0",macos:"0.13.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:G,paint_circle:N,paint_heatmap:D,paint_symbol:F,paint_raster:U,paint_hillshade:B,paint_background:z,paint_sky:V,transition:W,"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:Y};var H="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof t?t:"undefined"!==typeof self?self:{};function X(t){var e={exports:{}};return t(e,e.exports),e.exports}function Z(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')} +/*! https://mths.be/punycode v1.3.2 by @mathias */var K=X((function(t,e){(function(n){var i=e&&!e.nodeType&&e,o=t&&!t.nodeType&&t,r="object"==typeof H&&H;r.global!==r&&r.window!==r&&r.self!==r||(n=r);var a,s,l=2147483647,c=36,u=1,h=26,d=38,p=700,f=72,g=128,m="-",y=/^xn--/,v=/[^\x20-\x7E]/,A=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=c-u,C=Math.floor,I=String.fromCharCode;function w(t){throw RangeError(_[t])}function E(t,e){var n=t.length,i=[];while(n--)i[n]=e(t[n]);return i}function O(t,e){var n=t.split("@"),i="";n.length>1&&(i=n[0]+"@",t=n[1]),t=t.replace(A,".");var o=t.split("."),r=E(o,e).join(".");return i+r}function S(t){var e,n,i=[],o=0,r=t.length;while(o=55296&&e<=56319&&o65535&&(t-=65536,e+=I(t>>>10&1023|55296),t=56320|1023&t),e+=I(t),e})).join("")}function P(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:c}function M(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function T(t,e,n){var i=0;for(t=n?C(t/p):t>>1,t+=C(t/e);t>b*h>>1;i+=c)t=C(t/b);return C(i+(b+1)*t/(t+d))}function R(t){var e,n,i,o,r,a,s,d,p,y,v=[],A=t.length,_=0,b=g,I=f;for(n=t.lastIndexOf(m),n<0&&(n=0),i=0;i=128&&w("not-basic"),v.push(t.charCodeAt(i));for(o=n>0?n+1:0;o=A&&w("invalid-input"),d=P(t.charCodeAt(o++)),(d>=c||d>C((l-_)/a))&&w("overflow"),_+=d*a,p=s<=I?u:s>=I+h?h:s-I,dC(l/y)&&w("overflow"),a*=y}e=v.length+1,I=T(_-r,e,0==r),C(_/e)>l-b&&w("overflow"),b+=C(_/e),_%=e,v.splice(_++,0,b)}return x(v)}function j(t){var e,n,i,o,r,a,s,d,p,y,v,A,_,b,E,O=[];for(t=S(t),A=t.length,e=g,n=0,r=f,a=0;a=e&&vC((l-n)/_)&&w("overflow"),n+=(s-e)*_,e=s,a=0;al&&w("overflow"),v==e){for(d=n,p=c;;p+=c){if(y=p<=r?u:p>=r+h?h:p-r,d0&&s>a&&(s=a);for(var l=0;l=0?(c=p.substr(0,f),u=p.substr(f+1)):(c=p,u=""),h=decodeURIComponent(c),d=decodeURIComponent(u),Q(o,h)?Array.isArray(o[h])?o[h].push(d):o[h]=[o[h],d]:o[h]=d}return o},tt=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}},et=function(t,e,n,i){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"===typeof t?Object.keys(t).map((function(i){var o=encodeURIComponent(tt(i))+n;return Array.isArray(t[i])?t[i].map((function(t){return o+encodeURIComponent(tt(t))})).join(e):o+encodeURIComponent(tt(t[i]))})).join(e):i?encodeURIComponent(tt(i))+n+encodeURIComponent(tt(t)):""},nt=X((function(t,e){e.decode=e.parse=$,e.encode=e.stringify=et}));function it(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var ot=/^([a-z0-9.+-]+:)/i,rt=/:[0-9]*$/,at=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,st=["<",">",'"',"`"," ","\r","\n","\t"],lt=["{","}","|","\\","^","`"].concat(st),ct=["'"].concat(lt),ut=["%","/","?",";","#"].concat(ct),ht=["/","?","#"],dt=255,pt=/^[+a-z0-9A-Z_-]{0,63}$/,ft=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,gt={javascript:!0,"javascript:":!0},mt={javascript:!0,"javascript:":!0},yt={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function vt(t,e,n){if(t&&J.isObject(t)&&t instanceof it)return t;var i=new it;return i.parse(t,e,n),i}it.prototype.parse=function(t,e,n){if(!J.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),o=-1!==i&&i127?b+="x":b+=_[C];if(!b.match(pt)){var w=v.slice(0,g),E=v.slice(g+1),O=_.match(ft);O&&(w.push(O[1]),E.unshift(O[2])),E.length&&(s="/"+E.join(".")+s),this.hostname=w.join(".");break}}}this.hostname.length>dt?this.hostname="":this.hostname=this.hostname.toLowerCase(),y||(this.hostname=K.toASCII(this.hostname));var S=this.port?":"+this.port:"",x=this.hostname||"";this.host=x+S,this.href+=this.host,y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!gt[u])for(g=0,A=ct.length;g0)&&n.host.split("@");b&&(n.auth=b.shift(),n.host=n.hostname=b.shift())}return n.search=t.search,n.query=t.query,J.isNull(n.pathname)&&J.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!A.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=A.slice(-1)[0],I=(n.host||t.host||A.length>1)&&("."===C||".."===C)||""===C,w=0,E=A.length;E>=0;E--)C=A[E],"."===C?A.splice(E,1):".."===C?(A.splice(E,1),w++):w&&(A.splice(E,1),w--);if(!y&&!v)for(;w--;w)A.unshift("..");!y||""===A[0]||A[0]&&"/"===A[0].charAt(0)||A.unshift(""),I&&"/"!==A.join("/").substr(-1)&&A.push("");var O=""===A[0]||A[0]&&"/"===A[0].charAt(0);if(_){n.hostname=n.host=O?"":A.length?A.shift():"";b=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");b&&(n.auth=b.shift(),n.host=n.hostname=b.shift())}return y=y||n.host&&A.length,y&&!O&&A.unshift(""),A.length?n.pathname=A.join("/"):(n.pathname=null,n.path=null),J.isNull(n.pathname)&&J.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},it.prototype.parseHost=function(){var t=this.host,e=rt.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};function At(t,...e){for(const n of e)for(const e in n)t[e]=n[e];return t}class _t extends Error{constructor(t,e){super(e),this.message=e,this.key=t}}class bt{constructor(t,e=[]){this.parent=t,this.bindings={};for(const[n,i]of e)this.bindings[n]=i}concat(t){return new bt(this,t)}get(t){if(this.bindings[t])return this.bindings[t];if(this.parent)return this.parent.get(t);throw new Error(t+" not found in scope.")}has(t){return!!this.bindings[t]||!!this.parent&&this.parent.has(t)}}const Ct={kind:"null"},It={kind:"number"},wt={kind:"string"},Et={kind:"boolean"},Ot={kind:"color"},St={kind:"object"},xt={kind:"value"},Pt={kind:"error"},Mt={kind:"collator"},Tt={kind:"formatted"},Rt={kind:"resolvedImage"};function jt(t,e){return{kind:"array",itemType:t,N:e}}function kt(t){if("array"===t.kind){const e=kt(t.itemType);return"number"===typeof t.N?`array<${e}, ${t.N}>`:"value"===t.itemType.kind?"array":`array<${e}>`}return t.kind}const Lt=[Ct,It,wt,Et,Ot,Tt,St,jt(xt),Rt];function Gt(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!Gt(t.itemType,e.itemType))&&("number"!==typeof t.N||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if("value"===t.kind)for(const t of Lt)if(!Gt(t,e))return null}return`Expected ${kt(t)} but found ${kt(e)} instead.`}function Nt(t,e){return e.some(e=>e.kind===t.kind)}function Dt(t,e){return e.some(e=>"null"===e?null===t:"array"===e?Array.isArray(t):"object"===e?t&&!Array.isArray(t)&&"object"===typeof t:e===typeof t)}var Ft=X((function(t,e){var n={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 i(t){return t=Math.round(t),t<0?0:t>255?255:t}function o(t){return t<0?0:t>1?1:t}function r(t){return"%"===t[t.length-1]?i(parseFloat(t)/100*255):i(parseInt(t))}function a(t){return"%"===t[t.length-1]?o(parseFloat(t)/100):o(parseFloat(t))}function s(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function l(t){var e=t.replace(/ /g,"").toLowerCase();if(e in n)return n[e].slice();if("#"===e[0]){if(4===e.length){var o=parseInt(e.substr(1),16);return o>=0&&o<=4095?[(3840&o)>>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,1]:null}if(7===e.length){o=parseInt(e.substr(1),16);return o>=0&&o<=16777215?[(16711680&o)>>16,(65280&o)>>8,255&o,1]:null}return null}var l=e.indexOf("("),c=e.indexOf(")");if(-1!==l&&c+1===e.length){var u=e.substr(0,l),h=e.substr(l+1,c-(l+1)).split(","),d=1;switch(u){case"rgba":if(4!==h.length)return null;d=a(h.pop());case"rgb":return 3!==h.length?null:[r(h[0]),r(h[1]),r(h[2]),d];case"hsla":if(4!==h.length)return null;d=a(h.pop());case"hsl":if(3!==h.length)return null;var p=(parseFloat(h[0])%360+360)%360/360,f=a(h[1]),g=a(h[2]),m=g<=.5?g*(f+1):g+f-g*f,y=2*g-m;return[i(255*s(y,m,p+1/3)),i(255*s(y,m,p)),i(255*s(y,m,p-1/3)),d];default:return null}}return null}try{e.parseCSSColor=l}catch(c){}}));class Ut{constructor(t,e,n,i=1){this.r=t,this.g=e,this.b=n,this.a=i}static parse(t){if(!t)return;if(t instanceof Ut)return t;if("string"!==typeof t)return;const e=Ft.parseCSSColor(t);return e?new Ut(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3]):void 0}toString(){const[t,e,n,i]=this.toArray();return`rgba(${Math.round(t)},${Math.round(e)},${Math.round(n)},${i})`}toArray(){const{r:t,g:e,b:n,a:i}=this;return 0===i?[0,0,0,0]:[255*t/i,255*e/i,255*n/i,i]}}Ut.black=new Ut(0,0,0,1),Ut.white=new Ut(1,1,1,1),Ut.transparent=new Ut(0,0,0,0),Ut.red=new Ut(1,0,0,1),Ut.blue=new Ut(0,0,1,1);class Bt{constructor(t,e,n){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(t,e){return this.collator.compare(t,e)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class zt{constructor(t,e,n,i,o){this.text=t,this.image=e,this.scale=n,this.fontStack=i,this.textColor=o}}class Vt{constructor(t){this.sections=t}static fromString(t){return new Vt([new zt(t,null,null,null,null)])}isEmpty(){return 0===this.sections.length||!this.sections.some(t=>0!==t.text.length||t.image&&0!==t.image.name.length)}static factory(t){return t instanceof Vt?t:Vt.fromString(t)}toString(){return 0===this.sections.length?"":this.sections.map(t=>t.text).join("")}serialize(){const t=["format"];for(const e of this.sections){if(e.image){t.push(["image",e.image.name]);continue}t.push(e.text);const n={};e.fontStack&&(n["text-font"]=["literal",e.fontStack.split(",")]),e.scale&&(n["font-scale"]=e.scale),e.textColor&&(n["text-color"]=["rgba"].concat(e.textColor.toArray())),t.push(n)}return t}}class Wt{constructor(t){this.name=t.name,this.available=t.available}toString(){return this.name}static fromString(t){return t?new Wt({name:t,available:!1}):null}serialize(){return["image",this.name]}}function Yt(t,e,n,i){if(!("number"===typeof t&&t>=0&&t<=255&&"number"===typeof e&&e>=0&&e<=255&&"number"===typeof n&&n>=0&&n<=255)){const o="number"===typeof i?[t,e,n,i]:[t,e,n];return`Invalid rgba value [${o.join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}return"undefined"===typeof i||"number"===typeof i&&i>=0&&i<=1?null:`Invalid rgba value [${[t,e,n,i].join(", ")}]: 'a' must be between 0 and 1.`}function qt(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 Ut)return!0;if(t instanceof Bt)return!0;if(t instanceof Vt)return!0;if(t instanceof Wt)return!0;if(Array.isArray(t)){for(const e of t)if(!qt(e))return!1;return!0}if("object"===typeof t){for(const e in t)if(!qt(t[e]))return!1;return!0}return!1}function Ht(t){if(null===t)return Ct;if("string"===typeof t)return wt;if("boolean"===typeof t)return Et;if("number"===typeof t)return It;if(t instanceof Ut)return Ot;if(t instanceof Bt)return Mt;if(t instanceof Vt)return Tt;if(t instanceof Wt)return Rt;if(Array.isArray(t)){const e=t.length;let n;for(const i of t){const t=Ht(i);if(n){if(n===t)continue;n=xt;break}n=t}return jt(n||xt,e)}return St}function Xt(t){const e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof Ut||t instanceof Vt||t instanceof Wt?t.toString():JSON.stringify(t)}class Zt{constructor(t,e){this.type=t,this.value=e}static parse(t,e){if(2!==t.length)return e.error(`'literal' expression requires exactly one argument, but found ${t.length-1} instead.`);if(!qt(t[1]))return e.error("invalid value");const n=t[1];let i=Ht(n);const o=e.expectedType;return"array"!==i.kind||0!==i.N||!o||"array"!==o.kind||"number"===typeof o.N&&0!==o.N||(i=o),new Zt(i,n)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}serialize(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof Ut?["rgba"].concat(this.value.toArray()):this.value instanceof Vt?this.value.serialize():this.value}}class Kt{constructor(t){this.name="ExpressionEvaluationError",this.message=t}toJSON(){return this.message}}const Jt={string:wt,number:It,boolean:Et,object:St};class Qt{constructor(t,e){this.type=t,this.args=e}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");let n,i=1;const o=t[0];if("array"===o){let o,r;if(t.length>2){const n=t[1];if("string"!==typeof n||!(n in Jt)||"object"===n)return e.error('The item type argument of "array" must be one of string, number, boolean',1);o=Jt[n],i++}else o=xt;if(t.length>3){if(null!==t[2]&&("number"!==typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);r=t[2],i++}n=jt(o,r)}else n=Jt[o];const r=[];for(;it.outputDefined())}serialize(){const t=this.type,e=[t.kind];if("array"===t.kind){const n=t.itemType;if("string"===n.kind||"number"===n.kind||"boolean"===n.kind){e.push(n.kind);const i=t.N;("number"===typeof i||this.args.length>1)&&e.push(i)}}return e.concat(this.args.map(t=>t.serialize()))}}class $t{constructor(t){this.type=Tt,this.sections=t}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");const n=t[1];if(!Array.isArray(n)&&"object"===typeof n)return e.error("First argument must be an image or text section.");const i=[];let o=!1;for(let r=1;r<=t.length-1;++r){const n=t[r];if(o&&"object"===typeof n&&!Array.isArray(n)){o=!1;let t=null;if(n["font-scale"]&&(t=e.parse(n["font-scale"],1,It),!t))return null;let r=null;if(n["text-font"]&&(r=e.parse(n["text-font"],1,jt(wt)),!r))return null;let a=null;if(n["text-color"]&&(a=e.parse(n["text-color"],1,Ot),!a))return null;const s=i[i.length-1];s.scale=t,s.font=r,s.textColor=a}else{const n=e.parse(t[r],1,xt);if(!n)return null;const a=n.type.kind;if("string"!==a&&"value"!==a&&"null"!==a&&"resolvedImage"!==a)return e.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");o=!0,i.push({content:n,scale:null,font:null,textColor:null})}}return new $t(i)}evaluate(t){const e=e=>{const n=e.content.evaluate(t);return Ht(n)===Rt?new zt("",n,null,null,null):new zt(Xt(n),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null)};return new Vt(this.sections.map(e))}eachChild(t){for(const e of this.sections)t(e.content),e.scale&&t(e.scale),e.font&&t(e.font),e.textColor&&t(e.textColor)}outputDefined(){return!1}serialize(){const t=["format"];for(const e of this.sections){t.push(e.content.serialize());const n={};e.scale&&(n["font-scale"]=e.scale.serialize()),e.font&&(n["text-font"]=e.font.serialize()),e.textColor&&(n["text-color"]=e.textColor.serialize()),t.push(n)}return t}}class te{constructor(t){this.type=Rt,this.input=t}static parse(t,e){if(2!==t.length)return e.error("Expected two arguments.");const n=e.parse(t[1],1,wt);return n?new te(n):e.error("No image name provided.")}evaluate(t){const e=this.input.evaluate(t),n=Wt.fromString(e);return n&&t.availableImages&&(n.available=t.availableImages.indexOf(e)>-1),n}eachChild(t){t(this.input)}outputDefined(){return!1}serialize(){return["image",this.input.serialize()]}}const ee={"to-boolean":Et,"to-color":Ot,"to-number":It,"to-string":wt};class ne{constructor(t,e){this.type=t,this.args=e}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");const n=t[0];if(("to-boolean"===n||"to-string"===n)&&2!==t.length)return e.error("Expected one argument.");const i=ee[n],o=[];for(let r=1;r4?`Invalid rbga value ${JSON.stringify(e)}: expected an array containing either three or four numeric values.`:Yt(e[0],e[1],e[2],e[3]),!n))return new Ut(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new Kt(n||`Could not parse color from value '${"string"===typeof e?e:String(JSON.stringify(e))}'`)}if("number"===this.type.kind){let e=null;for(const n of this.args){if(e=n.evaluate(t),null===e)return 0;const i=Number(e);if(!isNaN(i))return i}throw new Kt(`Could not convert ${JSON.stringify(e)} to number.`)}return"formatted"===this.type.kind?Vt.fromString(Xt(this.args[0].evaluate(t))):"resolvedImage"===this.type.kind?Wt.fromString(Xt(this.args[0].evaluate(t))):Xt(this.args[0].evaluate(t))}eachChild(t){this.args.forEach(t)}outputDefined(){return this.args.every(t=>t.outputDefined())}serialize(){if("formatted"===this.type.kind)return new $t([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new te(this.args[0]).serialize();const t=["to-"+this.type.kind];return this.eachChild(e=>{t.push(e.serialize())}),t}}const ie=["Unknown","Point","LineString","Polygon"];class oe{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null}id(){return this.feature&&"id"in this.feature?this.feature.id:null}geometryType(){return this.feature?"number"===typeof this.feature.type?ie[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}parseColor(t){let e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=Ut.parse(t)),e}}class re{constructor(t,e,n,i){this.name=t,this.type=e,this._evaluate=n,this.args=i}evaluate(t){return this._evaluate(t,this.args)}eachChild(t){this.args.forEach(t)}outputDefined(){return!1}serialize(){return[this.name].concat(this.args.map(t=>t.serialize()))}static parse(t,e){const n=t[0],i=re.definitions[n];if(!i)return e.error(`Unknown expression "${n}". If you wanted a literal array, use ["literal", [...]].`,0);const o=Array.isArray(i)?i[0]:i.type,r=Array.isArray(i)?[[i[1],i[2]]]:i.overloads,a=r.filter(([e])=>!Array.isArray(e)||e.length===t.length-1);let s=null;for(const[l,c]of a){s=new Ne(e.registry,e.path,null,e.scope);const i=[];let r=!1;for(let e=1;eae(t)).join(" | "),o=[];for(let r=1;r=e[2])&&(!(t[1]<=e[1])&&!(t[3]>=e[3])))}function pe(t,e){const n=ue(t[0]),i=he(t[1]),o=Math.pow(2,e.z);return[Math.round(n*o*le),Math.round(i*o*le)]}function fe(t,e,n){const i=t[0]-e[0],o=t[1]-e[1],r=t[0]-n[0],a=t[1]-n[1];return i*a-r*o===0&&i*r<=0&&o*a<=0}function ge(t,e,n){return e[1]>t[1]!==n[1]>t[1]&&t[0]<(n[0]-e[0])*(t[1]-e[1])/(n[1]-e[1])+e[0]}function me(t,e){let n=!1;for(let i=0,o=e.length;i0&&h<0||u<0&&h>0}function _e(t,e,n,i){const o=[e[0]-t[0],e[1]-t[1]],r=[i[0]-n[0],i[1]-n[1]];return 0!==ve(r,o)&&!(!Ae(t,e,n,i)||!Ae(n,i,t,e))}function be(t,e,n){for(const i of n)for(let n=0;nn[2]){const e=.5*i;let o=t[0]-n[0]>e?-i:n[0]-t[0]>e?i:0;0===o&&(o=t[0]-n[2]>e?-i:n[2]-t[0]>e?i:0),t[0]+=o}ce(e,t)}function Se(t){t[0]=t[1]=1/0,t[2]=t[3]=-1/0}function xe(t,e,n,i){const o=Math.pow(2,i.z)*le,r=[i.x*le,i.y*le],a=[];for(const s of t)for(const t of s){const i=[t.x+r[0],t.y+r[1]];Oe(i,e,n,o),a.push(i)}return a}function Pe(t,e,n,i){const o=Math.pow(2,i.z)*le,r=[i.x*le,i.y*le],a=[];for(const s of t){const t=[];for(const n of s){const i=[n.x+r[0],n.y+r[1]];ce(e,i),t.push(i)}a.push(t)}if(e[2]-e[0]<=o/2){Se(e);for(const t of a)for(const i of t)Oe(i,e,n,o)}return a}function Me(t,e){const n=[1/0,1/0,-1/0,-1/0],i=[1/0,1/0,-1/0,-1/0],o=t.canonicalID();if("Polygon"===e.type){const r=we(e.coordinates,i,o),a=xe(t.geometry(),n,i,o);if(!de(n,i))return!1;for(const t of a)if(!me(t,r))return!1}if("MultiPolygon"===e.type){const r=Ee(e.coordinates,i,o),a=xe(t.geometry(),n,i,o);if(!de(n,i))return!1;for(const t of a)if(!ye(t,r))return!1}return!0}function Te(t,e){const n=[1/0,1/0,-1/0,-1/0],i=[1/0,1/0,-1/0,-1/0],o=t.canonicalID();if("Polygon"===e.type){const r=we(e.coordinates,i,o),a=Pe(t.geometry(),n,i,o);if(!de(n,i))return!1;for(const t of a)if(!Ce(t,r))return!1}if("MultiPolygon"===e.type){const r=Ee(e.coordinates,i,o),a=Pe(t.geometry(),n,i,o);if(!de(n,i))return!1;for(const t of a)if(!Ie(t,r))return!1}return!0}class Re{constructor(t,e){this.type=Et,this.geojson=t,this.geometries=e}static parse(t,e){if(2!==t.length)return e.error(`'within' expression requires exactly one argument, but found ${t.length-1} instead.`);if(qt(t[1])){const e=t[1];if("FeatureCollection"===e.type)for(let t=0;t{e&&!je(t)&&(e=!1)}),e}function ke(t){if(t instanceof re&&"feature-state"===t.name)return!1;let e=!0;return t.eachChild(t=>{e&&!ke(t)&&(e=!1)}),e}function Le(t,e){if(t instanceof re&&e.indexOf(t.name)>=0)return!1;let n=!0;return t.eachChild(t=>{n&&!Le(t,e)&&(n=!1)}),n}class Ge{constructor(t,e){this.type=e.type,this.name=t,this.boundExpression=e}static parse(t,e){if(2!==t.length||"string"!==typeof t[1])return e.error("'var' expression requires exactly one string literal argument.");const n=t[1];return e.scope.has(n)?new Ge(n,e.scope.get(n)):e.error(`Unknown variable "${n}". Make sure "${n}" has been bound in an enclosing "let" expression before using it.`,1)}evaluate(t){return this.boundExpression.evaluate(t)}eachChild(){}outputDefined(){return!1}serialize(){return["var",this.name]}}class Ne{constructor(t,e=[],n,i=new bt,o=[]){this.registry=t,this.path=e,this.key=e.map(t=>`[${t}]`).join(""),this.scope=i,this.errors=o,this.expectedType=n}parse(t,e,n,i,o={}){return e?this.concat(e,n,i)._parse(t,o):this._parse(t,o)}_parse(t,e){function n(t,e,n){return"assert"===n?new Qt(e,[t]):"coerce"===n?new ne(e,[t]):t}if(null!==t&&"string"!==typeof t&&"boolean"!==typeof t&&"number"!==typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const o=t[0];if("string"!==typeof o)return this.error(`Expression name must be a string, but found ${typeof o} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const r=this.registry[o];if(r){let o=r.parse(t,this);if(!o)return null;if(this.expectedType){const t=this.expectedType,i=o.type;if("string"!==t.kind&&"number"!==t.kind&&"boolean"!==t.kind&&"object"!==t.kind&&"array"!==t.kind||"value"!==i.kind)if("color"!==t.kind&&"formatted"!==t.kind&&"resolvedImage"!==t.kind||"value"!==i.kind&&"string"!==i.kind){if(this.checkSubtype(t,i))return null}else o=n(o,t,e.typeAnnotation||"coerce");else o=n(o,t,e.typeAnnotation||"assert")}if(!(o instanceof Zt)&&"resolvedImage"!==o.type.kind&&De(o)){const t=new oe;try{o=new Zt(o.type,o.evaluate(t))}catch(i){return this.error(i.message),null}}return o}return this.error(`Unknown expression "${o}". If you wanted a literal array, use ["literal", [...]].`,0)}return"undefined"===typeof t?this.error("'undefined' value invalid. Use null instead."):"object"===typeof t?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error(`Expected an array, but found ${typeof t} instead.`)}concat(t,e,n){const i="number"===typeof t?this.path.concat(t):this.path,o=n?this.scope.concat(n):this.scope;return new Ne(this.registry,i,e||null,o,this.errors)}error(t,...e){const n=`${this.key}${e.map(t=>`[${t}]`).join("")}`;this.errors.push(new _t(n,t))}checkSubtype(t,e){const n=Gt(t,e);return n&&this.error(n),n}}function De(t){if(t instanceof Ge)return De(t.boundExpression);if(t instanceof re&&"error"===t.name)return!1;if(t instanceof se)return!1;if(t instanceof Re)return!1;const e=t instanceof ne||t instanceof Qt;let n=!0;return t.eachChild(t=>{n=e?n&&De(t):n&&t instanceof Zt}),!!n&&(je(t)&&Le(t,["zoom","heatmap-density","line-progress","sky-radial-progress","accumulated","is-supported-script"]))}function Fe(t,e){const n=t.length-1;let i,o,r=0,a=n,s=0;while(r<=a)if(s=Math.floor((r+a)/2),i=t[s],o=t[s+1],i<=e){if(s===n||ee))throw new Kt("Input is not a number.");a=s-1}return 0}class Ue{constructor(t,e,n){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(const[i,o]of n)this.labels.push(i),this.outputs.push(o)}static parse(t,e){if(t.length-1<4)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if((t.length-1)%2!==0)return e.error("Expected an even number of arguments.");const n=e.parse(t[1],1,It);if(!n)return null;const i=[];let o=null;e.expectedType&&"value"!==e.expectedType.kind&&(o=e.expectedType);for(let r=1;r=n)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',s);const c=e.parse(a,l,o);if(!c)return null;o=o||c.type,i.push([n,c])}return new Ue(o,n,i)}evaluate(t){const e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);const i=this.input.evaluate(t);if(i<=e[0])return n[0].evaluate(t);const o=e.length;if(i>=e[o-1])return n[o-1].evaluate(t);const r=Fe(e,i);return n[r].evaluate(t)}eachChild(t){t(this.input);for(const e of this.outputs)t(e)}outputDefined(){return this.outputs.every(t=>t.outputDefined())}serialize(){const t=["step",this.input.serialize()];for(let e=0;e0&&t.push(this.labels[e]),t.push(this.outputs[e].serialize());return t}}var Be=ze;function ze(t,e,n,i){this.cx=3*t,this.bx=3*(n-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(i-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=i,this.p2x=n,this.p2y=i}function Ve(t,e,n){return t*(1-n)+e*n}function We(t,e,n){return new Ut(Ve(t.r,e.r,n),Ve(t.g,e.g,n),Ve(t.b,e.b,n),Ve(t.a,e.a,n))}function Ye(t,e,n){return t.map((t,i)=>Ve(t,e[i],n))}ze.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},ze.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},ze.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},ze.prototype.solveCurveX=function(t,e){var n,i,o,r,a;for("undefined"===typeof e&&(e=1e-6),o=t,a=0;a<8;a++){if(r=this.sampleCurveX(o)-t,Math.abs(r)i)return i;while(nr?n=o:i=o,o=.5*(i-n)+n}return o},ze.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var qe=Object.freeze({__proto__:null,number:Ve,color:We,array:Ye});const He=.95047,Xe=1,Ze=1.08883,Ke=4/29,Je=6/29,Qe=3*Je*Je,$e=Je*Je*Je,tn=Math.PI/180,en=180/Math.PI;function nn(t){return t>$e?Math.pow(t,1/3):t/Qe+Ke}function on(t){return t>Je?t*t*t:Qe*(t-Ke)}function rn(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function an(t){return t/=255,t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function sn(t){const e=an(t.r),n=an(t.g),i=an(t.b),o=nn((.4124564*e+.3575761*n+.1804375*i)/He),r=nn((.2126729*e+.7151522*n+.072175*i)/Xe),a=nn((.0193339*e+.119192*n+.9503041*i)/Ze);return{l:116*r-16,a:500*(o-r),b:200*(r-a),alpha:t.a}}function ln(t){let e=(t.l+16)/116,n=isNaN(t.a)?e:e+t.a/500,i=isNaN(t.b)?e:e-t.b/200;return e=Xe*on(e),n=He*on(n),i=Ze*on(i),new Ut(rn(3.2404542*n-1.5371385*e-.4985314*i),rn(-.969266*n+1.8760108*e+.041556*i),rn(.0556434*n-.2040259*e+1.0572252*i),t.alpha)}function cn(t,e,n){return{l:Ve(t.l,e.l,n),a:Ve(t.a,e.a,n),b:Ve(t.b,e.b,n),alpha:Ve(t.alpha,e.alpha,n)}}function un(t){const{l:e,a:n,b:i}=sn(t),o=Math.atan2(i,n)*en;return{h:o<0?o+360:o,c:Math.sqrt(n*n+i*i),l:e,alpha:t.a}}function hn(t){const e=t.h*tn,n=t.c,i=t.l;return ln({l:i,a:Math.cos(e)*n,b:Math.sin(e)*n,alpha:t.alpha})}function dn(t,e,n){const i=e-t;return t+n*(i>180||i<-180?i-360*Math.round(i/360):i)}function pn(t,e,n){return{h:dn(t.h,e.h,n),c:Ve(t.c,e.c,n),l:Ve(t.l,e.l,n),alpha:Ve(t.alpha,e.alpha,n)}}const fn={forward:sn,reverse:ln,interpolate:cn},gn={forward:un,reverse:hn,interpolate:pn};var mn=Object.freeze({__proto__:null,lab:fn,hcl:gn});class yn{constructor(t,e,n,i,o){this.type=t,this.operator=e,this.interpolation=n,this.input=i,this.labels=[],this.outputs=[];for(const[r,a]of o)this.labels.push(r),this.outputs.push(a)}static interpolationFactor(t,e,n,i){let o=0;if("exponential"===t.name)o=vn(e,t.base,n,i);else if("linear"===t.name)o=vn(e,1,n,i);else if("cubic-bezier"===t.name){const r=t.controlPoints,a=new Be(r[0],r[1],r[2],r[3]);o=a.solve(vn(e,1,n,i))}return o}static parse(t,e){let[n,i,o,...r]=t;if(!Array.isArray(i)||0===i.length)return e.error("Expected an interpolation type expression.",1);if("linear"===i[0])i={name:"linear"};else if("exponential"===i[0]){const t=i[1];if("number"!==typeof t)return e.error("Exponential interpolation requires a numeric base.",1,1);i={name:"exponential",base:t}}else{if("cubic-bezier"!==i[0])return e.error("Unknown interpolation type "+String(i[0]),1,0);{const t=i.slice(1);if(4!==t.length||t.some(t=>"number"!==typeof t||t<0||t>1))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);i={name:"cubic-bezier",controlPoints:t}}}if(t.length-1<4)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if((t.length-1)%2!==0)return e.error("Expected an even number of arguments.");if(o=e.parse(o,2,It),!o)return null;const a=[];let s=null;"interpolate-hcl"===n||"interpolate-lab"===n?s=Ot:e.expectedType&&"value"!==e.expectedType.kind&&(s=e.expectedType);for(let l=0;l=t)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',i);const c=e.parse(n,o,s);if(!c)return null;s=s||c.type,a.push([t,c])}return"number"===s.kind||"color"===s.kind||"array"===s.kind&&"number"===s.itemType.kind&&"number"===typeof s.N?new yn(s,n,i,o,a):e.error(`Type ${kt(s)} is not interpolatable.`)}evaluate(t){const e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);const i=this.input.evaluate(t);if(i<=e[0])return n[0].evaluate(t);const o=e.length;if(i>=e[o-1])return n[o-1].evaluate(t);const r=Fe(e,i),a=e[r],s=e[r+1],l=yn.interpolationFactor(this.interpolation,i,a,s),c=n[r].evaluate(t),u=n[r+1].evaluate(t);return"interpolate"===this.operator?qe[this.type.kind.toLowerCase()](c,u,l):"interpolate-hcl"===this.operator?gn.reverse(gn.interpolate(gn.forward(c),gn.forward(u),l)):fn.reverse(fn.interpolate(fn.forward(c),fn.forward(u),l))}eachChild(t){t(this.input);for(const e of this.outputs)t(e)}outputDefined(){return this.outputs.every(t=>t.outputDefined())}serialize(){let t;t="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);const e=[this.operator,t,this.input.serialize()];for(let n=0;nGt(i,t.type));return new An(r?xt:n,o)}evaluate(t){let e,n=null,i=0;for(const o of this.args)if(i++,n=o.evaluate(t),n&&n instanceof Wt&&!n.available&&(e||(e=n.name),n=null,i===this.args.length&&(n=e)),null!==n)break;return n}eachChild(t){this.args.forEach(t)}outputDefined(){return this.args.every(t=>t.outputDefined())}serialize(){const t=["coalesce"];return this.eachChild(e=>{t.push(e.serialize())}),t}}class _n{constructor(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e}evaluate(t){return this.result.evaluate(t)}eachChild(t){for(const e of this.bindings)t(e[1]);t(this.result)}static parse(t,e){if(t.length<4)return e.error(`Expected at least 3 arguments, but found ${t.length-1} instead.`);const n=[];for(let o=1;o=n.length)throw new Kt(`Array index out of bounds: ${e} > ${n.length-1}.`);if(e!==Math.floor(e))throw new Kt(`Array index must be an integer, but found ${e} instead.`);return n[e]}eachChild(t){t(this.index),t(this.input)}outputDefined(){return!1}serialize(){return["at",this.index.serialize(),this.input.serialize()]}}class Cn{constructor(t,e){this.type=Et,this.needle=t,this.haystack=e}static parse(t,e){if(3!==t.length)return e.error(`Expected 2 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,xt),i=e.parse(t[2],2,xt);return n&&i?Nt(n.type,[Et,wt,It,Ct,xt])?new Cn(n,i):e.error(`Expected first argument to be of type boolean, string, number or null, but found ${kt(n.type)} instead`):null}evaluate(t){const e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!n)return!1;if(!Dt(e,["boolean","string","number","null"]))throw new Kt(`Expected first argument to be of type boolean, string, number or null, but found ${kt(Ht(e))} instead.`);if(!Dt(n,["string","array"]))throw new Kt(`Expected second argument to be of type array or string, but found ${kt(Ht(n))} instead.`);return n.indexOf(e)>=0}eachChild(t){t(this.needle),t(this.haystack)}outputDefined(){return!0}serialize(){return["in",this.needle.serialize(),this.haystack.serialize()]}}class In{constructor(t,e,n){this.type=It,this.needle=t,this.haystack=e,this.fromIndex=n}static parse(t,e){if(t.length<=2||t.length>=5)return e.error(`Expected 3 or 4 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,xt),i=e.parse(t[2],2,xt);if(!n||!i)return null;if(!Nt(n.type,[Et,wt,It,Ct,xt]))return e.error(`Expected first argument to be of type boolean, string, number or null, but found ${kt(n.type)} instead`);if(4===t.length){const o=e.parse(t[3],3,It);return o?new In(n,i,o):null}return new In(n,i)}evaluate(t){const e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!Dt(e,["boolean","string","number","null"]))throw new Kt(`Expected first argument to be of type boolean, string, number or null, but found ${kt(Ht(e))} instead.`);if(!Dt(n,["string","array"]))throw new Kt(`Expected second argument to be of type array or string, but found ${kt(Ht(n))} instead.`);if(this.fromIndex){const i=this.fromIndex.evaluate(t);return n.indexOf(e,i)}return n.indexOf(e)}eachChild(t){t(this.needle),t(this.haystack),this.fromIndex&&t(this.fromIndex)}outputDefined(){return!1}serialize(){if(null!=this.fromIndex&&void 0!==this.fromIndex){const t=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),t]}return["index-of",this.needle.serialize(),this.haystack.serialize()]}}class wn{constructor(t,e,n,i,o,r){this.inputType=t,this.type=e,this.input=n,this.cases=i,this.outputs=o,this.otherwise=r}static parse(t,e){if(t.length<5)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if(t.length%2!==1)return e.error("Expected an even number of arguments.");let n,i;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);const o={},r=[];for(let l=2;lNumber.MAX_SAFE_INTEGER)return c.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if("number"===typeof t&&Math.floor(t)!==t)return c.error("Numeric branch labels must be integer values.");if(n){if(c.checkSubtype(n,Ht(t)))return null}else n=Ht(t);if("undefined"!==typeof o[String(t)])return c.error("Branch labels must be unique.");o[String(t)]=r.length}const u=e.parse(s,l,i);if(!u)return null;i=i||u.type,r.push(u)}const a=e.parse(t[1],1,xt);if(!a)return null;const s=e.parse(t[t.length-1],t.length-1,i);return s?"value"!==a.type.kind&&e.concat(1).checkSubtype(n,a.type)?null:new wn(n,i,a,o,r,s):null}evaluate(t){const e=this.input.evaluate(t),n=Ht(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise;return n.evaluate(t)}eachChild(t){t(this.input),this.outputs.forEach(t),t(this.otherwise)}outputDefined(){return this.outputs.every(t=>t.outputDefined())&&this.otherwise.outputDefined()}serialize(){const t=["match",this.input.serialize()],e=Object.keys(this.cases).sort(),n=[],i={};for(const r of e){const t=i[this.cases[r]];void 0===t?(i[this.cases[r]]=n.length,n.push([this.cases[r],[r]])):n[t][1].push(r)}const o=t=>"number"===this.inputType.kind?Number(t):t;for(const[r,a]of n)1===a.length?t.push(o(a[0])):t.push(a.map(o)),t.push(this.outputs[r].serialize());return t.push(this.otherwise.serialize()),t}}class En{constructor(t,e,n){this.type=t,this.branches=e,this.otherwise=n}static parse(t,e){if(t.length<4)return e.error(`Expected at least 3 arguments, but found only ${t.length-1}.`);if(t.length%2!==0)return e.error("Expected an odd number of arguments.");let n;e.expectedType&&"value"!==e.expectedType.kind&&(n=e.expectedType);const i=[];for(let r=1;re.outputDefined())&&this.otherwise.outputDefined()}serialize(){const t=["case"];return this.eachChild(e=>{t.push(e.serialize())}),t}}class On{constructor(t,e,n,i){this.type=t,this.input=e,this.beginIndex=n,this.endIndex=i}static parse(t,e){if(t.length<=2||t.length>=5)return e.error(`Expected 3 or 4 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,xt),i=e.parse(t[2],2,It);if(!n||!i)return null;if(!Nt(n.type,[jt(xt),wt,xt]))return e.error(`Expected first argument to be of type array or string, but found ${kt(n.type)} instead`);if(4===t.length){const o=e.parse(t[3],3,It);return o?new On(n.type,n,i,o):null}return new On(n.type,n,i)}evaluate(t){const e=this.input.evaluate(t),n=this.beginIndex.evaluate(t);if(!Dt(e,["string","array"]))throw new Kt(`Expected first argument to be of type array or string, but found ${kt(Ht(e))} instead.`);if(this.endIndex){const i=this.endIndex.evaluate(t);return e.slice(n,i)}return e.slice(n)}eachChild(t){t(this.input),t(this.beginIndex),this.endIndex&&t(this.endIndex)}outputDefined(){return!1}serialize(){if(null!=this.endIndex&&void 0!==this.endIndex){const t=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),t]}return["slice",this.input.serialize(),this.beginIndex.serialize()]}}function Sn(t,e){return"=="===t||"!="===t?"boolean"===e.kind||"string"===e.kind||"number"===e.kind||"null"===e.kind||"value"===e.kind:"string"===e.kind||"number"===e.kind||"value"===e.kind}function xn(t,e,n){return e===n}function Pn(t,e,n){return e!==n}function Mn(t,e,n){return en}function Rn(t,e,n){return e<=n}function jn(t,e,n){return e>=n}function kn(t,e,n,i){return 0===i.compare(e,n)}function Ln(t,e,n,i){return!kn(t,e,n,i)}function Gn(t,e,n,i){return i.compare(e,n)<0}function Nn(t,e,n,i){return i.compare(e,n)>0}function Dn(t,e,n,i){return i.compare(e,n)<=0}function Fn(t,e,n,i){return i.compare(e,n)>=0}function Un(t,e,n){const i="=="!==t&&"!="!==t;return class o{constructor(t,e,n){this.type=Et,this.lhs=t,this.rhs=e,this.collator=n,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind}static parse(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");const n=t[0];let r=e.parse(t[1],1,xt);if(!r)return null;if(!Sn(n,r.type))return e.concat(1).error(`"${n}" comparisons are not supported for type '${kt(r.type)}'.`);let a=e.parse(t[2],2,xt);if(!a)return null;if(!Sn(n,a.type))return e.concat(2).error(`"${n}" comparisons are not supported for type '${kt(a.type)}'.`);if(r.type.kind!==a.type.kind&&"value"!==r.type.kind&&"value"!==a.type.kind)return e.error(`Cannot compare types '${kt(r.type)}' and '${kt(a.type)}'.`);i&&("value"===r.type.kind&&"value"!==a.type.kind?r=new Qt(a.type,[r]):"value"!==r.type.kind&&"value"===a.type.kind&&(a=new Qt(r.type,[a])));let s=null;if(4===t.length){if("string"!==r.type.kind&&"string"!==a.type.kind&&"value"!==r.type.kind&&"value"!==a.type.kind)return e.error("Cannot use collator to compare non-string types.");if(s=e.parse(t[3],3,Mt),!s)return null}return new o(r,a,s)}evaluate(o){const r=this.lhs.evaluate(o),a=this.rhs.evaluate(o);if(i&&this.hasUntypedArgument){const e=Ht(r),n=Ht(a);if(e.kind!==n.kind||"string"!==e.kind&&"number"!==e.kind)throw new Kt(`Expected arguments for "${t}" to be (string, string) or (number, number), but found (${e.kind}, ${n.kind}) instead.`)}if(this.collator&&!i&&this.hasUntypedArgument){const t=Ht(r),n=Ht(a);if("string"!==t.kind||"string"!==n.kind)return e(o,r,a)}return this.collator?n(o,r,a,this.collator.evaluate(o)):e(o,r,a)}eachChild(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator)}outputDefined(){return!0}serialize(){const e=[t];return this.eachChild(t=>{e.push(t.serialize())}),e}}}const Bn=Un("==",xn,kn),zn=Un("!=",Pn,Ln),Vn=Un("<",Mn,Gn),Wn=Un(">",Tn,Nn),Yn=Un("<=",Rn,Dn),qn=Un(">=",jn,Fn);class Hn{constructor(t,e,n,i,o){this.type=wt,this.number=t,this.locale=e,this.currency=n,this.minFractionDigits=i,this.maxFractionDigits=o}static parse(t,e){if(3!==t.length)return e.error("Expected two arguments.");const n=e.parse(t[1],1,It);if(!n)return null;const i=t[2];if("object"!==typeof i||Array.isArray(i))return e.error("NumberFormat options argument must be an object.");let o=null;if(i["locale"]&&(o=e.parse(i["locale"],1,wt),!o))return null;let r=null;if(i["currency"]&&(r=e.parse(i["currency"],1,wt),!r))return null;let a=null;if(i["min-fraction-digits"]&&(a=e.parse(i["min-fraction-digits"],1,It),!a))return null;let s=null;return i["max-fraction-digits"]&&(s=e.parse(i["max-fraction-digits"],1,It),!s)?null:new Hn(n,o,r,a,s)}evaluate(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))}eachChild(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits)}outputDefined(){return!1}serialize(){const t={};return this.locale&&(t["locale"]=this.locale.serialize()),this.currency&&(t["currency"]=this.currency.serialize()),this.minFractionDigits&&(t["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(t["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),t]}}class Xn{constructor(t){this.type=It,this.input=t}static parse(t,e){if(2!==t.length)return e.error(`Expected 1 argument, but found ${t.length-1} instead.`);const n=e.parse(t[1],1);return n?"array"!==n.type.kind&&"string"!==n.type.kind&&"value"!==n.type.kind?e.error(`Expected argument of type string or array, but found ${kt(n.type)} instead.`):new Xn(n):null}evaluate(t){const e=this.input.evaluate(t);if("string"===typeof e)return e.length;if(Array.isArray(e))return e.length;throw new Kt(`Expected value to be of type string or array, but found ${kt(Ht(e))} instead.`)}eachChild(t){t(this.input)}outputDefined(){return!1}serialize(){const t=["length"];return this.eachChild(e=>{t.push(e.serialize())}),t}}const Zn={"==":Bn,"!=":zn,">":Wn,"<":Vn,">=":qn,"<=":Yn,array:Qt,at:bn,boolean:Qt,case:En,coalesce:An,collator:se,format:$t,image:te,in:Cn,"index-of":In,interpolate:yn,"interpolate-hcl":yn,"interpolate-lab":yn,length:Xn,let:_n,literal:Zt,match:wn,number:Qt,"number-format":Hn,object:Qt,slice:On,step:Ue,string:Qt,"to-boolean":ne,"to-color":ne,"to-number":ne,"to-string":ne,var:Ge,within:Re};function Kn(t,[e,n,i,o]){e=e.evaluate(t),n=n.evaluate(t),i=i.evaluate(t);const r=o?o.evaluate(t):1,a=Yt(e,n,i,r);if(a)throw new Kt(a);return new Ut(e/255*r,n/255*r,i/255*r,r)}function Jn(t,e){return t in e}function Qn(t,e){const n=e[t];return"undefined"===typeof n?null:n}function $n(t,e,n,i){while(n<=i){const o=n+i>>1;if(e[o]===t)return!0;e[o]>t?i=o-1:n=o+1}return!1}function ti(t){return{type:t}}function ei(t){return{result:"success",value:t}}function ni(t){return{result:"error",value:t}}function ii(t){return"data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function oi(t){return!!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function ri(t){return!!t.expression&&t.expression.interpolated}function ai(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function si(t){return"object"===typeof t&&null!==t&&!Array.isArray(t)}function li(t){return t}function ci(t,e){const n="color"===e.type,i=t.stops&&"object"===typeof t.stops[0][0],o=i||void 0!==t.property,r=i||!o,a=t.type||(ri(e)?"exponential":"interval");if(n&&(t=At({},t),t.stops&&(t.stops=t.stops.map(t=>[t[0],Ut.parse(t[1])])),t.default?t.default=Ut.parse(t.default):t.default=Ut.parse(e.default)),t.colorSpace&&"rgb"!==t.colorSpace&&!mn[t.colorSpace])throw new Error("Unknown color space: "+t.colorSpace);let s,l,c;if("exponential"===a)s=pi;else if("interval"===a)s=di;else if("categorical"===a){s=hi,l=Object.create(null);for(const e of t.stops)l[e[0]]=e[1];c=typeof t.stops[0][0]}else{if("identity"!==a)throw new Error(`Unknown function type "${a}"`);s=fi}if(i){const n={},i=[];for(let e=0;et[0]),evaluate({zoom:n},i){return pi({stops:o,base:t.base},e,n).evaluate(n,i)}}}if(r){const n="exponential"===a?{name:"exponential",base:void 0!==t.base?t.base:1}:null;return{kind:"camera",interpolationType:n,interpolationFactor:yn.interpolationFactor.bind(void 0,n),zoomStops:t.stops.map(t=>t[0]),evaluate:({zoom:n})=>s(t,e,n,l,c)}}return{kind:"source",evaluate(n,i){const o=i&&i.properties?i.properties[t.property]:void 0;return void 0===o?ui(t.default,e.default):s(t,e,o,l,c)}}}function ui(t,e,n){return void 0!==t?t:void 0!==e?e:void 0!==n?n:void 0}function hi(t,e,n,i,o){const r=typeof n===o?i[n]:void 0;return ui(r,t.default,e.default)}function di(t,e,n){if("number"!==ai(n))return ui(t.default,e.default);const i=t.stops.length;if(1===i)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[i-1][0])return t.stops[i-1][1];const o=Fe(t.stops.map(t=>t[0]),n);return t.stops[o][1]}function pi(t,e,n){const i=void 0!==t.base?t.base:1;if("number"!==ai(n))return ui(t.default,e.default);const o=t.stops.length;if(1===o)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[o-1][0])return t.stops[o-1][1];const r=Fe(t.stops.map(t=>t[0]),n),a=gi(n,i,t.stops[r][0],t.stops[r+1][0]),s=t.stops[r][1],l=t.stops[r+1][1];let c=qe[e.type]||li;if(t.colorSpace&&"rgb"!==t.colorSpace){const e=mn[t.colorSpace];c=(t,n)=>e.reverse(e.interpolate(e.forward(t),e.forward(n),a))}return"function"===typeof s.evaluate?{evaluate(...t){const e=s.evaluate.apply(void 0,t),n=l.evaluate.apply(void 0,t);if(void 0!==e&&void 0!==n)return c(e,n,a)}}:c(s,l,a)}function fi(t,e,n){return"color"===e.type?n=Ut.parse(n):"formatted"===e.type?n=Vt.fromString(n.toString()):"resolvedImage"===e.type?n=Wt.fromString(n.toString()):ai(n)===e.type||"enum"===e.type&&e.values[n]||(n=void 0),ui(n,t.default,e.default)}function gi(t,e,n,i){const o=i-n,r=t-n;return 0===o?0:1===e?r/o:(Math.pow(e,r)-1)/(Math.pow(e,o)-1)}re.register(Zn,{error:[Pt,[wt],(t,[e])=>{throw new Kt(e.evaluate(t))}],typeof:[wt,[xt],(t,[e])=>kt(Ht(e.evaluate(t)))],"to-rgba":[jt(It,4),[Ot],(t,[e])=>e.evaluate(t).toArray()],rgb:[Ot,[It,It,It],Kn],rgba:[Ot,[It,It,It,It],Kn],has:{type:Et,overloads:[[[wt],(t,[e])=>Jn(e.evaluate(t),t.properties())],[[wt,St],(t,[e,n])=>Jn(e.evaluate(t),n.evaluate(t))]]},get:{type:xt,overloads:[[[wt],(t,[e])=>Qn(e.evaluate(t),t.properties())],[[wt,St],(t,[e,n])=>Qn(e.evaluate(t),n.evaluate(t))]]},"feature-state":[xt,[wt],(t,[e])=>Qn(e.evaluate(t),t.featureState||{})],properties:[St,[],t=>t.properties()],"geometry-type":[wt,[],t=>t.geometryType()],id:[xt,[],t=>t.id()],zoom:[It,[],t=>t.globals.zoom],"heatmap-density":[It,[],t=>t.globals.heatmapDensity||0],"line-progress":[It,[],t=>t.globals.lineProgress||0],"sky-radial-progress":[It,[],t=>t.globals.skyRadialProgress||0],accumulated:[xt,[],t=>void 0===t.globals.accumulated?null:t.globals.accumulated],"+":[It,ti(It),(t,e)=>{let n=0;for(const i of e)n+=i.evaluate(t);return n}],"*":[It,ti(It),(t,e)=>{let n=1;for(const i of e)n*=i.evaluate(t);return n}],"-":{type:It,overloads:[[[It,It],(t,[e,n])=>e.evaluate(t)-n.evaluate(t)],[[It],(t,[e])=>-e.evaluate(t)]]},"/":[It,[It,It],(t,[e,n])=>e.evaluate(t)/n.evaluate(t)],"%":[It,[It,It],(t,[e,n])=>e.evaluate(t)%n.evaluate(t)],ln2:[It,[],()=>Math.LN2],pi:[It,[],()=>Math.PI],e:[It,[],()=>Math.E],"^":[It,[It,It],(t,[e,n])=>Math.pow(e.evaluate(t),n.evaluate(t))],sqrt:[It,[It],(t,[e])=>Math.sqrt(e.evaluate(t))],log10:[It,[It],(t,[e])=>Math.log(e.evaluate(t))/Math.LN10],ln:[It,[It],(t,[e])=>Math.log(e.evaluate(t))],log2:[It,[It],(t,[e])=>Math.log(e.evaluate(t))/Math.LN2],sin:[It,[It],(t,[e])=>Math.sin(e.evaluate(t))],cos:[It,[It],(t,[e])=>Math.cos(e.evaluate(t))],tan:[It,[It],(t,[e])=>Math.tan(e.evaluate(t))],asin:[It,[It],(t,[e])=>Math.asin(e.evaluate(t))],acos:[It,[It],(t,[e])=>Math.acos(e.evaluate(t))],atan:[It,[It],(t,[e])=>Math.atan(e.evaluate(t))],min:[It,ti(It),(t,e)=>Math.min(...e.map(e=>e.evaluate(t)))],max:[It,ti(It),(t,e)=>Math.max(...e.map(e=>e.evaluate(t)))],abs:[It,[It],(t,[e])=>Math.abs(e.evaluate(t))],round:[It,[It],(t,[e])=>{const n=e.evaluate(t);return n<0?-Math.round(-n):Math.round(n)}],floor:[It,[It],(t,[e])=>Math.floor(e.evaluate(t))],ceil:[It,[It],(t,[e])=>Math.ceil(e.evaluate(t))],"filter-==":[Et,[wt,xt],(t,[e,n])=>t.properties()[e.value]===n.value],"filter-id-==":[Et,[xt],(t,[e])=>t.id()===e.value],"filter-type-==":[Et,[wt],(t,[e])=>t.geometryType()===e.value],"filter-<":[Et,[wt,xt],(t,[e,n])=>{const i=t.properties()[e.value],o=n.value;return typeof i===typeof o&&i{const n=t.id(),i=e.value;return typeof n===typeof i&&n":[Et,[wt,xt],(t,[e,n])=>{const i=t.properties()[e.value],o=n.value;return typeof i===typeof o&&i>o}],"filter-id->":[Et,[xt],(t,[e])=>{const n=t.id(),i=e.value;return typeof n===typeof i&&n>i}],"filter-<=":[Et,[wt,xt],(t,[e,n])=>{const i=t.properties()[e.value],o=n.value;return typeof i===typeof o&&i<=o}],"filter-id-<=":[Et,[xt],(t,[e])=>{const n=t.id(),i=e.value;return typeof n===typeof i&&n<=i}],"filter->=":[Et,[wt,xt],(t,[e,n])=>{const i=t.properties()[e.value],o=n.value;return typeof i===typeof o&&i>=o}],"filter-id->=":[Et,[xt],(t,[e])=>{const n=t.id(),i=e.value;return typeof n===typeof i&&n>=i}],"filter-has":[Et,[xt],(t,[e])=>e.value in t.properties()],"filter-has-id":[Et,[],t=>null!==t.id()&&void 0!==t.id()],"filter-type-in":[Et,[jt(wt)],(t,[e])=>e.value.indexOf(t.geometryType())>=0],"filter-id-in":[Et,[jt(xt)],(t,[e])=>e.value.indexOf(t.id())>=0],"filter-in-small":[Et,[wt,jt(xt)],(t,[e,n])=>n.value.indexOf(t.properties()[e.value])>=0],"filter-in-large":[Et,[wt,jt(xt)],(t,[e,n])=>$n(t.properties()[e.value],n.value,0,n.value.length-1)],all:{type:Et,overloads:[[[Et,Et],(t,[e,n])=>e.evaluate(t)&&n.evaluate(t)],[ti(Et),(t,e)=>{for(const n of e)if(!n.evaluate(t))return!1;return!0}]]},any:{type:Et,overloads:[[[Et,Et],(t,[e,n])=>e.evaluate(t)||n.evaluate(t)],[ti(Et),(t,e)=>{for(const n of e)if(n.evaluate(t))return!0;return!1}]]},"!":[Et,[Et],(t,[e])=>!e.evaluate(t)],"is-supported-script":[Et,[wt],(t,[e])=>{const n=t.globals&&t.globals.isSupportedScript;return!n||n(e.evaluate(t))}],upcase:[wt,[wt],(t,[e])=>e.evaluate(t).toUpperCase()],downcase:[wt,[wt],(t,[e])=>e.evaluate(t).toLowerCase()],concat:[wt,ti(xt),(t,e)=>e.map(e=>Xt(e.evaluate(t))).join("")],"resolved-locale":[wt,[Mt],(t,[e])=>e.evaluate(t).resolvedLocale()]});class mi{constructor(t,e){this.expression=t,this._warningHistory={},this._evaluator=new oe,this._defaultValue=e?Oi(e):null,this._enumValues=e&&"enum"===e.type?e.values:null}evaluateWithoutErrorHandling(t,e,n,i,o,r){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=n,this._evaluator.canonical=i,this._evaluator.availableImages=o||null,this._evaluator.formattedSection=r,this.expression.evaluate(this._evaluator)}evaluate(t,e,n,i,o,r){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=n||null,this._evaluator.canonical=i,this._evaluator.availableImages=o||null,this._evaluator.formattedSection=r||null;try{const t=this.expression.evaluate(this._evaluator);if(null===t||void 0===t||"number"===typeof t&&t!==t)return this._defaultValue;if(this._enumValues&&!(t in this._enumValues))throw new Kt(`Expected value to be one of ${Object.keys(this._enumValues).map(t=>JSON.stringify(t)).join(", ")}, but found ${JSON.stringify(t)} instead.`);return t}catch(a){return this._warningHistory[a.message]||(this._warningHistory[a.message]=!0,"undefined"!==typeof console&&console.warn(a.message)),this._defaultValue}}}function yi(t){return Array.isArray(t)&&t.length>0&&"string"===typeof t[0]&&t[0]in Zn}function vi(t,e){const n=new Ne(Zn,[],e?Ei(e):void 0),i=n.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return i?ei(new mi(i,e)):ni(n.errors)}class Ai{constructor(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!ke(e.expression)}evaluateWithoutErrorHandling(t,e,n,i,o,r){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,i,o,r)}evaluate(t,e,n,i,o,r){return this._styleExpression.evaluate(t,e,n,i,o,r)}}class _i{constructor(t,e,n,i){this.kind=t,this.zoomStops=n,this._styleExpression=e,this.isStateDependent="camera"!==t&&!ke(e.expression),this.interpolationType=i}evaluateWithoutErrorHandling(t,e,n,i,o,r){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,i,o,r)}evaluate(t,e,n,i,o,r){return this._styleExpression.evaluate(t,e,n,i,o,r)}interpolationFactor(t,e,n){return this.interpolationType?yn.interpolationFactor(this.interpolationType,t,e,n):0}}function bi(t,e){if(t=vi(t,e),"error"===t.result)return t;const n=t.value.expression,i=je(n);if(!i&&!ii(e))return ni([new _t("","data expressions not supported")]);const o=Le(n,["zoom"]);if(!o&&!oi(e))return ni([new _t("","zoom expressions not supported")]);const r=wi(n);if(!r&&!o)return ni([new _t("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(r instanceof _t)return ni([r]);if(r instanceof yn&&!ri(e))return ni([new _t("",'"interpolate" expressions cannot be used with this property')]);if(!r)return ei(new Ai(i?"constant":"source",t.value));const a=r instanceof yn?r.interpolation:void 0;return ei(new _i(i?"camera":"composite",t.value,r.labels,a))}class Ci{constructor(t,e){this._parameters=t,this._specification=e,At(this,ci(this._parameters,this._specification))}static deserialize(t){return new Ci(t._parameters,t._specification)}static serialize(t){return{_parameters:t._parameters,_specification:t._specification}}}function Ii(t,e){if(si(t))return new Ci(t,e);if(yi(t)){const n=bi(t,e);if("error"===n.result)throw new Error(n.value.map(t=>`${t.key}: ${t.message}`).join(", "));return n.value}{let n=t;return"string"===typeof t&&"color"===e.type&&(n=Ut.parse(t)),{kind:"constant",evaluate:()=>n}}}function wi(t){let e=null;if(t instanceof _n)e=wi(t.result);else if(t instanceof An){for(const n of t.args)if(e=wi(n),e)break}else(t instanceof Ue||t instanceof yn)&&t.input instanceof re&&"zoom"===t.input.name&&(e=t);return e instanceof _t||t.eachChild(t=>{const n=wi(t);n instanceof _t?e=n:!e&&n?e=new _t("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):e&&n&&e!==n&&(e=new _t("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),e}function Ei(t){const e={color:Ot,string:wt,number:It,enum:wt,boolean:Et,formatted:Tt,resolvedImage:Rt};return"array"===t.type?jt(e[t.value]||xt,t.length):e[t.type]}function Oi(t){return"color"===t.type&&si(t.default)?new Ut(0,0,0,0):"color"===t.type?Ut.parse(t.default)||null:void 0===t.default?null:t.default}function Si(t){return"object"===typeof t?["literal",t]:t}function xi(t,e){let n=t.stops;if(!n)return Pi(t,e);const i=n&&"object"===typeof n[0][0],o=i||void 0!==t.property,r=i||!o;return n=n.map(t=>!o&&e.tokens&&"string"===typeof t[1]?[t[0],Fi(t[1])]:[t[0],Si(t[1])]),i?Ti(t,e,n):r?Li(t,e,n):ki(t,e,n)}function Pi(t,e){const n=["get",t.property];if(void 0===t.default)return"string"===e.type?["string",n]:n;if("enum"===e.type)return["match",n,Object.keys(e.values),n,t.default];{const i=["color"===e.type?"to-color":e.type,n,Si(t.default)];return"array"===e.type&&i.splice(1,0,e.value,e.length||null),i}}function Mi(t){switch(t.colorSpace){case"hcl":return"interpolate-hcl";case"lab":return"interpolate-lab";default:return"interpolate"}}function Ti(t,e,n){const i={},o={},r=[];for(let s=0;s3&&e===t[t.length-2]||(i&&2===t.length||t.push(e),t.push(n))}function Di(t,e){return t.type?t.type:e.expression.interpolated?"exponential":"interval"}function Fi(t){const e=["concat"],n=/{([^{}]+)}/g;let i=0;for(let o=n.exec(t);null!==o;o=n.exec(t)){const r=t.slice(i,n.lastIndex-o[0].length);i=n.lastIndex,r.length>0&&e.push(r),e.push(["get",o[1]])}if(1===e.length)return t;if(i=2&&"$id"!==t[1]&&"$type"!==t[1];case"in":return t.length>=3&&("string"!==typeof t[1]||Array.isArray(t[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(const e of t.slice(1))if(!Ui(e)&&"boolean"!==typeof e)return!1;return!0;default:return!0}}const Bi={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function zi(t){if(null===t||void 0===t)return{filter:()=>!0,needGeometry:!1};Ui(t)||(t=Yi(t));const e=vi(t,Bi);if("error"===e.result)throw new Error(e.value.map(t=>`${t.key}: ${t.message}`).join(", "));{const n=Wi(t);return{filter:(t,n,i)=>e.value.evaluate(t,n,{},i),needGeometry:n}}}function Vi(t,e){return te?1:0}function Wi(t){if(!Array.isArray(t))return!1;if("within"===t[0])return!0;for(let e=1;e"===e||"<="===e||">="===e?qi(t[1],t[2],e):"any"===e?Hi(t.slice(1)):"all"===e?["all"].concat(t.slice(1).map(Yi)):"none"===e?["all"].concat(t.slice(1).map(Yi).map(Ki)):"in"===e?Xi(t[1],t.slice(2)):"!in"===e?Ki(Xi(t[1],t.slice(2))):"has"===e?Zi(t[1]):"!has"===e?Ki(Zi(t[1])):"within"!==e||t;return n}function qi(t,e,n){switch(t){case"$type":return["filter-type-"+n,e];case"$id":return["filter-id-"+n,e];default:return["filter-"+n,t,e]}}function Hi(t){return["any"].concat(t.map(Yi))}function Xi(t,e){if(0===e.length)return!1;switch(t){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some(t=>typeof t!==typeof e[0])?["filter-in-large",t,["literal",e.sort(Vi)]]:["filter-in-small",t,["literal",e]]}}function Zi(t){switch(t){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",t]}}function Ki(t){return["!",t]}var Ji=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function Qi(t,e){const n={};for(const i in t)"ref"!==i&&(n[i]=t[i]);return Ji.forEach(t=>{t in e&&(n[t]=e[t])}),n}function $i(t){t=t.slice();const e=Object.create(null);for(let n=0;no)return[new to(e,n,`${n} is greater than the maximum value ${o}`)]}return[]}function lo(t){const e=t.valueSpec,n=io(t.value.type);let i,o,r,a={};const s="categorical"!==n&&void 0===t.value.property,l=!s,c="array"===ai(t.value.stops)&&"array"===ai(t.value.stops[0])&&"object"===ai(t.value.stops[0][0]),u=ro({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:h,default:f}});return"identity"===n&&s&&u.push(new to(t.key,t.value,'missing required property "property"')),"identity"===n||t.value.stops||u.push(new to(t.key,t.value,'missing required property "stops"')),"exponential"===n&&t.valueSpec.expression&&!ri(t.valueSpec)&&u.push(new to(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(l&&!ii(t.valueSpec)?u.push(new to(t.key,t.value,"property functions not supported")):s&&!oi(t.valueSpec)&&u.push(new to(t.key,t.value,"zoom functions not supported"))),"categorical"!==n&&!c||void 0!==t.value.property||u.push(new to(t.key,t.value,'"property" property is required')),u;function h(t){if("identity"===n)return[new to(t.key,t.value,'identity function may not have a "stops" property')];let e=[];const i=t.value;return e=e.concat(ao({key:t.key,value:i,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:d})),"array"===ai(i)&&0===i.length&&e.push(new to(t.key,i,"array must have at least one stop")),e}function d(t){let n=[];const i=t.value,s=t.key;if("array"!==ai(i))return[new to(s,i,`array expected, ${ai(i)} found`)];if(2!==i.length)return[new to(s,i,`array length 2 expected, length ${i.length} found`)];if(c){if("object"!==ai(i[0]))return[new to(s,i,`object expected, ${ai(i[0])} found`)];if(void 0===i[0].zoom)return[new to(s,i,"object stop key must have zoom")];if(void 0===i[0].value)return[new to(s,i,"object stop key must have value")];if(r&&r>io(i[0].zoom))return[new to(s,i[0].zoom,"stop zoom values must appear in ascending order")];io(i[0].zoom)!==r&&(r=io(i[0].zoom),o=void 0,a={}),n=n.concat(ro({key:s+"[0]",value:i[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:so,value:p}}))}else n=n.concat(p({key:s+"[0]",value:i[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},i));return yi(oo(i[1]))?n.concat([new to(s+"[1]",i[1],"expressions are not allowed in function stops.")]):n.concat(Mo({key:s+"[1]",value:i[1],valueSpec:e,style:t.style,styleSpec:t.styleSpec}))}function p(t,r){const s=ai(t.value),l=io(t.value),c=null!==t.value?t.value:r;if(i){if(s!==i)return[new to(t.key,c,`${s} stop domain type must match previous stop domain type ${i}`)]}else i=s;if("number"!==s&&"string"!==s&&"boolean"!==s)return[new to(t.key,c,"stop domain value must be a number, string, or boolean")];if("number"!==s&&"categorical"!==n){let i=`number expected, ${s} found`;return ii(e)&&void 0===n&&(i+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new to(t.key,c,i)]}return"categorical"!==n||"number"!==s||isFinite(l)&&Math.floor(l)===l?"categorical"!==n&&"number"===s&&void 0!==o&&lnew to(`${t.key}${e.key}`,t.value,e.message));const n=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&!n.outputDefined())return[new to(t.key,t.value,`Invalid data expression for "${t.propertyKey}". Output values must be contained as literals within the expression.`)];if("property"===t.expressionContext&&"layout"===t.propertyType&&!ke(n))return[new to(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!ke(n))return[new to(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!Le(n,["zoom","feature-state"]))return[new to(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!je(n))return[new to(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function uo(t){const e=t.value,n=t.key,i=ai(e);return"boolean"!==i?[new to(n,e,`boolean expected, ${i} found`)]:[]}function ho(t){const e=t.key,n=t.value,i=ai(n);return"string"!==i?[new to(e,n,`color expected, ${i} found`)]:null===Ft.parseCSSColor(n)?[new to(e,n,`color expected, "${n}" found`)]:[]}function po(t){const e=t.key,n=t.value,i=t.valueSpec,o=[];return Array.isArray(i.values)?-1===i.values.indexOf(io(n))&&o.push(new to(e,n,`expected one of [${i.values.join(", ")}], ${JSON.stringify(n)} found`)):-1===Object.keys(i.values).indexOf(io(n))&&o.push(new to(e,n,`expected one of [${Object.keys(i.values).join(", ")}], ${JSON.stringify(n)} found`)),o}function fo(t){return Ui(oo(t.value))?co(At({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):go(t)}function go(t){const e=t.value,n=t.key;if("array"!==ai(e))return[new to(n,e,`array expected, ${ai(e)} found`)];const i=t.styleSpec;let o,r=[];if(e.length<1)return[new to(n,e,"filter array must have at least 1 element")];switch(r=r.concat(po({key:n+"[0]",value:e[0],valueSpec:i.filter_operator,style:t.style,styleSpec:t.styleSpec})),io(e[0])){case"<":case"<=":case">":case">=":e.length>=2&&"$type"===io(e[1])&&r.push(new to(n,e,`"$type" cannot be use with operator "${e[0]}"`));case"==":case"!=":3!==e.length&&r.push(new to(n,e,`filter array for operator "${e[0]}" must have 3 elements`));case"in":case"!in":e.length>=2&&(o=ai(e[1]),"string"!==o&&r.push(new to(n+"[1]",e[1],`string expected, ${o} found`)));for(let a=2;a{t in n&&e.push(new to(i,n[t],`"${t}" is prohibited for ref layers`))}),o.layers.forEach(e=>{io(e.id)===s&&(t=e)}),t?t.ref?e.push(new to(i,n.ref,"ref cannot reference another ref layer")):a=io(t.type):e.push(new to(i,n.ref,`ref layer "${s}" not found`))}else if("background"!==a&&"sky"!==a)if(n.source){const t=o.sources&&o.sources[n.source],r=t&&io(t.type);t?"vector"===r&&"raster"===a?e.push(new to(i,n.source,`layer "${n.id}" requires a raster source`)):"raster"===r&&"raster"!==a?e.push(new to(i,n.source,`layer "${n.id}" requires a vector source`)):"vector"!==r||n["source-layer"]?"raster-dem"===r&&"hillshade"!==a?e.push(new to(i,n.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==a||!n.paint||!n.paint["line-gradient"]||"geojson"===r&&t.lineMetrics||e.push(new to(i,n,`layer "${n.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):e.push(new to(i,n,`layer "${n.id}" must specify a "source-layer"`)):e.push(new to(i,n.source,`source "${n.source}" not found`))}else e.push(new to(i,n,'missing required property "source"'));return e=e.concat(ro({key:i,value:n,valueSpec:r.layer,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*"(){return[]},type(){return Mo({key:i+".type",value:n.type,valueSpec:r.layer.type,style:t.style,styleSpec:t.styleSpec,object:n,objectKey:"type"})},filter:fo,layout(t){return ro({layer:n,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*"(t){return vo(At({layerType:a},t))}}})},paint(t){return ro({layer:n,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*"(t){return yo(At({layerType:a},t))}}})}}})),e}function _o(t){const e=t.value,n=t.key,i=ai(e);return"string"!==i?[new to(n,e,`string expected, ${i} found`)]:[]}const bo={promoteId:Io};function Co(t){const e=t.value,n=t.key,i=t.styleSpec,o=t.style;if(!e.type)return[new to(n,e,'"type" is required')];const r=io(e.type);let a;switch(r){case"vector":case"raster":case"raster-dem":return a=ro({key:n,value:e,valueSpec:i["source_"+r.replace("-","_")],style:t.style,styleSpec:i,objectElementValidators:bo}),a;case"geojson":if(a=ro({key:n,value:e,valueSpec:i.source_geojson,style:o,styleSpec:i,objectElementValidators:bo}),e.cluster)for(const t in e.clusterProperties){const[i,o]=e.clusterProperties[t],r="string"===typeof i?[i,["accumulated"],["get",t]]:i;a.push(...co({key:`${n}.${t}.map`,value:o,expressionContext:"cluster-map"})),a.push(...co({key:`${n}.${t}.reduce`,value:r,expressionContext:"cluster-reduce"}))}return a;case"video":return ro({key:n,value:e,valueSpec:i.source_video,style:o,styleSpec:i});case"image":return ro({key:n,value:e,valueSpec:i.source_image,style:o,styleSpec:i});case"canvas":return[new to(n,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return po({key:n+".type",value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:o,styleSpec:i})}}function Io({key:t,value:e}){if("string"===ai(e))return _o({key:t,value:e});{const n=[];for(const i in e)n.push(..._o({key:`${t}.${i}`,value:e[i]}));return n}}function wo(t){const e=t.value,n=t.styleSpec,i=n.light,o=t.style;let r=[];const a=ai(e);if(void 0===e)return r;if("object"!==a)return r=r.concat([new to("light",e,`object expected, ${a} found`)]),r;for(const s in e){const t=s.match(/^(.*)-transition$/);r=t&&i[t[1]]&&i[t[1]].transition?r.concat(Mo({key:s,value:e[s],valueSpec:n.transition,style:o,styleSpec:n})):i[s]?r.concat(Mo({key:s,value:e[s],valueSpec:i[s],style:o,styleSpec:n})):r.concat([new to(s,e[s],`unknown property "${s}"`)])}return r}function Eo(t){const e=t.value,n=t.key,i=t.style,o=t.styleSpec,r=o.terrain;let a=[];const s=ai(e);if(void 0===e)return a;if("object"!==s)return a=a.concat([new to("terrain",e,`object expected, ${s} found`)]),a;for(const l in e){const t=l.match(/^(.*)-transition$/);a=t&&r[t[1]]&&r[t[1]].transition?a.concat(Mo({key:l,value:e[l],valueSpec:o.transition,style:i,styleSpec:o})):r[l]?a.concat(Mo({key:l,value:e[l],valueSpec:r[l],style:i,styleSpec:o})):a.concat([new to(l,e[l],`unknown property "${l}"`)])}if(e.source){const t=i.sources&&i.sources[e.source],o=t&&io(t.type);t?"raster-dem"!==o&&a.push(new to(n,e.source,`terrain cannot be used with a source of type ${o}, it only be used with a "raster-dem" source type`)):a.push(new to(n,e.source,`source "${e.source}" not found`))}else a.push(new to(n,e,'terrain is missing required property "source"'));return a}function Oo(t){const e=t.value,n=t.style,i=t.styleSpec,o=i.fog;let r=[];const a=ai(e);if(void 0===e)return r;if("object"!==a)return r=r.concat([new to("fog",e,`object expected, ${a} found`)]),r;for(const s in e){const t=s.match(/^(.*)-transition$/);r=t&&o[t[1]]&&o[t[1]].transition?r.concat(Mo({key:s,value:e[s],valueSpec:i.transition,style:n,styleSpec:i})):o[s]?r.concat(Mo({key:s,value:e[s],valueSpec:o[s],style:n,styleSpec:i})):r.concat([new to(s,e[s],`unknown property "${s}"`)])}return r}function So(t){return 0===_o(t).length?[]:co(t)}function xo(t){return 0===_o(t).length?[]:co(t)}const Po={"*"(){return[]},array:ao,boolean:uo,number:so,color:ho,constants:no,enum:po,filter:fo,function:lo,layer:Ao,object:ro,source:Co,light:wo,terrain:Eo,fog:Oo,string:_o,formatted:So,resolvedImage:xo};function Mo(t){const e=t.value,n=t.valueSpec,i=t.styleSpec;if(n.expression&&si(io(e)))return lo(t);if(n.expression&&yi(oo(e)))return co(t);if(n.type&&Po[n.type])return Po[n.type](t);{const e=ro(At({},t,{valueSpec:n.type?i[n.type]:n}));return e}}function To(t){const e=t.value,n=t.key,i=_o(t);return i.length||(-1===e.indexOf("{fontstack}")&&i.push(new to(n,e,'"glyphs" url must include a "{fontstack}" token')),-1===e.indexOf("{range}")&&i.push(new to(n,e,'"glyphs" url must include a "{range}" token'))),i}function Ro(t,e=q){let n=[];return n=n.concat(Mo({key:"",value:t,valueSpec:e.$root,styleSpec:e,style:t,objectElementValidators:{glyphs:To,"*"(){return[]}}})),t.constants&&(n=n.concat(no({key:"constants",value:t.constants,style:t,styleSpec:e}))),jo(n)}function jo(t){return[].concat(t).sort((t,e)=>t.line-e.line)}function ko(t){return function(...e){return jo(t.apply(this,e))}}Ro.source=ko(Co),Ro.light=ko(wo),Ro.terrain=ko(Eo),Ro.fog=ko(Oo),Ro.layer=ko(Ao),Ro.filter=ko(fo),Ro.paintProperty=ko(yo),Ro.layoutProperty=ko(vo);var Lo=X((function(t,e){var n=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,12],n=[1,13],i=[1,9],o=[1,10],r=[1,11],a=[1,14],s=[1,15],l=[14,18,22,24],c=[18,22],u=[22,24],h={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(t,e,n,i,o,r,a){var s=r.length-1;switch(o){case 1:this.$=new String(t.replace(/\\(\\|")/g,"$1").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\v/g,"\v").replace(/\\f/g,"\f").replace(/\\b/g,"\b")),this.$.__line__=this._$.first_line;break;case 2:this.$=new Number(t),this.$.__line__=this._$.first_line;break;case 3:this.$=null;break;case 4:this.$=new Boolean(!0),this.$.__line__=this._$.first_line;break;case 5:this.$=new Boolean(!1),this.$.__line__=this._$.first_line;break;case 6:return this.$=r[s-1];case 13:this.$={},Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 14:case 19:this.$=r[s-1],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 15:this.$=[r[s-2],r[s]];break;case 16:this.$={},this.$[r[s][0]]=r[s][1];break;case 17:this.$=r[s-2],r[s-2][r[s][0]]=r[s][1];break;case 18:this.$=[],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 20:this.$=[r[s]];break;case 21:this.$=r[s-2],r[s-2].push(r[s]);break}},table:[{3:5,4:e,5:6,6:n,7:3,8:i,9:4,10:o,11:r,12:1,13:2,15:7,16:8,17:a,23:s},{1:[3]},{14:[1,16]},t(l,[2,7]),t(l,[2,8]),t(l,[2,9]),t(l,[2,10]),t(l,[2,11]),t(l,[2,12]),t(l,[2,3]),t(l,[2,4]),t(l,[2,5]),t([14,18,21,22,24],[2,1]),t(l,[2,2]),{3:20,4:e,18:[1,17],19:18,20:19},{3:5,4:e,5:6,6:n,7:3,8:i,9:4,10:o,11:r,13:23,15:7,16:8,17:a,23:s,24:[1,21],25:22},{1:[2,6]},t(l,[2,13]),{18:[1,24],22:[1,25]},t(c,[2,16]),{21:[1,26]},t(l,[2,18]),{22:[1,28],24:[1,27]},t(u,[2,20]),t(l,[2,14]),{3:20,4:e,20:29},{3:5,4:e,5:6,6:n,7:3,8:i,9:4,10:o,11:r,13:30,15:7,16:8,17:a,23:s},t(l,[2,19]),{3:5,4:e,5:6,6:n,7:3,8:i,9:4,10:o,11:r,13:31,15:7,16:8,17:a,23:s},t(c,[2,17]),t(c,[2,15]),t(u,[2,21])],defaultActions:{16:[2,6]},parseError:function(t,e){if(!e.recoverable)throw new Error(t);this.trace(t)},parse:function(t){var e=this,n=[0],i=[null],o=[],r=this.table,a="",s=0,l=0,c=2,u=1,h=o.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(p.yy[f]=this.yy[f]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,"undefined"==typeof d.yylloc&&(d.yylloc={});var g=d.yylloc;o.push(g);var m=d.options&&d.options.ranges;function y(){var t;return t=d.lex()||u,"number"!==typeof t&&(t=e.symbols_[t]||t),t}"function"===typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;var v,A,_,b,C,I,w,E,O={};while(1){if(A=n[n.length-1],this.defaultActions[A]?_=this.defaultActions[A]:(null!==v&&"undefined"!=typeof v||(v=y()),_=r[A]&&r[A][v]),"undefined"===typeof _||!_.length||!_[0]){var S="";for(C in E=[],r[A])this.terminals_[C]&&C>c&&E.push("'"+this.terminals_[C]+"'");S=d.showPosition?"Parse error on line "+(s+1)+":\n"+d.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(s+1)+": Unexpected "+(v==u?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[v]||v,line:d.yylineno,loc:g,expected:E})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+v);switch(_[0]){case 1:n.push(v),i.push(d.yytext),o.push(d.yylloc),n.push(_[1]),v=null,l=d.yyleng,a=d.yytext,s=d.yylineno,g=d.yylloc;break;case 2:if(I=this.productions_[_[1]][1],O.$=i[i.length-I],O._$={first_line:o[o.length-(I||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(I||1)].first_column,last_column:o[o.length-1].last_column},m&&(O._$.range=[o[o.length-(I||1)].range[0],o[o.length-1].range[1]]),b=this.performAction.apply(O,[a,l,s,p.yy,_[1],i,o].concat(h)),"undefined"!==typeof b)return b;I&&(n=n.slice(0,-1*I*2),i=i.slice(0,-1*I),o=o.slice(0,-1*I)),n.push(this.productions_[_[1]][0]),i.push(O.$),o.push(O._$),w=r[n[n.length-2]][n[n.length-1]],n.push(w);break;case 3:return!0}}return!0}},d=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=t.match(/(?:\r\n?|\n).*/g);return e?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,o;if(this.options.backtrack_lexer&&(o={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(o.yylloc.range=this.yylloc.range.slice(0))),i=t[0].match(/(?:\r\n?|\n).*/g),i&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in o)this[r]=o[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(t=this.test_match(n,o[r]),!1!==t)return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?(t=this.test_match(e,o[i]),!1!==t&&t):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){var t=this.conditionStack.length-1;return t>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions["INITIAL"].rules},topState:function(t){return t=this.conditionStack.length-1-Math.abs(t||0),t>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,i){switch(n){case 0:break;case 1:return 6;case 2:return e.yytext=e.yytext.substr(1,e.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},rules:[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return t}();function p(){this.yy={}}return h.lexer=d,p.prototype=h,h.Parser=p,new p}();"undefined"!==typeof Z&&(e.parser=n,e.Parser=n.Parser,e.parse=function(){return n.parse.apply(n,arguments)})}));function Go(t){if(t instanceof String||"string"===typeof t||t instanceof i)try{return Lo.parse(t.toString())}catch(e){throw new eo(e)}return t}function No(t,e=q){let n=t;try{n=Go(n)}catch(i){return[i]}return Ro(n,e)}new Set(["vector","raster","raster-dem"]);const Do={StyleExpression:mi,isExpression:yi,isExpressionFilter:Ui,createExpression:vi,createPropertyExpression:bi,normalizePropertyExpression:Ii,ZoomConstantExpression:Ai,ZoomDependentExpression:_i,StylePropertyFunction:Ci},Fo={convertFunction:xi,createFunction:ci,isFunction:si};No.parsed=No,No.latest=No}).call(this,n("c8ba"),n("b639").Buffer)},"3e6b":function(t,e,n){"use strict";var i=n("ae50"),o=n("dbba"),r=n("137e"),a=n("e8b8"),s=n("496f"),l=n("399c"),c=n("a896"),u=n("0af5"),h=n("cd7e"),d=n("30d1"),p=n("9f5e"),f=n("256f"),g=n("1300"),m=n("a568"),y=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),v=function(t){function e(e){var n=t.call(this,e)||this;return n.boundHandleStyleImageChange_=n.handleStyleImageChange_.bind(n),n.animatingOrInteracting_,n.dirty_=!1,n.hitDetectionImageData_=null,n.renderedFeatures_=null,n.renderedRevision_=-1,n.renderedResolution_=NaN,n.renderedExtent_=Object(u["j"])(),n.wrappedRenderedExtent_=Object(u["j"])(),n.renderedRotation_,n.renderedCenter_=null,n.renderedProjection_=null,n.renderedRenderOrder_=null,n.replayGroup_=null,n.replayGroupChanged=!0,n.declutterExecutorGroup=null,n.clipping=!0,n}return y(e,t),e.prototype.useContainer=function(e,n,i){i<1&&(e=null),t.prototype.useContainer.call(this,e,n,i)},e.prototype.renderWorlds=function(t,e,n){var i=e.extent,o=e.viewState,r=o.center,a=o.resolution,l=o.projection,c=o.rotation,h=l.getExtent(),d=this.getLayer().getSource(),p=e.pixelRatio,f=e.viewHints,g=!(f[s["a"].ANIMATING]||f[s["a"].INTERACTING]),m=this.context,y=Math.round(e.size[0]*p),v=Math.round(e.size[1]*p),A=d.getWrapX()&&l.canWrapX(),_=A?Object(u["D"])(h):null,b=A?Math.ceil((i[2]-h[2])/_)+1:1,C=A?Math.floor((i[0]-h[0])/_):0;do{var I=this.getRenderTransform(r,a,c,p,y,v,C*_);t.execute(m,1,I,c,g,void 0,n)}while(++Cm[2])++A,_=v*A,d.push(this.getRenderTransform(i,o,r,l["a"],p,f,_).slice()),y-=v}this.hitDetectionImageData_=Object(l["b"])(n,d,this.renderedFeatures_,h.getStyleFunction(),s,o,r)}e(Object(l["c"])(t,this.renderedFeatures_,this.hitDetectionImageData_))}.bind(this))},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,i,o){var r=this;if(this.replayGroup_){var a,s=e.viewState.resolution,l=e.viewState.rotation,c=this.getLayer(),u={},h=function(t,e,n){var r=Object(g["c"])(t),a=u[r];if(a){if(!0!==a&&nS[0]&&M[2]>S[2]&&O.push([M[0]-x,M[1],M[2]-x,M[3]])}if(!this.dirty_&&this.renderedResolution_==v&&this.renderedRevision_==_&&this.renderedRenderOrder_==C&&Object(u["g"])(this.wrappedRenderedExtent_,w))return Object(p["b"])(this.renderedExtent_,E)||(this.hitDetectionImageData_=null,this.renderedExtent_=E),this.renderedCenter_=I,this.replayGroupChanged=!1,!0;this.replayGroup_=null,this.dirty_=!1;var T,R=new o["a"](Object(d["c"])(v,A),w,v,A);this.getLayer().getDeclutter()&&(T=new o["a"](Object(d["c"])(v,A),w,v,A));var j,k=Object(f["o"])();if(k){for(var L=0,G=O.length;L0}}else if(t.type==o["a"].POINTERDOWN){var i=this.handleDownEvent(t);this.handlingDownUpSequence=i,e=this.stopDown(i)}else t.type==o["a"].POINTERMOVE&&this.handleMoveEvent(t);return!e},e.prototype.handleMoveEvent=function(t){},e.prototype.handleUpEvent=function(t){return!1},e.prototype.stopDown=function(t){return t},e.prototype.updateTrackedPointers_=function(t){if(c(t)){var e=t.originalEvent,n=e.pointerId.toString();t.type==o["a"].POINTERUP?delete this.trackedPointers_[n]:(t.type==o["a"].POINTERDOWN||n in this.trackedPointers_)&&(this.trackedPointers_[n]=e),this.targetPointers=Object(r["c"])(this.trackedPointers_)}},e}(i["a"]);function l(t){for(var e=t.length,n=0,i=0,o=0;o/g,">").replace(/"/g,""").replace(/'/g,"'")}var o=n("1020"),r=n.n(o);function a(t){return Boolean(t||""===t)}const s={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!r.a.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,i(this.code);let t={};return this.autoDetect?(t=r.a.highlightAuto(this.code),this.detectedLanguage=t.language):(t=r.a.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),t.value},autoDetect(){return!this.language||a(this.autodetect)},ignoreIllegals(){return!0}},render(t){return t("pre",{},[t("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};e["a"]={install(t){t.component("highlightjs",s)},component:s}},"47e4":function(t,e,n){"use strict";var i=n("521b"),o=n("f623"),r=n("7a09"),a=n("9abc"),s=n("9769"),l=n("0af5"),c=n("abb7"),u=n("1c48"),h=n("9f5e"),d=n("bb6c"),p=n("b1a2"),f=n("c560"),g=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),m=function(t){function e(e,n,i){var o=t.call(this)||this;if(o.ends_=[],o.maxDelta_=-1,o.maxDeltaRevision_=-1,Array.isArray(e[0]))o.setCoordinates(e,n);else if(void 0!==n&&i)o.setFlatCoordinates(n,e),o.ends_=i;else{for(var r=o.getLayout(),a=e,s=[],l=[],c=0,u=a.length;c0}function r(t,e,n,i,r){for(var a=void 0!==r&&r,s=0,l=n.length;su(t)).join("");return e}function p(t){const e=(t,{after:e})=>{const n="",end:""},s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(t,n)=>{const i=t[0].length+t.index,o=t.input[i];"<"!==o?">"===o&&(e(t,{after:i})||n.ignoreMatch()):n.ignoreMatch()}},l={$pattern:n,keyword:i,literal:o,built_in:c},u="[0-9](_?[0-9])*",p=`\\.(${u})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",g={className:"number",variants:[{begin:`(\\b(${f})((${p})|\\.)?|(${p}))[eE][+-]?(${u})\\b`},{begin:`\\b(${f})\\b((${p})\\b|\\.)?|(${p})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},m={className:"subst",begin:"\\$\\{",end:"\\}",keywords:l,contains:[]},y={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,m],subLanguage:"xml"}},v={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,m],subLanguage:"css"}},A={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,m]},_=t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),b={className:"comment",variants:[_,t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},C=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,y,v,A,g,t.REGEXP_MODE];m.contains=C.concat({begin:/\{/,end:/\}/,keywords:l,contains:["self"].concat(C)});const I=[].concat(b,m.contains),w=I.concat([{begin:/\(/,end:/\)/,keywords:l,contains:["self"].concat(I)}]),E={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:w};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:l,exports:{PARAMS_CONTAINS:w},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,y,v,A,b,g,{begin:d(/[{,\n]\s*/,h(d(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,r+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:r+h("\\s*:"),relevance:0}]},{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[b,t.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:w}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:a.begin,end:a.end},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:l,contains:["self",t.inherit(t.TITLE_MODE,{begin:r}),E],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[E,t.inherit(t.TITLE_MODE,{begin:r})]},{variants:[{begin:"\\."+r},{begin:"\\$"+r}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},t.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{begin:r}),"self",E]},{begin:"(get|set)\\s+(?="+r+"\\()",end:/\{/,keywords:"get set",contains:[t.inherit(t.TITLE_MODE,{begin:r}),{begin:/\(\)/},E]},{begin:/\$[(.]/}]}}t.exports=p},"4ede":function(t,e,n){},"509b":function(t,e,n){"use strict";var i=n("7238"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=function(t){function e(e,n,i,o,r){var a=t.call(this,e,n,r)||this;return a.originalEvent=i,a.pixel_=null,a.coordinate_=null,a.dragging=void 0!==o&&o,a}return o(e,t),Object.defineProperty(e.prototype,"pixel",{get:function(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_},set:function(t){this.pixel_=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"coordinate",{get:function(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_},set:function(t){this.coordinate_=t},enumerable:!1,configurable:!0}),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this),"preventDefault"in this.originalEvent&&this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){t.prototype.stopPropagation.call(this),"stopPropagation"in this.originalEvent&&this.originalEvent.stopPropagation()},e}(i["a"]);e["a"]=r},"521b":function(t,e,n){"use strict";e["a"]={XY:"XY",XYZ:"XYZ",XYM:"XYM",XYZM:"XYZM"}},5564:function(t,e,n){"use strict";var i=n("e269"),o=n("df4c"),r=n("1300"),a=n("92fa"),s=n("38f3"),l=n("7fc9"),c=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),u=function(t){function e(e){var n=t.call(this)||this;n.on,n.once,n.un;var i=Object(s["a"])({},e);return"object"===typeof e.properties&&(delete i.properties,Object(s["a"])(i,e.properties)),i[o["a"].OPACITY]=void 0!==e.opacity?e.opacity:1,Object(a["a"])("number"===typeof i[o["a"].OPACITY],64),i[o["a"].VISIBLE]=void 0===e.visible||e.visible,i[o["a"].Z_INDEX]=e.zIndex,i[o["a"].MAX_RESOLUTION]=void 0!==e.maxResolution?e.maxResolution:1/0,i[o["a"].MIN_RESOLUTION]=void 0!==e.minResolution?e.minResolution:0,i[o["a"].MIN_ZOOM]=void 0!==e.minZoom?e.minZoom:-1/0,i[o["a"].MAX_ZOOM]=void 0!==e.maxZoom?e.maxZoom:1/0,n.className_=void 0!==i.className?e.className:"ol-layer",delete i.className,n.setProperties(i),n.state_=null,n}return c(e,t),e.prototype.getClassName=function(){return this.className_},e.prototype.getLayerState=function(t){var e=this.state_||{layer:this,managed:void 0===t||t},n=this.getZIndex();return e.opacity=Object(l["a"])(Math.round(100*this.getOpacity())/100,0,1),e.sourceState=this.getSourceState(),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=void 0!==n||e.managed?n:1/0,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e},e.prototype.getLayersArray=function(t){return Object(r["b"])()},e.prototype.getLayerStatesArray=function(t){return Object(r["b"])()},e.prototype.getExtent=function(){return this.get(o["a"].EXTENT)},e.prototype.getMaxResolution=function(){return this.get(o["a"].MAX_RESOLUTION)},e.prototype.getMinResolution=function(){return this.get(o["a"].MIN_RESOLUTION)},e.prototype.getMinZoom=function(){return this.get(o["a"].MIN_ZOOM)},e.prototype.getMaxZoom=function(){return this.get(o["a"].MAX_ZOOM)},e.prototype.getOpacity=function(){return this.get(o["a"].OPACITY)},e.prototype.getSourceState=function(){return Object(r["b"])()},e.prototype.getVisible=function(){return this.get(o["a"].VISIBLE)},e.prototype.getZIndex=function(){return this.get(o["a"].Z_INDEX)},e.prototype.setExtent=function(t){this.set(o["a"].EXTENT,t)},e.prototype.setMaxResolution=function(t){this.set(o["a"].MAX_RESOLUTION,t)},e.prototype.setMinResolution=function(t){this.set(o["a"].MIN_RESOLUTION,t)},e.prototype.setMaxZoom=function(t){this.set(o["a"].MAX_ZOOM,t)},e.prototype.setMinZoom=function(t){this.set(o["a"].MIN_ZOOM,t)},e.prototype.setOpacity=function(t){Object(a["a"])("number"===typeof t,64),this.set(o["a"].OPACITY,t)},e.prototype.setVisible=function(t){this.set(o["a"].VISIBLE,t)},e.prototype.setZIndex=function(t){this.set(o["a"].Z_INDEX,t)},e.prototype.disposeInternal=function(){this.state_&&(this.state_.layer=null,this.state_=null),t.prototype.disposeInternal.call(this)},e}(i["a"]);e["a"]=u},"567c":function(t,e,n){},"57cb":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return s}));var i=n("9f5e");function o(){return!0}function r(){return!1}function a(){}function s(t){var e,n,o,r=!1;return function(){var a=Array.prototype.slice.call(arguments);return r&&this===o&&Object(i["b"])(a,n)||(r=!0,o=this,n=a,e=t.apply(this,arguments)),e}}},5831:function(t,e,n){"use strict";var i=n("e300"),o=n("183a"),r=n("cef7"),a=n("01d4"),s=n("7b4f"),l=n("4a7d"),c=n("ff80"),u=n("6d83"),h=n("a43f"),d=n("57cb");n("256f");function p(t,e){return[[-1/0,-1/0,1/0,1/0]]}var f=n("92fa"),g=n("0af5"),m=n("9f5e"),y=n("1300"),v=n("38f3"),A=n("1e8d"),_=n("6d8f"),b=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),C=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.feature=n,o.features=i,o}return b(e,t),e}(r["a"]),I=function(t){function e(e){var n=this,o=e||{};n=t.call(this,{attributions:o.attributions,projection:void 0,state:u["a"].READY,wrapX:void 0===o.wrapX||o.wrapX})||this,n.on,n.once,n.un,n.loader_=d["c"],n.format_=o.format,n.overlaps_=void 0===o.overlaps||o.overlaps,n.url_=o.url,void 0!==o.loader?n.loader_=o.loader:void 0!==n.url_&&(Object(f["a"])(n.format_,7),n.loader_=Object(_["b"])(n.url_,n.format_)),n.strategy_=void 0!==o.strategy?o.strategy:p;var r,a,s=void 0===o.useSpatialIndex||o.useSpatialIndex;return n.featuresRtree_=s?new l["a"]:null,n.loadedExtentsRtree_=new l["a"],n.loadingExtentsCount_=0,n.nullGeometryFeatures_={},n.idIndex_={},n.uidIndex_={},n.featureChangeKeys_={},n.featuresCollection_=null,Array.isArray(o.features)?a=o.features:o.features&&(r=o.features,a=r.getArray()),s||void 0!==r||(r=new i["a"](a)),void 0!==a&&n.addFeaturesInternal(a),void 0!==r&&n.bindFeaturesCollection_(r),n}return b(e,t),e.prototype.addFeature=function(t){this.addFeatureInternal(t),this.changed()},e.prototype.addFeatureInternal=function(t){var e=Object(y["c"])(t);if(this.addToIndex_(e,t)){this.setupChangeEvents_(e,t);var n=t.getGeometry();if(n){var i=n.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(i,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new C(h["a"].ADDFEATURE,t))}else this.featuresCollection_&&this.featuresCollection_.remove(t)},e.prototype.setupChangeEvents_=function(t,e){this.featureChangeKeys_[t]=[Object(A["a"])(e,a["a"].CHANGE,this.handleFeatureChange_,this),Object(A["a"])(e,s["a"].PROPERTYCHANGE,this.handleFeatureChange_,this)]},e.prototype.addToIndex_=function(t,e){var n=!0,i=e.getId();return void 0!==i&&(i.toString()in this.idIndex_?n=!1:this.idIndex_[i.toString()]=e),n&&(Object(f["a"])(!(t in this.uidIndex_),30),this.uidIndex_[t]=e),n},e.prototype.addFeatures=function(t){this.addFeaturesInternal(t),this.changed()},e.prototype.addFeaturesInternal=function(t){for(var e=[],n=[],i=[],o=0,r=t.length;o0},e.prototype.refresh=function(){this.clear(!0),this.loadedExtentsRtree_.clear(),t.prototype.refresh.call(this)},e.prototype.removeLoadedExtent=function(t){var e,n=this.loadedExtentsRtree_;n.forEachInExtent(t,(function(n){if(Object(g["o"])(n.extent,t))return e=n,!0})),e&&n.remove(e)},e.prototype.removeFeature=function(t){var e=Object(y["c"])(t);e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t),this.removeFeatureInternal(t),this.changed()},e.prototype.removeFeatureInternal=function(t){var e=Object(y["c"])(t);this.featureChangeKeys_[e].forEach(A["c"]),delete this.featureChangeKeys_[e];var n=t.getId();void 0!==n&&delete this.idIndex_[n.toString()],delete this.uidIndex_[e],this.dispatchEvent(new C(h["a"].REMOVEFEATURE,t))},e.prototype.removeFromIdIndex_=function(t){var e=!1;for(var n in this.idIndex_)if(this.idIndex_[n]===t){delete this.idIndex_[n],e=!0;break}return e},e.prototype.setLoader=function(t){this.loader_=t},e.prototype.setUrl=function(t){Object(f["a"])(this.format_,7),this.url_=t,this.setLoader(Object(_["b"])(t,this.format_))},e}(c["a"]);e["a"]=I},"592d":function(t,e,n){"use strict";e["a"]={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend"}},5938:function(t,e,n){"use strict";function i(t,e,n,i){for(var o=t[e],r=t[e+1],a=0,s=e+i;s=t){var r=0;for(var a in e)0===(3&r++)&&(delete e[a],--n)}o=h(i),e[i]=o,++n}return o}}();function u(t){return Array.isArray(t)?t:c(t)}function h(t){var e,n,o,s,c;if(a.exec(t)&&(t=l(t)),r.exec(t)){var u=t.length-1,h=void 0;h=u<=4?1:2;var p=4===u||8===u;e=parseInt(t.substr(1+0*h,h),16),n=parseInt(t.substr(1+1*h,h),16),o=parseInt(t.substr(1+2*h,h),16),s=p?parseInt(t.substr(1+3*h,h),16):255,1==h&&(e=(e<<4)+e,n=(n<<4)+n,o=(o<<4)+o,p&&(s=(s<<4)+s)),c=[e,n,o,s/255]}else 0==t.indexOf("rgba(")?(c=t.slice(5,-1).split(",").map(Number),d(c)):0==t.indexOf("rgb(")?(c=t.slice(4,-1).split(",").map(Number),c.push(1),d(c)):Object(i["a"])(!1,14);return c}function d(t){return t[0]=Object(o["a"])(t[0]+.5|0,0,255),t[1]=Object(o["a"])(t[1]+.5|0,0,255),t[2]=Object(o["a"])(t[2]+.5|0,0,255),t[3]=Object(o["a"])(t[3],0,1),t}function p(t){var e=t[0];e!=(0|e)&&(e=e+.5|0);var n=t[1];n!=(0|n)&&(n=n+.5|0);var i=t[2];i!=(0|i)&&(i=i+.5|0);var o=void 0===t[3]?1:t[3];return"rgba("+e+","+n+","+i+","+o+")"}},"5c7d":function(t,e,n){var i,o;(function(r,a){"use strict";i=a,o="function"===typeof i?i.call(e,n,e,t):i,void 0===o||(t.exports=o)})(0,(function(){"use strict";var t=function(){},e="undefined",n=typeof window!==e&&/Trident\/|MSIE /.test(window.navigator.userAgent),i=["trace","debug","info","warn","error"];function o(t,e){var n=t[e];if("function"===typeof n.bind)return n.bind(t);try{return Function.prototype.bind.call(n,t)}catch(i){return function(){return Function.prototype.apply.apply(n,[t,arguments])}}}function r(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(i){return"debug"===i&&(i="log"),typeof console!==e&&("trace"===i&&n?r:void 0!==console[i]?o(console,i):void 0!==console.log?o(console,"log"):t)}function s(e,n){for(var o=0;o=0&&n<=a.levels.SILENT))throw"log.setLevel() called with invalid level: "+n;if(r=n,!1!==i&&u(n),s.call(a,n,t),typeof console===e&&n=0;--w){var E=A[w],O=E.layer;if(O.hasRenderer()&&Object(c["b"])(E,d)&&a.call(l,O)){var S=O.getRenderer(),x=O.getSource();if(S&&x){var P=x.getWrapX()?g:t,M=p.bind(null,E.managed);C[0]=P[0]+m[I][0],C[1]=P[1]+m[I][1],h=S.forEachFeatureAtCoordinate(C,e,n,M,b)}if(h)return h}}if(0!==b.length){var T=1/b.length;return b.forEach((function(t,e){return t.distanceSq+=e*T})),b.sort((function(t,e){return t.distanceSq-e.distanceSq})),b.some((function(t){return h=t.callback(t.feature,t.layer,t.geometry)})),h}},e.prototype.forEachLayerAtPixel=function(t,e,n,i,o){return Object(r["b"])()},e.prototype.hasFeatureAtCoordinate=function(t,e,n,i,r,a){var s=this.forEachFeatureAtCoordinate(t,e,n,i,o["b"],this,r,a);return void 0!==s},e.prototype.getMap=function(){return this.map_},e.prototype.renderFrame=function(t){Object(r["b"])()},e.prototype.scheduleExpireIconCache=function(t){l["a"].canExpireCache()&&t.postRenderFunctions.push(p)},e}(i["a"]);function p(t,e){l["a"].expire()}var f=d,g=n("7b4f"),m=n("3333"),y=n("070d"),v=n("6d83"),A=n("cd7e"),_=n("ddea"),b=n("1e8d"),C=n("0999"),I=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),w=function(t){function e(e){var n=t.call(this,e)||this;n.fontChangeListenerKey_=Object(b["a"])(_["a"],g["a"].PROPERTYCHANGE,e.redrawText.bind(e)),n.element_=document.createElement("div");var i=n.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",n.element_.className=A["e"]+" ol-layers";var o=e.getViewport();return o.insertBefore(n.element_,o.firstChild||null),n.children_=[],n.renderedVisible_=!0,n}return I(e,t),e.prototype.dispatchRenderEvent=function(t,e){var n=this.getMap();if(n.hasListener(t)){var i=new m["a"](t,void 0,e);n.dispatchEvent(i)}},e.prototype.disposeInternal=function(){Object(b["c"])(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),t.prototype.disposeInternal.call(this)},e.prototype.renderFrame=function(t){if(t){this.calculateMatrices2D(t),this.dispatchRenderEvent(y["a"].PRECOMPOSE,t);var e=t.layerStatesArray.sort((function(t,e){return t.zIndex-e.zIndex})),n=t.viewState;this.children_.length=0;for(var i=[],o=null,r=0,a=e.length;r=0;--r)i[r].renderDeclutter(t);Object(C["f"])(this.element_,this.children_),this.dispatchRenderEvent(y["a"].POSTCOMPOSE,t),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(t)}else this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1)},e.prototype.forEachLayerAtPixel=function(t,e,n,i,o){for(var r=e.viewState,a=e.layerStatesArray,s=a.length,l=s-1;l>=0;--l){var u=a[l],h=u.layer;if(h.hasRenderer()&&Object(c["b"])(u,r)&&o(h)){var d=h.getRenderer(),p=d.getDataAtPixel(t,e,n);if(p){var f=i(h,p);if(f)return f}}}},e}(f),E=w,O=n("e269"),S=n("e300"),x=n("183a"),P=n("01d4"),M=n("5564"),T=n("92fa"),R=n("38f3"),j=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),k={LAYERS:"layers"},L=function(t){function e(e){var n=this,i=e||{},o=Object(R["a"])({},i);delete o.layers;var r=i.layers;return n=t.call(this,o)||this,n.on,n.once,n.un,n.layersListenerKeys_=[],n.listenerKeys_={},n.addChangeListener(k.LAYERS,n.handleLayersChanged_),r?Array.isArray(r)?r=new S["a"](r.slice(),{unique:!0}):Object(T["a"])("function"===typeof r.getArray,43):r=new S["a"](void 0,{unique:!0}),n.setLayers(r),n}return j(e,t),e.prototype.handleLayerChange_=function(){this.changed()},e.prototype.handleLayersChanged_=function(){this.layersListenerKeys_.forEach(b["c"]),this.layersListenerKeys_.length=0;var t=this.getLayers();for(var e in this.layersListenerKeys_.push(Object(b["a"])(t,x["a"].ADD,this.handleLayersAdd_,this),Object(b["a"])(t,x["a"].REMOVE,this.handleLayersRemove_,this)),this.listenerKeys_)this.listenerKeys_[e].forEach(b["c"]);Object(R["b"])(this.listenerKeys_);for(var n=t.getArray(),i=0,o=n.length;ithis.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_},e.prototype.disposeInternal=function(){this.relayedListenerKey_&&(Object(b["c"])(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(P["a"].TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(Object(b["c"])(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(b["c"]),this.dragListenerKeys_.length=0,this.element_=null,t.prototype.disposeInternal.call(this)},e}(U["a"]),W=V,Y=n("7238"),q=n("592d"),H={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},X=1/0,Z=function(){function t(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}return t.prototype.clear=function(){this.elements_.length=0,this.priorities_.length=0,Object(R["b"])(this.queuedElements_)},t.prototype.dequeue=function(){var t=this.elements_,e=this.priorities_,n=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));var i=this.keyFunction_(n);return delete this.queuedElements_[i],n},t.prototype.enqueue=function(t){Object(T["a"])(!(this.keyFunction_(t)in this.queuedElements_),31);var e=this.priorityFunction_(t);return e!=X&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)},t.prototype.getCount=function(){return this.elements_.length},t.prototype.getLeftChildIndex_=function(t){return 2*t+1},t.prototype.getRightChildIndex_=function(t){return 2*t+2},t.prototype.getParentIndex_=function(t){return t-1>>1},t.prototype.heapify_=function(){var t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)},t.prototype.isEmpty=function(){return 0===this.elements_.length},t.prototype.isKeyQueued=function(t){return t in this.queuedElements_},t.prototype.isQueued=function(t){return this.isKeyQueued(this.keyFunction_(t))},t.prototype.siftUp_=function(t){var e=this.elements_,n=this.priorities_,i=e.length,o=e[t],r=n[t],a=t;while(t>1){var s=this.getLeftChildIndex_(t),l=this.getRightChildIndex_(t),c=lt){var a=this.getParentIndex_(e);if(!(i[a]>r))break;n[e]=n[a],i[e]=i[a],e=a}n[e]=o,i[e]=r},t.prototype.reprioritize=function(){var t,e,n,i=this.priorityFunction_,o=this.elements_,r=this.priorities_,a=0,s=o.length;for(e=0;e0)i=this.dequeue()[0],o=i.getKey(),n=i.getState(),n!==J["a"].IDLE||o in this.tilesLoadingKeys_||(this.tilesLoadingKeys_[o]=!0,++this.tilesLoading_,++r,i.load())},e}(K),tt=$;function et(t,e,n,i,o){if(!t||!(n in t.wantedTiles))return X;if(!t.wantedTiles[n][e.getKey()])return X;var r=t.viewState.center,a=i[0]-r[0],s=i[1]-r[1];return 65536*Math.log(o)+Math.sqrt(a*a+s*s)/o}var nt=n("a2c7"),it=n("496f"),ot=n("256f"),rt=n("345d"),at=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),st=function(t){function e(e){var n=t.call(this)||this;n.on,n.once,n.un;var i=lt(e);n.boundHandleBrowserEvent_=n.handleBrowserEvent.bind(n),n.maxTilesLoading_=void 0!==e.maxTilesLoading?e.maxTilesLoading:16,n.pixelRatio_=void 0!==e.pixelRatio?e.pixelRatio:B["a"],n.postRenderTimeoutHandle_,n.animationDelayKey_,n.animationDelay_=function(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}.bind(n),n.coordinateToPixelTransform_=Object(a["c"])(),n.pixelToCoordinateTransform_=Object(a["c"])(),n.frameIndex_=0,n.frameState_=null,n.previousExtent_=null,n.viewPropertyListenerKey_=null,n.viewChangeListenerKey_=null,n.layerGroupPropertyListenerKeys_=null,n.viewport_=document.createElement("div"),n.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),n.viewport_.style.position="relative",n.viewport_.style.overflow="hidden",n.viewport_.style.width="100%",n.viewport_.style.height="100%",n.overlayContainer_=document.createElement("div"),n.overlayContainer_.style.position="absolute",n.overlayContainer_.style.zIndex="0",n.overlayContainer_.style.width="100%",n.overlayContainer_.style.height="100%",n.overlayContainer_.style.pointerEvents="none",n.overlayContainer_.className="ol-overlaycontainer",n.viewport_.appendChild(n.overlayContainer_),n.overlayContainerStopEvent_=document.createElement("div"),n.overlayContainerStopEvent_.style.position="absolute",n.overlayContainerStopEvent_.style.zIndex="0",n.overlayContainerStopEvent_.style.width="100%",n.overlayContainerStopEvent_.style.height="100%",n.overlayContainerStopEvent_.style.pointerEvents="none",n.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",n.viewport_.appendChild(n.overlayContainerStopEvent_),n.mapBrowserEventHandler_=null,n.moveTolerance_=e.moveTolerance,n.keyboardEventTarget_=i.keyboardEventTarget,n.keyHandlerKeys_=null,n.controls=i.controls||new S["a"],n.interactions=i.interactions||new S["a"],n.overlays_=i.overlays,n.overlayIdIndex_={},n.renderer_=null,n.handleResize_,n.postRenderFunctions_=[],n.tileQueue_=new tt(n.getTilePriority.bind(n),n.handleTileChange_.bind(n)),n.addChangeListener(H.LAYERGROUP,n.handleLayerGroupChanged_),n.addChangeListener(H.VIEW,n.handleViewChanged_),n.addChangeListener(H.SIZE,n.handleSizeChanged_),n.addChangeListener(H.TARGET,n.handleTargetChanged_),n.setProperties(i.values);var o=n;return!e.view||e.view instanceof nt["a"]||e.view.then((function(t){o.setView(new nt["a"](t))})),n.controls.addEventListener(x["a"].ADD,function(t){t.element.setMap(this)}.bind(n)),n.controls.addEventListener(x["a"].REMOVE,function(t){t.element.setMap(null)}.bind(n)),n.interactions.addEventListener(x["a"].ADD,function(t){t.element.setMap(this)}.bind(n)),n.interactions.addEventListener(x["a"].REMOVE,function(t){t.element.setMap(null)}.bind(n)),n.overlays_.addEventListener(x["a"].ADD,function(t){this.addOverlayInternal_(t.element)}.bind(n)),n.overlays_.addEventListener(x["a"].REMOVE,function(t){var e=t.element,n=e.getId();void 0!==n&&delete this.overlayIdIndex_[n.toString()],t.element.setMap(null)}.bind(n)),n.controls.forEach(function(t){t.setMap(this)}.bind(n)),n.interactions.forEach(function(t){t.setMap(this)}.bind(n)),n.overlays_.forEach(n.addOverlayInternal_.bind(n)),n}return at(e,t),e.prototype.createRenderer=function(){throw new Error("Use a map type that has a createRenderer method")},e.prototype.addControl=function(t){this.getControls().push(t)},e.prototype.addInteraction=function(t){this.getInteractions().push(t)},e.prototype.addLayer=function(t){var e=this.getLayerGroup().getLayers();e.push(t)},e.prototype.addOverlay=function(t){this.getOverlays().push(t)},e.prototype.addOverlayInternal_=function(t){var e=t.getId();void 0!==e&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)},e.prototype.disposeInternal=function(){this.setTarget(null),t.prototype.disposeInternal.call(this)},e.prototype.forEachFeatureAtPixel=function(t,e,n){if(this.frameState_){var i=this.getCoordinateFromPixelInternal(t);n=void 0!==n?n:{};var r=void 0!==n.hitTolerance?n.hitTolerance:0,a=void 0!==n.layerFilter?n.layerFilter:o["b"],s=!1!==n.checkWrapped;return this.renderer_.forEachFeatureAtCoordinate(i,this.frameState_,r,s,e,null,a,null)}},e.prototype.getFeaturesAtPixel=function(t,e){var n=[];return this.forEachFeatureAtPixel(t,(function(t){n.push(t)}),e),n},e.prototype.forEachLayerAtPixel=function(t,e,n){if(this.frameState_){var i=n||{},r=void 0!==i.hitTolerance?i.hitTolerance:0,a=i.layerFilter||o["b"];return this.renderer_.forEachLayerAtPixel(t,this.frameState_,r,e,a)}},e.prototype.hasFeatureAtPixel=function(t,e){if(!this.frameState_)return!1;var n=this.getCoordinateFromPixelInternal(t);e=void 0!==e?e:{};var i=void 0!==e.layerFilter?e.layerFilter:o["b"],r=void 0!==e.hitTolerance?e.hitTolerance:0,a=!1!==e.checkWrapped;return this.renderer_.hasFeatureAtCoordinate(n,this.frameState_,r,a,i,null)},e.prototype.getEventCoordinate=function(t){return this.getCoordinateFromPixel(this.getEventPixel(t))},e.prototype.getEventCoordinateInternal=function(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))},e.prototype.getEventPixel=function(t){var e=this.viewport_.getBoundingClientRect(),n="changedTouches"in t?t.changedTouches[0]:t;return[n.clientX-e.left,n.clientY-e.top]},e.prototype.getTarget=function(){return this.get(H.TARGET)},e.prototype.getTargetElement=function(){var t=this.getTarget();return void 0!==t?"string"===typeof t?document.getElementById(t):t:null},e.prototype.getCoordinateFromPixel=function(t){return Object(ot["p"])(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())},e.prototype.getCoordinateFromPixelInternal=function(t){var e=this.frameState_;return e?Object(a["a"])(e.pixelToCoordinateTransform,t.slice()):null},e.prototype.getControls=function(){return this.controls},e.prototype.getOverlays=function(){return this.overlays_},e.prototype.getOverlayById=function(t){var e=this.overlayIdIndex_[t.toString()];return void 0!==e?e:null},e.prototype.getInteractions=function(){return this.interactions},e.prototype.getLayerGroup=function(){return this.get(H.LAYERGROUP)},e.prototype.setLayers=function(t){var e=this.getLayerGroup();if(t instanceof S["a"])e.setLayers(t);else{var n=e.getLayers();n.clear(),n.extend(t)}},e.prototype.getLayers=function(){var t=this.getLayerGroup().getLayers();return t},e.prototype.getLoading=function(){for(var t=this.getLayerGroup().getLayerStatesArray(),e=0,n=t.length;e=0;s--){var l=a[s];if(l.getMap()===this&&l.getActive()&&this.getTargetElement()){var c=l.handleEvent(t);if(!c||t.propagationStopped)break}}}},e.prototype.handlePostRender=function(){var t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){var n=this.maxTilesLoading_,i=n;if(t){var o=t.viewHints;if(o[it["a"].ANIMATING]||o[it["a"].INTERACTING]){var r=Date.now()-t.time>8;n=r?0:8,i=r?0:2}}e.getTilesLoading()0&&n%(2*Math.PI)!==0?e.animate({rotation:0,duration:this.duration_,easing:dt["b"]}):e.setRotation(0))}},e.prototype.render=function(t){var e=t.frameState;if(e){var n=e.viewState.rotation;if(n!=this.rotation_){var i="rotate("+n+"rad)";if(this.autoHide_){var o=this.element.classList.contains(A["c"]);o||0!==n?o&&0!==n&&this.element.classList.remove(A["c"]):this.element.classList.add(A["c"])}this.label_.style.transform=i}this.rotation_=n}},e}(ht["a"]),gt=ft,mt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),yt=function(t){function e(e){var n=this,i=e||{};n=t.call(this,{element:document.createElement("div"),target:i.target})||this;var o=void 0!==i.className?i.className:"ol-zoom",r=void 0!==i.delta?i.delta:1,a=void 0!==i.zoomInClassName?i.zoomInClassName:o+"-in",s=void 0!==i.zoomOutClassName?i.zoomOutClassName:o+"-out",l=void 0!==i.zoomInLabel?i.zoomInLabel:"+",c=void 0!==i.zoomOutLabel?i.zoomOutLabel:"–",u=void 0!==i.zoomInTipLabel?i.zoomInTipLabel:"Zoom in",h=void 0!==i.zoomOutTipLabel?i.zoomOutTipLabel:"Zoom out",d=document.createElement("button");d.className=a,d.setAttribute("type","button"),d.title=u,d.appendChild("string"===typeof l?document.createTextNode(l):l),d.addEventListener(P["a"].CLICK,n.handleClick_.bind(n,r),!1);var p=document.createElement("button");p.className=s,p.setAttribute("type","button"),p.title=h,p.appendChild("string"===typeof c?document.createTextNode(c):c),p.addEventListener(P["a"].CLICK,n.handleClick_.bind(n,-r),!1);var f=o+" "+A["e"]+" "+A["b"],g=n.element;return g.className=f,g.appendChild(d),g.appendChild(p),n.duration_=void 0!==i.duration?i.duration:250,n}return mt(e,t),e.prototype.handleClick_=function(t,e){e.preventDefault(),this.zoomByDelta_(t)},e.prototype.zoomByDelta_=function(t){var e=this.getMap(),n=e.getView();if(n){var i=n.getZoom();if(void 0!==i){var o=n.getConstrainedZoom(i+t);this.duration_>0?(n.getAnimating()&&n.cancelAnimations(),n.animate({zoom:o,duration:this.duration_,easing:dt["b"]})):n.setZoom(o)}}},e}(ht["a"]),vt=yt;function At(t){var e=t||{},n=new S["a"],i=void 0===e.zoom||e.zoom;i&&n.push(new vt(e.zoomOptions));var o=void 0===e.rotate||e.rotate;o&&n.push(new gt(e.rotateOptions));var r=void 0===e.attribution||e.attribution;return r&&n.push(new ut["a"](e.attributionOptions)),n}var _t=n("3a39"),bt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ct=function(t){function e(e){var n=this;return e=Object(R["a"])({},e),e.controls||(e.controls=At()),e.interactions||(e.interactions=Object(_t["a"])({onFocusOnly:!0})),n=t.call(this,e)||this,n}return bt(e,t),e.prototype.createRenderer=function(){return new E(this)},e}(ct);e["a"]=Ct},"603e":function(t,e,n){},"617d":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"f",(function(){return r})),n.d(e,"d",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"g",(function(){return l})),n.d(e,"c",(function(){return c})),n.d(e,"e",(function(){return u}));var i="undefined"!==typeof navigator&&"undefined"!==typeof navigator.userAgent?navigator.userAgent.toLowerCase():"",o=-1!==i.indexOf("firefox"),r=(-1!==i.indexOf("safari")&&i.indexOf("chrom"),-1!==i.indexOf("webkit")&&-1==i.indexOf("edge")),a=-1!==i.indexOf("macintosh"),s="undefined"!==typeof devicePixelRatio?devicePixelRatio:1,l="undefined"!==typeof WorkerGlobalScope&&"undefined"!==typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,c="undefined"!==typeof Image&&Image.prototype.decode,u=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch(n){}return t}()},6326:function(t,e,n){},6573:function(t,e,n){"use strict";n.d(e,"d",(function(){return o})),n.d(e,"e",(function(){return r})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s}));var i={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},o=[i.FILL],r=[i.STROKE],a=[i.BEGIN_PATH],s=[i.CLOSE_PATH];e["c"]=i},6611:function(t,e,n){"use strict";n.d(e,"b",(function(){return h}));var i=n("01d4"),o=n("8778"),r=n("869f"),a=n("617d"),s=n("0af5"),l=n("1e8d"),c=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),u=function(t){function e(e,n,i,o,a,s){var l=t.call(this,e,n,i,r["a"].IDLE)||this;return l.src_=o,l.image_=new Image,null!==a&&(l.image_.crossOrigin=a),l.unlisten_=null,l.state=r["a"].IDLE,l.imageLoadFunction_=s,l}return c(e,t),e.prototype.getImage=function(){return this.image_},e.prototype.handleImageError_=function(){this.state=r["a"].ERROR,this.unlistenImage_(),this.changed()},e.prototype.handleImageLoad_=function(){void 0===this.resolution&&(this.resolution=Object(s["z"])(this.extent)/this.image_.height),this.state=r["a"].LOADED,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state!=r["a"].IDLE&&this.state!=r["a"].ERROR||(this.state=r["a"].LOADING,this.changed(),this.imageLoadFunction_(this,this.src_),this.unlisten_=h(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.setImage=function(t){this.image_=t,this.resolution=Object(s["z"])(this.extent)/this.image_.height},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e}(o["a"]);function h(t,e,n){var o=t;if(o.src&&a["c"]){var r=o.decode(),s=!0,c=function(){s=!1};return r.then((function(){s&&e()})).catch((function(t){s&&("EncodingError"===t.name&&"Invalid image type."===t.message?e():n())})),c}var u=[Object(l["b"])(o,i["a"].LOAD,e),Object(l["b"])(o,i["a"].ERROR,n)];return function(){u.forEach(l["c"])}}e["a"]=u},"67fd":function(t,e,n){},"6c77":function(t,e,n){"use strict";n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return d}));var i=n("ce2c"),o=n("83a6"),r=n("f623"),a=n("8682"),s=n("92fa"),l=function(){function t(t){var e=t||{};this.geometry_=null,this.geometryFunction_=p,void 0!==e.geometry&&this.setGeometry(e.geometry),this.fill_=void 0!==e.fill?e.fill:null,this.image_=void 0!==e.image?e.image:null,this.renderer_=void 0!==e.renderer?e.renderer:null,this.hitDetectionRenderer_=void 0!==e.hitDetectionRenderer?e.hitDetectionRenderer:null,this.stroke_=void 0!==e.stroke?e.stroke:null,this.text_=void 0!==e.text?e.text:null,this.zIndex_=e.zIndex}return t.prototype.clone=function(){var e=this.getGeometry();return e&&"object"===typeof e&&(e=e.clone()),new t({geometry:e,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,renderer:this.getRenderer(),stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})},t.prototype.getRenderer=function(){return this.renderer_},t.prototype.setRenderer=function(t){this.renderer_=t},t.prototype.setHitDetectionRenderer=function(t){this.hitDetectionRenderer_=t},t.prototype.getHitDetectionRenderer=function(){return this.hitDetectionRenderer_},t.prototype.getGeometry=function(){return this.geometry_},t.prototype.getGeometryFunction=function(){return this.geometryFunction_},t.prototype.getFill=function(){return this.fill_},t.prototype.setFill=function(t){this.fill_=t},t.prototype.getImage=function(){return this.image_},t.prototype.setImage=function(t){this.image_=t},t.prototype.getStroke=function(){return this.stroke_},t.prototype.setStroke=function(t){this.stroke_=t},t.prototype.getText=function(){return this.text_},t.prototype.setText=function(t){this.text_=t},t.prototype.getZIndex=function(){return this.zIndex_},t.prototype.setGeometry=function(t){"function"===typeof t?this.geometryFunction_=t:"string"===typeof t?this.geometryFunction_=function(e){return e.get(t)}:t?void 0!==t&&(this.geometryFunction_=function(){return t}):this.geometryFunction_=p,this.geometry_=t},t.prototype.setZIndex=function(t){this.zIndex_=t},t}();function c(t){var e;if("function"===typeof t)e=t;else{var n;if(Array.isArray(t))n=t;else{Object(s["a"])("function"===typeof t.getZIndex,41);var i=t;n=[i]}e=function(){return n}}return e}var u=null;function h(t,e){if(!u){var n=new o["a"]({color:"rgba(255,255,255,0.4)"}),r=new a["a"]({color:"#3399CC",width:1.25});u=[new l({image:new i["a"]({fill:n,stroke:r,radius:5}),fill:n,stroke:r})]}return u}function d(){var t={},e=[255,255,255,1],n=[0,153,255,1],s=3;return t[r["a"].POLYGON]=[new l({fill:new o["a"]({color:[255,255,255,.5]})})],t[r["a"].MULTI_POLYGON]=t[r["a"].POLYGON],t[r["a"].LINE_STRING]=[new l({stroke:new a["a"]({color:e,width:s+2})}),new l({stroke:new a["a"]({color:n,width:s})})],t[r["a"].MULTI_LINE_STRING]=t[r["a"].LINE_STRING],t[r["a"].CIRCLE]=t[r["a"].POLYGON].concat(t[r["a"].LINE_STRING]),t[r["a"].POINT]=[new l({image:new i["a"]({radius:2*s,fill:new o["a"]({color:n}),stroke:new a["a"]({color:e,width:s/2})}),zIndex:1/0})],t[r["a"].MULTI_POINT]=t[r["a"].POINT],t[r["a"].GEOMETRY_COLLECTION]=t[r["a"].POLYGON].concat(t[r["a"].LINE_STRING],t[r["a"].POINT]),t}function p(t){return t.getGeometry()}e["c"]=l},"6cbf":function(t,e,n){"use strict";var i=n("01d4"),o=n("82b0"),r=n("d202"),a=n("869f"),s=n("ab35"),l=n("5c38"),c=n("92fa"),u=n("0ec0"),h=n("0999"),d=n("3c22"),p=n("6611"),f=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),g=null,m=function(t){function e(e,n,i,o,r,a){var s=t.call(this)||this;return s.hitDetectionImage_=null,s.image_=e||new Image,null!==o&&(s.image_.crossOrigin=o),s.canvas_={},s.color_=a,s.unlisten_=null,s.imageState_=r,s.size_=i,s.src_=n,s.tainted_,s}return f(e,t),e.prototype.isTainted_=function(){if(void 0===this.tainted_&&this.imageState_===a["a"].LOADED){g||(g=Object(h["a"])(1,1)),g.drawImage(this.image_,0,0);try{g.getImageData(0,0,1,1),this.tainted_=!1}catch(t){g=null,this.tainted_=!0}}return!0===this.tainted_},e.prototype.dispatchChangeEvent_=function(){this.dispatchEvent(i["a"].CHANGE)},e.prototype.handleImageError_=function(){this.imageState_=a["a"].ERROR,this.unlistenImage_(),this.dispatchChangeEvent_()},e.prototype.handleImageLoad_=function(){this.imageState_=a["a"].LOADED,this.size_?(this.image_.width=this.size_[0],this.image_.height=this.size_[1]):this.size_=[this.image_.width,this.image_.height],this.unlistenImage_(),this.dispatchChangeEvent_()},e.prototype.getImage=function(t){return this.replaceColor_(t),this.canvas_[t]?this.canvas_[t]:this.image_},e.prototype.getPixelRatio=function(t){return this.replaceColor_(t),this.canvas_[t]?t:1},e.prototype.getImageState=function(){return this.imageState_},e.prototype.getHitDetectionImage=function(){if(!this.hitDetectionImage_)if(this.isTainted_()){var t=this.size_[0],e=this.size_[1],n=Object(h["a"])(t,e);n.fillRect(0,0,t,e),this.hitDetectionImage_=n.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_},e.prototype.getSize=function(){return this.size_},e.prototype.getSrc=function(){return this.src_},e.prototype.load=function(){if(this.imageState_==a["a"].IDLE){this.imageState_=a["a"].LOADING;try{this.image_.src=this.src_}catch(t){this.handleImageError_()}this.unlisten_=Object(p["b"])(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this))}},e.prototype.replaceColor_=function(t){if(this.color_&&!this.canvas_[t]&&this.imageState_===a["a"].LOADED){var e=document.createElement("canvas");this.canvas_[t]=e,e.width=Math.ceil(this.image_.width*t),e.height=Math.ceil(this.image_.height*t);var n=e.getContext("2d");if(n.scale(t,t),n.drawImage(this.image_,0,0),n.globalCompositeOperation="multiply","multiply"===n.globalCompositeOperation||this.isTainted_())n.fillStyle=Object(l["b"])(this.color_),n.fillRect(0,0,e.width/t,e.height/t),n.globalCompositeOperation="destination-in",n.drawImage(this.image_,0,0);else{for(var i=n.getImageData(0,0,e.width,e.height),o=i.data,r=this.color_[0]/255,s=this.color_[1]/255,c=this.color_[2]/255,u=this.color_[3],h=0,d=o.length;h0,6);var m=void 0!==i.src?a["a"].IDLE:a["a"].LOADED;return n.color_=void 0!==i.color?Object(l["a"])(i.color):null,n.iconImage_=y(p,g,f,n.crossOrigin_,m,n.color_),n.offset_=void 0!==i.offset?i.offset:[0,0],n.offsetOrigin_=void 0!==i.offsetOrigin?i.offsetOrigin:r["a"].TOP_LEFT,n.origin_=null,n.size_=void 0!==i.size?i.size:null,n}return A(e,t),e.prototype.clone=function(){var t=this.getScale();return new e({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,crossOrigin:this.crossOrigin_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,src:this.getSrc(),offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,size:null!==this.size_?this.size_.slice():void 0,opacity:this.getOpacity(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView()})},e.prototype.getAnchor=function(){if(this.normalizedAnchor_)return this.normalizedAnchor_;var t=this.anchor_,e=this.getSize();if(this.anchorXUnits_==o["a"].FRACTION||this.anchorYUnits_==o["a"].FRACTION){if(!e)return null;t=this.anchor_.slice(),this.anchorXUnits_==o["a"].FRACTION&&(t[0]*=e[0]),this.anchorYUnits_==o["a"].FRACTION&&(t[1]*=e[1])}if(this.anchorOrigin_!=r["a"].TOP_LEFT){if(!e)return null;t===this.anchor_&&(t=this.anchor_.slice()),this.anchorOrigin_!=r["a"].TOP_RIGHT&&this.anchorOrigin_!=r["a"].BOTTOM_RIGHT||(t[0]=-t[0]+e[0]),this.anchorOrigin_!=r["a"].BOTTOM_LEFT&&this.anchorOrigin_!=r["a"].BOTTOM_RIGHT||(t[1]=-t[1]+e[1])}var n=this.getDisplacement();return t[0]-=n[0],t[1]+=n[1],this.normalizedAnchor_=t,this.normalizedAnchor_},e.prototype.setAnchor=function(t){this.anchor_=t,this.normalizedAnchor_=null},e.prototype.getColor=function(){return this.color_},e.prototype.getImage=function(t){return this.iconImage_.getImage(t)},e.prototype.getPixelRatio=function(t){return this.iconImage_.getPixelRatio(t)},e.prototype.getImageSize=function(){return this.iconImage_.getSize()},e.prototype.getImageState=function(){return this.iconImage_.getImageState()},e.prototype.getHitDetectionImage=function(){return this.iconImage_.getHitDetectionImage()},e.prototype.getOrigin=function(){if(this.origin_)return this.origin_;var t=this.offset_;if(this.offsetOrigin_!=r["a"].TOP_LEFT){var e=this.getSize(),n=this.iconImage_.getSize();if(!e||!n)return null;t=t.slice(),this.offsetOrigin_!=r["a"].TOP_RIGHT&&this.offsetOrigin_!=r["a"].BOTTOM_RIGHT||(t[0]=n[0]-e[0]-t[0]),this.offsetOrigin_!=r["a"].BOTTOM_LEFT&&this.offsetOrigin_!=r["a"].BOTTOM_RIGHT||(t[1]=n[1]-e[1]-t[1])}return this.origin_=t,this.origin_},e.prototype.getSrc=function(){return this.iconImage_.getSrc()},e.prototype.getSize=function(){return this.size_?this.size_:this.iconImage_.getSize()},e.prototype.listenImageChange=function(t){this.iconImage_.addEventListener(i["a"].CHANGE,t)},e.prototype.load=function(){this.iconImage_.load()},e.prototype.unlistenImageChange=function(t){this.iconImage_.removeEventListener(i["a"].CHANGE,t)},e}(s["a"]);e["a"]=_},"6d83":function(t,e,n){"use strict";e["a"]={UNDEFINED:"undefined",LOADING:"loading",READY:"ready",ERROR:"error"}},"6d8f":function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s}));var i=n("1ecb"),o=n("57cb"),r=!1;function a(t,e,n,o,a,s,l){var c=new XMLHttpRequest;c.open("GET","function"===typeof t?t(n,o,a):t,!0),e.getType()==i["a"].ARRAY_BUFFER&&(c.responseType="arraybuffer"),c.withCredentials=r,c.onload=function(t){if(!c.status||c.status>=200&&c.status<300){var o=e.getType(),r=void 0;o==i["a"].JSON||o==i["a"].TEXT?r=c.responseText:o==i["a"].XML?(r=c.responseXML,r||(r=(new DOMParser).parseFromString(c.responseText,"application/xml"))):o==i["a"].ARRAY_BUFFER&&(r=c.response),r?s(e.readFeatures(r,{extent:n,featureProjection:a}),e.readProjection(r)):l()}else l()},c.onerror=l,c.send()}function s(t,e){return function(n,i,r,s,l){var c=this;a(t,e,n,i,r,(function(t,e){c.addFeatures(t),void 0!==s&&s(t)}),l||o["c"])}}},7002:function(t,e,n){},7238:function(t,e,n){"use strict";var i=n("cef7"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.map=n,o.frameState=void 0!==i?i:null,o}return o(e,t),e}(i["a"]);e["a"]=r},"749c":function(t,e){function n(t,e){for(var n in t)e[n]=t[n]}function i(t,e){var i=t.prototype;if(Object.create){var o=Object.create(e.prototype);i.__proto__=o}if(!(i instanceof e)){function r(){}r.prototype=e.prototype,r=new r,n(i,r),t.prototype=i=r}i.constructor!=t&&("function"!=typeof t&&console.error("unknow Class:"+t),i.constructor=t)}var o="http://www.w3.org/1999/xhtml",r={},a=r.ELEMENT_NODE=1,s=r.ATTRIBUTE_NODE=2,l=r.TEXT_NODE=3,c=r.CDATA_SECTION_NODE=4,u=r.ENTITY_REFERENCE_NODE=5,h=r.ENTITY_NODE=6,d=r.PROCESSING_INSTRUCTION_NODE=7,p=r.COMMENT_NODE=8,f=r.DOCUMENT_NODE=9,g=r.DOCUMENT_TYPE_NODE=10,m=r.DOCUMENT_FRAGMENT_NODE=11,y=r.NOTATION_NODE=12,v={},A={},_=(v.INDEX_SIZE_ERR=(A[1]="Index size error",1),v.DOMSTRING_SIZE_ERR=(A[2]="DOMString size error",2),v.HIERARCHY_REQUEST_ERR=(A[3]="Hierarchy request error",3)),b=(v.WRONG_DOCUMENT_ERR=(A[4]="Wrong document",4),v.INVALID_CHARACTER_ERR=(A[5]="Invalid character",5),v.NO_DATA_ALLOWED_ERR=(A[6]="No data allowed",6),v.NO_MODIFICATION_ALLOWED_ERR=(A[7]="No modification allowed",7),v.NOT_FOUND_ERR=(A[8]="Not found",8)),C=(v.NOT_SUPPORTED_ERR=(A[9]="Not supported",9),v.INUSE_ATTRIBUTE_ERR=(A[10]="Attribute in use",10));v.INVALID_STATE_ERR=(A[11]="Invalid state",11),v.SYNTAX_ERR=(A[12]="Syntax error",12),v.INVALID_MODIFICATION_ERR=(A[13]="Invalid modification",13),v.NAMESPACE_ERR=(A[14]="Invalid namespace",14),v.INVALID_ACCESS_ERR=(A[15]="Invalid access",15);function I(t,e){if(e instanceof Error)var n=e;else n=this,Error.call(this,A[t]),this.message=A[t],Error.captureStackTrace&&Error.captureStackTrace(this,I);return n.code=t,e&&(this.message=this.message+": "+e),n}function w(){}function E(t,e){this._node=t,this._refresh=e,O(this)}function O(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!=e){var i=t._refresh(t._node);at(t,"length",i.length),n(i,t),t._inc=e}}function S(){}function x(t,e){var n=t.length;while(n--)if(t[n]===e)return n}function P(t,e,n,i){if(i?e[x(e,i)]=n:e[e.length++]=n,t){n.ownerElement=t;var o=t.ownerDocument;o&&(i&&N(o,t,i),G(o,t,n))}}function M(t,e,n){var i=x(e,n);if(!(i>=0))throw I(b,new Error(t.tagName+"@"+n));var o=e.length-1;while(i"==t&&">")||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function k(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(k(t,e))return!0}while(t=t.nextSibling)}function L(){}function G(t,e,n){t&&t._inc++;var i=n.namespaceURI;"http://www.w3.org/2000/xmlns/"==i&&(e._nsMap[n.prefix?n.localName:""]=n.value)}function N(t,e,n,i){t&&t._inc++;var o=n.namespaceURI;"http://www.w3.org/2000/xmlns/"==o&&delete e._nsMap[n.prefix?n.localName:""]}function D(t,e,n){if(t&&t._inc){t._inc++;var i=e.childNodes;if(n)i[i.length++]=n;else{var o=e.firstChild,r=0;while(o)i[r++]=o,o=o.nextSibling;i.length=r}}}function F(t,e){var n=e.previousSibling,i=e.nextSibling;return n?n.nextSibling=i:t.firstChild=i,i?i.previousSibling=n:t.lastChild=n,D(t.ownerDocument,t),e}function U(t,e,n){var i=e.parentNode;if(i&&i.removeChild(e),e.nodeType===m){var o=e.firstChild;if(null==o)return e;var r=e.lastChild}else o=r=e;var a=n?n.previousSibling:t.lastChild;o.previousSibling=a,r.nextSibling=n,a?a.nextSibling=o:t.firstChild=o,null==n?t.lastChild=r:n.previousSibling=r;do{o.parentNode=t}while(o!==r&&(o=o.nextSibling));return D(t.ownerDocument||t,t),e.nodeType==m&&(e.firstChild=e.lastChild=null),e}function B(t,e){var n=e.parentNode;if(n){var i=t.lastChild;n.removeChild(e);i=t.lastChild}i=t.lastChild;return e.parentNode=t,e.previousSibling=i,e.nextSibling=null,i?i.nextSibling=e:t.firstChild=e,t.lastChild=e,D(t.ownerDocument,t,e),e}function z(){this._nsMap={}}function V(){}function W(){}function Y(){}function q(){}function H(){}function X(){}function Z(){}function K(){}function J(){}function Q(){}function $(){}function tt(){}function et(t,e){var n=[],i=9==this.nodeType?this.documentElement:this,o=i.prefix,r=i.namespaceURI;if(r&&null==o){o=i.lookupPrefix(r);if(null==o)var a=[{namespace:r,prefix:null}]}return it(this,n,t,e,a),n.join("")}function nt(t,e,n){var i=t.prefix||"",o=t.namespaceURI;if(!i&&!o)return!1;if("xml"===i&&"http://www.w3.org/XML/1998/namespace"===o||"http://www.w3.org/2000/xmlns/"==o)return!1;var r=n.length;while(r--){var a=n[r];if(a.prefix==i)return a.namespace!=o}return!0}function it(t,e,n,i,r){if(i){if(t=i(t),!t)return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case a:r||(r=[]);r.length;var h=t.attributes,y=h.length,v=t.firstChild,A=t.tagName;n=o===t.namespaceURI||n,e.push("<",A);for(var _=0;_"),n&&/^script$/i.test(A))while(v)v.data?e.push(v.data):it(v,e,n,i,r),v=v.nextSibling;else while(v)it(v,e,n,i,r),v=v.nextSibling;e.push("")}else e.push("/>");return;case f:case m:v=t.firstChild;while(v)it(v,e,n,i,r),v=v.nextSibling;return;case s:return e.push(" ",t.name,'="',t.value.replace(/[<&"]/g,j),'"');case l:return e.push(t.data.replace(/[<&]/g,j));case c:return e.push("");case p:return e.push("\x3c!--",t.data,"--\x3e");case g:var E=t.publicId,O=t.systemId;if(e.push("');else if(O&&"."!=O)e.push(' SYSTEM "',O,'">');else{var S=t.internalSubset;S&&e.push(" [",S,"]"),e.push(">")}return;case d:return e.push("");case u:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function ot(t,e,n){var i;switch(e.nodeType){case a:i=e.cloneNode(!1),i.ownerDocument=t;case m:break;case s:n=!0;break}if(i||(i=e.cloneNode(!1)),i.ownerDocument=t,i.parentNode=null,n){var o=e.firstChild;while(o)i.appendChild(ot(t,o,n)),o=o.nextSibling}return i}function rt(t,e,n){var i=new e.constructor;for(var o in e){var r=e[o];"object"!=typeof r&&r!=i[o]&&(i[o]=r)}switch(e.childNodes&&(i.childNodes=new w),i.ownerDocument=t,i.nodeType){case a:var l=e.attributes,c=i.attributes=new S,u=l.length;c._ownerElement=i;for(var h=0;h0},lookupPrefix:function(t){var e=this;while(e){var n=e._nsMap;if(n)for(var i in n)if(n[i]==t)return i;e=e.nodeType==s?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){var e=this;while(e){var n=e._nsMap;if(n&&t in n)return n[t];e=e.nodeType==s?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){var e=this.lookupPrefix(t);return null==e}},n(r,R),n(r,R.prototype),L.prototype={nodeName:"#document",nodeType:f,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==m){var n=t.firstChild;while(n){var i=n.nextSibling;this.insertBefore(n,e),n=i}return t}return null==this.documentElement&&t.nodeType==a&&(this.documentElement=t),U(this,t,e),t.ownerDocument=this,t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),F(this,t)},importNode:function(t,e){return ot(this,t,e)},getElementById:function(t){var e=null;return k(this.documentElement,(function(n){if(n.nodeType==a&&n.getAttribute("id")==t)return e=n,!0})),e},createElement:function(t){var e=new z;e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.childNodes=new w;var n=e.attributes=new S;return n._ownerElement=e,e},createDocumentFragment:function(){var t=new Q;return t.ownerDocument=this,t.childNodes=new w,t},createTextNode:function(t){var e=new Y;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new q;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new H;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var n=new $;return n.ownerDocument=this,n.tagName=n.target=t,n.nodeValue=n.data=e,n},createAttribute:function(t){var e=new V;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new J;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var n=new z,i=e.split(":"),o=n.attributes=new S;return n.childNodes=new w,n.ownerDocument=this,n.nodeName=e,n.tagName=e,n.namespaceURI=t,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=e,o._ownerElement=n,n},createAttributeNS:function(t,e){var n=new V,i=e.split(":");return n.ownerDocument=this,n.nodeName=e,n.name=e,n.namespaceURI=t,n.specified=!0,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=e,n}},i(L,R),z.prototype={nodeType:a,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var n=this.ownerDocument.createAttribute(t);n.value=n.nodeValue=""+e,this.setAttributeNode(n)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===m?this.insertBefore(t,null):B(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);n&&this.removeAttributeNode(n)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);return n&&n.value||""},setAttributeNS:function(t,e,n){var i=this.ownerDocument.createAttributeNS(t,e);i.value=i.nodeValue=""+n,this.setAttributeNode(i)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new E(this,(function(e){var n=[];return k(e,(function(i){i===e||i.nodeType!=a||"*"!==t&&i.tagName!=t||n.push(i)})),n}))},getElementsByTagNameNS:function(t,e){return new E(this,(function(n){var i=[];return k(n,(function(o){o===n||o.nodeType!==a||"*"!==t&&o.namespaceURI!==t||"*"!==e&&o.localName!=e||i.push(o)})),i}))}},L.prototype.getElementsByTagName=z.prototype.getElementsByTagName,L.prototype.getElementsByTagNameNS=z.prototype.getElementsByTagNameNS,i(z,R),V.prototype.nodeType=s,i(V,R),W.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(A[_])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,n){var i=this.data.substring(0,t),o=this.data.substring(t+e);n=i+n+o,this.nodeValue=this.data=n,this.length=n.length}},i(W,R),Y.prototype={nodeName:"#text",nodeType:l,splitText:function(t){var e=this.data,n=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var i=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(i,this.nextSibling),i}},i(Y,W),q.prototype={nodeName:"#comment",nodeType:p},i(q,W),H.prototype={nodeName:"#cdata-section",nodeType:c},i(H,W),X.prototype.nodeType=g,i(X,R),Z.prototype.nodeType=y,i(Z,R),K.prototype.nodeType=h,i(K,R),J.prototype.nodeType=u,i(J,R),Q.prototype.nodeName="#document-fragment",Q.prototype.nodeType=m,i(Q,R),$.prototype.nodeType=d,i($,R),tt.prototype.serializeToString=function(t,e,n){return et.call(t,e,n)},R.prototype.toString=et;try{if(Object.defineProperty){function st(t){switch(t.nodeType){case a:case m:var e=[];t=t.firstChild;while(t)7!==t.nodeType&&8!==t.nodeType&&e.push(st(t)),t=t.nextSibling;return e.join("");default:return t.nodeValue}}Object.defineProperty(E.prototype,"length",{get:function(){return O(this),this.$$length}}),Object.defineProperty(R.prototype,"textContent",{get:function(){return st(this)},set:function(t){switch(this.nodeType){case a:case m:while(this.firstChild)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),at=function(t,e,n){t["$$"+e]=n}}}catch(lt){}e.DOMImplementation=T,e.XMLSerializer=tt},"790a":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return c}));var i=n("f623"),o=n("7fc9"),r=6371008.8;function a(t,e,n){var i=n||r,a=Object(o["j"])(t[1]),s=Object(o["j"])(e[1]),l=(s-a)/2,c=Object(o["j"])(e[0]-t[0])/2,u=Math.sin(l)*Math.sin(l)+Math.sin(c)*Math.sin(c)*Math.cos(a)*Math.cos(s);return 2*i*Math.atan2(Math.sqrt(u),Math.sqrt(1-u))}function s(t,e){for(var n=0,i=t.length,r=t[i-1][0],a=t[i-1][1],s=0;s>4,o<128)return h(t,i,e);if(o=r[n.pos++],i|=(127&o)<<3,o<128)return h(t,i,e);if(o=r[n.pos++],i|=(127&o)<<10,o<128)return h(t,i,e);if(o=r[n.pos++],i|=(127&o)<<17,o<128)return h(t,i,e);if(o=r[n.pos++],i|=(127&o)<<24,o<128)return h(t,i,e);if(o=r[n.pos++],i|=(1&o)<<31,o<128)return h(t,i,e);throw new Error("Expected varint not more than 10 bytes")}function u(t){return t.type===o.Bytes?t.readVarint()+t.pos:t.pos+1}function h(t,e,n){return n?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function d(t,e){var n,i;if(t>=0?(n=t%4294967296|0,i=t/4294967296|0):(n=~(-t%4294967296),i=~(-t/4294967296),4294967295^n?n=n+1|0:(n=0,i=i+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),p(n,i,e),f(i,e)}function p(t,e,n){n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos]=127&t}function f(t,e){var n=(7&t)<<4;e.buf[e.pos++]|=n|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))))}function g(t,e,n){var i=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));n.realloc(i);for(var o=n.pos-1;o>=t;o--)n.buf[o+i]=n.buf[o]}function m(t,e){for(var n=0;n>>8,t[n+2]=e>>>16,t[n+3]=e>>>24}function S(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}function x(t,e,n){var i="",o=e;while(o239?4:l>223?3:l>191?2:1;if(o+u>n)break;1===u?l<128&&(c=l):2===u?(r=t[o+1],128===(192&r)&&(c=(31&l)<<6|63&r,c<=127&&(c=null))):3===u?(r=t[o+1],a=t[o+2],128===(192&r)&&128===(192&a)&&(c=(15&l)<<12|(63&r)<<6|63&a,(c<=2047||c>=55296&&c<=57343)&&(c=null))):4===u&&(r=t[o+1],a=t[o+2],s=t[o+3],128===(192&r)&&128===(192&a)&&128===(192&s)&&(c=(15&l)<<18|(63&r)<<12|(63&a)<<6|63&s,(c<=65535||c>=1114112)&&(c=null))),null===c?(c=65533,u=1):c>65535&&(c-=65536,i+=String.fromCharCode(c>>>10&1023|55296),c=56320|1023&c),i+=String.fromCharCode(c),o+=u}return i}function P(t,e,n){return l.decode(t.subarray(e,n))}function M(t,e,n){for(var i,o,r=0;r55295&&i<57344){if(!o){i>56319||r+1===e.length?(t[n++]=239,t[n++]=191,t[n++]=189):o=i;continue}if(i<56320){t[n++]=239,t[n++]=191,t[n++]=189,o=i;continue}i=o-55296<<10|i-56320|65536,o=null}else o&&(t[n++]=239,t[n++]=191,t[n++]=189,o=null);i<128?t[n++]=i:(i<2048?t[n++]=i>>6|192:(i<65536?t[n++]=i>>12|224:(t[n++]=i>>18|240,t[n++]=i>>12&63|128),t[n++]=i>>6&63|128),t[n++]=63&i|128)}return n}o.prototype={destroy:function(){this.buf=null},readFields:function(t,e,n){n=n||this.length;while(this.pos>3,r=this.pos;this.type=7&i,t(o,e,this),this.pos===r&&this.skip(i)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=E(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=S(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=E(this.buf,this.pos)+E(this.buf,this.pos+4)*r;return this.pos+=8,t},readSFixed64:function(){var t=E(this.buf,this.pos)+S(this.buf,this.pos+4)*r;return this.pos+=8,t},readFloat:function(){var t=i.read(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=i.read(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,n,i=this.buf;return n=i[this.pos++],e=127&n,n<128?e:(n=i[this.pos++],e|=(127&n)<<7,n<128?e:(n=i[this.pos++],e|=(127&n)<<14,n<128?e:(n=i[this.pos++],e|=(127&n)<<21,n<128?e:(n=i[this.pos],e|=(15&n)<<28,c(e,t,this)))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2===1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=s&&l?P(this.buf,e,t):x(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==o.Bytes)return t.push(this.readVarint(e));var n=u(this);t=t||[];while(this.pos127);else if(e===o.Bytes)this.pos=this.readVarint()+this.pos;else if(e===o.Fixed32)this.pos+=4;else{if(e!==o.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){var e=this.length||16;while(e268435455||t<0?d(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=M(this.buf,t,this.pos);var n=this.pos-e;n>=128&&g(e,n,this),this.pos=e-1,this.writeVarint(n),this.pos+=n},writeFloat:function(t){this.realloc(4),i.write(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),i.write(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var n=0;n=128&&g(n,i,this),this.pos=n-1,this.writeVarint(i),this.pos+=i},writeMessage:function(t,e,n){this.writeTag(t,o.Bytes),this.writeRawMessage(e,n)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,m,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,y,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,_,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,v,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,A,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,b,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,C,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,I,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,w,e)},writeBytesField:function(t,e){this.writeTag(t,o.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,o.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,o.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,o.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,o.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,o.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,o.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,o.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,o.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,o.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}}},"7a09":function(t,e,n){"use strict";var i=n("521b"),o=n("f623"),r=n("9abc"),a=n("9769"),s=n("0af5"),l=n("abb7"),c=n("1c48"),u=n("9f5e"),h=n("fd4d"),d=n("bb6c"),p=n("b1a2"),f=n("c560"),g=n("5938"),m=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),y=function(t){function e(e,n){var i=t.call(this)||this;return i.flatMidpoint_=null,i.flatMidpointRevision_=-1,i.maxDelta_=-1,i.maxDeltaRevision_=-1,void 0===n||Array.isArray(e[0])?i.setCoordinates(e,n):i.setFlatCoordinates(n,e),i}return m(e,t),e.prototype.appendCoordinate=function(t){this.flatCoordinates?Object(u["c"])(this.flatCoordinates,t):this.flatCoordinates=t.slice(),this.changed()},e.prototype.clone=function(){var t=new e(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t},e.prototype.closestPointXY=function(t,e,n,i){return i1?(n=o,i=r):c>0&&(n+=a*c,i+=l*c)}return s(t,e,n,i)}function s(t,e,n,i){var o=n-t,r=i-e;return o*o+r*r}function l(t){for(var e=t.length,n=0;no&&(o=a,i=r)}if(0===o)return null;var s=t[i];t[i]=t[n],t[n]=s;for(var l=n+1;l=0;d--){h[d]=t[d][e]/t[d][d];for(var p=d-1;p>=0;p--)t[p][e]-=t[p][d]*h[d]}return h}function c(t){return 180*t/Math.PI}function u(t){return t*Math.PI/180}function h(t,e){var n=t%e;return n*e<0?n+e:n}function d(t,e,n){return t+n*(e-t)}},"81f6":function(t,e,n){},8295:function(t,e,n){"use strict";var i=n("83a6"),o=n("29f6"),r=n("345d"),a="#333",s=function(){function t(t){var e=t||{};this.font_=e.font,this.rotation_=e.rotation,this.rotateWithView_=e.rotateWithView,this.scale_=e.scale,this.scaleArray_=Object(r["d"])(void 0!==e.scale?e.scale:1),this.text_=e.text,this.textAlign_=e.textAlign,this.textBaseline_=e.textBaseline,this.fill_=void 0!==e.fill?e.fill:new i["a"]({color:a}),this.maxAngle_=void 0!==e.maxAngle?e.maxAngle:Math.PI/4,this.placement_=void 0!==e.placement?e.placement:o["a"].POINT,this.overflow_=!!e.overflow,this.stroke_=void 0!==e.stroke?e.stroke:null,this.offsetX_=void 0!==e.offsetX?e.offsetX:0,this.offsetY_=void 0!==e.offsetY?e.offsetY:0,this.backgroundFill_=e.backgroundFill?e.backgroundFill:null,this.backgroundStroke_=e.backgroundStroke?e.backgroundStroke:null,this.padding_=void 0===e.padding?null:e.padding}return t.prototype.clone=function(){var e=this.getScale();return new t({font:this.getFont(),placement:this.getPlacement(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,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,padding:this.getPadding()})},t.prototype.getOverflow=function(){return this.overflow_},t.prototype.getFont=function(){return this.font_},t.prototype.getMaxAngle=function(){return this.maxAngle_},t.prototype.getPlacement=function(){return this.placement_},t.prototype.getOffsetX=function(){return this.offsetX_},t.prototype.getOffsetY=function(){return this.offsetY_},t.prototype.getFill=function(){return this.fill_},t.prototype.getRotateWithView=function(){return this.rotateWithView_},t.prototype.getRotation=function(){return this.rotation_},t.prototype.getScale=function(){return this.scale_},t.prototype.getScaleArray=function(){return this.scaleArray_},t.prototype.getStroke=function(){return this.stroke_},t.prototype.getText=function(){return this.text_},t.prototype.getTextAlign=function(){return this.textAlign_},t.prototype.getTextBaseline=function(){return this.textBaseline_},t.prototype.getBackgroundFill=function(){return this.backgroundFill_},t.prototype.getBackgroundStroke=function(){return this.backgroundStroke_},t.prototype.getPadding=function(){return this.padding_},t.prototype.setOverflow=function(t){this.overflow_=t},t.prototype.setFont=function(t){this.font_=t},t.prototype.setMaxAngle=function(t){this.maxAngle_=t},t.prototype.setOffsetX=function(t){this.offsetX_=t},t.prototype.setOffsetY=function(t){this.offsetY_=t},t.prototype.setPlacement=function(t){this.placement_=t},t.prototype.setRotateWithView=function(t){this.rotateWithView_=t},t.prototype.setFill=function(t){this.fill_=t},t.prototype.setRotation=function(t){this.rotation_=t},t.prototype.setScale=function(t){this.scale_=t,this.scaleArray_=Object(r["d"])(void 0!==t?t:1)},t.prototype.setStroke=function(t){this.stroke_=t},t.prototype.setText=function(t){this.text_=t},t.prototype.setTextAlign=function(t){this.textAlign_=t},t.prototype.setTextBaseline=function(t){this.textBaseline_=t},t.prototype.setBackgroundFill=function(t){this.backgroundFill_=t},t.prototype.setBackgroundStroke=function(t){this.backgroundStroke_=t},t.prototype.setPadding=function(t){this.padding_=t},t}();e["a"]=s},"82b0":function(t,e,n){"use strict";e["a"]={FRACTION:"fraction",PIXELS:"pixels"}},"835b":function(t,e,n){"use strict";var i=n("1300"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=function(t){function e(e){var n=this,o="latest"===i["a"]?i["a"]:"v"+i["a"].split("-")[0],r="Assertion failed. See https://openlayers.org/en/"+o+"/doc/errors/#"+e+" for details.";return n=t.call(this,r)||this,n.code=e,n.name="AssertionError",n.message=r,n}return o(e,t),e}(Error);e["a"]=r},"83a6":function(t,e,n){"use strict";var i=function(){function t(t){var e=t||{};this.color_=void 0!==e.color?e.color:null}return t.prototype.clone=function(){var e=this.getColor();return new t({color:Array.isArray(e)?e.slice():e||void 0})},t.prototype.getColor=function(){return this.color_},t.prototype.setColor=function(t){this.color_=t},t}();e["a"]=i},"85ff":function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=i(n("9eff"));o.default.polyfill();var r=i(n("893d"));e.default=r.default},8682:function(t,e,n){"use strict";var i=function(){function t(t){var e=t||{};this.color_=void 0!==e.color?e.color:null,this.lineCap_=e.lineCap,this.lineDash_=void 0!==e.lineDash?e.lineDash:null,this.lineDashOffset_=e.lineDashOffset,this.lineJoin_=e.lineJoin,this.miterLimit_=e.miterLimit,this.width_=e.width}return t.prototype.clone=function(){var e=this.getColor();return new t({color:Array.isArray(e)?e.slice():e||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})},t.prototype.getColor=function(){return this.color_},t.prototype.getLineCap=function(){return this.lineCap_},t.prototype.getLineDash=function(){return this.lineDash_},t.prototype.getLineDashOffset=function(){return this.lineDashOffset_},t.prototype.getLineJoin=function(){return this.lineJoin_},t.prototype.getMiterLimit=function(){return this.miterLimit_},t.prototype.getWidth=function(){return this.width_},t.prototype.setColor=function(t){this.color_=t},t.prototype.setLineCap=function(t){this.lineCap_=t},t.prototype.setLineDash=function(t){this.lineDash_=t},t.prototype.setLineDashOffset=function(t){this.lineDashOffset_=t},t.prototype.setLineJoin=function(t){this.lineJoin_=t},t.prototype.setMiterLimit=function(t){this.miterLimit_=t},t.prototype.setWidth=function(t){this.width_=t},t}();e["a"]=i},"869f":function(t,e,n){"use strict";e["a"]={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},8778:function(t,e,n){"use strict";var i=n("0ec0"),o=n("01d4"),r=n("1300"),a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(t){function e(e,n,i,o){var r=t.call(this)||this;return r.extent=e,r.pixelRatio_=i,r.resolution=n,r.state=o,r}return a(e,t),e.prototype.changed=function(){this.dispatchEvent(o["a"].CHANGE)},e.prototype.getExtent=function(){return this.extent},e.prototype.getImage=function(){return Object(r["b"])()},e.prototype.getPixelRatio=function(){return this.pixelRatio_},e.prototype.getResolution=function(){return this.resolution},e.prototype.getState=function(){return this.state},e.prototype.load=function(){Object(r["b"])()},e}(i["a"]);e["a"]=s},"88da":function(t,e,n){"use strict";var i=n("521b"),o=n("f623"),r=n("9a44"),a=n("5bc3"),s=n("9abc"),l=n("9769"),c=n("0af5"),u=n("abb7"),h=n("9f5e"),d=n("0a9d"),p=n("bb6c"),f=n("c560"),g=n("4d98"),m=n("b589"),y=n("9159"),v=n("25f1"),A=n("1c48"),_=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),b=function(t){function e(e,n,i){var o=t.call(this)||this;if(o.endss_=[],o.flatInteriorPointsRevision_=-1,o.flatInteriorPoints_=null,o.maxDelta_=-1,o.maxDeltaRevision_=-1,o.orientedRevision_=-1,o.orientedFlatCoordinates_=null,!i&&!Array.isArray(e[0])){for(var r=o.getLayout(),a=e,s=[],l=[],c=0,u=a.length;c-1)&&((!t.stringifyArguments||"boolean"===typeof t.stringifyArguments)&&((!t.showLogLevel||"boolean"===typeof t.showLogLevel)&&((!t.showConsoleColors||"boolean"===typeof t.showConsoleColors)&&((!t.separator||!("string"!==typeof t.separator||"string"===typeof t.separator&&t.separator.length>3))&&("boolean"===typeof t.isEnabled&&!(t.showMethodName&&"boolean"!==typeof t.showMethodName))))))},t.prototype.getMethodName=function(){var t={};try{throw new Error("")}catch(n){t=n}if(void 0===t.stack)return"";var e=t.stack.split("\n")[3];return/ /.test(e)&&(e=e.trim().split(" ")[1]),e&&e.indexOf(".")>-1&&(e=e.split(".")[1]),e},t.prototype.initLoggerInstance=function(t,e){var n=this,i={};return e.forEach((function(o){e.indexOf(o)>=e.indexOf(t.logLevel)&&t.isEnabled?i[o]=function(){for(var e=[],i=0;i3?i.splice(3,i.length-1):[],"undefined"!=typeof this.listeners[t]?this.listeners[t].push({scope:n,callback:e,args:i}):this.listeners[t]=[{scope:n,callback:e,args:i}]},removeEventListener:function(t,e,n){if("undefined"!=typeof this.listeners[t]){for(var i=this.listeners[t].length,o=[],r=0;r0;for(var o=0;o2?i.splice(2,i.length-1):[],i=[n].concat(i),"undefined"!=typeof this.listeners[t]){var a=this.listeners[t].slice(),s=a.length;for(r=0;r=0&&(e=t.slice(i),t=t.slice(0,i));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function P(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var M=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},T=K,R=N,j=D,k=B,L=Z,G=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function N(t,e){var n,i=[],o=0,r=0,a="",s=e&&e.delimiter||"/";while(null!=(n=G.exec(t))){var l=n[0],c=n[1],u=n.index;if(a+=t.slice(r,u),r=u+l.length,c)a+=c[1];else{var h=t[r],d=n[2],p=n[3],f=n[4],g=n[5],m=n[6],y=n[7];a&&(i.push(a),a="");var v=null!=d&&null!=h&&h!==d,A="+"===m||"*"===m,_="?"===m||"*"===m,b=n[2]||s,C=f||g;i.push({name:p||o++,prefix:d||"",delimiter:b,optional:_,repeat:A,partial:v,asterisk:!!y,pattern:C?V(C):y?".*":"[^"+z(b)+"]+?"})}}return r1||!w.length)return 0===w.length?t():t("span",{},w)}if("a"===this.tag)I.on=C,I.attrs={href:l,"aria-current":v};else{var E=at(this.$slots.default);if(E){E.isStatic=!1;var O=E.data=i({},E.data);for(var S in O.on=O.on||{},O.on){var x=O.on[S];S in C&&(O.on[S]=Array.isArray(x)?x:[x])}for(var P in C)P in O.on?O.on[P].push(C[P]):O.on[P]=_;var M=E.data.attrs=i({},E.data.attrs);M.href=l,M["aria-current"]=v}else I.on=C}return t(this.tag,I,this.$slots.default)}};function rt(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function at(t){if(t)for(var e,n=0;n-1&&(s.params[h]=n.params[h]);return s.path=Q(c.path,s.params,'named route "'+l+'"'),d(c,s,a)}if(s.path){s.params={};for(var p=0;p-1}function qt(t,e){return Yt(t)&&t._isRouter&&(null==e||t.type===e)}function Ht(t,e,n){var i=function(o){o>=t.length?n():t[o]?e(t[o],(function(){i(o+1)})):i(o+1)};i(0)}function Xt(t){return function(e,n,i){var o=!1,r=0,a=null;Zt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){o=!0,r++;var l,c=$t((function(e){Qt(e)&&(e=e.default),t.resolved="function"===typeof e?e:tt.extend(e),n.components[s]=e,r--,r<=0&&i()})),u=$t((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Yt(t)?t:new Error(e),i(a))}));try{l=t(c,u)}catch(d){u(d)}if(l)if("function"===typeof l.then)l.then(c,u);else{var h=l.component;h&&"function"===typeof h.then&&h.then(c,u)}}})),o||i()}}function Zt(t,e){return Kt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Kt(t){return Array.prototype.concat.apply([],t)}var Jt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Qt(t){return t.__esModule||Jt&&"Module"===t[Symbol.toStringTag]}function $t(t){var e=!1;return function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var te=function(t,e){this.router=t,this.base=ee(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ee(t){if(!t)if(lt){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ne(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,i=kt&&n;i&&this.listeners.push(Ct());var o=function(){var n=t.current,o=he(t.base);t.current===m&&o===t._startLocation||t.transitionTo(o,(function(t){i&&It(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var i=this,o=this,r=o.current;this.transitionTo(t,(function(t){Lt(P(i.base+t.fullPath)),It(i.router,t,r,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,o=this,r=o.current;this.transitionTo(t,(function(t){Gt(P(i.base+t.fullPath)),It(i.router,t,r,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(he(this.base)!==this.current.fullPath){var e=P(this.base+this.current.fullPath);t?Lt(e):Gt(e)}},e.prototype.getCurrentLocation=function(){return he(this.base)},e}(te);function he(t){var e=window.location.pathname,n=e.toLowerCase(),i=t.toLowerCase();return!t||n!==i&&0!==n.indexOf(P(i+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var de=function(t){function e(e,n,i){t.call(this,e,n),i&&pe(this.base)||fe()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,i=kt&&n;i&&this.listeners.push(Ct());var o=function(){var e=t.current;fe()&&t.transitionTo(ge(),(function(n){i&&It(t.router,n,e,!0),kt||ve(n.fullPath)}))},r=kt?"popstate":"hashchange";window.addEventListener(r,o),this.listeners.push((function(){window.removeEventListener(r,o)}))}},e.prototype.push=function(t,e,n){var i=this,o=this,r=o.current;this.transitionTo(t,(function(t){ye(t.fullPath),It(i.router,t,r,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,o=this,r=o.current;this.transitionTo(t,(function(t){ve(t.fullPath),It(i.router,t,r,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ge()!==e&&(t?ye(e):ve(e))},e.prototype.getCurrentLocation=function(){return ge()},e}(te);function pe(t){var e=he(t);if(!/^\/#/.test(e))return window.location.replace(P(t+"/#"+e)),!0}function fe(){var t=ge();return"/"===t.charAt(0)||(ve("/"+t),!1)}function ge(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function me(t){var e=window.location.href,n=e.indexOf("#"),i=n>=0?e.slice(0,n):e;return i+"#"+t}function ye(t){kt?Lt(me(t)):window.location.hash=t}function ve(t){kt?Gt(me(t)):window.location.replace(me(t))}var Ae=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var t=e.current;e.index=n,e.updateRoute(i),e.router.afterHooks.forEach((function(e){e&&e(i,t)}))}),(function(t){qt(t,Nt.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(te),_e=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=pt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!kt&&!1!==t.fallback,this.fallback&&(e="hash"),lt||(e="abstract"),this.mode=e,e){case"history":this.history=new ue(this,t.base);break;case"hash":this.history=new de(this,t.base,this.fallback);break;case"abstract":this.history=new Ae(this,t.base);break;default:0}},be={currentRoute:{configurable:!0}};_e.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},be.currentRoute.get=function(){return this.history&&this.history.current},_e.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof ue||n instanceof de){var i=function(t){var i=n.current,o=e.options.scrollBehavior,r=kt&&o;r&&"fullPath"in t&&It(e,t,i,!1)},o=function(t){n.setupListeners(),i(t)};n.transitionTo(n.getCurrentLocation(),o,o)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},_e.prototype.beforeEach=function(t){return Ie(this.beforeHooks,t)},_e.prototype.beforeResolve=function(t){return Ie(this.resolveHooks,t)},_e.prototype.afterEach=function(t){return Ie(this.afterHooks,t)},_e.prototype.onReady=function(t,e){this.history.onReady(t,e)},_e.prototype.onError=function(t){this.history.onError(t)},_e.prototype.push=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.push(t,e,n)}));this.history.push(t,e,n)},_e.prototype.replace=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.replace(t,e,n)}));this.history.replace(t,e,n)},_e.prototype.go=function(t){this.history.go(t)},_e.prototype.back=function(){this.go(-1)},_e.prototype.forward=function(){this.go(1)},_e.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},_e.prototype.resolve=function(t,e,n){e=e||this.history.current;var i=$(t,e,n,this),o=this.match(i,e),r=o.redirectedFrom||o.fullPath,a=this.history.base,s=we(a,r,this.mode);return{location:i,route:o,href:s,normalizedTo:i,resolved:o}},_e.prototype.getRoutes=function(){return this.matcher.getRoutes()},_e.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},_e.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(_e.prototype,be);var Ce=_e;function Ie(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function we(t,e,n){var i="hash"===n?"#"+e:e;return t?P(t+"/"+i):i}_e.install=st,_e.version="3.6.5",_e.isNavigationFailure=qt,_e.NavigationFailureType=Nt,_e.START_LOCATION=m,lt&&window.Vue&&window.Vue.use(_e)},"8cc5":function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return r})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s}));var i=n("7fc9");function o(t){return void 0!==t?0:void 0}function r(t){return void 0!==t?t:void 0}function a(t){var e=2*Math.PI/t;return function(t,n){return n?t:void 0!==t?(t=Math.floor(t/e+.5)*e,t):void 0}}function s(t){var e=t||Object(i["j"])(5);return function(t,n){return n?t:void 0!==t?Math.abs(t)<=e?0:t:void 0}}},"8e35":function(t,e,n){},"8f37":function(t,e,n){"use strict";var i=n("e269"),o=n("fced"),r=n("1300"),a=n("a896"),s=n("0af5"),l=n("256f"),c=n("57cb"),u=n("bef8"),h=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),d=Object(a["c"])(),p=function(t){function e(){var e=t.call(this)||this;return e.extent_=Object(s["j"])(),e.extentRevision_=-1,e.simplifiedGeometryMaxMinSquaredTolerance=0,e.simplifiedGeometryRevision=0,e.simplifyTransformedInternal=Object(c["d"])((function(t,e,n){if(!n)return this.getSimplifiedGeometry(e);var i=this.clone();return i.applyTransform(n),i.getSimplifiedGeometry(e)})),e}return h(e,t),e.prototype.simplifyTransformed=function(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)},e.prototype.clone=function(){return Object(r["b"])()},e.prototype.closestPointXY=function(t,e,n,i){return Object(r["b"])()},e.prototype.containsXY=function(t,e){var n=this.getClosestPoint([t,e]);return n[0]===t&&n[1]===e},e.prototype.getClosestPoint=function(t,e){var n=e||[NaN,NaN];return this.closestPointXY(t[0],t[1],n,1/0),n},e.prototype.intersectsCoordinate=function(t){return this.containsXY(t[0],t[1])},e.prototype.computeExtent=function(t){return Object(r["b"])()},e.prototype.getExtent=function(t){if(this.extentRevision_!=this.getRevision()){var e=this.computeExtent(this.extent_);(isNaN(e[0])||isNaN(e[1]))&&Object(s["l"])(e),this.extentRevision_=this.getRevision()}return Object(s["H"])(this.extent_,t)},e.prototype.rotate=function(t,e){Object(r["b"])()},e.prototype.scale=function(t,e,n){Object(r["b"])()},e.prototype.simplify=function(t){return this.getSimplifiedGeometry(t*t)},e.prototype.getSimplifiedGeometry=function(t){return Object(r["b"])()},e.prototype.getType=function(){return Object(r["b"])()},e.prototype.applyTransform=function(t){Object(r["b"])()},e.prototype.intersectsExtent=function(t){return Object(r["b"])()},e.prototype.translate=function(t,e){Object(r["b"])()},e.prototype.transform=function(t,e){var n=Object(l["k"])(t),i=n.getUnits()==o["b"].TILE_PIXELS?function(t,i,o){var r=n.getExtent(),c=n.getWorldExtent(),h=Object(s["z"])(c)/Object(s["z"])(r);return Object(a["b"])(d,c[0],c[3],h,-h,0,0,0),Object(u["c"])(t,0,t.length,o,d,i),Object(l["m"])(n,e)(t,i,o)}:Object(l["m"])(n,e);return this.applyTransform(i),this},e}(i["a"]);e["a"]=p},"8f9c":function(t,e,n){},9152:function(t,e){ +/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ +e.read=function(t,e,n,i,o){var r,a,s=8*o-i-1,l=(1<>1,u=-7,h=n?o-1:0,d=n?-1:1,p=t[e+h];for(h+=d,r=p&(1<<-u)-1,p>>=-u,u+=s;u>0;r=256*r+t[e+h],h+=d,u-=8);for(a=r&(1<<-u)-1,r>>=-u,u+=i;u>0;a=256*a+t[e+h],h+=d,u-=8);if(0===r)r=1-c;else{if(r===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,i),r-=c}return(p?-1:1)*a*Math.pow(2,r-i)},e.write=function(t,e,n,i,o,r){var a,s,l,c=8*r-o-1,u=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:r-1,f=i?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),e+=a+h>=1?d/l:d*Math.pow(2,1-h),e*l>=2&&(a++,l/=2),a+h>=u?(s=0,a=u):a+h>=1?(s=(e*l-1)*Math.pow(2,o),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,o),a=0));o>=8;t[n+p]=255&s,p+=f,s/=256,o-=8);for(a=a<0;t[n+p]=255&a,p+=f,a/=256,c-=8);t[n+p-f]|=128*g}},9159:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("0af5");function o(t,e,n,o){for(var r=[],a=Object(i["j"])(),s=0,l=n.length;s1)l=n;else{if(p>0){for(var f=0;fr&&(r=u),a=l,s=c}return r}function a(t,e,n,i,o){for(var a=0,s=n.length;a>1),r=+a(t[i],e),r<0?s=i+1:(l=i,c=!r);return c?s:~s}function o(t,e){return t>e?1:t=0}function a(t,e,n){var i=t.length;if(t[0]<=e)return 0;if(e<=t[i-1])return i-1;var o=void 0;if(n>0){for(o=1;o0?o-1:o:t[o-1]-e>>0,o=0;o0||n&&0===r)}))}n.d(e,"a",(function(){return i})),n.d(e,"i",(function(){return o})),n.d(e,"f",(function(){return r})),n.d(e,"h",(function(){return a})),n.d(e,"j",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"e",(function(){return h})),n.d(e,"g",(function(){return d}))},a18f:function(t,e,n){"use strict";(function(n){var i=function(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof n)return n;throw new Error("unable to locate global object")},o=i();t.exports=e=o.fetch,o.fetch&&(e.default=o.fetch.bind(o)),e.Headers=o.Headers,e.Request=o.Request,e.Response=o.Response}).call(this,n("c8ba"))},a2c7:function(t,e,n){"use strict";var i=n("e269"),o=n("f623"),r=n("fced"),a=n("496f"),s={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"},l=n("0414"),c=n("256f"),u=n("57cb"),h=n("a568"),d=n("92fa"),p=n("38f3"),f=n("7fc9");function g(t,e,n){return function(i,o,r,a,s){if(i){var l=e?0:r[0]*o,c=e?0:r[1]*o,u=s?s[0]:0,h=s?s[1]:0,d=t[0]+l/2+u,p=t[2]-l/2+u,g=t[1]+c/2+h,m=t[3]-c/2+h;d>p&&(d=(p+d)/2,p=d),g>m&&(g=(m+g)/2,m=g);var y=Object(f["a"])(i[0],d,p),v=Object(f["a"])(i[1],g,m),A=30*o;return a&&n&&(y+=-A*Math.log(1+Math.max(0,d-i[0])/A)+A*Math.log(1+Math.max(0,i[0]-p)/A),v+=-A*Math.log(1+Math.max(0,g-i[1])/A)+A*Math.log(1+Math.max(0,i[1]-m)/A)),[y,v]}}}function m(t){return t}var y=n("0af5"),v=n("9f5e");function A(t,e,n,i){var o=Object(y["D"])(e)/n[0],r=Object(y["z"])(e)/n[1];return i?Math.min(t,Math.max(o,r)):Math.min(t,Math.min(o,r))}function _(t,e,n){var i=Math.min(t,e),o=50;return i*=Math.log(1+o*Math.max(0,t/e-1))/o+1,n&&(i=Math.max(i,n),i/=Math.log(1+o*Math.max(0,n/t-1))/o+1),Object(f["a"])(i,n/2,2*e)}function b(t,e,n,i){return function(o,r,a,s){if(void 0!==o){var l=t[0],c=t[t.length-1],u=n?A(l,n,a,i):l;if(s){var h=void 0===e||e;return h?_(o,u,c):Object(f["a"])(o,c,u)}var d=Math.min(u,o),p=Math.floor(Object(v["h"])(t,d,r));return t[p]>u&&p1&&"function"===typeof arguments[n-1]&&(e=arguments[n-1],--n);for(var i=0;i0},e.prototype.getInteracting=function(){return this.hints_[a["a"].INTERACTING]>0},e.prototype.cancelAnimations=function(){var t;this.setHint(a["a"].ANIMATING,-this.hints_[a["a"].ANIMATING]);for(var e=0,n=this.animations_.length;e=0;--n){for(var i=this.animations_[n],o=!0,r=0,s=i.length;r0?c/l.duration:1;u>=1?(l.complete=!0,u=1):o=!1;var h=l.easing(u);if(l.sourceCenter){var d=l.sourceCenter[0],p=l.sourceCenter[1],g=l.targetCenter[0],m=l.targetCenter[1];this.nextCenter_=l.targetCenter;var y=d+h*(g-d),v=p+h*(m-p);this.targetCenter_=[y,v]}if(l.sourceResolution&&l.targetResolution){var A=1===h?l.targetResolution:l.sourceResolution+h*(l.targetResolution-l.sourceResolution);if(l.anchor){var _=this.getViewportSize_(this.getRotation()),b=this.constraints_.resolution(A,0,_,!0);this.targetCenter_=this.calculateCenterZoom(b,l.anchor)}this.nextResolution_=l.targetResolution,this.targetResolution_=A,this.applyTargetState_(!0)}if(void 0!==l.sourceRotation&&void 0!==l.targetRotation){var C=1===h?Object(f["e"])(l.targetRotation+Math.PI,2*Math.PI)-Math.PI:l.sourceRotation+h*(l.targetRotation-l.sourceRotation);if(l.anchor){var I=this.constraints_.rotation(C,!0);this.targetCenter_=this.calculateCenterRotate(I,l.anchor)}this.nextRotation_=l.targetRotation,this.targetRotation_=C}if(this.applyTargetState_(!0),e=!0,!l.complete)break}}if(o){this.animations_[n]=null,this.setHint(a["a"].ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;var w=i[0].callback;w&&M(w,!0)}}this.animations_=this.animations_.filter(Boolean),e&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}},e.prototype.calculateCenterRotate=function(t,e){var n,i=this.getCenterInternal();return void 0!==i&&(n=[i[0]-e[0],i[1]-e[1]],Object(h["f"])(n,t-this.getRotation()),Object(h["a"])(n,e)),n},e.prototype.calculateCenterZoom=function(t,e){var n,i=this.getCenterInternal(),o=this.getResolution();if(void 0!==i&&void 0!==o){var r=e[0]-t*(e[0]-i[0])/o,a=e[1]-t*(e[1]-i[1])/o;n=[r,a]}return n},e.prototype.getViewportSize_=function(t){var e=this.viewportSize_;if(t){var n=e[0],i=e[1];return[Math.abs(n*Math.cos(t))+Math.abs(i*Math.sin(t)),Math.abs(n*Math.sin(t))+Math.abs(i*Math.cos(t))]}return e},e.prototype.setViewportSize=function(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)},e.prototype.getCenter=function(){var t=this.getCenterInternal();return t?Object(c["p"])(t,this.getProjection()):t},e.prototype.getCenterInternal=function(){return this.get(s.CENTER)},e.prototype.getConstraints=function(){return this.constraints_},e.prototype.getConstrainResolution=function(){return this.options_.constrainResolution},e.prototype.getHints=function(t){return void 0!==t?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()},e.prototype.calculateExtent=function(t){var e=this.calculateExtentInternal(t);return Object(c["q"])(e,this.getProjection())},e.prototype.calculateExtentInternal=function(t){var e=t||this.getViewportSizeMinusPadding_(),n=this.getCenterInternal();Object(d["a"])(n,1);var i=this.getResolution();Object(d["a"])(void 0!==i,2);var o=this.getRotation();return Object(d["a"])(void 0!==o,3),Object(y["y"])(n,i,o,e)},e.prototype.getMaxResolution=function(){return this.maxResolution_},e.prototype.getMinResolution=function(){return this.minResolution_},e.prototype.getMaxZoom=function(){return this.getZoomForResolution(this.minResolution_)},e.prototype.setMaxZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))},e.prototype.getMinZoom=function(){return this.getZoomForResolution(this.maxResolution_)},e.prototype.setMinZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))},e.prototype.setConstrainResolution=function(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))},e.prototype.getProjection=function(){return this.projection_},e.prototype.getResolution=function(){return this.get(s.RESOLUTION)},e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getResolutionForExtent=function(t,e){return this.getResolutionForExtentInternal(Object(c["i"])(t,this.getProjection()),e)},e.prototype.getResolutionForExtentInternal=function(t,e){var n=e||this.getViewportSizeMinusPadding_(),i=Object(y["D"])(t)/n[0],o=Object(y["z"])(t)/n[1];return Math.max(i,o)},e.prototype.getResolutionForValueFunction=function(t){var e=t||2,n=this.getConstrainedResolution(this.maxResolution_),i=this.minResolution_,o=Math.log(n/i)/Math.log(e);return function(t){var i=n/Math.pow(e,t*o);return i}},e.prototype.getRotation=function(){return this.get(s.ROTATION)},e.prototype.getValueForResolutionFunction=function(t){var e=Math.log(t||2),n=this.getConstrainedResolution(this.maxResolution_),i=this.minResolution_,o=Math.log(n/i)/e;return function(t){var i=Math.log(n/t)/e/o;return i}},e.prototype.getViewportSizeMinusPadding_=function(t){var e=this.getViewportSize_(t),n=this.padding_;return n&&(e=[e[0]-n[1]-n[3],e[1]-n[0]-n[2]]),e},e.prototype.getState=function(){var t=this.getProjection(),e=this.getResolution(),n=this.getRotation(),i=this.getCenterInternal(),o=this.padding_;if(o){var r=this.getViewportSizeMinusPadding_();i=L(i,this.getViewportSize_(),[r[0]/2+o[3],r[1]/2+o[0]],e,n)}return{center:i.slice(0),projection:void 0!==t?t:null,resolution:e,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:n,zoom:this.getZoom()}},e.prototype.getZoom=function(){var t,e=this.getResolution();return void 0!==e&&(t=this.getZoomForResolution(e)),t},e.prototype.getZoomForResolution=function(t){var e,n,i=this.minZoom_||0;if(this.resolutions_){var o=Object(v["h"])(this.resolutions_,t,1);i=o,e=this.resolutions_[o],n=o==this.resolutions_.length-1?2:e/this.resolutions_[o+1]}else e=this.maxResolution_,n=this.zoomFactor_;return i+Math.log(e/t)/Math.log(n)},e.prototype.getResolutionForZoom=function(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;var e=Object(f["a"])(Math.floor(t),0,this.resolutions_.length-2),n=this.resolutions_[e]/this.resolutions_[e+1];return this.resolutions_[e]/Math.pow(n,Object(f["a"])(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)},e.prototype.fit=function(t,e){var n;if(Object(d["a"])(Array.isArray(t)||"function"===typeof t.getSimplifiedGeometry,24),Array.isArray(t)){Object(d["a"])(!Object(y["G"])(t),25);var i=Object(c["i"])(t,this.getProjection());n=Object(O["c"])(i)}else if(t.getType()===o["a"].CIRCLE){i=Object(c["i"])(t.getExtent(),this.getProjection());n=Object(O["c"])(i),n.rotate(this.getRotation(),Object(y["w"])(i))}else{var r=Object(c["o"])();n=r?t.clone().transform(r,this.getProjection()):t}this.fitInternal(n,e)},e.prototype.rotatedExtentForGeometry=function(t){for(var e=this.getRotation(),n=Math.cos(e),i=Math.sin(-e),o=t.getFlatCoordinates(),r=t.getStride(),a=1/0,s=1/0,l=-1/0,c=-1/0,u=0,h=o.length;u=1?(n=u,i=h):(n=l+f*d,i=c+f*p),[n,i]}function a(t,e){for(var n=!0,i=t.length-1;i>=0;--i)if(t[i]!=e[i]){n=!1;break}return n}function s(t,e){var n=Math.cos(e),i=Math.sin(e),o=t[0]*n-t[1]*i,r=t[1]*n+t[0]*i;return t[0]=o,t[1]=r,t}function l(t,e){return t[0]*=e,t[1]*=e,t}function c(t,e){var n=t[0]-e[0],i=t[1]-e[1];return n*n+i*i}function u(t,e){return Math.sqrt(c(t,e))}function h(t,e){return c(t,r(t,e))}function d(t,e){if(e.canWrapX()){var n=Object(i["D"])(e.getExtent()),o=p(t,e,n);o&&(t[0]-=o*n)}return t}function p(t,e,n){var o=e.getExtent(),r=0;if(e.canWrapX()&&(t[0]o[2])){var a=n||Object(i["D"])(o);r=Math.floor((t[0]-o[0])/a)}return r}},a896:function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"g",(function(){return l})),n.d(e,"f",(function(){return c})),n.d(e,"i",(function(){return h})),n.d(e,"a",(function(){return d})),n.d(e,"h",(function(){return p})),n.d(e,"e",(function(){return f})),n.d(e,"k",(function(){return g})),n.d(e,"b",(function(){return m})),n.d(e,"d",(function(){return y})),n.d(e,"j",(function(){return A}));var i,o=n("617d"),r=n("92fa"),a=new Array(6);function s(){return[1,0,0,1,0,0]}function l(t){return u(t,1,0,0,1,0,0)}function c(t,e){var n=t[0],i=t[1],o=t[2],r=t[3],a=t[4],s=t[5],l=e[0],c=e[1],u=e[2],h=e[3],d=e[4],p=e[5];return t[0]=n*l+o*c,t[1]=i*l+r*c,t[2]=n*u+o*h,t[3]=i*u+r*h,t[4]=n*d+o*p+a,t[5]=i*d+r*p+s,t}function u(t,e,n,i,o,r,a){return t[0]=e,t[1]=n,t[2]=i,t[3]=o,t[4]=r,t[5]=a,t}function h(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function d(t,e){var n=e[0],i=e[1];return e[0]=t[0]*n+t[2]*i+t[4],e[1]=t[1]*n+t[3]*i+t[5],e}function p(t,e,n){return c(t,u(a,e,0,0,n,0,0))}function f(t,e,n){return u(t,e,0,0,n,0,0)}function g(t,e,n){return c(t,u(a,1,0,0,1,e,n))}function m(t,e,n,i,o,r,a,s){var l=Math.sin(r),c=Math.cos(r);return t[0]=i*c,t[1]=o*l,t[2]=-i*l,t[3]=o*c,t[4]=a*i*c-s*i*l+e,t[5]=a*o*l+s*o*c+n,t}function y(t,e){var n=v(e);Object(r["a"])(0!==n,32);var i=e[0],o=e[1],a=e[2],s=e[3],l=e[4],c=e[5];return t[0]=s/n,t[1]=-o/n,t[2]=-a/n,t[3]=i/n,t[4]=(a*c-s*l)/n,t[5]=-(i*c-o*l)/n,t}function v(t){return t[0]*t[3]-t[1]*t[2]}function A(t){var e="matrix("+t.join(", ")+")";if(o["g"])return e;var n=i||(i=document.createElement("div"));return n.style.transform=e,n.style.transform}},a954:function(t,e,n){},ab35:function(t,e,n){"use strict";var i=n("1300"),o=n("345d"),r=function(){function t(t){this.opacity_=t.opacity,this.rotateWithView_=t.rotateWithView,this.rotation_=t.rotation,this.scale_=t.scale,this.scaleArray_=Object(o["d"])(t.scale),this.displacement_=t.displacement}return t.prototype.clone=function(){var e=this.getScale();return new t({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice()})},t.prototype.getOpacity=function(){return this.opacity_},t.prototype.getRotateWithView=function(){return this.rotateWithView_},t.prototype.getRotation=function(){return this.rotation_},t.prototype.getScale=function(){return this.scale_},t.prototype.getScaleArray=function(){return this.scaleArray_},t.prototype.getDisplacement=function(){return this.displacement_},t.prototype.getAnchor=function(){return Object(i["b"])()},t.prototype.getImage=function(t){return Object(i["b"])()},t.prototype.getHitDetectionImage=function(){return Object(i["b"])()},t.prototype.getPixelRatio=function(t){return 1},t.prototype.getImageState=function(){return Object(i["b"])()},t.prototype.getImageSize=function(){return Object(i["b"])()},t.prototype.getOrigin=function(){return Object(i["b"])()},t.prototype.getSize=function(){return Object(i["b"])()},t.prototype.setOpacity=function(t){this.opacity_=t},t.prototype.setRotateWithView=function(t){this.rotateWithView_=t},t.prototype.setRotation=function(t){this.rotation_=t},t.prototype.setScale=function(t){this.scale_=t,this.scaleArray_=Object(o["d"])(t)},t.prototype.listenImageChange=function(t){Object(i["b"])()},t.prototype.load=function(){Object(i["b"])()},t.prototype.unlistenImageChange=function(t){Object(i["b"])()},t}();e["a"]=r},abb7:function(t,e,n){"use strict";function i(t,e,n,i){for(var o=0,r=n.length;o=n[0]||(t[1]<=n[1]&&t[3]>=n[1]||Object(r["s"])(t,this.intersectsCoordinate.bind(this)))}return!1},e.prototype.setCenter=function(t){var e=this.stride,n=this.flatCoordinates[e]-this.flatCoordinates[0],i=t.slice();i[e]=i[0]+n;for(var o=1;o=this.dragVertexDelay_?(this.downPx_=e.pixel,this.shouldHandle_=!this.freehand_,n=!0):this.lastDragTime_=void 0,this.shouldHandle_&&void 0!==this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0)}return this.freehand_&&e.type===y["a"].POINTERDRAG&&null!==this.sketchFeature_?(this.addToDrawing_(e.coordinate),i=!1):this.freehand_&&e.type===y["a"].POINTERDOWN?i=!1:n&&this.getPointerCount()<2?(i=e.type===y["a"].POINTERMOVE,i&&this.freehand_?(this.handlePointerMove_(e),this.shouldHandle_&&e.originalEvent.preventDefault()):("mouse"===e.originalEvent.pointerType||e.type===y["a"].POINTERDRAG&&void 0===this.downTimeout_)&&this.handlePointerMove_(e)):e.type===y["a"].DBLCLICK&&(i=!1),t.prototype.handleEvent.call(this,e)&&i},e.prototype.handleDownEvent=function(t){return this.shouldHandle_=!this.freehand_,this.freehand_?(this.downPx_=t.pixel,this.finishCoordinate_||this.startDrawing_(t.coordinate),!0):this.condition_(t)?(this.lastDragTime_=Date.now(),this.downTimeout_=setTimeout(function(){this.handlePointerMove_(new m["a"](y["a"].POINTERMOVE,t.map,t.originalEvent,!1,t.frameState))}.bind(this),this.dragVertexDelay_),this.downPx_=t.pixel,!0):(this.lastDragTime_=void 0,!1)},e.prototype.handleUpEvent=function(t){var e=!0;if(0===this.getPointerCount())if(this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0),this.handlePointerMove_(t),this.shouldHandle_){var n=!this.finishCoordinate_;n&&this.startDrawing_(t.coordinate),!n&&this.freehand_?this.finishDrawing():this.freehand_||n&&this.mode_!==R.POINT||(this.atFinish_(t.pixel)?this.finishCondition_(t)&&this.finishDrawing():this.addToDrawing_(t.coordinate)),e=!1}else this.freehand_&&this.abortDrawing();return!e&&this.stopClick_&&t.preventDefault(),e},e.prototype.handlePointerMove_=function(t){if(this.pointerType_=t.originalEvent.pointerType,this.downPx_&&(!this.freehand_&&this.shouldHandle_||this.freehand_&&!this.shouldHandle_)){var e=this.downPx_,n=t.pixel,i=e[0]-n[0],o=e[1]-n[1],r=i*i+o*o;if(this.shouldHandle_=this.freehand_?r>this.squaredClickTolerance_:r<=this.squaredClickTolerance_,!this.shouldHandle_)return}this.finishCoordinate_?this.modifyDrawing_(t.coordinate):this.createOrUpdateSketchPoint_(t.coordinate.slice())},e.prototype.atFinish_=function(t){var e=!1;if(this.sketchFeature_){var n=!1,i=[this.finishCoordinate_],o=this.mode_;if(o===R.POINT)e=!0;else if(o===R.CIRCLE)e=2===this.sketchCoords_.length;else if(o===R.LINE_STRING)n=this.sketchCoords_.length>this.minPoints_;else if(o===R.POLYGON){var r=this.sketchCoords_;n=r[0].length>this.minPoints_,i=[r[0][0],r[0][r[0].length-2]]}if(n)for(var a=this.getMap(),s=0,l=i.length;s=this.maxPoints_&&(this.freehand_?n.pop():e=!0),n.push(t.slice()),this.geometryFunction_(n,i,o)):r===R.POLYGON&&(n=this.sketchCoords_[0],n.length>=this.maxPoints_&&(this.freehand_?n.pop():e=!0),n.push(t.slice()),e&&(this.finishCoordinate_=n[0]),this.geometryFunction_(this.sketchCoords_,i,o)),this.createOrUpdateSketchPoint_(t.slice()),this.updateSketchFeatures_(),e&&this.finishDrawing()},e.prototype.removeLastPoint=function(){if(this.sketchFeature_){var t,e=this.sketchFeature_.getGeometry(),n=this.getMap().getView().getProjection(),o=this.mode_;if(o===R.LINE_STRING||o===R.CIRCLE){if(t=this.sketchCoords_,t.splice(-2,1),t.length>=2){this.finishCoordinate_=t[t.length-2].slice();var r=this.finishCoordinate_.slice();t[t.length-1]=r,this.createOrUpdateSketchPoint_(r)}this.geometryFunction_(t,e,n),e.getType()===i["a"].POLYGON&&this.sketchLine_&&this.createOrUpdateCustomSketchLine_(e)}else if(o===R.POLYGON){t=this.sketchCoords_[0],t.splice(-2,1);var a=this.sketchLine_.getGeometry();if(t.length>=2){r=t[t.length-2].slice();t[t.length-1]=r,this.createOrUpdateSketchPoint_(r)}a.setCoordinates(t),this.geometryFunction_(this.sketchCoords_,e,n)}1===t.length&&this.abortDrawing(),this.updateSketchFeatures_()}},e.prototype.finishDrawing=function(){var t=this.abortDrawing_();if(t){var e=this.sketchCoords_,n=t.getGeometry(),o=this.getMap().getView().getProjection();this.mode_===R.LINE_STRING?(e.pop(),this.geometryFunction_(e,n,o)):this.mode_===R.POLYGON&&(e[0].pop(),this.geometryFunction_(e,n,o),e=n.getCoordinates()),this.type_===i["a"].MULTI_POINT?t.setGeometry(new A["a"]([e])):this.type_===i["a"].MULTI_LINE_STRING?t.setGeometry(new v["a"]([e])):this.type_===i["a"].MULTI_POLYGON&&t.setGeometry(new _["a"]([e])),this.dispatchEvent(new k(j.DRAWEND,t)),this.features_&&this.features_.push(t),this.source_&&this.source_.addFeature(t)}},e.prototype.abortDrawing_=function(){this.finishCoordinate_=null;var t=this.sketchFeature_;return this.sketchFeature_=null,this.sketchPoint_=null,this.sketchLine_=null,this.overlay_.getSource().clear(!0),t},e.prototype.abortDrawing=function(){var t=this.abortDrawing_();t&&this.dispatchEvent(new k(j.DRAWABORT,t))},e.prototype.appendCoordinates=function(t){var e,n=this.mode_,i=!this.sketchFeature_;if(i&&this.startDrawing_(t[0]),n===R.LINE_STRING||n===R.CIRCLE)e=this.sketchCoords_;else{if(n!==R.POLYGON)return;e=this.sketchCoords_&&this.sketchCoords_.length?this.sketchCoords_[0]:[]}i&&e.shift(),e.pop();for(var o=0;oe?i:new Array(1+e-o).join("0")+i}function o(t,e){for(var n=(""+t).split("."),i=(""+e).split("."),o=0;oa)return 1;if(a>r)return-1}return 0}n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}))},b1a2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s}));var i=n("9f5e"),o=n("7fc9");function r(t,e,n,r,a,s,l){var c,u,h=(n-e)/r;if(1===h)c=e;else if(2===h)c=e,u=a;else if(0!==h){for(var d=t[e],p=t[e+1],f=0,g=[0],m=e+r;m1?l:2,C=s||new Array(b);for(m=0;m>1;r + * @license MIT + */ +var i=n("1fb5"),o=n("9152"),r=n("e3db");function a(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(t,e){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function A(t){return+t!=t&&(t=0),c.alloc(+t)}function _(t,e){if(c.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return $(t).length;default:if(i)return K(t).length;e=(""+e).toLowerCase(),i=!0}}function b(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return N(this,e,n);case"utf8":case"utf-8":return R(this,e,n);case"ascii":return L(this,e,n);case"latin1":case"binary":return G(this,e,n);case"base64":return T(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function C(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function I(t,e,n,i,o){if(0===t.length)return-1;if("string"===typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof e&&(e=c.from(e,i)),c.isBuffer(e))return 0===e.length?-1:w(t,e,n,i,o);if("number"===typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):w(t,[e],n,i,o);throw new TypeError("val must be string, number or Buffer")}function w(t,e,n,i,o){var r,a=1,s=t.length,l=e.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var u=-1;for(r=n;rs&&(n=s-l),r=n;r>=0;r--){for(var h=!0,d=0;do&&(i=o)):i=o;var r=e.length;if(r%2!==0)throw new TypeError("Invalid hex string");i>r/2&&(i=r/2);for(var a=0;a239?4:c>223?3:c>191?2:1;if(o+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:r=t[o+1],128===(192&r)&&(l=(31&c)<<6|63&r,l>127&&(u=l));break;case 3:r=t[o+1],a=t[o+2],128===(192&r)&&128===(192&a)&&(l=(15&c)<<12|(63&r)<<6|63&a,l>2047&&(l<55296||l>57343)&&(u=l));break;case 4:r=t[o+1],a=t[o+2],s=t[o+3],128===(192&r)&&128===(192&a)&&128===(192&s)&&(l=(15&c)<<18|(63&r)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(u=l))}null===u?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),o+=h}return k(i)}e.Buffer=c,e.SlowBuffer=A,e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:a(),e.kMaxLength=s(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return u(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return d(null,t,e,n)},c.allocUnsafe=function(t){return p(null,t)},c.allocUnsafeSlow=function(t){return p(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,o=0,r=Math.min(n,i);o0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},c.prototype.compare=function(t,e,n,i,o){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),e<0||n>t.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===t)return 0;for(var r=o-i,a=n-e,s=Math.min(r,a),l=this.slice(i,o),u=t.slice(e,n),h=0;ho)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var r=!1;;)switch(i){case"hex":return E(this,t,e,n);case"utf8":case"utf-8":return O(this,t,e,n);case"ascii":return S(this,t,e,n);case"latin1":case"binary":return x(this,t,e,n);case"base64":return P(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,e,n);default:if(r)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),r=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var j=4096;function k(t){var e=t.length;if(e<=j)return String.fromCharCode.apply(String,t);var n="",i=0;while(ii)&&(n=i);for(var o="",r=e;rn)throw new RangeError("Trying to access beyond buffer length")}function U(t,e,n,i,o,r){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw new RangeError("Index out of range")}function B(t,e,n,i){e<0&&(e=65535+e+1);for(var o=0,r=Math.min(t.length-n,2);o>>8*(i?o:1-o)}function z(t,e,n,i){e<0&&(e=4294967295+e+1);for(var o=0,r=Math.min(t.length-n,4);o>>8*(i?o:3-o)&255}function V(t,e,n,i,o,r){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(t,e,n,i,r){return r||V(t,e,n,4,34028234663852886e22,-34028234663852886e22),o.write(t,e,n,i,23,4),n+4}function Y(t,e,n,i,r){return r||V(t,e,n,8,17976931348623157e292,-17976931348623157e292),o.write(t,e,n,i,52,8),n+8}c.prototype.slice=function(t,e){var n,i=this.length;if(t=~~t,e=void 0===e?i:~~e,t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e0&&(o*=256))i+=this[t+--e]*o;return i},c.prototype.readUInt8=function(t,e){return e||F(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||F(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||F(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=this[t],o=1,r=0;while(++r=o&&(i-=Math.pow(2,8*e)),i},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=e,o=1,r=this[t+--i];while(i>0&&(o*=256))r+=this[t+--i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*e)),r},c.prototype.readInt8=function(t,e){return e||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||F(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||F(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||F(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||F(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||F(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||F(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var o=Math.pow(2,8*n)-1;U(this,t,e,n,o,0)}var r=1,a=0;this[e]=255&t;while(++a=0&&(a*=256))this[e+r]=t/a&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):z(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var o=Math.pow(2,8*n-1);U(this,t,e,n,o-1,-o)}var r=0,a=1,s=0;this[e]=255&t;while(++r>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var o=Math.pow(2,8*n-1);U(this,t,e,n,o-1,-o)}var r=n-1,a=1,s=0;this[e+r]=255&t;while(--r>=0&&(a*=256))t<0&&0===s&&0!==this[e+r+1]&&(s=1),this[e+r]=(t/a>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):z(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return W(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return W(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return Y(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return Y(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e=0;--o)t[o+e]=this[o+n];else if(r<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(r=e;r55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&r.push(239,191,189);continue}if(a+1===i){(e-=3)>-1&&r.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&r.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&r.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;r.push(n)}else if(n<2048){if((e-=2)<0)break;r.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;r.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return r}function J(t){for(var e=[],n=0;n>8,o=n%256,r.push(o),r.push(i)}return r}function $(t){return i.toByteArray(H(t))}function tt(t,e,n,i){for(var o=0;o=e.length||o>=t.length)break;e[o+n]=t[o]}return o}function et(t){return t!==t}}).call(this,n("c8ba"))},b7df:function(t,e,n){"use strict";n.d(e,"b",(function(){return l}));var i=n("fced"),o=n("1300"),r=n("38f3"),a=n("256f"),s=function(){function t(){this.dataProjection=void 0,this.defaultFeatureProjection=void 0,this.supportedMediaTypes=null}return t.prototype.getReadOptions=function(t,e){var n;if(e){var o=e.dataProjection?Object(a["k"])(e.dataProjection):this.readProjection(t);e.extent&&o&&o.getUnits()===i["b"].TILE_PIXELS&&(o=Object(a["k"])(o),o.setWorldExtent(e.extent)),n={dataProjection:o,featureProjection:e.featureProjection}}return this.adaptOptions(n)},t.prototype.adaptOptions=function(t){return Object(r["a"])({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection},t)},t.prototype.getType=function(){return Object(o["b"])()},t.prototype.readFeature=function(t,e){return Object(o["b"])()},t.prototype.readFeatures=function(t,e){return Object(o["b"])()},t.prototype.readGeometry=function(t,e){return Object(o["b"])()},t.prototype.readProjection=function(t){return Object(o["b"])()},t.prototype.writeFeature=function(t,e){return Object(o["b"])()},t.prototype.writeFeatures=function(t,e){return Object(o["b"])()},t.prototype.writeGeometry=function(t,e){return Object(o["b"])()},t}();function l(t,e,n){var i,o=n?Object(a["k"])(n.featureProjection):null,r=n?Object(a["k"])(n.dataProjection):null;if(i=o&&r&&!Object(a["f"])(o,r)?(e?t.clone():t).transform(e?o:r,e?r:o):t,e&&n&&void 0!==n.decimals){var s=Math.pow(10,n.decimals),l=function(t){for(var e=0,n=t.length;e=a[0]&&s[2]<=a[2]||(s[1]>=a[1]&&s[3]<=a[3]||Object(o["a"])(t,e,n,r,(function(t,e){return Object(i["F"])(a,t,e)})))))}function s(t,e,n,i,o){for(var r=0,s=n.length;r=0;--i){for(var o=n[i],r=this.dragSegments_.length-1;r>=0;--r)this.dragSegments_[r][0]===o&&this.dragSegments_.splice(r,1);e.remove(o)}},e.prototype.setActive=function(e){this.vertexFeature_&&!e&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),t.prototype.setActive.call(this,e)},e.prototype.setMap=function(e){this.overlay_.setMap(e),t.prototype.setMap.call(this,e)},e.prototype.getOverlay=function(){return this.overlay_},e.prototype.handleSourceAdd_=function(t){t.feature&&this.features_.push(t.feature)},e.prototype.handleSourceRemove_=function(t){t.feature&&this.features_.remove(t.feature)},e.prototype.handleFeatureAdd_=function(t){this.addFeature_(t.element)},e.prototype.handleFeatureChange_=function(t){if(!this.changingFeature_){var e=t.target;this.removeFeature_(e),this.addFeature_(e)}},e.prototype.handleFeatureRemove_=function(t){var e=t.element;this.removeFeature_(e)},e.prototype.writePointGeometry_=function(t,e){var n=e.getCoordinates(),i={feature:t,geometry:e,segment:[n,n]};this.rBush_.insert(e.getExtent(),i)},e.prototype.writeMultiPointGeometry_=function(t,e){for(var n=e.getCoordinates(),i=0,o=n.length;i=0;--A)this.insertVertex_(o[A],r)}return!!this.vertexFeature_},e.prototype.handleUpEvent=function(t){for(var e=this.dragSegments_.length-1;e>=0;--e){var n=this.dragSegments_[e][0],i=n.geometry;if(i.getType()===l["a"].CIRCLE){var o=i.getCenter(),r=n.featureSegments[0],a=n.featureSegments[1];r.segment[0]=o,r.segment[1]=o,a.segment[0]=o,a.segment[1]=o,this.rBush_.update(Object(y["m"])(o),r);var s=i,c=Object(C["o"])();if(c){var u=t.map.getView().getProjection();s=s.clone().transform(c,u),s=Object(b["b"])(s).transform(u,c)}this.rBush_.update(s.getExtent(),a)}else this.rBush_.update(Object(y["b"])(n.segment),n)}return this.featuresBeingModified_&&(this.dispatchEvent(new M(P.MODIFYEND,this.featuresBeingModified_,t)),this.featuresBeingModified_=null),!1},e.prototype.handlePointerMove_=function(t){this.lastPixel_=t.pixel,this.handlePointerAtPixel_(t.pixel,t.map,t.coordinate)},e.prototype.handlePointerAtPixel_=function(t,e,n){var i,o,r=this,a=n||e.getCoordinateFromPixel(t),s=e.getView().getProjection(),c=function(t,e){return j(a,t,s)-j(a,e,s)};if(this.hitDetection_){var u="object"===typeof this.hitDetection_?function(t){return t===r.hitDetection_}:void 0;e.forEachFeatureAtPixel(t,(function(t,e,n){if(n=n||t.getGeometry(),n.getType()===l["a"].POINT&&Object(_["f"])(r.features_.getArray(),t)){o=n;var a=n.getFlatCoordinates().slice(0,2);i=[{feature:t,geometry:n,segment:[a,a]}]}return!0}),{layerFilter:u})}if(!i){var h=Object(C["i"])(Object(y["m"])(a,S),s),d=e.getView().getResolution()*this.pixelTolerance_,p=Object(C["q"])(Object(y["c"])(h,d,S),s);i=this.rBush_.getInExtent(p)}if(i&&i.length>0){var f=i.sort(c)[0],g=f.segment,m=k(a,f,s),A=e.getPixelFromCoordinate(m),b=Object(v["c"])(t,A);if(o||b<=this.pixelTolerance_){var w={};if(w[Object(I["c"])(g)]=!0,this.snapToPointer_||(this.delta_[0]=m[0]-a[0],this.delta_[1]=m[1]-a[1]),f.geometry.getType()===l["a"].CIRCLE&&f.index===O)this.snappedToVertex_=!0,this.createOrUpdateVertexFeature_(m,[f.feature],[f.geometry]);else{var E=e.getPixelFromCoordinate(g[0]),x=e.getPixelFromCoordinate(g[1]),P=Object(v["h"])(A,E),M=Object(v["h"])(A,x);b=Math.sqrt(Math.min(P,M)),this.snappedToVertex_=b<=this.pixelTolerance_,this.snappedToVertex_&&(m=P>M?g[1]:g[0]),this.createOrUpdateVertexFeature_(m,[f.feature],[f.geometry]);var T={};T[Object(I["c"])(f.geometry)]=!0;for(var R=1,L=i.length;R=0;--o)n=d[o],u=n[0],h=Object(I["c"])(u.feature),u.depth&&(h+="-"+u.depth.join("-")),h in p||(p[h]={}),0===n[1]?(p[h].right=u,p[h].index=u.index):1==n[1]&&(p[h].left=u,p[h].index=u.index+1);for(h in p){switch(c=p[h].right,a=p[h].left,r=p[h].index,s=r-1,u=void 0!==a?a:c,s<0&&(s=0),i=u.geometry,e=i.getCoordinates(),t=e,f=!1,i.getType()){case l["a"].MULTI_LINE_STRING:e[u.depth[0]].length>2&&(e[u.depth[0]].splice(r,1),f=!0);break;case l["a"].LINE_STRING:e.length>2&&(e.splice(r,1),f=!0);break;case l["a"].MULTI_POLYGON:t=t[u.depth[1]];case l["a"].POLYGON:t=t[u.depth[0]],t.length>4&&(r==t.length-1&&(r=0),t.splice(r,1),f=!0,0===r&&(t.pop(),t.push(t[0]),s=t.length-1));break;default:}if(f){this.setGeometryCoordinates_(i,e);var g=[];if(void 0!==a&&(this.rBush_.remove(a),g.push(a.segment[0])),void 0!==c&&(this.rBush_.remove(c),g.push(c.segment[1])),void 0!==a&&void 0!==c){var m={depth:u.depth,feature:u.feature,geometry:u.geometry,index:s,segment:g};this.rBush_.insert(Object(y["b"])(m.segment),m)}this.updateSegmentIndices_(i,r,u.depth,-1),this.vertexFeature_&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),d.length=0}}return f},e.prototype.setGeometryCoordinates_=function(t,e){this.changingFeature_=!0,t.setCoordinates(e),this.changingFeature_=!1},e.prototype.updateSegmentIndices_=function(t,e,n,i){this.rBush_.forEachInExtent(t.getExtent(),(function(o){o.geometry===t&&(void 0===n||void 0===o.depth||Object(_["b"])(o.depth,n))&&o.index>e&&(o.index+=i)}))},e}(h["b"]);function R(t,e){return t.index-e.index}function j(t,e,n){var i=e.geometry;if(i.getType()===l["a"].CIRCLE){var o=i;if(e.index===O){var r=Object(C["o"])();r&&(o=o.clone().transform(r,n));var a=Object(v["h"])(o.getCenter(),Object(C["h"])(t,n)),s=Math.sqrt(a)-o.getRadius();return s*s}}var c=Object(C["h"])(t,n);return x[0]=Object(C["h"])(e.segment[0],n),x[1]=Object(C["h"])(e.segment[1],n),Object(v["i"])(c,x)}function k(t,e,n){var i=e.geometry;if(i.getType()===l["a"].CIRCLE&&e.index===O){var o=i,r=Object(C["o"])();return r&&(o=o.clone().transform(r,n)),Object(C["p"])(o.getClosestPoint(Object(C["h"])(t,n)),n)}var a=Object(C["h"])(t,n);return x[0]=Object(C["h"])(e.segment[0],n),x[1]=Object(C["h"])(e.segment[1],n),Object(C["p"])(Object(v["b"])(a,x),n)}function L(){var t=Object(A["b"])();return function(e,n){return t[l["a"].POINT]}}e["a"]=T},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},c989:function(t){t.exports=JSON.parse('{"_from":"geoportal-extensions-openlayers@3.4.0","_id":"geoportal-extensions-openlayers@3.4.0","_inBundle":false,"_integrity":"sha512-yexHcVNoH8eQmIUKL5jWLyX+CYHrYLfRgCsZt3WUZCErmv4lGShFvqKJ5C/FN3wEBiSX/Qwr8ujsPIBDS0jiyw==","_location":"/geoportal-extensions-openlayers","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"geoportal-extensions-openlayers@3.4.0","name":"geoportal-extensions-openlayers","escapedName":"geoportal-extensions-openlayers","rawSpec":"3.4.0","saveSpec":null,"fetchSpec":"3.4.0"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/geoportal-extensions-openlayers/-/geoportal-extensions-openlayers-3.4.0.tgz","_shasum":"431241b337c0db88aa007db0a58466fab9afad06","_spec":"geoportal-extensions-openlayers@3.4.0","_where":"/home/runner/work/geoportal-extensions-openlayers-samples/geoportal-extensions-openlayers-samples","bundleDependencies":false,"date":"19/03/2024","dependencies":{"@mapbox/mapbox-gl-style-spec":"13.20.1","eventbusjs":"0.2.0","geoportal-access-lib":"3.4.0","loglevel":"1.6.6","node-fetch":"^2.6.1","ol":"6.9.0","proj4":"2.7.5","sortablejs":"1.14.0","xmldom":"^0.1.27"},"deprecated":false,"description":"![GitHub package.json version](https://img.shields.io/github/package-json/v/IGNF/geoportal-extensions?filename=build%2Fscripts%2Frelease%2Fpackage-openlayers.json)","devDependencies":{},"directories":{},"files":["dist/","src/","LICENCE.md","README.md","package.json"],"homepage":"https://github.com/IGNF/geoportal-extensions#readme","keywords":["geoportail","geoplateforme","plugin","javascript","OpenLayers"],"license":"CECILL-B","module":"src/OpenLayers/index.js","name":"geoportal-extensions-openlayers","peerDependencies":{},"repository":{"type":"git","url":"git+https://github.com/IGNF/geoportal-extensions.git"},"scripts":{},"types":"src/OpenLayers/index.d.ts","version":"3.4.0"}')},ca42:function(t,e,n){"use strict";function i(t){return Math.pow(t,3)}function o(t){return 1-i(1-t)}function r(t){return 3*t*t-2*t*t*t}function a(t){return t}n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return a}))},cbcb:function(t,e,n){"use strict";var i=n("4cdf"),o=n("521b"),r=n("f623"),a=n("7a09"),s=n("47e4"),l=n("f403"),c=n("f357"),u=n("da5d"),h=n("256f"),d=n("9f5e"),p=n("c4c3"),f=n("b7df"),g=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),m=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"],y="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd",v={rte:Z,trk:K,wpt:J},A=Object(u["q"])(m,{rte:Object(u["i"])(Z),trk:Object(u["i"])(K),wpt:Object(u["i"])(J)}),_=Object(u["q"])(m,{text:Object(u["m"])(p["h"],"linkText"),type:Object(u["m"])(p["h"],"linkType")}),b=Object(u["q"])(m,{rte:Object(u["k"])(tt),trk:Object(u["k"])(et),wpt:Object(u["k"])(it)}),C=function(t){function e(e){var n=t.call(this)||this,i=e||{};return n.dataProjection=Object(h["k"])("EPSG:4326"),n.readExtensions_=i.readExtensions,n}return g(e,t),e.prototype.handleReadExtensions_=function(t){t||(t=[]);for(var e=0,n=t.length;e65535){t-=65536;var e=55296+(t>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}function a(t){var e=t.slice(1,-1);return e in n?n[e]:"#"===e.charAt(0)?r(parseInt(e.substr(1).replace("x","0x"))):(o.error("entity not found:"+t),t)}function s(e){if(e>_){var n=t.substring(_,e).replace(/&#?\w+;/g,a);d&&l(_),i.characters(n,0,e-_),_=e}}function l(e,n){while(e>=u&&(n=h.exec(t)))c=n.index,u=c+n[0].length,d.lineNumber++;d.columnNumber=e-c+1}var c=0,u=0,h=/.*(?:\r\n?|\n)|.*$/g,d=i.locator,p=[{currentNSMap:e}],f={},_=0;while(1){try{var w=t.indexOf("<",_);if(w<0){if(!t.substr(_).match(/^\s*$/)){var E=i.doc,O=E.createTextNode(t.substr(_));E.appendChild(O),i.currentElement=O}return}switch(w>_&&s(w),t.charAt(w+1)){case"/":var S=t.indexOf(">",w+3),x=t.substring(w+2,S),P=p.pop();S<0?(x=t.substring(w+2).replace(/[\s<].*/,""),o.error("end tag name: "+x+" is not complete:"+P.tagName),S=w+1+x.length):x.match(/\s_?_=S:s(Math.max(w,_)+1)}}function g(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function m(t,e,n,i,o,p){var f,g=++e,m=r;while(1){var y=t.charAt(g);switch(y){case"=":if(m===a)f=t.slice(e,g),m=l;else{if(m!==s)throw new Error("attribute equal must after attrName");m=l}break;case"'":case'"':if(m===l||m===a){if(m===a&&(p.warning('attribute value must after "="'),f=t.slice(e,g)),e=g+1,g=t.indexOf(y,e),!(g>0))throw new Error("attribute value no end '"+y+"' match");v=t.slice(e,g).replace(/&#?\w+;/g,o),n.add(f,v,e-1),m=u}else{if(m!=c)throw new Error('attribute value must after "="');v=t.slice(e,g).replace(/&#?\w+;/g,o),n.add(f,v,e),p.warning('attribute "'+f+'" missed start quot('+y+")!!"),e=g+1,m=u}break;case"/":switch(m){case r:n.setTagName(t.slice(e,g));case u:case h:case d:m=d,n.closed=!0;case c:case a:case s:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return p.error("unexpected end of input"),m==r&&n.setTagName(t.slice(e,g)),g;case">":switch(m){case r:n.setTagName(t.slice(e,g));case u:case h:case d:break;case c:case a:v=t.slice(e,g),"/"===v.slice(-1)&&(n.closed=!0,v=v.slice(0,-1));case s:m===s&&(v=f),m==c?(p.warning('attribute "'+v+'" missed quot(")!!'),n.add(f,v.replace(/&#?\w+;/g,o),e)):("http://www.w3.org/1999/xhtml"===i[""]&&v.match(/^(?:disabled|checked|selected)$/i)||p.warning('attribute "'+v+'" missed value!! "'+v+'" instead!!'),n.add(v,v,e));break;case l:throw new Error("attribute value missed!!")}return g;case"€":y=" ";default:if(y<=" ")switch(m){case r:n.setTagName(t.slice(e,g)),m=h;break;case a:f=t.slice(e,g),m=s;break;case c:var v=t.slice(e,g).replace(/&#?\w+;/g,o);p.warning('attribute "'+v+'" missed quot(")!!'),n.add(f,v,e);case u:m=h;break}else switch(m){case s:n.tagName;"http://www.w3.org/1999/xhtml"===i[""]&&f.match(/^(?:disabled|checked|selected)$/i)||p.warning('attribute "'+f+'" missed value!! "'+f+'" instead2!!'),n.add(f,f,e),e=g,m=a;break;case u:p.warning('attribute space is required"'+f+'"!!');case h:m=a,e=g;break;case l:m=c,e=g;break;case d:throw new Error("elements closed character '/' and '>' must be connected to")}}g++}}function y(t,e,n){var i=t.tagName,o=null,r=t.length;while(r--){var a=t[r],s=a.qName,l=a.value,c=s.indexOf(":");if(c>0)var u=a.prefix=s.slice(0,c),h=s.slice(c+1),d="xmlns"===u&&h;else h=s,u=null,d="xmlns"===s&&"";a.localName=h,!1!==d&&(null==o&&(o={},_(n,n={})),n[d]=o[d]=l,a.uri="http://www.w3.org/2000/xmlns/",e.startPrefixMapping(d,l))}r=t.length;while(r--){a=t[r];u=a.prefix;u&&("xml"===u&&(a.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==u&&(a.uri=n[u||""]))}c=i.indexOf(":");c>0?(u=t.prefix=i.slice(0,c),h=t.localName=i.slice(c+1)):(u=null,h=t.localName=i);var p=t.uri=n[u||""];if(e.startElement(p,h,i,t),!t.closed)return t.currentNSMap=n,t.localNSMap=o,!0;if(e.endElement(p,h,i),o)for(u in o)e.endPrefixMapping(u)}function v(t,e,n,i,o){if(/^(?:script|textarea)$/i.test(n)){var r=t.indexOf("",e),a=t.substring(e+1,r);if(/[&<]/.test(a))return/^script$/i.test(n)?(o.characters(a,0,a.length),r):(a=a.replace(/&#?\w+;/g,i),o.characters(a,0,a.length),r)}return e+1}function A(t,e,n,i){var o=i[n];return null==o&&(o=t.lastIndexOf(""),oe?(n.comment(t,e+4,r-e-4),r+3):(i.error("Unclosed comment"),-1)}return-1;default:if("CDATA["==t.substr(e+3,6)){r=t.indexOf("]]>",e+9);return n.startCDATA(),n.characters(t,e+9,r-e-9),n.endCDATA(),r+3}var a=E(t,e),s=a.length;if(s>1&&/!doctype/i.test(a[0][0])){var l=a[1][0],c=s>3&&/^public$/i.test(a[2][0])&&a[3][0],u=s>4&&a[4][0],h=a[s-1];return n.startDTD(l,c&&c.replace(/^(['"])(.*?)\1$/,"$2"),u&&u.replace(/^(['"])(.*?)\1$/,"$2")),n.endDTD(),h.index+h[0].length}}return-1}function C(t,e,n){var i=t.indexOf("?>",e);if(i){var o=t.substring(e,i).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(o){o[0].length;return n.processingInstruction(o[1],o[2]),i+2}return-1}return-1}function I(t){}function w(t,e){return t.__proto__=e,t}function E(t,e){var n,i=[],o=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;o.lastIndex=e,o.exec(t);while(n=o.exec(t))if(i.push(n),n[1])return i}p.prototype={parse:function(t,e,n){var i=this.domBuilder;i.startDocument(),_(e,e={}),f(t,e,n,i,this.errorHandler),i.endDocument()}},I.prototype={setTagName:function(t){if(!o.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},add:function(t,e,n){if(!o.test(t))throw new Error("invalid attribute:"+t);this[this.length++]={qName:t,value:e,offset:n}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},w({},w.prototype)instanceof w||(w=function(t,e){function n(){}for(e in n.prototype=e,n=new n,t)n[e]=t[e];return n}),e.XMLReader=p},da5c:function(t,e,n){"use strict";var i=function(){function t(){this.disposed=!1}return t.prototype.dispose=function(){this.disposed||(this.disposed=!0,this.disposeInternal())},t.prototype.disposeInternal=function(){},t}();e["a"]=i},da5d:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return a})),n.d(e,"g",(function(){return l})),n.d(e,"r",(function(){return c})),n.d(e,"h",(function(){return u})),n.d(e,"i",(function(){return h})),n.d(e,"n",(function(){return d})),n.d(e,"l",(function(){return p})),n.d(e,"m",(function(){return f})),n.d(e,"k",(function(){return g})),n.d(e,"j",(function(){return m})),n.d(e,"p",(function(){return y})),n.d(e,"a",(function(){return v})),n.d(e,"o",(function(){return A})),n.d(e,"q",(function(){return _})),n.d(e,"s",(function(){return b})),n.d(e,"t",(function(){return C})),n.d(e,"u",(function(){return w})),n.d(e,"f",(function(){return O})),n.d(e,"e",(function(){return x}));var i=n("9f5e"),o="http://www.w3.org/2001/XMLSchema-instance";function r(t,e){return x().createElementNS(t,e)}function a(t,e){return s(t,e,[]).join("")}function s(t,e,n){if(t.nodeType==Node.CDATA_SECTION_NODE||t.nodeType==Node.TEXT_NODE)e?n.push(String(t.nodeValue).replace(/(\r\n|\r|\n)/g,"")):n.push(t.nodeValue);else{var i=void 0;for(i=t.firstChild;i;i=i.nextSibling)s(i,e,n)}return n}function l(t){return"documentElement"in t}function c(t){return(new DOMParser).parseFromString(t,"application/xml")}function u(t,e){return function(n,o){var r=t.call(void 0!==e?e:this,n,o);if(void 0!==r){var a=o[o.length-1];Object(i["c"])(a,r)}}}function h(t,e){return function(n,i){var o=t.call(void 0!==e?e:this,n,i);if(void 0!==o){var r=i[i.length-1];r.push(o)}}}function d(t,e){return function(n,i){var o=t.call(void 0!==e?e:this,n,i);void 0!==o&&(i[i.length-1]=o)}}function p(t,e,n){return function(i,o){var r=t.call(void 0!==n?n:this,i,o);if(void 0!==r){var a=o[o.length-1],s=void 0!==e?e:i.localName,l=void 0;s in a?l=a[s]:(l=[],a[s]=l),l.push(r)}}}function f(t,e,n){return function(i,o){var r=t.call(void 0!==n?n:this,i,o);if(void 0!==r){var a=o[o.length-1],s=void 0!==e?e:i.localName;a[s]=r}}}function g(t,e){return function(n,i,o){t.call(void 0!==e?e:this,n,i,o);var r=o[o.length-1],a=r.node;a.appendChild(n)}}function m(t,e){var n,i;return function(e,o,r){if(void 0===n){n={};var a={};a[e.localName]=t,n[e.namespaceURI]=a,i=y(e.localName)}I(n,i,o,r)}}function y(t,e){var n=t;return function(t,i,o){var a=i[i.length-1],s=a.node,l=n;void 0===l&&(l=o);var c=void 0!==e?e:s.namespaceURI;return r(c,l)}}var v=y();function A(t,e){for(var n=e.length,i=new Array(n),o=0;of&&(this.instructions.push([i["c"].CUSTOM,f,s,t,n,h["a"]]),this.hitDetectionInstructions.push([i["c"].CUSTOM,f,s,t,r||n,h["a"]]));break;case o["a"].POINT:a=t.getFlatCoordinates(),this.coordinates.push(a[0],a[1]),s=this.coordinates.length,this.instructions.push([i["c"].CUSTOM,f,s,t,n]),this.hitDetectionInstructions.push([i["c"].CUSTOM,f,s,t,r||n]);break;default:}this.endGeometry(e)},e.prototype.beginGeometry=function(t,e){this.beginGeometryInstruction1_=[i["c"].BEGIN_GEOMETRY,e,0,t],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[i["c"].BEGIN_GEOMETRY,e,0,t],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)},e.prototype.finish=function(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}},e.prototype.reverseHitDetectionInstructions=function(){var t,e=this.hitDetectionInstructions;e.reverse();var n,o,r=e.length,a=-1;for(t=0;tthis.maxLineWidth&&(this.maxLineWidth=n.lineWidth,this.bufferedMaxExtent_=null)}else n.strokeStyle=void 0,n.lineCap=void 0,n.lineDash=null,n.lineDashOffset=void 0,n.lineJoin=void 0,n.lineWidth=void 0,n.miterLimit=void 0},e.prototype.createFill=function(t){var e=t.fillStyle,n=[i["c"].SET_FILL_STYLE,e];return"string"!==typeof e&&n.push(!0),n},e.prototype.applyStroke=function(t){this.instructions.push(this.createStroke(t))},e.prototype.createStroke=function(t){return[i["c"].SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]},e.prototype.updateFillStyle=function(t,e){var n=t.fillStyle;"string"===typeof n&&t.currentFillStyle==n||(void 0!==n&&this.instructions.push(e.call(this,t)),t.currentFillStyle=n)},e.prototype.updateStrokeStyle=function(t,e){var n=t.strokeStyle,i=t.lineCap,o=t.lineDash,r=t.lineDashOffset,a=t.lineJoin,s=t.lineWidth,l=t.miterLimit;(t.currentStrokeStyle!=n||t.currentLineCap!=i||o!=t.currentLineDash&&!Object(u["b"])(t.currentLineDash,o)||t.currentLineDashOffset!=r||t.currentLineJoin!=a||t.currentLineWidth!=s||t.currentMiterLimit!=l)&&(void 0!==n&&e.call(this,t),t.currentStrokeStyle=n,t.currentLineCap=i,t.currentLineDash=o,t.currentLineDashOffset=r,t.currentLineJoin=a,t.currentLineWidth=s,t.currentMiterLimit=l)},e.prototype.endGeometry=function(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;var e=[i["c"].END_GEOMETRY,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)},e.prototype.getBufferedMaxExtent=function(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=Object(l["d"])(this.maxExtent),this.maxLineWidth>0)){var t=this.resolution*(this.maxLineWidth+1)/2;Object(l["c"])(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_},e}(a["a"]);e["a"]=p},ddea:function(t,e,n){"use strict";n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return f})),n.d(e,"i",(function(){return g})),n.d(e,"k",(function(){return m})),n.d(e,"l",(function(){return y})),n.d(e,"m",(function(){return v})),n.d(e,"j",(function(){return A})),n.d(e,"h",(function(){return _})),n.d(e,"a",(function(){return b})),n.d(e,"o",(function(){return C})),n.d(e,"s",(function(){return O})),n.d(e,"q",(function(){return S})),n.d(e,"p",(function(){return M})),n.d(e,"r",(function(){return T})),n.d(e,"n",(function(){return R}));var i=n("e269"),o=n("0ec0"),r=n("617d"),a=n("38f3"),s=n("0999"),l=n("cd7e"),c="10px sans-serif",u="#000",h="round",d=[],p=0,f="round",g=10,m="#000",y="center",v="middle",A=[0,0,0,0],_=1,b=new i["a"],C=new o["a"];C.setSize=function(){console.warn("labelCache is deprecated.")};var I,w=null,E={},O=function(){var t,e,n=100,i="32px ",o=["monospace","serif"],r=o.length,s="wmytzilWMYTZIL@#/&?$%10";function c(t,n,a){for(var l=!0,c=0;c=0;i--){var o=t[i];"."===o?t.splice(i,1):".."===o?(t.splice(i,1),n++):n&&(t.splice(i,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function i(t){"string"!==typeof t&&(t+="");var e,n=0,i=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){n=e+1;break}}else-1===i&&(o=!1,i=e+1);return-1===i?"":t.slice(n,i)}function o(t,e){if(t.filter)return t.filter(e);for(var n=[],i=0;i=-1&&!i;r--){var a=r>=0?arguments[r]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return e=n(o(e.split("/"),(function(t){return!!t})),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),a="/"===r(t,-1);return t=n(o(t.split("/"),(function(t){return!!t})),!i).join("/"),t||i||(t="."),t&&a&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(o(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function i(t){for(var e=0;e=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var o=i(t.split("/")),r=i(n.split("/")),a=Math.min(o.length,r.length),s=a,l=0;l=1;--r)if(e=t.charCodeAt(r),47===e){if(!o){i=r;break}}else o=!1;return-1===i?n?"/":".":n&&1===i?"/":t.slice(0,i)},e.basename=function(t,e){var n=i(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,i=-1,o=!0,r=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===i&&(o=!1,i=a+1),46===s?-1===e?e=a:1!==r&&(r=1):-1!==e&&(r=-1);else if(!o){n=a+1;break}}return-1===e||-1===i||0===r||1===r&&e===i-1&&e===n+1?"":t.slice(e,i)};var r="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},e0b5:function(t,e,n){},e269:function(t,e,n){"use strict";var i=n("cef7"),o=n("7b4f"),r=n("35a7"),a=n("38f3"),s=n("1300"),l=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),c=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.key=n,o.oldValue=i,o}return l(e,t),e}(i["a"]),u=function(t){function e(e){var n=t.call(this)||this;return n.on,n.once,n.un,Object(s["c"])(n),n.values_=null,void 0!==e&&n.setProperties(e),n}return l(e,t),e.prototype.get=function(t){var e;return this.values_&&this.values_.hasOwnProperty(t)&&(e=this.values_[t]),e},e.prototype.getKeys=function(){return this.values_&&Object.keys(this.values_)||[]},e.prototype.getProperties=function(){return this.values_&&Object(a["a"])({},this.values_)||{}},e.prototype.hasProperties=function(){return!!this.values_},e.prototype.notify=function(t,e){var n;n="change:"+t,this.dispatchEvent(new c(n,t,e)),n=o["a"].PROPERTYCHANGE,this.dispatchEvent(new c(n,t,e))},e.prototype.addChangeListener=function(t,e){this.addEventListener("change:"+t,e)},e.prototype.removeChangeListener=function(t,e){this.removeEventListener("change:"+t,e)},e.prototype.set=function(t,e,n){var i=this.values_||(this.values_={});if(n)i[t]=e;else{var o=i[t];i[t]=e,o!==e&&this.notify(t,o)}},e.prototype.setProperties=function(t,e){for(var n in t)this.set(n,t[n],e)},e.prototype.applyProperties=function(t){t.values_&&Object(a["a"])(this.values_||(this.values_={}),t.values_)},e.prototype.unset=function(t,e){if(this.values_&&t in this.values_){var n=this.values_[t];delete this.values_[t],Object(a["d"])(this.values_)&&(this.values_=null),e||this.notify(t,n)}},e}(r["a"]);e["a"]=u},e28c:function(t,e,n){},e28c0:function(t,e,n){},e300:function(t,e,n){"use strict";var i=n("835b"),o=n("e269"),r=n("183a"),a=n("cef7"),s=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l={LENGTH:"length"},c=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.element=n,o.index=i,o}return s(e,t),e}(a["a"]),u=function(t){function e(e,n){var i=t.call(this)||this;i.on,i.once,i.un;var o=n||{};if(i.unique_=!!o.unique,i.array_=e||[],i.unique_)for(var r=0,a=i.array_.length;r0)this.pop()},e.prototype.extend=function(t){for(var e=0,n=t.length;et)throw new Error("Tile load sequence violation");this.state=t,this.changed()},e.prototype.load=function(){Object(v["b"])()},e.prototype.getAlpha=function(t,e){if(!this.transition_)return 1;var n=this.transitionStarts_[t];if(n){if(-1===n)return 1}else n=e,this.transitionStarts_[t]=n;var i=e-n+1e3/60;return i>=this.transition_?1:Object(A["a"])(i/this.transition_)},e.prototype.inTransition=function(t){return!!this.transition_&&-1!==this.transitionStarts_[t]},e.prototype.endTransition=function(t){this.transition_&&(this.transitionStarts_[t]=-1)},e}(m["a"]),C=b,I=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),w=function(t){function e(e,n,i,o,r,a){var s=t.call(this,e,n,a)||this;return s.extent=null,s.format_=o,s.features_=null,s.loader_,s.projection=null,s.resolution,s.tileLoadFunction_=r,s.url_=i,s.key=i,s}return I(e,t),e.prototype.getFormat=function(){return this.format_},e.prototype.getFeatures=function(){return this.features_},e.prototype.load=function(){this.state==y["a"].IDLE&&(this.setState(y["a"].LOADING),this.tileLoadFunction_(this,this.url_),this.loader_&&this.loader_(this.extent,this.resolution,this.projection))},e.prototype.onLoad=function(t,e){this.setFeatures(t)},e.prototype.onError=function(){this.setState(y["a"].ERROR)},e.prototype.setFeatures=function(t){this.features_=t,this.setState(y["a"].LOADED)},e.prototype.setLoader=function(t){this.loader_=t},e}(C),E=w,O=n("92fa"),S=function(){function t(t){this.highWaterMark=void 0!==t?t:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}return t.prototype.canExpireCache=function(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark},t.prototype.clear=function(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null},t.prototype.containsKey=function(t){return this.entries_.hasOwnProperty(t)},t.prototype.forEach=function(t){var e=this.oldest_;while(e)t(e.value_,e.key_,this),e=e.newer},t.prototype.get=function(t,e){var n=this.entries_[t];return Object(O["a"])(void 0!==n,15),n===this.newest_||(n===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(n.newer.older=n.older,n.older.newer=n.newer),n.newer=null,n.older=this.newest_,this.newest_.newer=n,this.newest_=n),n.value_},t.prototype.remove=function(t){var e=this.entries_[t];return Object(O["a"])(void 0!==e,15),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_},t.prototype.getCount=function(){return this.count_},t.prototype.getKeys=function(){var t,e=new Array(this.count_),n=0;for(t=this.newest_;t;t=t.older)e[n++]=t.key_;return e},t.prototype.getValues=function(){var t,e=new Array(this.count_),n=0;for(t=this.newest_;t;t=t.older)e[n++]=t.value_;return e},t.prototype.peekLast=function(){return this.oldest_.value_},t.prototype.peekLastKey=function(){return this.oldest_.key_},t.prototype.peekFirstKey=function(){return this.newest_.key_},t.prototype.pop=function(){var t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_},t.prototype.replace=function(t,e){this.get(t),this.entries_[t].value_=e},t.prototype.set=function(t,e){Object(O["a"])(!(t in this.entries_),16);var n={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=n:this.oldest_=n,this.newest_=n,this.entries_[t]=n,++this.count_},t.prototype.setSize=function(t){this.highWaterMark=t},t}(),x=S;function P(t,e,n,i){return void 0!==i?(i[0]=t,i[1]=e,i[2]=n,i):[t,e,n]}function M(t,e,n){return t+"/"+e+"/"+n}function T(t){return M(t[0],t[1],t[2])}function R(t){var e=t.substring(t.lastIndexOf("/")+1,t.length).split(",").map(Number),n=e[0],i=e[1],o=e[2];return M(n,i,o)}function j(t){return t.split("/").map(Number)}function k(t){return(t[1]<n||n>e.getMaxZoom())return!1;var r=e.getFullTileRange(n);return!r||r.containsXY(i,o)}var G=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return G(e,t),e.prototype.expireCache=function(t){while(this.canExpireCache()){var e=this.peekLast();if(e.getKey()in t)break;this.pop().release()}},e.prototype.pruneExceptNewestZ=function(){if(0!==this.getCount()){var t=this.peekFirstKey(),e=j(t),n=e[0];this.forEach(function(t){t.tileCoord[0]!==n&&(this.remove(T(t.tileCoord)),t.release())}.bind(this))}},e}(x),D=N,F={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"},U=n("cef7"),B=n("ff80"),z=n("256f"),V=n("3820"),W=function(){function t(t,e,n,i){this.minX=t,this.maxX=e,this.minY=n,this.maxY=i}return t.prototype.contains=function(t){return this.containsXY(t[1],t[2])},t.prototype.containsTileRange=function(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY},t.prototype.containsXY=function(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY},t.prototype.equals=function(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY},t.prototype.extend=function(t){t.minXthis.maxX&&(this.maxX=t.maxX),t.minYthis.maxY&&(this.maxY=t.maxY)},t.prototype.getHeight=function(){return this.maxY-this.minY+1},t.prototype.getSize=function(){return[this.getWidth(),this.getHeight()]},t.prototype.getWidth=function(){return this.maxX-this.minX+1},t.prototype.intersects=function(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY},t}();function Y(t,e,n,i,o){return void 0!==o?(o.minX=t,o.maxX=e,o.minY=n,o.maxY=i,o):new W(t,e,n,i)}var q=W,H=n("0414"),X=n("7fc9"),Z=n("9f5e"),K=n("345d"),J=[0,0,0],Q=function(){function t(t){var e;if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.resolutions_=t.resolutions,Object(O["a"])(Object(Z["g"])(this.resolutions_,(function(t,e){return e-t}),!0),17),!t.origins)for(var n=0,i=this.resolutions_.length-1;n=this.minZoom){if(2===this.zoomFactor_?(r=Math.floor(r/2),a=Math.floor(a/2),o=Y(r,r,a,a,n)):o=this.getTileRangeForExtentAndZ(s,l,n),e(l,o))return!0;--l}return!1},t.prototype.getExtent=function(){return this.extent_},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.getMinZoom=function(){return this.minZoom},t.prototype.getOrigin=function(t){return this.origin_?this.origin_:this.origins_[t]},t.prototype.getResolution=function(t){return this.resolutions_[t]},t.prototype.getResolutions=function(){return this.resolutions_},t.prototype.getTileCoordChildTileRange=function(t,e,n){if(t[0]this.maxZoom||e0?i:Math.max(a/s[0],r/s[1]),u=o+1,h=new Array(u),d=0;dn.highWaterMark&&(n.highWaterMark=t)},e.prototype.useTile=function(t,e,n,i){},e}(B["a"]),ut=function(t){function e(e,n){var i=t.call(this,e)||this;return i.tile=n,i}return lt(e,t),e}(U["a"]),ht=ct;function dt(t,e){var n=/\{z\}/g,i=/\{x\}/g,o=/\{y\}/g,r=/\{-y\}/g;return function(a,s,l){return a?t.replace(n,a[0].toString()).replace(i,a[1].toString()).replace(o,a[2].toString()).replace(r,(function(){var t=a[0],n=e.getFullTileRange(t);Object(O["a"])(n,55);var i=n.getHeight()-a[2]-1;return i.toString()})):void 0}}function pt(t,e){for(var n=t.length,i=new Array(n),o=0;othis.sourceWorldWidth_/2){var e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]];e[0][0]-v>this.sourceWorldWidth_/2&&(e[0][0]-=this.sourceWorldWidth_),e[1][0]-v>this.sourceWorldWidth_/2&&(e[1][0]-=this.sourceWorldWidth_),e[2][0]-v>this.sourceWorldWidth_/2&&(e[2][0]-=this.sourceWorldWidth_);var n=Math.min(e[0][0],e[1][0],e[2][0]),i=Math.max(e[0][0],e[1][0],e[2][0]);i-n.5&&h<1,f=!1;if(c>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){var g=Object(l["b"])([t,e,n,i]),m=Object(l["D"])(g)/this.targetWorldWidth_;f=m>Bt||f}!p&&this.sourceProj_.isGlobal()&&h&&(f=h>Bt||f)}if(!(!f&&this.maxSourceExtent_&&isFinite(u[0])&&isFinite(u[1])&&isFinite(u[2])&&isFinite(u[3]))||Object(l["E"])(u,this.maxSourceExtent_)){var y=0;if(!f&&(!isFinite(o[0])||!isFinite(o[1])||!isFinite(r[0])||!isFinite(r[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(s[0])||!isFinite(s[1])))if(c>0)f=!0;else if(y=(isFinite(o[0])&&isFinite(o[1])?0:8)+(isFinite(r[0])&&isFinite(r[1])?0:4)+(isFinite(a[0])&&isFinite(a[1])?0:2)+(isFinite(s[0])&&isFinite(s[1])?0:1),1!=y&&2!=y&&4!=y&&8!=y)return;if(c>0){if(!f){var v=[(t[0]+n[0])/2,(t[1]+n[1])/2],A=this.transformInv_(v),_=void 0;if(p){var b=(Object(X["e"])(o[0],d)+Object(X["e"])(a[0],d))/2;_=b-Object(X["e"])(A[0],d)}else _=(o[0]+a[0])/2-A[0];var C=(o[1]+a[1])/2-A[1],I=_*_+C*C;f=I>this.errorThresholdSquared_}if(f){if(Math.abs(t[0]-n[0])<=Math.abs(t[1]-n[1])){var w=[(e[0]+n[0])/2,(e[1]+n[1])/2],E=this.transformInv_(w),O=[(i[0]+t[0])/2,(i[1]+t[1])/2],S=this.transformInv_(O);this.addQuad_(t,e,w,O,o,r,E,S,c-1),this.addQuad_(O,w,n,i,S,E,a,s,c-1)}else{var x=[(t[0]+e[0])/2,(t[1]+e[1])/2],P=this.transformInv_(x),M=[(n[0]+i[0])/2,(n[1]+i[1])/2],T=this.transformInv_(M);this.addQuad_(t,x,M,i,o,P,T,s,c-1),this.addQuad_(x,e,n,M,P,r,a,T,c-1)}return}}if(p){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}0==(11&y)&&this.addTriangle_(t,n,i,o,a,s),0==(14&y)&&this.addTriangle_(t,n,e,o,a,r),y&&(0==(13&y)&&this.addTriangle_(e,i,t,r,s,o),0==(7&y)&&this.addTriangle_(e,i,n,r,s,a))}},t.prototype.calculateSourceExtent=function(){var t=Object(l["j"])();return this.triangles_.forEach((function(e,n,i){var o=e.source;Object(l["q"])(t,o[0]),Object(l["q"])(t,o[1]),Object(l["q"])(t,o[2])})),t},t.prototype.getTriangles=function(){return this.triangles_},t}(),Vt=zt;function Wt(t,e,n,i,o){t.beginPath(),t.moveTo(0,0),t.lineTo(e,n),t.lineTo(i,o),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,i)+1,Math.max(n,o)),t.restore()}function Yt(t,e){return Math.abs(t[4*e]-210)>2||Math.abs(t[4*e+3]-191.25)>2}function qt(){if(void 0===Gt){var t=document.createElement("canvas").getContext("2d");t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",Wt(t,4,5,4,0),Wt(t,4,5,0,5);var e=t.getImageData(0,0,3,3).data;Gt=Yt(e,0)||Yt(e,4)||Yt(e,8)}return Gt}function Ht(t,e,n,i){var o=Object(z["s"])(n,e,t),r=Object(z["l"])(e,i,n),a=e.getMetersPerUnit();void 0!==a&&(r*=a);var s=t.getMetersPerUnit();void 0!==s&&(r/=s);var c=t.getExtent();if(!c||Object(l["f"])(c,o)){var u=Object(z["l"])(t,r,o)/r;isFinite(u)&&u>0&&(r/=u)}return r}function Xt(t,e,n,i){var o=Object(l["w"])(n),r=Ht(t,e,o,i);return(!isFinite(r)||r<=0)&&Object(l["s"])(n,(function(n){return r=Ht(t,e,n,i),isFinite(r)&&r>0})),r}function Zt(t,e,n,i,o,r,a,s,c,h,d,p){var f=Object(u["a"])(Math.round(n*t),Math.round(n*e));if(Object(It["a"])(f,p),0===c.length)return f.canvas;function g(t){return Math.round(t*n)/n}f.scale(n,n),f.globalCompositeOperation="lighter";var m=Object(l["j"])();c.forEach((function(t,e,n){Object(l["p"])(m,t.extent)}));var y=Object(l["D"])(m),v=Object(l["z"])(m),A=Object(u["a"])(Math.round(n*y/i),Math.round(n*v/i));Object(It["a"])(A,p);var _=n/i;c.forEach((function(t,e,n){var i=t.extent[0]-m[0],o=-(t.extent[3]-m[3]),r=Object(l["D"])(t.extent),a=Object(l["z"])(t.extent);t.image.width>0&&t.image.height>0&&A.drawImage(t.image,h,h,t.image.width-2*h,t.image.height-2*h,i*_,o*_,r*_,a*_)}));var b=Object(l["B"])(a);return s.getTriangles().forEach((function(t,e,o){var a=t.source,s=t.target,l=a[0][0],c=a[0][1],u=a[1][0],h=a[1][1],d=a[2][0],y=a[2][1],v=g((s[0][0]-b[0])/r),_=g(-(s[0][1]-b[1])/r),C=g((s[1][0]-b[0])/r),I=g(-(s[1][1]-b[1])/r),w=g((s[2][0]-b[0])/r),E=g(-(s[2][1]-b[1])/r),O=l,S=c;l=0,c=0,u-=O,h-=S,d-=O,y-=S;var x=[[u,h,0,0,C-v],[d,y,0,0,w-v],[0,0,u,h,I-_],[0,0,d,y,E-_]],P=Object(X["f"])(x);if(P){if(f.save(),f.beginPath(),qt()||p===Tt){f.moveTo(C,I);for(var M=4,T=v-C,R=_-I,j=0;j=0},e.prototype.tileUrlFunction=function(t,e,n){var i=this.getTileGrid();if(i||(i=this.getTileGridForProjection(n)),!(i.getResolutions().length<=t[0])){1==e||this.hidpi_&&void 0!==this.serverType_||(e=1);var o=i.getResolution(t[0]),r=i.getTileCoordExtent(t,this.tmpExtent_),a=Object(K["d"])(i.getTileSize(t[0]),this.tmpSize),s=this.gutter_;0!==s&&(a=Object(K["a"])(a,s,this.tmpSize),r=Object(l["c"])(r,o*s,r)),1!=e&&(a=Object(K["c"])(a,e,this.tmpSize));var c={SERVICE:"WMS",VERSION:Mt,REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};return Object(It["a"])(c,this.params_),this.getRequestUrl_(t,a,r,e,n,c)}},e}(ne),le=se,ce={KVP:"KVP",REST:"REST"},ue=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),he=function(t){function e(e){var n=t.call(this,{extent:e.extent,origin:e.origin,origins:e.origins,resolutions:e.resolutions,tileSize:e.tileSize,tileSizes:e.tileSizes,sizes:e.sizes})||this;return n.matrixIds_=e.matrixIds,n}return ue(e,t),e.prototype.getMatrixId=function(t){return this.matrixIds_[t]},e.prototype.getMatrixIds=function(){return this.matrixIds_},e}($),de=he;var pe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),fe=function(t){function e(e){var n=this,i=void 0!==e.requestEncoding?e.requestEncoding:ce.KVP,o=e.tileGrid,r=e.urls;return void 0===r&&void 0!==e.url&&(r=gt(e.url)),n=t.call(this,{attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,imageSmoothing:e.imageSmoothing,projection:e.projection,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileClass:e.tileClass,tileGrid:o,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,urls:r,wrapX:void 0!==e.wrapX&&e.wrapX,transition:e.transition,zDirection:e.zDirection})||this,n.version_=void 0!==e.version?e.version:"1.0.0",n.format_=void 0!==e.format?e.format:"image/jpeg",n.dimensions_=void 0!==e.dimensions?e.dimensions:{},n.layer_=e.layer,n.matrixSet_=e.matrixSet,n.style_=e.style,n.requestEncoding_=i,n.setKey(n.getKeyForDimensions_()),r&&r.length>0&&(n.tileUrlFunction=ft(r.map(n.createFromWMTSTemplate.bind(n)))),n}return pe(e,t),e.prototype.setUrls=function(t){this.urls=t;var e=t.join("\n");this.setTileUrlFunction(ft(t.map(this.createFromWMTSTemplate.bind(this))),e)},e.prototype.getDimensions=function(){return this.dimensions_},e.prototype.getFormat=function(){return this.format_},e.prototype.getLayer=function(){return this.layer_},e.prototype.getMatrixSet=function(){return this.matrixSet_},e.prototype.getRequestEncoding=function(){return this.requestEncoding_},e.prototype.getStyle=function(){return this.style_},e.prototype.getVersion=function(){return this.version_},e.prototype.getKeyForDimensions_=function(){var t=0,e=[];for(var n in this.dimensions_)e[t++]=n+"-"+this.dimensions_[n];return e.join("/")},e.prototype.updateDimensions=function(t){Object(It["a"])(this.dimensions_,t),this.setKey(this.getKeyForDimensions_())},e.prototype.createFromWMTSTemplate=function(t){var e=this.requestEncoding_,n={layer:this.layer_,style:this.style_,tilematrixset:this.matrixSet_};e==ce.KVP&&Object(It["a"])(n,{Service:"WMTS",Request:"GetTile",Version:this.version_,Format:this.format_}),t=e==ce.KVP?oe(t,n):t.replace(/\{(\w+?)\}/g,(function(t,e){return e.toLowerCase()in n?n[e.toLowerCase()]:t}));var i=this.tileGrid,o=this.dimensions_;return function(n,r,a){if(n){var s={TileMatrix:i.getMatrixId(n[0]),TileCol:n[1],TileRow:n[2]};Object(It["a"])(s,o);var l=t;return l=e==ce.KVP?oe(l,s):l.replace(/\{(\w+?)\}/g,(function(t,e){return s[e]})),l}}},e}(ne),ge=fe;var me=n("869f"),ye=n("8778"),ve=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ae=function(t){function e(e,n,i,o,r,a,s){var c=this,u=e.getExtent(),h=n.getExtent(),d=h?Object(l["A"])(i,h):i,p=Object(l["w"])(d),f=Ht(e,n,p,o),g=Dt,m=new Vt(e,n,d,u,f*g,o),y=m.calculateSourceExtent(),v=a(y,f,r),A=v?me["a"].IDLE:me["a"].EMPTY,_=v?v.getPixelRatio():1;return c=t.call(this,i,o,_,A)||this,c.targetProj_=n,c.maxSourceExtent_=u,c.triangulation_=m,c.targetResolution_=o,c.targetExtent_=i,c.sourceImage_=v,c.sourcePixelRatio_=_,c.contextOptions_=s,c.canvas_=null,c.sourceListenerKey_=null,c}return ve(e,t),e.prototype.disposeInternal=function(){this.state==me["a"].LOADING&&this.unlistenSource_(),t.prototype.disposeInternal.call(this)},e.prototype.getImage=function(){return this.canvas_},e.prototype.getProjection=function(){return this.targetProj_},e.prototype.reproject_=function(){var t=this.sourceImage_.getState();if(t==me["a"].LOADED){var e=Object(l["D"])(this.targetExtent_)/this.targetResolution_,n=Object(l["z"])(this.targetExtent_)/this.targetResolution_;this.canvas_=Zt(e,n,this.sourcePixelRatio_,this.sourceImage_.getResolution(),this.maxSourceExtent_,this.targetResolution_,this.targetExtent_,this.triangulation_,[{extent:this.sourceImage_.getExtent(),image:this.sourceImage_.getImage()}],0,void 0,this.contextOptions_)}this.state=t,this.changed()},e.prototype.load=function(){if(this.state==me["a"].IDLE){this.state=me["a"].LOADING,this.changed();var t=this.sourceImage_.getState();t==me["a"].LOADED||t==me["a"].ERROR?this.reproject_():(this.sourceListenerKey_=Object(c["a"])(this.sourceImage_,g["a"].CHANGE,(function(t){var e=this.sourceImage_.getState();e!=me["a"].LOADED&&e!=me["a"].ERROR||(this.unlistenSource_(),this.reproject_())}),this),this.sourceImage_.load())}},e.prototype.unlistenSource_=function(){Object(c["c"])(this.sourceListenerKey_),this.sourceListenerKey_=null},e}(ye["a"]),_e=Ae,be=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ce={IMAGELOADSTART:"imageloadstart",IMAGELOADEND:"imageloadend",IMAGELOADERROR:"imageloaderror"},Ie=function(t){function e(e,n){var i=t.call(this,e)||this;return i.image=n,i}return be(e,t),e}(U["a"]),we=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,projection:e.projection,state:e.state})||this;return n.on,n.once,n.un,n.resolutions_=void 0!==e.resolutions?e.resolutions:null,n.reprojectedImage_=null,n.reprojectedRevision_=0,n.contextOptions_=!1===e.imageSmoothing?Tt:void 0,n}return be(e,t),e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getContextOptions=function(){return this.contextOptions_},e.prototype.findNearestResolution=function(t){if(this.resolutions_){var e=Object(Z["h"])(this.resolutions_,t,0);t=this.resolutions_[e]}return t},e.prototype.getImage=function(t,e,n,i){var o=this.getProjection();if(Ft&&o&&i&&!Object(z["f"])(o,i)){if(this.reprojectedImage_){if(this.reprojectedRevision_==this.getRevision()&&Object(z["f"])(this.reprojectedImage_.getProjection(),i)&&this.reprojectedImage_.getResolution()==e&&Object(l["o"])(this.reprojectedImage_.getExtent(),t))return this.reprojectedImage_;this.reprojectedImage_.dispose(),this.reprojectedImage_=null}return this.reprojectedImage_=new _e(o,i,t,e,n,function(t,e,n){return this.getImageInternal(t,e,n,o)}.bind(this),this.contextOptions_),this.reprojectedRevision_=this.getRevision(),this.reprojectedImage_}return o&&(i=o),this.getImageInternal(t,e,n,i)},e.prototype.getImageInternal=function(t,e,n,i){return Object(v["b"])()},e.prototype.handleImageChange=function(t){var e=t.target;switch(e.getState()){case me["a"].LOADING:this.loading=!0,this.dispatchEvent(new Ie(Ce.IMAGELOADSTART,e));break;case me["a"].LOADED:this.loading=!1,this.dispatchEvent(new Ie(Ce.IMAGELOADEND,e));break;case me["a"].ERROR:this.loading=!1,this.dispatchEvent(new Ie(Ce.IMAGELOADERROR,e));break;default:}},e}(B["a"]);function Ee(t,e){t.getImage().src=e}var Oe=we,Se=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),xe=[101,101],Pe=function(t){function e(e){var n=this,i=e||{};return n=t.call(this,{attributions:i.attributions,imageSmoothing:i.imageSmoothing,projection:i.projection,resolutions:i.resolutions})||this,n.crossOrigin_=void 0!==i.crossOrigin?i.crossOrigin:null,n.url_=i.url,n.imageLoadFunction_=void 0!==i.imageLoadFunction?i.imageLoadFunction:Ee,n.params_=i.params||{},n.v13_=!0,n.updateV13_(),n.serverType_=i.serverType,n.hidpi_=void 0===i.hidpi||i.hidpi,n.image_=null,n.imageSize_=[0,0],n.renderedRevision_=0,n.ratio_=void 0!==i.ratio?i.ratio:1.5,n}return Se(e,t),e.prototype.getFeatureInfoUrl=function(t,e,n,i){if(void 0!==this.url_){var o=Object(z["k"])(n),r=this.getProjection();r&&r!==o&&(e=Ht(r,o,t,e),t=Object(z["s"])(t,o,r));var a=Object(l["y"])(t,e,0,xe),s={SERVICE:"WMS",VERSION:Mt,REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.params_["LAYERS"]};Object(It["a"])(s,this.params_,i);var c=Math.floor((t[0]-a[0])/e),u=Math.floor((a[3]-t[1])/e);return s[this.v13_?"I":"X"]=c,s[this.v13_?"J":"Y"]=u,this.getRequestUrl_(a,xe,1,r||o,s)}},e.prototype.getLegendUrl=function(t,e){if(void 0!==this.url_){var n={SERVICE:"WMS",VERSION:Mt,REQUEST:"GetLegendGraphic",FORMAT:"image/png"};if(void 0===e||void 0===e["LAYER"]){var i=this.params_.LAYERS,o=!Array.isArray(i)||1===i.length;if(!o)return;n["LAYER"]=i}if(void 0!==t){var r=this.getProjection()?this.getProjection().getMetersPerUnit():1,a=28e-5;n["SCALE"]=t*r/a}return Object(It["a"])(n,e),oe(this.url_,n)}},e.prototype.getParams=function(){return this.params_},e.prototype.getImageInternal=function(t,e,n,i){if(void 0===this.url_)return null;e=this.findNearestResolution(e),1==n||this.hidpi_&&void 0!==this.serverType_||(n=1);var o=e/n,r=Object(l["w"])(t),a=Math.ceil(Object(l["D"])(t)/o),s=Math.ceil(Object(l["z"])(t)/o),c=Object(l["y"])(r,o,0,[a,s]),u=Math.ceil(this.ratio_*Object(l["D"])(t)/o),h=Math.ceil(this.ratio_*Object(l["z"])(t)/o),d=Object(l["y"])(r,o,0,[u,h]),p=this.image_;if(p&&this.renderedRevision_==this.getRevision()&&p.getResolution()==e&&p.getPixelRatio()==n&&Object(l["g"])(p.getExtent(),c))return p;var f={SERVICE:"WMS",VERSION:Mt,REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};Object(It["a"])(f,this.params_),this.imageSize_[0]=Math.round(Object(l["D"])(d)/o),this.imageSize_[1]=Math.round(Object(l["z"])(d)/o);var m=this.getRequestUrl_(d,this.imageSize_,n,i,f);return this.image_=new Rt["a"](d,e,n,m,this.crossOrigin_,this.imageLoadFunction_),this.renderedRevision_=this.getRevision(),this.image_.addEventListener(g["a"].CHANGE,this.handleImageChange.bind(this)),this.image_},e.prototype.getImageLoadFunction=function(){return this.imageLoadFunction_},e.prototype.getRequestUrl_=function(t,e,n,i,o){if(Object(O["a"])(void 0!==this.url_,9),o[this.v13_?"CRS":"SRS"]=i.getCode(),"STYLES"in this.params_||(o["STYLES"]=""),1!=n)switch(this.serverType_){case ie.GEOSERVER:var r=90*n+.5|0;"FORMAT_OPTIONS"in o?o["FORMAT_OPTIONS"]+=";dpi:"+r:o["FORMAT_OPTIONS"]="dpi:"+r;break;case ie.MAPSERVER:o["MAP_RESOLUTION"]=90*n;break;case ie.CARMENTA_SERVER:case ie.QGIS:o["DPI"]=90*n;break;default:Object(O["a"])(!1,8);break}o["WIDTH"]=e[0],o["HEIGHT"]=e[1];var a,s=i.getAxisOrientation();return a=this.v13_&&"ne"==s.substr(0,2)?[t[1],t[0],t[3],t[2]]:t,o["BBOX"]=a.join(","),oe(this.url_,o)},e.prototype.getUrl=function(){return this.url_},e.prototype.setImageLoadFunction=function(t){this.image_=null,this.imageLoadFunction_=t,this.changed()},e.prototype.setUrl=function(t){t!=this.url_&&(this.url_=t,this.image_=null,this.changed())},e.prototype.updateParams=function(t){Object(It["a"])(this.params_,t),this.updateV13_(),this.image_=null,this.changed()},e.prototype.updateV13_=function(){var t=this.params_["VERSION"]||Mt;this.v13_=Object(re["a"])(t,"1.3")>=0},e}(Oe),Me=Pe,Te=n("2ce2"),Re=n("c807"),je=n("ac29"),ke=n("5c7d"),Le={getLogger:function(t){Object({NODE_ENV:"production",BASE_URL:"/geoportal-extensions-openlayers-samples/"}).VERBOSE?ke["enableAll"]():ke["disableAll"]();var e=t||"default";return ke["getLogger"](e)}},Ge=Le,Ne={PARAM_MISSING:"Parameter(s) '%var%' missing",PARAM_EMPTY:"Parameter(s) '%var%' empty",PARAM_TYPE:"Wrong type(s) for parameter(s) '%var%'",PARAM_FORMAT:"Parameter(s) '%var%' not correctly formatted",PARAM_NOT_SUPPORT:"Value(s) for parameter(s) '%var%' not supported",PARAM_NOT_SUPPORT_NODEJS:"Value(s) for parameter(s) '%var%' not supported to NodeJS",PARAM_UNKNOWN:"Value(s) for parameter(s) '%var%' unknown",SERVICE_REQUEST_BUILD:"An error occurred during the request building of the service",SERVICE_REQUEST_EMPTY:"The request sent to the service is empty",SERVICE_RESPONSE_EXCEPTION:"The service returned an exception : '%var%'",SERVICE_RESPONSE_EXCEPTION_2:"The service returned an exception",SERVICE_RESPONSE_ANALYSE:"An error occurred while parsing the response '%var%' of the service",SERVICE_RESPONSE_ANALYSE_2:"An unknown error occurred while parsing the response",SERVICE_RESPONSE_EMPTY:"The response of the service is empty",SERVICE_RESPONSE_EMPTY_2:"The response from the service could not be analyzed or is empty",SERVICE_RESPONSE_FORMAT:"The format of the service response is not supported (handled format(s) : '%var%')",SERVICE_RESPONSE_FORMAT_2:"The format of the service response is not supported",SERVICE_RESPONSE_FORMAT_3:"No suggestion matching the search",CLASS_CONSTRUCTOR:"'%var%' constructor cannot be called as a function.",getMessage:function(t,e){if(0===Object.keys(arguments).length)return"Message indefined !";var n=Array.prototype.slice.call(arguments),i=n.shift(),o=n,r=this[i];try{r=Array.isArray(o)&&o.length>0?r.replace("%var%",o.join(" - ")):r.replace("%var%","%var% (not specified)")}catch(a){}return r}},De=Ne,Fe={normalyzeParameters:function(t){var e=null;if(t){var n=[];for(var i in t)if(t.hasOwnProperty(i)){var o=t[i];o||(o=""),n.push(i+"="+o)}e=n.join("&")}return e},normalyzeUrl:function(t,e,n){var i=t;if(t){var o=t.indexOf("?");-1===o&&(i+="?"),-1!==o&&o!==t.length-1&&(i+="&")}return e&&("string"===typeof e?(e=e.replace("?",""),i+=e):i+=this.normalyzeParameters(e)),n&&(i=encodeURIComponent(i)),i},indent:function(t,e){var n=t||0;return new Array(n+1).join("\t")+e}},Ue=Fe,Be=n("1368"),ze=n.n(Be),Ve={call:function(t){var e=Ge.getLogger("XHR");if(e.trace("[XHR::call()]"),ze.a.polyfill(),!t.url)throw new Error("missing parameter : url is not defined !");if(!t.method)throw new Error("missing parameter : method is not defined !");t.format||(t.format="text");var n={};switch(n.url=t.url,n.data=t.data?t.data:null,n.method=t.method,n.timeOut=t.timeOut||0,n.scope=t.scope||this,n.proxy=t.proxy||null,n.content=t.content||null,n.headers=t.headers||{referer:"http://localhost"},t.method){case"DELETE":case"GET":break;case"PUT":case"POST":n.content=t.content?t.content:"application/x-www-form-urlencoded",n.headers=t.headers?t.headers:{referer:"http://localhost"};break;case"HEAD":case"OPTIONS":throw new Error("HTTP method not yet supported !");default:throw new Error("HTTP method unknown !")}switch(t.format){case"text":this.__call(n).then((function(n){e.trace(n),t.onResponse.call(this,n)})).catch((function(e){t.onFailure.call(this,e)}));break;case"json":this.__callJSON(n).then((function(n){e.trace(n),t.onResponse.call(this,n)})).catch((function(e){t.onFailure.call(this,e)}));break;case"xml":this.__callXML(n).then((function(n){e.trace(n),t.onResponse.call(this,n)})).catch((function(e){t.onFailure.call(this,e)}));break;default:throw new Error("This output Format is not yet supported !")}},__call:function(t){var e=Ge.getLogger("XHR");e.trace("[XHR::__call()]");var i=new Promise((function(i,o){var r="POST"===t.method||"PUT"===t.method?1:0;t.data&&("object"===typeof t.data&&Object.keys(t.data).length||"string"===typeof t.data&&t.data.length)&&!r&&(t.url=Ue.normalyzeUrl(t.url,t.data)),e.trace("URL = ",t.url);var a=null;if("undefined"===typeof window){var s=n("a18f"),l={headers:{Referer:"https://localhost"}};return t.data&&"string"===typeof t.data&&r&&(l={method:t.method,body:t.data,headers:{"Content-Type":t.content,Referer:"https://localhost"}}),s(t.url,l).then((function(t){if(t.ok)i(t.text());else{var e="Errors Occured on Http Request (status : '"+t.statusText+"' | url : '"+t.url+"')",n=t.status;o({message:e,status:n})}})).catch((function(t){o({message:t,status:-1})}))}if(window.XMLHttpRequest){e.trace("XMLHttpRequest"),a=new XMLHttpRequest,a.open(t.method,t.url,!0),a.overrideMimeType=t.content;var c=null;t.timeOut>0&&(e.trace("XHR - TimeOut actif !"),c=window.setTimeout((function(){var t="TimeOut Occured on Http Request with XMLHttpRequest !";o({message:t,status:-1})}),t.timeOut)),r&&(e.trace("data = ",t.data),a.setRequestHeader("Content-type",t.content)),a.onerror=function(t){console.log(t),o(new Error("Errors Occured on Http Request with XMLHttpRequest !"))},a.ontimeout=function(t){console.log(t),o(new Error("TimeOut Occured on Http Request with XMLHttpRequest !"))},a.onreadystatechange=function(t){if(4===a.readyState)if(200===a.status)window.clearTimeout(c),i(a.response);else{var e="Errors Occured on Http Request (status : '"+t.target.statusText+"' | url : '"+t.target.responseURL+"' | response : '"+t.target.response+"')",n=t.target.status;o({message:e,status:n})}};var u=t.data&&r?t.data:null;a.send(u)}else{if(!window.XDomainRequest)throw new Error("CORS not supported");e.trace("XDomainRequest"),a=new XDomainRequest,a.open(t.method,t.url),a.overrideMimeType=t.content,t.timeOut>0&&(a.timeout=t.timeout,e.trace("XHR - TimeOut actif !")),r&&a.setRequestHeader("Content-type",t.content),a.onerror=function(){o(new Error("Errors Occured on Http Request with XMLHttpRequest !"))},a.ontimeout=function(){o(new Error("TimeOut Occured on Http Request with XMLHttpRequest !"))},a.onload=function(t){if(200===a.status)i(a.responseText);else{var e="Errors Occured on Http Request (status : '"+t.target.statusText+"' | url : '"+t.target.responseURL+"')",n=t.target.status;o({message:e,status:n})}};var h=t.data&&r?t.data:null;a.send(h)}}));return i},__callJSON:function(t){return this.__call(t).then(JSON.parse).catch((function(e){console.log("_callJSON failed on : ",t.url,e)}))},__callXML:function(t){return this.__call(t).then((function(t){var e;if("undefined"===typeof window){var i=n("29d8").DOMParser;e=(new i).parseFromString(t,"text/xml")}else if(window.DOMParser){var o=new window.DOMParser;e=o.parseFromString(t,"text/xml")}else e=new window.ActiveXObject("Microsoft.XMLDOM"),e.async=!1,e.loadXML(t);return e})).catch((function(e){console.log("__callXML failed on : ",t.url,e)}))}},We=Ve,Ye={uuid:function(){var t=Math.floor(Date.now());return function(){return t++}}(),call:function(t){var e=Ge.getLogger("JSONP");if(e.trace("[JSONP::call ()]"),!t)throw e.error("missing parameter : options !"),new Error("missing parameter : options !");if(!t.url)throw e.error("missing parameter : options.url !"),new Error("missing parameter : options.url !");if(t.timeOut||(e.info("setting 'options.timeOut' default value"),t.timeOut=0),!t.onResponse)throw e.error("missing parameter : options.onResponse !"),new Error("missing parameter : options.onResponse !");var n="string"===typeof t.callbackSuffix?t.callbackSuffix:this.uuid(),i=!1,o=!1,r=t.url.indexOf("callback=");if(-1!==r){i=!0;var a=t.url.indexOf("&",r);-1===a&&(a=t.url.length);var s=t.url.substring(r+9,a);s&&(o=!0,t.callbackName=s,e.info("setting 'options.callbackName' value ("+t.callbackName+") from 'options.url' parameter"))}if(!i){var l=t.url.indexOf("?");-1===l?t.url=t.url+"?callback=":l===t.url.length?t.url=t.url+"callback=":t.url=t.url+"&callback=",e.info("setting callback default key in 'options.url' : "+t.url)}var c=!!t.callbackName||o;if(o||(t.callbackName||(e.info("setting 'options.callbackName' default value"),t.callbackName="callback",(n||""===n)&&(t.callbackName+=n)),t.url=t.url.replace("callback=","callback="+t.callbackName),e.info("setting callback function name in 'options.url' : "+t.url)),t.onTimeOut||(e.info("setting 'options.onTimeOut' default value"),t.onTimeOut=function(){console.log("TimeOut while invoking url : "+t.url)}),!c){var u=this,h=null;t.timeOut>0&&(h=window.setTimeout((function(){window[t.callbackName]=function(){},t.onTimeOut(),u._deleteScript(n)}),t.timeOut)),window[t.callbackName]=function(e){window.clearTimeout(h),t.onResponse(e),u._deleteScript(n)}}this._createScript(n,t.url)},_createScript:function(t,e){var n,i=document.getElementById("results"+t);n=document.createElement("script"),n.setAttribute("type","text/javascript"),n.setAttribute("src",e),n.setAttribute("charset","UTF-8"),n.setAttribute("id","results"+t),n.setAttribute("async","true");var o=document.documentElement||document.getElementsByTagName("head")[0];null===i?o.appendChild(n):o.replaceChild(n,i)},_deleteScript:function(t){var e=document.getElementById("results"+t);if(e){var n=e.parentNode||document.documentElement;if(!n)return;n.removeChild(e)}}},qe=Ye,He={send:function(t){var e=t||{method:"GET",protocol:"XHR",timeOut:0,format:null,wrap:!0,nocache:!0,output:"json",callback:null,callbackSuffix:null};if("undefined"!==typeof window||"JSONP"!==t.protocol){if("XHR"===t.protocol||"json"===t.format?e.wrap=!1:"JSONP"===t.protocol&&"xml"===t.format&&(e.wrap=!0),e.callback=null,e.output=e.wrap?"json":null,e.wrap){var n={};n.output=e.output,n.callback=e.callback,delete n.callback,e.url=Ue.normalyzeUrl(t.url,n)}switch(e.protocol){case"XHR":"GET"===t.method&&t.nocache&&(e.url=Ue.normalyzeUrl(e.url,{t:(new Date).getTime()})),We.call(e);break;case"JSONP":e.data&&(e.url=Ue.normalyzeUrl(e.url,e.data)),qe.call(e);break;default:throw new Error("protocol not supported (XHR|JSONP) !")}}else console.log("Value (s) for parameter (s) 'protocol=JSONP (instead use XHR)' not supported to NodeJS")}},Xe=He;function Ze(t){if(!(this instanceof Ze))throw new TypeError("ErrorService constructor cannot be called as a function.");var e=t;"string"===typeof t||t instanceof String?(this.message=t,this.status=-1,this.type=Ze.TYPE_UNKERR):(this.message=e.message||"undefined!?",this.type=e.type,this.status=e.status||-1),this.name="ErrorService",this.stack=(new Error).stack}Ze.TYPE_SRVERR="SERVICE_ERROR",Ze.TYPE_USEERR="USAGE_ERROR",Ze.TYPE_UNKERR="UNKNOWN_ERROR",Ze.prototype=Object.create(Error.prototype,{constructor:{value:Ze,writable:!0,configurable:!0}});var Ke=Ze,Je=n("1d13");function Qe(t){if(!(this instanceof Qe))throw new TypeError(De.getMessage("CLASS_CONSTRUCTOR"));for(var e in this.logger=Ge.getLogger("CommonService"),this.logger.trace("[Constructeur CommonService (options)]"),this.options={protocol:"XHR",ssl:!0,proxyURL:"",callbackSuffix:null,httpMethod:"GET",timeOut:0,rawResponse:!1,scope:this,onSuccess:function(t){console.log("onSuccess - la reponse est la suivante : ",t)},onFailure:function(t){200!==t.status&&t.status?console.log("onFailure - Erreur (",t.status,") : ",t.message):console.log("onFailure : ",t.message)}},t)t.hasOwnProperty(e)&&(this.options[e]=t[e]);this.options.rawResponse&&!this.options.onSuccess&&(this.options.onSuccess=function(t){console.log("onSuccess - la réponse brute du service est la suivante : ",t)});var n=!(null===this.options.onSuccess||"function"!==typeof this.options.onSuccess);if(!n)throw new Error(De.getMessage("PARAM_MISSING","onSuccess()"));switch(this.options.httpMethod="string"===typeof t.httpMethod?t.httpMethod.toUpperCase():"GET",this.options.httpMethod){case"POST":case"GET":break;case"PUT":case"DELETE":case"HEAD":case"OPTIONS":throw new Error(De.getMessage("PARAM_NOT_SUPPORT","httpMethod"));default:throw new Error(De.getMessage("PARAM_UNKNOWN","httpMethod"))}switch(this.options.protocol="string"===typeof t.protocol?t.protocol.toUpperCase():"XHR",this.options.protocol){case"JSONP":case"XHR":break;default:throw new Error(De.getMessage("PARAM_UNKNOWN","protocol"))}if("undefined"===typeof window&&"JSONP"===this.options.protocol)throw new Error(De.getMessage("PARAM_NOT_SUPPORT_NODEJS","protocol=JSONP (instead use XHR)"));"JSONP"===this.options.protocol&&(this.options.httpMethod="GET"),this.options.nocache=t.nocache||!1,this.options.outputFormat=null,this.request=null,this.response=null}Qe.prototype={constructor:Qe,call:function(){this.logger.trace("CommonService::call ()");var t=this;function e(){this.logger.trace("CommonService::run ()"),this.buildRequest.call(t,r,n)}function n(e){this.logger.trace("CommonService::onBuildRequest : ",e),this.callService.call(t,r,i)}function i(e){this.logger.trace("CommonService::onCallService : ",e),this.analyzeResponse.call(t,r,o)}function o(t){if(this.logger.trace("CommonService::onAnalyzeResponse : ",t),!t)return r.call(this,new Ke("Analyse de la reponse en échec !?"));this.options.onSuccess.call(this,t)}function r(t){this.logger.trace("CommonService::onError()");var e=t;e instanceof Ke||(e=new Ke(t.message)),this.options.onFailure.call(this,e)}e.call(t)},buildRequest:function(t,e){this.logger.error("overwritten method !"),t&&t.call(this,"This method must be overwritten !"),e.call(this,"This method must be overwritten !")},callService:function(t,e){var n=null,i=this.request,o=!(!this.options.proxyURL||"XHR"!==this.options.protocol),r={"gp-access-lib":Je.version};this.options.apiKey&&(r.apiKey=this.options.apiKey),this.options.serverUrl=Ue.normalyzeUrl(this.options.serverUrl,r,!1),o&&("GET"===this.options.httpMethod&&(n=this.options.proxyURL+Ue.normalyzeUrl(this.options.serverUrl,this.request,!0),i=null),"POST"===this.options.httpMethod&&(n=this.options.proxyURL+Ue.normalyzeUrl(this.options.serverUrl,null,!0),i=this.request));var a=this,s={url:n||this.options.serverUrl,method:this.options.httpMethod,protocol:this.options.protocol,timeOut:this.options.timeOut||0,format:this.options.outputFormat,nocache:this.options.nocache||!1,wrap:"XHR"!==this.options.protocol,callbackSuffix:this.options.callbackSuffix,data:i,headers:null,content:this.options.contentType||"application/xml",scope:this.options.scope||this,onResponse:function(n){a.logger.trace("callService::onResponse()");var i=null;if("XHR"===a.options.protocol&&(a.logger.trace("Response XHR",n),i=n),"JSONP"===a.options.protocol){if(a.logger.trace("Response JSON",n),!n)return void t.call(a,new Ke("Le contenu de la reponse est vide !?"));if(n.http){if(200!==n.http.status)return void t.call(a,new Ke({status:n.http.status,message:n.http.error,type:Ke.TYPE_SRVERR}));i=n.xml,a.options.rawResponse&&(i=n)}else i=n}if("function"===typeof a.options.onBeforeParse){var o=a.options.onBeforeParse(i);"string"===typeof o&&(i=o)}a.response=i,e.call(a,i)},onFailure:function(e){a.logger.trace("callService::onFailure()"),e.type=Ke.TYPE_SRVERR,t.call(a,new Ke(e))},onTimeOut:function(){a.logger.trace("callService::onTimeOut()"),t.call(a,new Ke("TimeOut!"))}};Xe.send(s)},analyzeResponse:function(t,e){this.logger.error("overwritten method !"),t&&t.call(this,"This method must be overwritten !"),e.call(this,"This method must be overwritten !")}};var $e=Qe,tn={ssl:!0,newUrl:function(t){var e,n="data.geopf.fr";return e=!1===tn.ssl?"http://":"https://",e+n+t},Alti:{new_key:{"elevation-json":"/altimetrie/1.0/calcul/alti/rest/elevation.json","elevation-xml":"/altimetrie/1.0/calcul/alti/rest/elevation.xml","profil-json":"/altimetrie/1.0/calcul/alti/rest/elevationLine.json","profil-xml":"/altimetrie/1.0/calcul/alti/rest/elevationLine.xml"},newUrl:function(){return{"elevation-json":tn.newUrl(this.new_key["elevation-json"]),"elevation-xml":tn.newUrl(this.new_key["elevation-xml"]),"profil-json":tn.newUrl(this.new_key["profil-json"]),"profil-xml":tn.newUrl(this.new_key["profil-xml"])}}},ProcessIsoCurve:{new_key:"/navigation/isochrone",newUrl:function(){return tn.newUrl(this.new_key)}},Config:{_key:"https://raw.githubusercontent.com/IGNF/geoportal-configuration/new-url/dist/",url:function(t){Array.isArray(t)||(t=t.split(","));for(var e=[],n=0;ni(t,{credentials:"same-origin"}).then(t=>{if(t.ok)return t.json().then(t=>t).catch(t=>{throw new Error("Exception Json : "+t)});throw new Error("Exception HTTP : "+t.status+" (status code) !")}).catch(t=>new Promise((e,n)=>{n(t)})),a=[];for(let n=0;n{if(!t)throw new Error("results config empty !?");t.forEach(t=>{this.listConfigResults.push(t)})}).then(()=>{e.call(this,this.listConfigResults)}).catch(e=>{t.call(this,e)})},sn=function(t,e){this.listConfigResults=[];for(var n=0;ne||t__IDENTIFIER__\x3c!-- __DATAINPUTS__ --\x3e__RAWDATAOUTPUT__',input:"__KEY____DATA__"}},namespaceByDefault:function(){var t=['xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"','xmlns="http://www.opengis.net/wps/1.0.0"','xmlns:wfs="http://www.opengis.net/wfs"','xmlns:wps="http://www.opengis.net/wps/1.0.0"','xmlns:ows="http://www.opengis.net/ows/1.1"','xmlns:gml="http://www.opengis.net/gml"','xmlns:ogc="http://www.opengis.net/ogc"','xmlns:wcs="http://www.opengis.net/wcs/1.1.1"','xmlns:xlink="http://www.w3.org/1999/xlink"'];return t.join(" ")},schemaLocationByDefault:function(){return'xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd"'},processRequestString:function(){this.logger.trace("WPS::processRequestString ()");var t="";if("POST"===this.method)t=this.template.post.value;else{if("GET"!==this.method)return this.logger.error("No other method supported by the service !"),!1;t=this.template.get.value}return t=t.replace(/__SERVICE__/g,this.paramservice),t=t.replace(/__VERSION__/g,this.paramversion),t=t.replace(/__RAWDATAOUTPUT__/g,this.paramrawdataoutput),t=t.replace(/__IDENTIFIER__/g,this.paramidentifier),t=t.replace(/__REQUEST__/g,this.paramrequest),"POST"===this.method&&(t=t.replace(/__NAMESPACE__/g,this.namespaceByDefault),t=t.replace(/__SCHEMALOCATION__/g,this.schemaLocationByDefault)),t=t.replace(//g,this.__addDataInputs()),t?(this.requestString=t,this.logger.trace("traduction tmpl",t),!0):(this.logger.warn("traduction tmpl : empty request !?"),!1)},__addDataInputs:function(){this.logger.trace("WPS::__addDataInputs ()");for(var t="GET"===this.method?this.template.get.input:this.template.post.input,e="GET"===this.method?";":"",n="",i=this,o=this.DataObject.getData(),r=0;r0)for(var s=o.getElementsByTagName("parsererror"),l=0;l0){var n=Sn(t);e["attributes"]=n}if(t.hasChildNodes())for(var i,o={},r=t.childNodes,a=0;a0){for(var e={},n=t.attributes,i=0;i0?e.index=e.filters.type[0]:e.index=e.filters.type),delete e.filters.type),e.filters.bbox&&(this.logger.warn("The parameter 'filterOptions.bbox' is deprecated"),delete e.filters.bbox)),delete e.filterOptions),e.position&&(e.position.x&&(this.logger.warn("The parameter 'position.x' is deprecated"),e.position.lon||(e.position.lon=e.position.x),delete e.position.x),e.position.y&&(this.logger.warn("The parameter 'position.y' is deprecated"),e.position.lat||(e.position.lat=e.position.y),delete e.position.y)),e.returnFreeForm&&(this.logger.warn("The parameter 'returnFreeForm' is deprecated"),delete e.returnFreeForm),e.srs&&(this.logger.warn("The parameter 'srs' is deprecated"),delete e.srs),e},ii.prototype.buildRequest=function(t,e){var n={httpMethod:this.options.httpMethod,geocodeMethod:"search",query:this.options.query,index:this.options.index,returnTrueGeometry:this.options.returnTrueGeometry,position:this.options.position,maxResp:this.options.maximumResponses,filters:this.options.filters};this.request=qn.build(n),this.request?e.call(this,this.request):t.call(this,new Ke(De.getMessage("SERVICE_REQUEST_BUILD")))},ii.prototype.analyzeResponse=function(t,e){if(this.response){var n={response:this.response,rawResponse:this.options.rawResponse,onError:t,onSuccess:e,scope:this};ni.build(n)}else t.call(this,new Ke(De.getMessage("SERVICE_RESPONSE_EMPTY")))};var oi=ii;function ri(t){if(!(this instanceof ri))throw new TypeError(De.getMessage("CLASS_CONSTRUCTOR","ReverseGeocode"));this.CLASSNAME="ReverseGeocode",this.logger=Ge.getLogger("Gp.Services.ReverseGeocode"),this.logger.trace("[Constructeur ReverseGeocode (options)]");var e=this.patchOptionConvertor(t);if(e.serverUrl||(e.serverUrl=en.ReverseGeocode.newUrl()),$e.apply(this,[e]),e.searchGeometry)this.options.searchGeometry=e.searchGeometry;else if(!e.position)throw new Error(De.getMessage("PARAM_MISSING","searchGeometry"));if(e.index||(this.options.index=e.index="StreetAddress"),e.filters)for(var n=Object.keys(e.filters),i=0;i0?e.index=e.filterOptions.type[0]:e.index=e.filterOptions.type),delete e.filterOptions.type),e.filterOptions.bbox&&(this.logger.warn("The parameter 'filterOptions.bbox' is deprecated"),e.searchGeometry||(e.searchGeometry=this.bbox2Json(e.filterOptions.bbox)),delete e.filterOptions.bbox),e.filterOptions.circle&&(this.logger.warn("The parameter 'filterOptions.circle' is deprecated"),e.searchGeometry||(e.searchGeometry=this.circle2Json(e.filterOptions.circle)),delete e.filterOptions.circle),e.filterOptions.polygon&&(this.logger.warn("The parameter 'filterOptions.polygon' is deprecated"),e.searchGeometry||(e.searchGeometry=this.polygon2Json(e.filterOptions.polygon)),delete e.filterOptions.polygon),!e.filters&&Object.keys(e.filterOptions).length>0&&(e.filters=e.filterOptions),delete e.filterOptions),e.position&&(e.position.x&&(this.logger.warn("The parameter 'position.x' is deprecated"),e.position.lon||(e.position.lon=e.position.x),delete e.position.x),e.position.y&&(this.logger.warn("The parameter 'position.y' is deprecated"),e.position.lat||(e.position.lat=e.position.y),delete e.position.y)),e.srs&&(this.logger.warn("The parameter 'srs' is deprecated"),delete e.srs),e},ri.prototype.buildRequest=function(t,e){var n={httpMethod:this.options.httpMethod,geocodeMethod:"reverse",searchGeometry:this.options.searchGeometry,index:this.options.index,position:this.options.position,returnTrueGeometry:this.options.returnTrueGeometry,maxResp:this.options.maximumResponses,filters:this.options.filters};this.request=qn.build(n),this.request?e.call(this,this.request):t.call(this,new Ke(De.getMessage("SERVICE_REQUEST_BUILD")))},ri.prototype.analyzeResponse=function(t,e){if(this.response){var n={response:this.response,rawResponse:this.options.rawResponse,onError:t,onSuccess:e,scope:this};ni.build(n)}else t.call(this,new Ke(De.getMessage("SERVICE_RESPONSE_EMPTY")))},ri.prototype.bbox2Json=function(t){return{type:"Polygon",coordinates:[[[t.left,t.top],[t.right,t.top],[t.right,t.bottom],[t.left,t.bottom],[t.left,t.top]]]}},ri.prototype.circle2Json=function(t){return{type:"Circle",radius:t.radius,coordinates:[t.x,t.y]}},ri.prototype.polygon2Json=function(t){for(var e={type:"Polygon",coordinates:[[]]},n=0;n0)for(var i in e.noProxyDomains)if(n.trace("[ProxyUtils] proxifyUrl : analyzing "+e.noProxyDomains[i]),-1!==t.indexOf(e.noProxyDomains[i]))return n.info("[ProxyUtils] proxifyUrl : "+t+" found in noProxyDomains list ("+e.noProxyDomains[i]+")."),t;return e.proxyUrl+encodeURIComponent(t)}},Xi=Hi,Zi=qi.getLogger("GfiUtils"),Ki={getLayerFormat:function(t){var e="function"===typeof t.getType?t.getType():null,n=t.getSource();if(e){if("VECTOR"===e||"VECTOR_TILE"===e)return"vector";if("TILE"===e)return n.tileGrid?"wmts":"wms";if("IMAGE"===e)return"wms"}else{if(n instanceof le||n instanceof Me)return"wms";if(n instanceof ge)return"wmts";if(n instanceof Pt["a"]||n instanceof St)return"vector"}return"unknown"},displayInfo:function(t,e,i,o,r){if(Zi.trace("[GfiUtils] : displayInfo..."),o||(o="text/html"),null!==i){var a=null,s=null,l=i;l=l.replace(/\n/g,""),l=l.replace(/(>)\s*(<)/g,"$1$2");var c="undefined"!==typeof window?window:null;if("object"===typeof exports&&null===window){var u=n("29d8").DOMParser;s=new u,a=s.parseFromString(l,o)}else if(c.DOMParser)s=new c.DOMParser,a=s.parseFromString(l,o);else{if(!c.ActiveXObject)return Zi.log("Incompatible environment for DOM Parser !"),!1;a=new c.ActiveXObject("Microsoft.XMLDOM"),a.async=!1,a.loadXML(l)}var h=a.getElementsByTagName("body");if(h&&1===h.length&&!h[0].hasChildNodes())return!1;var d=document.createElement("div");d.className="gp-feature-info-div";var p=document.createElement("input");p.type="button",p.className="gp-styling-button closer",p.onclick=function(){return t.featuresOverlay&&(t.removeOverlay(t.featuresOverlay),t.featuresOverlay=null),!1};var g=document.createElement("div");return g.className="gp-features-content-div",g.innerHTML=i,d.appendChild(g),d.appendChild(p),t.featuresOverlay&&(t.removeOverlay(t.featuresOverlay),t.featuresOverlay=null),t.featuresOverlay=new f({element:d,autoPan:r.autoPan,autoPanAnimation:r.autoPanAnimation,autoPanMargin:r.autoPanMargin,positioning:"bottom-center",insertFirst:!1,stopEvent:!0}),t.addOverlay(t.featuresOverlay),t.featuresOverlay.setPosition(e),t.featuresOverlay.render(),!0}},features2html:function(t,e){var n=document.createElement("div");return e.forEach((function(t){var e=t.getProperties();if(e.hasOwnProperty("render"))n.insertAdjacentHTML("beforeend",e["render"]);else{if(e.hasOwnProperty("name")){var i=document.createElement("div");i.className="gp-att-name-div",i.insertAdjacentHTML("afterbegin",e["name"]),n.appendChild(i)}if(e.hasOwnProperty("description")){var o=document.createElement("div");o.className="gp-att-description-div",o.insertAdjacentHTML("afterbegin",e["description"]),n.appendChild(o)}var r=null,a=!1,s=null,l=null,c=null,u=["fill","fill-opacity","stroke","stroke-opacity","stroke-width","marker-symbol","marker-color","marker-size","geometry","value","name","description","styleUrl","extensionsNode_","icon"];for(r in e)if(void 0!==e[r]&&-1===u.indexOf(r)){a||(s=document.createElement("div"),s.className="gp-att-others-div",l=document.createElement("ul"),a=!0),c=document.createElement("li");var h=document.createElement("span");h.className="gp-attname-others-span",h.appendChild(document.createTextNode(r+" : ")),c.appendChild(h),c.appendChild(document.createTextNode(e[r])),l.appendChild(c)}l&&(s.appendChild(l),n.appendChild(s))}}),t),n.hasChildNodes()||(n=null),n},layerGetFeatureAtCoordinates:function(t,e,n){var i=t.getPixelFromCoordinate(n);return t.hasFeatureAtPixel(i,(function(t){return t===e}))},displayVectorFeatureInfo:function(t,e,n,i){var o=t.getPixelFromCoordinate(e),r=[];if(t.forEachFeatureAtPixel(o,(function(t,e){(!n||n.indexOf(e)>-1)&&r.push(t)})),0===r.length)return!1;var a=this.features2html(t,r);return null!==a&&(this.displayInfo(t,e,a.innerHTML,"text/html",i),!0)},displayFeatureInfo:function(t,e,n,i,o){for(var r={},a=0;at.getResolution()&&(y=!1),y&&g.maxResolution&&g.maxResolution255)throw new Error("'"+t+"'' is greater than 255(0xff);");var e=Number(t).toString(16);return("0"+e).slice(-2)},num:function(t){return parseInt(t,16)},arrayToRgba:function(t){if(!Array.isArray(t))throw new Error("Not an array !");var e=t[0],n=t[1],i=t[2],o=t[3]||1,r="rgba("+e+", "+n+", "+i+", "+parseFloat(o)+")";return r},arrayToHex:function(t){if(!Array.isArray(t))throw new Error("Not an array !");var e=t[0],n=t[1],i=t[2],o=t[3],r=[this.hex(e),this.hex(n),this.hex(i)],a={};return a.hex="#"+r.join(""),o&&(a.opacity=parseFloat(o)),a},rgbaToHex:function(t){var e=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(0?.?\d+)\s*)?\)/,n=e.exec(t);if(!n)throw new Error("Invalid format: "+t);var i=n[1],o=n[2],r=n[3],a=n[4],s=[this.hex(i),this.hex(o),this.hex(r)],l={};return l.hex="#"+s.join(""),a&&(l.opacity=parseFloat(a)),l},hexToRgba:function(t,e){var n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;if(!t)throw new Error("Invalid format");t=t.replace(n,(function(t,e,n,i){return e+e+n+n+i+i}));var i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);i=i?{r:parseInt(i[1],16),g:parseInt(i[2],16),b:parseInt(i[3],16)}:null;var o=i?"rgba("+i.r+", "+i.g+", "+i.b+", "+e+")":null;return o},isHex:function(t){if(!t)return!1;if("#"!==t.charAt(0))return!1;var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,n=e.exec(t);return!!n},isRGB:function(t){if(!t)return!1;var e=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(0?.?\d+)\s*)?\)/,n=e.exec(t);return!!n}},ao=ro,so={lightOrange:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAgCAYAAAC/40AfAAASf3pUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjapZpptuO4DYX/cxVZAsEBIJfD8ZzsIMvPB8mvpq5OupN6Xc8uW5Yo4OIOdIfzr3/e8A/+lNo1lGpNu2rkT+mlp8GTFt8/4/ktsTy/nz85f96Tn18P6fN6TLzkB30ObPo5/ut1+XaC92HwrP5worY+b8yf3+jlc/72y4k+F8q+Il/F/pyof06U0/uGfE4w3tuK2pv9eAvzvI/7607a+zf4r/tVE3sffv13Maq3K9fJKZ0sOfL7U6ycsv/NIQ+eVH6nXDhQsj3P31fssxIK8rs6ffvTWdH1pZbfHvRTV749+6Vbnwpwa790q6TPIfmXIuu3x9++HqT+vitP6X+4cmmfZ+nn10eVz4p+qf5T/Lvbfe6ZuxhFKbV+burrFp9nHDe5hF+6BZamdEfBUOPRfzo/jZtfQGHHFSc/S7ok2nWlyJYhV87zuGSxxJJOSMaTlFbKz4stW+ppZe9f8R+5yXLPOze6uJ62l5y+rUWey/a4wnO1xpW3cGgSTiZ85G//hL/7gXt9FES8luOtFetKyYvNMrxz/pvD6IjcT1HrU+Cvn1//eF8zHaxeZR+Rzqnne4r5NvPFVn4anTmw8vjOoNj+nIAScenKYiTTAbomuYpKtJRMhEI2GjRYus/MpANSa9osMpWcld605JfmIybPoakmXg68DpnRiZqVOWt0aNCsUir4sdLA0Ki5llqrVqut9jo0a9GqqqZOisOylWDV1MyadRstt9Jq02attd5GTz1DmhBpt95672NwzcGZB58eHDDGTDPPMmuYOm222edYwGeVVZcuW231NXb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WdlbnQ9IkdpbXAgMi4xMCAoTGludXgpIgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTA1LTI0VDE3OjI1OjI3KzAyOjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/PofUkY4AAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfnBRgPGRuA4VZTAAAFcElEQVRYw82YW2xbVRaGv7XP8bHjXByHQkNhWigdVX1AikRBMBoQ8wASl4fRqPDAAxIPKAVxeRqQRohHBEVCaoGKUBCl4qHcNKCZVKMRRQxtgTaACLRKqlwB14NzM2ni2D2XvXjgBFXQOnFiA1uy/HB89u9/7bX+vf4l1HnpK57hTNCE0AzqAS5gAAuEID5KiWSiLPf4tp7YUjcSu4yLZzdi2IJyNXANcBlwAdAKzAHTwDhwDKEPywC+GZWHbPi7IKOvZIWguAnlr8BtwJ+AxDJeDYCPgF6Ed0hkh+Weov5mZLTHJMDeBjwYk0itYJtKTOpZML3SbYNfnYz2SBr0buARYENcFytdFvga2AGyT7p14Vcjoz3ShOgdKDuAi+pUewpMIDyCypvSreWGk9HdroOEV2F4A1hfTxGJCX2D5U7U/UzuD6NaXq49NRJhBsOjwMVLEtE4gaL4W5cV3IsxPEoizDT0ZLTHcSH6M/BWLLlVwpQKuPzhb+i8sRkv04Y/e5rvPigxtnM9trKU2k0D28A5LN3RsmXbrbFOU8DtQLpqfJqu97nh6TydmzvwWpOI8VDbxqbrkmz62yk+/Ps6yoe8KkeV/hHHfgrMNyrNEkBX1SAktgRs3T7ApV1rSWayiEkDLmLSJDNZLu1ay9btAyS2BEsEuWuZ99WKyRhgHeCcn8wGw/qbOnAS3jmfOwmP9Td1kNhQDduJcUwjyciS0RJXMMkWkPPUo/z4XFxZRhZII8mEwFC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I0VDE3OjI1OjAzKzAyOjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/PuhCAHgAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfnBRgPGQOTjc4FAAAFdklEQVRYw82YW2gcZRTHf+eb2dlkc9lsrFYr2notfSgWxKKiog8VvIFI9UFQEaWtYPFJfREfRRSEeqlttViLD/WGisYXrShWpfWC1WpSN5eN3cZumkuTzWY3c/mOD9lI0WSTTXbVA8M8zMz3n//5zvl/5xyhxqb3ewYvaERpAvUAFzCABUIQH6GAHyvKa76tJbbUjMRW4+LbC7GsQbgCWA+sAs4AWoA8MAxkgEMo32LoxDO98oIN/xdk9IGUYEYvRrgduAW4Gogt4NMA+BroQHkfm+qW3aP6n5HRTSYG9hZga5lEwyKWKZVJvQCmQ3bZ4F8no5skAXov8BiwspwXizUL9APPgOyVXTr5r5HRzdKI1TsRngHOqlHuKTCI8hhG3padWqw7GX3IddDwcixvAefXUkTKhH7HcBfifi8vh1E1H1cfGkGYxPI4cM68RGw5zf3y3S7IuedgeZwgTNZ1Z3Sz46LRNcA7Zcmd25yGgPWP/M7q65toTLZSHBvn6OcFDm07n6g0n9oNAxsR54DsjBYs2251QWAbgFuBREX/tF3rc9+zA6xa3U5jSxwxHmpbueyqOOvvOM7rj67g1JfedFTNagngVtR+B0zUK8xiwLqKTmhcE3Dblk4uXbecRDKFmATgIiZBIpni0nXLuW1LJ41rgnmcvG6B59WiyRhgBeDM+UZipWHthnbcmDf7b8Y81m5oJ7GyErZTxjH1JCPzesu4ghtvBpkjH2X6uXFlAVEg9SMjhEAamFsyp4Yjcuks1s6uXdZacuksU8OVZDcC0mW8OpFRQqBruvqdwwpdDh+9cjaF0QHQv/2wRhRGB6afdzkVkK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yIKICAgICAgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDowMjQ4MDc5ZS1kMTYyLTQxZmItOGViYS1lMzY2NTRiNGRjMjYiCiAgICAgIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkdpbXAgMi4xMCAoTGludXgpIgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTA1LTI0VDE3OjIwOjQwKzAyOjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/PkaovgIAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfnBRgPFCiKn0kIAAAFfUlEQVRYw82YTWxc1RXHf+e+N2/GH+Px2IEEV02AgqIsIkwgoYS2ahepVGCBUOiCRRdsAAnECthErBBCICGFj4gqRQqBRSABUrVm1URtCSATJ5ASZCPHH0kGgx1/xJl5nvH7uIcFY4iIM/GzZyhHenqL994993/u+f/fOUeos+nNnkHCJoQWRD0UFzCARYhQCVB8NFWWTwNbT99SNxC3GZfIXg9sADYDWxCuRekEskARYQplFPgEOAr045ph6bXRzwKM3pEX5mduQLkHuAvYCqSW8GkIfAT0IBwknT8lH87o/w2M3mpSqL0LeLQKIrOMZSpVUC8hpkf6bPiTg9FbpBn0L8ATwLoqL5ZrFjgNPAeyV47p3E8GRjdLE6r3oTwHXF0n7ikwgfAEIvvlqJYbDkY3uw4a3YLyNrC2niJSBXQG4c+Ie0yORnGSj5OnRhzlUJ4ErrkikBAoAjPVe7ik4F6D8iRxlGvoyegmx4X4NwgHgM6a8fUyIfc8doZbf99Ca66N0uwF+v7tc3DnWoJK6gqep1C2g3NEjsdLlm03GXSbAe4GmmvGZ91vA3Y8P8aN6ztoyaYxxsPaNrbcnmbbvV/x9ONdnPnA+w71otaMcDfYPqDUmDQTUgj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PSJHSU1QIDIuMTAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJzYXZlZCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iLyIKICAgICAgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo1NGFiYzNkYS1lZWJiLTRlZjctYjdjNS04ZDRjODY5OGVjODMiCiAgICAgIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkdpbXAgMi4xMCAoTGludXgpIgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTA1LTI0VDE3OjI0OjI2KzAyOjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pj0tlUwAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfnBRgPGBru/VeEAAAABmJLR0QA/wD/AP+gvaeTAAAFO0lEQVRYw9WYe2xTVRzHTx97dYS5B1UHa+/tY12dDoOKWyIGlfgHkCkSNTHGwHxA3NiAP/A5x4CMKEzdYL29YyAyBxKQZbI+NvYIaowaH9Ogi2GRbGjcFrbBNrq2a2/9nq5LCFnbbfSOeZJPTs/t6Tm/7/39zu+cU0IiXc7WSImNX0BsZiVYAhigmah5tHklsZrjSYtJSuZtaeSiiJU3gHUwfC9oARfBIHBP1DzaPH1eRuzmp0E6aTgSNX9EWMwSvOkMGPgG+CpguG8a0H7nA78zkMYqye0V0lYXDSHrYUw7cE5TxM04/b+38+vJ+RPRt0eIjVeAAhhyCQizFDKJEBjndaCY49Di4+CRlzFxfwSE3Ciol9i4DSBujoRUy7HIszFxdwSF3CioBy8qm1g5ufhirHwyJqwHrrDGWTlg8hFL1URN2+EF0XFPkyYuSWwhUVgnT2CygXBG3dFcM7bz1/au1u7OK9/93eW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faXuf+jMKp2b6z8+Adb4aErNwpCCh5J2pnfoH0ga08g7invBfaQjXjjuQifhyEgLdNolJP5UqR17y+QnSwvk1i565OZK6F8RzubvWwvDH8LvKZnmHXY8HKws+sNLJtI5muJ/7hYElOzJ1V+fN9R7CVDClPJOVXuqo06vS4HQjTwgDKDZRXk/1JiD7wrieFLk6T1lczCXUVK7aPZinS9XrTw+Q+Tql7SUmvGuQAAAABJRU5ErkJggg==",defaultOffset:[-25.5,-32]},lo=so,co=n("4cdf"),uo=n("5bc3"),ho=n("88da"),po=qi.getLogger("styling");co["a"].prototype.setPropertyFill=function(){var t=this.getStyle();if(t&&(!Array.isArray(t)||0!==t.length)){var e=t.getFill();if(e){var n=e.getColor();if(Array.isArray(n)){var i="rgba(";i+=n[0]+",",i+=n[1]+",",i+=n[2]+",",i+=n[3]+")",n=i}if(ao.isRGB(n)){var o=ao.rgbaToHex(n);this.set("fill",o.hex),this.set("fill-opacity",o.opacity)}else this.set("fill",n),this.set("fill-opacity",1)}}},co["a"].prototype.setPropertyStroke=function(){var t=this.getStyle();if(t&&(!Array.isArray(t)||0!==t.length)){var e=t.getStroke();if(e){var n=e.getColor();if(Array.isArray(n)){var i="rgba(";i+=n[0]+",",i+=n[1]+",",i+=n[2]+",",i+=n[3]+")",n=i}if(ao.isRGB(n)){var o=ao.rgbaToHex(n);this.set("stroke",o.hex),this.set("stroke-opacity",o.opacity)}else this.set("stroke",n),this.set("stroke-opacity",1);this.set("stroke-width",e.getWidth())}}},co["a"].prototype.setPropertyLabel=function(){var t=this.getStyle();if(t&&(!Array.isArray(t)||0!==t.length)){var e=void 0!==this.get("name"),n=t.getText();if(n&&e){var i=t.getText().getFill();if(i){var o=i.getColor();if(Array.isArray(o)){var r="rgba(";r+=o[0]+",",r+=o[1]+",",r+=o[2]+",",r+=o[3]+")",o=r}if(ao.isRGB(o)){var a=ao.rgbaToHex(o);this.set("label-fill",a.hex),this.set("label-fill-opacity",a.opacity)}else this.set("label-fill",o),this.set("label-fill-opacity",1)}var s=t.getText().getStroke();if(s){var l=s.getColor();if(Array.isArray(l)){var c="rgba(";c+=l[0]+",",c+=l[1]+",",c+=l[2]+",",c+=l[3]+")",l=c}if(ao.isRGB(l)){var u=ao.rgbaToHex(l);this.set("label-stroke",u.hex),this.set("label-stroke-opacity",u.opacity)}else this.set("label-stroke",l),this.set("label-stroke-opacity",1);this.set("label-stroke-width",s.getWidth())}this.set("label-font",t.getText().getFont()||fo.DEFAULT_TEXT.font),this.set("label-textAlign",t.getText().getTextAlign()||fo.DEFAULT_TEXT.textAlign)}}},co["a"].prototype.setPropertyMarker=function(){var t=this.getStyle();if(t&&(!Array.isArray(t)||0!==t.length)){var e=t.getImage();if(e)if(e instanceof to["a"]){var n=e.getColor();if(Array.isArray(n)){var i="rgba(";i+=n[0]+",",i+=n[1]+",",i+=n[2]+",",i+=n[3]+")",n=i}if(n){var o=ao.rgbaToHex(n);this.set("marker-color",o.hex)}var r=e.getScale();switch(Math.round(2*r)/2){case 0:case.5:this.set("marker-size","small");break;case 1:this.set("marker-size","medium");break;case 1.5:case 2:this.set("marker-size","large");break;default:break}var a=e.getSrc();a&&this.set("marker-symbol",a),this.unset("circle-fill"),this.unset("circle-fill-opacity"),this.unset("circle-stroke"),this.unset("circle-stroke-width"),this.unset("circle-stroke-opacity"),this.unset("circle-radius")}else{var s=e.getFill();if(s){var l=s.getColor();if(Array.isArray(l)){var c="rgba(";c+=l[0]+",",c+=l[1]+",",c+=l[2]+",",c+=l[3]+")",l=c}if(ao.isRGB(l)){var u=ao.rgbaToHex(l);this.set("circle-fill",u.hex),this.set("circle-fill-opacity",u.opacity)}else this.set("circle-fill",l),this.set("circle-fill-opacity",1)}var h=e.getStroke();if(h){var d=h.getColor();if(Array.isArray(d)){var p="rgba(";p+=d[0]+",",p+=d[1]+",",p+=d[2]+",",p+=d[3]+")",d=p}if(ao.isRGB(d)){var f=ao.rgbaToHex(d);this.set("circle-stroke",f.hex),this.set("circle-stroke-opacity",f.opacity)}else this.set("circle-stroke",d),this.set("circle-stroke-opacity",1);this.set("circle-stroke-width",h.getWidth())}var g=e.getRadius();this.set("circle-radius",g)}}};var fo={APPLY_CONVERT_GEOM_GPX:!0,DEFAULT_ICON:{src:lo["lightOrange"],anchor:[.5,1],scale:1},DEFAULT_CIRCLE:{radius:10,fill:{opacity:1,color:[0,0,0,1]},stroke:{width:1,opacity:1,color:[0,0,0,1]}},DEFAULT_STROKE:{width:5,opacity:1,color:[250,250,250,1]},DEFAULT_FILL:{opacity:1,color:[0,0,0,1]},DEFAULT_TEXT:{font:"16px sans",textAlign:"left",stroke:{color:[250,250,250,1],width:5,opactity:1},fill:{opacity:1,color:[0,0,0,1]}},getListTags:function(){return["type","fill","fill-opacity","stroke","stroke-opacity","stroke-width","circle-fill","circle-fill-opacity","circle-stroke","circle-stroke-opacity","circle-stroke-width","circle-radius","marker-symbol","marker-color","marker-size","label-fill","label-fill-opacity","label-stroke","label-stroke-width","label-stroke-opacity","label-font","label-textAlign"]},defineStyleFromProperties:function(t){var e=null,n={},i=null;if(t.get("marker-color")||t.get("marker-size")||t.get("marker-symbol")){i={},i["src"]=this.DEFAULT_ICON.src,i["anchor"]=this.DEFAULT_ICON.anchor;var o=t.get("marker-symbol");o&&-1!==o.search("data:image/png;base64")&&(i["src"]=o);var r=t.get("marker-color");ao.isHex(r)&&(i["color"]=ao.hexToRgba(r,1));var a=t.get("marker-size");if(a)switch(a){case"small":i["scale"]=.5;break;case"medium":i["scale"]=1;break;case"large":i["scale"]=1.5;break;default:i["scale"]=this.DEFAULT_ICON.scale;break}}var s=null;(t.get("stroke")||t.get("stroke-opacity")||t.get("stroke-width"))&&(s={},s["color"]=ao.hexToRgba(t.get("stroke"),+t.get("stroke-opacity")||this.DEFAULT_STROKE.opacity),s["width"]=+t.get("stroke-width")||this.DEFAULT_STROKE.width);var l=null;(t.get("fill")||t.get("fill-opacity"))&&(l={},l["color"]=ao.hexToRgba(t.get("fill"),+t.get("fill-opacity")||this.DEFAULT_FILL.opacity));var c=null,u=null,h=""!==t.get("name");h&&((t.get("label-fill")||t.get("label-fill-opacity"))&&(u={},u["color"]=ao.hexToRgba(t.get("label-fill"),+t.get("label-fill-opacity")||this.DEFAULT_TEXT.fill.opacity)),(t.get("label-stroke")||t.get("label-stroke-opacity")||t.get("label-stroke-width"))&&(c={},c["color"]=ao.hexToRgba(t.get("label-stroke"),+t.get("label-stroke-opacity")||this.DEFAULT_TEXT.stroke.opacity),c["width"]=+t.get("label-stroke-width")||this.DEFAULT_TEXT.stroke.width));var d=t.get("circle-radius")||this.DEFAULT_CIRCLE.radius,p=null;(t.get("circle-stroke")||t.get("circle-stroke-opacity")||t.get("circle-stroke-width"))&&(p={},p["color"]=ao.hexToRgba(t.get("circle-stroke"),+t.get("circle-stroke-opacity")||this.DEFAULT_CIRCLE.stroke.opacity),p["width"]=+t.get("circle-stroke-width")||this.DEFAULT_CIRCLE.stroke.width);var f=null;(t.get("circle-fill")||t.get("circle-fill-opacity"))&&(f={},f["color"]=ao.hexToRgba(t.get("circle-fill"),+t.get("circle-fill-opacity")||this.DEFAULT_CIRCLE.fill.opacity));var g=t.getGeometry().getType();switch(g){case"Circle":case"Point":case"MultiPoint":var m=!1,y={};if(p&&(y["stroke"]=new no["a"](p)),f&&(y["fill"]=new io["a"](f)),0!==Object.keys(y).length&&(m=!0,y["radius"]=+d,n["image"]=new $i["a"](y)),i&&(n["image"]=new to["a"](i)),h){var v={};if(c&&(v["stroke"]=new no["a"](c)),u&&(v["fill"]=new io["a"](u)),0!==Object.keys(v).length)v["text"]=t.get("name"),v["textAlign"]=t.get("label-textAlign")||this.DEFAULT_TEXT.textAlign,v["font"]=t.get("label-font")||this.DEFAULT_TEXT.font,n["text"]=new oo["a"](Object.assign({},this.DEFAULT_TEXT,v));else if(i||m){var A=new oo["a"](Object.assign({},this.DEFAULT_TEXT,{fill:new io["a"](this.DEFAULT_TEXT.fill),stroke:new no["a"](this.DEFAULT_TEXT.stroke)}));if(A){var _=A.clone();_.setText(t.get("name")),n["text"]=_}}}break;case"Polygon":case"MultiPolygon":s&&(n["stroke"]=new no["a"](s)),l&&(n["fill"]=new io["a"](l));break;case"LineString":case"MultiLineString":if(s&&(n["stroke"]=new no["a"](s)),this.APPLY_CONVERT_GEOM_GPX&&l){var b=t.get("type");if(b&&("Polygon"===b||"MultiPolygon"===b)){n["fill"]=new io["a"](l);var C=t.clone(),I="LineString"===g?uo["a"]:ho["a"];t.setGeometry(new I([C.getGeometry().getCoordinates()]))}}break;default:break}return 0!==Object.keys(n).length&&(e=new eo["c"](n)),e},defineStyleFunctionByDefault:function(t){if(!t)return[];if(0===Object.keys(t).length)return[];var e=(e,n)=>{var i=null,o=e.getGeometry().getType();switch(o){case"Point":case"MultiPoint":var r={};if(t.getImage()&&(r["image"]=t.getImage()),t.getText()&&e.get("name")){var a=t.getText().clone();a.setText(e.get("name")),r["text"]=a}i=new eo["c"](r);break;case"Circle":var s={},l={};if(t.getFill()&&(l.fill=t.getFill()),t.getStroke()&&(l.stroke=t.getStroke()),t.getText()&&e.get("name")){var c=t.getText().clone();c.setText(e.get("name")),s.text=c}0!==Object.keys(l).length&&(l.radius=3,s.image=new $i["a"](l)),i=new eo["c"](s);break;case"Polygon":case"MultiPolygon":var u={};t.getFill()&&(u.fill=t.getFill()),t.getStroke()&&(u.stroke=t.getStroke()),i=new eo["c"](u);break;case"LineString":case"LinearRing":case"MultiLineString":var h={};t.getStroke()&&(h.stroke=t.getStroke()),i=new eo["c"](h);break}return[i]};return e},definePropertiesFromStyleByType:function(t){var e=t.getGeometry().getType();switch(e){case"Point":case"MultiPoint":t.setPropertyMarker(),t.setPropertyLabel();break;case"LineString":case"MultiLineString":t.setPropertyStroke();break;case"Polygon":case"MultiPolygon":t.setPropertyStroke(),t.setPropertyFill();break;default:break}},definePropertiesFromStyle:function(t){var e=t.getStyle()||t.getStyleFunction();if(e){if("function"===typeof e){var n=e.call(this,t,0);if(!n||0===n.length)return;e=Array.isArray(n)?n[0]:n,t.setStyle(e)}this.definePropertiesFromStyleByType(t)}},defineTagFromStyle:function(t,e){return po.trace("todo..."),null}},go=fo,mo=qi.getLogger("parser"),yo={parse:function(t){var e=null,i=null,o="undefined"!==typeof window?window:null;if("object"===typeof exports&&null===window){var r=n("29d8").DOMParser;i=new r,e=i.parseFromString(t,"text/xml")}else o.DOMParser?(i=new o.DOMParser,e=i.parseFromString(t,"text/xml")):o.ActiveXObject?(e=new o.ActiveXObject("Microsoft.XMLDOM"),e.async=!1,e.loadXML(t)):mo.log("Incompatible environment for DOM Parser !");var a=e.querySelector("parsererror");return a?(console.error(a),null):(mo.trace(e),e)},toString:function(t){var e=new XMLSerializer,n=e.serializeToString(t);return mo.trace(n),n},format:function(t){var e=/(>)\s*(<)(\/*)/g,n=/ *(.*) +\n/g,i=/(<.+>)(.+\n)/g;t=t.replace(e,"$1\n$2$3").replace(n,"$1\n").replace(i,"$1\n$2");for(var o="",r=t.split("\n"),a=0,s="other",l={"single->single":0,"single->closing":-1,"single->opening":0,"single->other":0,"closing->single":0,"closing->closing":-1,"closing->opening":0,"closing->other":0,"opening->single":1,"opening->closing":0,"opening->opening":1,"opening->other":1,"other->single":0,"other->closing":-1,"other->opening":0,"other->other":0},c=0;c/)),d=Boolean(u.match(/<\/.+>/)),p=Boolean(u.match(/<[^!].*>/)),f=h?"single":d?"closing":p?"opening":"other",g=s+"->"+f;s=f;var m="";a+=l[g];for(var y=0;yclosing"===g?o=o.substr(0,o.length-1)+u+"\n":o+=m+u+"\n"}return mo.trace(o),o}},vo=yo,Ao={detectSupport:function(){var t=!0,e=window.navigator.userAgent.toLowerCase();return-1===e.indexOf("iphone")&&-1===e.indexOf("ipod")&&-1===e.indexOf("ipad")&&-1===e.indexOf("android")&&-1===e.indexOf("mobile")&&-1===e.indexOf("blackberry")&&-1===e.indexOf("tablet")&&-1===e.indexOf("phone")&&-1===e.indexOf("touch")||(t=!1),-1===e.indexOf("msie")&&-1===e.indexOf("trident")||(t=!0),t},assign:function(t,e){for(var n in t=t||{},e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},mergeParams:function(t,e,n){if(t&&e)for(var i in"undefined"===typeof n&&(n=!0),e)e.hasOwnProperty(i)&&("object"===typeof e[i]?t.hasOwnProperty(i)?this.mergeParams(t[i],e[i],n):t[i]=e[i]:t.hasOwnProperty(i)?n&&(t[i]=e[i]):t[i]=e[i])}},_o=Ao,bo=qi.getLogger("extended KML format"),Co=function(t){function e(n){if(!(this instanceof e))throw new TypeError("ERROR CLASS_CONSTRUCTOR");n=n||{},this.source=null,this.extensions=n.extensions||null,n.defaultStyle&&!Array.isArray(n.defaultStyle)&&(n.defaultStyle=[n.defaultStyle]),null!==n.defaultStyle&&"undefined"!==typeof n.defaultStyle||(n.defaultStyle=[]),t.call(this,n)}function n(t,e,n){for(var i="#document"===t.nodeName?t.childNodes[0].childNodes:t.childNodes,o=i,r=0;r{t.remove()})}};n.call(this,t,e,{labelStyle:r,iconStyle:a,iconLabelStyle:c,circleStyle:s,pointStyle:l,nameData:u,extendedData:h});var d=vo.toString(t);return d||null}function o(t,e){var n=document.createElementNS(t.namespaceURI,"ExtendedData");for(const a in e)if(Object.hasOwnProperty.call(e,a)){const r=e[a];var i=document.createElementNS(t.namespaceURI,"Data");i.setAttribute("name",a);var o=document.createTextNode(JSON.stringify(r));i.appendChild(o),n.appendChild(i)}var r=t.firstChild;t.insertBefore(n,r)}function r(e,i){var o=t.prototype.readFeatures.call(this,e,i),r=null,a="";if(a="string"===typeof e?e:e.documentElement.outerHTML,a=a.replace(/\n/g,""),a=a.replace(/(>)\s*(<)/g,"$1$2"),r=vo.parse(a),null===r)return o;function s(t){var e="";e+=t.substr(6,2),e+=t.substr(4,2),e+=t.substr(2,2);for(var n=parseInt(e,16).toString(16),i="",o=n.length||0,r=0;r<6-o;r++)i+="0";return n="#"+i+n,n}var l=function(t,e){if(bo.trace("label with style :",e),t){for(var n=t.getProperties().name,i=s("ff000000"),o="#FFFFFF",r=0,a="Sans",l="16px",c=null,u=5,h="#000000",d="#ffffff",p=1,f=!1,g=!1,m=e.childNodes,y=0;y{go.definePropertiesFromStyle(t)}),n},e.prototype.readRootExtensions=function(t){for(var e={},n="#document"===this.source.nodeName?this.source.childNodes[0]:this.source,i=n.childNodes,o=0;o{if(t.get(i)){var o=document.createElementNS(e.parentNode.namespaceURI,i);o.innerHTML=t.get(i),n.appendChild(o)}}),e.appendChild(n)}function o(t,e,n){for(var i=-1,o=t.childNodes,r=0;r{var e=t.getStyleFunction();if(e){var n=e.call(this,t,0);n&&0!==n.length&&t.setStyle(n[0])}else{var i=go.defineStyleFromProperties(t);if(i)t.setStyle(i);else{var o=go.defineStyleFunctionByDefault(this.options.defaultStyle);o&&(t.setStyle(o),go.definePropertiesFromStyle(t))}}}),i},e.prototype.writeFeatures=function(e,n){e.forEach((function(t){go.definePropertiesFromStyle(t)}));var i=t.prototype.writeFeaturesObject.call(this,e,n);return this.options.hasOwnProperty("extensions")&&Object.assign(i,this.options.extensions),JSON.stringify(i)},e.prototype.readRootExtensions=function(t){return this.source[t]},e}(Po["a"]),To=Mo;window.ol&&window.ol.format&&(window.ol.format.GeoJSONExtended=Mo);var Ro=function(t){function e(n){if(!(this instanceof e))throw new TypeError("ERROR CLASS_CONSTRUCTOR");t.call(this,n)}return t&&(e.__proto__=t),e.prototype=Object.create(t.prototype,{}),e.prototype.constructor=e,e.prototype.getFeatureInfoUrl=function(t,e,n,i){var o=this.options&&this.options.tilePixelRatio?this.options.tilePixelRatio:1,r=this.tileGrid,a=this.tileGrid.getTileCoordForCoordAndResolution(t,e),s=function(t,e,n){var i=[0,0,0],o=Object(l["j"])(),r=t[1],a=t[2],s=e.getTileCoordExtent(t),c=n.getExtent();if(null!=c&&n.isGlobal()){var u=Math.ceil(Object(l["D"])(c)/Object(l["D"])(s));r%=u,i[0]=t[0],i[1]=r,i[2]=t[2],s=e.getTileCoordExtent(i,o)}return Object(l["E"])(s,c)?[t[0],r,a]:null},c=r.getTileCoordExtent(a),u=s(a,r,n);if(!(r.getResolutions().length<=a[0])){var h=r.getResolution(a[0]),d=r.getMatrixIds()[a[0]],p={SERVICE:"WMTS",VERSION:"1.0.0",REQUEST:"GetFeatureInfo",LAYER:this.getLayer(),TILECOL:u[1],TILEROW:u[2],TILEMATRIX:d,TILEMATRIXSET:this.getMatrixSet(),FORMAT:this.getFormat()||"image/png",STYLE:this.getStyle()||"normal"};_o.assign(p,i);var f=Math.floor((t[0]-c[0])/(h/o)),g=Math.floor((c[3]-t[1])/(h/o)),m=r.getTileSize(a[0]);f=Math.min(f,(m[0]|m)-1),g=Math.max(g,0),p["I"]=f,p["J"]=g;var y=this.urls[0],v=Wi.Helper.normalyzeUrl(y,p);return v}},e}(ge),jo=Ro;window.ol&&window.ol.source&&(window.ol.source.WMTSExtended=Ro);var ko={getZoomLevelFromScaleDenominator:function(t,e){var n={};switch(e){case"EPSG:2154":n={0:104579.224549894,1:52277.5323537905,2:26135.4870785954,3:13066.8913818,4:6533.2286041135,5:3266.5595244627,6:1633.2660045974,7:816.629554986,8:408.3139146768,9:204.1567415109,10:102.0783167832,11:51.0391448966,12:25.5195690743,13:12.7597836936,14:6.379891636,15:3.1899457653,16:1.5949728695,17:.7974864315,18:.3987432149,19:.1993716073,20:.0996858037,21:.0498429018};break;default:n={0:156543.033928041,1:78271.51696402048,2:39135.758482010235,3:19567.87924100512,4:9783.93962050256,5:4891.96981025128,6:2445.98490512564,7:1222.99245256282,8:611.49622628141,9:305.7481131407048,10:152.8740565703525,11:76.43702828517624,12:38.21851414258813,13:19.10925707129406,14:9.554628535647032,15:4.777314267823516,16:2.388657133911758,17:1.194328566955879,18:.5971642834779395,19:.2985821417389697,20:.1492910708694849,21:.0746455354347424};break}var i=28e-5*t;for(var o in n)if(n.hasOwnProperty(o)&&n[o]<=i)return o=parseInt(o,10),o;return 0},getAttributions:function(t){var e=t.zoom,n=[];if(null!=t.originators&&t.visibility)for(var i,o=0,r=t.originators.length;oe&&(i=!1),i&&d&&d0&&(this.newTiles_=!0):l.setState(y["a"].LOADED)),this.isDrawableTile(l)||(l=l.getInterimTile()),l},e.prototype.loadedTileCallback=function(e,n,i){return!!this.isDrawableTile(i)&&t.prototype.loadedTileCallback.call(this,e,n,i)},e.prototype.prepareFrame=function(t){return!!this.getLayer().getSource()},e.prototype.renderFrame=function(t,e){var n=t.layerStatesArray[t.layerIndex],i=t.viewState,o=i.projection,r=i.resolution,a=i.center,c=i.rotation,u=t.pixelRatio,h=this.getLayer(),d=h.getSource(),p=d.getRevision(),f=d.getTileGridForProjection(o),g=f.getZForResolution(r,d.zDirection),m=f.getResolution(g),A=t.extent,_=n.extent&&Object(z["i"])(n.extent,o);_&&(A=Object(l["A"])(A,Object(z["i"])(n.extent,o)));var b=d.getTilePixelRatio(u),C=Math.round(t.size[0]*b),I=Math.round(t.size[1]*b);if(c){var w=Math.round(Math.sqrt(C*C+I*I));C=w,I=w}var E=m*C/2/b,O=m*I/2/b,S=[a[0]-E,a[1]-O,a[0]+E,a[1]+O],x=f.getTileRangeForExtentAndZ(A,g),P={};P[g]={};var M=this.createLoadedTileFinder(d,o,P),T=this.tmpExtent,R=this.tmpTileRange_;this.newTiles_=!1;for(var j=x.minX;j<=x.maxX;++j)for(var k=x.minY;k<=x.maxY;++k){var L=this.getTile(g,j,k,t);if(this.isDrawableTile(L)){var G=Object(v["c"])(this);if(L.getState()==y["a"].LOADED){P[g][L.tileCoord.toString()]=L;var N=L.inTransition(G);this.newTiles_||!N&&-1!==this.renderedTiles.indexOf(L)||(this.newTiles_=!0)}if(1===L.getAlpha(G,t.time))continue}var D=f.getTileCoordChildTileRange(L.tileCoord,R,T),F=!1;D&&(F=M(g+1,D)),F||f.forEachTileCoordParentTileRange(L.tileCoord,M,R,T)}var U=m/r;Object(Zo["b"])(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/b,1/b,c,-C/2,-I/2);var B=Object(Zo["j"])(this.pixelTransform);this.useContainer(e,B,n.opacity);var V=this.context,W=V.canvas;Object(Zo["d"])(this.inversePixelTransform,this.pixelTransform),Object(Zo["b"])(this.tempTransform,C/2,I/2,U,U,0,-C/2,-I/2),W.width!=C||W.height!=I?(W.width=C,W.height=I):this.containerReused||V.clearRect(0,0,C,I),_&&this.clipUnrotated(V,t,_),Object(It["a"])(V,d.getContextOptions()),this.preRender(V,t),this.renderedTiles.length=0;var Y,q,H,X=Object.keys(P).map(Number);X.sort(Z["i"]),1!==n.opacity||this.containerReused&&!d.getOpaque(t.viewState.projection)?(Y=[],q=[]):X=X.reverse();for(var K=X.length-1;K>=0;--K){var J=X[K],Q=d.getTilePixelSize(J,u,o),$=f.getResolution(J),tt=$/m,et=Q[0]*tt*U,nt=Q[1]*tt*U,it=f.getTileCoordForCoordAndZ(Object(l["B"])(S),J),ot=f.getTileCoordExtent(it),rt=Object(Zo["a"])(this.tempTransform,[b*(ot[0]-S[0])/m,b*(S[3]-ot[3])/m]),at=b*d.getGutterForProjection(o),st=P[J];for(var lt in st){L=st[lt];var ct=L.tileCoord,ut=it[1]-ct[1],ht=Math.round(rt[0]-(ut-1)*et),dt=it[2]-ct[2],pt=Math.round(rt[1]-(dt-1)*nt),ft=(j=Math.round(rt[0]-ut*et),k=Math.round(rt[1]-dt*nt),ht-j),gt=pt-k,mt=g===J;N=mt&&1!==L.getAlpha(Object(v["c"])(this),t.time);if(!N)if(Y){V.save(),H=[j,k,j+ft,k,j+ft,k+gt,j,k+gt];for(var yt=0,vt=Y.length;yt0)e([]);else{var A=h.getTileCoordExtent(i.wrappedTileCoord),_=Object(l["B"])(A),b=[(d[0]-_[0])/u,(_[1]-d[1])/u],C=i.getSourceTiles().reduce((function(t,e){return t.concat(e.getFeatures())}),[]),I=i.hitDetectionImageData[r];if(!I&&!this.animatingOrInteracting_){var w=Object(K["d"])(h.getTileSize(h.getZForResolution(u))),E=this.renderedRotation_,O=[this.getRenderTransform(h.getTileCoordCenter(i.wrappedTileCoord),u,0,dr["a"],w[0]*dr["a"],w[1]*dr["a"],0)];I=Object(dr["b"])(w,O,C,o.getStyleFunction(),h.getTileCoordExtent(i.wrappedTileCoord),i.getReplayState(o).renderedResolution,E),i.hitDetectionImageData[r]=I}e(Object(dr["c"])(b,C,I))}}.bind(this))},e.prototype.handleFontsChanged=function(){var t=this.getLayer();t.getVisible()&&void 0!==this.renderedLayerRevision_&&t.changed()},e.prototype.handleStyleImageChange_=function(t){this.renderIfReadyAndVisible()},e.prototype.renderDeclutter=function(t){var e=this.context,n=e.globalAlpha;e.globalAlpha=this.getLayer().getOpacity();for(var i=t.viewHints,o=!(i[hr["a"].ANIMATING]||i[hr["a"].INTERACTING]),r=this.renderedTiles,a=0,s=r.length;a=0;--u)c[u].execute(this.context,1,this.getTileRenderTransform(l,t),t.viewState.rotation,o,void 0,t.declutterTree)}e.globalAlpha=n},e.prototype.getTileRenderTransform=function(t,e){var n=e.pixelRatio,i=e.viewState,o=i.center,r=i.resolution,a=i.rotation,s=e.size,l=Math.round(s[0]*n),c=Math.round(s[1]*n),u=this.getLayer().getSource(),h=u.getTileGridForProjection(e.viewState.projection),d=t.tileCoord,p=h.getTileCoordExtent(t.wrappedTileCoord),f=h.getTileCoordExtent(d,this.tmpExtent)[0]-p[0],g=Object(Zo["f"])(Object(Zo["h"])(this.inversePixelTransform.slice(),1/n,1/n),this.getRenderTransform(o,r,a,n,l,c,f));return g},e.prototype.renderFrame=function(e,n){var i=e.viewHints,o=!(i[hr["a"].ANIMATING]||i[hr["a"].INTERACTING]);t.prototype.renderFrame.call(this,e,n),this.renderedPixelToCoordinateTransform_=e.pixelToCoordinateTransform.slice(),this.renderedRotation_=e.viewState.rotation;var r=this.getLayer(),a=r.getRenderMode(),s=this.context,l=s.globalAlpha;s.globalAlpha=r.getOpacity();for(var c=yr[a],u=e.viewState,h=u.rotation,d=this.renderedTiles,p=[],f=[],g=d.length-1;g>=0;--g)for(var m=d[g],y=this.getTileRenderTransform(m,e),A=m.executorGroups[Object(v["c"])(r)],_=!1,b=0,C=A.length;b=200&&e.status<300){var n=void 0;try{n=JSON.parse(e.responseText)}catch(i){return void this.handleTileJSONError()}this.handleTileJSONResponse(n)}else this.handleTileJSONError()},e.prototype.onXHRError_=function(t){this.handleTileJSONError()},e.prototype.getTileJSON=function(){return this.tileJSON_},e.prototype.handleTileJSONResponse=function(t){var e,n=Object(z["k"])("EPSG:4326"),i=this.getProjection();if(void 0!==t["bounds"]){var o=Object(z["n"])(n,i);e=Object(l["a"])(t["bounds"],o)}var r=st(i),a=t["minzoom"]||0,s=t["maxzoom"]||22,c=ot({extent:r,maxZoom:s,minZoom:a,tileSize:this.tileSize_});if(this.tileGrid=c,this.tileUrlFunction=pt(t["tiles"],c),void 0!==t["attribution"]&&!this.getAttributions()){var u=void 0!==e?e:r;this.setAttributions((function(e){return Object(l["E"])(u,e.extent)?[t["attribution"]]:null}))}this.tileJSON_=t,this.setState(Ir["a"].READY)},e.prototype.handleTileJSONError=function(){this.setState(Ir["a"].ERROR)},e}(ne),Sr=Or,xr=n("b7df"),Pr=n("1ecb"),Mr=n("521b"),Tr=n("f623"),Rr=n("9a44"),jr=n("7915"),kr=n.n(jr),Lr=n("f403"),Gr=n("f5dd"),Nr=n("0a9d"),Dr=n("b1a2"),Fr=n("9159"),Ur=n("bef8"),Br=Object(Zo["c"])(),zr=function(){function t(t,e,n,i,o){this.extent_,this.id_=o,this.type_=t,this.flatCoordinates_=e,this.flatInteriorPoints_=null,this.flatMidpoints_=null,this.ends_=n,this.properties_=i}return t.prototype.get=function(t){return this.properties_[t]},t.prototype.getExtent=function(){return this.extent_||(this.extent_=this.type_===Tr["a"].POINT?Object(l["m"])(this.flatCoordinates_):Object(l["n"])(this.flatCoordinates_,0,this.flatCoordinates_.length,2)),this.extent_},t.prototype.getFlatInteriorPoint=function(){if(!this.flatInteriorPoints_){var t=Object(l["w"])(this.getExtent());this.flatInteriorPoints_=Object(Nr["a"])(this.flatCoordinates_,0,this.ends_,2,t,0)}return this.flatInteriorPoints_},t.prototype.getFlatInteriorPoints=function(){if(!this.flatInteriorPoints_){var t=Object(Fr["a"])(this.flatCoordinates_,0,this.ends_,2);this.flatInteriorPoints_=Object(Nr["b"])(this.flatCoordinates_,0,this.ends_,2,t)}return this.flatInteriorPoints_},t.prototype.getFlatMidpoint=function(){return this.flatMidpoints_||(this.flatMidpoints_=Object(Dr["a"])(this.flatCoordinates_,0,this.flatCoordinates_.length,2,.5)),this.flatMidpoints_},t.prototype.getFlatMidpoints=function(){if(!this.flatMidpoints_){this.flatMidpoints_=[];for(var t=this.flatCoordinates_,e=0,n=this.ends_,i=0,o=n.length;i>3}a--,1===r||2===r?(s+=t.readSVarint(),l+=t.readSVarint(),1===r&&c>u&&(i.push(c),u=c),n.push(s,l),c+=2):7===r?c>u&&(n.push(n[u],n[u+1]),c+=2):Object(O["a"])(!1,59)}c>u&&(i.push(c),u=c)},e.prototype.createFeature_=function(t,e,n){var i,o=e.type;if(0===o)return null;var r,a=e.properties;this.idProperty_?(r=a[this.idProperty_],delete a[this.idProperty_]):r=e.id,a[this.layerName_]=e.layer.name;var s=[],l=[];this.readRawGeometry_(t,e,s,l);var c=Jr(o,l.length);if(this.featureClass_===Vr)i=new this.featureClass_(c,s,l,a,r),i.transform(n.dataProjection);else{var u=void 0;if(c==Tr["a"].POLYGON){for(var h=[],d=0,p=0,f=0,g=l.length;f1?new ho["a"](s,Mr["a"].XY,h):new uo["a"](s,Mr["a"].XY,l)}else u=c===Tr["a"].POINT?new Lr["a"](s,Mr["a"].XY):c===Tr["a"].LINE_STRING?new Oo["a"](s,Mr["a"].XY):c===Tr["a"].POLYGON?new uo["a"](s,Mr["a"].XY,l):c===Tr["a"].MULTI_POINT?new Rr["a"](s,Mr["a"].XY):c===Tr["a"].MULTI_LINE_STRING?new Eo["a"](s,Mr["a"].XY,l):null;var y=this.featureClass_;i=new y,this.geometryName_&&i.setGeometryName(this.geometryName_);var v=Object(xr["b"])(u,!1,n);i.setGeometry(v),i.setId(r),i.setProperties(a,!0)}return i},e.prototype.getType=function(){return Pr["a"].ARRAY_BUFFER},e.prototype.readFeatures=function(t,e){var n=this.layers_,i=this.adaptOptions(e),o=Object(z["k"])(i.dataProjection);o.setWorldExtent(i.extent),i.dataProjection=o;var r=new kr.a(t),a=r.readFields(Hr,{}),s=[];for(var l in a)if(!n||-1!=n.indexOf(l)){var c=a[l],u=c?[0,0,c.extent,c.extent]:null;o.setExtent(u);for(var h=0,d=c.length;h>3,i=1===t?n.readString():2===t?n.readFloat():3===t?n.readDouble():4===t?n.readVarint64():5===t?n.readVarint():6===t?n.readSVarint():7===t?n.readBoolean():null;e.values.push(i)}}function Zr(t,e,n){if(1==t)e.id=n.readVarint();else if(2==t){var i=n.readVarint()+n.pos;while(n.pos=.05){for(var n="",i=t.split("\n"),o=ua.slice(0,Math.round(e/.1)),r=0,a=i.length;r0&&(n+="\n"),n+=i[r].split("").join(o);return n}return t}function da(){return ca||(ca=sa(1,1).getContext("2d")),ca}function pa(t,e){return da().measureText(t).width+(t.length-1)*e}var fa={};function ga(t,e,n,i){if(-1!==t.indexOf("\n")){for(var o=t.split("\n"),r=[],a=0,s=o.length;a1){var h=da();h.font=e;var d=h.measureText("M").width,p=d*n,f="";for(r=[],a=0,s=u.length;a1;++a){var y=r[a];if(pa(y,i)<.35*p){var v=a>0?pa(r[a-1],i):1/0,A=a.7*p&&pa(b,i)<.6*p){var C=_.split(" "),I=C.pop();pa(I,i)<.2*p&&(r[a]=C.join(" "),r[a+1]=I+" "+b),s-=1}}c=r.join("\n")}else c=t;c=ha(c,i),fa[l]=c}return c}oa["o"]&&Object(c["a"])(oa["o"],g["a"].CLEAR,(function(){fa={}}));var ma,ya,va=ia["e"].isFunction,Aa=ia["e"].convertFunction,_a=ia["c"].isExpression,ba=ia["c"].createPropertyExpression,Ca={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},Ia={center:[.5,.5],left:[0,.5],right:[1,.5],top:[.5,0],bottom:[.5,1],"top-left":[0,0],"top-right":[1,0],"bottom-left":[0,1],"bottom-right":[1,1]},wa=function(t,e){var n=ba(t,e);if("error"===n.result)throw new Error(n.value.map((function(t){return"".concat(t.key,": ").concat(t.message)})).join(", "));return n.value},Ea={},Oa={zoom:0};function Sa(t,e,n,i,o,r){var a=t.id;r||(r={},console.warn("No functionCache provided to getValue()")),r[a]||(r[a]={});var s=r[a];if(!s[n]){var l=(t[e]||Ea)[n],c=ia["f"]["".concat(e,"_").concat(t.type)][n];void 0===l&&(l=c.default);var u=_a(l);if(!u&&va(l)&&(l=Aa(l,c),u=!0),u){var h=wa(l,c);s[n]=h.evaluate.bind(h)}else"color"==c.type&&(l=ia["a"].parse(l)),s[n]=function(){return l}}return Oa.zoom=i,s[n](Oa,o)}function xa(t,e,n,i,o){return o||console.warn("No filterCache provided to evaluateFilter()"),t in o||(o[t]=Object(ia["d"])(e).filter),Oa.zoom=i,o[t](Oa,n)}var Pa=!1;function Ma(t,e){if(t){if(!Pa&&(0===t.a||0===e))return;var n=t.a;return e=void 0===e?1:e,0===n?"transparent":"rgba("+Math.round(255*t.r/n)+","+Math.round(255*t.g/n)+","+Math.round(255*t.b/n)+","+n*e+")"}return t}var Ta=/^([^]*)\{(.*)\}([^]*)$/;function Ra(t,e){var n;do{if(n=t.match(Ta),n){var i=e[n[2]]||"";t=n[1]+i+n[3]}}while(n);return t}var ja=!1;var ka,La=function(t,e,n,i,o,r,a){if(void 0===i&&(i=aa),"string"==typeof e&&(e=JSON.parse(e)),8!=e.version)throw new Error("glStyle version 8 required.");var s,l;if(r)if("undefined"!==typeof Image){var c=new Image;c.crossOrigin="anonymous",c.onload=function(){s=c,l=[c.width,c.height],t.changed(),c.onload=null},c.src=r}else if("undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope){var u=self;u.postMessage({action:"loadImage",src:r}),u.addEventListener("message",(function(t){"imageLoaded"===t.data.action&&t.data.src===r&&(s=t.data.image,l=[s.width,s.height])}))}for(var h,d=Object(ia["b"])(e.layers),p={},f=[],g={},m={},y={},v={},A=0,_=d.length;A<_;++A){var b=d[A],C=b.id;if("string"==typeof n&&b.source==n||-1!==n.indexOf(C)){var I=b["source-layer"];if(!h){h=b.source;var w=e.sources[h];if(!w)throw new Error('Source "'.concat(h,'" is not defined'));var E=w.type;if("vector"!==E&&"geojson"!==E)throw new Error('Source "'.concat(h,'" is not of type "vector" or "geojson", but "').concat(E,'"'))}var O=p[I];O||(O=[],p[I]=O),O.push({layer:b,index:A}),f.push(C)}}var S=new no["a"],x=new io["a"],P=[],M=function(t,e){var n=t.getProperties(),r=p[n.layer];if(r){var c=i.indexOf(e);-1==c&&(c=la(e,i));for(var u,h=Ca[t.getGeometry().getType()],d={properties:n,type:h},f=-1,A=function(i,p){var A=r[i],_=A.layer,b=_.id,C=_.layout||Ea,I=_.paint||Ea;if("none"===C.visibility||"minzoom"in _&&c<_.minzoom||"maxzoom"in _&&c>=_.maxzoom)return"continue";var w=_.filter;if(!w||xa(b,w,d,c,v)){u=_;var E=void 0,O=void 0,M=void 0,T=void 0,R=void 0,j=void 0,k=A.index;if(3==h&&("fill"==_.type||"fill-extrusion"==_.type))if(O=Sa(_,"paint",_.type+"-opacity",c,d,y),_.type+"-pattern"in I){var L=Sa(_,"paint",_.type+"-pattern",c,d,y);if(L){var G="string"===typeof L?Ra(L,n):L.toString();if(s&&o&&o[G]){++f,j=P[f],j&&j.getFill()&&!j.getStroke()&&!j.getText()||(j=new eo["c"]({fill:new io["a"]}),P[f]=j),M=j.getFill(),j.setZIndex(k);var N=G+"."+O,D=m[N];if(!D){var F=o[G],U=sa(F.width,F.height),B=U.getContext("2d");B.globalAlpha=O,B.drawImage(s,F.x,F.y,F.width,F.height,0,0,F.width,F.height),D=B.createPattern(U,"repeat"),m[N]=D}M.setColor(D)}}}else E=Ma(Sa(_,"paint",_.type+"-color",c,d,y),O),_.type+"-outline-color"in I&&(R=Ma(Sa(_,"paint",_.type+"-outline-color",c,d,y),O)),R||(R=E),(E||R)&&(++f,j=P[f],(!j||E&&!j.getFill()||!E&&j.getFill()||R&&!j.getStroke()||!R&&j.getStroke()||j.getText())&&(j=new eo["c"]({fill:E?new io["a"]:void 0,stroke:R?new no["a"]:void 0}),P[f]=j),E&&(M=j.getFill(),M.setColor(E)),R&&(T=j.getStroke(),T.setColor(R),T.setWidth(.5)),j.setZIndex(k));if(1!=h&&"line"==_.type){E=!("line-pattern"in I)&&"line-color"in I?Ma(Sa(_,"paint","line-color",c,d,y),Sa(_,"paint","line-opacity",c,d,y)):void 0;var z=Sa(_,"paint","line-width",c,d,y);E&&z>0&&(++f,j=P[f],j&&j.getStroke()&&!j.getFill()&&!j.getText()||(j=new eo["c"]({stroke:new no["a"]}),P[f]=j),T=j.getStroke(),T.setLineCap(Sa(_,"layout","line-cap",c,d,y)),T.setLineJoin(Sa(_,"layout","line-join",c,d,y)),T.setMiterLimit(Sa(_,"layout","line-miter-limit",c,d,y)),T.setColor(E),T.setWidth(z),T.setLineDash(I["line-dasharray"]?Sa(_,"paint","line-dasharray",c,d,y).map((function(t){return t*z})):null),j.setZIndex(k))}var V=!1,W=null,Y=0,q=void 0,H=void 0,X=void 0;if((1==h||2==h)&&"icon-image"in C){var Z=Sa(_,"layout","icon-image",c,d,y);if(Z){q="string"===typeof Z?Ra(Z,n):Z.toString();var K=void 0;if(s&&o&&o[q]){var J=Sa(_,"layout","icon-rotation-alignment",c,d,y);if(2==h){var Q=t.getGeometry();if(Q.getFlatMidpoint||Q.getFlatMidpoints){var $=Q.getExtent(),tt=Math.sqrt(Math.max(Math.pow(($[2]-$[0])/e,2),Math.pow(($[3]-$[1])/e,2)));if(tt>150){var et="MultiLineString"===Q.getType()?Q.getFlatMidpoints():Q.getFlatMidpoint();ya||(ma=[NaN,NaN],ya=new Vr("Point",ma,[],{},null)),K=ya,ma[0]=et[0],ma[1]=et[1];var nt=Sa(_,"layout","symbol-placement",c,d,y);if("line"===nt&&"map"===J)for(var it=Q.getStride(),ot=Q.getFlatCoordinates(),rt=0,at=ot.length-it;rt=ht&&et[0]<=pt&&et[1]>=dt&&et[1]<=ft){Y=Math.atan2(lt-ut,ct-st);break}}}}}if(2!==h||K){var gt=Sa(_,"layout","icon-size",c,d,y),mt=void 0!==I["icon-color"]?Sa(_,"paint","icon-color",c,d,y):null;if(!mt||0!==mt.a){N=q+"."+gt;if(null!==mt&&(N+="."+mt),H=g[N],!H){var yt=o[q];H=new to["a"]({color:mt?[255*mt.r,255*mt.g,255*mt.b,mt.a]:void 0,img:s,imgSize:l,size:[yt.width,yt.height],offset:[yt.x,yt.y],rotateWithView:"map"===J,scale:gt/yt.pixelRatio,displacement:"icon-offset"in C?Sa(_,"layout","icon-offset",c,d,y).map((function(t){return-t*yt.pixelRatio})):void 0}),g[N]=H}}H&&(++f,j=P[f],j&&j.getImage()&&!j.getFill()&&!j.getStroke()||(j=new eo["c"],P[f]=j),j.setGeometry(K),H.setRotation(Y+ra(Sa(_,"layout","icon-rotate",c,d,y))),H.setOpacity(Sa(_,"paint","icon-opacity",c,d,y)),H.setAnchor(Ia[Sa(_,"layout","icon-anchor",c,d,y)]),j.setImage(H),W=j.getText(),j.setText(void 0),j.setZIndex(k),V=!0,X=!1)}else X=!0}}}if(1==h&&"circle"===_.type){++f,j=P[f],j&&j.getImage()&&!j.getFill()&&!j.getStroke()||(j=new eo["c"],P[f]=j);var vt="circle-radius"in I?Sa(_,"paint","circle-radius",c,d,y):5,At=Ma(Sa(_,"paint","circle-stroke-color",c,d,y),Sa(_,"paint","circle-stroke-opacity",c,d,y)),_t=Ma(Sa(_,"paint","circle-color",c,d,y),Sa(_,"paint","circle-opacity",c,d,y)),bt=Sa(_,"paint","circle-stroke-width",c,d,y),Ct=vt+"."+At+"."+_t+"."+bt;H=g[Ct],H||(H=new $i["a"]({radius:vt,stroke:At&&bt>0?new no["a"]({width:bt,color:At}):void 0,fill:_t?new io["a"]({color:_t}):void 0}),g[Ct]=H),j.setImage(H),W=j.getText(),j.setText(void 0),j.setGeometry(void 0),j.setZIndex(k),V=!0}var It=void 0;if("text-field"in C){var wt=Sa(_,"layout","text-field",c,d,y).toString();It=Ra(wt,n).trim(),O=Sa(_,"paint","text-opacity",c,d,y)}if(It&&O&&!X){V||(++f,j=P[f],j&&j.getText()&&!j.getFill()&&!j.getStroke()||(j=new eo["c"],P[f]=j),j.setImage(void 0),j.setGeometry(void 0)),j.getText()||j.setText(W||new oo["a"]({padding:[2,2,2,2]})),W=j.getText();var Et=Math.round(Sa(_,"layout","text-size",c,d,y)),Ot=Sa(_,"layout","text-font",c,d,y),St=Sa(_,"layout","text-line-height",c,d,y),xt=na()(a?a(Ot):Ot,Et,St),Pt=C["text-transform"];"uppercase"==Pt?It=It.toUpperCase():"lowercase"==Pt&&(It=It.toLowerCase());var Mt=Sa(_,"layout","text-max-width",c,d,y),Tt=Sa(_,"layout","text-letter-spacing",c,d,y),Rt=2==h?ha(It,Tt):ga(It,xt,Mt,Tt);W.setText(Rt),W.setFont(xt),W.setRotation(ra(Sa(_,"layout","text-rotate",c,d,y)));var jt=Sa(_,"layout","text-anchor",c,d,y);nt=V||1==h?"point":Sa(_,"layout","symbol-placement",c,d,y);W.setPlacement(nt);var kt=Sa(_,"paint","text-halo-width",c,d,y),Lt=Sa(_,"layout","text-offset",c,d,y),Gt=Sa(_,"paint","text-translate",c,d,y),Nt=0,Dt=0;if("point"==nt){var Ft="center";-1!==jt.indexOf("left")?(Ft="left",Dt=kt):-1!==jt.indexOf("right")&&(Ft="right",Dt=-kt),W.setTextAlign(Ft);var Ut=Sa(_,"layout","text-rotation-alignment",c,d,y);W.setRotateWithView("map"==Ut)}else W.setMaxAngle(ra(Sa(_,"layout","text-max-angle",c,d,y))*It.length/Rt.length),W.setTextAlign(),W.setRotateWithView(!1);var Bt="middle";0==jt.indexOf("bottom")?(Bt="bottom",Nt=-kt-.5*(St-1)*Et):0==jt.indexOf("top")&&(Bt="top",Nt=kt+.5*(St-1)*Et),W.setTextBaseline(Bt),W.setOffsetX(Lt[0]*Et+Dt+Gt[0]),W.setOffsetY(Lt[1]*Et+Nt+Gt[1]),x.setColor(Ma(Sa(_,"paint","text-color",c,d,y),O)),W.setFill(x);var zt=Ma(Sa(_,"paint","text-halo-color",c,d,y),O);if(zt){S.setColor(zt),kt*=2;var Vt=.5*Et;S.setWidth(kt<=Vt?kt:Vt),W.setStroke(S)}else W.setStroke(void 0);var Wt=Sa(_,"layout","text-padding",c,d,y),Yt=W.getPadding();Wt!==Yt[0]&&(Yt[0]=Wt,Yt[1]=Wt,Yt[2]=Wt,Yt[3]=Wt),j.setZIndex(k)}}},_=0,b=r.length;_-1?(P.length=f+1,ja&&("function"===typeof t.set?t.set("mapbox-layer",u):t.getProperties()["mapbox-layer"]=u),P):void 0}};return t.setStyle(M),t.set("mapbox-source",h),t.set("mapbox-layers",f),M},Ga=n("b342"),Na=n.n(Ga),Da=/font-family: ?([^;]*);/,Fa=/("|')/g;function Ua(t){if(!ka){ka={};for(var e=document.styleSheets,n=0,i=e.length;n2?i[2]:""):t+n}function Ha(t,e,n,i,o){return new Promise((function(r,a){if("object"!=typeof e&&(e=JSON.parse(e)),8!=e.version)return a(new Error("glStyle version 8 required."));if(!(t instanceof ta["a"]||t instanceof Cr))return a(new Error("Can only apply to VectorLayer or VectorTileLayer"));var s,l,c,u;function h(){u||e.sprite&&!l?u?(t.setStyle(u),r()):a(new Error("Something went wrong trying to apply style.")):(u=La(t,e,n,o,l,c,Va),t.getStyle()?r():a(new Error("Nothing to show for source [".concat(n,"]"))))}if(e.sprite){s=window.devicePixelRatio>=1.5?.5:1;var d=.5==s?"@2x":"",p=qa(e.sprite,i,d+".json");fetch(p,{credentials:"same-origin"}).then((function(t){return t.ok||""===d?t:(p=qa(e.sprite,i,".json"),fetch(p,{credentials:"same-origin"}))})).then((function(t){if(t.ok)return t.json();a(new Error("Problem fetching sprite from ".concat(p,": ").concat(t.statusText)))})).then((function(t){if(void 0===t)return a(new Error("No sprites found."));l=t,c=qa(e.sprite,i,d+".png"),h()})).catch((function(t){a(new Error("Sprites cannot be loaded: ".concat(p,": ").concat(t.message)))}))}else h()}))}new Po["a"];var Xa=function(t){function e(n,i){if(!(this instanceof e))throw new TypeError("ERROR CLASS_CONSTRUCTOR");if(!n.layer)throw new Error("ERROR PARAM_MISSING : layer");if("string"!==typeof n.layer)throw new Error("ERROR WRONG TYPE : layer");if(this.layerName=n.layer,this.styleName=n.style,this.sourceId=n.source,"undefined"===typeof n.ssl&&(n.ssl=!0),this.protocol=!1===n.ssl?"http://":"https://",!Go["a"].isConfigLoaded())throw new Error("ERROR : contract key configuration has to be loaded to load Geoportal layers.");var o=this.layerName+"$GEOPORTAIL:GPP:TMS",r=Go["a"].configuration.getLayerConf(o);if(!r)throw new Error("ERROR : Layer ID not found into the catalogue !?");this.styleUrl=null,this.styleTitle="";for(var a=0;a{n.setState("ready"),this.set("mapbox-styles",t)}).catch(t=>{this.onStyleMapBoxError(t)})}else this.onStyleMapBoxError({message:"ERROR : Source TYPE not permitted !"});else this.onStyleMapBoxError({message:"ERROR : Source ID not found !? !"})},e.prototype.onStyleMapBoxError=function(t){var e=this.getSource();e.setState("error"),console.error(t.message)},e}(Cr),Za=Xa;window.ol&&window.ol.layer&&(window.ol.layer.GeoportalMapBox=Xa);var Ka=n("3900"),Ja={generate:function(){var t=Math.floor(Date.now());return function(){return t++}}(),name:function(t){var e=null,n=t.lastIndexOf("-");return e=-1===n?t:t.substring(0,n),e},index:function(t){var e=null,n=this.name(t),i=n.lastIndexOf("_");return-1!==i&&(e=n.substring(i+1)),e},uuid:function(t){var e=null,n=t.lastIndexOf("-");return-1!==n&&(e=parseInt(t.substring(n+1),10)),e}},Qa=Ja; +/**! + * Sortable 1.14.0 + * @author RubaXa + * @author owenm + * @license MIT + */ +function $a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ts(t){for(var e=1;e=0||(o[n]=t[n]);return o}function rs(t,e){if(null==t)return{};var n,i,o=os(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var as="1.14.0";function ss(t){if("undefined"!==typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var ls=ss(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),cs=ss(/Edge/i),us=ss(/firefox/i),hs=ss(/safari/i)&&!ss(/chrome/i)&&!ss(/android/i),ds=ss(/iP(ad|od|hone)/i),ps=ss(/chrome/i)&&ss(/android/i),fs={capture:!1,passive:!1};function gs(t,e,n){t.addEventListener(e,n,!ls&&fs)}function ms(t,e,n){t.removeEventListener(e,n,!ls&&fs)}function ys(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(n){return!1}return!1}}function vs(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function As(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&ys(t,e):ys(t,e))||i&&t===n)return t;if(t===n)break}while(t=vs(t))}return null}var _s,bs=/\s+/g;function Cs(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(bs," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(bs," ")}}function Is(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||-1!==e.indexOf("webkit")||(e="-webkit-"+e),i[e]=n+("string"===typeof n?"":"px")}}function ws(t,e){var n="";if("string"===typeof t)n=t;else do{var i=Is(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function Es(t,e,n){if(t){var i=t.getElementsByTagName(e),o=0,r=i.length;if(n)for(;o=r:o<=r,!a)return i;if(i===Os())break;i=ks(i,!1)}return!1}function Ps(t,e,n,i){var o=0,r=0,a=t.children;while(r2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,o=rs(n,Zs);Hs.pluginEvent.bind(Wl)(t,e,ts({dragEl:Qs,parentEl:$s,ghostEl:tl,rootEl:el,nextEl:nl,lastDownEl:il,cloneEl:ol,cloneHidden:rl,dragStarted:vl,putSortable:hl,activeSortable:Wl.active,originalEvent:i,oldIndex:al,oldDraggableIndex:ll,newIndex:sl,newDraggableIndex:cl,hideGhostForTarget:Ul,unhideGhostForTarget:Bl,cloneNowHidden:function(){rl=!0},cloneNowShown:function(){rl=!1},dispatchSortableEvent:function(t){Js({sortable:e,name:t,originalEvent:i})}},o))};function Js(t){Xs(ts({putSortable:hl,cloneEl:ol,targetEl:Qs,rootEl:el,oldIndex:al,oldDraggableIndex:ll,newIndex:sl,newDraggableIndex:cl},t))}var Qs,$s,tl,el,nl,il,ol,rl,al,sl,ll,cl,ul,hl,dl,pl,fl,gl,ml,yl,vl,Al,_l,bl,Cl,Il=!1,wl=!1,El=[],Ol=!1,Sl=!1,xl=[],Pl=!1,Ml=[],Tl="undefined"!==typeof document,Rl=ds,jl=cs||ls?"cssFloat":"float",kl=Tl&&!ps&&!ds&&"draggable"in document.createElement("div"),Ll=function(){if(Tl){if(ls)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Gl=function(t,e){var n=Is(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=Ps(t,0,e),r=Ps(t,1,e),a=o&&Is(o),s=r&&Is(r),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Ss(o).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Ss(r).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a["float"]&&"none"!==a["float"]){var u="left"===a["float"]?"left":"right";return!r||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=i&&"none"===n[jl]||r&&"none"===n[jl]&&l+c>i)?"vertical":"horizontal"},Nl=function(t,e,n){var i=n?t.left:t.top,o=n?t.right:t.bottom,r=n?t.width:t.height,a=n?e.left:e.top,s=n?e.right:e.bottom,l=n?e.width:e.height;return i===a||o===s||i+r/2===a+l/2},Dl=function(t,e){var n;return El.some((function(i){var o=i[Bs].options.emptyInsertThreshold;if(o&&!Ms(i)){var r=Ss(i),a=t>=r.left-o&&t<=r.right+o,s=e>=r.top-o&&e<=r.bottom+o;return a&&s?n=i:void 0}})),n},Fl=function(t){function e(t,n){return function(i,o,r,a){var s=i.options.group.name&&o.options.group.name&&i.options.group.name===o.options.group.name;if(null==t&&(n||s))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"===typeof t)return e(t(i,o,r,a),n)(i,o,r,a);var l=(n?i:o).options.group.name;return!0===t||"string"===typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},i=t.group;i&&"object"==es(i)||(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n},Ul=function(){!Ll&&tl&&Is(tl,"display","none")},Bl=function(){!Ll&&tl&&Is(tl,"display","")};Tl&&document.addEventListener("click",(function(t){if(wl)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),wl=!1,!1}),!0);var zl=function(t){if(Qs){t=t.touches?t.touches[0]:t;var e=Dl(t.clientX,t.clientY);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[Bs]._onDragOver(n)}}},Vl=function(t){Qs&&Qs.parentNode[Bs]._isOutsideThisEl(t.target)};function Wl(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=is({},e),t[Bs]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Gl(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Wl.supportPointer&&"PointerEvent"in window&&!hs,emptyInsertThreshold:5};for(var i in Hs.initializePlugins(this,t,n),n)!(i in e)&&(e[i]=n[i]);for(var o in Fl(e),this)"_"===o.charAt(0)&&"function"===typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!e.forceFallback&&kl,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?gs(t,"pointerdown",this._onTapStart):(gs(t,"mousedown",this._onTapStart),gs(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(gs(t,"dragover",this),gs(t,"dragenter",this)),El.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),is(this,zs())}function Yl(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function ql(t,e,n,i,o,r,a,s){var l,c,u=t[Bs],h=u.options.onMove;return!window.CustomEvent||ls||cs?(l=document.createEvent("Event"),l.initEvent("move",!0,!0)):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=i,l.related=o||e,l.relatedRect=r||Ss(e),l.willInsertAfter=s,l.originalEvent=a,t.dispatchEvent(l),h&&(c=h.call(u,l,a)),c}function Hl(t){t.draggable=!1}function Xl(){Pl=!1}function Zl(t,e,n){var i=Ss(Ps(n.el,0,n.options,!0)),o=10;return e?t.clientXi.right+o||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+o}function Jl(t,e,n,i,o,r,a,s){var l=i?t.clientY:t.clientX,c=i?n.height:n.width,u=i?n.top:n.left,h=i?n.bottom:n.right,d=!1;if(!a)if(s&&blu+c*r/2:lh-bl)return-_l}else if(l>u+c*(1-o)/2&&lh-c*r/2)?l>u+c/2?1:-1:0}function Ql(t){return Ts(Qs)=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Qs&&Hl(Qs),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;ms(t,"mouseup",this._disableDelayedDrag),ms(t,"touchend",this._disableDelayedDrag),ms(t,"touchcancel",this._disableDelayedDrag),ms(t,"mousemove",this._delayedDragTouchMoveHandler),ms(t,"touchmove",this._delayedDragTouchMoveHandler),ms(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?gs(document,"pointermove",this._onTouchMove):gs(document,e?"touchmove":"mousemove",this._onTouchMove):(gs(Qs,"dragend",this),gs(el,"dragstart",this._onDragStart));try{document.selection?ec((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(t,e){if(Il=!1,el&&Qs){Ks("dragStarted",this,{evt:e}),this.nativeDraggable&&gs(document,"dragover",Vl);var n=this.options;!t&&Cs(Qs,n.dragClass,!1),Cs(Qs,n.ghostClass,!0),Wl.active=this,t&&this._appendGhost(),Js({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(pl){this._lastX=pl.clientX,this._lastY=pl.clientY,Ul();var t=document.elementFromPoint(pl.clientX,pl.clientY),e=t;while(t&&t.shadowRoot){if(t=t.shadowRoot.elementFromPoint(pl.clientX,pl.clientY),t===e)break;e=t}if(Qs.parentNode[Bs]._isOutsideThisEl(t),e)do{if(e[Bs]){var n=void 0;if(n=e[Bs]._onDragOver({clientX:pl.clientX,clientY:pl.clientY,target:t,rootEl:e}),n&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Bl()}},_onTouchMove:function(t){if(dl){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,o=t.touches?t.touches[0]:t,r=tl&&ws(tl,!0),a=tl&&r&&r.a,s=tl&&r&&r.d,l=Rl&&Cl&&Rs(Cl),c=(o.clientX-dl.clientX+i.x)/(a||1)+(l?l[0]-xl[0]:0)/(a||1),u=(o.clientY-dl.clientY+i.y)/(s||1)+(l?l[1]-xl[1]:0)/(s||1);if(!Wl.active&&!Il){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))=0&&(Js({rootEl:$s,name:"add",toEl:$s,fromEl:el,originalEvent:t}),Js({sortable:this,name:"remove",toEl:$s,originalEvent:t}),Js({rootEl:$s,name:"sort",toEl:$s,fromEl:el,originalEvent:t}),Js({sortable:this,name:"sort",toEl:$s,originalEvent:t})),hl&&hl.save()):sl!==al&&sl>=0&&(Js({sortable:this,name:"update",toEl:$s,originalEvent:t}),Js({sortable:this,name:"sort",toEl:$s,originalEvent:t})),Wl.active&&(null!=sl&&-1!==sl||(sl=al,cl=ll),Js({sortable:this,name:"end",toEl:$s,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Ks("nulling",this),el=Qs=$s=tl=nl=ol=il=rl=dl=pl=vl=sl=cl=al=ll=Al=_l=hl=ul=Wl.dragged=Wl.ghost=Wl.clone=Wl.active=null,Ml.forEach((function(t){t.checked=!0})),Ml.length=fl=gl=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":Qs&&(this._onDragOver(t),Yl(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t,e=[],n=this.el.children,i=0,o=n.length,r=this.options;ithis._onMapMoveEnd(e)),this._listeners.onAddListener=e.getLayers().on("add",t=>{var e,n=t.element;n.hasOwnProperty("gpLayerId")?e=n.gpLayerId:(e=this._layerId,n.gpLayerId=e,this._layerId++),this._layers[e]||this.addLayer(n)}),this._listeners.onRemoveListener=e.getLayers().on("remove",t=>{var e=t.element,n=e.gpLayerId;this._layers[n]&&this.removeLayer(e)});else{Object($r["b"])(this._listeners.onMoveListener),Object($r["b"])(this._listeners.onAddListener),Object($r["b"])(this._listeners.onRemoveListener);for(var n=this._layersOrder.length-1;n>=0;n--)this._layersOrder[n].layer.setZIndex(0)}t.prototype.setMap.call(this,e)},e.prototype.addLayer=function(t,e){var n=this.getMap();if(e=e||{},t){var i=t.gpLayerId;if("undefined"!==typeof i){var o=!1;if(n.getLayers().forEach(t=>{t.gpLayerId===i&&(o=!0)}),o)if(this._layers[i]){for(var r in e)e.hasOwnProperty(r)&&(this._layers[i][r]=e[r]);if(e.title){var a=document.getElementById(this._addUID("GPname_ID_"+i));a&&(a.innerHTML=e.title,a.title=e.description||e.title)}var s=document.getElementById(this._addUID("GPinfo_ID_"+i));if(!document.getElementById(this._addUID("GPinfo_ID_"+i))&&e.description){var l=document.getElementById(this._addUID("GPadvancedTools_ID_"+i));l&&l.appendChild(this._createAdvancedToolInformationElement({id:i}))}s&&"GPlayerInfoOpened"===s.className&&(document.getElementById(this._addUID("GPlayerInfoPanel")).className="GPlayerInfoPanelClosed",s.className="GPlayerInfo")}else{var c=this.getLayerInfo(t)||{},u=t.getOpacity(),h=t.getVisible(),d=this.isInRange(t,n),p={layer:t,id:i,opacity:null!=u?u:1,visibility:null==h||h,inRange:null==d||d,title:null!=e.title?e.title:c._title||i,description:e.description||c._description||null,legends:e.legends||c._legends||[],metadata:e.metadata||c._metadata||[],quicklookUrl:e.quicklookUrl||c._quicklookUrl||null};this._layers[i]=p;var f=this._createLayerDiv(p);this._layers[i].div=f,t.getZIndex&&0!==t.getZIndex()&&"undefined"!==typeof t.getZIndex()||t._forceNullzIndex?this._updateLayersOrder():(this._layersOrder.unshift(p),this._lastZIndex++,t.setZIndex(this._lastZIndex),this._layerListContainer.insertBefore(f,this._layerListContainer.firstChild)),this._listeners.updateLayerOpacity=t.on("change:opacity",t=>this._updateLayerOpacity(t)),this._listeners.updateLayerVisibility=t.on("change:visible",t=>this._updateLayerVisibility(t)),null==this._layers[i].onZIndexChangeEvent&&(this._layers[i].onZIndexChangeEvent=t.on("change:zIndex",()=>this._updateLayersOrder()))}else bc.log("[ERROR] LayerSwitcher:addLayer - configuration cannot be set for ",t," layer (layer is not in map.getLayers() )")}else bc.trace("[WARN] LayerSwitcher:addLayer - configuration cannot be set for this layer (layer id not found)",t)}else bc.log("[ERROR] LayerSwitcher:addLayer - missing layer parameter")},e.prototype.removeLayer=function(t){if(t){Object($r["b"])(this._listeners.updateLayerOpacity),Object($r["b"])(this._listeners.updateLayerVisibility),bc.trace(t);var e=t.gpLayerId,n=document.getElementById(this._addUID("GPlayersList")),i=document.getElementById(this._addUID("GPinfo_ID_"+e));i&&"GPlayerInfoOpened"===i.className&&(document.getElementById(this._addUID("GPlayerInfoPanel")).className="GPlayerInfoPanelClosed",i.className="GPlayerInfo");var o=document.getElementById(this._addUID("GPlayerSwitcher_ID_"+e));o&&n.removeChild(o);var r=Math.abs(t.getZIndex()-this._lastZIndex);this._layersOrder.splice(r,1),this._lastZIndex--;for(var a=this._layersOrder,s=0;s{var n;e.hasOwnProperty("gpLayerId")?n=e.gpLayerId:(n=this._layerId,e.gpLayerId=n,this._layerId++);var i=this.getLayerInfo(e)||{};if(this._layers[n])this._layers[n].opacity=e.getOpacity(),this._layers[n].visibility=e.getVisible(),this._layers[n].inRange=this.isInRange(e,t);else{var o=e.getOpacity(),r=e.getVisible(),a=this.isInRange(e,t),s={layer:e,id:n,opacity:null!=o?o:1,visibility:null==r||r,inRange:null==a||a,title:i._title||n,description:i._description||null,legends:i._legends||[],metadata:i._metadata||[],quicklookUrl:i._quicklookUrl||null};this._layers[n]=s}if(this._listeners.updateLayerOpacity=e.on("change:opacity",t=>this._updateLayerOpacity(t)),this._listeners._updateLayerVisibility=e.on("change:visible",t=>this._updateLayerVisibility(t)),void 0!==e.getZIndex){var l=e.getZIndex()||0;this._layersIndex[l]&&Array.isArray(this._layersIndex[l])||(this._layersIndex[l]=[]),this._layersIndex[l].push(this._layers[n])}}),this._layersIndex)if(this._layersIndex.hasOwnProperty(e))for(var n=this._layersIndex[e],i=0;ithis._updateLayersOrder()));for(var o=0;o1&&(e=1),e<0&&(e=0);var n=t.target.gpLayerId,i=document.getElementById(this._addUID("GPopacityValueDiv_ID_"+n));i&&(i.value=Math.round(100*e));var o=document.getElementById(this._addUID("GPopacityValue_ID_"+n));o&&(o.innerHTML=Math.round(100*e)+"%")},e.prototype._onVisibilityLayerClick=function(t){var e=t.target.id,n=Qa.index(e),i=this._layers[n].layer;i.setVisible(t.target.checked)},e.prototype._updateLayerVisibility=function(t){var e=t.target.getVisible(),n=t.target.gpLayerId,i=document.getElementById(this._addUID("GPvisibility_ID_"+n));i&&(i.checked=e)},e.prototype._updateLayersOrder=function(){var t=this.getMap();if(t){var e,n;for(var i in this._layersIndex={},t.getLayers().forEach(t=>{n=t.gpLayerId,Object($r["b"])(this._layers[n].onZIndexChangeEvent),this._layers[n].onZIndexChangeEvent=null,e=null,void 0!==t.getZIndex&&(e=t.getZIndex(),this._layersIndex[e]&&Array.isArray(this._layersIndex[e])||(this._layersIndex[e]=[]),this._layersIndex[e].push(this._layers[n]))}),this._lastZIndex=0,this._layersOrder=[],this._layersIndex)if(this._layersIndex.hasOwnProperty(i))for(var o=this._layersIndex[i],r=0;rthis._updateLayersOrder()));if(this._layerListContainer){while(this._layerListContainer.firstChild)this._layerListContainer.removeChild(this._layerListContainer.firstChild);for(var a=0;athis._updateLayersOrder()))}t.updateSize()},e.prototype._onMapMoveEnd=function(t){t.getLayers().forEach(e=>{var n=e.gpLayerId;if(this._layers[n]){var i,o=this._layers[n];this.isInRange(e,t)&&!o.inRange?(o.inRange=!0,i=document.getElementById(this._addUID("GPlayerSwitcher_ID_"+n)),i.classList.remove("outOfRange")):!this.isInRange(e,t)&&o.inRange&&(o.inRange=!1,i=document.getElementById(this._addUID("GPlayerSwitcher_ID_"+n)),i.classList.add("outOfRange"))}})},e.prototype.getLayerDOMId=function(t){var e=null;return this.getMap().getLayers().forEach(n=>{n===t&&(e=n.hasOwnProperty("gpLayerId")?n.gpLayerId:null)}),null!==e?this._addUID("GPlayerSwitcher_ID_"+e):null},e.prototype.isInRange=function(t,e){if(e){var n=e.getView().getResolution();if(n>t.getMaxResolution()||n{for(var n=0;n{var e=Ji.getLayerFormat(t);this._hasLayer(t)||"vector"!==e||(this._layers.push({obj:t}),n=!0)}),n&&this._updateEvents(e),e.getLayers().on("add",t=>{var n=Ji.getLayerFormat(t.element);"vector"===n&&this._layers.push({obj:t.element}),this._updateEvents(e)})}}else this._clearEvents(),this._activateCursor(!1);t.prototype.setMap.call(this,e)},e.prototype.getLayers=function(){return this._layers},e.prototype.setDefaultEvent=function(t){"string"===typeof t?t&&this._isValidEvent(t)?(this._defaultEvent=t,this._updateEvents()):Oc.log("[ERROR] GetFeatureInfo:setDefaultEvent - event '"+t+"' is not allowed."):Oc.log("[ERROR] GetFeatureInfo:setDefaultEvent - eventName parameter should be a string")},e.prototype.setCursorStyle=function(t){"string"===typeof t?(this._active&&(!this._cursorStyle&&t?this._activateCursor(!0):this._cursorStyle&&!t&&this._activateCursor(!1)),this._cursorStyle=t):Oc.log("[ERROR] GetFeatureInfo:setCursorStyle - cursorStyle parameter should be a string")},e.prototype.setActive=function(t){this._setActive(t);var e=document.getElementById(this._addUID("GPactivateGetFeatureInfo"));e&&(e.checked=t)},e.prototype._setActive=function(t){"boolean"===typeof t?this._active!==t&&(this._active=t,this._cursorStyle&&this._activateCursor(t)):Oc.log("[ERROR] GetFeatureInfo:_setActive - active parameter should be a boolean")},e.prototype.isActive=function(){return this._active},e.prototype.setHidden=function(t){this.element.style.visibility=t?"hidden":""},e.prototype.isHidden=function(){return"hidden"===this.element.style.visibility},e.prototype.setLayers=function(t){this._setLayers(t),this._updateEvents()},e.prototype._isValidEvent=function(t){return Object.keys(this._events).indexOf(t)>-1},e.prototype._activateEvent=function(t,e){var n=this,i=function(t){Ji.onDisplayFeatureInfo(t,n)};"contextmenu"===t?e.getViewport().addEventListener(t,i):e.on(t,i),this._eventsHandler[t]=i,this._events[t]=!0},e.prototype._deactivateEvent=function(t,e){"contextmenu"===t?e.getViewport().removeEventListener(t,this._eventsHandler[t]):e.un(t,this._eventsHandler[t]),delete this._eventsHandler[t],this._events[t]=!1},e.prototype._updateEvents=function(t){t||(t=this.getMap());for(var e=[],n=0;n=0?this._activateEvent(o,t):this._events[o]&&e.indexOf(o)<0&&this._deactivateEvent(o,t)},e.prototype._clearEvents=function(){var t=this.getMap();for(var e in this._events)this._events[e]&&this._deactivateEvent(e,t)},e.prototype._hasLayer=function(t){for(var e=0;e{for(var i=n.getLayers(),o=0;o