webpackJsonp([0],{"+34y":function(t,e,n){"use strict";var r,i=n("LKHy"),a=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.map=n,i.frameState=void 0!==r?r:null,i}return a(e,t),e}(i.a);e.a=o},"+BVF":function(t,e,n){"use strict";var r,i=n("+iwx"),a=n("/84o"),o=n.n(a),s=n("tFCN"),l=n("Mjwz"),c=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u="renderOrder",h=function(t){function e(e){var n=this,r=e||{},i=Object(s.a)({},r);return delete i.style,delete i.renderBuffer,delete i.updateWhileAnimating,delete i.updateWhileInteracting,(n=t.call(this,i)||this).declutter_=void 0!==r.declutter&&r.declutter,n.renderBuffer_=void 0!==r.renderBuffer?r.renderBuffer:100,n.style_=null,n.styleFunction_=void 0,n.setStyle(r.style),n.updateWhileAnimating_=void 0!==r.updateWhileAnimating&&r.updateWhileAnimating,n.updateWhileInteracting_=void 0!==r.updateWhileInteracting&&r.updateWhileInteracting,n}return c(e,t),e.prototype.getDeclutter=function(){return this.declutter_},e.prototype.getFeatures=function(e){return t.prototype.getFeatures.call(this,e)},e.prototype.getRenderBuffer=function(){return this.renderBuffer_},e.prototype.getRenderOrder=function(){return this.get(u)},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.getUpdateWhileAnimating=function(){return this.updateWhileAnimating_},e.prototype.getUpdateWhileInteracting=function(){return this.updateWhileInteracting_},e.prototype.renderDeclutter=function(t){t.declutterTree||(t.declutterTree=new o.a(9)),this.getRenderer().renderDeclutter(t)},e.prototype.setRenderOrder=function(t){this.set(u,t)},e.prototype.setStyle=function(t){this.style_=void 0!==t?t:l.a,this.styleFunction_=null===t?void 0:Object(l.d)(this.style_),this.changed()},e}(i.a);e.a=h},"+E39":function(t,e,n){t.exports=!n("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+Ggc":function(t,e,n){"use strict";e.a={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}},"+Iu9":function(t,e,n){"use strict";var r,i=n("Fu+J"),a=n("Heua"),o=n("QBya"),s=n("azsZ"),l=n("Oeue"),c=n("zF6X"),u=n("/LWt"),h=n("RUSk"),d=n("VgFP"),p=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e,n,r,i,a,o,l){var c=t.call(this)||this;return c.context_=e,c.pixelRatio_=n,c.extent_=r,c.transform_=i,c.viewRotation_=a,c.squaredTolerance_=o,c.userTransform_=l,c.contextFillState_=null,c.contextStrokeState_=null,c.contextTextState_=null,c.fillState_=null,c.strokeState_=null,c.image_=null,c.imageAnchorX_=0,c.imageAnchorY_=0,c.imageHeight_=0,c.imageOpacity_=0,c.imageOriginX_=0,c.imageOriginY_=0,c.imageRotateWithView_=!1,c.imageRotation_=0,c.imageScale_=[0,0],c.imageWidth_=0,c.text_="",c.textOffsetX_=0,c.textOffsetY_=0,c.textRotateWithView_=!1,c.textRotation_=0,c.textScale_=[0,0],c.textFillState_=null,c.textStrokeState_=null,c.textState_=null,c.pixelCoordinates_=[],c.tmpLocalTransform_=Object(s.c)(),c}return p(e,t),e.prototype.drawImages_=function(t,e,n,r){if(this.image_){var i=Object(h.c)(t,e,n,2,this.transform_,this.pixelCoordinates_),a=this.context_,o=this.tmpLocalTransform_,l=a.globalAlpha;1!=this.imageOpacity_&&(a.globalAlpha=l*this.imageOpacity_);var c=this.imageRotation_;this.imageRotateWithView_&&(c+=this.viewRotation_);for(var u=0,d=i.length;u=t.maxResolution)return!1;var r=e.zoom;return r>t.minZoom&&r<=t.maxZoom};var r,i=n("OrOo"),a=n("57Gy"),o=n("jP9t"),s=n("hTFF"),l=n("9Ewl"),c=n("OEyb"),u=n("tFCN"),h=n("XOen"),d=n("6t+W"),p=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e){var n=this,r=Object(u.a)({},e);delete r.source,(n=t.call(this,r)||this).mapPrecomposeKey_=null,n.mapRenderKey_=null,n.sourceChangeKey_=null,n.renderer_=null,e.render&&(n.render=e.render),e.map&&n.setMap(e.map),n.addEventListener(Object(h.b)(o.a.SOURCE),n.handleSourcePropertyChange_);var i=e.source?e.source:null;return n.setSource(i),n}return p(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(o.a.SOURCE)||null},e.prototype.getSourceState=function(){var t=this.getSource();return t?t.getState():l.a.UNDEFINED},e.prototype.handleSourceChange_=function(){this.changed()},e.prototype.handleSourcePropertyChange_=function(){this.sourceChangeKey_&&(Object(d.c)(this.sourceChangeKey_),this.sourceChangeKey_=null);var t=this.getSource();t&&(this.sourceChangeKey_=Object(d.a)(t,a.a.CHANGE,this.handleSourceChange_,this)),this.changed()},e.prototype.getFeatures=function(t){return this.renderer_.getFeatures(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(d.c)(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(Object(d.c)(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=Object(d.a)(t,s.a.PRECOMPOSE,function(t){var e=t.frameState.layerStatesArray,n=this.getLayerState(!1);Object(c.a)(!e.some(function(t){return t.layer===n.layer}),67),e.push(n)},this),this.mapRenderKey_=Object(d.a)(this,a.a.CHANGE,t.render,t),this.changed())},e.prototype.setSource=function(t){this.set(o.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.setSource(null),t.prototype.disposeInternal.call(this)},e}(i.a);e.a=f},"+tPU":function(t,e,n){n("xGkn");for(var r=n("7KvD"),i=n("hJx8"),a=n("/bQp"),o=n("dSzd")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l>>0):4294967296*(e>>>0)+(t>>>0)}function l(t,e,n){var r=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));n.realloc(r);for(var i=n.pos-1;i>=t;i--)n.buf[i+r]=n.buf[i]}function c(t,e){for(var n=0;n>>8,t[n+2]=e>>>16,t[n+3]=e>>>24}function _(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}i.prototype={destroy:function(){this.buf=null},readFields:function(t,e,n){for(n=n||this.length;this.pos>3,a=this.pos;this.type=7&r,t(i,e,this),this.pos===a&&this.skip(r)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=y(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=_(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=y(this.buf,this.pos)+4294967296*y(this.buf,this.pos+4);return this.pos+=8,t},readSFixed64:function(){var t=y(this.buf,this.pos)+4294967296*_(this.buf,this.pos+4);return this.pos+=8,t},readFloat:function(){var t=r.read(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=r.read(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,n,r=this.buf;return e=127&(n=r[this.pos++]),n<128?e:(e|=(127&(n=r[this.pos++]))<<7,n<128?e:(e|=(127&(n=r[this.pos++]))<<14,n<128?e:(e|=(127&(n=r[this.pos++]))<<21,n<128?e:function(t,e,n){var r,i,a=n.buf;if(i=a[n.pos++],r=(112&i)>>4,i<128)return s(t,r,e);if(i=a[n.pos++],r|=(127&i)<<3,i<128)return s(t,r,e);if(i=a[n.pos++],r|=(127&i)<<10,i<128)return s(t,r,e);if(i=a[n.pos++],r|=(127&i)<<17,i<128)return s(t,r,e);if(i=a[n.pos++],r|=(127&i)<<24,i<128)return s(t,r,e);if(i=a[n.pos++],r|=(1&i)<<31,i<128)return s(t,r,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(n=r[this.pos]))<<28,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>=12&&a?function(t,e,n){return a.decode(t.subarray(e,n))}(this.buf,e,t):function(t,e,n){var r="",i=e;for(;i239?4:l>223?3:l>191?2:1;if(i+u>n)break;1===u?l<128&&(c=l):2===u?128==(192&(a=t[i+1]))&&(c=(31&l)<<6|63&a)<=127&&(c=null):3===u?(a=t[i+1],o=t[i+2],128==(192&a)&&128==(192&o)&&((c=(15&l)<<12|(63&a)<<6|63&o)<=2047||c>=55296&&c<=57343)&&(c=null)):4===u&&(a=t[i+1],o=t[i+2],s=t[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&((c=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)<=65535||c>=1114112)&&(c=null)),null===c?(c=65533,u=1):c>65535&&(c-=65536,r+=String.fromCharCode(c>>>10&1023|55296),c=56320|1023&c),r+=String.fromCharCode(c),i+=u}return r}(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!==i.Bytes)return t.push(this.readVarint(e));var n=o(this);for(t=t||[];this.pos127;);else if(e===i.Bytes)this.pos=this.readVarint()+this.pos;else if(e===i.Fixed32)this.pos+=4;else{if(e!==i.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e268435455||t<0?function(t,e){var n,r;t>=0?(n=t%4294967296|0,r=t/4294967296|0):(r=~(-t/4294967296),4294967295^(n=~(-t%4294967296))?n=n+1|0:(n=0,r=r+1|0));if(t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(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}(n,0,e),function(t,e){var n=(7&t)<<4;if(e.buf[e.pos++]|=n|((t>>>=3)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;e.buf[e.pos++]=127&t}(r,e)}(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=function(t,e,n){for(var r,i,a=0;a55295&&r<57344){if(!i){r>56319||a+1===e.length?(t[n++]=239,t[n++]=191,t[n++]=189):i=r;continue}if(r<56320){t[n++]=239,t[n++]=191,t[n++]=189,i=r;continue}r=i-55296<<10|r-56320|65536,i=null}else i&&(t[n++]=239,t[n++]=191,t[n++]=189,i=null);r<128?t[n++]=r:(r<2048?t[n++]=r>>6|192:(r<65536?t[n++]=r>>12|224:(t[n++]=r>>18|240,t[n++]=r>>12&63|128),t[n++]=r>>6&63|128),t[n++]=63&r|128)}return n}(this.buf,t,this.pos);var n=this.pos-e;n>=128&&l(e,n,this),this.pos=e-1,this.writeVarint(n),this.pos+=n},writeFloat:function(t){this.realloc(4),r.write(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),r.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&&l(n,r,this),this.pos=n-1,this.writeVarint(r),this.pos+=r},writeMessage:function(t,e,n){this.writeTag(t,i.Bytes),this.writeRawMessage(e,n)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,c,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,u,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,p,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,h,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,d,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,f,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,v,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,m,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,g,e)},writeBytesField:function(t,e){this.writeTag(t,i.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,i.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,i.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,i.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,i.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,i.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,i.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,i.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,i.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,i.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}}},"/84o":function(t,e,n){var r;r=function(){"use strict";function t(t,r,i,a,o){!function t(n,r,i,a,o){for(;a>i;){if(a-i>600){var s=a-i+1,l=r-i+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);t(n,r,Math.max(i,Math.floor(r-l*u/s+h)),Math.min(a,Math.floor(r+(s-l)*u/s+h)),o)}var d=n[r],p=i,f=a;for(e(n,i,r),o(n[a],d)>0&&e(n,i,a);p0;)f--}0===o(n[i],d)?e(n,i,f):e(n,++f,a),f<=r&&(i=f+1),r<=f&&(a=f-1)}}(t,r,i||0,a||t.length-1,o||n)}function e(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function n(t,e){return te?1:0}var r=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 i(t,e,n){if(!n)return e.indexOf(t);for(var r=0;r=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 v(e,n,r,i,a){for(var o=[n,r];o.length;)if(!((r=o.pop())-(n=o.pop())<=i)){var s=n+Math.ceil((r-n)/i/2)*i;t(e,s,n,r,a),o.push(n,s,s,r)}}return r.prototype.all=function(){return this._all(this.data,[])},r.prototype.search=function(t){var e=this.data,n=[];if(!p(t,e))return n;for(var r=this.toBBox,i=[];e;){for(var a=0;a=0&&i[e].children.length>this._maxEntries;)this._split(i,e),e--;this._adjustParentBBoxes(r,i,e)},r.prototype._split=function(t,e){var n=t[e],r=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,r);var o=this._chooseSplitIndex(n,i,r),s=f(n.children.splice(o,n.children.length-o));s.height=n.height,s.leaf=n.leaf,a(n,this.toBBox),a(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},r.prototype._splitRoot=function(t,e){this.data=f([t,e]),this.data.height=t.height+1,this.data.leaf=!1,a(this.data,this.toBBox)},r.prototype._chooseSplitIndex=function(t,e,n){for(var r,i,a,s,l,c,h,d=1/0,p=1/0,f=e;f<=n-e;f++){var v=o(t,0,f,this.toBBox),m=o(t,f,n,this.toBBox),g=(i=v,a=m,s=void 0,l=void 0,c=void 0,h=void 0,s=Math.max(i.minX,a.minX),l=Math.max(i.minY,a.minY),c=Math.min(i.maxX,a.maxX),h=Math.min(i.maxY,a.maxY),Math.max(0,c-s)*Math.max(0,h-l)),y=u(v)+u(m);g=e;p--){var f=t.children[p];s(l,t.leaf?i(f):f),c+=h(l)}return c},r.prototype._adjustParentBBoxes=function(t,e,n){for(var r=n;r>=0;r--)s(e[r],t)},r.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():a(t[e],this.toBBox)},r},t.exports=r()},"/LWt":function(t,e,n){"use strict";e.c=function(t){for(var e=l(),n=0,r=t.length;nt[2]&&(t[2]=e[2]);e[1]t[3]&&(t[3]=e[3]);return t},e.s=h,e.t=p,e.u=function(t,e){var n;if(n=e(m(t)))return n;if(n=e(g(t)))return n;if(n=e(w(t)))return n;if(n=e(O(t)))return n;return!1},e.v=v,e.w=m,e.x=g,e.y=y,e.z=function(t,e){var n;e===r.a.BOTTOM_LEFT?n=m(t):e===r.a.BOTTOM_RIGHT?n=g(t):e===r.a.TOP_LEFT?n=O(t):e===r.a.TOP_RIGHT?n=w(t):Object(a.a)(!1,13);return n},e.A=function(t,e,n,r,i){var a=e*r[0]/2,o=e*r[1]/2,s=Math.cos(n),l=Math.sin(n),u=a*s,h=a*l,d=o*s,p=o*l,f=t[0],v=t[1],m=f-u+p,g=f-u-p,y=f+u-p,b=f+u+p,_=v-h-d,O=v-h+d,w=v+h+d,z=v+h-d;return c(Math.min(m,g,y,b),Math.min(_,O,w,z),Math.max(m,g,y,b),Math.max(_,O,w,z),i)},e.B=b,e.C=_,e.D=O,e.E=w,e.F=z,e.G=x,e.I=C,e.J=function(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t},e.K=function(t,e){var n=(t[2]-t[0])/2*(e-1),r=(t[3]-t[1])/2*(e-1);t[0]-=n,t[2]+=n,t[1]-=r,t[3]+=r},e.H=function(t,e,n){var r=!1,a=s(t,e),o=s(t,n);if(a===i.a.INTERSECTING||o===i.a.INTERSECTING)r=!0;else{var l=t[0],c=t[1],u=t[2],h=t[3],d=e[0],p=e[1],f=n[0],v=n[1],m=(v-p)/(f-d),g=void 0,y=void 0;o&i.a.ABOVE&&!(a&i.a.ABOVE)&&(r=(g=f-(v-h)/m)>=l&&g<=u),r||!(o&i.a.RIGHT)||a&i.a.RIGHT||(r=(y=v-(f-u)*m)>=c&&y<=h),r||!(o&i.a.BELOW)||a&i.a.BELOW||(r=(g=f-(v-c)/m)>=l&&g<=u),r||!(o&i.a.LEFT)||a&i.a.LEFT||(r=(y=v-(f-l)*m)>=c&&y<=h)}return r},e.a=function(t,e,n,r){var i=[];if(r>1)for(var a=t[2]-t[0],o=t[3]-t[1],s=0;s=n[2])){var i=z(n),a=Math.floor((r[0]-n[0])/i),o=a*i;t[0]-=o,t[2]-=o}return t};var r=n("7XOM"),i=n("+Ggc"),a=n("OEyb");function o(t,e,n){return t[0]<=e&&e<=t[2]&&t[1]<=n&&n<=t[3]}function s(t,e){var n=t[0],r=t[1],a=t[2],o=t[3],s=e[0],l=e[1],c=i.a.UNKNOWN;return sa&&(c|=i.a.RIGHT),lo&&(c|=i.a.ABOVE),c===i.a.UNKNOWN&&(c=i.a.INTERSECTING),c}function l(){return[1/0,1/0,-1/0,-1/0]}function c(t,e,n,r,i){return i?(i[0]=t,i[1]=e,i[2]=n,i[3]=r,i):[t,e,n,r]}function u(t){return c(1/0,1/0,-1/0,-1/0,t)}function h(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function d(t,e){for(var n=0,r=e.length;ne[0]?r[0]=t[0]:r[0]=e[0],t[1]>e[1]?r[1]=t[1]:r[1]=e[1],t[2]=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function C(t){return t[2]=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}(a.path||""),d=e&&e.path||"/",p=c.path?z(c.path,d,n||a.append):d,f=function(t,e,n){void 0===e&&(e={});var r,i=n||h;try{r=i(t||"")}catch(t){r={}}for(var a in e){var o=e[a];r[a]=Array.isArray(o)?o.map(u):u(o)}return r}(c.query,a.query,r&&r.options.parseQuery),v=a.hash||c.hash;return v&&"#"!==v.charAt(0)&&(v="#"+v),{_normalized:!0,path:p,query:f,hash:v}}var G,U=[String,Object],W=[String,Array],q=function(){},X={name:"RouterLink",props:{to:{type:U,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:W,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,a=n.resolve(this.to,r,this.append),o=a.location,s=a.route,l=a.href,c={},u=n.options.linkActiveClass,h=n.options.linkExactActiveClass,d=null==u?"router-link-active":u,v=null==h?"router-link-exact-active":h,m=null==this.activeClass?d:this.activeClass,g=null==this.exactActiveClass?v:this.exactActiveClass,b=s.redirectedFrom?f(null,$(s.redirectedFrom),null,n):s;c[g]=y(r,b,this.exactPath),c[m]=this.exact||this.exactPath?c[g]:function(t,e){return 0===t.path.replace(p,"/").indexOf(e.path.replace(p,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,b);var _=c[g]?this.ariaCurrentValue:null,O=function(t){Y(t)&&(e.replace?n.replace(o,q):n.push(o,q))},w={click:Y};Array.isArray(this.event)?this.event.forEach(function(t){w[t]=O}):w[this.event]=O;var z={class:c},x=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:O,isActive:c[m],isExactActive:c[g]});if(x){if(1===x.length)return x[0];if(x.length>1||!x.length)return 0===x.length?t():t("span",{},x)}if("a"===this.tag)z.on=w,z.attrs={href:l,"aria-current":_};else{var C=function t(e){if(e)for(var n,r=0;r-1&&(s.params[d]=n.params[d]);return s.path=N(u.path,s.params),l(u,s,o)}if(s.path){s.params={};for(var p=0;p=t.length?n():t[i]?e(t[i],function(){r(i+1)}):r(i+1)};r(0)}var Ot={redirected:2,aborted:4,cancelled:8,duplicated:16};function wt(t,e){return xt(t,e,Ot.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return Ct.forEach(function(n){n in t&&(e[n]=t[n])}),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function zt(t,e){return xt(t,e,Ot.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function xt(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var Ct=["params","query","hash"];function Mt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function St(t,e){return Mt(t)&&t._isRouter&&(null==e||t.type===e)}function At(t){return function(e,n,r){var i=!1,a=0,o=null;Tt(t,function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){i=!0,a++;var l,c=It(function(e){var i;((i=e).__esModule||Et&&"Module"===i[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:G.extend(e),n.components[s]=e,--a<=0&&r()}),u=It(function(t){var e="Failed to resolve async component "+s+": "+t;o||(o=Mt(t)?t:new Error(e),r(o))});try{l=t(c,u)}catch(t){u(t)}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)}}}),i||r()}}function Tt(t,e){return jt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function jt(t){return Array.prototype.concat.apply([],t)}var Et="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function It(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Lt=function(t,e){this.router=t,this.base=function(t){if(!t)if(Z){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Pt(t,e,n,r){var i=Tt(t,function(t,r,i,a){var o=function(t,e){"function"!=typeof t&&(t=G.extend(t));return t.options[e]}(t,e);if(o)return Array.isArray(o)?o.map(function(t){return n(t,r,i,a)}):n(o,r,i,a)});return jt(r?i.reverse():i)}function kt(t,e){if(e)return function(){return t.apply(e,arguments)}}Lt.prototype.listen=function(t){this.cb=t},Lt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Lt.prototype.onError=function(t){this.errorCbs.push(t)},Lt.prototype.transitionTo=function(t,e,n){var r,i=this;try{r=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach(function(e){e(t)}),t}var a=this.current;this.confirmTransition(r,function(){i.updateRoute(r),e&&e(r),i.ensureURL(),i.router.afterHooks.forEach(function(t){t&&t(r,a)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(t){t(r)}))},function(t){n&&n(t),t&&!i.ready&&(St(t,Ot.redirected)&&a===m||(i.ready=!0,i.readyErrorCbs.forEach(function(e){e(t)})))})},Lt.prototype.confirmTransition=function(t,e,n){var i=this,a=this.current;this.pending=t;var o,s,l=function(t){!St(t)&&Mt(t)&&(i.errorCbs.length?i.errorCbs.forEach(function(e){e(t)}):(r(),console.error(t))),n&&n(t)},c=t.matched.length-1,u=a.matched.length-1;if(y(t,a)&&c===u&&t.matched[c]===a.matched[u])return this.ensureURL(),l(((s=xt(o=a,t,Ot.duplicated,'Avoided redundant navigation to current location: "'+o.fullPath+'".')).name="NavigationDuplicated",s));var h=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=gt&&n;r&&this.listeners.push(st());var i=function(){var n=t.current,i=Vt(t.base);t.current===m&&i===t._startLocation||t.transitionTo(i,function(t){r&<(e,t,n,!0)})};window.addEventListener("popstate",i),this.listeners.push(function(){window.removeEventListener("popstate",i)})}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,function(t){yt(x(r.base+t.fullPath)),lt(r.router,t,i,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,function(t){bt(x(r.base+t.fullPath)),lt(r.router,t,i,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(Vt(this.base)!==this.current.fullPath){var e=x(this.base+this.current.fullPath);t?yt(e):bt(e)}},e.prototype.getCurrentLocation=function(){return Vt(this.base)},e}(Lt);function Vt(t){var e=window.location.pathname;return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Bt=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=Vt(t);if(!/^\/#/.test(e))return window.location.replace(x(t+"/#"+e)),!0}(this.base)||Rt()}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.options.scrollBehavior,n=gt&&e;n&&this.listeners.push(st());var r=function(){var e=t.current;Rt()&&t.transitionTo(Ht(),function(r){n&<(t.router,r,e,!0),gt||$t(r.fullPath)})},i=gt?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push(function(){window.removeEventListener(i,r)})}},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,function(t){Nt(t.fullPath),lt(r.router,t,i,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,function(t){$t(t.fullPath),lt(r.router,t,i,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Ht()!==e&&(t?Nt(e):$t(e))},e.prototype.getCurrentLocation=function(){return Ht()},e}(Lt);function Rt(){var t=Ht();return"/"===t.charAt(0)||($t("/"+t),!1)}function Ht(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Dt(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Nt(t){gt?yt(Dt(t)):window.location.hash=t}function $t(t){gt?bt(Dt(t)):window.location.replace(Dt(t))}var Gt=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 r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.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 r=this.stack[n];this.confirmTransition(r,function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach(function(e){e&&e(r,t)})},function(t){St(t,Ot.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}(Lt),Ut=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Q(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!gt&&!1!==t.fallback,this.fallback&&(e="hash"),Z||(e="abstract"),this.mode=e,e){case"history":this.history=new Ft(this,t.base);break;case"hash":this.history=new Bt(this,t.base,this.fallback);break;case"abstract":this.history=new Gt(this,t.base);break;default:0}},Wt={currentRoute:{configurable:!0}};function qt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Ut.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Wt.currentRoute.get=function(){return this.history&&this.history.current},Ut.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 Ft||n instanceof Bt){var r=function(t){n.setupListeners(),function(t){var r=n.current,i=e.options.scrollBehavior;gt&&i&&"fullPath"in t&<(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},Ut.prototype.beforeEach=function(t){return qt(this.beforeHooks,t)},Ut.prototype.beforeResolve=function(t){return qt(this.resolveHooks,t)},Ut.prototype.afterEach=function(t){return qt(this.afterHooks,t)},Ut.prototype.onReady=function(t,e){this.history.onReady(t,e)},Ut.prototype.onError=function(t){this.history.onError(t)},Ut.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){r.history.push(t,e,n)});this.history.push(t,e,n)},Ut.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){r.history.replace(t,e,n)});this.history.replace(t,e,n)},Ut.prototype.go=function(t){this.history.go(t)},Ut.prototype.back=function(){this.go(-1)},Ut.prototype.forward=function(){this.go(1)},Ut.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]})})):[]},Ut.prototype.resolve=function(t,e,n){var r=$(t,e=e||this.history.current,n,this),i=this.match(r,e),a=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?x(t+"/"+r):r}(this.history.base,a,this.mode),normalizedTo:r,resolved:i}},Ut.prototype.getRoutes=function(){return this.matcher.getRoutes()},Ut.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Ut.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ut.prototype,Wt),Ut.install=K,Ut.version="3.5.1",Ut.isNavigationFailure=St,Ut.NavigationFailureType=Ot,Ut.START_LOCATION=m,Z&&window.Vue&&window.Vue.use(Ut),e.a=Ut},"00zS":function(t,e,n){"use strict";var r=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=r},"09IN":function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i});var r=.5,i=!0},"0saQ":function(t,e,n){"use strict";var r,i="tileloadstart",a="tileloadend",o="tileloaderror",s=n("Qa85"),l=n("DL7K"),c=n("796y"),u=n("fGqn"),h=n("3ciB"),d=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),p=function(t){function e(n){var r=t.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,opaque:n.opaque,projection:n.projection,state:n.state,tileGrid:n.tileGrid,tilePixelRatio:n.tilePixelRatio,wrapX:n.wrapX,transition:n.transition,key:n.key,attributionsCollapsible:n.attributionsCollapsible,zDirection:n.zDirection})||this;return r.generateTileUrlFunction_=r.tileUrlFunction===e.prototype.tileUrlFunction,r.tileLoadFunction=n.tileLoadFunction,n.tileUrlFunction&&(r.tileUrlFunction=n.tileUrlFunction),r.urls=null,n.urls?r.setUrls(n.urls):n.url&&r.setUrl(n.url),r.tileLoadingKeys_={},r}return d(e,t),e.prototype.getTileLoadFunction=function(){return this.tileLoadFunction},e.prototype.getTileUrlFunction=function(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction},e.prototype.getUrls=function(){return this.urls},e.prototype.handleTileChange=function(t){var e,n=t.target,r=Object(h.c)(n),c=n.getState();c==l.a.LOADING?(this.tileLoadingKeys_[r]=!0,e=i):r in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[r],e=c==l.a.ERROR?o:c==l.a.LOADED?a:void 0),void 0!=e&&this.dispatchEvent(new s.a(e,n))},e.prototype.setTileLoadFunction=function(t){this.tileCache.clear(),this.tileLoadFunction=t,this.changed()},e.prototype.setTileUrlFunction=function(t,e){this.tileUrlFunction=t,this.tileCache.pruneExceptNewestZ(),void 0!==e?this.setKey(e):this.changed()},e.prototype.setUrl=function(t){var e=Object(c.c)(t);this.urls=e,this.setUrls(e)},e.prototype.setUrls=function(t){this.urls=t;var e=t.join("\n");this.generateTileUrlFunction_?this.setTileUrlFunction(Object(c.a)(t,this.tileGrid),e):this.setKey(e)},e.prototype.tileUrlFunction=function(t,e,n){},e.prototype.useTile=function(t,e,n){var r=Object(u.d)(t,e,n);this.tileCache.containsKey(r)&&this.tileCache.get(r)},e}(s.b);e.a=p},"0uY1":function(t,e,n){"use strict";var r,i=n("OrOo"),a=n("A90D"),o=n("DM+O"),s=n("57Gy"),l=n("XDHy"),c=n("9Ewl"),u=n("OEyb"),h=n("tFCN"),d=n("XOen"),p=n("/LWt"),f=n("3ciB"),v=n("6t+W"),m=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g={LAYERS:"layers"},y=function(t){function e(e){var n=this,r=e||{},i=Object(h.a)({},r);delete i.layers;var o=r.layers;return(n=t.call(this,i)||this).layersListenerKeys_=[],n.listenerKeys_={},n.addEventListener(Object(d.b)(g.LAYERS),n.handleLayersChanged_),o?Array.isArray(o)?o=new a.a(o.slice(),{unique:!0}):Object(u.a)("function"==typeof o.getArray,43):o=new a.a(void 0,{unique:!0}),n.setLayers(o),n}return m(e,t),e.prototype.handleLayerChange_=function(){this.changed()},e.prototype.handleLayersChanged_=function(){this.layersListenerKeys_.forEach(v.c),this.layersListenerKeys_.length=0;var t=this.getLayers();for(var e in this.layersListenerKeys_.push(Object(v.a)(t,o.a.ADD,this.handleLayersAdd_,this),Object(v.a)(t,o.a.REMOVE,this.handleLayersRemove_,this)),this.listenerKeys_)this.listenerKeys_[e].forEach(v.c);Object(h.b)(this.listenerKeys_);for(var n=t.getArray(),r=0,i=n.length;r0&&(o.width=0),this.container;var h=Math.round(t.size[0]*n),p=Math.round(t.size[1]*n);o.width!=h||o.height!=p?(o.width=h,o.height=p,o.style.transform!==i&&(o.style.transform=i)):this.containerReused||a.clearRect(0,0,h,p),this.preRender(a,t);var f=t.viewState,v=f.projection,m=!1;if(r.extent&&this.clipping){var g=Object(d.f)(r.extent,v);(m=!Object(c.h)(g,t.extent)&&Object(c.G)(g,t.extent))&&this.clipUnrotated(a,t,g)}this.renderWorlds(s,t),m&&a.restore(),this.postRender(a,t);var y=r.opacity,b=this.container;return y!==parseFloat(b.style.opacity)&&(b.style.opacity=1===y?"":String(y)),this.renderedRotation_!==f.rotation&&(this.renderedRotation_=f.rotation,this.hitDetectionImageData_=null),this.container},e.prototype.getFeatures=function(t){return new Promise(function(e){if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){var n=[this.context.canvas.width,this.context.canvas.height];Object(l.a)(this.pixelTransform,n);var r=this.renderedCenter_,i=this.renderedResolution_,a=this.renderedRotation_,o=this.renderedProjection_,s=this.renderedExtent_,h=this.getLayer(),d=[],p=n[0]/2,f=n[1]/2;d.push(this.getRenderTransform(r,i,a,.5,p,f,0).slice());var v=h.getSource(),m=o.getExtent();if(v.getWrapX()&&o.canWrapX()&&!Object(c.h)(m,s)){for(var g=s[0],y=Object(c.F)(m),b=0,_=void 0;gm[2];)_=y*++b,d.push(this.getRenderTransform(r,i,a,.5,p,f,_).slice()),g-=y}this.hitDetectionImageData_=Object(u.a)(n,d,this.renderedFeatures_,h.getStyleFunction(),s,i,a)}e(Object(u.b)(t,this.renderedFeatures_,this.hitDetectionImageData_))}.bind(this))},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,r,i){var a=this;if(this.replayGroup_){var o,s=e.viewState.resolution,l=e.viewState.rotation,c=this.getLayer(),u={},h=function(t,e,n){var a=Object(p.c)(t),o=u[a];if(o){if(!0!==o&&nC[0]&&A[2]>C[2]&&x.push([A[0]-M,A[1],A[2]-M,A[3]])}if(!this.dirty_&&this.renderedResolution_==g&&this.renderedRevision_==b&&this.renderedRenderOrder_==O&&Object(c.h)(this.renderedExtent_,z))return this.replayGroupChanged=!1,!0;this.replayGroup_=null,this.dirty_=!1;var T,j=new i.a(Object(h.c)(g,y),z,g,y);this.getLayer().getDeclutter()&&(T=new i.a(Object(h.c)(g,y),z,g,y));var E,I=Object(d.k)();if(I){for(var L=0,P=x.length;L0&&m.length>0;)a=m.pop(),u=f.pop(),d=v.pop(),(l=a.toString())in y||(c.push(d[0],d[1]),y[l]=!0),o=m.pop(),h=f.pop(),p=v.pop(),i=e(r=t(s=(a+o)/2)),Object(g.h)(i[0],i[1],d[0],d[1],p[0],p[1])this.featurePool_.length;)c=new a.a,this.featurePool_.push(c);var h=r.getFeaturesCollection();h.clear();var d,p,f=0;for(d=0,p=this.meridians_.length;dMath.PI/2);for(var g=function(t){var e,n=t.frameState,r=Object(O.f)(t.inversePixelTransform.slice(),n.coordinateToPixelTransform),i=Object(w.b)(n.viewState.resolution,n.pixelRatio),a=Object(b.k)();return a&&(e=Object(b.j)(a,n.viewState.projection)),new _.a(t.context,n.pixelRatio,n.extent,r,n.viewState.rotation,i,e)}(t),y=h;y<=d;++y){var z=this.meridians_.length+this.parallels_.length,x=void 0,C=void 0,M=void 0,S=void 0;if(this.meridiansLabels_)for(C=0,M=this.meridiansLabels_.length;C=s?(t[0]=o[0],t[2]=o[2]):a=!0);var l=[Object(g.a)(e[0],this.minX_,this.maxX_),Object(g.a)(e[1],this.minY_,this.maxY_)],c=this.toLonLatTransform_(l);isNaN(c[1])&&(c[1]=Math.abs(this.maxLat_)>=Math.abs(this.minLat_)?this.maxLat_:this.minLat_);var u,h,d,p,f=Object(g.a)(c[0],this.minLon_,this.maxLon_),m=Object(g.a)(c[1],this.minLat_,this.maxLat_),y=this.maxLines_,b=t;a||(b=[Object(g.a)(t[0],this.minX_,this.maxX_),Object(g.a)(t[1],this.minY_,this.maxY_),Object(g.a)(t[2],this.minX_,this.maxX_),Object(g.a)(t[3],this.minY_,this.maxY_)]);var _=Object(v.a)(b,this.toLonLatTransform_,void 0,8),O=_[3],w=_[2],z=_[1],x=_[0];if(a||(Object(v.g)(b,this.bottomLeft_)&&(x=this.minLon_,z=this.minLat_),Object(v.g)(b,this.bottomRight_)&&(w=this.maxLon_,z=this.minLat_),Object(v.g)(b,this.topLeft_)&&(x=this.minLon_,O=this.maxLat_),Object(v.g)(b,this.topRight_)&&(w=this.maxLon_,O=this.maxLat_),O=Object(g.a)(O,m,this.maxLat_),w=Object(g.a)(w,f,this.maxLon_),z=Object(g.a)(z,this.minLat_,m),x=Object(g.a)(x,this.minLon_,f)),f=Math.floor(f/i)*i,p=Object(g.a)(f,this.minLon_,this.maxLon_),h=this.addMeridian_(p,z,O,r,t,0),u=0,a)for(;(p-=i)>=x&&u++r[a]&&(i=a,a=1);var o=Math.max(e[1],r[i]),s=Math.min(e[3],r[a]),l=Object(g.a)(e[1]+Math.abs(e[1]-e[3])*this.lonLabelPosition_,o,s),c=[r[i-1]+(r[a-1]-r[i-1])*(l-r[i])/(r[a]-r[i]),l],u=this.meridiansLabels_[n].geom;return u.setCoordinates(c),u},e.prototype.getMeridians=function(){return this.meridians_},e.prototype.getParallel_=function(t,e,n,r,i){var a=function(t,e,n,r,i){var a=Object(b.g)("EPSG:4326");return z(function(r){return[e+(n-e)*r,t]},Object(b.i)(a,r),i)}(t,e,n,this.projection_,r),o=this.parallels_[i];return o?(o.setFlatCoordinates(s.a.XY,a),o.changed()):o=new l.a(a,s.a.XY),o},e.prototype.getParallelPoint_=function(t,e,n){var r=t.getFlatCoordinates(),i=0,a=r.length-2;r[i]>r[a]&&(i=a,a=0);var o=Math.max(e[0],r[i]),s=Math.min(e[2],r[a]),l=Object(g.a)(e[0]+Math.abs(e[0]-e[2])*this.latLabelPosition_,o,s),c=[l,r[i+1]+(r[a+1]-r[i+1])*(l-r[i])/(r[a]-r[i])],u=this.parallelsLabels_[n].geom;return u.setCoordinates(c),u},e.prototype.getParallels=function(){return this.parallels_},e.prototype.updateProjectionInfo_=function(t){var e=Object(b.g)("EPSG:4326"),n=t.getWorldExtent();this.maxLat_=n[3],this.maxLon_=n[2],this.minLat_=n[1],this.minLon_=n[0];var r=Object(b.i)(t,e);if(this.minLon_=Math.abs(this.minLat_)?this.maxLat_:this.minLat_),this.projection_=t}}(p.a)},"5t69":function(t,e,n){"use strict";var r,i=n("5MGX"),a=n("Fu+J"),o=n("grfP"),s=n("VgFP"),l=n("bmSR"),c=n("/LWt"),u=n("hrLW"),h=n("LmAy"),d=n("zF6X"),p=n("wupX"),f=n("MB6k"),v=n("pWpL"),m=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){function e(e,n,r){var i=t.call(this)||this;if(i.ends_=[],i.maxDelta_=-1,i.maxDeltaRevision_=-1,Array.isArray(e[0]))i.setCoordinates(e,n);else if(void 0!==n&&r)i.setFlatCoordinates(n,e),i.ends_=r;else{for(var a=i.getLayout(),o=e,s=[],l=[],c=0,u=o.length;c=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||c(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function f(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function _(t,e){return b.call(t,e)}function O(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var w=/-(\w)/g,z=O(function(t){return t.replace(w,function(t,e){return e?e.toUpperCase():""})}),x=O(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),C=/\B([A-Z])/g,M=O(function(t){return t.replace(C,"-$1").toLowerCase()});var S=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function A(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function T(t,e){for(var n in e)t[n]=e[n];return t}function j(t){for(var e={},n=0;n0,Q=K&&K.indexOf("edge/")>0,tt=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===Y),et=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),K&&K.match(/firefox\/(\d+)/)),nt={}.watch,rt=!1;if(q)try{var it={};Object.defineProperty(it,"passive",{get:function(){rt=!0}}),window.addEventListener("test-passive",null,it)}catch(t){}var at=function(){return void 0===U&&(U=!q&&!X&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),U},ot=q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function st(t){return"function"==typeof t&&/native code/.test(t.toString())}var lt,ct="undefined"!=typeof Symbol&&st(Symbol)&&"undefined"!=typeof Reflect&&st(Reflect.ownKeys);lt="undefined"!=typeof Set&&st(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 ut=E,ht=0,dt=function(){this.id=ht++,this.subs=[]};dt.prototype.addSub=function(t){this.subs.push(t)},dt.prototype.removeSub=function(t){y(this.subs,t)},dt.prototype.depend=function(){dt.target&&dt.target.addDep(this)},dt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(a&&!_(i,"default"))o=!1;else if(""===o||o===M(t)){var l=Nt(String,i.type);(l<0||s0&&(he((c=t(c,(n||"")+"_"+l))[0])&&he(h)&&(s[u]=bt(h.text+c[0].text),c.shift()),s.push.apply(s,c)):o(c)?he(h)?s[u]=bt(h.text+c):""!==c&&s.push(bt(c)):he(c)&&he(h)?s[u]=bt(h.text+c.text):(a(e._isVList)&&i(c.tag)&&r(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+l+"__"),s.push(c)));return s}(t):void 0}function he(t){return i(t)&&i(t.text)&&!1===t.isComment}function de(t,e){if(t){for(var n=Object.create(null),r=ct?Reflect.ownKeys(t):Object.keys(t),i=0;i0,o=t?!!t.$stable:!a,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(o&&r&&r!==n&&s===r.$key&&!a&&!r.$hasNormal)return r;for(var l in i={},t)t[l]&&"$"!==l[0]&&(i[l]=me(e,l,t[l]))}else i={};for(var c in e)c in i||(i[c]=ge(e,c));return t&&Object.isExtensible(t)&&(t._normalized=i),$(i,"$stable",o),$(i,"$key",s),$(i,"$hasNormal",a),i}function me(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ue(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function ge(t,e){return function(){return t[e]}}function ye(t,e){var n,r,a,o,l;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,a=t.length;rdocument.createEvent("Event").timeStamp&&(hn=function(){return dn.now()})}function pn(){var t,e;for(un=hn(),ln=!0,rn.sort(function(t,e){return t.id-e.id}),cn=0;cncn&&rn[n].id>t.id;)n--;rn.splice(n+1,0,t)}else rn.push(t);sn||(sn=!0,ne(pn))}}(this)},vn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){$t(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},vn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},vn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},vn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var mn={enumerable:!0,configurable:!0,get:E,set:E};function gn(t,e,n){mn.get=function(){return this[e][n]},mn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,mn)}function yn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],a=!t.$parent;a||Ct(!1);var o=function(a){i.push(a);var o=Rt(a,e,n,t);At(r,a,o),a in t||gn(t,"_props",a)};for(var s in e)o(s);Ct(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?E:S(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;c(e=t._data="function"==typeof e?function(t,e){ft();try{return t.call(e,e)}catch(t){return $t(t,e,"data()"),{}}finally{vt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var a=n[i];0,r&&_(r,a)||N(a)||gn(t,"_data",a)}St(e,!0)}(t):St(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=at();for(var i in e){var a=e[i],o="function"==typeof a?a:a.get;0,r||(n[i]=new vn(t,o||E,E,bn)),i in t||_n(t,i,a)}}(t,e.computed),e.watch&&e.watch!==nt&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!u(t)&&t.test(e)}function jn(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var a in n){var o=n[a];if(o){var s=An(o.componentOptions);s&&!e(s)&&En(n,a,r,i)}}}function En(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,y(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=xn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Vt(Cn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Ze(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,i=r&&r.context;t.$slots=pe(e._renderChildren,i),t.$scopedSlots=n,t._c=function(e,n,r,i){return Ne(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Ne(t,e,n,r,i,!0)};var a=r&&r.data;At(t,"$attrs",a&&a.attrs||n,null,!0),At(t,"$listeners",e._parentListeners||n,null,!0)}(e),nn(e,"beforeCreate"),function(t){var e=de(t.$options.inject,t);e&&(Ct(!1),Object.keys(e).forEach(function(n){At(t,n,e[n])}),Ct(!0))}(e),yn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),nn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Mn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Tt,t.prototype.$delete=jt,t.prototype.$watch=function(t,e,n){if(c(e))return zn(this,t,e,n);(n=n||{}).user=!0;var r=new vn(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){$t(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Mn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,a=t.length;i1?A(n):n;for(var r=A(arguments,1),i='event handler for "'+t+'"',a=0,o=n.length;aparseInt(this.max)&&En(o,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return H}};Object.defineProperty(t,"config",e),t.util={warn:ut,extend:T,mergeOptions:Vt,defineReactive:At},t.set=Tt,t.delete=jt,t.nextTick=ne,t.observable=function(t){return St(t),t},t.options=Object.create(null),B.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,T(t.options.components,Ln),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=A(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Vt(this.options,t),this}}(t),Sn(t),function(t){B.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(Mn),Object.defineProperty(Mn.prototype,"$isServer",{get:at}),Object.defineProperty(Mn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Mn,"FunctionalRenderContext",{value:Le}),Mn.version="2.6.12";var Pn=v("style,class"),kn=v("input,textarea,option,select,progress"),Fn=function(t,e,n){return"value"===n&&kn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Vn=v("contenteditable,draggable,spellcheck"),Bn=v("events,caret,typing,plaintext-only"),Rn=function(t,e){return Gn(e)||"false"===e?"false":"contenteditable"===t&&Bn(e)?e:"true"},Hn=v("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,translate,truespeed,typemustmatch,visible"),Dn="http://www.w3.org/1999/xlink",Nn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},$n=function(t){return Nn(t)?t.slice(6,t.length):""},Gn=function(t){return null==t||!1===t};function Un(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Wn(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=Wn(e,n.data));return function(t,e){if(i(t)||i(e))return qn(t,Xn(e));return""}(e.staticClass,e.class)}function Wn(t,e){return{staticClass:qn(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function qn(t,e){return t?e?t+" "+e:t:e||""}function Xn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,a=t.length;r-1?br(t,e,n):Hn(e)?Gn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Vn(e)?t.setAttribute(e,Rn(e,n)):Nn(e)?Gn(n)?t.removeAttributeNS(Dn,$n(e)):t.setAttributeNS(Dn,e,n):br(t,e,n)}function br(t,e,n){if(Gn(n))t.removeAttribute(e);else{if(Z&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var _r={create:gr,update:gr};function Or(t,e){var n=e.elm,a=e.data,o=t.data;if(!(r(a.staticClass)&&r(a.class)&&(r(o)||r(o.staticClass)&&r(o.class)))){var s=Un(e),l=n._transitionClasses;i(l)&&(s=qn(s,Xn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var wr,zr,xr,Cr,Mr,Sr,Ar={create:Or,update:Or},Tr=/[\w).+\-_$\]]/;function jr(t){var e,n,r,i,a,o=!1,s=!1,l=!1,c=!1,u=0,h=0,d=0,p=0;for(r=0;r=0&&" "===(v=t.charAt(f));f--);v&&Tr.test(v)||(c=!0)}}else void 0===i?(p=r+1,i=t.slice(0,r).trim()):m();function m(){(a||(a=[])).push(t.slice(p,r).trim()),p=r+1}if(void 0===i?i=t.slice(0,r).trim():0!==p&&m(),a)for(r=0;r-1?{exp:t.slice(0,Cr),key:'"'+t.slice(Cr+1)+'"'}:{exp:t,key:null};zr=t,Cr=Mr=Sr=0;for(;!Xr();)Yr(xr=qr())?Zr(xr):91===xr&&Kr(xr);return{exp:t.slice(0,Mr),key:t.slice(Mr+1,Sr)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function qr(){return zr.charCodeAt(++Cr)}function Xr(){return Cr>=wr}function Yr(t){return 34===t||39===t}function Kr(t){var e=1;for(Mr=Cr;!Xr();)if(Yr(t=qr()))Zr(t);else if(91===t&&e++,93===t&&e--,0===e){Sr=Cr;break}}function Zr(t){for(var e=t;!Xr()&&(t=qr())!==e;);}var Jr,Qr="__r",ti="__c";function ei(t,e,n){var r=Jr;return function i(){null!==e.apply(null,arguments)&&ii(t,i,n,r)}}var ni=Xt&&!(et&&Number(et[1])<=53);function ri(t,e,n,r){if(ni){var i=un,a=e;e=a._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return a.apply(this,arguments)}}Jr.addEventListener(t,e,rt?{capture:n,passive:r}:n)}function ii(t,e,n,r){(r||Jr).removeEventListener(t,e._wrapper||e,n)}function ai(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},a=t.data.on||{};Jr=e.elm,function(t){if(i(t[Qr])){var e=Z?"change":"input";t[e]=[].concat(t[Qr],t[e]||[]),delete t[Qr]}i(t[ti])&&(t.change=[].concat(t[ti],t.change||[]),delete t[ti])}(n),se(n,a,ri,ii,ei,e.context),Jr=void 0}}var oi,si={create:ai,update:ai};function li(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,a,o=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in i(l.__ob__)&&(l=e.data.domProps=T({},l)),s)n in l||(o[n]="");for(n in l){if(a=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),a===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=a;var c=r(a)?"":String(a);ci(o,c)&&(o.value=c)}else if("innerHTML"===n&&Zn(o.tagName)&&r(o.innerHTML)){(oi=oi||document.createElement("div")).innerHTML=""+a+"";for(var u=oi.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;u.firstChild;)o.appendChild(u.firstChild)}else if(a!==s[n])try{o[n]=a}catch(t){}}}}function ci(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return f(n)!==f(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var ui={create:li,update:li},hi=O(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function di(t){var e=pi(t.style);return t.staticStyle?T(t.staticStyle,e):e}function pi(t){return Array.isArray(t)?j(t):"string"==typeof t?hi(t):t}var fi,vi=/^--/,mi=/\s*!important$/,gi=function(t,e,n){if(vi.test(e))t.style.setProperty(e,n);else if(mi.test(n))t.style.setProperty(M(e),n.replace(mi,""),"important");else{var r=bi(e);if(Array.isArray(n))for(var i=0,a=n.length;i-1?e.split(wi).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function xi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(wi).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Ci(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&T(e,Mi(t.name||"v")),T(e,t),e}return"string"==typeof t?Mi(t):void 0}}var Mi=O(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Si=q&&!J,Ai="transition",Ti="animation",ji="transition",Ei="transitionend",Ii="animation",Li="animationend";Si&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ji="WebkitTransition",Ei="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ii="WebkitAnimation",Li="webkitAnimationEnd"));var Pi=q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ki(t){Pi(function(){Pi(t)})}function Fi(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),zi(t,e))}function Vi(t,e){t._transitionClasses&&y(t._transitionClasses,e),xi(t,e)}function Bi(t,e,n){var r=Hi(t,e),i=r.type,a=r.timeout,o=r.propCount;if(!i)return n();var s=i===Ai?Ei:Li,l=0,c=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++l>=o&&c()};setTimeout(function(){l0&&(n=Ai,u=o,h=a.length):e===Ti?c>0&&(n=Ti,u=c,h=l.length):h=(n=(u=Math.max(o,c))>0?o>c?Ai:Ti:null)?n===Ai?a.length:l.length:0,{type:n,timeout:u,propCount:h,hasTransform:n===Ai&&Ri.test(r[ji+"Property"])}}function Di(t,e){for(;t.length1}function qi(t,e){!0!==e.data.show&&$i(e)}var Xi=function(t){var e,n,s={},l=t.modules,c=t.nodeOps;for(e=0;ef?b(t,r(n[g+1])?null:n[g+1].elm,n,p,g,a):p>g&&O(e,d,f)}(d,v,g,n,u):i(g)?(i(t.text)&&c.setTextContent(d,""),b(d,null,g,0,g.length-1,n)):i(v)?O(v,0,v.length-1):i(t.text)&&c.setTextContent(d,""):t.text!==e.text&&c.setTextContent(d,e.text),i(f)&&i(p=f.hook)&&i(p=p.postpatch)&&p(t,e)}}}function C(t,e,n){if(a(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,o.selected!==a&&(o.selected=a);else if(P(Qi(o),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function Ji(t,e){return e.every(function(e){return!P(e,t)})}function Qi(t){return"_value"in t?t._value:t.value}function ta(t){t.target.composing=!0}function ea(t){t.target.composing&&(t.target.composing=!1,na(t.target,"input"))}function na(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ra(t){return!t.componentInstance||t.data&&t.data.transition?t:ra(t.componentInstance._vnode)}var ia={model:Yi,show:{bind:function(t,e,n){var r=e.value,i=(n=ra(n)).data&&n.data.transition,a=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,$i(n,function(){t.style.display=a})):t.style.display=r?a:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=ra(n)).data&&n.data.transition?(n.data.show=!0,r?$i(n,function(){t.style.display=t.__vOriginalDisplay}):Gi(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}}},aa={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 oa(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?oa(qe(e.children)):t}function sa(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var a in i)e[z(a)]=i[a];return e}function la(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var ca=function(t){return t.tag||We(t)},ua=function(t){return"show"===t.name},ha={name:"transition",props:aa,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(ca)).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var a=oa(i);if(!a)return i;if(this._leaving)return la(t,i);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:o(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var l=(a.data||(a.data={})).transition=sa(this),c=this._vnode,u=oa(c);if(a.data.directives&&a.data.directives.some(ua)&&(a.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(a,u)&&!We(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=T({},l);if("out-in"===r)return this._leaving=!0,le(h,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),la(t,i);if("in-out"===r){if(We(a))return c;var d,p=function(){d()};le(l,"afterEnter",p),le(l,"enterCancelled",p),le(h,"delayLeave",function(t){d=t})}}return i}}},da=T({tag:String,moveClass:String},aa);function pa(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function fa(t){t.data.newPos=t.elm.getBoundingClientRect()}function va(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var a=t.elm.style;a.transform=a.WebkitTransform="translate("+r+"px,"+i+"px)",a.transitionDuration="0s"}}delete da.mode;var ma={Transition:ha,TransitionGroup:{props:da,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=Qe(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],o=sa(this),s=0;s-1?tr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:tr[t]=/HTMLUnknownElement/.test(e.toString())},T(Mn.options.directives,ia),T(Mn.options.components,ma),Mn.prototype.__patch__=q?Xi:E,Mn.prototype.$mount=function(t,e){return function(t,e,n){return t.$el=e,t.$options.render||(t.$options.render=yt),nn(t,"beforeMount"),new vn(t,function(){t._update(t._render(),n)},E,{before:function(){t._isMounted&&!t._isDestroyed&&nn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,nn(t,"mounted")),t}(this,t=t&&q?nr(t):void 0,e)},q&&setTimeout(function(){H.devtools&&ot&&ot.emit("init",Mn)},0);var ga=/\{\{((?:.|\r?\n)+?)\}\}/g,ya=/[-.*+?^${}()|[\]\/\\]/g,ba=O(function(t){var e=t[0].replace(ya,"\\$&"),n=t[1].replace(ya,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")});function _a(t,e){var n=e?ba(e):ga;if(n.test(t)){for(var r,i,a,o=[],s=[],l=n.lastIndex=0;r=n.exec(t);){(i=r.index)>l&&(s.push(a=t.slice(l,i)),o.push(JSON.stringify(a)));var c=jr(r[1].trim());o.push("_s("+c+")"),s.push({"@binding":c}),l=i+r[0].length}return l\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ta=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ja="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+D.source+"]*",Ea="((?:"+ja+"\\:)?"+ja+")",Ia=new RegExp("^<"+Ea),La=/^\s*(\/?)>/,Pa=new RegExp("^<\\/"+Ea+"[^>]*>"),ka=/^]+>/i,Fa=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Da=/&(?:lt|gt|quot|amp|#39);/g,Na=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,$a=v("pre,textarea",!0),Ga=function(t,e){return t&&$a(t)&&"\n"===e[0]};function Ua(t,e){var n=e?Na:Da;return t.replace(n,function(t){return Ha[t]})}var Wa,qa,Xa,Ya,Ka,Za,Ja,Qa,to=/^@|^v-on:/,eo=/^v-|^@|^:|^#/,no=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ro=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,io=/^\(|\)$/g,ao=/^\[.*\]$/,oo=/:(.*)$/,so=/^:|^\.|^v-bind:/,lo=/\.[^.\]]+(?=[^\]]*$)/g,co=/^v-slot(:|$)|^#/,uo=/[\r\n]/,ho=/\s+/g,po=O(xa),fo="_empty_";function vo(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:function(t){for(var e={},n=0,r=t.length;n]*>)","i")),d=t.replace(h,function(t,n,r){return c=r.length,Ba(u)||"noscript"===u||(n=n.replace(//g,"$1").replace(//g,"$1")),Ga(u,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-d.length,t=d,M(u,l-c,l)}else{var p=t.indexOf("<");if(0===p){if(Fa.test(t)){var f=t.indexOf("--\x3e");if(f>=0){e.shouldKeepComment&&e.comment(t.substring(4,f),l,l+f+3),z(f+3);continue}}if(Va.test(t)){var v=t.indexOf("]>");if(v>=0){z(v+2);continue}}var m=t.match(ka);if(m){z(m[0].length);continue}var g=t.match(Pa);if(g){var y=l;z(g[0].length),M(g[1],y,l);continue}var b=x();if(b){C(b),Ga(b.tagName,t)&&z(1);continue}}var _=void 0,O=void 0,w=void 0;if(p>=0){for(O=t.slice(p);!(Pa.test(O)||Ia.test(O)||Fa.test(O)||Va.test(O)||(w=O.indexOf("<",1))<0);)p+=w,O=t.slice(p);_=t.substring(0,p)}p<0&&(_=t),_&&z(_.length),e.chars&&_&&e.chars(_,l-_.length,l)}if(t===n){e.chars&&e.chars(t);break}}function z(e){l+=e,t=t.substring(e)}function x(){var e=t.match(Ia);if(e){var n,r,i={tagName:e[1],attrs:[],start:l};for(z(e[0].length);!(n=t.match(La))&&(r=t.match(Ta)||t.match(Aa));)r.start=l,z(r[0].length),r.end=l,i.attrs.push(r);if(n)return i.unarySlash=n[1],z(n[0].length),i.end=l,i}}function C(t){var n=t.tagName,l=t.unarySlash;a&&("p"===r&&Sa(n)&&M(r),s(n)&&r===n&&M(n));for(var c=o(n)||!!l,u=t.attrs.length,h=new Array(u),d=0;d=0&&i[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var c=i.length-1;c>=o;c--)e.end&&e.end(i[c].tag,n,a);i.length=o,r=o&&i[o-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,a):"p"===s&&(e.start&&e.start(t,[],!1,n,a),e.end&&e.end(t,n,a))}M()}(t,{warn:Wa,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,o,s,h){var d=i&&i.ns||Qa(t);Z&&"svg"===d&&(n=function(t){for(var e=[],n=0;n-1"+("true"===a?":("+e+")":":_q("+e+","+a+")")),Rr(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Wr(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Wr(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Wr(e,"$$c")+"}",null,!0)}(t,r,i);else if("input"===a&&"radio"===o)!function(t,e,n){var r=n&&n.number,i=Dr(t,"value")||"null";Pr(t,"checked","_q("+e+","+(i=r?"_n("+i+")":i)+")"),Rr(t,"change",Wr(e,i),null,!0)}(t,r,i);else if("input"===a||"textarea"===a)!function(t,e,n){var r=t.attrsMap.type,i=n||{},a=i.lazy,o=i.number,s=i.trim,l=!a&&"range"!==r,c=a?"change":"range"===r?Qr:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),o&&(u="_n("+u+")");var h=Wr(e,u);l&&(h="if($event.target.composing)return;"+h),Pr(t,"value","("+e+")"),Rr(t,c,h,null,!0),(s||o)&&Rr(t,"blur","$forceUpdate()")}(t,r,i);else if(!H.isReservedTag(a))return Ur(t,r,i),!1;return!0},text:function(t,e){e.value&&Pr(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Pr(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:Ca,mustUseProp:Fn,canBeLeftOpenTag:Ma,isReservedTag:Jn,getTagNamespace:Qn,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(Co)},To=O(function(t){return v("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))});function jo(t,e){t&&(Mo=To(e.staticKeys||""),So=e.isReservedTag||I,function t(e){e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||m(t.tag)||!So(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(Mo)))}(e);if(1===e.type){if(!So(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,r=e.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,Io=/\([^)]*?\);*$/,Lo=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Po={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ko={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Fo=function(t){return"if("+t+")return null;"},Vo={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Fo("$event.target !== $event.currentTarget"),ctrl:Fo("!$event.ctrlKey"),shift:Fo("!$event.shiftKey"),alt:Fo("!$event.altKey"),meta:Fo("!$event.metaKey"),left:Fo("'button' in $event && $event.button !== 0"),middle:Fo("'button' in $event && $event.button !== 1"),right:Fo("'button' in $event && $event.button !== 2")};function Bo(t,e){var n=e?"nativeOn:":"on:",r="",i="";for(var a in t){var o=Ro(t[a]);t[a]&&t[a].dynamic?i+=a+","+o+",":r+='"'+a+'":'+o+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Ro(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return Ro(t)}).join(",")+"]";var e=Lo.test(t.value),n=Eo.test(t.value),r=Lo.test(t.value.replace(Io,""));if(t.modifiers){var i="",a="",o=[];for(var s in t.modifiers)if(Vo[s])a+=Vo[s],Po[s]&&o.push(s);else if("exact"===s){var l=t.modifiers;a+=Fo(["ctrl","shift","alt","meta"].filter(function(t){return!l[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else o.push(s);return o.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map(Ho).join("&&")+")return null;"}(o)),a&&(i+=a),"function($event){"+i+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":r?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(r?"return "+t.value:t.value)+"}"}function Ho(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=Po[t],r=ko[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Do={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:E},No=function(t){this.options=t,this.warn=t.warn||Ir,this.transforms=Lr(t.modules,"transformCode"),this.dataGenFns=Lr(t.modules,"genData"),this.directives=T(T({},Do),t.directives);var e=t.isReservedTag||I;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function $o(t,e){var n=new No(e);return{render:"with(this){return "+(t?Go(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Go(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Uo(t,e);if(t.once&&!t.onceProcessed)return Wo(t,e);if(t.for&&!t.forProcessed)return Xo(t,e);if(t.if&&!t.ifProcessed)return qo(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=Jo(t,e),i="_t("+n+(r?","+r:""),a=t.attrs||t.dynamicAttrs?es((t.attrs||[]).concat(t.dynamicAttrs||[]).map(function(t){return{name:z(t.name),value:t.value,dynamic:t.dynamic}})):null,o=t.attrsMap["v-bind"];!a&&!o||r||(i+=",null");a&&(i+=","+a);o&&(i+=(a?"":",null")+","+o);return i+")"}(t,e);var n;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:Jo(e,n,!0);return"_c("+t+","+Yo(e,n)+(r?","+r:"")+")"}(t.component,t,e);else{var r;(!t.plain||t.pre&&e.maybeComponent(t))&&(r=Yo(t,e));var i=t.inlineTemplate?null:Jo(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var a=0;a>>0}(o):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var a=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var r=$o(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}(t,e);a&&(n+=a+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+es(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Ko(t){return 1===t.type&&("slot"===t.tag||t.children.some(Ko))}function Zo(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return qo(t,e,Zo,"null");if(t.for&&!t.forProcessed)return Xo(t,e,Zo);var r=t.slotScope===fo?"":String(t.slotScope),i="function("+r+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Jo(t,e)||"undefined")+":undefined":Jo(t,e)||"undefined":Go(t,e))+"}",a=r?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+i+a+"}"}function Jo(t,e,n,r,i){var a=t.children;if(a.length){var o=a[0];if(1===a.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var s=n?e.maybeComponent(o)?",1":",0":"";return""+(r||Go)(o,e)+s}var l=n?function(t,e){for(var n=0,r=0;r':'
',os.innerHTML.indexOf(" ")>0}var us=!!q&&cs(!1),hs=!!q&&cs(!0),ds=O(function(t){var e=nr(t);return e&&e.innerHTML}),ps=Mn.prototype.$mount;Mn.prototype.$mount=function(t,e){if((t=t&&nr(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ds(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){0;var i=ls(r,{outputSourceRange:!1,shouldDecodeNewlines:us,shouldDecodeNewlinesForHref:hs,delimiters:n.delimiters,comments:n.comments},this),a=i.render,o=i.staticRenderFns;n.render=a,n.staticRenderFns=o}}return ps.call(this,t,e)},Mn.compile=ls,e.default=Mn}.call(e,n("DuR2"))},"77Pl":function(t,e,n){var r=n("EqjI");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"796y":function(t,e,n){"use strict";e.a=function(t,e){for(var n=t.length,r=new Array(n),i=0;i0?r:Math.max(s/u[0],a/u[1]),d=i+1,p=new Array(d),f=0;f>=1;return i.join("")}(n))}}})),e.imageryProviders){var m=Object(u.j)(Object(u.g)("EPSG:4326"),this.getProjection());this.setAttributions(function(t){var n=[],r=t.viewState,i=this.getTileGrid(),a=i.getZForResolution(r.resolution,this.zDirection),s=i.getTileCoordForCoordAndZ(r.center,a)[0];return e.imageryProviders.map(function(e){for(var r=!1,i=e.coverageAreas,a=0,l=i.length;a=c.zoomMin&&s<=c.zoomMax){var u=c.bbox,h=[u[1],u[0],u[3],u[2]],d=Object(o.a)(h,m);if(Object(o.G)(d,t.extent)){r=!0;break}}}r&&n.push(e.attribution)}),n.push('Terms of Use'),n}.bind(this))}this.setState(i.a.READY)}else this.setState(i.a.ERROR)},e}(a.a),f=n("irp0"),v=n("tFCN"),m=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,maxZoom:void 0!==e.maxZoom?e.maxZoom:18,minZoom:e.minZoom,projection:e.projection,transition:e.transition,wrapX:e.wrapX})||this;return n.account_=e.account,n.mapId_=e.map||"",n.config_=e.config||{},n.templateCache_={},n.initializeMap_(),n}return m(e,t),e.prototype.getConfig=function(){return this.config_},e.prototype.updateConfig=function(t){Object(v.a)(this.config_,t),this.initializeMap_()},e.prototype.setConfig=function(t){this.config_=t||{},this.initializeMap_()},e.prototype.initializeMap_=function(){var t=JSON.stringify(this.config_);if(this.templateCache_[t])this.applyTemplate_(this.templateCache_[t]);else{var e="https://"+this.account_+".carto.com/api/v1/map";this.mapId_&&(e+="/named/"+this.mapId_);var n=new XMLHttpRequest;n.addEventListener("load",this.handleInitResponse_.bind(this,t)),n.addEventListener("error",this.handleInitError_.bind(this)),n.open("POST",e),n.setRequestHeader("Content-type","application/json"),n.send(JSON.stringify(this.config_))}},e.prototype.handleInitResponse_=function(t,e){var n=e.target;if(!n.status||n.status>=200&&n.status<300){var r=void 0;try{r=JSON.parse(n.responseText)}catch(t){return void this.setState(i.a.ERROR)}this.applyTemplate_(r),this.templateCache_[t]=r,this.setState(i.a.READY)}else this.setState(i.a.ERROR)},e.prototype.handleInitError_=function(t){this.setState(i.a.ERROR)},e.prototype.applyTemplate_=function(t){var e="https://"+t.cdn_url.https+"/"+this.account_+"/api/v1/map/"+t.layergroupid+"/{z}/{x}/{y}.png";this.setUrl(e)},e}(f.a),y=n("57Gy"),b=n("nq2H"),_=n("Fu+J"),O=n("T18w"),w=n("WMwB"),z=n("IZoy"),x=n("OEyb"),C=n("3ciB"),M=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,wrapX:e.wrapX})||this;return n.resolution=void 0,n.distance=void 0!==e.distance?e.distance:20,n.features=[],n.geometryFunction=e.geometryFunction||function(t){var e=t.getGeometry();return Object(x.a)(e.getType()==_.a.POINT,10),e},n.boundRefresh_=n.refresh.bind(n),n.setSource(e.source||null),n}return M(e,t),e.prototype.clear=function(e){this.features.length=0,t.prototype.clear.call(this,e)},e.prototype.getDistance=function(){return this.distance},e.prototype.getSource=function(){return this.source},e.prototype.loadFeatures=function(t,e,n){this.source.loadFeatures(t,e,n),e!==this.resolution&&(this.clear(),this.resolution=e,this.cluster(),this.addFeatures(this.features))},e.prototype.setDistance=function(t){this.distance=t,this.refresh()},e.prototype.setSource=function(t){this.source&&this.source.removeEventListener(y.a.CHANGE,this.boundRefresh_),this.source=t,t&&t.addEventListener(y.a.CHANGE,this.boundRefresh_),this.refresh()},e.prototype.refresh=function(){this.clear(),this.cluster(),this.addFeatures(this.features)},e.prototype.cluster=function(){if(void 0!==this.resolution&&this.source)for(var t=Object(o.k)(),e=this.distance*this.resolution,n=this.source.getFeatures(),r={},i=0,a=n.length;i=0;--n){var r=this.geometryFunction(t[n]);r?Object(z.a)(e,r.getCoordinates()):t.splice(n,1)}Object(z.i)(e,1/t.length);var i=new b.a(new O.a(e));return i.set("features",t),i},e}(w.a),A=n("clnH"),T=n("Wrfv"),j=n("S/bM"),E=n("DL7K"),I=n("w2Al"),L=n("xifc"),P=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),k={DEFAULT:"default",TRUNCATED:"truncated"},F=function(t){function e(e,n,r,i,a,o,s){var l=t.call(this,n,r,i,a,o,s)||this;return l.zoomifyImage_=null,l.tileSize_=e,l}return P(e,t),e.prototype.getImage=function(){if(this.zoomifyImage_)return this.zoomifyImage_;var e=t.prototype.getImage.call(this);if(this.state==E.a.LOADED){var n=this.tileSize_;if(e.width==n[0]&&e.height==n[1])return this.zoomifyImage_=e,e;var r=Object(I.a)(n[0],n[1]);return r.drawImage(e,0,0),this.zoomifyImage_=r.canvas,r.canvas}return e},e}(j.a),V=function(t){function e(e){var n=this,r=e,i=r.size,a=void 0!==r.tierSizeCalculation?r.tierSizeCalculation:k.DEFAULT,l=r.tilePixelRatio||1,c=i[0],u=i[1],h=[],d=r.tileSize||T.b,p=d*l;switch(a){case k.DEFAULT:for(;c>p||u>p;)h.push([Math.ceil(c/p),Math.ceil(u/p)]),p+=p;break;case k.TRUNCATED:for(var f=c,v=u;f>p||v>p;)h.push([Math.ceil(f/p),Math.ceil(v/p)]),f>>=1,v>>=1;break;default:Object(x.a)(!1,53)}h.push([1,1]),h.reverse();for(var m=[l],g=[0],y=1,b=h.length;y1,r=n&&t.imageInfo.profile[1].supports?t.imageInfo.profile[1].supports:[],i=n&&t.imageInfo.profile[1].formats?t.imageInfo.profile[1].formats:[],a=n&&t.imageInfo.profile[1].qualities?t.imageInfo.profile[1].qualities:[];return{url:t.imageInfo["@id"].replace(/\/?(?:info\.json)?$/g,""),sizes:void 0===t.imageInfo.sizes?void 0:t.imageInfo.sizes.map(function(t){return[t.width,t.height]}),tileSize:void 0===t.imageInfo.tiles?void 0:[t.imageInfo.tiles.map(function(t){return t.width})[0],t.imageInfo.tiles.map(function(t){return void 0===t.height?t.width:t.height})[0]],resolutions:void 0===t.imageInfo.tiles?void 0:t.imageInfo.tiles.map(function(t){return t.scaleFactors})[0],supports:B(e.supports,r),formats:B(e.formats,i),qualities:B(e.qualities,a)}},G[R.VERSION3]=function(t){var e=t.getComplianceLevelSupportedFeatures(),n=void 0===t.imageInfo.extraFormats?e.formats:B(e.formats,t.imageInfo.extraFormats),r=void 0!==t.imageInfo.preferredFormats&&Array.isArray(t.imageInfo.preferredFormats)&&t.imageInfo.preferredFormats.length>0?t.imageInfo.preferredFormats.filter(function(t){return["jpg","png","gif"].includes(t)}).reduce(function(t,e){return void 0===t&&n.includes(e)?e:t},void 0):void 0;return{url:t.imageInfo.id,sizes:void 0===t.imageInfo.sizes?void 0:t.imageInfo.sizes.map(function(t){return[t.width,t.height]}),tileSize:void 0===t.imageInfo.tiles?void 0:[t.imageInfo.tiles.map(function(t){return t.width})[0],t.imageInfo.tiles.map(function(t){return t.height})[0]],resolutions:void 0===t.imageInfo.tiles?void 0:t.imageInfo.tiles.map(function(t){return t.scaleFactors})[0],supports:void 0===t.imageInfo.extraFeatures?e.supports:B(e.supports,t.imageInfo.extraFeatures),formats:n,qualities:void 0===t.imageInfo.extraQualities?e.qualities:B(e.qualities,t.imageInfo.extraQualities),preferredFormat:r}};!function(){function t(t){this.setImageInfo(t)}t.prototype.setImageInfo=function(t){this.imageInfo="string"==typeof t?JSON.parse(t):t},t.prototype.getImageApiVersion=function(){if(void 0!==this.imageInfo){var t=this.imageInfo["@context"]||"ol-no-context";"string"==typeof t&&(t=[t]);for(var e=0;e0&&"string"==typeof this.imageInfo.profile[0]&&N.test(this.imageInfo.profile[0]))return this.imageInfo.profile[0]}},t.prototype.getComplianceLevelFromProfile=function(t){var e=this.getComplianceLevelEntryFromProfile(t);if(void 0!==e){var n=e.match(/level[0-2](?:\.json)?$/g);return Array.isArray(n)?n[0].replace(".json",""):void 0}},t.prototype.getComplianceLevelSupportedFeatures=function(){if(void 0!==this.imageInfo){var t=this.getImageApiVersion(),e=this.getComplianceLevelFromProfile(t);return void 0===e?H.none.none:H[t][e]}},t.prototype.getTileSourceOptions=function(t){var e=t||{},n=this.getImageApiVersion();if(void 0!==n){var r=void 0===n?void 0:G[n](this);if(void 0!==r)return{url:r.url,version:n,size:[this.imageInfo.width,this.imageInfo.height],sizes:r.sizes,format:void 0!==e.format&&r.formats.includes(e.format)?e.format:void 0!==r.preferredFormat?r.preferredFormat:"jpg",supports:r.supports,quality:e.quality&&r.qualities.includes(e.quality)?e.quality:r.qualities.includes("native")?"native":"default",resolutions:Array.isArray(r.resolutions)?r.resolutions.sort(function(t,e){return e-t}):void 0,tileSize:r.tileSize}}}}();var U=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function W(t){return t.toLocaleString("en",{maximumFractionDigits:10})}var q=function(t){function e(e){var n=this,r=e||{},i=r.url||"";i+=i.lastIndexOf("/")===i.length-1||""===i?"":"/";var a=r.version||R.VERSION2,s=r.sizes||[],l=r.size;Object(x.a)(void 0!=l&&Array.isArray(l)&&2==l.length&&!isNaN(l[0])&&l[0]>0&&!isNaN(l[1])&&l[1]>0,60);var c,u,h,d=l[0],p=l[1],f=r.tileSize,v=r.tilePixelRatio||1,m=r.format||"jpg",g=r.quality||(r.version==R.VERSION1?"native":"default"),y=r.resolutions||[],b=r.supports||[],_=r.extent||[0,-p,d,0],O=void 0!=s&&Array.isArray(s)&&s.length>0,w=void 0!==f&&("number"==typeof f&&Number.isInteger(f)&&f>0||Array.isArray(f)&&f.length>0),z=void 0!=b&&Array.isArray(b)&&(b.includes("regionByPx")||b.includes("regionByPct"))&&(b.includes("sizeByWh")||b.includes("sizeByH")||b.includes("sizeByW")||b.includes("sizeByPct"));if(y.sort(function(t,e){return e-t}),w||z)if(void 0!=f&&("number"==typeof f&&Number.isInteger(f)&&f>0?(c=f,u=f):Array.isArray(f)&&f.length>0&&((1==f.length||void 0==f[1]&&Number.isInteger(f[0]))&&(c=f[0],u=f[0]),2==f.length&&(Number.isInteger(f[0])&&Number.isInteger(f[1])?(c=f[0],u=f[1]):void 0==f[0]&&Number.isInteger(f[1])&&(c=f[1],u=f[1])))),void 0!==c&&void 0!==u||(c=T.b,u=T.b),0==y.length)for(var C=h=Math.max(Math.ceil(Math.log(d/c)/Math.LN2),Math.ceil(Math.log(p/u)/Math.LN2));C>=0;C--)y.push(Math.pow(2,C));else{var M=Math.max.apply(Math,y);h=Math.round(Math.log(M)/Math.LN2)}else if(c=d,u=p,y=[],O){s.sort(function(t,e){return t[0]-e[0]}),h=-1;var S=[];for(C=0;C0&&y[y.length-1]==j?S.push(C):(y.push(j),h++)}if(S.length>0)for(C=0;Ch)){var f=t[1],v=t[2],_=y[l];if(!(void 0===f||void 0===v||void 0===_||f<0||Math.ceil(d/_/c)<=f||v<0||Math.ceil(p/_/u)<=v)){if(z||w){var x=f*c*_,C=v*u*_,M=c*_,S=u*_,A=c,T=u;x+M>d&&(M=d-x),C+S>p&&(S=p-C),x+c*_>d&&(A=Math.floor((d-x+_-1)/_)),C+u*_>p&&(T=Math.floor((p-C+_-1)/_)),0==x&&M==d&&0==C&&S==p?r="full":!z||b.includes("regionByPx")?r=x+","+C+","+M+","+S:b.includes("regionByPct")&&(r="pct:"+W(x/d*100)+","+W(C/p*100)+","+W(M/d*100)+","+W(S/p*100)),a!=R.VERSION3||z&&!b.includes("sizeByWh")?!z||b.includes("sizeByW")?o=A+",":b.includes("sizeByH")?o=","+T:b.includes("sizeByWh")?o=A+","+T:b.includes("sizeByPct")&&(o="pct:"+W(100/_)):o=A+","+T}else if(r="full",O){var j=s[l][0],E=s[l][1];o=a==R.VERSION3?j==d&&E==p?"max":j+","+E:j==d?"full":j+","}else o=a==R.VERSION3?"max":"full";return i+r+"/"+o+"/0/"+g+"."+m}}},transition:r.transition})||this).zDirection=r.zDirection,n}return U(e,t),e}(a.a),X=n("LKHy"),Y=n("3Jqb"),K=n("09IN"),Z=n("Y6UM"),J=n("S+g9"),Q=n("N9JB"),tt=n("6t+W"),et=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),nt=function(t){function e(e,n,r,i,a,s,l){var c=this,u=e.getExtent(),h=n.getExtent(),d=h?Object(o.C)(r,h):r,p=Object(o.y)(d),f=Object(Q.b)(e,n,p,i),v=K.b,m=new J.a(e,n,d,u,f*v,i),g=s(m.calculateSourceExtent(),f,a),y=g?Y.a.IDLE:Y.a.EMPTY,b=g?g.getPixelRatio():1;return(c=t.call(this,r,i,b,y)||this).targetProj_=n,c.maxSourceExtent_=u,c.triangulation_=m,c.targetResolution_=i,c.targetExtent_=r,c.sourceImage_=g,c.sourcePixelRatio_=b,c.contextOptions_=l,c.canvas_=null,c.sourceListenerKey_=null,c}return et(e,t),e.prototype.disposeInternal=function(){this.state==Y.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==Y.a.LOADED){var e=Object(o.F)(this.targetExtent_)/this.targetResolution_,n=Object(o.B)(this.targetExtent_)/this.targetResolution_;this.canvas_=Object(Q.c)(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==Y.a.IDLE){this.state=Y.a.LOADING,this.changed();var t=this.sourceImage_.getState();t==Y.a.LOADED||t==Y.a.ERROR?this.reproject_():(this.sourceListenerKey_=Object(tt.a)(this.sourceImage_,y.a.CHANGE,function(t){var e=this.sourceImage_.getState();e!=Y.a.LOADED&&e!=Y.a.ERROR||(this.unlistenSource_(),this.reproject_())},this),this.sourceImage_.load())}},e.prototype.unlistenSource_=function(){Object(tt.c)(this.sourceListenerKey_),this.sourceListenerKey_=null},e}(Z.a),rt=n("A7Qc"),it=n("raXX"),at=n("zF6X"),ot=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),st="imageloadstart",lt="imageloadend",ct="imageloaderror",ut=function(t){function e(e,n){var r=t.call(this,e)||this;return r.image=n,r}return ot(e,t),e}(X.a);function ht(t,e){t.getImage().src=e}var dt=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,projection:e.projection,state:e.state})||this;return n.resolutions_=void 0!==e.resolutions?e.resolutions:null,n.reprojectedImage_=null,n.reprojectedRevision_=0,n.contextOptions_=!1===e.imageSmoothing?it.b:void 0,n}return ot(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(at.h)(this.resolutions_,t,0);t=this.resolutions_[e]}return t},e.prototype.getImage=function(t,e,n,r){var i=this.getProjection();if(K.a&&i&&r&&!Object(u.c)(i,r)){if(this.reprojectedImage_){if(this.reprojectedRevision_==this.getRevision()&&Object(u.c)(this.reprojectedImage_.getProjection(),r)&&this.reprojectedImage_.getResolution()==e&&Object(o.q)(this.reprojectedImage_.getExtent(),t))return this.reprojectedImage_;this.reprojectedImage_.dispose(),this.reprojectedImage_=null}return this.reprojectedImage_=new nt(i,r,t,e,n,function(t,e,n){return this.getImageInternal(t,e,n,i)}.bind(this),this.contextOptions_),this.reprojectedRevision_=this.getRevision(),this.reprojectedImage_}return i&&(r=i),this.getImageInternal(t,e,n,r)},e.prototype.getImageInternal=function(t,e,n,r){return Object(C.b)()},e.prototype.handleImageChange=function(t){var e=t.target;switch(e.getState()){case Y.a.LOADING:this.loading=!0,this.dispatchEvent(new ut(st,e));break;case Y.a.LOADED:this.loading=!1,this.dispatchEvent(new ut(lt,e));break;case Y.a.ERROR:this.loading=!1,this.dispatchEvent(new ut(ct,e))}},e}(rt.a),pt=n("ue7j");function ft(t,e){var n=[];Object.keys(e).forEach(function(t){null!==e[t]&&void 0!==e[t]&&n.push(t+"="+encodeURIComponent(e[t]))});var r=n.join("&");return(t=-1===(t=t.replace(/[?&]$/,"")).indexOf("?")?t+"?":t+"&")+r}var vt=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),mt=function(t){function e(e){var n=this,r=e||{};return(n=t.call(this,{attributions:r.attributions,imageSmoothing:r.imageSmoothing,projection:r.projection,resolutions:r.resolutions})||this).crossOrigin_=void 0!==r.crossOrigin?r.crossOrigin:null,n.hidpi_=void 0===r.hidpi||r.hidpi,n.url_=r.url,n.imageLoadFunction_=void 0!==r.imageLoadFunction?r.imageLoadFunction:ht,n.params_=r.params||{},n.image_=null,n.imageSize_=[0,0],n.renderedRevision_=0,n.ratio_=void 0!==r.ratio?r.ratio:1.5,n}return vt(e,t),e.prototype.getParams=function(){return this.params_},e.prototype.getImageInternal=function(t,e,n,r){if(void 0===this.url_)return null;e=this.findNearestResolution(e),n=this.hidpi_?n:1;var i=this.image_;if(i&&this.renderedRevision_==this.getRevision()&&i.getResolution()==e&&i.getPixelRatio()==n&&Object(o.h)(i.getExtent(),t))return i;var a={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};Object(v.a)(a,this.params_);var s=((t=t.slice())[0]+t[2])/2,l=(t[1]+t[3])/2;if(1!=this.ratio_){var c=this.ratio_*Object(o.F)(t)/2,u=this.ratio_*Object(o.B)(t)/2;t[0]=s-c,t[1]=l-u,t[2]=s+c,t[3]=l+u}var h=e/n,d=Math.ceil(Object(o.F)(t)/h),p=Math.ceil(Object(o.B)(t)/h);t[0]=s-h*d/2,t[2]=s+h*d/2,t[1]=l-h*p/2,t[3]=l+h*p/2,this.imageSize_[0]=d,this.imageSize_[1]=p;var f=this.getRequestUrl_(t,this.imageSize_,n,r,a);return this.image_=new pt.a(t,e,n,f,this.crossOrigin_,this.imageLoadFunction_),this.renderedRevision_=this.getRevision(),this.image_.addEventListener(y.a.CHANGE,this.handleImageChange.bind(this)),this.image_},e.prototype.getImageLoadFunction=function(){return this.imageLoadFunction_},e.prototype.getRequestUrl_=function(t,e,n,r,i){var a=r.getCode().split(":").pop();i.SIZE=e[0]+","+e[1],i.BBOX=t.join(","),i.BBOXSR=a,i.IMAGESR=a,i.DPI=Math.round(90*n);var o=this.url_,s=o.replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage");return s==o&&Object(x.a)(!1,50),ft(s,i)},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(v.a)(this.params_,t),this.image_=null,this.changed()},e}(dt),gt=n("Zz/k"),yt=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),bt=function(t){function e(e){var n=this,r=e||{};return(n=t.call(this,{attributions:r.attributions,imageSmoothing:r.imageSmoothing,projection:r.projection,resolutions:r.resolutions,state:r.state})||this).canvasFunction_=r.canvasFunction,n.canvas_=null,n.renderedRevision_=0,n.ratio_=void 0!==r.ratio?r.ratio:1.5,n}return yt(e,t),e.prototype.getImageInternal=function(t,e,n,r){e=this.findNearestResolution(e);var i=this.canvas_;if(i&&this.renderedRevision_==this.getRevision()&&i.getResolution()==e&&i.getPixelRatio()==n&&Object(o.h)(i.getExtent(),t))return i;t=t.slice(),Object(o.K)(t,this.ratio_);var a=[Object(o.F)(t)/e*n,Object(o.B)(t)/e*n],s=this.canvasFunction_.call(this,t,e,n,a,r);return s&&(i=new gt.a(t,e,n,s)),this.canvas_=i,this.renderedRevision_=this.getRevision(),i},e}(dt),_t=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();var Ot=function(t){function e(e){var n=t.call(this,{imageSmoothing:e.imageSmoothing,projection:e.projection,resolutions:e.resolutions})||this;return n.crossOrigin_=void 0!==e.crossOrigin?e.crossOrigin:null,n.displayDpi_=void 0!==e.displayDpi?e.displayDpi:96,n.params_=e.params||{},n.url_=e.url,n.imageLoadFunction_=void 0!==e.imageLoadFunction?e.imageLoadFunction:ht,n.hidpi_=void 0===e.hidpi||e.hidpi,n.metersPerUnit_=void 0!==e.metersPerUnit?e.metersPerUnit:1,n.ratio_=void 0!==e.ratio?e.ratio:1,n.useOverlay_=void 0!==e.useOverlay&&e.useOverlay,n.image_=null,n.renderedRevision_=0,n}return _t(e,t),e.prototype.getParams=function(){return this.params_},e.prototype.getImageInternal=function(t,e,n,r){e=this.findNearestResolution(e),n=this.hidpi_?n:1;var i=this.image_;if(i&&this.renderedRevision_==this.getRevision()&&i.getResolution()==e&&i.getPixelRatio()==n&&Object(o.h)(i.getExtent(),t))return i;1!=this.ratio_&&(t=t.slice(),Object(o.K)(t,this.ratio_));var a=[Object(o.F)(t)/e*n,Object(o.B)(t)/e*n];if(void 0!==this.url_){var s=this.getUrl(this.url_,this.params_,t,a,r);(i=new pt.a(t,e,n,s,this.crossOrigin_,this.imageLoadFunction_)).addEventListener(y.a.CHANGE,this.handleImageChange.bind(this))}else i=null;return this.image_=i,this.renderedRevision_=this.getRevision(),i},e.prototype.getImageLoadFunction=function(){return this.imageLoadFunction_},e.prototype.updateParams=function(t){Object(v.a)(this.params_,t),this.changed()},e.prototype.getUrl=function(t,e,n,r,i){var a=function(t,e,n,r){var i=Object(o.F)(t),a=Object(o.B)(t),s=e[0],l=e[1],c=.0254/r;return l*i>s*a?i*n/(s*c):a*n/(l*c)}(n,r,this.metersPerUnit_,this.displayDpi_),s=Object(o.y)(n),l={OPERATION:this.useOverlay_?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol/source/ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.displayDpi_,SETDISPLAYWIDTH:Math.round(r[0]),SETDISPLAYHEIGHT:Math.round(r[1]),SETVIEWSCALE:a,SETVIEWCENTERX:s[0],SETVIEWCENTERY:s[1]};return Object(v.a)(l,e),ft(t,l)},e.prototype.setImageLoadFunction=function(t){this.image_=null,this.imageLoadFunction_=t,this.changed()},e}(dt),wt=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),zt=function(t){function e(e){var n=this,r=void 0!==e.crossOrigin?e.crossOrigin:null,i=void 0!==e.imageLoadFunction?e.imageLoadFunction:ht;return(n=t.call(this,{attributions:e.attributions,imageSmoothing:e.imageSmoothing,projection:Object(u.g)(e.projection)})||this).url_=e.url,n.imageExtent_=e.imageExtent,n.image_=new pt.a(n.imageExtent_,void 0,1,n.url_,r,i),n.imageSize_=e.imageSize?e.imageSize:null,n.image_.addEventListener(y.a.CHANGE,n.handleImageChange.bind(n)),n}return wt(e,t),e.prototype.getImageExtent=function(){return this.imageExtent_},e.prototype.getImageInternal=function(t,e,n,r){return Object(o.G)(t,this.image_.getExtent())?this.image_:null},e.prototype.getUrl=function(){return this.url_},e.prototype.handleImageChange=function(e){if(this.image_.getState()==Y.a.LOADED){var n=this.image_.getExtent(),r=this.image_.getImage(),i=void 0,a=void 0;this.imageSize_?(i=this.imageSize_[0],a=this.imageSize_[1]):(i=r.width,a=r.height);var s=Object(o.B)(n)/a,l=Math.ceil(Object(o.F)(n)/s);if(l!=i){var c=Object(I.a)(l,a);Object(v.a)(c,this.getContextOptions());var u=c.canvas;c.drawImage(r,0,0,i,a,0,0,u.width,u.height),this.image_.setImage(u)}}t.prototype.handleImageChange.call(this,e)},e}(dt),xt="carmentaserver",Ct="geoserver",Mt="mapserver",St="qgis",At=n("J23v"),Tt=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),jt=[101,101],Et=function(t){function e(e){var n=this,r=e||{};return(n=t.call(this,{attributions:r.attributions,imageSmoothing:r.imageSmoothing,projection:r.projection,resolutions:r.resolutions})||this).crossOrigin_=void 0!==r.crossOrigin?r.crossOrigin:null,n.url_=r.url,n.imageLoadFunction_=void 0!==r.imageLoadFunction?r.imageLoadFunction:ht,n.params_=r.params||{},n.v13_=!0,n.updateV13_(),n.serverType_=r.serverType,n.hidpi_=void 0===r.hidpi||r.hidpi,n.image_=null,n.imageSize_=[0,0],n.renderedRevision_=0,n.ratio_=void 0!==r.ratio?r.ratio:1.5,n}return Tt(e,t),e.prototype.getFeatureInfoUrl=function(t,e,n,r){if(void 0!==this.url_){var i=Object(u.g)(n),a=this.getProjection();a&&a!==i&&(e=Object(Q.b)(a,i,t,e),t=Object(u.o)(t,i,a));var s=Object(o.A)(t,e,0,jt),l={SERVICE:"WMS",VERSION:it.a,REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.params_.LAYERS};Object(v.a)(l,this.params_,r);var c=Math.floor((t[0]-s[0])/e),h=Math.floor((s[3]-t[1])/e);return l[this.v13_?"I":"X"]=c,l[this.v13_?"J":"Y"]=h,this.getRequestUrl_(s,jt,1,a||i,l)}},e.prototype.getLegendUrl=function(t,e){if(void 0!==this.url_){var n={SERVICE:"WMS",VERSION:it.a,REQUEST:"GetLegendGraphic",FORMAT:"image/png"};if(void 0===e||void 0===e.LAYER){var r=this.params_.LAYERS;if(!(!Array.isArray(r)||1===r.length))return;n.LAYER=r}if(void 0!==t){var i=this.getProjection()?this.getProjection().getMetersPerUnit():1;n.SCALE=t*i/28e-5}return Object(v.a)(n,e),ft(this.url_,n)}},e.prototype.getParams=function(){return this.params_},e.prototype.getImageInternal=function(t,e,n,r){if(void 0===this.url_)return null;e=this.findNearestResolution(e),1==n||this.hidpi_&&void 0!==this.serverType_||(n=1);var i=e/n,a=Object(o.y)(t),s=Math.ceil(Object(o.F)(t)/i),l=Math.ceil(Object(o.B)(t)/i),c=Object(o.A)(a,i,0,[s,l]),u=Math.ceil(this.ratio_*Object(o.F)(t)/i),h=Math.ceil(this.ratio_*Object(o.B)(t)/i),d=Object(o.A)(a,i,0,[u,h]),p=this.image_;if(p&&this.renderedRevision_==this.getRevision()&&p.getResolution()==e&&p.getPixelRatio()==n&&Object(o.h)(p.getExtent(),c))return p;var f={SERVICE:"WMS",VERSION:it.a,REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};Object(v.a)(f,this.params_),this.imageSize_[0]=Math.round(Object(o.F)(d)/i),this.imageSize_[1]=Math.round(Object(o.B)(d)/i);var m=this.getRequestUrl_(d,this.imageSize_,n,r,f);return this.image_=new pt.a(d,e,n,m,this.crossOrigin_,this.imageLoadFunction_),this.renderedRevision_=this.getRevision(),this.image_.addEventListener(y.a.CHANGE,this.handleImageChange.bind(this)),this.image_},e.prototype.getImageLoadFunction=function(){return this.imageLoadFunction_},e.prototype.getRequestUrl_=function(t,e,n,r,i){if(Object(x.a)(void 0!==this.url_,9),i[this.v13_?"CRS":"SRS"]=r.getCode(),"STYLES"in this.params_||(i.STYLES=""),1!=n)switch(this.serverType_){case Ct:var a=90*n+.5|0;"FORMAT_OPTIONS"in i?i.FORMAT_OPTIONS+=";dpi:"+a:i.FORMAT_OPTIONS="dpi:"+a;break;case Mt:i.MAP_RESOLUTION=90*n;break;case xt:case St:i.DPI=90*n;break;default:Object(x.a)(!1,8)}i.WIDTH=e[0],i.HEIGHT=e[1];var o,s=r.getAxisOrientation();return o=this.v13_&&"ne"==s.substr(0,2)?[t[1],t[0],t[3],t[2]]:t,i.BBOX=o.join(","),ft(this.url_,i)},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(v.a)(this.params_,t),this.updateV13_(),this.image_=null,this.changed()},e.prototype.updateV13_=function(){var t=this.params_.VERSION||it.a;this.v13_=Object(At.a)(t,"1.3")>=0},e}(dt),It=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Lt='© OpenStreetMap contributors.',Pt=function(t){function e(e){var n,r=e||{};n=void 0!==r.attributions?r.attributions:[Lt];var i=void 0!==r.crossOrigin?r.crossOrigin:"anonymous",a=void 0!==r.url?r.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png";return t.call(this,{attributions:n,attributionsCollapsible:!1,cacheSize:r.cacheSize,crossOrigin:i,imageSmoothing:r.imageSmoothing,maxZoom:void 0!==r.maxZoom?r.maxZoom:19,opaque:void 0===r.opaque||r.opaque,reprojectionErrorThreshold:r.reprojectionErrorThreshold,tileLoadFunction:r.tileLoadFunction,transition:r.transition,url:a,wrapX:r.wrapX})||this}return It(e,t),e}(f.a),kt=n("IU0A"),Ft=n("czjk"),Vt=n("Mdwg"),Bt=n("At0H"),Rt=n("Qa85"),Ht=n("azsZ"),Dt=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Nt=!0;try{new ImageData(10,10)}catch(t){Nt=!1}var $t=document.createElement("canvas").getContext("2d");function Gt(t){var e=!0;try{new ImageData(10,10)}catch(t){e=!1}function n(t,n,r){return e?new ImageData(t,n,r):{data:t,width:n,height:r}}return function(e){var r,i,a=e.buffers,o=e.meta,s=e.imageOps,l=e.width,c=e.height,u=a.length,h=a[0].byteLength;if(s){var d=new Array(u);for(i=0;ithis._maxQueueLength;)this._queue.shift().callback(null,null)},e.prototype._dispatch=function(){if(0===this._running&&this._queue.length>0){var t=this._queue.shift();this._job=t;var e=t.inputs[0].width,n=t.inputs[0].height,r=t.inputs.map(function(t){return t.data.buffer}),i=this._workers.length;if(this._running=i,1===i)this._workers[0].postMessage({buffers:r,meta:t.meta,imageOps:this._imageOps,width:e,height:n},r);else for(var a=t.inputs[0].data.length,o=4*Math.ceil(a/4/i),s=0;sStamen Design, under CC BY 3.0.',Lt],ie={terrain:{extension:"jpg",opaque:!0},"terrain-background":{extension:"jpg",opaque:!0},"terrain-labels":{extension:"png",opaque:!1},"terrain-lines":{extension:"png",opaque:!1},"toner-background":{extension:"png",opaque:!0},toner:{extension:"png",opaque:!0},"toner-hybrid":{extension:"png",opaque:!1},"toner-labels":{extension:"png",opaque:!1},"toner-lines":{extension:"png",opaque:!1},"toner-lite":{extension:"png",opaque:!0},watercolor:{extension:"jpg",opaque:!0}},ae={terrain:{minZoom:0,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:0,maxZoom:18}},oe=function(t){function e(e){var n=e.layer.indexOf("-"),r=-1==n?e.layer:e.layer.slice(0,n),i=ae[r],a=ie[e.layer],o=void 0!==e.url?e.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+e.layer+"/{z}/{x}/{y}."+a.extension;return t.call(this,{attributions:re,cacheSize:e.cacheSize,crossOrigin:"anonymous",imageSmoothing:e.imageSmoothing,maxZoom:void 0!=e.maxZoom?e.maxZoom:i.maxZoom,minZoom:void 0!=e.minZoom?e.minZoom:i.minZoom,opaque:a.opaque,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileLoadFunction:e.tileLoadFunction,transition:e.transition,url:o,wrapX:e.wrapX})||this}return ne(e,t),e}(f.a),se=n("o1z/"),le=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ce=function(t){function e(e){var n=this,r=e||{};return(n=t.call(this,{attributions:r.attributions,cacheSize:r.cacheSize,crossOrigin:r.crossOrigin,imageSmoothing:r.imageSmoothing,projection:r.projection,reprojectionErrorThreshold:r.reprojectionErrorThreshold,tileGrid:r.tileGrid,tileLoadFunction:r.tileLoadFunction,url:r.url,urls:r.urls,wrapX:void 0===r.wrapX||r.wrapX,transition:r.transition})||this).params_=r.params||{},n.hidpi_=void 0===r.hidpi||r.hidpi,n.tmpExtent_=Object(o.k)(),n.setKey(n.getKeyForParams_()),n}return le(e,t),e.prototype.getKeyForParams_=function(){var t=0,e=[];for(var n in this.params_)e[t++]=n+"-"+this.params_[n];return e.join("/")},e.prototype.getParams=function(){return this.params_},e.prototype.getRequestUrl_=function(t,e,n,r,i,a){var o=this.urls;if(o){var s,c=i.getCode().split(":").pop();if(a.SIZE=e[0]+","+e[1],a.BBOX=n.join(","),a.BBOXSR=c,a.IMAGESR=c,a.DPI=Math.round(a.DPI?a.DPI*r:90*r),1==o.length)s=o[0];else s=o[Object(se.e)(Object(l.e)(t),o.length)];return ft(s.replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),a)}},e.prototype.getTilePixelRatio=function(t){return this.hidpi_?t:1},e.prototype.updateParams=function(t){Object(v.a)(this.params_,t),this.setKey(this.getKeyForParams_())},e.prototype.tileUrlFunction=function(t,e,n){var r=this.getTileGrid();if(r||(r=this.getTileGridForProjection(n)),!(r.getResolutions().length<=t[0])){1==e||this.hidpi_||(e=1);var i=r.getTileCoordExtent(t,this.tmpExtent_),a=Object(L.d)(r.getTileSize(t[0]),this.tmpSize);1!=e&&(a=Object(L.c)(a,e,this.tmpSize));var o={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};return Object(v.a)(o,this.params_),this.getRequestUrl_(t,a,i,e,n,o)}},e}(a.a),ue=n("dzQb"),he=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),de=function(t){function e(e,n,r){var i=t.call(this,e,E.a.LOADED)||this;return i.tileSize_=n,i.text_=r,i.canvas_=null,i}return he(e,t),e.prototype.getImage=function(){if(this.canvas_)return this.canvas_;var t=this.tileSize_,e=Object(I.a)(t[0],t[1]);return e.strokeStyle="grey",e.strokeRect(.5,.5,t[0]+.5,t[1]+.5),e.fillStyle="grey",e.strokeStyle="white",e.textAlign="center",e.textBaseline="middle",e.font="24px sans-serif",e.lineWidth=4,e.strokeText(this.text_,t[0]/2,t[1]/2,t[0]),e.fillText(this.text_,t[0]/2,t[1]/2,t[0]),this.canvas_=e.canvas,e.canvas},e.prototype.load=function(){},e}(ue.a),pe=function(t){function e(e){var n=e||{};return t.call(this,{opaque:!1,projection:n.projection,tileGrid:n.tileGrid,wrapX:void 0===n.wrapX||n.wrapX,zDirection:n.zDirection})||this}return he(e,t),e.prototype.getTile=function(t,e,n){var r=Object(l.d)(t,e,n);if(this.tileCache.containsKey(r))return this.tileCache.get(r);var i=Object(L.d)(this.tileGrid.getTileSize(t)),a=[t,e,n],o=this.getTileCoordForTileUrlFunction(a),s=void 0;s=o?"z:"+o[0]+" x:"+o[1]+" y:"+o[2]:"none";var c=new de(a,i,s);return this.tileCache.set(r,c),c},e}(f.a),fe=n("v/wu"),ve=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),me=function(t){function e(e){var n=this,r=e||{},i=r.params||{},a=!("TRANSPARENT"in i)||i.TRANSPARENT;return(n=t.call(this,{attributions:r.attributions,cacheSize:r.cacheSize,crossOrigin:r.crossOrigin,imageSmoothing:r.imageSmoothing,opaque:!a,projection:r.projection,reprojectionErrorThreshold:r.reprojectionErrorThreshold,tileClass:r.tileClass,tileGrid:r.tileGrid,tileLoadFunction:r.tileLoadFunction,url:r.url,urls:r.urls,wrapX:void 0===r.wrapX||r.wrapX,transition:r.transition})||this).gutter_=void 0!==r.gutter?r.gutter:0,n.params_=i,n.v13_=!0,n.serverType_=r.serverType,n.hidpi_=void 0===r.hidpi||r.hidpi,n.tmpExtent_=Object(o.k)(),n.updateV13_(),n.setKey(n.getKeyForParams_()),n}return ve(e,t),e.prototype.getFeatureInfoUrl=function(t,e,n,r){var i=Object(u.g)(n),a=this.getProjection(),s=this.getTileGrid();s||(s=this.getTileGridForProjection(i));var l=s.getZForResolution(e,this.zDirection),c=s.getTileCoordForCoordAndZ(t,l);if(!(s.getResolutions().length<=c[0])){var h=s.getResolution(c[0]),d=s.getTileCoordExtent(c,this.tmpExtent_),p=Object(L.d)(s.getTileSize(c[0]),this.tmpSize),f=this.gutter_;0!==f&&(p=Object(L.a)(p,f,this.tmpSize),d=Object(o.d)(d,h*f,d)),a&&a!==i&&(h=Object(Q.b)(a,i,t,h),d=Object(u.p)(d,i,a),t=Object(u.o)(t,i,a));var m={SERVICE:"WMS",VERSION:it.a,REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.params_.LAYERS};Object(v.a)(m,this.params_,r);var g=Math.floor((t[0]-d[0])/h),y=Math.floor((d[3]-t[1])/h);return m[this.v13_?"I":"X"]=g,m[this.v13_?"J":"Y"]=y,this.getRequestUrl_(c,p,d,1,a||i,m)}},e.prototype.getLegendUrl=function(t,e){if(void 0!==this.urls[0]){var n={SERVICE:"WMS",VERSION:it.a,REQUEST:"GetLegendGraphic",FORMAT:"image/png"};if(void 0===e||void 0===e.LAYER){var r=this.params_.LAYERS;if(!(!Array.isArray(r)||1===r.length))return;n.LAYER=r}if(void 0!==t){var i=this.getProjection()?this.getProjection().getMetersPerUnit():1;n.SCALE=t*i/28e-5}return Object(v.a)(n,e),ft(this.urls[0],n)}},e.prototype.getGutter=function(){return this.gutter_},e.prototype.getParams=function(){return this.params_},e.prototype.getRequestUrl_=function(t,e,n,r,i,a){var o=this.urls;if(o){if(a.WIDTH=e[0],a.HEIGHT=e[1],a[this.v13_?"CRS":"SRS"]=i.getCode(),"STYLES"in this.params_||(a.STYLES=""),1!=r)switch(this.serverType_){case Ct:var s=90*r+.5|0;"FORMAT_OPTIONS"in a?a.FORMAT_OPTIONS+=";dpi:"+s:a.FORMAT_OPTIONS="dpi:"+s;break;case Mt:a.MAP_RESOLUTION=90*r;break;case xt:case St:a.DPI=90*r;break;default:Object(x.a)(!1,52)}var c,u=i.getAxisOrientation(),h=n;if(this.v13_&&"ne"==u.substr(0,2)){var d=void 0;d=n[0],h[0]=n[1],h[1]=d,d=n[2],h[2]=n[3],h[3]=d}if(a.BBOX=h.join(","),1==o.length)c=o[0];else c=o[Object(se.e)(Object(l.e)(t),o.length)];return ft(c,a)}},e.prototype.getTilePixelRatio=function(t){return this.hidpi_&&void 0!==this.serverType_?t:1},e.prototype.getKeyForParams_=function(){var t=0,e=[];for(var n in this.params_)e[t++]=n+"-"+this.params_[n];return e.join("/")},e.prototype.updateParams=function(t){Object(v.a)(this.params_,t),this.updateV13_(),this.setKey(this.getKeyForParams_())},e.prototype.updateV13_=function(){var t=this.params_.VERSION||it.a;this.v13_=Object(At.a)(t,"1.3")>=0},e.prototype.tileUrlFunction=function(t,e,n){var r=this.getTileGrid();if(r||(r=this.getTileGridForProjection(n)),!(r.getResolutions().length<=t[0])){1==e||this.hidpi_&&void 0!==this.serverType_||(e=1);var i=r.getResolution(t[0]),a=r.getTileCoordExtent(t,this.tmpExtent_),s=Object(L.d)(r.getTileSize(t[0]),this.tmpSize),l=this.gutter_;0!==l&&(s=Object(L.a)(s,l,this.tmpSize),a=Object(o.d)(a,i*l,a)),1!=e&&(s=Object(L.c)(s,e,this.tmpSize));var c={SERVICE:"WMS",VERSION:it.a,REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};return Object(v.a)(c,this.params_),this.getRequestUrl_(t,s,a,e,n,c)}},e}(a.a),ge=n("0saQ"),ye=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),be=function(t){function e(e,n,r,i,a,o){var s=t.call(this,e,n)||this;return s.src_=r,s.extent_=i,s.preemptive_=a,s.grid_=null,s.keys_=null,s.data_=null,s.jsonp_=o,s}return ye(e,t),e.prototype.getImage=function(){return null},e.prototype.getData=function(t){if(!this.grid_||!this.keys_)return null;var e=(t[0]-this.extent_[0])/(this.extent_[2]-this.extent_[0]),n=(t[1]-this.extent_[1])/(this.extent_[3]-this.extent_[1]),r=this.grid_[Math.floor((1-n)*this.grid_.length)];if("string"!=typeof r)return null;var i=r.charCodeAt(Math.floor(e*r.length));i>=93&&i--,i>=35&&i--;var a=null;if((i-=32)in this.keys_){var o=this.keys_[i];a=this.data_&&o in this.data_?this.data_[o]:o}return a},e.prototype.forDataAtCoordinate=function(t,e,n){this.state==E.a.EMPTY&&!0===n?(this.state=E.a.IDLE,Object(tt.b)(this,y.a.CHANGE,function(n){e(this.getData(t))},this),this.loadInternal_()):!0===n?setTimeout(function(){e(this.getData(t))}.bind(this),0):e(this.getData(t))},e.prototype.getKey=function(){return this.src_},e.prototype.handleError_=function(){this.state=E.a.ERROR,this.changed()},e.prototype.handleLoad_=function(t){this.grid_=t.grid,this.keys_=t.keys,this.data_=t.data,this.state=E.a.LOADED,this.changed()},e.prototype.loadInternal_=function(){if(this.state==E.a.IDLE)if(this.state=E.a.LOADING,this.jsonp_)Object(h.a)(this.src_,this.handleLoad_.bind(this),this.handleError_.bind(this));else{var t=new XMLHttpRequest;t.addEventListener("load",this.onXHRLoad_.bind(this)),t.addEventListener("error",this.onXHRError_.bind(this)),t.open("GET",this.src_),t.send()}},e.prototype.onXHRLoad_=function(t){var e=t.target;if(!e.status||e.status>=200&&e.status<300){var n=void 0;try{n=JSON.parse(e.responseText)}catch(t){return void this.handleError_()}this.handleLoad_(n)}else this.handleError_()},e.prototype.onXHRError_=function(t){this.handleError_()},e.prototype.load=function(){this.preemptive_?this.loadInternal_():this.setState(E.a.EMPTY)},e}(ue.a),_e=function(t){function e(e){var n=t.call(this,{projection:Object(u.g)("EPSG:3857"),state:i.a.LOADING})||this;if(n.preemptive_=void 0===e.preemptive||e.preemptive,n.tileUrlFunction_=s.d,n.template_=void 0,n.jsonp_=e.jsonp||!1,e.url)if(n.jsonp_)Object(h.a)(e.url,n.handleTileJSONResponse.bind(n),n.handleTileJSONError.bind(n));else{var r=new XMLHttpRequest;r.addEventListener("load",n.onXHRLoad_.bind(n)),r.addEventListener("error",n.onXHRError_.bind(n)),r.open("GET",e.url),r.send()}else e.tileJSON?n.handleTileJSONResponse(e.tileJSON):Object(x.a)(!1,51);return n}return ye(e,t),e.prototype.onXHRLoad_=function(t){var e=t.target;if(!e.status||e.status>=200&&e.status<300){var n=void 0;try{n=JSON.parse(e.responseText)}catch(t){return void this.handleTileJSONError()}this.handleTileJSONResponse(n)}else this.handleTileJSONError()},e.prototype.onXHRError_=function(t){this.handleTileJSONError()},e.prototype.getTemplate=function(){return this.template_},e.prototype.forDataAtCoordinateAndResolution=function(t,e,n,r){if(this.tileGrid){var i=this.tileGrid.getZForResolution(e,this.zDirection),a=this.tileGrid.getTileCoordForCoordAndZ(t,i);this.getTile(a[0],a[1],a[2],1,this.getProjection()).forDataAtCoordinate(t,n,r)}else!0===r?setTimeout(function(){n(null)},0):n(null)},e.prototype.handleTileJSONError=function(){this.setState(i.a.ERROR)},e.prototype.handleTileJSONResponse=function(t){var e,n=Object(u.g)("EPSG:4326"),r=this.getProjection();if(void 0!==t.bounds){var a=Object(u.j)(n,r);e=Object(o.a)(t.bounds,a)}var l=t.minzoom||0,h=t.maxzoom||22,d=Object(c.b)({extent:Object(c.c)(r),maxZoom:h,minZoom:l});this.tileGrid=d,this.template_=t.template;var p=t.grids;if(p){if(this.tileUrlFunction_=Object(s.a)(p,d),void 0!==t.attribution){var f=void 0!==e?e:n.getExtent();this.setAttributions(function(e){return Object(o.G)(f,e.extent)?[t.attribution]:null})}this.setState(i.a.READY)}else this.setState(i.a.ERROR)},e.prototype.getTile=function(t,e,n,r,i){var a=Object(l.d)(t,e,n);if(this.tileCache.containsKey(a))return this.tileCache.get(a);var o=[t,e,n],s=this.getTileCoordForTileUrlFunction(o,i),c=this.tileUrlFunction_(s,r,i),u=new be(o,void 0!==c?E.a.IDLE:E.a.EMPTY,void 0!==c?c:"",this.tileGrid.getTileCoordExtent(o),this.preemptive_,this.jsonp_);return this.tileCache.set(a,u),u},e.prototype.useTile=function(t,e,n){var r=Object(l.d)(t,e,n);this.tileCache.containsKey(r)&&this.tileCache.get(r)},e}(Rt.b),Oe=n("hGhA"),we={KVP:"KVP",REST:"REST"},ze=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();!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}ze(e,t),e.prototype.getMatrixId=function(t){return this.matrixIds_[t]},e.prototype.getMatrixIds=function(){return this.matrixIds_}}(A.a);var xe=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ce=function(t){function e(e){var n=this,r=void 0!==e.requestEncoding?e.requestEncoding:we.KVP,i=e.tileGrid,a=e.urls;return void 0===a&&void 0!==e.url&&(a=Object(s.c)(e.url)),(n=t.call(this,{attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,imageSmoothing:e.imageSmoothing,projection:e.projection,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileClass:e.tileClass,tileGrid:i,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,urls:a,wrapX:void 0!==e.wrapX&&e.wrapX,transition:e.transition})||this).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_=r,n.setKey(n.getKeyForDimensions_()),a&&a.length>0&&(n.tileUrlFunction=Object(s.b)(a.map(n.createFromWMTSTemplate.bind(n)))),n}return xe(e,t),e.prototype.setUrls=function(t){this.urls=t;var e=t.join("\n");this.setTileUrlFunction(Object(s.b)(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(v.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==we.KVP&&Object(v.a)(n,{Service:"WMTS",Request:"GetTile",Version:this.version_,Format:this.format_}),t=e==we.KVP?ft(t,n):t.replace(/\{(\w+?)\}/g,function(t,e){return e.toLowerCase()in n?n[e.toLowerCase()]:t});var r=this.tileGrid,i=this.dimensions_;return function(n,a,o){if(n){var s={TileMatrix:r.getMatrixId(n[0]),TileCol:n[1],TileRow:n[2]};Object(v.a)(s,i);var l=t;return l=e==we.KVP?ft(l,s):l.replace(/\{(\w+?)\}/g,function(t,e){return s[e]})}}},e}(a.a);n.d(e,!1,function(){return p}),n.d(e,!1,function(){return g}),n.d(e,!1,function(){return S}),n.d(e,!1,function(){return q}),n.d(e,!1,function(){return dt}),n.d(e,!1,function(){return mt}),n.d(e,!1,function(){return bt}),n.d(e,!1,function(){return Ot}),n.d(e,!1,function(){return zt}),n.d(e,!1,function(){return Et}),n.d(e,!1,function(){return Pt}),n.d(e,!1,function(){return ee}),n.d(e,!1,function(){return rt.a}),n.d(e,!1,function(){return oe}),n.d(e,!1,function(){return Rt.b}),n.d(e,!1,function(){return ce}),n.d(e,!1,function(){return pe}),n.d(e,!1,function(){return a.a}),n.d(e,!1,function(){return fe.a}),n.d(e,!1,function(){return me}),n.d(e,!1,function(){return ge.a}),n.d(e,!1,function(){return _e}),n.d(e,"a",function(){return w.a}),n.d(e,!1,function(){return Oe.a}),n.d(e,!1,function(){return Ce}),n.d(e,!1,function(){return f.a}),n.d(e,!1,function(){return V})},"94VQ":function(t,e,n){"use strict";var r=n("Yobk"),i=n("X8DO"),a=n("e6n0"),o={};n("hJx8")(o,n("dSzd")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(o,{next:i(1,n)}),a(t,e+" Iterator")}},"9Ewl":function(t,e,n){"use strict";e.a={UNDEFINED:"undefined",LOADING:"loading",READY:"ready",ERROR:"error"}},A7Qc:function(t,e,n){"use strict";var r,i=n("XOen"),a=n("9Ewl"),o=n("3ciB"),s=n("yGLh"),l=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e){var n=t.call(this)||this;return n.projection_=Object(s.g)(e.projection),n.attributions_=u(e.attributions),n.attributionsCollapsible_=void 0===e.attributionsCollapsible||e.attributionsCollapsible,n.loading=!1,n.state_=void 0!==e.state?e.state:a.a.READY,n.wrapX_=void 0!==e.wrapX&&e.wrapX,n}return l(e,t),e.prototype.getAttributions=function(){return this.attributions_},e.prototype.getAttributionsCollapsible=function(){return this.attributionsCollapsible_},e.prototype.getProjection=function(){return this.projection_},e.prototype.getResolutions=function(){return Object(o.b)()},e.prototype.getState=function(){return this.state_},e.prototype.getWrapX=function(){return this.wrapX_},e.prototype.getContextOptions=function(){},e.prototype.refresh=function(){this.changed()},e.prototype.setAttributions=function(t){this.attributions_=u(t),this.changed()},e.prototype.setState=function(t){this.state_=t,this.changed()},e}(i.a);function u(t){return t?Array.isArray(t)?function(e){return t}:"function"==typeof t?t:function(e){return[t]}:null}e.a=c},A90D:function(t,e,n){"use strict";var r,i=n("AU1m"),a=n("XOen"),o=n("DM+O"),s=n("LKHy"),l=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c="length",u=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.element=n,i.index=r,i}return l(e,t),e}(s.a),h=function(t){function e(e,n){var r=t.call(this)||this,i=n||{};if(r.unique_=!!i.unique,r.array_=e||[],r.unique_)for(var a=0,o=r.array_.length;a0;)this.pop()},e.prototype.extend=function(t){for(var e=0,n=t.length;ethis.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 r=a(t,e,n);return r in this.cache_?this.cache_[r]:null},t.prototype.set=function(t,e,n,r){var i=a(t,e,n);this.cache_[i]=r,++this.cacheSize_},t.prototype.setSize=function(t){this.maxCacheSize_=t,this.expire()},t}();function a(t,e,n){return e+":"+t+":"+(n?Object(r.b)(n):"null")}var o=new i},AT16:function(t,e,n){"use strict";var r,i=n("5MGX"),a=n("Fu+J"),o=n("i3aX"),s=n("ZYQ1"),l=n("VgFP"),c=n("bmSR"),u=n("/LWt"),h=n("hrLW"),d=n("zF6X"),p=n("vhPq"),f=n("wupX"),v=n("pWpL"),m=n("piqq"),g=n("+b92"),y=n("m9Vi"),b=n("ZXW8"),_=n("LmAy"),O=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),w=function(t){function e(e,n,r){var i=t.call(this)||this;if(i.endss_=[],i.flatInteriorPointsRevision_=-1,i.flatInteriorPoints_=null,i.maxDelta_=-1,i.maxDeltaRevision_=-1,i.orientedRevision_=-1,i.orientedFlatCoordinates_=null,!r&&!Array.isArray(e[0])){for(var a=i.getLayout(),o=e,s=[],l=[],c=0,u=o.length;c>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){for(var e=this.elements_,n=this.priorities_,r=e.length,i=e[t],a=n[t],o=t;t>1;){var s=this.getLeftChildIndex_(t),l=this.getRightChildIndex_(t),c=lt;){var o=this.getParentIndex_(e);if(!(r[o]>a))break;n[e]=n[o],r[e]=r[o],e=o}n[e]=i,r[e]=a},t.prototype.reprioritize=function(){var t,e,n,r=this.priorityFunction_,i=this.elements_,a=this.priorities_,s=0,l=i.length;for(e=0;e0;)r=(n=this.dequeue()[0]).getKey(),n.getState()!==l.a.IDLE||r in this.tilesLoadingKeys_||(this.tilesLoadingKeys_[r]=!0,++this.tilesLoading_,++i,n.load())},e}(s);e.a=h},CTDj:function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"d",function(){return i}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return o}),n.d(e,"b",function(){return s}),n.d(e,"a",function(){return l}),n.d(e,"g",function(){return h});var r="ol-hidden",i="ol-selectable",a="ol-unselectable",o="ol-unsupported",s="ol-control",l="ol-collapsed",c=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z]+?)\\s*$"].join(""),"i"),u=["style","variant","weight","size","lineHeight","family"],h=function(t){var e=t.match(c);if(!e)return null;for(var n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"},r=0,i=u.length;ra;)o(n[a++]);t._c=[],t._n=!1,e&&!t._h&&P(t)})}},P=function(t){g.call(l,function(){var e,n,r,i=t._v,a=k(t);if(a&&(e=_(function(){A?x.emit("unhandledRejection",i,t):(n=l.onunhandledrejection)?n({promise:t,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=A||k(t)?2:1),t._a=void 0,a&&e.e)throw e.v})},k=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){g.call(l,function(){var e;A?x.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})})},V=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),L(e,!0))},B=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw z("Promise can't be resolved itself");(e=I(t))?y(function(){var r={_w:n,_d:!1};try{e.call(t,c(B,r,1),c(V,r,1))}catch(t){V.call(r,t)}}):(n._v=t,n._s=1,L(n,!1))}catch(t){V.call({_w:n,_d:!1},t)}}};E||(S=function(t){f(this,S,"Promise","_h"),p(t),r.call(this);try{t(c(B,this,1),c(V,this,1))}catch(t){V.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("xH/j")(S.prototype,{then:function(t,e){var n=j(m(this,S));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=A?x.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),a=function(){var t=new r;this.promise=t,this.resolve=c(B,t,1),this.reject=c(V,t,1)},b.f=j=function(t){return t===S||t===o?new a(t):i(t)}),h(h.G+h.W+h.F*!E,{Promise:S}),n("e6n0")(S,"Promise"),n("bRrM")("Promise"),o=n("FeBl").Promise,h(h.S+h.F*!E,"Promise",{reject:function(t){var e=j(this);return(0,e.reject)(t),e.promise}}),h(h.S+h.F*(s||!E),"Promise",{resolve:function(t){return w(s&&this===o?S:this,t)}}),h(h.S+h.F*!(E&&n("dY0y")(function(t){S.all(t).catch(T)})),"Promise",{all:function(t){var e=this,n=j(e),r=n.resolve,i=n.reject,a=_(function(){var n=[],a=0,o=1;v(t,!1,function(t){var s=a++,l=!1;n.push(void 0),o++,e.resolve(t).then(function(t){l||(l=!0,n[s]=t,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(t){var e=this,n=j(e),r=n.reject,i=_(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},D2L2:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},DL7K:function(t,e,n){"use strict";e.a={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},"DM+O":function(t,e,n){"use strict";e.a={ADD:"add",REMOVE:"remove"}},DQCr:function(t,e,n){"use strict";var r=n("cGG2");function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(r.isURLSearchParams(e))a=e.toString();else{var o=[];r.forEach(e,function(t,e){null!==t&&void 0!==t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),o.push(i(e)+"="+i(t))}))}),a=o.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},DUeU:function(t,e,n){"use strict";var r=n("cGG2");t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],a=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function c(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=l(void 0,t[i])):n[i]=l(t[i],e[i])}r.forEach(i,function(t){r.isUndefined(e[t])||(n[t]=l(void 0,e[t]))}),r.forEach(a,c),r.forEach(o,function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=l(void 0,t[i])):n[i]=l(void 0,e[i])}),r.forEach(s,function(r){r in e?n[r]=l(t[r],e[r]):r in t&&(n[r]=l(void 0,t[r]))});var u=i.concat(a).concat(o).concat(s),h=Object.keys(t).concat(Object.keys(e)).filter(function(t){return-1===u.indexOf(t)});return r.forEach(h,c),n}},DuR2:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},EGZi:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},EKta:function(t,e,n){"use strict";e.byteLength=function(t){var e=c(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=c(t),o=r[0],s=r[1],l=new a(function(t,e,n){return 3*(e+n)/4-n}(0,o,s)),u=0,h=s>0?o-4:o;for(n=0;n>16&255,l[u++]=e>>8&255,l[u++]=255&e;2===s&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,l[u++]=255&e);1===s&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e);return l},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,a=[],o=0,s=n-i;os?s:o+16383));1===i?(e=t[n-1],a.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],a.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return a.join("")};for(var r=[],i=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function u(t,e,n){for(var i,a,o=[],s=e;s>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},EqBC:function(t,e,n){"use strict";var r=n("kM2E"),i=n("FeBl"),a=n("7KvD"),o=n("t8x9"),s=n("fJUb");r(r.P+r.R,"Promise",{finally:function(t){var e=o(this,i.Promise||a.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},EqjI:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},EuP9:function(t,e,n){"use strict";(function(t){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var r=n("EKta"),i=n("ujcs"),a=n("sOR5");function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function f(t,e){if(l.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 r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return D(t).length;default:if(r)return H(t).length;e=(""+e).toLowerCase(),r=!0}}function v(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function m(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:g(t,e,n,r,i);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):g(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(t,e,n,r,i){var a,o=1,s=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;o=2,s/=2,l/=2,n/=2}function c(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var u=-1;for(a=n;as&&(n=s-l),a=n;a>=0;a--){for(var h=!0,d=0;di&&(r=i):r=i;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(e,t.length-n),t,n,r)}function x(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function C(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:128==(192&(a=t[i+1]))&&(l=(31&c)<<6|63&a)>127&&(u=l);break;case 3:a=t[i+1],o=t[i+2],128==(192&a)&&128==(192&o)&&(l=(15&c)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:a=t[i+1],o=t[i+2],s=t[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return function(t){var e=t.length;if(e<=M)return String.fromCharCode.apply(String,t);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return T(this,e,n);case"utf8":case"utf-8":return C(this,e,n);case"ascii":return S(this,e,n);case"latin1":case"binary":return A(this,e,n);case"base64":return x(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},l.prototype.compare=function(t,e,n,r,i){if(!l.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===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var a=i-r,o=n-e,s=Math.min(a,o),c=this.slice(r,i),u=t.slice(e,n),h=0;hi)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return b(this,t,e,n);case"ascii":return _(this,t,e,n);case"latin1":case"binary":return O(this,t,e,n);case"base64":return w(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function S(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",a=e;an)throw new RangeError("Trying to access beyond buffer length")}function I(t,e,n,r,i,a){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function L(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,a=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function P(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,a=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function k(t,e,n,r,i,a){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(t,e,n,r,a){return a||k(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function V(t,e,n,r,a){return a||k(t,0,n,8),i.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},l.prototype.readUInt8=function(t,e){return e||E(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||E(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||E(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||E(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||E(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||E(t,e,this.length);for(var r=this[t],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||E(t,e,this.length);for(var r=e,i=1,a=this[t+--r];r>0&&(i*=256);)a+=this[t+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},l.prototype.readInt8=function(t,e){return e||E(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||E(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||E(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||E(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||E(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||E(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||E(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||E(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||E(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||I(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[e]=255&t;++a=0&&(a*=256);)this[e+i]=t/a&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):P(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+n},l.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):P(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return F(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return F(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return V(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return V(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=e;a55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(e-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.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;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function D(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(B,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function N(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(e,n("DuR2"))},FeBl:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},FeXB:function(t,e,n){"use strict";e.b=function(t){return"string"==typeof t?t:d(t)},e.a=function(t){return Array.isArray(t)?t:u(t)},e.d=d,e.c=function(t){o.test(t)&&(t=s(t));return a.test(t)||0===t.indexOf("rgba(")||0===t.indexOf("rgb(")};var r=n("OEyb"),i=n("o1z/"),a=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,o=/^([a-z]*)$|^hsla?\(.*\)$/i;function s(t){var e=document.createElement("div");if(e.style.color=t,""!==e.style.color){document.body.appendChild(e);var n=getComputedStyle(e).color;return document.body.removeChild(e),n}return""}var l,c,u=(l={},c=0,function(t){var e;if(l.hasOwnProperty(t))e=l[t];else{if(c>=1024){var n=0;for(var i in l)0==(3&n++)&&(delete l[i],--c)}e=function(t){var e,n,i,l,c;if(o.exec(t)&&(t=s(t)),a.exec(t)){var u=t.length-1,d=void 0;d=u<=4?1:2;var p=4===u||8===u;e=parseInt(t.substr(1+0*d,d),16),n=parseInt(t.substr(1+1*d,d),16),i=parseInt(t.substr(1+2*d,d),16),l=p?parseInt(t.substr(1+3*d,d),16):255,1==d&&(e=(e<<4)+e,n=(n<<4)+n,i=(i<<4)+i,p&&(l=(l<<4)+l)),c=[e,n,i,l/255]}else 0==t.indexOf("rgba(")?h(c=t.slice(5,-1).split(",").map(Number)):0==t.indexOf("rgb(")?((c=t.slice(4,-1).split(",").map(Number)).push(1),h(c)):Object(r.a)(!1,14);return c}(t),l[t]=e,++c}return e});function h(t){return t[0]=Object(i.a)(t[0]+.5|0,0,255),t[1]=Object(i.a)(t[1]+.5|0,0,255),t[2]=Object(i.a)(t[2]+.5|0,0,255),t[3]=Object(i.a)(t[3],0,1),t}function d(t){var e=t[0];e!=(0|e)&&(e=e+.5|0);var n=t[1];n!=(0|n)&&(n=n+.5|0);var r=t[2];return r!=(0|r)&&(r=r+.5|0),"rgba("+e+","+n+","+r+","+(void 0===t[3]?1:t[3])+")"}},FtD3:function(t,e,n){"use strict";var r=n("t8qj");t.exports=function(t,e,n,i,a){var o=new Error(t);return r(o,e,n,i,a)}},"Fu+J":function(t,e,n){"use strict";e.a={POINT:"Point",LINE_STRING:"LineString",LINEAR_RING:"LinearRing",POLYGON:"Polygon",MULTI_POINT:"MultiPoint",MULTI_LINE_STRING:"MultiLineString",MULTI_POLYGON:"MultiPolygon",GEOMETRY_COLLECTION:"GeometryCollection",CIRCLE:"Circle"}},GHBc:function(t,e,n){"use strict";var r=n("cGG2");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},Gciu:function(t,e,n){"use strict";var r,i=n("3Jqb"),a=n("dw+W"),o=n("FeXB"),s=n("QBya"),l=n("w2Al"),c=n("Oeue"),u=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),h=function(t){function e(e){var n=this,r=void 0!==e.rotateWithView&&e.rotateWithView;return(n=t.call(this,{opacity:1,rotateWithView:r,rotation:void 0!==e.rotation?e.rotation:0,scale:void 0!==e.scale?e.scale:1,displacement:void 0!==e.displacement?e.displacement:[0,0]})||this).canvas_={},n.hitDetectionCanvas_=null,n.fill_=void 0!==e.fill?e.fill:null,n.origin_=[0,0],n.points_=e.points,n.radius_=void 0!==e.radius?e.radius:e.radius1,n.radius2_=e.radius2,n.angle_=void 0!==e.angle?e.angle:0,n.stroke_=void 0!==e.stroke?e.stroke:null,n.anchor_=null,n.size_=null,n.imageSize_=null,n.hitDetectionImageSize_=null,n.render(),n}return u(e,t),e.prototype.clone=function(){var t=this.getScale(),n=new e({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,displacement:this.getDisplacement().slice()});return n.setOpacity(this.getOpacity()),n},e.prototype.getAnchor=function(){return this.anchor_},e.prototype.getAngle=function(){return this.angle_},e.prototype.getFill=function(){return this.fill_},e.prototype.getHitDetectionImage=function(){if(!this.hitDetectionCanvas_){var t=this.createRenderOptions();this.createHitDetectionCanvas_(t)}return this.hitDetectionCanvas_},e.prototype.getImage=function(t){if(!this.canvas_[t||1]){var e=this.createRenderOptions(),n=Object(l.a)(e.size*t||1,e.size*t||1);this.draw_(e,n,0,0,t||1),this.canvas_[t||1]=n.canvas}return this.canvas_[t||1]},e.prototype.getPixelRatio=function(t){return t},e.prototype.getImageSize=function(){return this.imageSize_},e.prototype.getHitDetectionImageSize=function(){return this.hitDetectionImageSize_},e.prototype.getImageState=function(){return i.a.LOADED},e.prototype.getOrigin=function(){return this.origin_},e.prototype.getPoints=function(){return this.points_},e.prototype.getRadius=function(){return this.radius_},e.prototype.getRadius2=function(){return this.radius2_},e.prototype.getSize=function(){return this.size_},e.prototype.getStroke=function(){return this.stroke_},e.prototype.listenImageChange=function(t){},e.prototype.load=function(){},e.prototype.unlistenImageChange=function(t){},e.prototype.createRenderOptions=function(){var t,e=c.e,n=c.h,r=0,i=null,a=0,o=0;return this.stroke_&&(null===(t=this.stroke_.getColor())&&(t=c.l),t=Object(s.a)(t),void 0===(o=this.stroke_.getWidth())&&(o=c.i),i=this.stroke_.getLineDash(),a=this.stroke_.getLineDashOffset(),void 0===(n=this.stroke_.getLineJoin())&&(n=c.h),void 0===(e=this.stroke_.getLineCap())&&(e=c.e),void 0===(r=this.stroke_.getMiterLimit())&&(r=c.j)),{strokeStyle:t,strokeWidth:o,size:2*(this.radius_+o)+1,lineCap:e,lineDash:i,lineDashOffset:a,lineJoin:n,miterLimit:r}},e.prototype.render=function(){var t=this.createRenderOptions(),e=Object(l.a)(t.size,t.size);this.draw_(t,e,0,0,1),this.canvas_={},this.canvas_[1]=e.canvas;var n=e.canvas.width,r=n,i=this.getDisplacement();this.hitDetectionImageSize_=[t.size,t.size],this.createHitDetectionCanvas_(t),this.anchor_=[n/2-i[0],n/2+i[1]],this.size_=[n,n],this.imageSize_=[r,r]},e.prototype.draw_=function(t,e,n,r,i){var a,o,l;e.setTransform(i,0,0,i,0,0),e.translate(n,r),e.beginPath();var u=this.points_;if(u===1/0)e.arc(t.size/2,t.size/2,this.radius_,0,2*Math.PI,!0);else{var h=void 0!==this.radius2_?this.radius2_:this.radius_;for(h!==this.radius_&&(u*=2),a=0;a<=u;a++)o=2*a*Math.PI/u-Math.PI/2+this.angle_,l=a%2==0?this.radius_:h,e.lineTo(t.size/2+l*Math.cos(o),t.size/2+l*Math.sin(o))}if(this.fill_){var d=this.fill_.getColor();null===d&&(d=c.c),e.fillStyle=Object(s.a)(d),e.fill()}this.stroke_&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,e.setLineDash&&t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},e.prototype.createHitDetectionCanvas_=function(t){if(this.hitDetectionCanvas_=this.getImage(1),this.fill_){var e=this.fill_.getColor(),n=0;if("string"==typeof e&&(e=Object(o.a)(e)),null===e?n=1:Array.isArray(e)&&(n=4===e.length?e[3]:1),0===n){var r=Object(l.a)(t.size,t.size);this.hitDetectionCanvas_=r.canvas,this.drawHitDetectionCanvas_(t,r,0,0)}}},e.prototype.drawHitDetectionCanvas_=function(t,e,n,r){e.translate(n,r),e.beginPath();var i=this.points_;if(i===1/0)e.arc(t.size/2,t.size/2,this.radius_,0,2*Math.PI,!0);else{var a=void 0!==this.radius2_?this.radius2_:this.radius_;a!==this.radius_&&(i*=2);var o=void 0,s=void 0,l=void 0;for(o=0;o<=i;o++)l=2*o*Math.PI/i-Math.PI/2+this.angle_,s=o%2==0?this.radius_:a,e.lineTo(t.size/2+s*Math.cos(l),t.size/2+s*Math.sin(l))}e.fillStyle=c.c,e.fill(),this.stroke_&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.stroke()),e.closePath()},e}(a.a);e.a=h},Heua:function(t,e,n){"use strict";var r=function(){function t(){}return t.prototype.drawCustom=function(t,e,n){},t.prototype.drawGeometry=function(t){},t.prototype.setStyle=function(t){},t.prototype.drawCircle=function(t,e){},t.prototype.drawFeature=function(t,e){},t.prototype.drawGeometryCollection=function(t,e){},t.prototype.drawLineString=function(t,e){},t.prototype.drawMultiLineString=function(t,e){},t.prototype.drawMultiPoint=function(t,e){},t.prototype.drawMultiPolygon=function(t,e){},t.prototype.drawPoint=function(t,e){},t.prototype.drawPolygon=function(t,e){},t.prototype.drawText=function(t,e){},t.prototype.setFillStrokeStyle=function(t,e){},t.prototype.setImageStyle=function(t,e){},t.prototype.setTextStyle=function(t,e){},t}();e.a=r},"I+mf":function(t,e,n){"use strict";var r,i=n("LKHy"),a=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(t){function e(e,n,r,i){var a=t.call(this,e)||this;return a.inversePixelTransform=n,a.frameState=r,a.context=i,a}return a(e,t),e}(i.a);e.a=o},IU0A:function(t,e,n){"use strict";var r=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=r},IZbQ:function(t,e,n){"use strict";var r,i=n("IU0A"),a=n("V2dr"),o=n("3ciB"),s=n("azsZ"),l=n("/LWt"),c=n("AMn6"),u=n("+iwx"),h=n("IZoy"),d=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function p(t,e){c.a.expire()}var f=function(t){function e(e){var n=t.call(this)||this;return n.map_=e,n}return d(e,t),e.prototype.dispatchRenderEvent=function(t,e){Object(o.b)()},e.prototype.calculateMatrices2D=function(t){var e=t.viewState,n=t.coordinateToPixelTransform,r=t.pixelToCoordinateTransform;Object(s.b)(n,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),Object(s.d)(r,n)},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,r,i,a,o,s){var c,d=e.viewState;function p(t,e,n,r){return i.call(a,e,t?n:null,r)}var f=d.projection,v=Object(h.l)(t.slice(),f),m=[[0,0]];if(f.canWrapX()&&r){var g=f.getExtent(),y=Object(l.F)(g);m.push([-y,0],[y,0])}for(var b=e.layerStatesArray,_=b.length,O=[],w=[],z=0;z=0;--x){var C=b[x],M=C.layer;if(M.hasRenderer()&&Object(u.b)(C,d)&&o.call(s,M)){var S=M.getRenderer(),A=M.getSource();if(S&&A){var T=A.getWrapX()?v:t,j=p.bind(null,C.managed);w[0]=T[0]+m[z][0],w[1]=T[1]+m[z][1],c=S.forEachFeatureAtCoordinate(w,e,n,j,O)}if(c)return c}}if(0!==O.length){var E=1/O.length;return O.forEach(function(t,e){return t.distanceSq+=e*E}),O.sort(function(t,e){return t.distanceSq-e.distanceSq}),O.some(function(t){return c=t.callback(t.feature,t.layer,t.geometry)}),c}},e.prototype.forEachLayerAtPixel=function(t,e,n,r,i){return Object(o.b)()},e.prototype.hasFeatureAtCoordinate=function(t,e,n,r,i,o){return void 0!==this.forEachFeatureAtCoordinate(t,e,n,r,a.b,this,i,o)},e.prototype.getMap=function(){return this.map_},e.prototype.renderFrame=function(t){Object(o.b)()},e.prototype.scheduleExpireIconCache=function(t){c.a.canExpireCache()&&t.postRenderFunctions.push(p)},e}(i.a),v=n("XDHy"),m=n("I+mf"),g=n("hTFF"),y=n("9Ewl"),b=n("CTDj"),_=n("Oeue"),O=n("6t+W"),w=n("w2Al"),z=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),x=function(t){function e(e){var n=t.call(this,e)||this;n.fontChangeListenerKey_=Object(O.a)(_.a,v.a.PROPERTYCHANGE,e.redrawText.bind(e)),n.element_=document.createElement("div");var r=n.element_.style;r.position="absolute",r.width="100%",r.height="100%",r.zIndex="0",n.element_.className=b.e+" ol-layers";var i=e.getViewport();return i.insertBefore(n.element_,i.firstChild||null),n.children_=[],n.renderedVisible_=!0,n}return z(e,t),e.prototype.dispatchRenderEvent=function(t,e){var n=this.getMap();if(n.hasListener(t)){var r=new m.a(t,void 0,e);n.dispatchEvent(r)}},e.prototype.disposeInternal=function(){Object(O.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(g.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 r=[],i=null,a=0,o=e.length;a=0;--a)r[a].renderDeclutter(t);Object(w.f)(this.element_,this.children_),this.dispatchRenderEvent(g.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,r,i){for(var a=e.viewState,o=e.layerStatesArray,s=o.length-1;s>=0;--s){var l=o[s],c=l.layer;if(c.hasRenderer()&&Object(u.b)(l,a)&&i(c)){var h=c.getRenderer().getDataAtPixel(t,e,n);if(h){var d=r(c,h);if(d)return d}}}},e}(f);e.a=x},IZoy:function(t,e,n){"use strict";e.a=function(t,e){return t[0]+=+e[0],t[1]+=+e[1],t},e.b=function(t,e){var n=e.getRadius(),r=e.getCenter(),i=r[0],a=r[1],o=t[0],s=t[1],l=o-i,c=s-a;0===l&&0===c&&(l=1);var u=Math.sqrt(l*l+c*c);return[i+n*l/u,a+n*c/u]},e.c=o,e.d=s,e.f=function(t,e){for(var n=!0,r=t.length-1;r>=0;--r)if(t[r]!=e[r]){n=!1;break}return n},e.h=function(t,e){var n=Math.cos(e),r=Math.sin(e),i=t[0]*n-t[1]*r,a=t[1]*n+t[0]*r;return t[0]=i,t[1]=a,t},e.i=function(t,e){return t[0]*=e,t[1]*=e,t},e.j=l,e.e=function(t,e){return Math.sqrt(l(t,e))},e.k=function(t,e){return l(t,o(t,e))},e.l=function(t,e){if(e.canWrapX()){var n=Object(r.F)(e.getExtent()),i=c(t,e,n);i&&(t[0]-=i*n)}return t},e.g=c;var r=n("/LWt"),i=n("o1z/"),a=n("J23v");function o(t,e){var n,r,i=t[0],a=t[1],o=e[0],s=e[1],l=o[0],c=o[1],u=s[0],h=s[1],d=u-l,p=h-c,f=0===d&&0===p?0:(d*(i-l)+p*(a-c))/(d*d+p*p||0);return f<=0?(n=l,r=c):f>=1?(n=u,r=h):(n=l+f*d,r=c+f*p),[n,r]}function s(t,e,n){var r=Object(i.e)(e+180,360)-180,o=Math.abs(3600*r),s=n||0,l=Math.pow(10,s),c=Math.floor(o/3600),u=Math.floor((o-3600*c)/60),h=o-3600*c-60*u;return(h=Math.ceil(h*l)/l)>=60&&(h=0,u+=1),u>=60&&(u=0,c+=1),c+"° "+Object(a.b)(u,2)+"′ "+Object(a.b)(h,2,s)+"″"+(0==r?"":" "+t.charAt(r<0?1:0))}function l(t,e){var n=t[0]-e[0],r=t[1]-e[1];return n*n+r*r}function c(t,e,n){var i=e.getExtent(),a=0;if(e.canWrapX()&&(t[0]i[2])){var o=n||Object(r.F)(i);a=Math.floor((t[0]-i[0])/o)}return a}},Ibhu:function(t,e,n){var r=n("D2L2"),i=n("TcQ7"),a=n("vFc/")(!1),o=n("ax3d")("IE_PROTO");t.exports=function(t,e){var n,s=i(t),l=0,c=[];for(n in s)n!=o&&r(s,n)&&c.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~a(c,n)||c.push(n));return c}},IhEG:function(t,e,n){"use strict";var r=n("V5rA"),i=n("Y7y8"),a=n("oshc"),o=n("4acs"),s=n("azsZ"),l=n("/LWt"),c=n("Oeue"),u=n("o1z/"),h=n("RUSk");function d(t,e,n,r,i,a,o,s,l,c,d,p){var f=t[e],v=t[e+1],m=0,g=0,y=0,b=0;function _(){m=f,g=v,f=t[e+=r],v=t[e+1],b+=y,y=Math.sqrt((f-m)*(f-m)+(v-g)*(v-g))}do{_()}while(ej[2]}else S=w>A;var E,I=Math.PI,L=[],P=x+r===e;if(y=0,b=C,f=t[e=x],v=t[e+1],P){_();var k=Math.atan2(v-g,f-m);S&&(k+=k>0?-I:I);var F=(A+w)/2,V=(T+z)/2;return L[0]=[F,V,(M-a)/2,k,i],L}for(var B=0,R=i.length;B0?-I:I),void 0!==E){var D=H-E;if(D+=D>I?-2*I:D<-I?2*I:0,Math.abs(D)>o)return null}E=H;for(var N=B,$=0;Bt?t-u:i,S=a+h>e?e-h:a,A=_[3]+M*p[0]+_[1],T=_[0]+S*p[1]+_[2],j=x-_[3],E=C-_[0];return(O||0!==d)&&(m[0]=j,b[0]=j,m[1]=E,g[1]=E,g[0]=j+A,y[0]=g[0],y[1]=E+T,b[1]=y[1]),0!==d?(z=Object(s.b)(Object(s.c)(),n,r,1,1,d,-n,-r),Object(s.a)(z,m),Object(s.a)(z,g),Object(s.a)(z,y),Object(s.a)(z,b),Object(l.l)(Math.min(m[0],g[0],y[0],b[0]),Math.min(m[1],g[1],y[1],b[1]),Math.max(m[0],g[0],y[0],b[0]),Math.max(m[1],g[1],y[1],b[1]),v)):Object(l.l)(Math.min(j,j+A),Math.min(E,E+T),Math.max(j,j+A),Math.max(E,E+T),v),f&&(x=Math.round(x),C=Math.round(C)),{drawImageX:x,drawImageY:C,drawImageW:M,drawImageH:S,originX:u,originY:h,declutterBox:{minX:v[0],minY:v[1],maxX:v[2],maxY:v[3],value:w},canvasTransform:z,scale:p}},t.prototype.replayImageOrLabel_=function(t,e,n,r,i,a,o){var s=!(!a&&!o),l=r.declutterBox,u=t.canvas,h=o?o[2]*r.scale[0]/2:0;return l.minX-h<=u.width/e&&l.maxX+h>=0&&l.minY-h<=u.height/e&&l.maxY+h>=0&&(s&&this.replayTextBackground_(t,m,g,y,b,a,o),Object(c.o)(t,r.canvasTransform,i,n,r.originX,r.originY,r.drawImageW,r.drawImageH,r.drawImageX,r.drawImageY,r.scale)),!0},t.prototype.fill_=function(t){if(this.alignFill_){var e=Object(s.a)(this.renderedTransform_,[0,0]),n=512*this.pixelRatio;t.save(),t.translate(e[0]%n,e[1]%n),t.rotate(this.viewRotation_)}t.fill(),this.alignFill_&&t.restore()},t.prototype.setStrokeStyle_=function(t,e){t.strokeStyle=e[1],t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.setLineDash&&(t.lineDashOffset=e[7],t.setLineDash(e[6]))},t.prototype.drawLabelWithPointPlacement_=function(t,e,n,r){var i=this.textStates[e],o=this.createLabel(t,e,r,n),s=this.strokeStates[n],l=this.pixelRatio,u=w(t,i.textAlign||c.m),h=a.a[i.textBaseline||c.n],d=s&&s.lineWidth?s.lineWidth:0;return{label:o,anchorX:u*(o.width/l-2*i.scale[0])+2*(.5-u)*d,anchorY:h*o.height/l+2*(.5-h)*d}},t.prototype.execute_=function(t,e,n,r,o,u,v,m){var g;this.pixelCoordinates_&&Object(p.b)(n,this.renderedTransform_)?g=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),g=Object(h.c)(this.coordinates,0,this.coordinates.length,2,n,this.pixelCoordinates_),Object(s.j)(this.renderedTransform_,n));for(var y,b,O,w,z,x,C,M,S,A,T,j,E,I,L,P,k=0,F=r.length,V=0,B=0,R=0,H=null,D=null,N=this.coordinateCache_,$=this.viewRotation_,G=Math.round(1e12*Math.atan2(-n[1],n[0]))/1e12,U={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:$},W=this.instructions!=r||this.overlaps?0:200;kW&&(this.fill_(t),B=0),R>W&&(t.stroke(),R=0),B||R||(t.beginPath(),w=NaN,z=NaN),++k;break;case i.c.CIRCLE:var X=g[V=q[1]],Y=g[V+1],K=g[V+2]-X,Z=g[V+3]-Y,J=Math.sqrt(K*K+Z*Z);t.moveTo(X+J,Y),t.arc(X,Y,J,0,2*Math.PI,!0),++k;break;case i.c.CLOSE_PATH:t.closePath(),++k;break;case i.c.CUSTOM:V=q[1],y=q[2];var Q=q[3],tt=q[4],et=6==q.length?q[5]:void 0;U.geometry=Q,U.feature=E,k in N||(N[k]=[]);var nt=N[k];et?et(g,V,y,2,nt):(nt[0]=g[V],nt[1]=g[V+1],nt.length=2),tt(nt,U),++k;break;case i.c.DRAW_IMAGE:V=q[1],y=q[2],M=q[3],b=q[4],O=q[5];var rt=q[6],it=q[7],at=q[8],ot=q[9],st=q[10],lt=q[11],ct=q[12],ut=q[13],ht=q[14];if(!M&&q.length>=19){S=q[18],A=q[19],T=q[20],j=q[21];var dt=this.drawLabelWithPointPlacement_(S,A,T,j);M=dt.label,q[3]=M;var pt=q[22];b=(dt.anchorX-pt)*this.pixelRatio,q[4]=b;var ft=q[23];O=(dt.anchorY-ft)*this.pixelRatio,q[5]=O,rt=M.height,q[6]=rt,ut=M.width,q[13]=ut}var vt=void 0;q.length>24&&(vt=q[24]);var mt=void 0,gt=void 0,yt=void 0;q.length>16?(mt=q[15],gt=q[16],yt=q[17]):(mt=c.k,gt=!1,yt=!1),st&&G?lt+=$:st||G||(lt-=$);for(var bt=0;Vn)break;var s=r[o];s||(s=[],r[o]=s),s.push(4*((t+i)*e+(t+a))+3),i>0&&s.push(4*((t-i)*e+(t+a))+3),a>0&&(s.push(4*((t+i)*e+(t-a))+3),i>0&&s.push(4*((t-i)*e+(t-a))+3))}for(var l=[],i=0,c=r.length;i0){if(!o||v!==r.a.IMAGE&&v!==r.a.TEXT||-1!==o.indexOf(t)){var u=(m[s]-3)/4,h=i-u%c,d=i-(u/c|0),p=a(t,e,h*h+d*d);if(p)return p}f.clearRect(0,0,c,c);break}}var y,b,_,O,w,z=Object.keys(this.executorsByZIndex_).map(Number);for(z.sort(p.i),y=z.length-1;y>=0;--y){var C=z[y].toString();for(_=this.executorsByZIndex_[C],b=M.length-1;b>=0;--b)if(void 0!==(O=_[v=M[b]])&&(w=O.executeHitDetection(f,u,n,g,d)))return w}},t.prototype.getClipCoords=function(t){var e=this.maxExtent_;if(!e)return null;var n=e[0],r=e[1],i=e[2],a=e[3],o=[n,r,n,a,i,a,i,r];return Object(h.c)(o,0,8,2,t,o),o},t.prototype.isEmpty=function(){return Object(C.d)(this.executorsByZIndex_)},t.prototype.execute=function(t,e,n,r,i,a,o){var s=Object.keys(this.executorsByZIndex_).map(Number);s.sort(p.i),this.maxExtent_&&(t.save(),this.clip(t,n));var l,c,u,h,d,f,v=a||M;for(o&&s.reverse(),l=0,c=s.length;l=0;a--)this.postProcessPasses_[a].init(t);e.bindTexture(e.TEXTURE_2D,null),e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT),e.enable(e.BLEND),e.blendFunc(e.ONE,e.ONE_MINUS_SRC_ALPHA),e.useProgram(this.currentProgram_),this.applyFrameState(t),this.applyUniforms(t)},e.prototype.prepareDrawToRenderTarget=function(t,e,n){var r=this.getGL(),i=e.getSize();r.bindFramebuffer(r.FRAMEBUFFER,e.getFramebuffer()),r.viewport(0,0,i[0],i[1]),r.bindTexture(r.TEXTURE_2D,e.getTexture()),r.clearColor(0,0,0,0),r.clear(r.COLOR_BUFFER_BIT),r.enable(r.BLEND),r.blendFunc(r.ONE,n?r.ZERO:r.ONE_MINUS_SRC_ALPHA),r.useProgram(this.currentProgram_),this.applyFrameState(t),this.applyUniforms(t)},e.prototype.drawElements=function(t,e){var n=this.getGL(),r=n.UNSIGNED_INT,i=e-t,a=4*t;n.drawElements(n.TRIANGLES,i,r,a)},e.prototype.finalizeDraw=function(t){for(var e=0;ethis.size_[0]||e>=this.size_[1])return D[0]=0,D[1]=0,D[2]=0,D[3]=0,D;this.readAll();var n=Math.floor(t)+(this.size_[1]-Math.floor(e)-1)*this.size_[0];return D[0]=this.data_[4*n],D[1]=this.data_[4*n+1],D[2]=this.data_[4*n+2],D[3]=this.data_[4*n+3],D},t.prototype.getTexture=function(){return this.texture_},t.prototype.getFramebuffer=function(){return this.framebuffer_},t.prototype.updateSize_=function(){var t=this.size_,e=this.helper_.getGL();this.texture_=this.helper_.createTexture(t,null,this.texture_),e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.viewport(0,0,t[0],t[1]),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.texture_,0),this.data_=new Uint8Array(t[0]*t[1]*4)},t}(),$=n("/LWt"),G=new Blob(['var e="function"==typeof Object.assign?Object.assign:function(e,n){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1,o=arguments.length;r>3)?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(r)}}function It(t,e,n){if(1==t)e.id=n.readVarint();else if(2==t)for(var r=n.readVarint()+n.pos;n.pos>3}o--,1===a||2===a?(s+=t.readSVarint(),l+=t.readSVarint(),1===a&&c>u&&(r.push(c),u=c),n.push(s,l),c+=2):7===a?c>u&&(n.push(n[u],n[u+1]),c+=2):Object(v.a)(!1,59)}c>u&&(r.push(c),u=c)},e.prototype.createFeature_=function(t,e,n){var r,i=e.type;if(0===i)return null;var a,o=e.properties;this.idProperty_?(a=o[this.idProperty_],delete o[this.idProperty_]):a=e.id,o[this.layerName_]=e.layer.name;var l=[],c=[];this.readRawGeometry_(t,e,l,c);var u=function(t,e){var n;1===t?n=1===e?s.a.POINT:s.a.MULTI_POINT:2===t?n=1===e?s.a.LINE_STRING:s.a.MULTI_LINE_STRING:3===t&&(n=s.a.POLYGON);return n}(i,c.length);if(this.featureClass_===St)(r=new this.featureClass_(u,l,c,o,a)).transform(n.dataProjection);else{var h=void 0;if(u==s.a.POLYGON){for(var d=[],p=0,f=0,v=0,m=c.length;v1?new vt.a(l,ht.a.XY,d):new bt.b(l,ht.a.XY,c)}else h=u===s.a.POINT?new yt.a(l,ht.a.XY):u===s.a.LINE_STRING?new dt.a(l,ht.a.XY):u===s.a.POLYGON?new bt.b(l,ht.a.XY,c):u===s.a.MULTI_POINT?new ft.a(l,ht.a.XY):u===s.a.MULTI_LINE_STRING?new pt.a(l,ht.a.XY,c):null;r=new(0,this.featureClass_),this.geometryName_&&r.setGeometryName(this.geometryName_);var y=ct(h,!1,n);r.setGeometry(y),r.setId(a),r.setProperties(o,!0)}return r},e.prototype.getType=function(){return ut.a.ARRAY_BUFFER},e.prototype.readFeatures=function(t,e){var n=this.layers_,r=this.adaptOptions(e),i=Object(st.g)(r.dataProjection);i.setWorldExtent(r.extent),r.dataProjection=i;var a=new gt.a(t),o=a.readFields(jt,{}),s=[];for(var l in o)if(!n||-1!=n.indexOf(l)){var c=o[l],u=c?[0,0,c.extent,c.extent]:null;i.setExtent(u);for(var h=0,d=c.length;h0)e([]);else{var m=u.getTileCoordExtent(r.wrappedTileCoord),g=Object($.D)(m),y=[(h[0]-g[0])/c,(g[1]-h[1])/c],b=r.getSourceTiles().reduce(function(t,e){return t.concat(e.getFeatures())},[]),_=r.hitDetectionImageData[a];if(!_&&!this.animatingOrInteracting_){var O=Object(Gt.d)(u.getTileSize(u.getZForResolution(c))),w=[O[0]/2,O[1]/2],z=this.renderedRotation_,x=[this.getRenderTransform(u.getTileCoordCenter(r.wrappedTileCoord),c,0,.5,w[0],w[1],0)];_=Object(Nt.a)(O,x,b,i.getStyleFunction(),u.getTileCoordExtent(r.wrappedTileCoord),r.getReplayState(i).renderedResolution,z),r.hitDetectionImageData[a]=_}e(Object(Nt.b)(y,b,_))}}.bind(this))},e.prototype.handleFontsChanged=function(){Object(S.b)(this.renderTileImageQueue_);var t=this.getLayer();t.getVisible()&&void 0!==this.renderedLayerRevision_&&t.changed()},e.prototype.handleStyleImageChange_=function(t){this.renderIfReadyAndVisible()},e.prototype.renderDeclutter=function(t){for(var e=t.viewHints,n=!(e[c.a.ANIMATING]||e[c.a.INTERACTING]),r=this.renderedTiles,i=0,a=r.length;i=0;--l)s[l].execute(this.context,1,this.getTileRenderTransform(o,t),t.viewState.rotation,n,void 0,t.declutterTree)}},e.prototype.getTileRenderTransform=function(t,e){var n=e.pixelRatio,r=e.viewState,i=r.center,a=r.resolution,o=r.rotation,s=e.size,l=Math.round(s[0]*n),c=Math.round(s[1]*n),u=this.getLayer().getSource().getTileGridForProjection(e.viewState.projection),h=t.tileCoord,d=u.getTileCoordExtent(t.wrappedTileCoord),p=u.getTileCoordExtent(h,this.tmpExtent)[0]-d[0];return Object(A.f)(Object(A.i)(this.inversePixelTransform.slice(),1/n,1/n),this.getRenderTransform(i,a,o,n,l,c,p))},e.prototype.renderFrame=function(e,n){var r=e.viewHints,i=!(r[c.a.ANIMATING]||r[c.a.INTERACTING]);this.renderQueuedTileImages_(i,e),t.prototype.renderFrame.call(this,e,n),this.renderedPixelToCoordinateTransform_=e.pixelToCoordinateTransform.slice(),this.renderedRotation_=e.viewState.rotation;var a=this.getLayer(),o=a.getRenderMode();if(o===Dt.IMAGE)return this.container;var s=a.getSource(),l=e.usedTiles[Object(E.c)(s)];for(var u in this.renderTileImageQueue_)l&&u in l||delete this.renderTileImageQueue_[u];for(var h=this.context,d=Xt[o],p=e.viewState.rotation,f=this.renderedTiles,v=[],m=[],g=f.length-1;g>=0;--g)for(var y=f[g],b=this.getTileRenderTransform(y,e),_=y.executorGroups[Object(E.c)(a)],O=!1,w=0,z=_.length;w8){e.animate=!0;break}var r=this.renderTileImageQueue_[n];delete this.renderTileImageQueue_[n],this.renderTileImage_(r,e)}},e.prototype.renderFeature=function(t,e,n,r,i){if(!n)return!1;var a=!1;if(Array.isArray(n))for(var o=0,s=n.length;o=.05){for(var n="",r=t.split("\n"),i=fe.slice(0,Math.round(e/.1)),a=0,o=r.length;a0&&(n+="\n"),n+=r[a].split("").join(i);return n}return t}function me(){return pe||(pe=de(1,1).getContext("2d")),pe}function ge(t,e){return me().measureText(t).width+(t.length-1)*e}var ye={};ce.p&&Object(W.a)(ce.p,at.a.CLEAR,function(){ye={}});var be,_e,Oe=le.e.isFunction,we=le.e.convertFunction,ze=le.c.isExpression,xe=le.c.createPropertyExpression,Ce={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},Me={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]},Se=function(t,e){var n=xe(t,e);if("error"===n.result)throw new Error(n.value.map(function(t){return t.key+": "+t.message}).join(", "));return n.value},Ae={},Te={zoom:0},je={};function Ee(t,e,n,r,i){var a=t.id;je[a]||(je[a]={});var o=je[a];if(!o[n]){var s=(t[e]||Ae)[n],l=le.f[e+"_"+t.type][n];void 0===s&&(s=l.default);var c=ze(s);if(!c&&Oe(s)&&(s=we(s,l),c=!0),c){var u=Se(s,l);o[n]=u.evaluate.bind(u)}else"color"==l.type&&(s=le.a.parse(s)),o[n]=function(){return s}}return Te.zoom=r,o[n](Te,i)}var Ie={};function Le(t,e){if(t){if(0===t.a||0===e)return;var n=t.a;return e=void 0===e?1:e,"rgba("+Math.round(255*t.r/n)+","+Math.round(255*t.g/n)+","+Math.round(255*t.b/n)+","+n*e+")"}return t}var Pe=/^([^]*)\{(.*)\}([^]*)$/;function ke(t,e){var n;do{if(n=t.match(Pe)){var r=e[n[2]]||"";t=n[1]+r+n[3]}}while(n);return t}var Fe=!1;var Ve=function(t,e,n,r,i,a,o){if(void 0===r&&(r=he),"string"==typeof e&&(e=JSON.parse(e)),8!=e.version)throw new Error("glStyle version 8 required.");var s,l;if(a)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=a}else if("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope){var u=self;u.postMessage({action:"loadImage",src:a}),u.addEventListener("message",function(t){"imageLoaded"===t.data.action&&t.data.src===a&&(s=t.data.image,l=[s.width,s.height])})}for(var h,d=Object(le.b)(e.layers),p={},f=[],v=0,m=d.length;v=m.maxzoom)return"continue";var _=m.filter;if(!_||function(t,e,n,r){return t in Ie||(Ie[t]=Object(le.d)(e).filter),Te.zoom=r,Ie[t](Te,n)}(g,_,d,c)){u=m;var O=void 0,w=void 0,A=void 0,T=void 0,j=void 0,E=void 0,I=v.index;if(3==h&&("fill"==m.type||"fill-extrusion"==m.type))if(w=Ee(m,"paint",m.type+"-opacity",c,d),m.type+"-pattern"in b){var L=Ee(m,"paint",m.type+"-pattern",c,d);if(L){var P="string"==typeof L?ke(L,n):L.toString();if(s&&i&&i[P]){(E=S[++f])&&E.getFill()&&!E.getStroke()&&!E.getText()||(E=S[f]=new ne.c({fill:new re.a})),A=E.getFill(),E.setZIndex(I);var k=M[ct=P+"."+w];if(!k)(dt=(ht=de((ut=i[P]).width,ut.height)).getContext("2d")).globalAlpha=w,dt.drawImage(s,ut.x,ut.y,ut.width,ut.height,0,0,ut.width,ut.height),k=dt.createPattern(ht,"repeat"),M[ct]=k;A.setColor(k)}}}else(O=Le(Ee(m,"paint",m.type+"-color",c,d),w))&&(m.type+"-outline-color"in b&&(j=Le(Ee(m,"paint",m.type+"-outline-color",c,d),w)),j||(j=O),(E=S[++f])&&E.getFill()&&E.getStroke()&&!E.getText()||(E=S[f]=new ne.c({fill:new re.a,stroke:new ie.a})),(A=E.getFill()).setColor(O),(T=E.getStroke()).setColor(j),T.setWidth(1),E.setZIndex(I));if(1!=h&&"line"==m.type){O=!("line-pattern"in b)&&"line-color"in b?Le(Ee(m,"paint","line-color",c,d),Ee(m,"paint","line-opacity",c,d)):void 0;var F=Ee(m,"paint","line-width",c,d);O&&F>0&&((E=S[++f])&&E.getStroke()&&!E.getFill()&&!E.getText()||(E=S[f]=new ne.c({stroke:new ie.a})),(T=E.getStroke()).setLineCap(Ee(m,"layout","line-cap",c,d)),T.setLineJoin(Ee(m,"layout","line-join",c,d)),T.setMiterLimit(Ee(m,"layout","line-miter-limit",c,d)),T.setColor(O),T.setWidth(F),T.setLineDash(b["line-dasharray"]?Ee(m,"paint","line-dasharray",c,d).map(function(t){return t*F}):null),E.setZIndex(I))}var V=!1,B=null,R=0,H=void 0,D=void 0,N=void 0;if((1==h||2==h)&&"icon-image"in y){var $=Ee(m,"layout","icon-image",c,d);if($){H="string"==typeof $?ke($,n):$.toString();var G=void 0;if(s&&i&&i[H]){var U=Ee(m,"layout","icon-rotation-alignment",c,d);if(2==h){var W=t.getGeometry();if(W.getFlatMidpoint||W.getFlatMidpoints){var q=W.getExtent();if(Math.sqrt(Math.max(Math.pow((q[2]-q[0])/e,2),Math.pow((q[3]-q[1])/e,2)))>150){var X="MultiLineString"===W.getType()?W.getFlatMidpoints():W.getFlatMidpoint();if(_e||(_e=new St("Point",be=[NaN,NaN],[],{},null)),G=_e,be[0]=X[0],be[1]=X[1],"line"===(Lt=Ee(m,"layout","symbol-placement",c,d))&&"map"===U)for(var Y=W.getStride(),K=W.getFlatCoordinates(),Z=0,J=K.length-Y;Z=rt&&X[0]<=at&&X[1]>=it&&X[1]<=ot){R=Math.atan2(tt-nt,et-Q);break}}}}}if(2!==h||G){var st=Ee(m,"layout","icon-size",c,d),lt=void 0!==b["icon-color"]?Ee(m,"paint","icon-color",c,d):null;if(!lt||0!==lt.a){var ct=H+"."+st;if(null!==lt&&(ct+="."+lt),!(D=C[ct])){var ut=i[H];if(null!==lt){var ht,dt;(dt=(ht=de(ut.width,ut.height)).getContext("2d")).drawImage(s,ut.x,ut.y,ut.width,ut.height,0,0,ut.width,ut.height);for(var pt=dt.getImageData(0,0,ht.width,ht.height),ft=0,vt=pt.data.length;ft0?new ie.a({width:_t,color:yt}):void 0,fill:bt?new re.a({color:bt}):void 0})),E.setImage(D),B=E.getText(),E.setText(void 0),E.setGeometry(void 0),E.setZIndex(I),V=!0}var wt=void 0;if("text-field"in y)wt=ke(Ee(m,"layout","text-field",c,d).toString(),n).trim(),w=Ee(m,"paint","text-opacity",c,d);if(wt&&w&&!N){V||((E=S[++f])&&E.getText()&&!E.getFill()&&!E.getStroke()||(E=S[f]=new ne.c),E.setImage(void 0),E.setGeometry(void 0)),E.getText()||E.setText(B||new oe.a({padding:[2,2,2,2]})),B=E.getText();var zt=Math.round(Ee(m,"layout","text-size",c,d)),xt=Ee(m,"layout","text-font",c,d),Ct=Ee(m,"layout","text-line-height",c,d),Mt=ee()(o?o(xt):xt,zt,Ct),At=y["text-transform"];"uppercase"==At?wt=wt.toUpperCase():"lowercase"==At&&(wt=wt.toLowerCase());var Tt=Ee(m,"layout","text-max-width",c,d),jt=Ee(m,"layout","text-letter-spacing",c,d),Et=2==h?ve(wt,jt):function t(e,n,r,i){if(-1!==e.indexOf("\n")){for(var a=e.split("\n"),o=[],s=0,l=a.length;s1){var d=me();d.font=n;var p=d.measureText("M").width*r,f="";for(o=[],s=0,l=h.length;s1;++s){var g=o[s];if(ge(g,i)<.35*p){var y=s>0?ge(o[s-1],i):1/0,b=s.7*p&&ge(O,i)<.6*p){var w=_.split(" "),z=w.pop();ge(z,i)<.2*p&&(o[s]=w.join(" "),o[s+1]=z+" "+O),l-=1}}u=o.join("\n")}else u=e;u=ve(u,i),ye[c]=u}return u}(wt,Mt,Tt,jt);B.setText(Et),B.setFont(Mt),B.setRotation(ue(Ee(m,"layout","text-rotate",c,d)));var It=Ee(m,"layout","text-anchor",c,d),Lt=V||1==h?"point":Ee(m,"layout","symbol-placement",c,d);B.setPlacement(Lt);var Pt=Ee(m,"paint","text-halo-width",c,d),kt=Ee(m,"layout","text-offset",c,d),Ft=Ee(m,"paint","text-translate",c,d),Vt=0,Bt=0;if("point"==Lt){var Rt="center";-1!==It.indexOf("left")?(Rt="left",Bt=Pt):-1!==It.indexOf("right")&&(Rt="right",Bt=-Pt),B.setTextAlign(Rt);var Ht=Ee(m,"layout","text-rotation-alignment",c,d);B.setRotateWithView("map"==Ht)}else B.setMaxAngle(ue(Ee(m,"layout","text-max-angle",c,d))*wt.length/Et.length),B.setTextAlign(),B.setRotateWithView(!1);var Dt="middle";0==It.indexOf("bottom")?(Dt="bottom",Vt=-Pt-.5*(Ct-1)*zt):0==It.indexOf("top")&&(Dt="top",Vt=Pt+.5*(Ct-1)*zt),B.setTextBaseline(Dt),B.setOffsetX(kt[0]*zt+Bt+Ft[0]),B.setOffsetY(kt[1]*zt+Vt+Ft[1]),x.setColor(Le(Ee(m,"paint","text-color",c,d),w)),B.setFill(x);var Nt=Le(Ee(m,"paint","text-halo-color",c,d),w);if(Nt){z.setColor(Nt),Pt*=2;var $t=.5*zt;z.setWidth(Pt<=$t?Pt:$t),B.setStroke(z)}else B.setStroke(void 0);var Gt=Ee(m,"layout","text-padding",c,d),Ut=B.getPadding();Gt!==Ut[0]&&(Ut[0]=Ut[1]=Ut[2]=Ut[3]=Gt),E.setZIndex(I)}}},m=0,g=a.length;m-1?(S.length=f+1,Fe&&("function"==typeof t.set?t.set("mapbox-layer",u):t.getProperties()["mapbox-layer"]=u),S):void 0}};return t.setStyle(A),t.set("mapbox-source",h),t.set("mapbox-layers",f),A},Be=n("cKXw"),Re=n.n(Be),He=(n("7yEG"),n("clnH"),n("trid"),n("Lfyu"),n("nq2H")),De=n("g13Y"),Ne=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function $e(t){if("string"==typeof t){var e=JSON.parse(t);return e||null}return null!==t?t:null}var Ge=function(t){function e(){return t.call(this)||this}return Ne(e,t),e.prototype.getType=function(){return ut.a.JSON},e.prototype.readFeature=function(t,e){return this.readFeatureFromObject($e(t),this.getReadOptions(t,e))},e.prototype.readFeatures=function(t,e){return this.readFeaturesFromObject($e(t),this.getReadOptions(t,e))},e.prototype.readFeatureFromObject=function(t,e){return Object(E.b)()},e.prototype.readFeaturesFromObject=function(t,e){return Object(E.b)()},e.prototype.readGeometry=function(t,e){return this.readGeometryFromObject($e(t),this.getReadOptions(t,e))},e.prototype.readGeometryFromObject=function(t,e){return Object(E.b)()},e.prototype.readProjection=function(t){return this.readProjectionFromObject($e(t))},e.prototype.readProjectionFromObject=function(t){return Object(E.b)()},e.prototype.writeFeature=function(t,e){return JSON.stringify(this.writeFeatureObject(t,e))},e.prototype.writeFeatureObject=function(t,e){return Object(E.b)()},e.prototype.writeFeatures=function(t,e){return JSON.stringify(this.writeFeaturesObject(t,e))},e.prototype.writeFeaturesObject=function(t,e){return Object(E.b)()},e.prototype.writeGeometry=function(t,e){return JSON.stringify(this.writeGeometryObject(t,e))},e.prototype.writeGeometryObject=function(t,e){return Object(E.b)()},e}(lt),Ue=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function We(t,e){if(!t)return null;var n;switch(t.type){case s.a.POINT:n=function(t){return new yt.a(t.coordinates)}(t);break;case s.a.LINE_STRING:n=function(t){return new dt.a(t.coordinates)}(t);break;case s.a.POLYGON:n=function(t){return new bt.b(t.coordinates)}(t);break;case s.a.MULTI_POINT:n=function(t){return new ft.a(t.coordinates)}(t);break;case s.a.MULTI_LINE_STRING:n=function(t){return new pt.a(t.coordinates)}(t);break;case s.a.MULTI_POLYGON:n=function(t){return new vt.a(t.coordinates)}(t);break;case s.a.GEOMETRY_COLLECTION:n=function(t,e){var n=t.geometries.map(function(t){return We(t,e)});return new De.a(n)}(t);break;default:throw new Error("Unsupported GeoJSON type: "+t.type)}return ct(n,!1,e)}function qe(t,e){var n,r=(t=ct(t,!0,e)).getType();switch(r){case s.a.POINT:n=function(t,e){return{type:"Point",coordinates:t.getCoordinates()}}(t);break;case s.a.LINE_STRING:n=function(t,e){return{type:"LineString",coordinates:t.getCoordinates()}}(t);break;case s.a.POLYGON:n=function(t,e){var n;e&&(n=e.rightHanded);return{type:"Polygon",coordinates:t.getCoordinates(n)}}(t,e);break;case s.a.MULTI_POINT:n=function(t,e){return{type:"MultiPoint",coordinates:t.getCoordinates()}}(t);break;case s.a.MULTI_LINE_STRING:n=function(t,e){return{type:"MultiLineString",coordinates:t.getCoordinates()}}(t);break;case s.a.MULTI_POLYGON:n=function(t,e){var n;e&&(n=e.rightHanded);return{type:"MultiPolygon",coordinates:t.getCoordinates(n)}}(t,e);break;case s.a.GEOMETRY_COLLECTION:n=function(t,e){return{type:"GeometryCollection",geometries:t.getGeometriesArray().map(function(t){var n=Object(S.a)({},e);return delete n.featureProjection,qe(t,n)})}}(t,e);break;case s.a.CIRCLE:n={type:"GeometryCollection",geometries:[]};break;default:throw new Error("Unsupported geometry type: "+r)}return n}var Xe,Ye=function(t){function e(e){var n=this,r=e||{};return(n=t.call(this)||this).dataProjection=Object(st.g)(r.dataProjection?r.dataProjection:"EPSG:4326"),r.featureProjection&&(n.defaultFeatureProjection=Object(st.g)(r.featureProjection)),n.geometryName_=r.geometryName,n.extractGeometryName_=r.extractGeometryName,n}return Ue(e,t),e.prototype.readFeatureFromObject=function(t,e){var n=null,r=We((n="Feature"===t.type?t:{type:"Feature",geometry:t,properties:null}).geometry,e),i=new He.a;return this.geometryName_?i.setGeometryName(this.geometryName_):this.extractGeometryName_&&"geometry_name"in n!==void 0&&i.setGeometryName(n.geometry_name),i.setGeometry(r),"id"in n&&i.setId(n.id),n.properties&&i.setProperties(n.properties,!0),i},e.prototype.readFeaturesFromObject=function(t,e){var n=null;if("FeatureCollection"===t.type){n=[];for(var r=t.features,i=0,a=r.length;i2?r[2]:""):t+n}function sn(t,e,n,r,i){return new Promise(function(o,s){if("object"!=typeof e&&(e=JSON.parse(e)),8!=e.version)return s(new Error("glStyle version 8 required."));if(!(t instanceof a.a||t instanceof Jt))return s(new Error("Can only apply to VectorLayer or VectorTileLayer"));var l,c,u;function h(){u||e.sprite&&!l?u?(t.setStyle(u),o()):s(new Error("Something went wrong trying to apply style.")):(u=Ve(t,e,n,i,l,c,nn),t.getStyle()?o():s(new Error("Nothing to show for source ["+n+"]")))}if(e.sprite){var d=.5==(window.devicePixelRatio>=1.5?.5:1)?"@2x":"",p=on(e.sprite,r,d+".json");fetch(p,{credentials:"same-origin"}).then(function(t){return t.ok||""===d?t:(p=on(e.sprite,r,".json"),fetch(p,{credentials:"same-origin"}))}).then(function(t){if(t.ok)return t.json();s(new Error("Problem fetching sprite from "+p+": "+t.statusText))}).then(function(t){if(void 0===t)return s(new Error("No sprites found."));l=t,c=on(e.sprite,r,d+".png"),h()}).catch(function(t){s(new Error("Sprites cannot be loaded: "+p+": "+t.message))})}else h()})}new Ye;var ln=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),cn="https://api.mapbox.com";function un(t){return 0!==t.indexOf("mapbox://")?"":t.slice("mapbox://".length)}var hn=function(t){function e(e){var n=t.call(this,at.a.ERROR)||this;return n.error=e,n}return ln(e,t),e}(it.a),dn="vector",pn=function(t){function e(e){var n=this,r=!("declutter"in e)||e.declutter,i=new Qt.a({state:kt.a.LOADING,format:new Pt});return(n=t.call(this,{source:i,declutter:r,className:e.className,opacity:e.opacity,visible:e.visible,zIndex:e.zIndex,minResolution:e.minResolution,maxResolution:e.maxResolution,minZoom:e.minZoom,maxZoom:e.maxZoom,renderOrder:e.renderOrder,renderBuffer:e.renderBuffer,renderMode:e.renderMode,map:e.map,updateWhileAnimating:e.updateWhileAnimating,updateWhileInteracting:e.updateWhileInteracting,preload:e.preload,useInterimTilesOnError:e.useInterimTilesOnError})||this).sourceId=e.source,n.layers=e.layers,n.accessToken=e.accessToken,n.fetchStyle(e.styleUrl),n}return ln(e,t),e.prototype.fetchStyle=function(t){var e=this,n=function(t,e){var n=un(t);if(!n)return t;if(0!==n.indexOf("styles/"))throw new Error("unexpected style url: "+t);var r=n.slice("styles/".length);return cn+"/styles/v1/"+r+"?&access_token="+e}(t,this.accessToken);fetch(n).then(function(t){if(!t.ok)throw new Error("unexpected response when fetching style: "+t.status);return t.json()}).then(function(t){e.onStyleLoad(t)}).catch(function(t){e.handleError(t)})},e.prototype.onStyleLoad=function(t){var e,n,r=this;if(this.layers){for(var i={},a=0;a4)throw new Error("`formatArray` can only output `vec2`, `vec3` or `vec4` arrays.");return"vec"+t.length+"("+t.map(An).join(", ")+")"}function jn(t,e){return void 0===t.stringLiteralsMap[e]&&(t.stringLiteralsMap[e]=Object.keys(t.stringLiteralsMap).length),t.stringLiteralsMap[e]}function En(t,e,n){if(Array.isArray(e)&&"string"==typeof e[0]){var r=Mn[e[0]];if(void 0===r)throw new Error("Unrecognized expression operator: "+JSON.stringify(e));return r.toGlsl(t,e.slice(1),n)}var i,a,o=Sn(e);return(o&Cn.NUMBER)>0?An(e):(o&Cn.BOOLEAN)>0?e.toString():(o&Cn.STRING)>0&&(void 0===n||n==Cn.STRING)?function(t,e){return An(jn(t,e))}(t,e.toString()):(o&Cn.COLOR)>0&&(void 0===n||n==Cn.COLOR)?(i=e,(a=Object(xn.a)(i).slice()).length<4&&a.push(1),Tn(a.map(function(t,e){return e<3?t/255:t}))):(o&Cn.NUMBER_ARRAY)>0?Tn(e):void 0}function In(t){if(!(Sn(t)&Cn.NUMBER))throw new Error("A numeric value was expected, got "+JSON.stringify(t)+" instead")}function Ln(t){for(var e=0;ee)throw new Error("At most "+e+" arguments were expected, got "+t.length+" instead")}function Rn(t){if(t.length%2!=0)throw new Error("An even amount of arguments was expected, got "+t+" instead")}function Hn(t,e){if(n=e,Math.log2(n)%1!=0)throw new Error("Could not infer only one type from the following expression: "+JSON.stringify(t));var n}function Dn(t){return{getReturnType:function(t){return Cn.BOOLEAN},toGlsl:function(e,n){Fn(n,2);for(var r=Cn.ANY,i=0;i"]={getReturnType:function(t){return Cn.BOOLEAN},toGlsl:function(t,e){return Fn(e,2),Ln(e),"("+En(t,e[0])+" > "+En(t,e[1])+")"}},Mn[">="]={getReturnType:function(t){return Cn.BOOLEAN},toGlsl:function(t,e){return Fn(e,2),Ln(e),"("+En(t,e[0])+" >= "+En(t,e[1])+")"}},Mn["<"]={getReturnType:function(t){return Cn.BOOLEAN},toGlsl:function(t,e){return Fn(e,2),Ln(e),"("+En(t,e[0])+" < "+En(t,e[1])+")"}},Mn["<="]={getReturnType:function(t){return Cn.BOOLEAN},toGlsl:function(t,e){return Fn(e,2),Ln(e),"("+En(t,e[0])+" <= "+En(t,e[1])+")"}},Mn["=="]=Dn("=="),Mn["!="]=Dn("!="),Mn["!"]={getReturnType:function(t){return Cn.BOOLEAN},toGlsl:function(t,e){return Fn(e,1),kn(e[0]),"(!"+En(t,e[0])+")"}},Mn.all=Nn("&&"),Mn.any=Nn("||"),Mn.between={getReturnType:function(t){return Cn.BOOLEAN},toGlsl:function(t,e){Fn(e,3),Ln(e);var n=En(t,e[1]),r=En(t,e[2]),i=En(t,e[0]);return"("+i+" >= "+n+" && "+i+" <= "+r+")"}},Mn.array={getReturnType:function(t){return Cn.NUMBER_ARRAY},toGlsl:function(t,e){Vn(e,2),Bn(e,4),Ln(e);var n=e.map(function(e){return En(t,e,Cn.NUMBER)});return"vec"+e.length+"("+n.join(", ")+")"}},Mn.color={getReturnType:function(t){return Cn.COLOR},toGlsl:function(t,e){Vn(e,3),Bn(e,4),Ln(e);var n=e;3===e.length&&n.push(1);var r=e.map(function(e,n){return En(t,e,Cn.NUMBER)+(n<3?" / 255.0":"")});return"vec"+e.length+"("+r.join(", ")+")"}},Mn.interpolate={getReturnType:function(t){for(var e=Cn.COLOR|Cn.NUMBER,n=3;n=1;l-=2){s="("+a+" == "+En(t,e[l])+" ? "+En(t,e[l+1],i)+" : "+(s||o)+")"}return s}},Mn.case={getReturnType:function(t){for(var e=Cn.ANY,n=1;n=0;a-=2){s="("+En(t,e[a])+" ? "+En(t,e[a+1],i)+" : "+(s||o)+")"}return s}};var $n=function(){function t(){this.uniforms=[],this.attributes=[],this.varyings=[],this.sizeExpression="vec2(1.0)",this.rotationExpression="0.0",this.offsetExpression="vec2(0.0)",this.colorExpression="vec4(1.0)",this.texCoordExpression="vec4(0.0, 0.0, 1.0, 1.0)",this.discardExpression="false",this.rotateWithView=!1}return t.prototype.addUniform=function(t){return this.uniforms.push(t),this},t.prototype.addAttribute=function(t){return this.attributes.push(t),this},t.prototype.addVarying=function(t,e,n){return this.varyings.push({name:t,type:e,expression:n}),this},t.prototype.setSizeExpression=function(t){return this.sizeExpression=t,this},t.prototype.setRotationExpression=function(t){return this.rotationExpression=t,this},t.prototype.setSymbolOffsetExpression=function(t){return this.offsetExpression=t,this},t.prototype.setColorExpression=function(t){return this.colorExpression=t,this},t.prototype.setTextureCoordinateExpression=function(t){return this.texCoordExpression=t,this},t.prototype.setFragmentDiscardExpression=function(t){return this.discardExpression=t,this},t.prototype.setSymbolRotateWithView=function(t){return this.rotateWithView=t,this},t.prototype.getSizeExpression=function(){return this.sizeExpression},t.prototype.getOffsetExpression=function(){return this.offsetExpression},t.prototype.getColorExpression=function(){return this.colorExpression},t.prototype.getTextureCoordinateExpression=function(){return this.texCoordExpression},t.prototype.getFragmentDiscardExpression=function(){return this.discardExpression},t.prototype.getSymbolVertexShader=function(t){var e=this.rotateWithView?"u_offsetScaleMatrix * u_offsetRotateMatrix":"u_offsetScaleMatrix",n=this.attributes,r=this.varyings;return t&&(n=n.concat("vec4 a_hitColor"),r=r.concat({name:"v_hitColor",type:"vec4",expression:"a_hitColor"})),"precision mediump float;\nuniform mat4 u_projectionMatrix;\nuniform mat4 u_offsetScaleMatrix;\nuniform mat4 u_offsetRotateMatrix;\nuniform float u_time;\nuniform float u_zoom;\nuniform float u_resolution;\n"+this.uniforms.map(function(t){return"uniform "+t+";"}).join("\n")+"\nattribute vec2 a_position;\nattribute float a_index;\n"+n.map(function(t){return"attribute "+t+";"}).join("\n")+"\nvarying vec2 v_texCoord;\nvarying vec2 v_quadCoord;\n"+r.map(function(t){return"varying "+t.type+" "+t.name+";"}).join("\n")+"\nvoid main(void) {\n mat4 offsetMatrix = "+e+";\n vec2 halfSize = "+this.sizeExpression+" * 0.5;\n vec2 offset = "+this.offsetExpression+";\n float angle = "+this.rotationExpression+";\n float offsetX;\n float offsetY;\n if (a_index == 0.0) {\n offsetX = (offset.x - halfSize.x) * cos(angle) + (offset.y - halfSize.y) * sin(angle);\n offsetY = (offset.y - halfSize.y) * cos(angle) - (offset.x - halfSize.x) * sin(angle);\n } else if (a_index == 1.0) {\n offsetX = (offset.x + halfSize.x) * cos(angle) + (offset.y - halfSize.y) * sin(angle);\n offsetY = (offset.y - halfSize.y) * cos(angle) - (offset.x + halfSize.x) * sin(angle);\n } else if (a_index == 2.0) {\n offsetX = (offset.x + halfSize.x) * cos(angle) + (offset.y + halfSize.y) * sin(angle);\n offsetY = (offset.y + halfSize.y) * cos(angle) - (offset.x + halfSize.x) * sin(angle);\n } else {\n offsetX = (offset.x - halfSize.x) * cos(angle) + (offset.y + halfSize.y) * sin(angle);\n offsetY = (offset.y + halfSize.y) * cos(angle) - (offset.x - halfSize.x) * sin(angle);\n }\n vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n vec4 texCoord = "+this.texCoordExpression+";\n float u = a_index == 0.0 || a_index == 3.0 ? texCoord.s : texCoord.p;\n float v = a_index == 2.0 || a_index == 3.0 ? texCoord.t : texCoord.q;\n v_texCoord = vec2(u, v);\n u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n v = a_index == 2.0 || a_index == 3.0 ? 0.0 : 1.0;\n v_quadCoord = vec2(u, v);\n"+r.map(function(t){return" "+t.name+" = "+t.expression+";"}).join("\n")+"\n}"},t.prototype.getSymbolFragmentShader=function(t){var e=t?" if (gl_FragColor.a < 0.1) { discard; } gl_FragColor = v_hitColor;":"",n=this.varyings;return t&&(n=n.concat({name:"v_hitColor",type:"vec4",expression:"a_hitColor"})),"precision mediump float;\nuniform float u_time;\nuniform float u_zoom;\nuniform float u_resolution;\n"+this.uniforms.map(function(t){return"uniform "+t+";"}).join("\n")+"\nvarying vec2 v_texCoord;\nvarying vec2 v_quadCoord;\n"+n.map(function(t){return"varying "+t.type+" "+t.name+";"}).join("\n")+"\nvoid main(void) {\n if ("+this.discardExpression+") { discard; }\n gl_FragColor = "+this.colorExpression+";\n gl_FragColor.rgb *= gl_FragColor.a;\n"+e+"\n}"},t}();var Gn=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Un=function(t){function e(e){var n=this,r=Object(S.a)({},e);return(n=t.call(this,r)||this).parseResult_=function(t){var e=t.symbol,n=void 0!==e.size?e.size:1,r=e.color||"white",i=e.textureCoord||[0,0,1,1],a=e.offset||[0,0],o=void 0!==e.opacity?e.opacity:1,s=void 0!==e.rotation?e.rotation:0,l={inFragmentShader:!1,variables:[],attributes:[],stringLiteralsMap:{}},c=En(l,n,Cn.NUMBER_ARRAY|Cn.NUMBER),u=En(l,a,Cn.NUMBER_ARRAY),h=En(l,i,Cn.NUMBER_ARRAY),d=En(l,s,Cn.NUMBER),p={inFragmentShader:!0,variables:l.variables,attributes:[],stringLiteralsMap:l.stringLiteralsMap},f=En(p,r,Cn.COLOR),v=En(p,o,Cn.NUMBER),m="1.0",g="vec2("+En(p,n,Cn.NUMBER_ARRAY|Cn.NUMBER)+").x";switch(e.symbolType){case"square":case"image":break;case"circle":m="(1.0-smoothstep(1.-4./"+g+",1.,dot(v_quadCoord-.5,v_quadCoord-.5)*4.))";break;case"triangle":var y="(v_quadCoord*2.-1.)",b="(atan("+y+".x,"+y+".y))";m="(1.0-smoothstep(.5-3./"+g+",.5,cos(floor(.5+"+b+"/2.094395102)*2.094395102-"+b+")*length("+y+")))";break;default:throw new Error("Unexpected symbol type: "+e.symbolType)}var _=(new $n).setSizeExpression("vec2("+c+")").setRotationExpression(d).setSymbolOffsetExpression(u).setTextureCoordinateExpression(h).setSymbolRotateWithView(!!e.rotateWithView).setColorExpression("vec4("+f+".rgb, "+f+".a * "+v+" * "+m+")");if(t.filter){var O=En(p,t.filter,Cn.BOOLEAN);_.setFragmentDiscardExpression("!"+O)}var w={};if(p.variables.forEach(function(e){_.addUniform("float u_"+e),w["u_"+e]=function(){if(!t.variables||void 0===t.variables[e])throw new Error("The following variable is missing from the style: "+e);var n=t.variables[e];return"string"==typeof n&&(n=jn(l,n)),void 0!==n?n:-9999999}}),"image"===e.symbolType&&e.src){var z=new Image;z.src=e.src,_.addUniform("sampler2D u_texture").setColorExpression(_.getColorExpression()+" * texture2D(u_texture, v_texCoord)"),w.u_texture=z}return p.attributes.forEach(function(t){-1===l.attributes.indexOf(t)&&l.attributes.push(t),_.addVarying("v_"+t,"float","a_"+t)}),l.attributes.forEach(function(t){_.addAttribute("float a_"+t)}),{builder:_,attributes:l.attributes.map(function(t){return{name:t,callback:function(e,n){var r=n[t];return"string"==typeof r&&(r=jn(l,r)),void 0!==r?r:-9999999}}}),uniforms:w}}(e.style),n.hitDetectionDisabled_=!!e.disableHitDetection,n}return Gn(e,t),e.prototype.createRenderer=function(){return new X(this,{className:this.getClassName(),vertexShader:this.parseResult_.builder.getSymbolVertexShader(),fragmentShader:this.parseResult_.builder.getSymbolFragmentShader(),hitVertexShader:!this.hitDetectionDisabled_&&this.parseResult_.builder.getSymbolVertexShader(!0),hitFragmentShader:!this.hitDetectionDisabled_&&this.parseResult_.builder.getSymbolFragmentShader(!0),uniforms:this.parseResult_.uniforms,attributes:this.parseResult_.attributes})},e.prototype.disposeInternal=function(){this.getRenderer().disposeInternal(),t.prototype.disposeInternal.call(this)},e}(rt.a);n.d(e,!1,function(){}),n.d(e,!1,function(){return i.a}),n.d(e,!1,function(){return et}),n.d(e,!1,function(){return nt.a}),n.d(e,!1,function(){return rt.a}),n.d(e,!1,function(){return pn}),n.d(e,"a",function(){return Ke.a}),n.d(e,"b",function(){return a.a}),n.d(e,!1,function(){return zn}),n.d(e,!1,function(){return Jt}),n.d(e,!1,function(){return Un})},J23v:function(t,e,n){"use strict";e.b=function(t,e,n){var r=void 0!==n?t.toFixed(n):""+t,i=r.indexOf(".");return(i=-1===i?r.length:i)>e?r:new Array(1+e-i).join("0")+r},e.a=function(t,e){for(var n=(""+t).split("."),r=(""+e).split("."),i=0;io)return 1;if(o>a)return-1}return 0}},"JP+z":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r=200&&c.status<300){var i=e.getType(),a=void 0;i==r.a.JSON||i==r.a.TEXT?a=c.responseText:i==r.a.XML?(a=c.responseXML)||(a=(new DOMParser).parseFromString(c.responseText,"application/xml")):i==r.a.ARRAY_BUFFER&&(a=c.response),a?s(e.readFeatures(a,{extent:n,featureProjection:o}),e.readProjection(a)):l()}else l()},c.onerror=l,c.send()}},KCLY:function(t,e,n){"use strict";(function(e){var r=n("cGG2"),i=n("5VQ+"),a={"Content-Type":"application/x-www-form-urlencoded"};function o(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,l={adapter:("undefined"!=typeof XMLHttpRequest?s=n("7GwW"):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(s=n("7GwW")),s),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(o(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(o(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(t){l.headers[t]={}}),r.forEach(["post","put","patch"],function(t){l.headers[t]=r.merge(a)}),t.exports=l}).call(e,n("W2nU"))},L42u:function(t,e,n){var r,i,a,o=n("+ZMJ"),s=n("knuC"),l=n("RPLV"),c=n("ON07"),u=n("7KvD"),h=u.process,d=u.setImmediate,p=u.clearImmediate,f=u.MessageChannel,v=u.Dispatch,m=0,g={},y=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},b=function(t){y.call(t.data)};d&&p||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return g[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},p=function(t){delete g[t]},"process"==n("R9M2")(h)?r=function(t){h.nextTick(o(y,t,1))}:v&&v.now?r=function(t){v.now(o(y,t,1))}:f?(a=(i=new f).port2,i.port1.onmessage=b,r=o(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(t){u.postMessage(t+"","*")},u.addEventListener("message",b,!1)):r="onreadystatechange"in c("script")?function(t){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(o(y,t,1),0)}),t.exports={set:d,clear:p}},LKHy:function(t,e,n){"use strict";e.b=function(t){t.stopPropagation()};var r=function(){function t(t){this.propagationStopped,this.type=t,this.target=null}return t.prototype.preventDefault=function(){this.propagationStopped=!0},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t}();e.a=r},Lfyu:function(t,e,n){"use strict";var r=n("XOen"),i=n("Fu+J"),a=n("vv/+"),o=n("3Q3L"),s=n("58iR"),l=n("Wrfv"),c=n("yGLh"),u=n("V2dr"),h=n("IZoy"),d=n("OEyb"),p=n("tFCN"),f=n("o1z/");function v(t,e,n){return function(r,i,a,o,s){if(r){var l=e?0:a[0]*i,c=e?0:a[1]*i,u=s?s[0]:0,h=s?s[1]:0,d=t[0]+l/2+u,p=t[2]-l/2+u,v=t[1]+c/2+h,m=t[3]-c/2+h;d>p&&(p=d=(p+d)/2),v>m&&(m=v=(m+v)/2);var g=Object(f.a)(r[0],d,p),y=Object(f.a)(r[1],v,m),b=30*i;return o&&n&&(g+=-b*Math.log(1+Math.max(0,d-r[0])/b)+b*Math.log(1+Math.max(0,r[0]-p)/b),y+=-b*Math.log(1+Math.max(0,v-r[1])/b)+b*Math.log(1+Math.max(0,r[1]-m)/b)),[g,y]}}}function m(t){return t}var g=n("/LWt"),y=n("zF6X");function b(t,e,n,r){var i=Object(g.F)(e)/n[0],a=Object(g.B)(e)/n[1];return r?Math.min(t,Math.max(i,a)):Math.min(t,Math.min(i,a))}function _(t,e,n){var r=Math.min(t,e);return r*=Math.log(1+50*Math.max(0,t/e-1))/50+1,n&&(r=Math.max(r,n),r/=Math.log(1+50*Math.max(0,n/t-1))/50+1),Object(f.a)(r,n/2,2*e)}function O(t,e,n,r,i){return function(a,o,s,l){if(void 0!==a){var c=r?b(t,r,s,i):t;return(void 0===n||n)&&l?_(a,c,e):Object(f.a)(a,e,c)}}}var w,z=n("xek4"),x=n("2S6f"),C=n("ZYQ1"),M=this&&this.__extends||(w=function(t,e){return(w=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)},function(t,e){function n(){this.constructor=t}w(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),S=0,A=function(t){function e(e){var n=t.call(this)||this,r=Object(p.a)({},e);return n.hints_=[0,0],n.animations_=[],n.updateAnimationKey_,n.projection_=Object(c.b)(r.projection,"EPSG:3857"),n.viewportSize_=[100,100],n.targetCenter_=null,n.targetResolution_,n.targetRotation_,n.cancelAnchor_=void 0,r.center&&(r.center=Object(c.e)(r.center,n.projection_)),r.extent&&(r.extent=Object(c.f)(r.extent,n.projection_)),n.applyOptions_(r),n}return M(e,t),e.prototype.applyOptions_=function(t){var e=function(t){var e,n,r,i=void 0!==t.minZoom?t.minZoom:S,o=void 0!==t.maxZoom?t.maxZoom:28,s=void 0!==t.zoomFactor?t.zoomFactor:2,u=void 0!==t.multiWorld&&t.multiWorld,h=void 0===t.smoothResolutionConstraint||t.smoothResolutionConstraint,d=void 0!==t.showFullExtent&&t.showFullExtent,p=Object(c.b)(t.projection,"EPSG:3857"),v=p.getExtent(),m=t.constrainOnlyCenter,w=t.extent;u||w||!p.isGlobal()||(m=!1,w=v);if(void 0!==t.resolutions){var z=t.resolutions;n=z[i],r=void 0!==z[o]?z[o]:z[z.length-1],e=t.constrainResolution?function(t,e,n,r){return function(i,a,o,s){if(void 0!==i){var l=t[0],c=t[t.length-1],u=n?b(l,n,o,r):l;if(s)return void 0===e||e?_(i,u,c):Object(f.a)(i,c,u);var h=Math.min(u,i),d=Math.floor(Object(y.h)(t,h,a));return t[d]>u&&d1&&"function"==typeof arguments[n-1]&&(e=arguments[n-1],--n),!this.isDef()){var r=arguments[n-1];return r.center&&this.setCenterInternal(r.center),void 0!==r.zoom&&this.setZoom(r.zoom),void 0!==r.rotation&&this.setRotation(r.rotation),void(e&&T(e,!0))}for(var i=Date.now(),a=this.targetCenter_.slice(),s=this.targetResolution_,l=this.targetRotation_,c=[],u=0;u0},e.prototype.getInteracting=function(){return this.hints_[o.a.INTERACTING]>0},e.prototype.cancelAnimations=function(){var t;this.setHint(o.a.ANIMATING,-this.hints_[o.a.ANIMATING]);for(var e=0,n=this.animations_.length;e=0;--n){for(var r=this.animations_[n],i=!0,a=0,s=r.length;a0?c/l.duration:1;u>=1?(l.complete=!0,u=1):i=!1;var h=l.easing(u);if(l.sourceCenter){var d=l.sourceCenter[0],p=l.sourceCenter[1],v=d+h*(l.targetCenter[0]-d),m=p+h*(l.targetCenter[1]-p);this.targetCenter_=[v,m]}if(l.sourceResolution&&l.targetResolution){var g=1===h?l.targetResolution:l.sourceResolution+h*(l.targetResolution-l.sourceResolution);if(l.anchor){var y=this.getViewportSize_(this.getRotation()),b=this.constraints_.resolution(g,0,y,!0);this.targetCenter_=this.calculateCenterZoom(b,l.anchor)}this.targetResolution_=g,this.applyTargetState_(!0)}if(void 0!==l.sourceRotation&&void 0!==l.targetRotation){var _=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 O=this.constraints_.rotation(_,!0);this.targetCenter_=this.calculateCenterRotate(O,l.anchor)}this.targetRotation_=_}if(this.applyTargetState_(!0),e=!0,!l.complete)break}}if(i){this.animations_[n]=null,this.setHint(o.a.ANIMATING,-1);var w=r[0].callback;w&&T(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,r=this.getCenterInternal();return void 0!==r&&(n=[r[0]-e[0],r[1]-e[1]],Object(h.h)(n,t-this.getRotation()),Object(h.a)(n,e)),n},e.prototype.calculateCenterZoom=function(t,e){var n,r=this.getCenterInternal(),i=this.getResolution();void 0!==r&&void 0!==i&&(n=[e[0]-t*(e[0]-r[0])/i,e[1]-t*(e[1]-r[1])/i]);return n},e.prototype.getViewportSize_=function(t){var e=this.viewportSize_;if(t){var n=e[0],r=e[1];return[Math.abs(n*Math.cos(t))+Math.abs(r*Math.sin(t)),Math.abs(n*Math.sin(t))+Math.abs(r*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.m)(t,this.getProjection()):t},e.prototype.getCenterInternal=function(){return this.get(s.a.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.n)(e,this.getProjection())},e.prototype.calculateExtentInternal=function(t){var e=t||this.getViewportSize_(),n=this.getCenterInternal();Object(d.a)(n,1);var r=this.getResolution();Object(d.a)(void 0!==r,2);var i=this.getRotation();return Object(d.a)(void 0!==i,3),Object(g.A)(n,r,i,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.a.RESOLUTION)},e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getResolutionForExtent=function(t,e){return this.getResolutionForExtentInternal(Object(c.f)(t,this.getProjection()),e)},e.prototype.getResolutionForExtentInternal=function(t,e){var n=e||this.getViewportSize_(),r=Object(g.F)(t)/n[0],i=Object(g.B)(t)/n[1];return Math.max(r,i)},e.prototype.getResolutionForValueFunction=function(t){var e=t||2,n=this.getConstrainedResolution(this.maxResolution_),r=this.minResolution_,i=Math.log(n/r)/Math.log(e);return function(t){return n/Math.pow(e,t*i)}},e.prototype.getRotation=function(){return this.get(s.a.ROTATION)},e.prototype.getValueForResolutionFunction=function(t){var e=Math.log(t||2),n=this.getConstrainedResolution(this.maxResolution_),r=this.minResolution_,i=Math.log(n/r)/e;return function(t){return Math.log(n/t)/e/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(),r=this.getCenterInternal(),i=this.padding;if(i){var a=this.getViewportSizeMinusPadding_();r=E(r,this.getViewportSize_(),[a[0]/2+i[3],a[1]/2+i[0]],e,n)}return{center:r.slice(0),projection:void 0!==t?t:null,resolution:e,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,r=this.minZoom_||0;if(this.resolutions_){var i=Object(y.h)(this.resolutions_,t,1);r=i,e=this.resolutions_[i],n=i==this.resolutions_.length-1?2:e/this.resolutions_[i+1]}else e=this.maxResolution_,n=this.zoomFactor_;return r+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(g.I)(t),25);var r=Object(c.f)(t,this.getProjection());n=Object(C.d)(r)}else if(t.getType()===i.a.CIRCLE){r=Object(c.f)(t.getExtent(),this.getProjection());(n=Object(C.d)(r)).rotate(this.getRotation(),Object(g.y)(r))}else{var a=Object(c.k)();n=a?t.clone().transform(a,this.getProjection()):t}this.fitInternal(n,e)},e.prototype.fitInternal=function(t,e){var n=e||{},r=n.size;r||(r=this.getViewportSizeMinusPadding_());var i,a=void 0!==n.padding?n.padding:[0,0,0,0],o=void 0!==n.nearest&&n.nearest;i=void 0!==n.minResolution?n.minResolution:void 0!==n.maxZoom?this.getResolutionForZoom(n.maxZoom):0;for(var s=t.getFlatCoordinates(),l=this.getRotation(),c=Math.cos(-l),h=Math.sin(-l),d=1/0,p=1/0,f=-1/0,v=-1/0,m=t.getStride(),g=0,y=s.length;g0;){for(var d=u.pop(),p=u.pop(),f=0,v=t[p],m=t[p+1],g=t[d],y=t[d+1],b=p+i;bf&&(h=b,f=w)}f>a&&(c[(h-e)/i]=1,p+i0&&m>f)&&(v<0&&g0&&g>v)?(l=d,c=p):(a[s++]=l,a[s++]=c,u=l,h=c,l=d,c=p)}}return a[s++]=l,a[s++]=c,s}function l(t,e,n,r,i,a,o,l){for(var c=0,u=n.length;cthis.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_},e.prototype.disposeInternal=function(){this.relayedListenerKey_&&(Object(u.c)(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(a.a.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(Object(u.c)(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(u.c),this.dragListenerKeys_.length=0,this.element_=null,t.prototype.disposeInternal.call(this)},e}(i.a);e.a=d},M6a0:function(t,e){},MB6k:function(t,e,n){"use strict";e.a=function(t,e,n,a,o,s,l){var c,u,h=(n-e)/a;if(1===h)c=e;else if(2===h)c=e,u=o;else if(0!==h){for(var d=t[e],p=t[e+1],f=0,v=[0],m=e+a;m1?l:2,w=s||new Array(O),m=0;m>1;a0});return a},e.c=function(t,e,n,l,d,p,f,v,m,g,y,b){var _=Object(s.a)(Math.round(n*t),Math.round(n*e));if(Object(a.a)(_,b),0===m.length)return _.canvas;function O(t){return Math.round(t*n)/n}_.scale(n,n),_.globalCompositeOperation="lighter";var w=Object(o.k)();m.forEach(function(t,e,n){Object(o.r)(w,t.extent)});var z=Object(o.F)(w),x=Object(o.B)(w),C=Object(s.a)(Math.round(n*z/l),Math.round(n*x/l));Object(a.a)(C,b);var M=n/l;m.forEach(function(t,e,n){var r=t.extent[0]-w[0],i=-(t.extent[3]-w[3]),a=Object(o.F)(t.extent),s=Object(o.B)(t.extent);t.image.width>0&&t.image.height>0&&C.drawImage(t.image,g,g,t.image.width-2*g,t.image.height-2*g,r*M,i*M,a*M,s*M)});var S=Object(o.D)(f);v.getTriangles().forEach(function(t,e,a){var o=t.source,s=t.target,d=o[0][0],f=o[0][1],v=o[1][0],m=o[1][1],g=o[2][0],y=o[2][1],z=O((s[0][0]-S[0])/p),x=O(-(s[0][1]-S[1])/p),M=O((s[1][0]-S[0])/p),A=O(-(s[1][1]-S[1])/p),T=O((s[2][0]-S[0])/p),j=O(-(s[2][1]-S[1])/p),E=d,I=f;d=0,f=0;var L=[[v-=E,m-=I,0,0,M-z],[g-=E,y-=I,0,0,T-z],[0,0,v,m,A-x],[0,0,g,y,j-x]],P=Object(c.f)(L);if(P){if(_.save(),_.beginPath(),function(){if(void 0===r){var t=document.createElement("canvas").getContext("2d");t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",u(t,4,5,4,0),u(t,4,5,0,5);var e=t.getImageData(0,0,3,3).data;r=h(e,0)||h(e,4)||h(e,8)}return r}()||b===i.b){_.moveTo(M,A);for(var k=z-M,F=x-A,V=0;V<4;V++)_.lineTo(M+O((V+1)*k/4),A+O(V*F/3)),3!=V&&_.lineTo(M+O((V+1)*k/4),A+O((V+1)*F/3));_.lineTo(T,j)}else _.moveTo(M,A),_.lineTo(z,x),_.lineTo(T,j);_.clip(),_.transform(P[0],P[2],P[1],P[3],z,x),_.translate(w[0]-E,w[3]-I),_.scale(l/n,-l/n),_.drawImage(C.canvas,0,0),_.restore()}}),y&&(_.save(),_.globalCompositeOperation="source-over",_.strokeStyle="black",_.lineWidth=1,v.getTriangles().forEach(function(t,e,n){var r=t.target,i=(r[0][0]-S[0])/p,a=-(r[0][1]-S[1])/p,o=(r[1][0]-S[0])/p,s=-(r[1][1]-S[1])/p,l=(r[2][0]-S[0])/p,c=-(r[2][1]-S[1])/p;_.beginPath(),_.moveTo(o,s),_.lineTo(i,a),_.lineTo(l,c),_.closePath(),_.stroke()}),_.restore());return _.canvas};var r,i=n("raXX"),a=n("tFCN"),o=n("/LWt"),s=n("w2Al"),l=n("yGLh"),c=n("o1z/");function u(t,e,n,r,i){t.beginPath(),t.moveTo(0,0),t.lineTo(e,n),t.lineTo(r,i),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,r)+1,Math.max(n,i)),t.restore()}function h(t,e){return Math.abs(t[4*e]-210)>2||Math.abs(t[4*e+3]-191.25)>2}function d(t,e,n,r){var i=Object(l.o)(n,e,t),a=Object(l.h)(e,r,n),s=e.getMetersPerUnit();void 0!==s&&(a*=s);var c=t.getMetersPerUnit();void 0!==c&&(a/=c);var u=t.getExtent();if(!u||Object(o.g)(u,i)){var h=Object(l.h)(t,a,i)/a;isFinite(h)&&h>0&&(a/=h)}return a}},NBiL:function(t,e,n){"use strict";e.a={ARRAY_BUFFER:"arraybuffer",JSON:"json",TEXT:"text",XML:"xml"}},NNCy:function(t,e,n){"use strict";e.a={ADDFEATURE:"addfeature",CHANGEFEATURE:"changefeature",CLEAR:"clear",REMOVEFEATURE:"removefeature",FEATURESLOADSTART:"featuresloadstart",FEATURESLOADEND:"featuresloadend",FEATURESLOADERROR:"featuresloaderror"}},"NWt+":function(t,e,n){var r=n("+ZMJ"),i=n("msXi"),a=n("Mhyx"),o=n("77Pl"),s=n("QRG4"),l=n("3fs2"),c={},u={};(e=t.exports=function(t,e,n,h,d){var p,f,v,m,g=d?function(){return t}:l(t),y=r(n,h,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(a(g)){for(p=s(t.length);p>b;b++)if((m=e?y(o(f=t[b])[0],f[1]):y(t[b]))===c||m===u)return m}else for(v=g.call(t);!(f=v.next()).done;)if((m=i(v,y,f.value,e))===c||m===u)return m}).BREAK=c,e.RETURN=u},NYxO:function(t,e,n){"use strict";(function(t){var n=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n,i=(n=function(e){return e.original===t},e.filter(n)[0]);if(i)return i.copy;var a=Array.isArray(t)?[]:{};return e.push({original:t,copy:a}),Object.keys(t).forEach(function(n){a[n]=r(t[n],e)}),a}function i(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function a(t){return null!==t&&"object"==typeof t}var o=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},o.prototype.addChild=function(t,e){this._children[t]=e},o.prototype.removeChild=function(t){delete this._children[t]},o.prototype.getChild=function(t){return this._children[t]},o.prototype.hasChild=function(t){return t in this._children},o.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},o.prototype.forEachChild=function(t){i(this._children,t)},o.prototype.forEachGetter=function(t){this._rawModule.getters&&i(this._rawModule.getters,t)},o.prototype.forEachAction=function(t){this._rawModule.actions&&i(this._rawModule.actions,t)},o.prototype.forEachMutation=function(t){this._rawModule.mutations&&i(this._rawModule.mutations,t)},Object.defineProperties(o.prototype,s);var l=function(t){this.register([],t,!1)};l.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},l.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")},"")},l.prototype.update=function(t){!function t(e,n,r){0;n.update(r);if(r.modules)for(var i in r.modules){if(!n.getChild(i))return void 0;t(e.concat(i),n.getChild(i),r.modules[i])}}([],this.root,t)},l.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var a=new o(e,n);0===t.length?this.root=a:this.get(t.slice(0,-1)).addChild(t[t.length-1],a);e.modules&&i(e.modules,function(e,i){r.register(t.concat(i),e,n)})},l.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},l.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var c;var u=function(t){var e=this;void 0===t&&(t={}),!c&&"undefined"!=typeof window&&window.Vue&&y(window.Vue);var r=t.plugins;void 0===r&&(r=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new l(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c,this._makeLocalGettersCache=Object.create(null);var a=this,o=this.dispatch,s=this.commit;this.dispatch=function(t,e){return o.call(a,t,e)},this.commit=function(t,e,n){return s.call(a,t,e,n)},this.strict=i;var u=this._modules.root.state;v(this,u,[],this._modules.root),f(this,u),r.forEach(function(t){return t(e)}),(void 0!==t.devtools?t.devtools:c.config.devtools)&&function(t){n&&(t._devtoolHook=n,n.emit("vuex:init",t),n.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){n.emit("vuex:mutation",t,e)},{prepend:!0}),t.subscribeAction(function(t,e){n.emit("vuex:action",t,e)},{prepend:!0}))}(this)},h={state:{configurable:!0}};function d(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function p(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;v(t,n,[],t._modules.root,!0),f(t,n,e)}function f(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var a={};i(t._wrappedGetters,function(e,n){a[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var o=c.config.silent;c.config.silent=!0,t._vm=new c({data:{$$state:e},computed:a}),c.config.silent=o,t.strict&&function(t){t._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(t),r&&(n&&t._withCommit(function(){r._data.$$state=null}),c.nextTick(function(){return r.$destroy()}))}function v(t,e,n,r,i){var a=!n.length,o=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=r),!a&&!i){var s=m(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){c.set(s,l,r.state)})}var u=r.context=function(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var a=g(n,r,i),o=a.payload,s=a.options,l=a.type;return s&&s.root||(l=e+l),t.dispatch(l,o)},commit:r?t.commit:function(n,r,i){var a=g(n,r,i),o=a.payload,s=a.options,l=a.type;s&&s.root||(l=e+l),t.commit(l,o,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach(function(i){if(i.slice(0,r)===e){var a=i.slice(r);Object.defineProperty(n,a,{get:function(){return t.getters[i]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return m(t.state,n)}}}),i}(t,o,n);r.forEachMutation(function(e,n){!function(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,r.state,e)})}(t,o+n,e,u)}),r.forEachAction(function(e,n){var r=e.root?n:o+n,i=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push(function(e){var i,a=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return(i=a)&&"function"==typeof i.then||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):a})}(t,r,i,u)}),r.forEachGetter(function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,o+n,e,u)}),r.forEachChild(function(r,a){v(t,e,n.concat(a),r,i)})}function m(t,e){return e.reduce(function(t,e){return t[e]},t)}function g(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function y(t){c&&t===c|| /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(c=t)}h.state.get=function(){return this._vm._data.$$state},h.state.set=function(t){0},u.prototype.commit=function(t,e,n){var r=this,i=g(t,e,n),a=i.type,o=i.payload,s=(i.options,{type:a,payload:o}),l=this._mutations[a];l&&(this._withCommit(function(){l.forEach(function(t){t(o)})}),this._subscribers.slice().forEach(function(t){return t(s,r.state)}))},u.prototype.dispatch=function(t,e){var n=this,r=g(t,e),i=r.type,a=r.payload,o={type:i,payload:a},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter(function(t){return t.before}).forEach(function(t){return t.before(o,n.state)})}catch(t){0}var l=s.length>1?Promise.all(s.map(function(t){return t(a)})):s[0](a);return new Promise(function(t,e){l.then(function(e){try{n._actionSubscribers.filter(function(t){return t.after}).forEach(function(t){return t.after(o,n.state)})}catch(t){0}t(e)},function(t){try{n._actionSubscribers.filter(function(t){return t.error}).forEach(function(e){return e.error(o,n.state,t)})}catch(t){0}e(t)})})}},u.prototype.subscribe=function(t,e){return d(t,this._subscribers,e)},u.prototype.subscribeAction=function(t,e){return d("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},u.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},u.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},u.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),v(this,this.state,t,this._modules.get(t),n.preserveState),f(this,this.state)},u.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=m(e.state,t.slice(0,-1));c.delete(n,t[t.length-1])}),p(this)},u.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},u.prototype.hotUpdate=function(t){this._modules.update(t),p(this,!0)},u.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(u.prototype,h);var b=x(function(t,e){var n={};return z(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=C(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0}),n}),_=x(function(t,e){var n={};return z(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var a=C(this.$store,"mapMutations",t);if(!a)return;r=a.context.commit}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}}),n}),O=x(function(t,e){var n={};return z(e).forEach(function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||C(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0}),n}),w=x(function(t,e){var n={};return z(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var a=C(this.$store,"mapActions",t);if(!a)return;r=a.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}}),n});function z(t){return function(t){return Array.isArray(t)||a(t)}(t)?Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function x(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function C(t,e,n){return t._modulesNamespaceMap[n]}function M(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(n){t.log(e)}}function S(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function A(){var t=new Date;return" @ "+T(t.getHours(),2)+":"+T(t.getMinutes(),2)+":"+T(t.getSeconds(),2)+"."+T(t.getMilliseconds(),3)}function T(t,e){return n="0",r=e-t.toString().length,new Array(r+1).join(n)+t;var n,r}var j={Store:u,install:y,version:"3.6.2",mapState:b,mapMutations:_,mapGetters:O,mapActions:w,createNamespacedHelpers:function(t){return{mapState:b.bind(null,t),mapGetters:O.bind(null,t),mapMutations:_.bind(null,t),mapActions:w.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var a=t.mutationTransformer;void 0===a&&(a=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var l=t.logMutations;void 0===l&&(l=!0);var c=t.logActions;void 0===c&&(c=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var h=r(t.state);void 0!==u&&(l&&t.subscribe(function(t,o){var s=r(o);if(n(t,h,s)){var l=A(),c=a(t),d="mutation "+t.type+l;M(u,d,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(h)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",i(s)),S(u)}h=s}),c&&t.subscribeAction(function(t,n){if(o(t,n)){var r=A(),i=s(t),a="action "+t.type+r;M(u,a,e),u.log("%c action","color: #03A9F4; font-weight: bold",i),S(u)}}))}}};e.a=j}).call(e,n("DuR2"))},Nhaw:function(t,e,n){"use strict";e.a={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend"}},O4g8:function(t,e){t.exports=!0},OEyb:function(t,e,n){"use strict";e.a=function(t,e){if(!t)throw new r.a(e)};var r=n("AU1m")},ON07:function(t,e,n){var r=n("EqjI"),i=n("7KvD").document,a=r(i)&&r(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},Oeue:function(t,e,n){"use strict";n.d(e,"d",function(){return u}),n.d(e,"c",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,"h",function(){return v}),n.d(e,"j",function(){return m}),n.d(e,"l",function(){return g}),n.d(e,"m",function(){return y}),n.d(e,"n",function(){return b}),n.d(e,"k",function(){return _}),n.d(e,"i",function(){return O}),n.d(e,"a",function(){return w}),n.d(e,"p",function(){return z}),n.d(e,"t",function(){return A}),n.d(e,"r",function(){return T}),e.q=function(t,e,n){if(e in n)return n[e];var r=E(t,e);return n[e]=r,r},e.s=function(t,e,n){for(var r=e.length,i=0,a=0;a0?i(r(t),9007199254740991):0}},Qa85:function(t,e,n){"use strict";n.d(e,"a",function(){return m});var r,i=n("LKHy"),a=n("A7Qc"),o=n("s52z"),s=n("DL7K"),l=n("3ciB"),c=n("OEyb"),u=n("yGLh"),h=n("fGqn"),d=n("7yEG"),p=n("xifc"),f=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),v=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,projection:e.projection,state:e.state,wrapX:e.wrapX})||this;n.opaque_=void 0!==e.opaque&&e.opaque,n.tilePixelRatio_=void 0!==e.tilePixelRatio?e.tilePixelRatio:1,n.tileGrid=void 0!==e.tileGrid?e.tileGrid:null;var r=e.tileGrid;return r&&Object(p.d)(r.getTileSize(r.getMinZoom()),[256,256]),n.tileCache=new o.a(e.cacheSize||0),n.tmpSize=[0,0],n.key_=e.key||"",n.tileOptions={transition:e.transition},n.zDirection=e.zDirection?e.zDirection:0,n}return f(e,t),e.prototype.canExpireCache=function(){return this.tileCache.canExpireCache()},e.prototype.expireCache=function(t,e){var n=this.getTileCacheForProjection(t);n&&n.expireCache(e)},e.prototype.forEachLoadedTile=function(t,e,n,r){var i=this.getTileCacheForProjection(t);if(!i)return!1;for(var a,o,l,c=!0,u=n.minX;u<=n.maxX;++u)for(var d=n.minY;d<=n.maxY;++d)o=Object(h.d)(e,u,d),l=!1,i.containsKey(o)&&(l=(a=i.get(o)).getState()===s.a.LOADED)&&(l=!1!==r(a)),l||(c=!1);return c},e.prototype.getGutterForProjection=function(t){return 0},e.prototype.getKey=function(){return this.key_},e.prototype.setKey=function(t){this.key_!==t&&(this.key_=t,this.changed())},e.prototype.getOpaque=function(t){return this.opaque_},e.prototype.getResolutions=function(){return this.tileGrid.getResolutions()},e.prototype.getTile=function(t,e,n,r,i){return Object(l.b)()},e.prototype.getTileGrid=function(){return this.tileGrid},e.prototype.getTileGridForProjection=function(t){return this.tileGrid?this.tileGrid:Object(d.d)(t)},e.prototype.getTileCacheForProjection=function(t){return Object(c.a)(Object(u.c)(this.getProjection(),t),68),this.tileCache},e.prototype.getTilePixelRatio=function(t){return this.tilePixelRatio_},e.prototype.getTilePixelSize=function(t,e,n){var r=this.getTileGridForProjection(n),i=this.getTilePixelRatio(e),a=Object(p.d)(r.getTileSize(t),this.tmpSize);return 1==i?a:Object(p.c)(a,i,this.tmpSize)},e.prototype.getTileCoordForTileUrlFunction=function(t,e){var n=void 0!==e?e:this.getProjection(),r=this.getTileGridForProjection(n);return this.getWrapX()&&n.isGlobal()&&(t=Object(d.e)(r,t,n)),Object(h.f)(t,r)?t:null},e.prototype.clear=function(){this.tileCache.clear()},e.prototype.refresh=function(){this.clear(),t.prototype.refresh.call(this)},e.prototype.updateCacheSize=function(t,e){var n=this.getTileCacheForProjection(e);t>n.highWaterMark&&(n.highWaterMark=t)},e.prototype.useTile=function(t,e,n,r){},e}(a.a),m=function(t){function e(e,n){var r=t.call(this,e)||this;return r.tile=n,r}return f(e,t),e}(i.a);e.b=v},R9M2:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},RPLV:function(t,e,n){var r=n("7KvD").document;t.exports=r&&r.documentElement},RUSk:function(t,e,n){"use strict";e.c=function(t,e,n,r,i,a){for(var o=a||[],s=0,l=e;lthis.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]-O>this.sourceWorldWidth_/2&&(e[0][0]-=this.sourceWorldWidth_),e[1][0]-O>this.sourceWorldWidth_/2&&(e[1][0]-=this.sourceWorldWidth_),e[2][0]-O>this.sourceWorldWidth_/2&&(e[2][0]-=this.sourceWorldWidth_);var n=Math.min(e[0][0],e[1][0],e[2][0]);Math.max(e[0][0],e[1][0],e[2][0])-n.5&&d<1,v=!1;if(u>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){var m=Object(r.c)([t,e,n,i]);v=Object(r.F)(m)/this.targetWorldWidth_>.25||v}!f&&this.sourceProj_.isGlobal()&&d&&(v=d>.25||v)}if(!(!v&&this.maxSourceExtent_&&isFinite(h[0])&&isFinite(h[1])&&isFinite(h[2])&&isFinite(h[3]))||Object(r.G)(h,this.maxSourceExtent_)){var g=0;if(!(v||isFinite(o[0])&&isFinite(o[1])&&isFinite(s[0])&&isFinite(s[1])&&isFinite(l[0])&&isFinite(l[1])&&isFinite(c[0])&&isFinite(c[1])))if(u>0)v=!0;else if(1!=(g=(isFinite(o[0])&&isFinite(o[1])?0:8)+(isFinite(s[0])&&isFinite(s[1])?0:4)+(isFinite(l[0])&&isFinite(l[1])?0:2)+(isFinite(c[0])&&isFinite(c[1])?0:1))&&2!=g&&4!=g&&8!=g)return;if(u>0){if(!v){var y=[(t[0]+n[0])/2,(t[1]+n[1])/2],b=this.transformInv_(y),_=void 0;if(f)_=(Object(a.e)(o[0],p)+Object(a.e)(l[0],p))/2-Object(a.e)(b[0],p);else _=(o[0]+l[0])/2-b[0];var O=(o[1]+l[1])/2-b[1];v=_*_+O*O>this.errorThresholdSquared_}if(v){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],z=this.transformInv_(w),x=[(i[0]+t[0])/2,(i[1]+t[1])/2],C=this.transformInv_(x);this.addQuad_(t,e,w,x,o,s,z,C,u-1),this.addQuad_(x,w,n,i,C,z,l,c,u-1)}else{var M=[(t[0]+e[0])/2,(t[1]+e[1])/2],S=this.transformInv_(M),A=[(n[0]+i[0])/2,(n[1]+i[1])/2],T=this.transformInv_(A);this.addQuad_(t,M,A,i,o,S,T,c,u-1),this.addQuad_(M,e,n,A,S,s,l,T,u-1)}return}}if(f){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}0==(11&g)&&this.addTriangle_(t,n,i,o,l,c),0==(14&g)&&this.addTriangle_(t,n,e,o,l,s),g&&(0==(13&g)&&this.addTriangle_(e,i,t,s,c,o),0==(7&g)&&this.addTriangle_(e,i,n,s,c,l))}},t.prototype.calculateSourceExtent=function(){var t=Object(r.k)();return this.triangles_.forEach(function(e,n,i){var a=e.source;Object(r.s)(t,a[0]),Object(r.s)(t,a[1]),Object(r.s)(t,a[2])}),t},t.prototype.getTriangles=function(){return this.triangles_},t}();e.a=s},"S/bM":function(t,e,n){"use strict";var r,i=n("dzQb"),a=n("DL7K"),o=n("w2Al"),s=n("ue7j"),l=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n,r,i,a,o){var s=t.call(this,e,n,o)||this;return s.crossOrigin_=i,s.src_=r,s.key=r,s.image_=new Image,null!==i&&(s.image_.crossOrigin=i),s.unlisten_=null,s.tileLoadFunction_=a,s}return l(e,t),e.prototype.getImage=function(){return this.image_},e.prototype.handleImageError_=function(){var t;this.state=a.a.ERROR,this.unlistenImage_(),this.image_=((t=Object(o.a)(1,1)).fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas),this.changed()},e.prototype.handleImageLoad_=function(){var t=this.image_;t.naturalWidth&&t.naturalHeight?this.state=a.a.LOADED:this.state=a.a.EMPTY,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state==a.a.ERROR&&(this.state=a.a.IDLE,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==a.a.IDLE&&(this.state=a.a.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=Object(s.b)(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e}(i.a);e.a=c},S82l:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},SLDG:function(t,e,n){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},SfB7:function(t,e,n){t.exports=!n("+E39")&&!n("S82l")(function(){return 7!=Object.defineProperty(n("ON07")("div"),"a",{get:function(){return 7}}).a})},SfaQ:function(t,e,n){"use strict";var r,i=n("XOen"),a=n("vv/+"),o=n("3ciB"),s=n("azsZ"),l=n("/LWt"),c=n("yGLh"),u=n("V2dr"),h=n("RUSk"),d=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),p=Object(s.c)(),f=function(t){function e(){var e=t.call(this)||this;return e.extent_=Object(l.k)(),e.extentRevision_=-1,e.simplifiedGeometryMaxMinSquaredTolerance=0,e.simplifiedGeometryRevision=0,e.simplifyTransformedInternal=Object(u.d)(function(t,e,n){if(!n)return this.getSimplifiedGeometry(e);var r=this.clone();return r.applyTransform(n),r.getSimplifiedGeometry(e)}),e}return d(e,t),e.prototype.simplifyTransformed=function(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)},e.prototype.clone=function(){return Object(o.b)()},e.prototype.closestPointXY=function(t,e,n,r){return Object(o.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(o.b)()},e.prototype.getExtent=function(t){if(this.extentRevision_!=this.getRevision()){var e=this.computeExtent(this.extent_);(isNaN(e[0])||isNaN(e[1]))&&Object(l.m)(e),this.extentRevision_=this.getRevision()}return Object(l.J)(this.extent_,t)},e.prototype.rotate=function(t,e){Object(o.b)()},e.prototype.scale=function(t,e,n){Object(o.b)()},e.prototype.simplify=function(t){return this.getSimplifiedGeometry(t*t)},e.prototype.getSimplifiedGeometry=function(t){return Object(o.b)()},e.prototype.getType=function(){return Object(o.b)()},e.prototype.applyTransform=function(t){Object(o.b)()},e.prototype.intersectsExtent=function(t){return Object(o.b)()},e.prototype.translate=function(t,e){Object(o.b)()},e.prototype.transform=function(t,e){var n=Object(c.g)(t),r=n.getUnits()==a.b.TILE_PIXELS?function(t,r,i){var a=n.getExtent(),o=n.getWorldExtent(),u=Object(l.B)(o)/Object(l.B)(a);return Object(s.b)(p,o[0],o[3],u,-u,0,0,0),Object(h.c)(t,0,t.length,i,p,r),Object(c.i)(n,e)(t,r,i)}:Object(c.i)(n,e);return this.applyTransform(r),this},e}(i.a);e.a=f},SldL:function(t,e){!function(e){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag",c="object"==typeof t,u=e.regeneratorRuntime;if(u)c&&(t.exports=u);else{(u=e.regeneratorRuntime=c?t.exports:{}).wrap=_;var h="suspendedStart",d="suspendedYield",p="executing",f="completed",v={},m={};m[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(E([])));y&&y!==r&&i.call(y,o)&&(m=y);var b=x.prototype=w.prototype=Object.create(m);z.prototype=b.constructor=x,x.constructor=z,x[l]=z.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===z||"GeneratorFunction"===(e.displayName||e.name))},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,l in t||(t[l]="GeneratorFunction")),t.prototype=Object.create(b),t},u.awrap=function(t){return{__await:t}},C(M.prototype),M.prototype[s]=function(){return this},u.AsyncIterator=M,u.async=function(t,e,n,r){var i=new M(_(t,e,n,r));return u.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},C(b),b[l]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},u.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},u.values=E,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return s.type="throw",s.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),v}}}function _(t,e,n,r){var i=e&&e.prototype instanceof w?e:w,a=Object.create(i.prototype),o=new j(r||[]);return a._invoke=function(t,e,n){var r=h;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===f){if("throw"===i)throw a;return I()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=S(o,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=O(t,e,n);if("normal"===l.type){if(r=n.done?f:d,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=f,n.method="throw",n.arg=l.arg)}}}(t,n,o),a}function O(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function w(){}function z(){}function x(){}function C(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function M(t){var e;this._invoke=function(n,r){function a(){return new Promise(function(e,a){!function e(n,r,a,o){var s=O(t[n],t,r);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then(function(t){e("next",t,a,o)},function(t){e("throw",t,a,o)}):Promise.resolve(c).then(function(t){l.value=t,a(l)},o)}o(s.arg)}(n,r,e,a)})}return e=e?e.then(a,a):a()}}function S(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,S(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=O(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,v;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,v):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function e(){for(;++r0}}else if(t.type==h.a.POINTERDOWN){var r=this.handleDownEvent(t);this.handlingDownUpSequence=r,e=this.stopDown(r)}else t.type==h.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(function(t){var e=t.type;return e===h.a.POINTERDOWN||e===h.a.POINTERDRAG||e===h.a.POINTERUP}(t)){var e=t.originalEvent,n=e.pointerId.toString();t.type==h.a.POINTERUP?delete this.trackedPointers_[n]:t.type==h.a.POINTERDOWN?this.trackedPointers_[n]=e:n in this.trackedPointers_&&(this.trackedPointers_[n]=e),this.targetPointers=Object(f.c)(this.trackedPointers_)}},e}(u),y=n("V2dr"),b=n("4acs"),_=n("OEyb");function O(t){var e=arguments;return function(t){for(var n=!0,r=0,i=e.length;r0&&this.condition_(t)){var e=t.map.getView();return this.lastCentroid=null,e.getAnimating()&&e.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1},e}(g),V=n("xek4"),B=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),R=function(t){function e(e){var n=this,r=e||{};return(n=t.call(this,{stopDown:y.a})||this).condition_=r.condition?r.condition:z,n.lastAngle_=void 0,n.duration_=void 0!==r.duration?r.duration:250,n}return B(e,t),e.prototype.handleDragEvent=function(t){if(I(t)){var e=t.map,n=e.getView();if(n.getConstraints().rotation!==V.c){var r=e.getSize(),i=t.pixel,a=Math.atan2(r[1]/2-i[1],i[0]-r[0]/2);if(void 0!==this.lastAngle_){var o=a-this.lastAngle_;n.adjustRotationInternal(-o)}this.lastAngle_=a}}},e.prototype.handleUpEvent=function(t){return!I(t)||(t.map.getView().endInteraction(this.duration_),!1)},e.prototype.handleDownEvent=function(t){return!!I(t)&&(!(!M(t)||!this.condition_(t))&&(t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0))},e}(g),H=n("LKHy"),D=n("IU0A"),N=n("ZYQ1"),$=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),G=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 $(e,t),e.prototype.disposeInternal=function(){this.setMap(null)},e.prototype.render_=function(){var t=this.startPixel_,e=this.endPixel_,n=this.element_.style;n.left=Math.min(t[0],e[0])+"px",n.top=Math.min(t[1],e[1])+"px",n.width=Math.abs(e[0]-t[0])+"px",n.height=Math.abs(e[1]-t[1])+"px"},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]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);n[4]=n[0].slice(),this.geometry_?this.geometry_.setCoordinates([n]):this.geometry_=new N.b([n])},e.prototype.getGeometry=function(){return this.geometry_},e}(D.a),U=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),W="boxstart",q="boxdrag",X="boxend",Y="boxcancel",K=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.coordinate=n,i.mapBrowserEvent=r,i}return U(e,t),e}(H.a),Z=function(t){function e(e){var n=t.call(this)||this,r=e||{};return n.box_=new G(r.className||"ol-dragbox"),n.minArea_=void 0!==r.minArea?r.minArea:64,r.onBoxEnd&&(n.onBoxEnd=r.onBoxEnd),n.startPixel_=null,n.condition_=r.condition?r.condition:M,n.boxEndCondition_=r.boxEndCondition?r.boxEndCondition:n.defaultBoxEndCondition,n}return U(e,t),e.prototype.defaultBoxEndCondition=function(t,e,n){var r=n[0]-e[0],i=n[1]-e[1];return r*r+i*i>=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 K(q,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 K(e?X:Y,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 K(W,t.coordinate,t)),!0)},e.prototype.onBoxEnd=function(t){},e}(g),J=n("/LWt"),Q=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),tt=function(t){function e(e){var n=this,r=e||{},i=r.condition?r.condition:j;return(n=t.call(this,{condition:i,className:r.className||"ol-dragzoom",minArea:r.minArea})||this).duration_=void 0!==r.duration?r.duration:200,n.out_=void 0!==r.out&&r.out,n}return Q(e,t),e.prototype.onBoxEnd=function(t){var e=this.getMap(),n=e.getView(),r=e.getSize(),i=this.getGeometry().getExtent();if(this.out_){var a=n.calculateExtentInternal(r),o=Object(J.o)([e.getPixelFromCoordinateInternal(Object(J.w)(i)),e.getPixelFromCoordinateInternal(Object(J.E)(i))]),l=n.getResolutionForExtentInternal(o,r);Object(J.K)(a,1/l),i=a}var c=n.getConstrainedResolution(n.getResolutionForExtentInternal(i,r)),u=n.getConstrainedCenter(Object(J.y)(i),c);n.animateInternal({resolution:c,center:u,duration:this.duration_,easing:s.b})},e}(Z),et=n("57Gy"),nt=37,rt=38,it=39,at=40,ot=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),st=function(t){function e(e){var n=t.call(this)||this,r=e||{};return n.defaultCondition_=function(t){return T(t)&&E(t)},n.condition_=void 0!==r.condition?r.condition:n.defaultCondition_,n.duration_=void 0!==r.duration?r.duration:100,n.pixelDelta_=void 0!==r.pixelDelta?r.pixelDelta:128,n}return ot(e,t),e.prototype.handleEvent=function(t){var e=!1;if(t.type==et.a.KEYDOWN){var n=t.originalEvent,r=n.keyCode;if(this.condition_(t)&&(r==at||r==nt||r==it||r==rt)){var i=t.map.getView(),a=i.getResolution()*this.pixelDelta_,o=0,l=0;r==at?l=-a:r==nt?o=-a:r==it?o=a:l=a;var c=[o,l];Object(P.h)(c,i.getRotation()),function(t,e,n){var r=t.getCenterInternal();if(r){var i=[r[0]+e[0],r[1]+e[1]];t.animateInternal({duration:void 0!==n?n:250,easing:s.d,center:t.getConstrainedCenter(i)})}}(i,c,this.duration_),n.preventDefault(),e=!0}}return!e},e}(u),lt=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ct=function(t){function e(e){var n=t.call(this)||this,r=e||{};return n.condition_=r.condition?r.condition:E,n.delta_=r.delta?r.delta:1,n.duration_=void 0!==r.duration?r.duration:100,n}return lt(e,t),e.prototype.handleEvent=function(t){var e=!1;if(t.type==et.a.KEYDOWN||t.type==et.a.KEYPRESS){var n=t.originalEvent,r=n.charCode;if(this.condition_(t)&&(r=="+".charCodeAt(0)||r=="-".charCodeAt(0))){var i=t.map,a=r=="+".charCodeAt(0)?this.delta_:-this.delta_;c(i.getView(),a,void 0,this.duration_),n.preventDefault(),e=!0}}return!e},e}(u),ut=n("vqHt"),ht=n("o1z/"),dt=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),pt="trackpad",ft="wheel",vt=function(t){function e(e){var n=this,r=e||{};(n=t.call(this,r)||this).totalDelta_=0,n.lastDelta_=0,n.maxDelta_=void 0!==r.maxDelta?r.maxDelta:1,n.duration_=void 0!==r.duration?r.duration:250,n.timeout_=void 0!==r.timeout?r.timeout:80,n.useAnchor_=void 0===r.useAnchor||r.useAnchor,n.constrainResolution_=void 0!==r.constrainResolution&&r.constrainResolution;var i=r.condition?r.condition:C;return n.condition_=r.onFocusOnly?O(x,i):i,n.lastAnchor_=null,n.startTime_=void 0,n.timeoutId_,n.mode_=void 0,n.trackpadEventGap_=400,n.trackpadTimeoutId_,n.deltaPerZoom_=300,n}return dt(e,t),e.prototype.endInteraction_=function(){this.trackpadTimeoutId_=void 0,this.getMap().getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)},e.prototype.handleEvent=function(t){if(!this.condition_(t))return!0;if(t.type!==et.a.WHEEL)return!0;var e,n=t.map,r=t.originalEvent;if(r.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.coordinate),t.type==et.a.WHEEL&&(e=r.deltaY,b.b&&r.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(e/=b.a),r.deltaMode===WheelEvent.DOM_DELTA_LINE&&(e*=40)),0===e)return!1;this.lastDelta_=e;var i=Date.now();void 0===this.startTime_&&(this.startTime_=i),(!this.mode_||i-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(e)<4?pt:ft);var a=n.getView();if(this.mode_===pt&&!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(-e/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=i,!1;this.totalDelta_+=e;var o=Math.max(this.timeout_-(i-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,n),o),!1},e.prototype.handleWheelZoom_=function(t){var e=t.getView();e.getAnimating()&&e.cancelAnimations();var n=-Object(ht.a)(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(n=n?n>0?1:-1:0),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}(u),mt=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),gt=function(t){function e(e){var n=this,r=e||{},i=r;return i.stopDown||(i.stopDown=y.a),(n=t.call(this,i)||this).anchor_=null,n.lastAngle_=void 0,n.rotating_=!1,n.rotationDelta_=0,n.threshold_=void 0!==r.threshold?r.threshold:.3,n.duration_=void 0!==r.duration?r.duration:250,n}return mt(e,t),e.prototype.handleDragEvent=function(t){var e=0,n=this.targetPointers[0],r=this.targetPointers[1],i=Math.atan2(r.clientY-n.clientY,r.clientX-n.clientX);if(void 0!==this.lastAngle_){var a=i-this.lastAngle_;this.rotationDelta_+=a,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=a}this.lastAngle_=i;var o=t.map,s=o.getView();if(s.getConstraints().rotation!==V.c){var l=o.getViewport().getBoundingClientRect(),c=m(this.targetPointers);c[0]-=l.left,c[1]-=l.top,this.anchor_=o.getCoordinateFromPixelInternal(c),this.rotating_&&(o.render(),s.adjustRotationInternal(e,this.anchor_))}},e.prototype.handleUpEvent=function(t){return!(this.targetPointers.length<2)||(t.map.getView().endInteraction(this.duration_),!1)},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}(g),yt=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),bt=function(t){function e(e){var n=this,r=e||{},i=r;return i.stopDown||(i.stopDown=y.a),(n=t.call(this,i)||this).anchor_=null,n.duration_=void 0!==r.duration?r.duration:400,n.lastDistance_=void 0,n.lastScaleDelta_=1,n}return yt(e,t),e.prototype.handleDragEvent=function(t){var e=1,n=this.targetPointers[0],r=this.targetPointers[1],i=n.clientX-r.clientX,a=n.clientY-r.clientY,o=Math.sqrt(i*i+a*a);void 0!==this.lastDistance_&&(e=this.lastDistance_/o),this.lastDistance_=o;var s=t.map,l=s.getView();1!=e&&(this.lastScaleDelta_=e);var c=s.getViewport().getBoundingClientRect(),u=m(this.targetPointers);u[0]-=c.left,u[1]-=c.top,this.anchor_=s.getCoordinateFromPixelInternal(u),s.render(),l.adjustResolutionInternal(e,this.anchor_)},e.prototype.handleUpEvent=function(t){if(this.targetPointers.length<2){var e=t.map.getView(),n=this.lastScaleDelta_>1?1:-1;return e.endInteraction(this.duration_,n),!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}(g),_t=n("NBiL"),Ot=n("yGLh"),wt=n("6t+W"),zt=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),xt="addfeatures",Ct=function(t){function e(e,n,r,i){var a=t.call(this,e)||this;return a.features=r,a.file=n,a.projection=i,a}return zt(e,t),e}(H.a),Mt=function(t){function e(e){var n=this,r=e||{};(n=t.call(this,{handleEvent:y.b})||this).readAsBuffer_=!1,n.formats_=[];for(var i=r.formatConstructors?r.formatConstructors:[],a=0,o=i.length;a0){this.source_&&(this.source_.clear(),this.source_.addFeatures(h)),this.dispatchEvent(new Ct(xt,t,h,a));break}}},e.prototype.registerListeners_=function(){var t=this.getMap();if(t){var e=this.target?this.target:t.getViewport();this.dropListenKeys_=[Object(wt.a)(e,et.a.DROP,this.handleDrop,this),Object(wt.a)(e,et.a.DRAGENTER,this.handleStop,this),Object(wt.a)(e,et.a.DRAGOVER,this.handleStop,this),Object(wt.a)(e,et.a.DROP,this.handleStop,this)]}},e.prototype.setActive=function(e){!this.getActive()&&e&&this.registerListeners_(),this.getActive()&&!e&&this.unregisterListeners_(),t.prototype.setActive.call(this,e)},e.prototype.setMap=function(e){this.unregisterListeners_(),t.prototype.setMap.call(this,e),this.getActive()&&this.registerListeners_()},e.prototype.tryReadFeatures_=function(t,e,n){try{return t.readFeatures(e,n)}catch(t){return null}},e.prototype.unregisterListeners_=function(){this.dropListenKeys_&&(this.dropListenKeys_.forEach(wt.c),this.dropListenKeys_=null)},e.prototype.handleDrop=function(t){for(var e=t.dataTransfer.files,n=0,r=e.length;n1?1:-1;return e.endInteraction(this.duration_,n),this.lastScaleDelta_=0,!1},e.prototype.handleDownEvent=function(t){return!!I(t)&&(!!this.condition_(t)&&(t.map.getView().beginInteraction(),this.lastAngle_=void 0,this.lastMagnitude_=void 0,!0))},e}(g),Tt=n("p9fs"),jt=n("nq2H"),Et=n("Fu+J"),It=n("grfP"),Lt=n("mDm9"),Pt=n("5t69"),kt=n("i3aX"),Ft=n("AT16"),Vt=n("T18w"),Bt=n("Umvz"),Rt=n("WMwB"),Ht=n("Mjwz"),Dt=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Nt={POINT:"Point",LINE_STRING:"LineString",POLYGON:"Polygon",CIRCLE:"Circle"},$t="drawstart",Gt="drawend",Ut="drawabort",Wt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.feature=n,r}return Dt(e,t),e}(H.a);var qt=function(t){function e(e){var n=this,r=e;r.stopDown||(r.stopDown=y.a),(n=t.call(this,r)||this).shouldHandle_=!1,n.downPx_=null,n.downTimeout_,n.lastDragTime_,n.pointerType_,n.freehand_=!1,n.source_=e.source?e.source:null,n.features_=e.features?e.features:null,n.snapTolerance_=e.snapTolerance?e.snapTolerance:12,n.type_=e.type,n.mode_=function(t){var e;t===Et.a.POINT||t===Et.a.MULTI_POINT?e=Nt.POINT:t===Et.a.LINE_STRING||t===Et.a.MULTI_LINE_STRING?e=Nt.LINE_STRING:t===Et.a.POLYGON||t===Et.a.MULTI_POLYGON?e=Nt.POLYGON:t===Et.a.CIRCLE&&(e=Nt.CIRCLE);return e}(n.type_),n.stopClick_=!!e.stopClick,n.minPoints_=e.minPoints?e.minPoints:n.mode_===Nt.POLYGON?3:2,n.maxPoints_=n.mode_===Nt.CIRCLE?2:e.maxPoints?e.maxPoints:1/0,n.finishCondition_=e.finishCondition?e.finishCondition:y.b;var i,s=e.geometryFunction;if(!s){var l,c=n.mode_;if(c===Nt.CIRCLE)s=function(t,e,n){var r=e||new Tt.a([NaN,NaN]),i=Object(Ot.e)(t[0],n),a=Object(P.j)(i,Object(Ot.e)(t[t.length-1],n));r.setCenterAndRadius(i,Math.sqrt(a));var o=Object(Ot.k)();return o&&r.transform(n,o),r};else c===Nt.POINT?l=Vt.a:c===Nt.LINE_STRING?l=It.a:c===Nt.POLYGON&&(l=N.b),s=function(t,e,n){return e?c===Nt.POLYGON?t[0].length?e.setCoordinates([t[0].concat([t[0][0]])]):e.setCoordinates([]):e.setCoordinates(t):e=new l(t),e}}return n.geometryFunction_=s,n.dragVertexDelay_=void 0!==e.dragVertexDelay?e.dragVertexDelay:500,n.finishCoordinate_=null,n.sketchFeature_=null,n.sketchPoint_=null,n.sketchCoords_=null,n.sketchLine_=null,n.sketchLineCoords_=null,n.squaredClickTolerance_=e.clickTolerance?e.clickTolerance*e.clickTolerance:36,n.overlay_=new Bt.a({source:new Rt.a({useSpatialIndex:!1,wrapX:!!e.wrapX&&e.wrapX}),style:e.style?e.style:(i=Object(Ht.b)(),function(t,e){return i[t.getGeometry().getType()]}),updateWhileInteracting:!0}),n.geometryName_=e.geometryName,n.condition_=e.condition?e.condition:T,n.freehandCondition_,e.freehand?n.freehandCondition_=C:n.freehandCondition_=e.freehandCondition?e.freehandCondition:j,n.addEventListener(Object(a.b)(o.ACTIVE),n.updateState_),n}return Dt(e,t),e.prototype.setMap=function(e){t.prototype.setMap.call(this,e),this.updateState_()},e.prototype.getOverlay=function(){return this.overlay_},e.prototype.handleEvent=function(e){e.originalEvent.type===et.a.CONTEXTMENU&&e.originalEvent.preventDefault(),this.freehand_=this.mode_!==Nt.POINT&&this.freehandCondition_(e);var n=e.type===h.a.POINTERMOVE,r=!0;!this.freehand_&&this.lastDragTime_&&e.type===h.a.POINTERDRAG&&(Date.now()-this.lastDragTime_>=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===h.a.POINTERDRAG&&null!==this.sketchFeature_?(this.addToDrawing_(e.coordinate),r=!1):this.freehand_&&e.type===h.a.POINTERDOWN?r=!1:n&&this.getPointerCount()<2?(r=e.type===h.a.POINTERMOVE)&&this.freehand_?(this.handlePointerMove_(e),this.shouldHandle_&&e.originalEvent.preventDefault()):("mouse"===e.originalEvent.pointerType||e.type===h.a.POINTERDRAG&&void 0===this.downTimeout_)&&this.handlePointerMove_(e):e.type===h.a.DBLCLICK&&(r=!1),t.prototype.handleEvent.call(this,e)&&r},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 Lt.a(h.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_){switch(!0){case!this.finishCoordinate_:if(this.startDrawing_(t.coordinate),this.mode_!==Nt.POINT)break;case this.freehand_||this.atFinish_(t.pixel)&&this.finishCondition_(t):this.finishDrawing();break;case!this.freehand_:this.addToDrawing_(t.coordinate)}e=!1}else this.freehand_&&this.abortDrawing();return!e&&this.stopClick_&&t.originalEvent.stopPropagation(),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,r=e[0]-n[0],i=e[1]-n[1],a=r*r+i*i;if(this.shouldHandle_=this.freehand_?a>this.squaredClickTolerance_:a<=this.squaredClickTolerance_,!this.shouldHandle_)return}this.finishCoordinate_?this.modifyDrawing_(t.coordinate):this.createOrUpdateSketchPoint_(t)},e.prototype.atFinish_=function(t){var e=!1;if(this.sketchFeature_){var n=!1,r=[this.finishCoordinate_],i=this.mode_;if(i===Nt.POINT)e=!0;else if(i===Nt.CIRCLE)e=2===this.sketchCoords_.length;else if(i===Nt.LINE_STRING)n=this.sketchCoords_.length>this.minPoints_;else if(i===Nt.POLYGON){var a=this.sketchCoords_;n=a[0].length>this.minPoints_,r=[a[0][0],a[0][a[0].length-2]]}if(n)for(var o=this.getMap(),s=0,l=r.length;s=this.maxPoints_&&(this.freehand_?n.pop():e=!0),n.push(t.slice()),this.geometryFunction_(n,r,i)):a===Nt.POLYGON&&((n=this.sketchCoords_[0]).length>=this.maxPoints_&&(this.freehand_?n.pop():e=!0),n.push(t.slice()),e&&(this.finishCoordinate_=n[0]),this.geometryFunction_(this.sketchCoords_,r,i)),this.updateSketchFeatures_(),e&&this.finishDrawing()},e.prototype.removeLastPoint=function(){if(this.sketchFeature_){var t,e=this.sketchFeature_.getGeometry(),n=this.getMap().getView().getProjection(),r=this.mode_;if(r===Nt.LINE_STRING||r===Nt.CIRCLE){if((t=this.sketchCoords_).splice(-2,1),t.length>=2){this.finishCoordinate_=t[t.length-2].slice();var i=this.finishCoordinate_.slice();t[t.length-1]=i,this.sketchPoint_.setGeometry(new Vt.a(i))}this.geometryFunction_(t,e,n),e.getType()===Et.a.POLYGON&&this.sketchLine_&&this.createOrUpdateCustomSketchLine_(e)}else if(r===Nt.POLYGON){(t=this.sketchCoords_[0]).splice(-2,1);var a=this.sketchLine_.getGeometry();if(t.length>=2){i=t[t.length-2].slice();t[t.length-1]=i,this.sketchPoint_.setGeometry(new Vt.a(i))}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(),r=this.getMap().getView().getProjection();this.mode_===Nt.LINE_STRING?(e.pop(),this.geometryFunction_(e,n,r)):this.mode_===Nt.POLYGON&&(e[0].pop(),this.geometryFunction_(e,n,r),e=n.getCoordinates()),this.type_===Et.a.MULTI_POINT?t.setGeometry(new kt.a([e])):this.type_===Et.a.MULTI_LINE_STRING?t.setGeometry(new Pt.a([e])):this.type_===Et.a.MULTI_POLYGON&&t.setGeometry(new Ft.a([e])),this.dispatchEvent(new Wt(Gt,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 Wt(Ut,t))},e.prototype.appendCoordinates=function(t){var e,n=this.mode_,r=!this.sketchFeature_;if(r&&this.startDrawing_(t[0]),n===Nt.LINE_STRING||n===Nt.CIRCLE)e=this.sketchCoords_;else{if(n!==Nt.POLYGON)return;e=this.sketchCoords_&&this.sketchCoords_.length?this.sketchCoords_[0]:[]}r&&e.shift(),e.pop();for(var i=0;ih?a[1]:a[0]),o}}return null},e.prototype.handlePointerMove_=function(t){var e=t.pixel,n=t.map,r=this.snapToVertex_(e,n);r||(r=n.getCoordinateFromPixelInternal(e)),this.createOrUpdatePointerFeature_(r)},e.prototype.createOrUpdateExtentFeature_=function(t){var e=this.extentFeature_;return e?t?e.setGeometry(Object(N.d)(t)):e.setGeometry(void 0):(e=t?new jt.a(Object(N.d)(t)):new jt.a({}),this.extentFeature_=e,this.extentOverlay_.getSource().addFeature(e)),e},e.prototype.createOrUpdatePointerFeature_=function(t){var e=this.vertexFeature_;e?e.getGeometry().setCoordinates(t):(e=new jt.a(new Vt.a(t)),this.vertexFeature_=e,this.vertexOverlay_.getSource().addFeature(e));return e},e.prototype.handleEvent=function(e){return!e.originalEvent||!this.condition_(e)||(e.type!=h.a.POINTERMOVE||this.handlingDownUpSequence||this.handlePointerMove_(e),t.prototype.handleEvent.call(this,e),!1)},e.prototype.handleDownEvent=function(t){var e=t.pixel,n=t.map,r=this.getExtentInternal(),i=this.snapToVertex_(e,n),a=function(t){var e=null,n=null;return t[0]==r[0]?e=r[2]:t[0]==r[2]&&(e=r[0]),t[1]==r[1]?n=r[3]:t[1]==r[3]&&(n=r[1]),null!==e&&null!==n?[e,n]:null};if(i&&r){var o=i[0]==r[0]||i[0]==r[2]?i[0]:null,s=i[1]==r[1]||i[1]==r[3]?i[1]:null;null!==o&&null!==s?this.pointerHandler_=Zt(a(i)):null!==o?this.pointerHandler_=Jt(a([o,r[1]]),a([o,r[3]])):null!==s&&(this.pointerHandler_=Jt(a([r[0],s]),a([r[2],s])))}else i=n.getCoordinateFromPixelInternal(e),this.setExtent([i[0],i[1],i[0],i[1]]),this.pointerHandler_=Zt(i);return!0},e.prototype.handleDragEvent=function(t){if(this.pointerHandler_){var e=t.coordinate;this.setExtent(this.pointerHandler_(e)),this.createOrUpdatePointerFeature_(e)}},e.prototype.handleUpEvent=function(t){this.pointerHandler_=null;var e=this.getExtentInternal();return e&&0!==Object(J.v)(e)||this.setExtent(null),!1},e.prototype.setMap=function(e){this.extentOverlay_.setMap(e),this.vertexOverlay_.setMap(e),t.prototype.setMap.call(this,e)},e.prototype.getExtent=function(){return Object(Ot.n)(this.getExtentInternal(),this.getMap().getView().getProjection())},e.prototype.getExtentInternal=function(){return this.extent_},e.prototype.setExtent=function(t){this.extent_=t||null,this.createOrUpdateExtentFeature_(t),this.dispatchEvent(new Kt(this.extent_))},e}(g),te=n("DM+O"),ee=n("YxaZ"),ne=n("NNCy"),re=n("zF6X"),ie=n("3ciB"),ae=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),oe=1,se=[0,0,0,0],le=[],ce="modifystart",ue="modifyend",he=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.features=n,i.mapBrowserEvent=r,i}return ae(e,t),e}(H.a);function de(t,e){return t.index-e.index}function pe(t,e,n){var r=e.geometry;if(r.getType()===Et.a.CIRCLE){var i=r;if(e.index===oe){var a=Object(Ot.k)();a&&(i=i.clone().transform(a,n));var o=Object(P.j)(i.getCenter(),Object(Ot.e)(t,n)),s=Math.sqrt(o)-i.getRadius();return s*s}}var l=Object(Ot.e)(t,n);return le[0]=Object(Ot.e)(e.segment[0],n),le[1]=Object(Ot.e)(e.segment[1],n),Object(P.k)(l,le)}function fe(t,e,n){var r=e.geometry;if(r.getType()===Et.a.CIRCLE&&e.index===oe){var i=r,a=Object(Ot.k)();return a&&(i=i.clone().transform(a,n)),Object(Ot.m)(i.getClosestPoint(Object(Ot.e)(t,n)),n)}var o=Object(Ot.e)(t,n);return le[0]=Object(Ot.e)(e.segment[0],n),le[1]=Object(Ot.e)(e.segment[1],n),Object(Ot.m)(Object(P.c)(o,le),n)}var ve=function(t){function e(e){var n,r,a=t.call(this,e)||this;if(a.boundHandleFeatureChange_=a.handleFeatureChange_.bind(a),a.condition_=e.condition?e.condition:L,a.defaultDeleteCondition_=function(t){return w(t)&&A(t)},a.deleteCondition_=e.deleteCondition?e.deleteCondition:a.defaultDeleteCondition_,a.insertVertexCondition_=e.insertVertexCondition?e.insertVertexCondition:C,a.vertexFeature_=null,a.vertexSegments_=null,a.lastPixel_=[0,0],a.ignoreNextSingleClick_=!1,a.featuresBeingModified_=null,a.rBush_=new ee.a,a.pixelTolerance_=void 0!==e.pixelTolerance?e.pixelTolerance:10,a.snappedToVertex_=!1,a.changingFeature_=!1,a.dragSegments_=[],a.overlay_=new Bt.a({source:new Rt.a({useSpatialIndex:!1,wrapX:!!e.wrapX}),style:e.style?e.style:(n=Object(Ht.b)(),function(t,e){return n[Et.a.POINT]}),updateWhileAnimating:!0,updateWhileInteracting:!0}),a.SEGMENT_WRITERS_={Point:a.writePointGeometry_.bind(a),LineString:a.writeLineStringGeometry_.bind(a),LinearRing:a.writeLineStringGeometry_.bind(a),Polygon:a.writePolygonGeometry_.bind(a),MultiPoint:a.writeMultiPointGeometry_.bind(a),MultiLineString:a.writeMultiLineStringGeometry_.bind(a),MultiPolygon:a.writeMultiPolygonGeometry_.bind(a),Circle:a.writeCircleGeometry_.bind(a),GeometryCollection:a.writeGeometryCollectionGeometry_.bind(a)},a.source_=null,a.hitDetection_=null,e.features?r=e.features:e.source&&(a.source_=e.source,r=new i.a(a.source_.getFeatures()),a.source_.addEventListener(ne.a.ADDFEATURE,a.handleSourceAdd_.bind(a)),a.source_.addEventListener(ne.a.REMOVEFEATURE,a.handleSourceRemove_.bind(a))),!r)throw new Error("The modify interaction requires features, a source or a layer");return e.hitDetection&&(a.hitDetection_=e.hitDetection),a.features_=r,a.features_.forEach(a.addFeature_.bind(a)),a.features_.addEventListener(te.a.ADD,a.handleFeatureAdd_.bind(a)),a.features_.addEventListener(te.a.REMOVE,a.handleFeatureRemove_.bind(a)),a.lastPointerEvent_=null,a.delta_=[0,0],a}return ae(e,t),e.prototype.addFeature_=function(t){var e=t.getGeometry();if(e){var n=this.SEGMENT_WRITERS_[e.getType()];n&&n(t,e)}var r=this.getMap();r&&r.isRendered()&&this.getActive()&&this.handlePointerAtPixel_(this.lastPixel_,r),t.addEventListener(et.a.CHANGE,this.boundHandleFeatureChange_)},e.prototype.willModifyFeatures_=function(t,e){if(!this.featuresBeingModified_){this.featuresBeingModified_=new i.a;for(var n=this.featuresBeingModified_.getArray(),r=0,a=e.length;r=0;--r){for(var i=n[r],a=this.dragSegments_.length-1;a>=0;--a)this.dragSegments_[a][0]===i&&this.dragSegments_.splice(a,1);e.remove(i)}},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(),r={feature:t,geometry:e,segment:[n,n]};this.rBush_.insert(e.getExtent(),r)},e.prototype.writeMultiPointGeometry_=function(t,e){for(var n=e.getCoordinates(),r=0,i=n.length;r=0;--m)this.insertVertex_(i[m],a)}return!!this.vertexFeature_},e.prototype.handleUpEvent=function(t){for(var e=this.dragSegments_.length-1;e>=0;--e){var n=this.dragSegments_[e][0],r=n.geometry;if(r.getType()===Et.a.CIRCLE){var i=r.getCenter(),a=n.featureSegments[0],o=n.featureSegments[1];a.segment[0]=i,a.segment[1]=i,o.segment[0]=i,o.segment[1]=i,this.rBush_.update(Object(J.n)(i),a);var s=r,l=Object(Ot.k)();if(l){var c=t.map.getView().getProjection();s=s.clone().transform(l,c),s=Object(N.c)(s).transform(c,l)}this.rBush_.update(s.getExtent(),o)}else this.rBush_.update(Object(J.c)(n.segment),n)}return this.featuresBeingModified_&&(this.dispatchEvent(new he(ue,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 r,i,a=this,o=n||e.getCoordinateFromPixel(t),s=e.getView().getProjection();if(this.hitDetection_){var l="object"==typeof this.hitDetection_?function(t){return t===a.hitDetection_}:void 0;e.forEachFeatureAtPixel(t,function(t,e,n){if((n=n||t.getGeometry()).getType()===Et.a.POINT){i=n;var a=n.getCoordinates();r=[{feature:t,geometry:n,segment:[a,a]}]}return!0},{layerFilter:l})}if(!r){var c=Object(Ot.f)(Object(J.n)(o,se),s),u=e.getView().getResolution()*this.pixelTolerance_,h=Object(Ot.n)(Object(J.d)(c,u,se),s);r=this.rBush_.getInExtent(h)}if(r&&r.length>0){var d=r.sort(function(t,e){return pe(o,t,s)-pe(o,e,s)})[0],p=d.segment,f=fe(o,d,s),v=e.getPixelFromCoordinate(f),m=Object(P.e)(t,v);if(i||m<=this.pixelTolerance_){var g={};if(g[Object(ie.c)(p)]=!0,this.delta_[0]=f[0]-o[0],this.delta_[1]=f[1]-o[1],d.geometry.getType()===Et.a.CIRCLE&&d.index===oe)this.snappedToVertex_=!0,this.createOrUpdateVertexFeature_(f,[d.feature],[d.geometry]);else{var y=e.getPixelFromCoordinate(p[0]),b=e.getPixelFromCoordinate(p[1]),_=Object(P.j)(v,y),O=Object(P.j)(v,b);m=Math.sqrt(Math.min(_,O)),this.snappedToVertex_=m<=this.pixelTolerance_,this.snappedToVertex_&&(f=_>O?p[1]:p[0]),this.createOrUpdateVertexFeature_(f,[d.feature],[d.geometry]);var w={};w[Object(ie.c)(d.geometry)]=!0;for(var z=1,x=r.length;z=0;--i)c=(n=h[i])[0],u=Object(ie.c)(c.feature),c.depth&&(u+="-"+c.depth.join("-")),u in d||(d[u]={}),0===n[1]?(d[u].right=c,d[u].index=c.index):1==n[1]&&(d[u].left=c,d[u].index=c.index+1);for(u in d){switch(l=d[u].right,o=d[u].left,s=(a=d[u].index)-1,c=void 0!==o?o:l,s<0&&(s=0),t=e=(r=c.geometry).getCoordinates(),p=!1,r.getType()){case Et.a.MULTI_LINE_STRING:e[c.depth[0]].length>2&&(e[c.depth[0]].splice(a,1),p=!0);break;case Et.a.LINE_STRING:e.length>2&&(e.splice(a,1),p=!0);break;case Et.a.MULTI_POLYGON:t=t[c.depth[1]];case Et.a.POLYGON:(t=t[c.depth[0]]).length>4&&(a==t.length-1&&(a=0),t.splice(a,1),p=!0,0===a&&(t.pop(),t.push(t[0]),s=t.length-1))}if(p){this.setGeometryCoordinates_(r,e);var f=[];if(void 0!==o&&(this.rBush_.remove(o),f.push(o.segment[0])),void 0!==l&&(this.rBush_.remove(l),f.push(l.segment[1])),void 0!==o&&void 0!==l){var v={depth:c.depth,feature:c.feature,geometry:c.geometry,index:s,segment:f};this.rBush_.insert(Object(J.c)(v.segment),v)}this.updateSegmentIndices_(r,a,c.depth,-1),this.vertexFeature_&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),h.length=0}}return p},e.prototype.setGeometryCoordinates_=function(t,e){this.changingFeature_=!0,t.setCoordinates(e),this.changingFeature_=!1},e.prototype.updateSegmentIndices_=function(t,e,n,r){this.rBush_.forEachInExtent(t.getExtent(),function(i){i.geometry===t&&(void 0===n||void 0===i.depth||Object(re.b)(i.depth,n))&&i.index>e&&(i.index+=r)})},e}(g),me=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ge="select",ye=function(t){function e(e,n,r,i){var a=t.call(this,e)||this;return a.selected=n,a.deselected=r,a.mapBrowserEvent=i,a}return me(e,t),e}(H.a),be={};var _e=function(t){function e(e){var n,r,a=t.call(this)||this,o=e||{};if(a.boundAddFeature_=a.addFeature_.bind(a),a.boundRemoveFeature_=a.removeFeature_.bind(a),a.condition_=o.condition?o.condition:A,a.addCondition_=o.addCondition?o.addCondition:S,a.removeCondition_=o.removeCondition?o.removeCondition:S,a.toggleCondition_=o.toggleCondition?o.toggleCondition:j,a.multi_=!!o.multi&&o.multi,a.filter_=o.filter?o.filter:y.b,a.hitTolerance_=o.hitTolerance?o.hitTolerance:0,a.style_=void 0!==o.style?o.style:(n=Object(Ht.b)(),Object(re.c)(n[Et.a.POLYGON],n[Et.a.LINE_STRING]),Object(re.c)(n[Et.a.GEOMETRY_COLLECTION],n[Et.a.LINE_STRING]),function(t){return t.getGeometry()?n[t.getGeometry().getType()]:null}),a.features_=o.features||new i.a,o.layers)if("function"==typeof o.layers)r=o.layers;else{var s=o.layers;r=function(t){return Object(re.f)(s,t)}}else r=y.b;return a.layerFilter_=r,a.featureLayerAssociation_={},a}return me(e,t),e.prototype.addFeatureLayerAssociation_=function(t,e){this.featureLayerAssociation_[Object(ie.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(ie.c)(t)]},e.prototype.setHitTolerance=function(t){this.hitTolerance_=t},e.prototype.setMap=function(e){this.getMap()&&this.style_&&this.features_.forEach(this.restorePreviousStyle_.bind(this)),t.prototype.setMap.call(this,e),e?(this.features_.addEventListener(te.a.ADD,this.boundAddFeature_),this.features_.addEventListener(te.a.REMOVE,this.boundRemoveFeature_),this.style_&&this.features_.forEach(this.applySelectedStyle_.bind(this))):(this.features_.removeEventListener(te.a.ADD,this.boundAddFeature_),this.features_.removeEventListener(te.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(ie.c)(t);e in be||(be[e]=t.getStyle()),t.setStyle(this.style_)},e.prototype.restorePreviousStyle_=function(t){for(var n=this.getMap().getInteractions().getArray(),r=n.length-1;r>=0;--r){var i=n[r];if(i!==this&&i instanceof e&&i.getStyle()&&-1!==i.getFeatures().getArray().lastIndexOf(t))return void t.setStyle(i.getStyle())}var a=Object(ie.c)(t);t.setStyle(be[a]),delete be[a]},e.prototype.removeFeatureLayerAssociation_=function(t){delete this.featureLayerAssociation_[Object(ie.c)(t)]},e.prototype.handleEvent=function(t){if(!this.condition_(t))return!0;var e=this.addCondition_(t),n=this.removeCondition_(t),r=this.toggleCondition_(t),i=!e&&!n&&!r,a=t.map,o=this.getFeatures(),s=[],l=[];if(i){Object(f.b)(this.featureLayerAssociation_),a.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 c=o.getLength()-1;c>=0;--c){var u=o.item(c),h=l.indexOf(u);h>-1?l.splice(h,1):(o.remove(u),s.push(u))}0!==l.length&&o.extend(l)}else{a.forEachFeatureAtPixel(t.pixel,function(t,i){if(this.filter_(t,i))return!e&&!r||Object(re.f)(o.getArray(),t)?(n||r)&&Object(re.f)(o.getArray(),t)&&(s.push(t),this.removeFeatureLayerAssociation_(t)):(l.push(t),this.addFeatureLayerAssociation_(t,i)),!this.multi_}.bind(this),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(var d=s.length-1;d>=0;--d)o.remove(s[d]);o.extend(l)}return(l.length>0||s.length>0)&&this.dispatchEvent(new ye(ge,l,s,t)),!0},e}(u),Oe=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function we(t){return t.feature?t.feature:t.element?t.element:void 0}var ze=[],xe=function(t){function e(e){var n=this,r=e||{},i=r;return i.handleDownEvent||(i.handleDownEvent=y.b),i.stopDown||(i.stopDown=y.a),(n=t.call(this,i)||this).source_=r.source?r.source:null,n.vertex_=void 0===r.vertex||r.vertex,n.edge_=void 0===r.edge||r.edge,n.features_=r.features?r.features:null,n.featuresListenerKeys_=[],n.featureChangeListenerKeys_={},n.indexedFeaturesExtents_={},n.pendingFeatures_={},n.pixelTolerance_=void 0!==r.pixelTolerance?r.pixelTolerance:10,n.rBush_=new ee.a,n.SEGMENT_WRITERS_={Point:n.writePointGeometry_.bind(n),LineString:n.writeLineStringGeometry_.bind(n),LinearRing:n.writeLineStringGeometry_.bind(n),Polygon:n.writePolygonGeometry_.bind(n),MultiPoint:n.writeMultiPointGeometry_.bind(n),MultiLineString:n.writeMultiLineStringGeometry_.bind(n),MultiPolygon:n.writeMultiPolygonGeometry_.bind(n),GeometryCollection:n.writeGeometryCollectionGeometry_.bind(n),Circle:n.writeCircleGeometry_.bind(n)},n}return Oe(e,t),e.prototype.addFeature=function(t,e){var n=void 0===e||e,r=Object(ie.c)(t),i=t.getGeometry();if(i){var a=this.SEGMENT_WRITERS_[i.getType()];a&&(this.indexedFeaturesExtents_[r]=i.getExtent(Object(J.k)()),a(t,i))}n&&(this.featureChangeListenerKeys_[r]=Object(wt.a)(t,et.a.CHANGE,this.handleFeatureChange_,this))},e.prototype.forEachFeatureAdd_=function(t){this.addFeature(t)},e.prototype.forEachFeatureRemove_=function(t){this.removeFeature(t)},e.prototype.getFeatures_=function(){var t;return this.features_?t=this.features_:this.source_&&(t=this.source_.getFeatures()),t},e.prototype.handleEvent=function(e){var n=this.snapTo(e.pixel,e.coordinate,e.map);return n.snapped&&(e.coordinate=n.vertex.slice(0,2),e.pixel=n.vertexPixel),t.prototype.handleEvent.call(this,e)},e.prototype.handleFeatureAdd_=function(t){var e=we(t);this.addFeature(e)},e.prototype.handleFeatureRemove_=function(t){var e=we(t);this.removeFeature(e)},e.prototype.handleFeatureChange_=function(t){var e=t.target;if(this.handlingDownUpSequence){var n=Object(ie.c)(e);n in this.pendingFeatures_||(this.pendingFeatures_[n]=e)}else this.updateFeature_(e)},e.prototype.handleUpEvent=function(t){var e=Object(f.c)(this.pendingFeatures_);return e.length&&(e.forEach(this.updateFeature_.bind(this)),this.pendingFeatures_={}),!1},e.prototype.removeFeature=function(t,e){var n=void 0===e||e,r=Object(ie.c)(t),i=this.indexedFeaturesExtents_[r];if(i){var a=this.rBush_,o=[];a.forEachInExtent(i,function(e){t===e.feature&&o.push(e)});for(var s=o.length-1;s>=0;--s)a.remove(o[s])}n&&(Object(wt.c)(this.featureChangeListenerKeys_[r]),delete this.featureChangeListenerKeys_[r])},e.prototype.setMap=function(e){var n=this.getMap(),r=this.featuresListenerKeys_,i=this.getFeatures_();n&&(r.forEach(wt.c),r.length=0,i.forEach(this.forEachFeatureRemove_.bind(this))),t.prototype.setMap.call(this,e),e&&(this.features_?r.push(Object(wt.a)(this.features_,te.a.ADD,this.handleFeatureAdd_,this),Object(wt.a)(this.features_,te.a.REMOVE,this.handleFeatureRemove_,this)):this.source_&&r.push(Object(wt.a)(this.source_,ne.a.ADDFEATURE,this.handleFeatureAdd_,this),Object(wt.a)(this.source_,ne.a.REMOVEFEATURE,this.handleFeatureRemove_,this)),i.forEach(this.forEachFeatureAdd_.bind(this)))},e.prototype.snapTo=function(t,e,n){var r=n.getCoordinateFromPixel([t[0]-this.pixelTolerance_,t[1]+this.pixelTolerance_]),i=n.getCoordinateFromPixel([t[0]+this.pixelTolerance_,t[1]-this.pixelTolerance_]),a=Object(J.c)([r,i]),o=this.rBush_.getInExtent(a);this.vertex_&&!this.edge_&&(o=o.filter(function(t){return t.feature.getGeometry().getType()!==Et.a.CIRCLE}));var s=!1,l=null,c=null;if(0===o.length)return{snapped:s,vertex:l,vertexPixel:c};for(var u,h=n.getView().getProjection(),d=Object(Ot.e)(e,h),p=1/0,f=0;fO?g[1]:g[0],c=n.getPixelFromCoordinate(l))}else if(this.edge_){var w=u.feature.getGeometry().getType()===Et.a.CIRCLE;if(w){var z=u.feature.getGeometry(),x=Object(Ot.k)();x&&(z=z.clone().transform(x,h)),l=Object(Ot.m)(Object(P.b)(d,z),h)}else ze[0]=Object(Ot.e)(g[0],h),ze[1]=Object(Ot.e)(g[1],h),l=Object(Ot.m)(Object(P.c)(d,ze),h);if(c=n.getPixelFromCoordinate(l),Object(P.e)(t,c)<=this.pixelTolerance_&&(s=!0,this.vertex_&&!w)){y=n.getPixelFromCoordinate(g[0]),b=n.getPixelFromCoordinate(g[1]),_=Object(P.j)(c,y),O=Object(P.j)(c,b);Math.sqrt(Math.min(_,O))<=this.pixelTolerance_&&(l=_>O?g[1]:g[0],c=n.getPixelFromCoordinate(l))}}return s&&(c=[Math.round(c[0]),Math.round(c[1])]),{snapped:s,vertex:l,vertexPixel:c}},e.prototype.updateFeature_=function(t){this.removeFeature(t,!1),this.addFeature(t,!1)},e.prototype.writeCircleGeometry_=function(t,e){var n=this.getMap().getView().getProjection(),r=e,i=Object(Ot.k)();i&&(r=r.clone().transform(i,n));var a=Object(N.c)(r);i&&a.transform(n,i);for(var o=a.getCoordinates()[0],s=0,l=o.length-1;s1&&void 0!==arguments[1]&&arguments[1],n=t.to,r=t.from;if(n&&(r||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var i=this.$_getTransportIndex(t);if(i>=0){var a=this.transports[n].slice(0);a.splice(i,1),this.transports[n]=a}}},registerTarget:function(t,e,n){s&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){s&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var r in this.transports[e])if(this.transports[e][r].from===n)return+r;return-1}}}))(c),p=1,f=i.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(p++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick(function(){d.registerSource(t.name,t)})},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){d.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};d.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"==typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:o(t),order:this.order};d.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),v=i.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:d.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick(function(){d.registerTarget(t.name,t)})},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){d.unregisterTarget(e),d.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick(function(){t.firstRender=!1})},beforeDestroy:function(){d.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce(function(t,n){var r=n.passengers[0],i="function"==typeof r?r(e):n.passengers;return t.concat(i)},[])}(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),r=this.transition||this.tag;return e?n[0]:this.slim&&!r?t():t(r,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),m=0,g=["disabled","name","order","slim","slotProps","tag","to"],y=["multiple","transition"],b=i.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(m++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(d.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=d.targets[e.name];else{var n=e.append;if(n){var r="string"==typeof n?n:"DIV",i=document.createElement(r);t.appendChild(i),t=i}var a=l(this.$props,y);a.slim=this.targetSlim,a.tag=this.targetTag,a.slotProps=this.targetSlotProps,a.name=this.to,this.portalTarget=new v({el:t,parent:this.$parent||this,propsData:a})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=l(this.$props,g);return t(f,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});var _={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",f),t.component(e.portalTargetName||"PortalTarget",v),t.component(e.MountingPortalName||"MountingPortal",b)}};e.default=_,e.Portal=f,e.PortalTarget=v,e.MountingPortal=b,e.Wormhole=d},TcQ7:function(t,e,n){var r=n("MU5D"),i=n("52gC");t.exports=function(t){return r(i(t))}},Tqaz:function(t,e,n){"use strict";var r=n("7+uW"),i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0,_=(/msie|trident/.test(y),function(){var t=!1;if(f)try{var e={get passive(){t=!0}};v.addEventListener("test",e,e),v.removeEventListener("test",e,e)}catch(e){t=!1}return t}()),O=f&&("ontouchstart"in m.documentElement||g.maxTouchPoints>0),w=f&&Boolean(v.PointerEvent||v.MSPointerEvent),z=f&&"IntersectionObserver"in v&&"IntersectionObserverEntry"in v&&"intersectionRatio"in v.IntersectionObserverEntry.prototype,x=["xs","sm","md","lg","xl"],C=/\[(\d+)]/g,M=/^(BV?)/,S=/^\d+$/,A=/^\..+/,T=/^#/,j=/^#[A-Za-z]+[\w\-:.]*$/,E=/(<([^>]+)>)/gi,I=/\B([A-Z])/g,L=/([a-z])([A-Z])/g,P=/^[0-9]*\.?[0-9]+$/,k=/\+/g,F=/[-/\\^$*+?.()|[\]{}]/g,V=/[\s\uFEFF\xA0]+/g,B=/\s+/,R=/\/\*$/,H=/(\s|^)(\w)/g,D=/^\s+/,N=/_/g,$=/-(\w)/g,G=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,U=/-|\s|T/,W=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,q=/^.*(#[^#]+)$/,X=/%2C/g,Y=/[!'()*]/g,K=/^(\?|#|&)/,Z=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,J=/[/:]/,Q=/^col-/,tt=/^BIcon/,et=/-u-.+/;function nt(t){"@babel/helpers - typeof";return(nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function it(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ct(t,e)}function at(t){var e=lt();return function(){var n,r=ut(t);if(e){var i=ut(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===nt(e)||"function"==typeof e))return e;return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}function ot(t){var e="function"==typeof Map?new Map:void 0;return(ot=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return st(t,arguments,ut(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ct(r,t)})(t)}function st(t,e,n){return(st=lt()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&ct(i,n.prototype),i}).apply(null,arguments)}function lt(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function ct(t,e){return(ct=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ut(t){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ht=c?v.Element:function(t){it(n,ot(Object));var e=at(n);function n(){return rt(this,n),e.apply(this,arguments)}return n}(),dt=c?v.HTMLElement:function(t){it(n,ht);var e=at(n);function n(){return rt(this,n),e.apply(this,arguments)}return n}(),pt=c?v.SVGElement:function(t){it(n,ht);var e=at(n);function n(){return rt(this,n),e.apply(this,arguments)}return n}(),ft=c?v.File:function(t){it(n,ot(Object));var e=at(n);function n(){return rt(this,n),e.apply(this,arguments)}return n}();function vt(t){"@babel/helpers - typeof";return(vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var mt=function(t){return vt(t)},gt=function(t){return Object.prototype.toString.call(t).slice(8,-1)},yt=function(t){return void 0===t},bt=function(t){return null===t},_t=function(t){return yt(t)||bt(t)},Ot=function(t){return"function"===mt(t)},wt=function(t){return"boolean"===mt(t)},zt=function(t){return"string"===mt(t)},xt=function(t){return"number"===mt(t)},Ct=function(t){return P.test(String(t))},Mt=function(t){return Array.isArray(t)},St=function(t){return null!==t&&"object"===vt(t)},At=function(t){return"[object Object]"===Object.prototype.toString.call(t)},Tt=function(t){return t instanceof Date},jt=function(t){return t instanceof Event},Et=function(t){return"RegExp"===gt(t)};function It(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function Lt(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:e;return Mt(e)?e.reduce(function(e,n){return[].concat(Kt(e),[t(n,n)])},[]):At(e)?Ht(e).reduce(function(n,r){return Xt(Xt({},n),{},Yt({},r,t(e[r],e[r])))},{}):n},Qt=function(t){return t},te=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!(e=Mt(e)?e.join("."):e)||!St(t))return n;if(e in t)return t[e];var r=(e=String(e).replace(C,".$1")).split(".").filter(Qt);return 0===r.length?n:r.every(function(e){return St(t)&&e in t&&!_t(t=t[e])})?t:bt(t)?null:n},ee=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=te(t,e);return _t(r)?n:r},ne=n("ixoM"),re=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Object(ne.a)()||console.warn("[BootstrapVue warn]: ".concat(e?"".concat(e," - "):"").concat(t))},ie=function(t){return!f&&(re("".concat(t,": Can not be called during SSR.")),!0)},ae=function(t){return!d&&(re("".concat(t,": Requires Promise support.")),!0)};function oe(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};At(e)&&Rt(e).forEach(function(n){var r=e[n];"breakpoints"===n?!Mt(r)||r.length<2||r.some(function(t){return!zt(t)||0===t.length})?re('"breakpoints" must be an array of at least 2 breakpoint names',"BvConfig"):t.$_config[n]=Jt(r):At(r)&&(t.$_config[n]=Rt(r).reduce(function(t,e){return yt(r[e])||(t[e]=Jt(r[e])),t},t.$_config[n]||{}))})}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return Jt(this.$_config)}},{key:"getConfigValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return Jt(te(this.$_config,t,e))}}])&&oe(e.prototype,n),r&&oe(e,r),t}();function le(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function ce(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=t.components,n=t.directives,i=t.plugins,a=function t(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.installed||(t.installed=!0,pe(a),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.default;e.prototype.$bvConfig=r.default.prototype.$bvConfig=e.prototype.$bvConfig||r.default.prototype.$bvConfig||new se,e.prototype.$bvConfig.setConfig(t)}(o,a),be(a,e),Oe(a,n),ge(a,i))};return a.installed=!1,a},ve=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(ce({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{install:fe(t)})},me=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(ce({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{install:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.components,n=t.directives,r=t.plugins,i=function t(i){t.installed||(t.installed=!0,pe(i),be(i,e),Oe(i,n),ge(i,r))};return i.installed=!1,i}(t)})},ge=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)n&&e[n]&&t.use(e[n])},ye=function(t,e,n){t&&e&&n&&t.component(e,n)},be=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)ye(t,n,e[n])},_e=function(t,e,n){t&&e&&n&&t.directive(e.replace(/^VB/,"B"),n)},Oe=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)_e(t,n,e[n])},we="bv",ze={passive:!0},xe={passive:!0,capture:!1},Ce=Array,Me=Boolean,Se=Date,Ae=Function,Te=Number,je=Object,Ee=RegExp,Ie=String,Le=[Ce,Ae],Pe=[Ce,je],ke=[Ce,je,Ie],Fe=[Ce,Ie],Ve=[Me,Te],Be=[Me,Te,Ie],Re=[Me,Ie],He=[Se,Ie],De=[Ae,Ie],Ne=[Te,Ie],$e=[Te,je,Ie],Ge=[je,Ae],Ue=[je,Ie],We=function(){return Array.from.apply(Array,arguments)},qe=function(t,e){return-1!==t.indexOf(e)},Xe=function(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:NaN,n=parseInt(t,10);return isNaN(n)?e:n},Je=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,n=parseFloat(t);return isNaN(n)?e:n},Qe=function(t,e){return Je(t).toFixed(Ze(e,0))},tn=function(t){return t.replace(I,"-$1").toLowerCase()},en=function(t){return(t=tn(t).replace($,function(t,e){return e?e.toUpperCase():""})).charAt(0).toUpperCase()+t.slice(1)},nn=function(t){return t.replace(N," ").replace(L,function(t,e,n){return e+" "+n}).replace(H,function(t,e,n){return e+n.toUpperCase()})},rn=function(t){return(t=zt(t)?t.trim():String(t)).charAt(0).toUpperCase()+t.slice(1)},an=function(t){return t.replace(F,"\\$&")},on=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return _t(t)?"":Mt(t)||At(t)&&t.toString===Object.prototype.toString?JSON.stringify(t,null,e):String(t)},sn=function(t){return on(t).trim()},ln=function(t){return on(t).toLowerCase()},cn=ht.prototype,un=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map(function(t){return"".concat(t,":not(:disabled):not([disabled])")}).join(", "),hn=cn.matches||cn.msMatchesSelector||cn.webkitMatchesSelector,dn=cn.closest||function(t){var e=this;do{if(xn(e,t))return e;e=e.parentElement||e.parentNode}while(!bt(e)&&e.nodeType===Node.ELEMENT_NODE);return null},pn=v.requestAnimationFrame||v.webkitRequestAnimationFrame||v.mozRequestAnimationFrame||v.msRequestAnimationFrame||v.oRequestAnimationFrame||function(t){return setTimeout(t,16)},fn=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver||null,vn=function(t){return!(!t||t.nodeType!==Node.ELEMENT_NODE)},mn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=m.activeElement;return e&&!t.some(function(t){return t===e})?e:null},gn=function(t,e){return on(t).toLowerCase()===on(e).toLowerCase()},yn=function(t){return vn(t)&&t===mn()},bn=function(t){if(!vn(t)||!t.parentNode||!Mn(m.body,t))return!1;if("none"===Vn(t,"display"))return!1;var e=Bn(t);return!!(e&&e.height>0&&e.width>0)},_n=function(t){return!vn(t)||t.disabled||Pn(t,"disabled")||jn(t,"disabled")},On=function(t){return vn(t)&&t.offsetHeight},wn=function(t,e){return We((vn(e)?e:m).querySelectorAll(t))},zn=function(t,e){return(vn(e)?e:m).querySelector(t)||null},xn=function(t,e){return!!vn(t)&&hn.call(t,e)},Cn=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!vn(e))return null;var r=dn.call(e,t);return n?r:r===e?null:r},Mn=function(t,e){return!(!t||!Ot(t.contains))&&t.contains(e)},Sn=function(t){return m.getElementById(/^#/.test(t)?t.slice(1):t)||null},An=function(t,e){e&&vn(t)&&t.classList&&t.classList.add(e)},Tn=function(t,e){e&&vn(t)&&t.classList&&t.classList.remove(e)},jn=function(t,e){return!!(e&&vn(t)&&t.classList)&&t.classList.contains(e)},En=function(t,e,n){e&&vn(t)&&t.setAttribute(e,n)},In=function(t,e){e&&vn(t)&&t.removeAttribute(e)},Ln=function(t,e){return e&&vn(t)?t.getAttribute(e):null},Pn=function(t,e){return e&&vn(t)?t.hasAttribute(e):null},kn=function(t,e,n){e&&vn(t)&&(t.style[e]=n)},Fn=function(t,e){e&&vn(t)&&(t.style[e]="")},Vn=function(t,e){return e&&vn(t)&&t.style[e]||null},Bn=function(t){return vn(t)?t.getBoundingClientRect():null},Rn=function(t){var e=v.getComputedStyle;return e&&vn(t)?e(t):{}},Hn=function(t){var e={top:0,left:0};if(!vn(t)||0===t.getClientRects().length)return e;var n=Bn(t);if(n){var r=t.ownerDocument.defaultView;e.top=n.top+r.pageYOffset,e.left=n.left+r.pageXOffset}return e},Dn=function(t){var e={top:0,left:0};if(!vn(t))return e;var n={top:0,left:0},r=Rn(t);if("fixed"===r.position)e=Bn(t)||e;else{e=Hn(t);for(var i=t.ownerDocument,a=t.offsetParent||i.documentElement;a&&(a===i.body||a===i.documentElement)&&"static"===Rn(a).position;)a=a.parentNode;if(a&&a!==t&&a.nodeType===Node.ELEMENT_NODE){n=Hn(a);var o=Rn(a);n.top+=Je(o.borderTopWidth,0),n.left+=Je(o.borderLeftWidth,0)}}return{top:e.top-n.top-Je(r.marginTop,0),left:e.left-n.left-Je(r.marginLeft,0)}},Nn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return wn(un,t).filter(bn).filter(function(t){return t.tabIndex>-1&&!t.disabled})},$n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{t.focus(e)}catch(t){}return yn(t)},Gn=function(t){try{t.blur()}catch(t){}return!yn(t)},Un=function(t){var e=Ft(null);return function(){for(var n=arguments.length,r=new Array(n),i=0;i1&&void 0!==arguments[1]?arguments[1]:void 0,n=Wn.$bvConfig;return n?n.getConfigValue(t,e):Jt(e)},Xn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return e?qn("".concat(t,".").concat(e),n):qn(t,{})},Yn=function(){return qn("breakpoints",x)},Kn=Un(function(){return Yn()}),Zn=function(){return Jt(Kn())},Jn=Un(function(){var t=Zn();return t[0]="",t});function Qn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function tr(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,i=!0===n;return r=i?r:n,tr(tr(tr({},t?{type:t}:{}),i?{required:i}:yt(e)?{}:{default:St(e)?function(){return e}:e}),yt(r)?{}:{validator:r})},or=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Qt;if(Mt(t))return t.map(e);var n={};for(var r in t)Dt(t,r)&&(n[e(r)]=St(t[r])?Nt(t[r]):t[r]);return n},sr=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Qt;return(Mt(t)?t.slice():Ht(t)).reduce(function(t,r){return t[n(r)]=e[r],t},{})},lr=function(t,e,n){return tr(tr({},Jt(t)),{},{default:function(){var r=Xn(n,e,t.default);return Ot(r)?r():r}})},cr=function(t,e){return Ht(t).reduce(function(n,r){return tr(tr({},n),{},er({},r,lr(t[r],r,e)))},{})},ur=lr({},"","").default.name,hr=function(t){return Ot(t)&&t.name!==ur};var dr=function(t){var e,n,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.type,s=void 0===o?void 0:o,l=a.defaultValue,c=void 0===l?void 0:l,u=a.validator,h=void 0===u?void 0:u,d=a.event,p=void 0===d?"input":d,f=(e={},n=t,i=ar(s,c,h),n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e);return{mixin:r.default.extend({model:{prop:t,event:p},props:f}),props:f,prop:t,event:p}},pr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(t=Xe(t).filter(Qt)).some(function(t){return e[t]||n[t]})},fr=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t=Xe(t).filter(Qt);for(var a=0;a0&&void 0!==arguments[0]?arguments[0]:"default",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$scopedSlots,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$slots;return pr(t,e,n)},normalizeSlot:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$scopedSlots,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.$slots,i=fr(t,e,n,r);return i?Xe(i):i}}}),mr=function(t){return _?St(t)?t:{capture:!!t||!1}:!!(St(t)?t.capture:t)},gr=function(t,e,n,r){t&&t.addEventListener&&t.addEventListener(e,n,mr(r))},yr=function(t,e,n,r){t&&t.removeEventListener&&t.removeEventListener(e,n,mr(r))},br=function(t){for(var e=t?gr:yr,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{},n=e.preventDefault,r=void 0===n||n,i=e.propagation,a=void 0===i||i,o=e.immediatePropagation,s=void 0!==o&&o;r&&t.preventDefault(),a&&t.stopPropagation(),s&&t.stopImmediatePropagation()},Or=function(t){return tn(t.replace(M,""))},wr=function(t,e){return[we,Or(t),e].join("::")},zr=function(t,e){return[we,e,Or(t)].join("::")};var xr=cr({ariaLabel:ar(Ie,"Close"),content:ar(Ie,"×"),disabled:ar(Me,!1),textVariant:ar(Ie)},"BButtonClose"),Cr=r.default.extend({name:"BButtonClose",functional:!0,props:xr,render:function(t,e){var n,r,i,a=e.props,o=e.data,s=e.slots,c=e.scopedSlots,u=s(),h=c||{},d={staticClass:"close",class:(n={},r="text-".concat(a.textVariant),i=a.textVariant,r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n),attrs:{type:"button",disabled:a.disabled,"aria-label":a.ariaLabel?String(a.ariaLabel):null},on:{click:function(t){a.disabled&&jt(t)&&_r(t)}}};return pr("default",h,u)||(d.domProps={innerHTML:a.content}),t("button",l(o,d),fr("default",{},h,u))}});function Mr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function Sr(t){for(var e=1;e0?t:0},$r=function(t){return""===t||!0===t||!(Ze(t,0)<1)&&!!t},Gr=cr(Ut(kr(kr({},Rr),{},{dismissLabel:ar(Ie,"Close"),dismissible:ar(Me,!1),fade:ar(Me,!1),variant:ar(Ie,"info")})),"BAlert"),Ur=r.default.extend({name:"BAlert",mixins:[Br,vr],props:Gr,data:function(){return{countDown:0,localShow:$r(this[Hr])}},watch:(Tr={},Fr(Tr,Hr,function(t){this.countDown=Nr(t),this.localShow=$r(t)}),Fr(Tr,"countDown",function(t){var e=this;this.clearCountDownInterval();var n=this[Hr];Ct(n)&&(this.$emit("dismiss-count-down",t),n!==t&&this.$emit(Dr,t),t>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout(function(){e.countDown--},1e3)):this.$nextTick(function(){pn(function(){e.localShow=!1})}))}),Fr(Tr,"localShow",function(t){var e=this[Hr];t||!this.dismissible&&!Ct(e)||this.$emit("dismissed"),Ct(e)||e===t||this.$emit(Dr,t)}),Tr),created:function(){this.$_filterTimer=null;var t=this[Hr];this.countDown=Nr(t),this.localShow=$r(t)},beforeDestroy:function(){this.clearCountDownInterval()},methods:{dismiss:function(){this.clearCountDownInterval(),this.countDown=0,this.localShow=!1},clearCountDownInterval:function(){clearTimeout(this.$_countDownTimeout),this.$_countDownTimeout=null}},render:function(t){var e=t();if(this.localShow){var n=this.dismissible,r=this.variant,i=t();n&&(i=t(Cr,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot("dismiss")])),e=t("div",{staticClass:"alert",class:Fr({"alert-dismissible":n},"alert-".concat(r),r),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this._uid},[i,this.normalizeSlot()])}return t(Lr,{props:{noFade:!this.fade}},[e])}}),Wr=ve({components:{BAlert:Ur}}),qr=Math.min,Xr=Math.max,Yr=Math.abs,Kr=Math.ceil,Zr=Math.floor,Jr=Math.pow,Qr=Math.round;function ti(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){i=!0,a=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return ei(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ei(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ei(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},e=t.href,n=t.to,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(e)return e;if(ui(r))return null;if(zt(n))return n||a;if(At(n)&&(n.path||n.query||n.hash)){var o=on(n.path),s=function(t){if(!At(t))return"";var e=Ht(t).map(function(e){var n=t[e];return yt(n)?"":bt(n)?oi(e):Mt(n)?n.reduce(function(t,n){return bt(n)?t.push(oi(e)):yt(n)||t.push(oi(e)+"="+oi(n)),t},[]).join("&"):oi(e)+"="+oi(n)}).filter(function(t){return t.length>0}).join("&");return e?"?".concat(e):""}(n.query),l=on(n.hash);return l=l&&"#"!==l.charAt(0)?"#".concat(l):l,"".concat(o).concat(s).concat(l)||a}return i};function di(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var pi={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},fi={width:null,height:null,focusable:null,role:null,"aria-label":null},vi={animation:ar(Ie),content:ar(Ie),flipH:ar(Me,!1),flipV:ar(Me,!1),fontScale:ar(Ne,1),rotate:ar(Ne,0),scale:ar(Ne,1),shiftH:ar(Ne,0),shiftV:ar(Ne,0),stacked:ar(Me,!1),title:ar(Ie),variant:ar(Ie)},mi=r.default.extend({name:"BIconBase",functional:!0,props:vi,render:function(t,e){var n,r=e.data,i=e.props,a=e.children,o=i.animation,s=i.content,c=i.flipH,u=i.flipV,h=i.stacked,d=i.title,p=i.variant,f=Xr(Je(i.fontScale,1),0)||1,v=Xr(Je(i.scale,1),0)||1,m=Je(i.rotate,0),g=Je(i.shiftH,0),y=Je(i.shiftV,0),b=c||u||1!==v,_=b||m,O=g||y,w=!_t(s),z=t("g",{attrs:{transform:[_?"translate(8 8)":null,b?"scale(".concat((c?-1:1)*v," ").concat((u?-1:1)*v,")"):null,m?"rotate(".concat(m,")"):null,_?"translate(-8 -8)":null].filter(Qt).join(" ")||null},domProps:w?{innerHTML:s||""}:{}},a);O&&(z=t("g",{attrs:{transform:"translate(".concat(16*g/16," ").concat(-16*y/16,")")}},[z])),h&&(z=t("g",[z]));var x=[d?t("title",d):null,z].filter(Qt);return t("svg",l({staticClass:"b-icon bi",class:(n={},di(n,"text-".concat(p),p),di(n,"b-icon-animation-".concat(o),o),n),attrs:pi,style:h?{}:{fontSize:1===f?null:"".concat(100*f,"%")}},r,h?{attrs:fi}:{},{attrs:{xmlns:h?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),x)}});function gi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function yi(t){for(var e=1;e'),zi=_i("AlarmFill",''),xi=_i("AlignBottom",''),Ci=_i("AlignCenter",''),Mi=_i("AlignEnd",''),Si=_i("AlignMiddle",''),Ai=_i("AlignStart",''),Ti=_i("AlignTop",''),ji=_i("Alt",''),Ei=_i("App",''),Ii=_i("AppIndicator",''),Li=_i("Archive",''),Pi=_i("ArchiveFill",''),ki=_i("Arrow90degDown",''),Fi=_i("Arrow90degLeft",''),Vi=_i("Arrow90degRight",''),Bi=_i("Arrow90degUp",''),Ri=_i("ArrowBarDown",''),Hi=_i("ArrowBarLeft",''),Di=_i("ArrowBarRight",''),Ni=_i("ArrowBarUp",''),$i=_i("ArrowClockwise",''),Gi=_i("ArrowCounterclockwise",''),Ui=_i("ArrowDown",''),Wi=_i("ArrowDownCircle",''),qi=_i("ArrowDownCircleFill",''),Xi=_i("ArrowDownLeft",''),Yi=_i("ArrowDownLeftCircle",''),Ki=_i("ArrowDownLeftCircleFill",''),Zi=_i("ArrowDownLeftSquare",''),Ji=_i("ArrowDownLeftSquareFill",''),Qi=_i("ArrowDownRight",''),ta=_i("ArrowDownRightCircle",''),ea=_i("ArrowDownRightCircleFill",''),na=_i("ArrowDownRightSquare",''),ra=_i("ArrowDownRightSquareFill",''),ia=_i("ArrowDownShort",''),aa=_i("ArrowDownSquare",''),oa=_i("ArrowDownSquareFill",''),sa=_i("ArrowDownUp",''),la=_i("ArrowLeft",''),ca=_i("ArrowLeftCircle",''),ua=_i("ArrowLeftCircleFill",''),ha=_i("ArrowLeftRight",''),da=_i("ArrowLeftShort",''),pa=_i("ArrowLeftSquare",''),fa=_i("ArrowLeftSquareFill",''),va=_i("ArrowRepeat",''),ma=_i("ArrowReturnLeft",''),ga=_i("ArrowReturnRight",''),ya=_i("ArrowRight",''),ba=_i("ArrowRightCircle",''),_a=_i("ArrowRightCircleFill",''),Oa=_i("ArrowRightShort",''),wa=_i("ArrowRightSquare",''),za=_i("ArrowRightSquareFill",''),xa=_i("ArrowUp",''),Ca=_i("ArrowUpCircle",''),Ma=_i("ArrowUpCircleFill",''),Sa=_i("ArrowUpLeft",''),Aa=_i("ArrowUpLeftCircle",''),Ta=_i("ArrowUpLeftCircleFill",''),ja=_i("ArrowUpLeftSquare",''),Ea=_i("ArrowUpLeftSquareFill",''),Ia=_i("ArrowUpRight",''),La=_i("ArrowUpRightCircle",''),Pa=_i("ArrowUpRightCircleFill",''),ka=_i("ArrowUpRightSquare",''),Fa=_i("ArrowUpRightSquareFill",''),Va=_i("ArrowUpShort",''),Ba=_i("ArrowUpSquare",''),Ra=_i("ArrowUpSquareFill",''),Ha=_i("ArrowsAngleContract",''),Da=_i("ArrowsAngleExpand",''),Na=_i("ArrowsCollapse",''),$a=_i("ArrowsExpand",''),Ga=_i("ArrowsFullscreen",''),Ua=_i("ArrowsMove",''),Wa=_i("AspectRatio",''),qa=_i("AspectRatioFill",''),Xa=_i("Asterisk",''),Ya=_i("At",''),Ka=_i("Award",''),Za=_i("AwardFill",''),Ja=_i("Back",''),Qa=_i("Backspace",''),to=_i("BackspaceFill",''),eo=_i("BackspaceReverse",''),no=_i("BackspaceReverseFill",''),ro=_i("Badge4k",''),io=_i("Badge4kFill",''),ao=_i("Badge8k",''),oo=_i("Badge8kFill",''),so=_i("BadgeAd",''),lo=_i("BadgeAdFill",''),co=_i("BadgeCc",''),uo=_i("BadgeCcFill",''),ho=_i("BadgeHd",''),po=_i("BadgeHdFill",''),fo=_i("BadgeTm",''),vo=_i("BadgeTmFill",''),mo=_i("BadgeVo",''),go=_i("BadgeVoFill",''),yo=_i("Bag",''),bo=_i("BagCheck",''),_o=_i("BagCheckFill",''),Oo=_i("BagDash",''),wo=_i("BagDashFill",''),zo=_i("BagFill",''),xo=_i("BagPlus",''),Co=_i("BagPlusFill",''),Mo=_i("BagX",''),So=_i("BagXFill",''),Ao=_i("BarChart",''),To=_i("BarChartFill",''),jo=_i("BarChartLine",''),Eo=_i("BarChartLineFill",''),Io=_i("BarChartSteps",''),Lo=_i("Basket",''),Po=_i("Basket2",''),ko=_i("Basket2Fill",''),Fo=_i("Basket3",''),Vo=_i("Basket3Fill",''),Bo=_i("BasketFill",''),Ro=_i("Battery",''),Ho=_i("BatteryCharging",''),Do=_i("BatteryFull",''),No=_i("BatteryHalf",''),$o=_i("Bell",''),Go=_i("BellFill",''),Uo=_i("Bezier",''),Wo=_i("Bezier2",''),qo=_i("Bicycle",''),Xo=_i("Binoculars",''),Yo=_i("BinocularsFill",''),Ko=_i("BlockquoteLeft",''),Zo=_i("BlockquoteRight",''),Jo=_i("Book",''),Qo=_i("BookFill",''),ts=_i("BookHalf",''),es=_i("Bookmark",''),ns=_i("BookmarkCheck",''),rs=_i("BookmarkCheckFill",''),is=_i("BookmarkDash",''),as=_i("BookmarkDashFill",''),os=_i("BookmarkFill",''),ss=_i("BookmarkHeart",''),ls=_i("BookmarkHeartFill",''),cs=_i("BookmarkPlus",''),us=_i("BookmarkPlusFill",''),hs=_i("BookmarkStar",''),ds=_i("BookmarkStarFill",''),ps=_i("BookmarkX",''),fs=_i("BookmarkXFill",''),vs=_i("Bookmarks",''),ms=_i("BookmarksFill",''),gs=_i("Bookshelf",''),ys=_i("Bootstrap",''),bs=_i("BootstrapFill",''),_s=_i("BootstrapReboot",''),Os=_i("BorderStyle",''),ws=_i("BorderWidth",''),zs=_i("BoundingBox",''),xs=_i("BoundingBoxCircles",''),Cs=_i("Box",''),Ms=_i("BoxArrowDown",''),Ss=_i("BoxArrowDownLeft",''),As=_i("BoxArrowDownRight",''),Ts=_i("BoxArrowInDown",''),js=_i("BoxArrowInDownLeft",''),Es=_i("BoxArrowInDownRight",''),Is=_i("BoxArrowInLeft",''),Ls=_i("BoxArrowInRight",''),Ps=_i("BoxArrowInUp",''),ks=_i("BoxArrowInUpLeft",''),Fs=_i("BoxArrowInUpRight",''),Vs=_i("BoxArrowLeft",''),Bs=_i("BoxArrowRight",''),Rs=_i("BoxArrowUp",''),Hs=_i("BoxArrowUpLeft",''),Ds=_i("BoxArrowUpRight",''),Ns=_i("BoxSeam",''),$s=_i("Braces",''),Gs=_i("Bricks",''),Us=_i("Briefcase",''),Ws=_i("BriefcaseFill",''),qs=_i("BrightnessAltHigh",''),Xs=_i("BrightnessAltHighFill",''),Ys=_i("BrightnessAltLow",''),Ks=_i("BrightnessAltLowFill",''),Zs=_i("BrightnessHigh",''),Js=_i("BrightnessHighFill",''),Qs=_i("BrightnessLow",''),tl=_i("BrightnessLowFill",''),el=_i("Broadcast",''),nl=_i("BroadcastPin",''),rl=_i("Brush",''),il=_i("BrushFill",''),al=_i("Bucket",''),ol=_i("BucketFill",''),sl=_i("Bug",''),ll=_i("BugFill",''),cl=_i("Building",''),ul=_i("Bullseye",''),hl=_i("Calculator",''),dl=_i("CalculatorFill",''),pl=_i("Calendar",''),fl=_i("Calendar2",''),vl=_i("Calendar2Check",''),ml=_i("Calendar2CheckFill",''),gl=_i("Calendar2Date",''),yl=_i("Calendar2DateFill",''),bl=_i("Calendar2Day",''),_l=_i("Calendar2DayFill",''),Ol=_i("Calendar2Event",''),wl=_i("Calendar2EventFill",''),zl=_i("Calendar2Fill",''),xl=_i("Calendar2Minus",''),Cl=_i("Calendar2MinusFill",''),Ml=_i("Calendar2Month",''),Sl=_i("Calendar2MonthFill",''),Al=_i("Calendar2Plus",''),Tl=_i("Calendar2PlusFill",''),jl=_i("Calendar2Range",''),El=_i("Calendar2RangeFill",''),Il=_i("Calendar2Week",''),Ll=_i("Calendar2WeekFill",''),Pl=_i("Calendar2X",''),kl=_i("Calendar2XFill",''),Fl=_i("Calendar3",''),Vl=_i("Calendar3Event",''),Bl=_i("Calendar3EventFill",''),Rl=_i("Calendar3Fill",''),Hl=_i("Calendar3Range",''),Dl=_i("Calendar3RangeFill",''),Nl=_i("Calendar3Week",''),$l=_i("Calendar3WeekFill",''),Gl=_i("Calendar4",''),Ul=_i("Calendar4Event",''),Wl=_i("Calendar4Range",''),ql=_i("Calendar4Week",''),Xl=_i("CalendarCheck",''),Yl=_i("CalendarCheckFill",''),Kl=_i("CalendarDate",''),Zl=_i("CalendarDateFill",''),Jl=_i("CalendarDay",''),Ql=_i("CalendarDayFill",''),tc=_i("CalendarEvent",''),ec=_i("CalendarEventFill",''),nc=_i("CalendarFill",''),rc=_i("CalendarMinus",''),ic=_i("CalendarMinusFill",''),ac=_i("CalendarMonth",''),oc=_i("CalendarMonthFill",''),sc=_i("CalendarPlus",''),lc=_i("CalendarPlusFill",''),cc=_i("CalendarRange",''),uc=_i("CalendarRangeFill",''),hc=_i("CalendarWeek",''),dc=_i("CalendarWeekFill",''),pc=_i("CalendarX",''),fc=_i("CalendarXFill",''),vc=_i("Camera",''),mc=_i("Camera2",''),gc=_i("CameraFill",''),yc=_i("CameraReels",''),bc=_i("CameraReelsFill",''),_c=_i("CameraVideo",''),Oc=_i("CameraVideoFill",''),wc=_i("CameraVideoOff",''),zc=_i("CameraVideoOffFill",''),xc=_i("Capslock",''),Cc=_i("CapslockFill",''),Mc=_i("CardChecklist",''),Sc=_i("CardHeading",''),Ac=_i("CardImage",''),Tc=_i("CardList",''),jc=_i("CardText",''),Ec=_i("CaretDown",''),Ic=_i("CaretDownFill",''),Lc=_i("CaretDownSquare",''),Pc=_i("CaretDownSquareFill",''),kc=_i("CaretLeft",''),Fc=_i("CaretLeftFill",''),Vc=_i("CaretLeftSquare",''),Bc=_i("CaretLeftSquareFill",''),Rc=_i("CaretRight",''),Hc=_i("CaretRightFill",''),Dc=_i("CaretRightSquare",''),Nc=_i("CaretRightSquareFill",''),$c=_i("CaretUp",''),Gc=_i("CaretUpFill",''),Uc=_i("CaretUpSquare",''),Wc=_i("CaretUpSquareFill",''),qc=_i("Cart",''),Xc=_i("Cart2",''),Yc=_i("Cart3",''),Kc=_i("Cart4",''),Zc=_i("CartCheck",''),Jc=_i("CartCheckFill",''),Qc=_i("CartDash",''),tu=_i("CartDashFill",''),eu=_i("CartFill",''),nu=_i("CartPlus",''),ru=_i("CartPlusFill",''),iu=_i("CartX",''),au=_i("CartXFill",''),ou=_i("Cash",''),su=_i("CashStack",''),lu=_i("Cast",''),cu=_i("Chat",''),uu=_i("ChatDots",''),hu=_i("ChatDotsFill",''),du=_i("ChatFill",''),pu=_i("ChatLeft",''),fu=_i("ChatLeftDots",''),vu=_i("ChatLeftDotsFill",''),mu=_i("ChatLeftFill",''),gu=_i("ChatLeftQuote",''),yu=_i("ChatLeftQuoteFill",''),bu=_i("ChatLeftText",''),_u=_i("ChatLeftTextFill",''),Ou=_i("ChatQuote",''),wu=_i("ChatQuoteFill",''),zu=_i("ChatRight",''),xu=_i("ChatRightDots",''),Cu=_i("ChatRightDotsFill",''),Mu=_i("ChatRightFill",''),Su=_i("ChatRightQuote",''),Au=_i("ChatRightQuoteFill",''),Tu=_i("ChatRightText",''),ju=_i("ChatRightTextFill",''),Eu=_i("ChatSquare",''),Iu=_i("ChatSquareDots",''),Lu=_i("ChatSquareDotsFill",''),Pu=_i("ChatSquareFill",''),ku=_i("ChatSquareQuote",''),Fu=_i("ChatSquareQuoteFill",''),Vu=_i("ChatSquareText",''),Bu=_i("ChatSquareTextFill",''),Ru=_i("ChatText",''),Hu=_i("ChatTextFill",''),Du=_i("Check",''),Nu=_i("Check2",''),$u=_i("Check2All",''),Gu=_i("Check2Circle",''),Uu=_i("Check2Square",''),Wu=_i("CheckAll",''),qu=_i("CheckCircle",''),Xu=_i("CheckCircleFill",''),Yu=_i("CheckSquare",''),Ku=_i("CheckSquareFill",''),Zu=_i("ChevronBarContract",''),Ju=_i("ChevronBarDown",''),Qu=_i("ChevronBarExpand",''),th=_i("ChevronBarLeft",''),eh=_i("ChevronBarRight",''),nh=_i("ChevronBarUp",''),rh=_i("ChevronCompactDown",''),ih=_i("ChevronCompactLeft",''),ah=_i("ChevronCompactRight",''),oh=_i("ChevronCompactUp",''),sh=_i("ChevronContract",''),lh=_i("ChevronDoubleDown",''),ch=_i("ChevronDoubleLeft",''),uh=_i("ChevronDoubleRight",''),hh=_i("ChevronDoubleUp",''),dh=_i("ChevronDown",''),ph=_i("ChevronExpand",''),fh=_i("ChevronLeft",''),vh=_i("ChevronRight",''),mh=_i("ChevronUp",''),gh=_i("Circle",''),yh=_i("CircleFill",''),bh=_i("CircleHalf",''),_h=_i("CircleSquare",''),Oh=_i("Clipboard",''),wh=_i("ClipboardCheck",''),zh=_i("ClipboardData",''),xh=_i("ClipboardMinus",''),Ch=_i("ClipboardPlus",''),Mh=_i("ClipboardX",''),Sh=_i("Clock",''),Ah=_i("ClockFill",''),Th=_i("ClockHistory",''),jh=_i("Cloud",''),Eh=_i("CloudArrowDown",''),Ih=_i("CloudArrowDownFill",''),Lh=_i("CloudArrowUp",''),Ph=_i("CloudArrowUpFill",''),kh=_i("CloudCheck",''),Fh=_i("CloudCheckFill",''),Vh=_i("CloudDownload",''),Bh=_i("CloudDownloadFill",''),Rh=_i("CloudFill",''),Hh=_i("CloudMinus",''),Dh=_i("CloudMinusFill",''),Nh=_i("CloudPlus",''),$h=_i("CloudPlusFill",''),Gh=_i("CloudSlash",''),Uh=_i("CloudSlashFill",''),Wh=_i("CloudUpload",''),qh=_i("CloudUploadFill",''),Xh=_i("Code",''),Yh=_i("CodeSlash",''),Kh=_i("CodeSquare",''),Zh=_i("Collection",''),Jh=_i("CollectionFill",''),Qh=_i("CollectionPlay",''),td=_i("CollectionPlayFill",''),ed=_i("Columns",''),nd=_i("ColumnsGap",''),rd=_i("Command",''),id=_i("Compass",''),ad=_i("CompassFill",''),od=_i("Cone",''),sd=_i("ConeStriped",''),ld=_i("Controller",''),cd=_i("Cpu",''),ud=_i("CpuFill",''),hd=_i("CreditCard",''),dd=_i("CreditCard2Back",''),pd=_i("CreditCard2BackFill",''),fd=_i("CreditCard2Front",''),vd=_i("CreditCard2FrontFill",''),md=_i("CreditCardFill",''),gd=_i("Crop",''),yd=_i("Cup",''),bd=_i("CupFill",''),_d=_i("CupStraw",''),Od=_i("Cursor",''),wd=_i("CursorFill",''),zd=_i("CursorText",''),xd=_i("Dash",''),Cd=_i("DashCircle",''),Md=_i("DashCircleFill",''),Sd=_i("DashSquare",''),Ad=_i("DashSquareFill",''),Td=_i("Diagram2",''),jd=_i("Diagram2Fill",''),Ed=_i("Diagram3",''),Id=_i("Diagram3Fill",''),Ld=_i("Diamond",''),Pd=_i("DiamondFill",''),kd=_i("DiamondHalf",''),Fd=_i("Dice1",''),Vd=_i("Dice1Fill",''),Bd=_i("Dice2",''),Rd=_i("Dice2Fill",''),Hd=_i("Dice3",''),Dd=_i("Dice3Fill",''),Nd=_i("Dice4",''),$d=_i("Dice4Fill",''),Gd=_i("Dice5",''),Ud=_i("Dice5Fill",''),Wd=_i("Dice6",''),qd=_i("Dice6Fill",''),Xd=_i("Disc",''),Yd=_i("DiscFill",''),Kd=_i("Discord",''),Zd=_i("Display",''),Jd=_i("DisplayFill",''),Qd=_i("DistributeHorizontal",''),tp=_i("DistributeVertical",''),ep=_i("DoorClosed",''),np=_i("DoorClosedFill",''),rp=_i("DoorOpen",''),ip=_i("DoorOpenFill",''),ap=_i("Dot",''),op=_i("Download",''),sp=_i("Droplet",''),lp=_i("DropletFill",''),cp=_i("DropletHalf",''),up=_i("Earbuds",''),hp=_i("Easel",''),dp=_i("EaselFill",''),pp=_i("Egg",''),fp=_i("EggFill",''),vp=_i("EggFried",''),mp=_i("Eject",''),gp=_i("EjectFill",''),yp=_i("EmojiAngry",''),bp=_i("EmojiAngryFill",''),_p=_i("EmojiDizzy",''),Op=_i("EmojiDizzyFill",''),wp=_i("EmojiExpressionless",''),zp=_i("EmojiExpressionlessFill",''),xp=_i("EmojiFrown",''),Cp=_i("EmojiFrownFill",''),Mp=_i("EmojiHeartEyes",''),Sp=_i("EmojiHeartEyesFill",''),Ap=_i("EmojiLaughing",''),Tp=_i("EmojiLaughingFill",''),jp=_i("EmojiNeutral",''),Ep=_i("EmojiNeutralFill",''),Ip=_i("EmojiSmile",''),Lp=_i("EmojiSmileFill",''),Pp=_i("EmojiSmileUpsideDown",''),kp=_i("EmojiSmileUpsideDownFill",''),Fp=_i("EmojiSunglasses",''),Vp=_i("EmojiSunglassesFill",''),Bp=_i("EmojiWink",''),Rp=_i("EmojiWinkFill",''),Hp=_i("Envelope",''),Dp=_i("EnvelopeFill",''),Np=_i("EnvelopeOpen",''),$p=_i("EnvelopeOpenFill",''),Gp=_i("Exclamation",''),Up=_i("ExclamationCircle",''),Wp=_i("ExclamationCircleFill",''),qp=_i("ExclamationDiamond",''),Xp=_i("ExclamationDiamondFill",''),Yp=_i("ExclamationOctagon",''),Kp=_i("ExclamationOctagonFill",''),Zp=_i("ExclamationSquare",''),Jp=_i("ExclamationSquareFill",''),Qp=_i("ExclamationTriangle",''),tf=_i("ExclamationTriangleFill",''),ef=_i("Exclude",''),nf=_i("Eye",''),rf=_i("EyeFill",''),af=_i("EyeSlash",''),of=_i("EyeSlashFill",''),sf=_i("Eyeglasses",''),lf=_i("Facebook",''),cf=_i("File",''),uf=_i("FileArrowDown",''),hf=_i("FileArrowDownFill",''),df=_i("FileArrowUp",''),pf=_i("FileArrowUpFill",''),ff=_i("FileBarGraph",''),vf=_i("FileBarGraphFill",''),mf=_i("FileBinary",''),gf=_i("FileBinaryFill",''),yf=_i("FileBreak",''),bf=_i("FileBreakFill",''),_f=_i("FileCheck",''),Of=_i("FileCheckFill",''),wf=_i("FileCode",''),zf=_i("FileCodeFill",''),xf=_i("FileDiff",''),Cf=_i("FileDiffFill",''),Mf=_i("FileEarmark",''),Sf=_i("FileEarmarkArrowDown",''),Af=_i("FileEarmarkArrowDownFill",''),Tf=_i("FileEarmarkArrowUp",''),jf=_i("FileEarmarkArrowUpFill",''),Ef=_i("FileEarmarkBarGraph",''),If=_i("FileEarmarkBarGraphFill",''),Lf=_i("FileEarmarkBinary",''),Pf=_i("FileEarmarkBinaryFill",''),kf=_i("FileEarmarkBreak",''),Ff=_i("FileEarmarkBreakFill",''),Vf=_i("FileEarmarkCheck",''),Bf=_i("FileEarmarkCheckFill",''),Rf=_i("FileEarmarkCode",''),Hf=_i("FileEarmarkCodeFill",''),Df=_i("FileEarmarkDiff",''),Nf=_i("FileEarmarkDiffFill",''),$f=_i("FileEarmarkEasel",''),Gf=_i("FileEarmarkEaselFill",''),Uf=_i("FileEarmarkExcel",''),Wf=_i("FileEarmarkExcelFill",''),qf=_i("FileEarmarkFill",''),Xf=_i("FileEarmarkFont",''),Yf=_i("FileEarmarkFontFill",''),Kf=_i("FileEarmarkImage",''),Zf=_i("FileEarmarkImageFill",''),Jf=_i("FileEarmarkLock",''),Qf=_i("FileEarmarkLock2",''),tv=_i("FileEarmarkLock2Fill",''),ev=_i("FileEarmarkLockFill",''),nv=_i("FileEarmarkMedical",''),rv=_i("FileEarmarkMedicalFill",''),iv=_i("FileEarmarkMinus",''),av=_i("FileEarmarkMinusFill",''),ov=_i("FileEarmarkMusic",''),sv=_i("FileEarmarkMusicFill",''),lv=_i("FileEarmarkPerson",''),cv=_i("FileEarmarkPersonFill",''),uv=_i("FileEarmarkPlay",''),hv=_i("FileEarmarkPlayFill",''),dv=_i("FileEarmarkPlus",''),pv=_i("FileEarmarkPlusFill",''),fv=_i("FileEarmarkPost",''),vv=_i("FileEarmarkPostFill",''),mv=_i("FileEarmarkPpt",''),gv=_i("FileEarmarkPptFill",''),yv=_i("FileEarmarkRichtext",''),bv=_i("FileEarmarkRichtextFill",''),_v=_i("FileEarmarkRuled",''),Ov=_i("FileEarmarkRuledFill",''),wv=_i("FileEarmarkSlides",''),zv=_i("FileEarmarkSlidesFill",''),xv=_i("FileEarmarkSpreadsheet",''),Cv=_i("FileEarmarkSpreadsheetFill",''),Mv=_i("FileEarmarkText",''),Sv=_i("FileEarmarkTextFill",''),Av=_i("FileEarmarkWord",''),Tv=_i("FileEarmarkWordFill",''),jv=_i("FileEarmarkX",''),Ev=_i("FileEarmarkXFill",''),Iv=_i("FileEarmarkZip",''),Lv=_i("FileEarmarkZipFill",''),Pv=_i("FileEasel",''),kv=_i("FileEaselFill",''),Fv=_i("FileExcel",''),Vv=_i("FileExcelFill",''),Bv=_i("FileFill",''),Rv=_i("FileFont",''),Hv=_i("FileFontFill",''),Dv=_i("FileImage",''),Nv=_i("FileImageFill",''),$v=_i("FileLock",''),Gv=_i("FileLock2",''),Uv=_i("FileLock2Fill",''),Wv=_i("FileLockFill",''),qv=_i("FileMedical",''),Xv=_i("FileMedicalFill",''),Yv=_i("FileMinus",''),Kv=_i("FileMinusFill",''),Zv=_i("FileMusic",''),Jv=_i("FileMusicFill",''),Qv=_i("FilePerson",''),tm=_i("FilePersonFill",''),em=_i("FilePlay",''),nm=_i("FilePlayFill",''),rm=_i("FilePlus",''),im=_i("FilePlusFill",''),am=_i("FilePost",''),om=_i("FilePostFill",''),sm=_i("FilePpt",''),lm=_i("FilePptFill",''),cm=_i("FileRichtext",''),um=_i("FileRichtextFill",''),hm=_i("FileRuled",''),dm=_i("FileRuledFill",''),pm=_i("FileSlides",''),fm=_i("FileSlidesFill",''),vm=_i("FileSpreadsheet",''),mm=_i("FileSpreadsheetFill",''),gm=_i("FileText",''),ym=_i("FileTextFill",''),bm=_i("FileWord",''),_m=_i("FileWordFill",''),Om=_i("FileX",''),wm=_i("FileXFill",''),zm=_i("FileZip",''),xm=_i("FileZipFill",''),Cm=_i("Files",''),Mm=_i("FilesAlt",''),Sm=_i("Film",''),Am=_i("Filter",''),Tm=_i("FilterCircle",''),jm=_i("FilterCircleFill",''),Em=_i("FilterLeft",''),Im=_i("FilterRight",''),Lm=_i("FilterSquare",''),Pm=_i("FilterSquareFill",''),km=_i("Flag",''),Fm=_i("FlagFill",''),Vm=_i("Flower1",''),Bm=_i("Flower2",''),Rm=_i("Flower3",''),Hm=_i("Folder",''),Dm=_i("Folder2",''),Nm=_i("Folder2Open",''),$m=_i("FolderCheck",''),Gm=_i("FolderFill",''),Um=_i("FolderMinus",''),Wm=_i("FolderPlus",''),qm=_i("FolderSymlink",''),Xm=_i("FolderSymlinkFill",''),Ym=_i("FolderX",''),Km=_i("Fonts",''),Zm=_i("Forward",''),Jm=_i("ForwardFill",''),Qm=_i("Front",''),tg=_i("Fullscreen",''),eg=_i("FullscreenExit",''),ng=_i("Funnel",''),rg=_i("FunnelFill",''),ig=_i("Gear",''),ag=_i("GearFill",''),og=_i("GearWide",''),sg=_i("GearWideConnected",''),lg=_i("Gem",''),cg=_i("Geo",''),ug=_i("GeoAlt",''),hg=_i("GeoAltFill",''),dg=_i("GeoFill",''),pg=_i("Gift",''),fg=_i("GiftFill",''),vg=_i("Github",''),mg=_i("Globe",''),gg=_i("Globe2",''),yg=_i("Google",''),bg=_i("GraphDown",''),_g=_i("GraphUp",''),Og=_i("Grid",''),wg=_i("Grid1x2",''),zg=_i("Grid1x2Fill",''),xg=_i("Grid3x2",''),Cg=_i("Grid3x2Gap",''),Mg=_i("Grid3x2GapFill",''),Sg=_i("Grid3x3",''),Ag=_i("Grid3x3Gap",''),Tg=_i("Grid3x3GapFill",''),jg=_i("GridFill",''),Eg=_i("GripHorizontal",''),Ig=_i("GripVertical",''),Lg=_i("Hammer",''),Pg=_i("HandIndex",''),kg=_i("HandIndexThumb",''),Fg=_i("HandThumbsDown",''),Vg=_i("HandThumbsUp",''),Bg=_i("Handbag",''),Rg=_i("HandbagFill",''),Hg=_i("Hash",''),Dg=_i("Hdd",''),Ng=_i("HddFill",''),$g=_i("HddNetwork",''),Gg=_i("HddNetworkFill",''),Ug=_i("HddRack",''),Wg=_i("HddRackFill",''),qg=_i("HddStack",''),Xg=_i("HddStackFill",''),Yg=_i("Headphones",''),Kg=_i("Headset",''),Zg=_i("Heart",''),Jg=_i("HeartFill",''),Qg=_i("HeartHalf",''),ty=_i("Heptagon",''),ey=_i("HeptagonFill",''),ny=_i("HeptagonHalf",''),ry=_i("Hexagon",''),iy=_i("HexagonFill",''),ay=_i("HexagonHalf",''),oy=_i("Hourglass",''),sy=_i("HourglassBottom",''),ly=_i("HourglassSplit",''),cy=_i("HourglassTop",''),uy=_i("House",''),hy=_i("HouseDoor",''),dy=_i("HouseDoorFill",''),py=_i("HouseFill",''),fy=_i("Hr",''),vy=_i("Image",''),my=_i("ImageAlt",''),gy=_i("ImageFill",''),yy=_i("Images",''),by=_i("Inbox",''),_y=_i("InboxFill",''),Oy=_i("Inboxes",''),wy=_i("InboxesFill",''),zy=_i("Info",''),xy=_i("InfoCircle",''),Cy=_i("InfoCircleFill",''),My=_i("InfoSquare",''),Sy=_i("InfoSquareFill",''),Ay=_i("InputCursor",''),Ty=_i("InputCursorText",''),jy=_i("Instagram",''),Ey=_i("Intersect",''),Iy=_i("Journal",''),Ly=_i("JournalAlbum",''),Py=_i("JournalArrowDown",''),ky=_i("JournalArrowUp",''),Fy=_i("JournalBookmark",''),Vy=_i("JournalBookmarkFill",''),By=_i("JournalCheck",''),Ry=_i("JournalCode",''),Hy=_i("JournalMedical",''),Dy=_i("JournalMinus",''),Ny=_i("JournalPlus",''),$y=_i("JournalRichtext",''),Gy=_i("JournalText",''),Uy=_i("JournalX",''),Wy=_i("Journals",''),qy=_i("Joystick",''),Xy=_i("Justify",''),Yy=_i("JustifyLeft",''),Ky=_i("JustifyRight",''),Zy=_i("Kanban",''),Jy=_i("KanbanFill",''),Qy=_i("Key",''),tb=_i("KeyFill",''),eb=_i("Keyboard",''),nb=_i("KeyboardFill",''),rb=_i("Ladder",''),ib=_i("Lamp",''),ab=_i("LampFill",''),ob=_i("Laptop",''),sb=_i("LaptopFill",''),lb=_i("Layers",''),cb=_i("LayersFill",''),ub=_i("LayersHalf",''),hb=_i("LayoutSidebar",''),db=_i("LayoutSidebarInset",''),pb=_i("LayoutSidebarInsetReverse",''),fb=_i("LayoutSidebarReverse",''),vb=_i("LayoutSplit",''),mb=_i("LayoutTextSidebar",''),gb=_i("LayoutTextSidebarReverse",''),yb=_i("LayoutTextWindow",''),bb=_i("LayoutTextWindowReverse",''),_b=_i("LayoutThreeColumns",''),Ob=_i("LayoutWtf",''),wb=_i("LifePreserver",''),zb=_i("Lightning",''),xb=_i("LightningFill",''),Cb=_i("Link",''),Mb=_i("Link45deg",''),Sb=_i("Linkedin",''),Ab=_i("List",''),Tb=_i("ListCheck",''),jb=_i("ListNested",''),Eb=_i("ListOl",''),Ib=_i("ListStars",''),Lb=_i("ListTask",''),Pb=_i("ListUl",''),kb=_i("Lock",''),Fb=_i("LockFill",''),Vb=_i("Mailbox",''),Bb=_i("Mailbox2",''),Rb=_i("Map",''),Hb=_i("MapFill",''),Db=_i("Markdown",''),Nb=_i("MarkdownFill",''),$b=_i("MenuApp",''),Gb=_i("MenuAppFill",''),Ub=_i("MenuButton",''),Wb=_i("MenuButtonFill",''),qb=_i("MenuButtonWide",''),Xb=_i("MenuButtonWideFill",''),Yb=_i("MenuDown",''),Kb=_i("MenuUp",''),Zb=_i("Mic",''),Jb=_i("MicFill",''),Qb=_i("MicMute",''),t_=_i("MicMuteFill",''),e_=_i("Minecart",''),n_=_i("MinecartLoaded",''),r_=_i("Moon",''),i_=_i("Mouse",''),a_=_i("Mouse2",''),o_=_i("Mouse3",''),s_=_i("MusicNote",''),l_=_i("MusicNoteBeamed",''),c_=_i("MusicNoteList",''),u_=_i("MusicPlayer",''),h_=_i("MusicPlayerFill",''),d_=_i("Newspaper",''),p_=_i("NodeMinus",''),f_=_i("NodeMinusFill",''),v_=_i("NodePlus",''),m_=_i("NodePlusFill",''),g_=_i("Nut",''),y_=_i("NutFill",''),b_=_i("Octagon",''),__=_i("OctagonFill",''),O_=_i("OctagonHalf",''),w_=_i("Option",''),z_=_i("Outlet",''),x_=_i("Paperclip",''),C_=_i("Paragraph",''),M_=_i("PatchCheck",''),S_=_i("PatchCheckFill",''),A_=_i("PatchExclamation",''),T_=_i("PatchExclamationFill",''),j_=_i("PatchMinus",''),E_=_i("PatchMinusFill",''),I_=_i("PatchPlus",''),L_=_i("PatchPlusFill",''),P_=_i("PatchQuestion",''),k_=_i("PatchQuestionFill",''),F_=_i("Pause",''),V_=_i("PauseBtn",''),B_=_i("PauseBtnFill",''),R_=_i("PauseCircle",''),H_=_i("PauseCircleFill",''),D_=_i("PauseFill",''),N_=_i("Peace",''),$_=_i("PeaceFill",''),G_=_i("Pen",''),U_=_i("PenFill",''),W_=_i("Pencil",''),q_=_i("PencilFill",''),X_=_i("PencilSquare",''),Y_=_i("Pentagon",''),K_=_i("PentagonFill",''),Z_=_i("PentagonHalf",''),J_=_i("People",''),Q_=_i("PeopleFill",''),tO=_i("Percent",''),eO=_i("Person",''),nO=_i("PersonBadge",''),rO=_i("PersonBadgeFill",''),iO=_i("PersonBoundingBox",''),aO=_i("PersonCheck",''),oO=_i("PersonCheckFill",''),sO=_i("PersonCircle",''),lO=_i("PersonDash",''),cO=_i("PersonDashFill",''),uO=_i("PersonFill",''),hO=_i("PersonLinesFill",''),dO=_i("PersonPlus",''),pO=_i("PersonPlusFill",''),fO=_i("PersonSquare",''),vO=_i("PersonX",''),mO=_i("PersonXFill",''),gO=_i("Phone",''),yO=_i("PhoneFill",''),bO=_i("PhoneLandscape",''),_O=_i("PhoneLandscapeFill",''),OO=_i("PhoneVibrate",''),wO=_i("PieChart",''),zO=_i("PieChartFill",''),xO=_i("Pip",''),CO=_i("PipFill",''),MO=_i("Play",''),SO=_i("PlayBtn",''),AO=_i("PlayBtnFill",''),TO=_i("PlayCircle",''),jO=_i("PlayCircleFill",''),EO=_i("PlayFill",''),IO=_i("Plug",''),LO=_i("PlugFill",''),PO=_i("Plus",''),kO=_i("PlusCircle",''),FO=_i("PlusCircleFill",''),VO=_i("PlusSquare",''),BO=_i("PlusSquareFill",''),RO=_i("Power",''),HO=_i("Printer",''),DO=_i("PrinterFill",''),NO=_i("Puzzle",''),$O=_i("PuzzleFill",''),GO=_i("Question",''),UO=_i("QuestionCircle",''),WO=_i("QuestionCircleFill",''),qO=_i("QuestionDiamond",''),XO=_i("QuestionDiamondFill",''),YO=_i("QuestionOctagon",''),KO=_i("QuestionOctagonFill",''),ZO=_i("QuestionSquare",''),JO=_i("QuestionSquareFill",''),QO=_i("Receipt",''),tw=_i("ReceiptCutoff",''),ew=_i("Reception0",''),nw=_i("Reception1",''),rw=_i("Reception2",''),iw=_i("Reception3",''),aw=_i("Reception4",''),ow=_i("Record",''),sw=_i("Record2",''),lw=_i("Record2Fill",''),cw=_i("RecordBtn",''),uw=_i("RecordBtnFill",''),hw=_i("RecordCircle",''),dw=_i("RecordCircleFill",''),pw=_i("RecordFill",''),fw=_i("Reply",''),vw=_i("ReplyAll",''),mw=_i("ReplyAllFill",''),gw=_i("ReplyFill",''),yw=_i("Rss",''),bw=_i("RssFill",''),_w=_i("Scissors",''),Ow=_i("Screwdriver",''),ww=_i("Search",''),zw=_i("SegmentedNav",''),xw=_i("Server",''),Cw=_i("Share",''),Mw=_i("ShareFill",''),Sw=_i("Shield",''),Aw=_i("ShieldCheck",''),Tw=_i("ShieldExclamation",''),jw=_i("ShieldFill",''),Ew=_i("ShieldFillCheck",''),Iw=_i("ShieldFillExclamation",''),Lw=_i("ShieldFillMinus",''),Pw=_i("ShieldFillPlus",''),kw=_i("ShieldFillX",''),Fw=_i("ShieldLock",''),Vw=_i("ShieldLockFill",''),Bw=_i("ShieldMinus",''),Rw=_i("ShieldPlus",''),Hw=_i("ShieldShaded",''),Dw=_i("ShieldSlash",''),Nw=_i("ShieldSlashFill",''),$w=_i("ShieldX",''),Gw=_i("Shift",''),Uw=_i("ShiftFill",''),Ww=_i("Shop",''),qw=_i("ShopWindow",''),Xw=_i("Shuffle",''),Yw=_i("Signpost",''),Kw=_i("Signpost2",''),Zw=_i("Signpost2Fill",''),Jw=_i("SignpostFill",''),Qw=_i("SignpostSplit",''),tz=_i("SignpostSplitFill",''),ez=_i("Sim",''),nz=_i("SimFill",''),rz=_i("SkipBackward",''),iz=_i("SkipBackwardBtn",''),az=_i("SkipBackwardBtnFill",''),oz=_i("SkipBackwardCircle",''),sz=_i("SkipBackwardCircleFill",''),lz=_i("SkipBackwardFill",''),cz=_i("SkipEnd",''),uz=_i("SkipEndBtn",''),hz=_i("SkipEndBtnFill",''),dz=_i("SkipEndCircle",''),pz=_i("SkipEndCircleFill",''),fz=_i("SkipEndFill",''),vz=_i("SkipForward",''),mz=_i("SkipForwardBtn",''),gz=_i("SkipForwardBtnFill",''),yz=_i("SkipForwardCircle",''),bz=_i("SkipForwardCircleFill",''),_z=_i("SkipForwardFill",''),Oz=_i("SkipStart",''),wz=_i("SkipStartBtn",''),zz=_i("SkipStartBtnFill",''),xz=_i("SkipStartCircle",''),Cz=_i("SkipStartCircleFill",''),Mz=_i("SkipStartFill",''),Sz=_i("Slack",''),Az=_i("Slash",''),Tz=_i("SlashCircle",''),jz=_i("SlashCircleFill",''),Ez=_i("SlashSquare",''),Iz=_i("SlashSquareFill",''),Lz=_i("Sliders",''),Pz=_i("Smartwatch",''),kz=_i("SortAlphaDown",''),Fz=_i("SortAlphaDownAlt",''),Vz=_i("SortAlphaUp",''),Bz=_i("SortAlphaUpAlt",''),Rz=_i("SortDown",''),Hz=_i("SortDownAlt",''),Dz=_i("SortNumericDown",''),Nz=_i("SortNumericDownAlt",''),$z=_i("SortNumericUp",''),Gz=_i("SortNumericUpAlt",''),Uz=_i("SortUp",''),Wz=_i("SortUpAlt",''),qz=_i("Soundwave",''),Xz=_i("Speaker",''),Yz=_i("SpeakerFill",''),Kz=_i("Spellcheck",''),Zz=_i("Square",''),Jz=_i("SquareFill",''),Qz=_i("SquareHalf",''),tx=_i("Star",''),ex=_i("StarFill",''),nx=_i("StarHalf",''),rx=_i("Stickies",''),ix=_i("StickiesFill",''),ax=_i("Sticky",''),ox=_i("StickyFill",''),sx=_i("Stop",''),lx=_i("StopBtn",''),cx=_i("StopBtnFill",''),ux=_i("StopCircle",''),hx=_i("StopCircleFill",''),dx=_i("StopFill",''),px=_i("Stoplights",''),fx=_i("StoplightsFill",''),vx=_i("Stopwatch",''),mx=_i("StopwatchFill",''),gx=_i("Subtract",''),yx=_i("SuitClub",''),bx=_i("SuitClubFill",''),_x=_i("SuitDiamond",''),Ox=_i("SuitDiamondFill",''),wx=_i("SuitHeart",''),zx=_i("SuitHeartFill",''),xx=_i("SuitSpade",''),Cx=_i("SuitSpadeFill",''),Mx=_i("Sun",''),Sx=_i("Sunglasses",''),Ax=_i("Table",''),Tx=_i("Tablet",''),jx=_i("TabletFill",''),Ex=_i("TabletLandscape",''),Ix=_i("TabletLandscapeFill",''),Lx=_i("Tag",''),Px=_i("TagFill",''),kx=_i("Tags",''),Fx=_i("TagsFill",''),Vx=_i("Telephone",''),Bx=_i("TelephoneFill",''),Rx=_i("TelephoneForward",''),Hx=_i("TelephoneForwardFill",''),Dx=_i("TelephoneInbound",''),Nx=_i("TelephoneInboundFill",''),$x=_i("TelephoneMinus",''),Gx=_i("TelephoneMinusFill",''),Ux=_i("TelephoneOutbound",''),Wx=_i("TelephoneOutboundFill",''),qx=_i("TelephonePlus",''),Xx=_i("TelephonePlusFill",''),Yx=_i("TelephoneX",''),Kx=_i("TelephoneXFill",''),Zx=_i("Terminal",''),Jx=_i("TerminalFill",''),Qx=_i("TextCenter",''),tC=_i("TextIndentLeft",''),eC=_i("TextIndentRight",''),nC=_i("TextLeft",''),rC=_i("TextParagraph",''),iC=_i("TextRight",''),aC=_i("Textarea",''),oC=_i("TextareaResize",''),sC=_i("TextareaT",''),lC=_i("Thermometer",''),cC=_i("ThermometerHalf",''),uC=_i("ThreeDots",''),hC=_i("ThreeDotsVertical",''),dC=_i("Toggle2Off",''),pC=_i("Toggle2On",''),fC=_i("ToggleOff",''),vC=_i("ToggleOn",''),mC=_i("Toggles",''),gC=_i("Toggles2",''),yC=_i("Tools",''),bC=_i("Trash",''),_C=_i("Trash2",''),OC=_i("Trash2Fill",''),wC=_i("TrashFill",''),zC=_i("Tree",''),xC=_i("TreeFill",''),CC=_i("Triangle",''),MC=_i("TriangleFill",''),SC=_i("TriangleHalf",''),AC=_i("Trophy",''),TC=_i("TrophyFill",''),jC=_i("Truck",''),EC=_i("TruckFlatbed",''),IC=_i("Tv",''),LC=_i("TvFill",''),PC=_i("Twitch",''),kC=_i("Twitter",''),FC=_i("Type",''),VC=_i("TypeBold",''),BC=_i("TypeH1",''),RC=_i("TypeH2",''),HC=_i("TypeH3",''),DC=_i("TypeItalic",''),NC=_i("TypeStrikethrough",''),$C=_i("TypeUnderline",''),GC=_i("UiChecks",''),UC=_i("UiChecksGrid",''),WC=_i("UiRadios",''),qC=_i("UiRadiosGrid",''),XC=_i("Union",''),YC=_i("Unlock",''),KC=_i("UnlockFill",''),ZC=_i("Upc",''),JC=_i("UpcScan",''),QC=_i("Upload",''),tM=_i("VectorPen",''),eM=_i("ViewList",''),nM=_i("ViewStacked",''),rM=_i("Vinyl",''),iM=_i("VinylFill",''),aM=_i("Voicemail",''),oM=_i("VolumeDown",''),sM=_i("VolumeDownFill",''),lM=_i("VolumeMute",''),cM=_i("VolumeMuteFill",''),uM=_i("VolumeOff",''),hM=_i("VolumeOffFill",''),dM=_i("VolumeUp",''),pM=_i("VolumeUpFill",''),fM=_i("Vr",''),vM=_i("Wallet",''),mM=_i("Wallet2",''),gM=_i("WalletFill",''),yM=_i("Watch",''),bM=_i("Wifi",''),_M=_i("Wifi1",''),OM=_i("Wifi2",''),wM=_i("WifiOff",''),zM=_i("Window",''),xM=_i("Wrench",''),CM=_i("X",''),MM=_i("XCircle",''),SM=_i("XCircleFill",''),AM=_i("XDiamond",''),TM=_i("XDiamondFill",''),jM=_i("XOctagon",''),EM=_i("XOctagonFill",''),IM=_i("XSquare",''),LM=_i("XSquareFill",''),PM=_i("Youtube",''),kM=_i("ZoomIn",''),FM=_i("ZoomOut",''); /*! * BootstrapVue Icons, generated from Bootstrap Icons 1.2.2 * * @link https://icons.getbootstrap.com/ * @license MIT * https://github.com/twbs/icons/blob/master/LICENSE.md */function VM(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function BM(t){for(var e=1;e1?n-1:0),i=1;it.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,n=t.rel;return"_blank"===e&&bt(n)?"noopener":n||null}({target:this.target,rel:this.rel})},computedHref:function(){var t=this.to,e=this.href;return hi({to:t,href:e},this.computedTag)},computedProps:function(){var t=this.prefetch;return this.isRouterLink?sS(sS({},sr(sS(sS({},uS),hS),this)),{},{prefetch:wt(t)?t:void 0,tag:this.routerTag}):{}},computedAttrs:function(){var t=this.bvAttrs,e=this.computedHref,n=this.computedRel,r=this.disabled,i=this.target,a=this.routerTag,o=this.isRouterLink;return sS(sS(sS(sS({},t),e?{href:e}:{}),o&&!gn(a,"a")?{}:{rel:n,target:i}),{},{tabindex:r?"-1":yt(t.tabindex)?null:t.tabindex,"aria-disabled":r?"true":null})},computedListeners:function(){return sS(sS({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(t){var e=arguments,n=jt(t),r=this.isRouterLink,i=this.bvListeners.click;n&&this.disabled?_r(t,{immediatePropagation:!0}):(r&&t.currentTarget.__vue__&&t.currentTarget.__vue__.$emit("click",t),Xe(i).filter(function(t){return Ot(t)}).forEach(function(t){t.apply(void 0,iS(e))}),this.emitOnRoot(cS,t),this.emitOnRoot("clicked::link",t)),n&&!r&&"#"===this.computedHref&&_r(t,{propagation:!1})},focus:function(){$n(this.$el)},blur:function(){Gn(this.$el)}},render:function(t){var e=this.active,n=this.disabled;return t(this.computedTag,lS({class:{active:e,disabled:n},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}});function fS(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function vS(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(E,"")},GS=function(t,e){return t?{innerHTML:t}:e?{textContent:e}:{}};function US(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function WS(t){for(var e=1;e-1&&(e=e.slice(0,n).reverse(),$n(e[0]))},focusNext:function(t){var e=this.getItems(),n=e.indexOf(t.target);n>-1&&(e=e.slice(n+1),$n(e[0]))},focusLast:function(){var t=this.getItems().reverse();$n(t[0])},onFocusin:function(t){var e=this.$el;t.target!==e||Mn(e,t.relatedTarget)||(_r(t),this.focusFirst(t))},onKeydown:function(t){var e=t.keyCode,n=t.shiftKey;e===KM||e===qM?(_r(t),n?this.focusFirst(t):this.focusPrev(t)):e!==$M&&e!==XM||(_r(t),n?this.focusLast(t):this.focusNext(t))}},render:function(t){var e=this.keyNav;return t("div",{staticClass:"btn-toolbar",class:{"justify-content-between":this.justify},attrs:{role:"toolbar",tabindex:e?"0":null},on:e?{focusin:this.onFocusin,keydown:this.onKeydown}:{}},[this.normalizeSlot()])}}),fA=ve({components:{BButtonToolbar:pA,BBtnToolbar:pA}});function vA(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){i=!0,a=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return mA(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mA(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mA(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t=OA(t),e=OA(e)||t,n=OA(n)||t,t?tn?n:t:null},kA=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map(function(t){return t.toLowerCase()}),FA=function(t){var e=on(t).toLowerCase().replace(et,"").split("-"),n=e.slice(0,2).join("-"),r=e[0];return qe(kA,n)||qe(kA,r)},VA={id:ar(Ie)},BA=r.default.extend({props:VA,data:function(){return{localId_:null}},computed:{safeId:function(){var t=this.id||this.localId_;return function(e){return t?(e=String(e||"").replace(/\s+/g,"_"))?t+"_"+e:t:null}}},mounted:function(){var t=this;this.$nextTick(function(){t.localId_="__BVID__".concat(t._uid)})}});function RA(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function HA(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:"gregory";return t=Xe(t).filter(Qt),new Intl.DateTimeFormat(t,{calendar:e}).resolvedOptions().locale}(Xe(this.locale).filter(Qt),"gregory")},computedDateDisabledFn:function(){var t=this.dateDisabledFn;return hr(t)?t:function(){return!1}},computedDateInfoFn:function(){var t=this.dateInfoFn;return hr(t)?t:function(){return{}}},calendarLocale:function(){var t=new Intl.DateTimeFormat(this.computedLocale,{calendar:"gregory"}),e=t.resolvedOptions().calendar,n=t.resolvedOptions().locale;return"gregory"!==e&&(n=n.replace(/-u-.+$/i,"").concat("-u-ca-gregory")),n},calendarYear:function(){return this.activeDate.getFullYear()},calendarMonth:function(){return this.activeDate.getMonth()},calendarFirstDay:function(){return _A(this.calendarYear,this.calendarMonth,1,12)},calendarDaysInMonth:function(){var t=_A(this.calendarFirstDay);return t.setMonth(t.getMonth()+1,0),t.getDate()},computedVariant:function(){return"btn-".concat(this.selectedVariant||"primary")},computedTodayVariant:function(){return"btn-outline-".concat(this.todayVariant||this.selectedVariant||"primary")},computedNavButtonVariant:function(){return"btn-outline-".concat(this.navButtonVariant||"primary")},isRTL:function(){var t=on(this.direction).toLowerCase();return"rtl"===t||"ltr"!==t&&FA(this.computedLocale)},context:function(){var t=this.selectedYMD,e=this.activeYMD,n=OA(t),r=OA(e);return{selectedYMD:t,selectedDate:n,selectedFormatted:n?this.formatDateString(n):this.labelNoDateSelected,activeYMD:e,activeDate:r,activeFormatted:r?this.formatDateString(r):"",disabled:this.dateDisabled(r),locale:this.computedLocale,calendarLocale:this.calendarLocale,rtl:this.isRTL}},dateOutOfRange:function(){var t=this.computedMin,e=this.computedMax;return function(n){return n=OA(n),t&&ne}},dateDisabled:function(){var t=this,e=this.dateOutOfRange;return function(n){n=OA(n);var r=wA(n);return!(!e(n)&&!t.computedDateDisabledFn(r,n))}},formatDateString:function(){return zA(this.calendarLocale,HA(HA({year:"numeric",month:"2-digit",day:"2-digit"},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:"gregory"}))},formatYearMonth:function(){return zA(this.calendarLocale,{year:"numeric",month:"long",calendar:"gregory"})},formatWeekdayName:function(){return zA(this.calendarLocale,{weekday:"long",calendar:"gregory"})},formatWeekdayNameShort:function(){return zA(this.calendarLocale,{weekday:this.weekdayHeaderFormat||"short",calendar:"gregory"})},formatDay:function(){var t=new Intl.NumberFormat([this.computedLocale],{style:"decimal",minimumIntegerDigits:1,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return function(e){return t.format(e.getDate())}},prevDecadeDisabled:function(){var t=this.computedMin;return this.disabled||t&&MA(IA(this.activeDate))t},nextYearDisabled:function(){var t=this.computedMax;return this.disabled||t&&CA(EA(this.activeDate))>t},nextDecadeDisabled:function(){var t=this.computedMax;return this.disabled||t&&CA(LA(this.activeDate))>t},calendar:function(){for(var t=[],e=this.calendarFirstDay,n=e.getFullYear(),r=e.getMonth(),i=this.calendarDaysInMonth,a=e.getDay(),o=0-((this.computedWeekStarts>a?7:0)-this.computedWeekStarts)-a,s=0;s<6&&o0);n!==this.visible&&(this.visible=n,this.callback(n),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}},{key:"stop",value:function(){this.observer&&this.observer.disconnect(),this.observer=null}}])&&ET(e.prototype,n),r&&ET(e,r),t}(),kT=function(t){var e=t[LT];e&&e.stop&&e.stop(),delete t[LT]},FT=function(t,e,n){var r=e.value,i=e.modifiers,a={margin:"0px",once:!1,callback:r};Ht(i).forEach(function(t){S.test(t)?a.margin="".concat(t,"px"):"once"===t.toLowerCase()&&(a.once=!0)}),kT(t),t[LT]=new PT(t,a,n),t[LT]._prevModifiers=Nt(i)},VT={bind:FT,componentUpdated:function(t,e,n){var r=e.value,i=e.oldValue,a=e.modifiers;a=Nt(a),!t||r===i&&t[LT]&&ZM(a,t[LT]._prevModifiers)||FT(t,{value:r,modifiers:a},n)},unbind:function(t){kT(t)}};function BT(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function RT(t){for(var e=1;e0||i.removedNodes.length>0)&&(n=!0)}n&&e()});return r.observe(t,function(t){for(var e=1;e0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:(rj={},sj(rj,hj,function(t,e){t!==e&&this.setSlide(Ze(t,0))}),sj(rj,"interval",function(t,e){t!==e&&(t?(this.pause(!0),this.start(!1)):this.pause(!1))}),sj(rj,"isPaused",function(t,e){t!==e&&this.$emit(t?"paused":"unpaused")}),sj(rj,"index",function(t,e){t===e||this.isSliding||this.doSlide(t,e)}),rj),created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!(Ze(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=function(t){for(var e in vj)if(!yt(t.style[e]))return vj[e];return null}(this.$el)||null,this.updateSlides(),this.setObserver(!0)},beforeDestroy:function(){this.clearInterval(),this.clearAnimationTimeout(),this.clearTouchTimeout(),this.setObserver(!1)},methods:{clearInterval:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){clearInterval(this.$_interval),this.$_interval=null}),clearAnimationTimeout:function(){clearTimeout(this.$_animationTimeout),this.$_animationTimeout=null},clearTouchTimeout:function(){clearTimeout(this.$_touchTimeout),this.$_touchTimeout=null},setObserver:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t&&(this.$_observer=ij(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]}))},setSlide:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(f&&document.visibilityState&&document.hidden)){var r=this.noWrap,i=this.numSlides;t=Zr(t),0!==i&&(this.isSliding?this.$once("sliding-end",function(){pn(function(){return e.setSlide(t,n)})}):(this.direction=n,this.index=t>=i?r?i-1:0:t<0?r?0:i-1:t,r&&this.index!==t&&this.index!==this[hj]&&this.$emit(dj,this.index)))}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(t){t||(this.isPaused=!0),this.clearInterval()},start:function(t){t||(this.isPaused=!1),this.clearInterval(),this.interval&&this.numSlides>1&&(this.$_interval=setInterval(this.next,Xr(1e3,this.interval)))},restart:function(){this.$el.contains(mn())||this.start()},doSlide:function(t,e){var n=this,r=Boolean(this.interval),i=this.calcDirection(this.direction,e,t),a=i.overlayClass,o=i.dirClass,s=this.slides[e],l=this.slides[t];if(s&&l){if(this.isSliding=!0,r&&this.pause(!1),this.$emit("sliding-start",t),this.$emit(dj,this.index),this.noAnimation)An(l,"active"),Tn(s,"active"),this.isSliding=!1,this.$nextTick(function(){return n.$emit("sliding-end",t)});else{An(l,a),On(l),An(s,o),An(l,o);var c=!1,u=function e(){if(!c){if(c=!0,n.transitionEndEvent)n.transitionEndEvent.split(/\s+/).forEach(function(t){return yr(l,t,e,xe)});n.clearAnimationTimeout(),Tn(l,o),Tn(l,a),An(l,"active"),Tn(s,"active"),Tn(s,o),Tn(s,a),En(s,"aria-current","false"),En(l,"aria-current","true"),En(s,"aria-hidden","true"),En(l,"aria-hidden","false"),n.isSliding=!1,n.direction=null,n.$nextTick(function(){return n.$emit("sliding-end",t)})}};if(this.transitionEndEvent)this.transitionEndEvent.split(/\s+/).forEach(function(t){return gr(l,t,u,xe)});this.$_animationTimeout=setTimeout(u,650)}r&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=wn(".carousel-item",this.$refs.inner);var t=this.slides.length,e=Xr(0,qr(Zr(this.index),t-1));this.slides.forEach(function(n,r){var i=r+1;r===e?(An(n,"active"),En(n,"aria-current","true")):(Tn(n,"active"),En(n,"aria-current","false")),En(n,"aria-posinset",String(i)),En(n,"aria-setsize",String(t))}),this.setSlide(e),this.start(this.isPaused)},calcDirection:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t?pj[t]:n>e?pj.next:pj.prev},handleClick:function(t,e){var n=t.keyCode;"click"!==t.type&&n!==YM&&n!==UM||(_r(t),e())},handleSwipe:function(){var t=Yr(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0?this.prev():e<0&&this.next()}},touchStart:function(t){w&&fj[t.pointerType.toUpperCase()]?this.touchStartX=t.clientX:w||(this.touchStartX=t.touches[0].clientX)},touchMove:function(t){t.touches&&t.touches.length>1?this.touchDeltaX=0:this.touchDeltaX=t.touches[0].clientX-this.touchStartX},touchEnd:function(t){w&&fj[t.pointerType.toUpperCase()]&&(this.touchDeltaX=t.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,500+Xr(1e3,this.interval))}},render:function(t){var e=this,n=this.indicators,r=this.background,i=this.noAnimation,a=this.noHoverPause,o=this.noTouch,s=this.index,l=this.isSliding,c=this.pause,u=this.restart,h=this.touchStart,d=this.touchEnd,p=this.safeId("__BV_inner_"),f=t("div",{staticClass:"carousel-inner",attrs:{id:p,role:"list"},ref:"inner"},[this.normalizeSlot()]),v=t();if(this.controls){var m=function(n,r,i){var a=function(t){l?_r(t,{propagation:!1}):e.handleClick(t,i)};return t("a",{staticClass:"carousel-control-".concat(n),attrs:{href:"#",role:"button","aria-controls":p,"aria-disabled":l?"true":null},on:{click:a,keydown:a}},[t("span",{staticClass:"carousel-control-".concat(n,"-icon"),attrs:{"aria-hidden":"true"}}),t("span",{class:"sr-only"},[r])])};v=[m("prev",this.labelPrev,this.prev),m("next",this.labelNext,this.next)]}var g=t("ol",{staticClass:"carousel-indicators",directives:[{name:"show",value:n}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":n?"false":"true","aria-label":this.labelIndicators,"aria-owns":p}},this.slides.map(function(r,i){var a=function(t){e.handleClick(t,function(){e.setSlide(i)})};return t("li",{class:{active:i===s},attrs:{role:"button",id:e.safeId("__BV_indicator_".concat(i+1,"_")),tabindex:n?"0":"-1","aria-current":i===s?"true":"false","aria-label":"".concat(e.labelGotoSlide," ").concat(i+1),"aria-describedby":r.id||null,"aria-controls":p},on:{click:a,keydown:a},key:"slide_".concat(i)})})),y={mouseenter:a?tj:c,mouseleave:a?tj:u,focusin:c,focusout:u,keydown:function(t){if(!/input|textarea/i.test(t.target.tagName)){var n=t.keyCode;n!==qM&&n!==XM||(_r(t),e[n===qM?"prev":"next"]())}}};return O&&!o&&(w?(y["&pointerdown"]=h,y["&pointerup"]=d):(y["&touchstart"]=h,y["&touchmove"]=this.touchMove,y["&touchend"]=d)),t("div",{staticClass:"carousel",class:{slide:!i,"carousel-fade":!i&&this.fade,"pointer-event":O&&w&&!o},style:{background:r},attrs:{role:"region",id:this.safeId(),"aria-busy":l?"true":"false"},on:y},[f,v,g])}});function yj(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function bj(t){for(var e=1;e0?(En(t,"aria-controls",r.join(" ")),kn(t,"overflow-anchor","none")):(In(t,"aria-controls"),Fn(t,"overflow-anchor")),pn(function(){!function(t,e){if(nE(t),e.context){var n=function(n){"keydown"===n.type&&!qe(tE,n.keyCode)||_n(t)||(t[Yj]||[]).forEach(function(t){e.context.$root.$emit(Kj,t)})};t[qj]=n,gr(t,"click",n,ze),eE(t)&&gr(t,"keydown",n,ze)}}(t,n)}),ZM(r,t[Yj])||(t[Yj]=r,r.forEach(function(t){n.context.$root.$emit(Qj,t)}))}},sE={bind:function(t,e,n){t[Xj]=!1,t[Yj]=[],function(t,e){if(rE(t,e),e.context){var n=function(e,n){qe(t[Yj]||[],e)&&(t[Xj]=n,iE(t,n))};t[Wj]=n,e.context.$root.$on([Zj,Jj],n)}}(t,n),oE(t,e,n)},componentUpdated:oE,updated:oE,unbind:function(t,e,n){nE(t),rE(t,n),aE(t,Wj),aE(t,qj),aE(t,Xj),aE(t,Yj),Tn(t,"collapsed"),Tn(t,"not-collapsed"),In(t,"aria-expanded"),In(t,"aria-controls"),In(t,"role"),Fn(t,"overflow-anchor")}},lE=ve({directives:{VBToggle:sE}}),cE=ve({components:{BCollapse:Gj},plugins:{VBTogglePlugin:lE}}),uE=n("Zgw8");function hE(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));kt(this,t.Defaults,this.constructor.Defaults,n,{type:e}),Vt(this,{type:Wt(),cancelable:Wt(),nativeEvent:Wt(),target:Wt(),relatedTarget:Wt(),vueTarget:Wt(),componentId:Wt()});var r=!1;this.preventDefault=function(){this.cancelable&&(r=!0)},Bt(this,"defaultPrevented",{enumerable:!0,get:function(){return r}})}var e,n,r;return e=t,r=[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}],(n=null)&&hE(e.prototype,n),r&&hE(e,r),t}(),pE=r.default.extend({data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(t,e){t!==e&&(yr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,xe),t&&gr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,xe))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&gr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,xe)},beforeDestroy:function(){yr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,xe)},methods:{isClickOut:function(t){return!Mn(this.$el,t.target)},_clickOutHandler:function(t){this.clickOutHandler&&this.isClickOut(t)&&this.clickOutHandler(t)}}}),fE=r.default.extend({data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(t,e){t!==e&&(yr(this.focusInElement,"focusin",this._focusInHandler,xe),t&&gr(this.focusInElement,"focusin",this._focusInHandler,xe))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&gr(this.focusInElement,"focusin",this._focusInHandler,xe)},beforeDestroy:function(){yr(this.focusInElement,"focusin",this._focusInHandler,xe)},methods:{_focusInHandler:function(t){this.focusInHandler&&this.focusInHandler(t)}}});function vE(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function mE(t){for(var e=1;e0&&void 0!==arguments[0]&&arguments[0];this.disabled||(this.visible=!1,t&&this.$once("hidden",this.focusToggler))},toggle:function(t){var e=t=t||{},n=e.type,r=e.keyCode;("click"===n||"keydown"===n&&-1!==[UM,YM,$M].indexOf(r))&&(this.disabled?this.visible=!1:(this.$emit("toggle",t),_r(t),this.visible?this.hide(!0):this.show()))},onMousedown:function(t){_r(t,{propagation:!1})},onKeydown:function(t){var e=t.keyCode;27===e?this.onEsc(t):e===$M?this.focusNext(t,!1):e===KM&&this.focusNext(t,!0)},onEsc:function(t){this.visible&&(this.visible=!1,_r(t),this.$once("hidden",this.focusToggler))},onSplitClick:function(t){this.disabled?this.visible=!1:this.$emit("click",t)},hideHandler:function(t){var e=this,n=t.target;!this.visible||Mn(this.$refs.menu,n)||Mn(this.toggler,n)||(this.clearHideTimeout(),this.$_hideTimeout=setTimeout(function(){return e.hide()},this.inNavbar?300:0))},clickOutHandler:function(t){this.hideHandler(t)},focusInHandler:function(t){this.hideHandler(t)},focusNext:function(t,e){var n=this,r=t.target;!this.visible||t&&Cn(".dropdown form",r)||(_r(t),this.$nextTick(function(){var t=n.getItems();if(!(t.length<1)){var i=t.indexOf(r);e&&i>0?i--:!e&&i1&&void 0!==arguments[1]?arguments[1]:null;if(At(t)){var n=ee(t,this.valueField),r=ee(t,this.textField);return{value:yt(n)?e||r:n,text:$S(String(yt(r)?e:r)),html:ee(t,this.htmlField),disabled:Boolean(ee(t,this.disabledField))}}return{value:e||t,text:$S(String(t)),disabled:!1}},normalizeOptions:function(t){var e=this;return Mt(t)?t.map(function(t){return e.normalizeOption(t)}):At(t)?(re('Setting prop "options" to an object is deprecated. Use the array format instead.',this.$options.name),Ht(t).map(function(n){return e.normalizeOption(t[n]||{},n)})):[]}}});function mI(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function gI(t){for(var e=1;e-1:ZM(e,t)},isRadio:function(){return!1}},watch:tL({},"indeterminate",function(t,e){ZM(t,e)||this.setIndeterminate(t)}),mounted:function(){this.setIndeterminate(this.indeterminate)},methods:{computedLocalCheckedWatcher:function(t,e){if(!ZM(t,e)){this.$emit(YI,t);var n=this.$refs.input;n&&this.$emit("update:indeterminate",n.indeterminate)}},handleChange:function(t){var e=this,n=t.target,r=n.checked,i=n.indeterminate,a=this.value,o=this.uncheckedValue,s=this.computedLocalChecked;if(Mt(s)){var l=II(s,a);r&&l<0?s=s.concat(a):!r&&l>-1&&(s=s.slice(0,l).concat(s.slice(l+1)))}else s=r?a:o;this.computedLocalChecked=s,this.$nextTick(function(){e.$emit("change",s),e.isGroup&&e.bvGroup.$emit("change",s),e.$emit("update:indeterminate",i)})},setIndeterminate:function(t){Mt(this.computedLocalChecked)&&(t=!1);var e=this.$refs.input;e&&(e.indeterminate=t,this.$emit("update:indeterminate",t))}}});function rL(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function iL(t){for(var e=1;e0&&(l=[t("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":l.length>1,"justify-content-end":l.length<2}},l)]);var d=t(XA,{staticClass:"b-form-date-calendar w-100",props:BL(BL({},sr(WL,a)),{},{hidden:!this.isVisible,value:e,valueAsDate:!1,width:this.calendarWidth}),on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:$t(o,["nav-prev-decade","nav-prev-year","nav-prev-month","nav-this-month","nav-next-month","nav-next-year","nav-next-decade"]),key:"calendar",ref:"calendar"},l);return t(FL,{staticClass:"b-form-datepicker",props:BL(BL({},sr(qL,a)),{},{formattedValue:e?this.formattedValue:"",id:this.safeId(),lang:this.computedLang,menuClass:[{"bg-dark":i,"text-light":i},this.menuClass],placeholder:s,rtl:this.isRTL,value:e}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:RL({},"button-content",o["button-content"]||this.defaultButtonFn),ref:"control"},[d])}}),KL=ve({components:{BFormDatepicker:YL,BDatepicker:YL}});function ZL(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function JL(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:"";return new Promise(function(r){var i=[];!function a(){e.readEntries(function(e){0===e.length?r(Promise.all(i).then(function(t){return t.reduce(function(t,e){return Xe(t,e)},[])})):(i.push(Promise.all(e.map(function(e){if(e){if(e.isDirectory)return t(e.createReader(),"".concat(n).concat(e.name,"/"));if(e.isFile)return new Promise(function(t){e.file(function(e){e.$path="".concat(n).concat(e.name),t(e)})})}return null}).filter(Qt))),a())})}()})},cP=cr(Ut(JL(JL(JL(JL(JL(JL(JL({},VA),nP),LI),kI),RI),VI),{},{accept:ar(Ie,""),browseText:ar(Ie,"Browse"),capture:ar(Me,!1),directory:ar(Me,!1),dropPlaceholder:ar(Ie,"Drop files here"),fileNameFormatter:ar(Ae),multiple:ar(Me,!1),noDrop:ar(Me,!1),noDropPlaceholder:ar(Ie,"Not allowed"),noTraverse:ar(Me,!1),placeholder:ar(Ie,"No file chosen")})),"BFormFile"),uP=r.default.extend({name:"BFormFile",mixins:[eS,BA,eP,vr,PI,HI,FI,vr],inheritAttrs:!1,props:cP,data:function(){return{files:[],dragging:!1,dropAllowed:!this.noDrop,hasFocus:!1}},computed:{computedAccept:function(){var t=this.accept;return 0===(t=(t||"").trim().split(/[,\s]+/).filter(Qt)).length?null:t.map(function(t){var e="name",n="^",r="$";return A.test(t)?n="":(e="type",R.test(t)&&(r=".+$",t=t.slice(0,-1))),t=an(t),{rx:new RegExp("".concat(n).concat(t).concat(r)),prop:e}})},computedCapture:function(){var t=this.capture;return!0===t||""===t||(t||null)},computedAttrs:function(){var t=this.name,e=this.disabled,n=this.required,r=this.form,i=this.computedCapture,a=this.accept,o=this.multiple,s=this.directory;return JL(JL({},this.bvAttrs),{},{type:"file",id:this.safeId(),name:t,disabled:e,required:n,form:r||null,capture:i,accept:a||null,multiple:o,directory:s,webkitdirectory:s,"aria-required":n?"true":null})},computedFileNameFormatter:function(){var t=this.fileNameFormatter;return hr(t)?t:this.defaultFileNameFormatter},clonedFiles:function(){return Jt(this.files)},flattenedFiles:function(){return Ke(this.files)},fileNames:function(){return this.flattenedFiles.map(function(t){return t.name})},labelContent:function(){if(this.dragging&&!this.noDrop)return this.normalizeSlot("drop-placeholder",{allowed:this.dropAllowed})||(this.dropAllowed?this.dropPlaceholder:this.$createElement("span",{staticClass:"text-danger"},this.noDropPlaceholder));if(0===this.files.length)return this.normalizeSlot("placeholder")||this.placeholder;var t=this.flattenedFiles,e=this.clonedFiles,n=this.fileNames,r=this.computedFileNameFormatter;return this.hasNormalizedSlot("file-name")?this.normalizeSlot("file-name",{files:t,filesTraversed:e,names:n}):r(t,e,n)}},watch:(HL={},QL(HL,rP,function(t){(!t||Mt(t)&&0===t.length)&&this.reset()}),QL(HL,"files",function(t,e){if(!ZM(t,e)){var n=this.multiple,r=this.noTraverse,i=!n||r?Ke(t):t;this.$emit(iP,n?i:i[0]||null)}}),HL),created:function(){this.$_form=null},mounted:function(){var t=Cn("form",this.$el);t&&(gr(t,"reset",this.reset,ze),this.$_form=t)},beforeDestroy:function(){var t=this.$_form;t&&yr(t,"reset",this.reset,ze)},methods:{isFileValid:function(t){if(!t)return!1;var e=this.computedAccept;return!e||e.some(function(e){return e.rx.test(t[e.prop])})},isFilesArrayValid:function(t){var e=this;return Mt(t)?t.every(function(t){return e.isFileValid(t)}):this.isFileValid(t)},defaultFileNameFormatter:function(t,e,n){return n.join(", ")},setFiles:function(t){this.dropAllowed=!this.noDrop,this.dragging=!1,this.files=this.multiple?this.directory?t:Ke(t):Ke(t).slice(0,1)},setInputFiles:function(t){try{var e=new ClipboardEvent("").clipboardData||new DataTransfer;Ke(Jt(t)).forEach(function(t){delete t.$path,e.items.add(t)}),this.$refs.input.files=e.files}catch(t){}},reset:function(){try{var t=this.$refs.input;t.value="",t.type="",t.type="file"}catch(t){}this.files=[]},handleFiles:function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]){var e=t.filter(this.isFilesArrayValid);e.length>0&&(this.setFiles(e),this.setInputFiles(e))}else this.setFiles(t)},focusHandler:function(t){this.plain||"focusout"===t.type?this.hasFocus=!1:this.hasFocus=!0},onChange:function(t){var e=this,n=t.type,r=t.target,i=t.dataTransfer,a=void 0===i?{}:i,o="drop"===n;this.$emit("change",t);var s=We(a.items||[]);if(d&&s.length>0&&!bt(sP(s[0])))(function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.all(We(t).filter(function(t){return"file"===t.kind}).map(function(t){var n=sP(t);if(n){if(n.isDirectory&&e)return lP(n.createReader(),"".concat(n.name,"/"));if(n.isFile)return new Promise(function(t){n.file(function(e){e.$path="",t(e)})})}return null}).filter(Qt))})(s,this.directory).then(function(t){return e.handleFiles(t,o)});else{var l=We(r.files||a.files||[]).map(function(t){return t.$path=t.webkitRelativePath||"",t});this.handleFiles(l,o)}},onDragenter:function(t){_r(t),this.dragging=!0;var e=t.dataTransfer,n=void 0===e?{}:e;if(this.noDrop||this.disabled||!this.dropAllowed)return n.dropEffect="none",void(this.dropAllowed=!1);n.dropEffect="copy"},onDragover:function(t){_r(t),this.dragging=!0;var e=t.dataTransfer,n=void 0===e?{}:e;if(this.noDrop||this.disabled||!this.dropAllowed)return n.dropEffect="none",void(this.dropAllowed=!1);n.dropEffect="copy"},onDragleave:function(t){var e=this;_r(t),this.$nextTick(function(){e.dragging=!1,e.dropAllowed=!e.noDrop})},onDrop:function(t){var e=this;_r(t),this.dragging=!1,this.noDrop||this.disabled||!this.dropAllowed?this.$nextTick(function(){e.dropAllowed=!e.noDrop}):this.onChange(t)}},render:function(t){var e=this.custom,n=this.plain,r=this.size,i=this.dragging,a=this.stateClass,o=this.bvAttrs,s=t("input",{class:[{"form-control-file":n,"custom-file-input":e,focus:e&&this.hasFocus},a],style:e?{zIndex:-5}:{},attrs:this.computedAttrs,on:{change:this.onChange,focusin:this.focusHandler,focusout:this.focusHandler,reset:this.reset},ref:"input"});if(n)return s;var l=t("label",{staticClass:"custom-file-label",class:{dragging:i},attrs:{for:this.safeId(),"data-browse":this.browseText||null}},[t("span",{staticClass:"d-block form-file-text",style:{pointerEvents:"none"}},[this.labelContent])]);return t("div",{staticClass:"custom-file b-form-file",class:[QL({},"b-custom-control-".concat(r),r),a,o.class],style:o.style,attrs:{id:this.safeId("_BV_file_outer_")},on:{dragenter:this.onDragenter,dragover:this.onDragover,dragleave:this.onDragleave,drop:this.onDrop}},[s,l])}}),hP=ve({components:{BFormFile:uP,BFile:uP}}),dP=function(t){return"\\"+t},pP=function(t){var e=(t=on(t)).length,n=t.charCodeAt(0);return t.split("").reduce(function(r,i,a){var o=t.charCodeAt(a);return 0===o?r+"�":127===o||o>=1&&o<=31||0===a&&o>=48&&o<=57||1===a&&o>=48&&o<=57&&45===n?r+dP("".concat(o.toString(16)," ")):0===a&&45===o&&1===e?r+dP(i):o>=128||45===o||95===o||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?r+i:r+dP(i)},"")};function fP(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function vP(t){for(var e=1;e0||Ht(this.labelColProps).length>0}},watch:{ariaDescribedby:function(t,e){t!==e&&this.updateAriaDescribedby(t,e)}},mounted:function(){var t=this;this.$nextTick(function(){t.updateAriaDescribedby(t.ariaDescribedby)})},methods:{getAlignClasses:function(t,e){return Jn().reduce(function(n,r){var i=t[ir(r,"".concat(e,"Align"))]||null;return i&&n.push(["text",r,i].filter(Qt).join("-")),n},[])},getColProps:function(t,e){return Jn().reduce(function(n,r){var i=t[ir(r,"".concat(e,"Cols"))];return wt(i=""===i||(i||!1))||"auto"===i||(i=(i=Ze(i,0))>0&&i),i&&(n[r||(wt(i)?"col":"cols")]=i),n},{})},updateAriaDescribedby:function(t,e){var n=this.labelFor;if(f&&n){var r=zn("#".concat(pP(n)),this.$refs.content);if(r){var i="aria-describedby",a=(t||"").split(B),o=(e||"").split(B),s=(Ln(r,i)||"").split(B).filter(function(t){return!qe(o,t)}).concat(a).filter(function(t,e,n){return n.indexOf(t)===e}).filter(Qt).join(" ").trim();s?En(r,i,s):In(r,i)}}},onLegendClick:function(t){if(!this.labelFor){var e=t.target,n=e?e.tagName:"";if(-1===MP.indexOf(n)){var r=wn(CP,this.$refs.content).filter(bn);1===r.length&&$n(r[0])}}}},render:function(t){var e=this.computedState,n=this.feedbackAriaLive,r=this.isHorizontal,i=this.labelFor,a=this.normalizeSlot,o=this.safeId,s=this.tooltip,l=o(),c=!i,u=t(),h=a("label")||this.label,d=h?o("_BV_label_"):null;if(h||r){var p=this.labelSize,f=this.labelColProps,v=c?"legend":"label";this.labelSrOnly?(h&&(u=t(v,{class:"sr-only",attrs:{id:d,for:i||null}},[h])),u=t(r?_P:"div",{props:r?f:{}},[u])):u=t(r?_P:v,{on:c?{click:this.onLegendClick}:{},props:r?wP(wP({},f),{},{tag:v}):{},attrs:{id:d,for:i||null,tabindex:c?"-1":null},class:[c?"bv-no-focus-ring":"",r||c?"col-form-label":"",!r&&c?"pt-0":"",r||c?"":"d-block",p?"col-form-label-".concat(p):"",this.labelAlignClasses,this.labelClass]},[h])}var m=t(),g=a("invalid-feedback")||this.invalidFeedback,y=g?o("_BV_feedback_invalid_"):null;g&&(m=t(MI,{props:{ariaLive:n,id:y,role:n?"alert":null,state:e,tooltip:s},attrs:{tabindex:g?"-1":null}},[g]));var b=t(),_=a("valid-feedback")||this.validFeedback,O=_?o("_BV_feedback_valid_"):null;_&&(b=t(AI,{props:{ariaLive:n,id:O,role:n?"alert":null,state:e,tooltip:s},attrs:{tabindex:_?"-1":null}},[_]));var w=t(),z=a("description")||this.description,x=z?o("_BV_description_"):null;z&&(w=t(xI,{attrs:{id:x,tabindex:"-1"}},[z]));var C=this.ariaDescribedby=[x,!1===e?y:null,!0===e?O:null].filter(Qt).join(" ")||null,M=t(r?_P:"div",{props:r?this.contentColProps:{},ref:"content"},[a("default",{ariaDescribedby:C,descriptionId:x,id:l,labelId:d})||t(),m,b,w]);return t(c?"fieldset":r?jI:"div",{staticClass:"form-group",class:[{"was-validated":this.validated},this.stateClass],attrs:{id:l,disabled:c?this.disabled:null,role:c?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":c&&r?d:null}},r&&c?[t(jI,[u,M])]:[u,M])}},AP=ve({components:{BFormGroup:SP,BFormFieldset:SP}}),TP=r.default.extend({computed:{selectionStart:{cache:!1,get:function(){return this.$refs.input.selectionStart},set:function(t){this.$refs.input.selectionStart=t}},selectionEnd:{cache:!1,get:function(){return this.$refs.input.selectionEnd},set:function(t){this.$refs.input.selectionEnd=t}},selectionDirection:{cache:!1,get:function(){return this.$refs.input.selectionDirection},set:function(t){this.$refs.input.selectionDirection=t}}},methods:{select:function(){var t;(t=this.$refs.input).select.apply(t,arguments)},setSelectionRange:function(){var t;(t=this.$refs.input).setSelectionRange.apply(t,arguments)},setRangeText:function(){var t;(t=this.$refs.input).setRangeText.apply(t,arguments)}}});function jP(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function EP(t){for(var e=1;e2&&void 0!==arguments[2]&&arguments[2];return t=on(t),!this.hasFormatter||this.lazyFormatter&&!n||(t=this.formatter(t,e)),t},modifyValue:function(t){return t=on(t),this.trim&&(t=t.trim()),this.number&&(t=Je(t,t)),t},updateValue:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.lazy;if(!r||n){this.clearDebounce();var i=function(){if((t=e.modifyValue(t))!==e.vModelValue)e.vModelValue=t,e.$emit(VP,t);else if(e.hasFormatter){var n=e.$refs.input;n&&t!==n.value&&(n.value=t)}},a=this.computedDebounce;a>0&&!r&&!n?this.$_inputDebounceTimer=setTimeout(i,a):i()}},onInput:function(t){if(!t.target.composing){var e=t.target.value,n=this.formatValue(e,t);!1===n||t.defaultPrevented?_r(t,{propagation:!1}):(this.localValue=n,this.updateValue(n),this.$emit("input",n))}},onChange:function(t){var e=t.target.value,n=this.formatValue(e,t);!1===n||t.defaultPrevented?_r(t,{propagation:!1}):(this.localValue=n,this.updateValue(n,!0),this.$emit("change",n))},onBlur:function(t){var e=t.target.value,n=this.formatValue(e,t,!0);!1!==n&&(this.localValue=on(this.modifyValue(n)),this.updateValue(n,!0)),this.$emit("blur",t)},focus:function(){this.disabled||$n(this.$el)},blur:function(){this.disabled||Gn(this.$el)}}}),HP=r.default.extend({computed:{validity:{cache:!1,get:function(){return this.$refs.input.validity}},validationMessage:{cache:!1,get:function(){return this.$refs.input.validationMessage}},willValidate:{cache:!1,get:function(){return this.$refs.input.willValidate}}},methods:{setCustomValidity:function(){var t;return(t=this.$refs.input).setCustomValidity.apply(t,arguments)},checkValidity:function(){var t;return(t=this.$refs.input).checkValidity.apply(t,arguments)},reportValidity:function(){var t;return(t=this.$refs.input).reportValidity.apply(t,arguments)}}});function DP(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function NP(t){for(var e=1;e=n?"full":e>=n-.5?"half":"empty",u={variant:a,disabled:o,readonly:s};return t("span",{staticClass:"b-rating-star",class:{focused:r&&e===n||!Ze(e)&&n===l,"b-rating-star-empty":"empty"===c,"b-rating-star-half":"half"===c,"b-rating-star-full":"full"===c},attrs:{tabindex:o||s?null:"-1"},on:{click:this.onClick}},[t("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(c,u)])])}}),ck=cr(Ut(QP(QP(QP(QP(QP({},VA),rk),Gt(LI,["required","autofocus"])),VI),{},{color:ar(Ie),iconClear:ar(Ie,"x"),iconEmpty:ar(Ie,"star"),iconFull:ar(Ie,"star-fill"),iconHalf:ar(Ie,"star-half"),inline:ar(Me,!1),locale:ar(Fe),noBorder:ar(Me,!1),precision:ar(Ne),readonly:ar(Me,!1),showClear:ar(Me,!1),showValue:ar(Me,!1),showValueMax:ar(Me,!1),stars:ar(Ne,5,function(t){return Ze(t)>=3}),variant:ar(Ie)})),"BFormRating"),uk=r.default.extend({name:"BFormRating",components:{BIconStar:tx,BIconStarHalf:nx,BIconStarFill:ex,BIconX:CM},mixins:[BA,nk,BI],props:ck,data:function(){var t=Je(this[ik],null),e=ok(this.stars);return{localValue:bt(t)?null:sk(t,0,e),hasFocus:!1}},computed:{computedStars:function(){return ok(this.stars)},computedRating:function(){var t=Je(this.localValue,0),e=Ze(this.precision,3);return sk(Je(t.toFixed(e)),0,this.computedStars)},computedLocale:function(){var t=Xe(this.locale).filter(Qt);return new Intl.NumberFormat(t).resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return FA(this.computedLocale)},formattedRating:function(){var t=Ze(this.precision),e=this.showValueMax,n=this.computedLocale,r={notation:"standard",minimumFractionDigits:isNaN(t)?0:t,maximumFractionDigits:isNaN(t)?3:t},i=this.computedStars.toLocaleString(n),a=this.localValue;return a=bt(a)?e?"-":"":a.toLocaleString(n,r),e?"".concat(a,"/").concat(i):a}},watch:(GP={},tk(GP,ik,function(t,e){if(t!==e){var n=Je(t,null);this.localValue=bt(n)?null:sk(n,0,this.computedStars)}}),tk(GP,"localValue",function(t,e){t!==e&&t!==(this.value||0)&&this.$emit(ak,t||null)}),tk(GP,"disabled",function(t){t&&(this.hasFocus=!1,this.blur())}),GP),methods:{focus:function(){this.disabled||$n(this.$el)},blur:function(){this.disabled||Gn(this.$el)},onKeydown:function(t){var e=t.keyCode;if(this.isInteractive&&qe([qM,$M,XM,KM],e)){_r(t,{propagation:!1});var n=Ze(this.localValue,0),r=this.showClear?0:1,i=this.computedStars,a=this.isRTL?-1:1;e===qM?this.localValue=sk(n-a,r,i)||null:e===XM?this.localValue=sk(n+a,r,i):e===$M?this.localValue=sk(n-1,r,i)||null:e===KM&&(this.localValue=sk(n+1,r,i))}},onSelected:function(t){this.isInteractive&&(this.localValue=t)},onFocus:function(t){this.hasFocus=!!this.isInteractive&&"focus"===t.type},renderIcon:function(t){return this.$createElement(NM,{props:{icon:t,variant:this.disabled||this.color?null:this.variant||null}})},iconEmptyFn:function(){return this.renderIcon(this.iconEmpty)},iconHalfFn:function(){return this.renderIcon(this.iconHalf)},iconFullFn:function(){return this.renderIcon(this.iconFull)},iconClearFn:function(){return this.$createElement(NM,{props:{icon:this.iconClear}})}},render:function(t){var e=this,n=this.disabled,r=this.readonly,i=this.name,a=this.form,o=this.inline,s=this.variant,l=this.color,c=this.noBorder,u=this.hasFocus,h=this.computedRating,d=this.computedStars,p=this.formattedRating,f=this.showClear,v=this.isRTL,m=this.isInteractive,g=this.$scopedSlots,y=[];if(f&&!n&&!r){var b=t("span",{staticClass:"b-rating-icon"},[(g["icon-clear"]||this.iconClearFn)()]);y.push(t("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:u&&0===h},attrs:{tabindex:m?"-1":null},on:{click:function(){return e.onSelected(null)}},key:"clear"},[b]))}for(var _=0;_1&&void 0!==arguments[1]?arguments[1]:null;if(At(t)){var n=ee(t,this.valueField),r=ee(t,this.textField),i=ee(t,this.optionsField,null);return bt(i)?{value:yt(n)?e||r:n,text:String(yt(r)?e:r),html:ee(t,this.htmlField),disabled:Boolean(ee(t,this.disabledField))}:{label:String(ee(t,this.labelField)||r),options:this.normalizeOptions(i)}}return{value:e||t,text:String(t),disabled:!1}}}}),wk=cr({disabled:ar(Me,!1),value:ar(void 0,void 0,!0)},"BFormSelectOption"),zk=r.default.extend({name:"BFormSelectOption",functional:!0,props:wk,render:function(t,e){var n=e.props,r=e.data,i=e.children,a=n.value;return t("option",l(r,{attrs:{disabled:n.disabled},domProps:{value:a}}),i)}});function xk(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function Ck(t){for(var e=1;e0?t:500},computedInterval:function(){var t=Ze(this.repeatInterval,0);return t>0?t:100},computedThreshold:function(){return Xr(Ze(this.repeatThreshold,10),1)},computedStepMultiplier:function(){return Xr(Ze(this.repeatStepMultiplier,4),1)},computedPrecision:function(){var t=this.computedStep;return Zr(t)===t?0:(t.toString().split(".")[1]||"").length},computedMultiplier:function(){return Jr(10,this.computedPrecision||0)},valueAsFixed:function(){var t=this.localValue;return bt(t)?"":t.toFixed(this.computedPrecision)},computedLocale:function(){var t=Xe(this.locale).filter(Qt);return new Intl.NumberFormat(t).resolvedOptions().locale},computedRTL:function(){return FA(this.computedLocale)},defaultFormatter:function(){var t=this.computedPrecision;return new Intl.NumberFormat(this.computedLocale,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:t,maximumFractionDigits:t,notation:"standard"}).format},computedFormatter:function(){var t=this.formatterFn;return hr(t)?t:this.defaultFormatter},computedAttrs:function(){return Vk(Vk({},this.bvAttrs),{},{role:"group",lang:this.computedLocale,tabindex:this.disabled?null:"-1",title:this.ariaLabel})},computedSpinAttrs:function(){var t=this.spinId,e=this.localValue,n=this.computedRequired,r=this.disabled,i=this.state,a=this.computedFormatter,o=!bt(e);return Vk(Vk({dir:this.computedRTL?"rtl":"ltr"},this.bvAttrs),{},{id:t,role:"spinbutton",tabindex:r?null:"0","aria-live":"off","aria-label":this.ariaLabel||null,"aria-controls":this.ariaControls||null,"aria-invalid":!1===i||!o&&n?"true":null,"aria-required":n?"true":null,"aria-valuemin":on(this.computedMin),"aria-valuemax":on(this.computedMax),"aria-valuenow":o?e:null,"aria-valuetext":o?a(e):null})}},watch:(Ik={},Bk(Ik,Nk,function(t){this.localValue=Je(t,null)}),Bk(Ik,"localValue",function(t){this.$emit($k,t)}),Bk(Ik,"disabled",function(t){t&&this.clearRepeat()}),Bk(Ik,"readonly",function(t){t&&this.clearRepeat()}),Ik),created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||$n(this.$refs.spinner)},blur:function(){this.disabled||Gn(this.$refs.spinner)},emitChange:function(){this.$emit("change",this.localValue)},stepValue:function(t){var e=this.localValue;if(!this.disabled&&!bt(e)){var n=this.computedStep*t,r=this.computedMin,i=this.computedMax,a=this.computedMultiplier,o=this.wrap;e=Qr((e-r)/n)*n+r+n,e=Qr(e*a)/a,this.localValue=e>i?o?r:i:e0&&void 0!==arguments[0]?arguments[0]:1,e=this.localValue;bt(e)?this.localValue=this.computedMin:this.stepValue(1*t)},stepDown:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.localValue;bt(e)?this.localValue=this.wrap?this.computedMax:this.computedMin:this.stepValue(-1*t)},onKeydown:function(t){var e=t.keyCode,n=t.altKey,r=t.ctrlKey,i=t.metaKey;if(!(this.disabled||this.readonly||n||r||i)&&qe(Gk,e)){if(_r(t,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),qe([KM,$M],e)?(this.$_keyIsDown=!0,e===KM?this.handleStepRepeat(t,this.stepUp):e===$M&&this.handleStepRepeat(t,this.stepDown)):33===e?this.stepUp(this.computedStepMultiplier):34===e?this.stepDown(this.computedStepMultiplier):e===WM?this.localValue=this.computedMin:e===GM&&(this.localValue=this.computedMax)}},onKeyup:function(t){var e=t.keyCode,n=t.altKey,r=t.ctrlKey,i=t.metaKey;this.disabled||this.readonly||n||r||i||qe(Gk,e)&&(_r(t,{propagation:!1}),this.resetTimers(),this.$_keyIsDown=!1,this.emitChange())},handleStepRepeat:function(t,e){var n=this,r=t||{},i=r.type,a=r.button;if(!this.disabled&&!this.readonly){if("mousedown"===i&&a)return;this.resetTimers(),e(1);var o=this.computedThreshold,s=this.computedStepMultiplier,l=this.computedDelay,c=this.computedInterval;this.$_autoDelayTimer=setTimeout(function(){var t=0;n.$_autoRepeatTimer=setInterval(function(){e(tt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&n.indexOf(t)===e})},pF=function(t){return zt(t)?t:jt(t)&&t.target.value||""},fF=cr(Ut(rF(rF(rF(rF(rF(rF({},VA),sF),LI),VI),RI),{},{addButtonText:ar(Ie,"Add"),addButtonVariant:ar(Ie,"outline-secondary"),addOnChange:ar(Me,!1),duplicateTagText:ar(Ie,"Duplicate tag(s)"),ignoreInputFocusSelector:ar(Fe,hF),inputAttrs:ar(je,{}),inputClass:ar(ke),inputId:ar(Ie),inputType:ar(Ie,"text",function(t){return qe(uF,t)}),invalidTagText:ar(Ie,"Invalid tag(s)"),limit:ar(Te),limitTagsText:ar(Ie,"Tag limit reached"),noAddOnEnter:ar(Me,!1),noOuterFocus:ar(Me,!1),noTagRemove:ar(Me,!1),placeholder:ar(Ie,"Add tag..."),removeOnDelete:ar(Me,!1),separator:ar(Fe),tagClass:ar(ke),tagPills:ar(Me,!1),tagRemoveLabel:ar(Ie,"Remove tag"),tagRemovedLabel:ar(Ie,"Tag removed"),tagValidator:ar(Ae),tagVariant:ar(Ie,"secondary")})),"BFormTags"),vF=r.default.extend({name:"BFormTags",mixins:[BA,oF,PI,BI,HI,vr],props:fF,data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:{all:[],valid:[],invalid:[],duplicate:[]}}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return qe(uF,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){var t=this.disabled,e=this.form;return rF(rF({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:t,form:e})},computedInputHandlers:function(){return{input:this.onInputInput,change:this.onInputChange,keydown:this.onInputKeydown,reset:this.reset}},computedSeparator:function(){return Xe(this.separator).filter(zt).filter(Qt).join("")},computedSeparatorRegExp:function(){var t=this.computedSeparator;return t?new RegExp("[".concat(an(t).replace(V,"\\s"),"]+")):null},computedJoiner:function(){var t=this.computedSeparator.charAt(0);return" "!==t?"".concat(t," "):t},computeIgnoreInputFocusSelector:function(){return Xe(this.ignoreInputFocusSelector).filter(Qt).join(",").trim()},disableAddButton:function(){var t=this,e=sn(this.newTag);return""===e||!this.splitTags(e).some(function(e){return!qe(t.tags,e)&&t.validateTag(e)})},duplicateTags:function(){return this.tagsState.duplicate},hasDuplicateTags:function(){return this.duplicateTags.length>0},invalidTags:function(){return this.tagsState.invalid},hasInvalidTags:function(){return this.invalidTags.length>0},isLimitReached:function(){var t=this.limit;return xt(t)&&t>=0&&this.tags.length>=t}},watch:(Zk={},iF(Zk,lF,function(t){this.tags=dF(t)}),iF(Zk,"tags",function(t,e){ZM(t,this[lF])||this.$emit(cF,t),ZM(t,e)||(t=Xe(t).filter(Qt),e=Xe(e).filter(Qt),this.removedTags=e.filter(function(e){return!qe(t,e)}))}),iF(Zk,"tagsState",function(t,e){ZM(t,e)||this.$emit("tag-state",t.valid,t.invalid,t.duplicate)}),Zk),created:function(){this.tags=dF(this[lF])},mounted:function(){var t=this,e=Cn("form",this.$el);e&&(gr(e,"reset",this.reset,ze),this.$on("hook:beforeDestroy",function(){yr(e,"reset",t.reset,ze)}))},methods:{addTag:function(t){if(t=zt(t)?t:this.newTag,!this.disabled&&""!==sn(t)&&!this.isLimitReached){var e=this.parseTags(t);if(e.valid.length>0||0===e.all.length)if(xn(this.getInput(),"select"))this.newTag="";else{var n=[].concat(tF(e.invalid),tF(e.duplicate));this.newTag=e.all.filter(function(t){return qe(n,t)}).join(this.computedJoiner).concat(n.length>0?this.computedJoiner.charAt(0):"")}e.valid.length>0&&(this.tags=Xe(this.tags,e.valid)),this.tagsState=e,this.focus()}},removeTag:function(t){var e=this;this.disabled||(this.tags=this.tags.filter(function(e){return e!==t}),this.$nextTick(function(){e.focus()}))},reset:function(){var t=this;this.newTag="",this.tags=[],this.$nextTick(function(){t.removedTags=[],t.tagsState={all:[],valid:[],invalid:[],duplicate:[]}})},onInputInput:function(t){if(!(this.disabled||jt(t)&&t.target.composing)){var e=pF(t),n=this.computedSeparatorRegExp;this.newTag!==e&&(this.newTag=e),e=on(e).replace(D,""),n&&n.test(e.slice(-1))?this.addTag():this.tagsState=""===e?{all:[],valid:[],invalid:[],duplicate:[]}:this.parseTags(e)}},onInputChange:function(t){if(!this.disabled&&this.addOnChange){var e=pF(t);this.newTag!==e&&(this.newTag=e),this.addTag()}},onInputKeydown:function(t){if(!this.disabled&&jt(t)){var e=t.keyCode,n=t.target.value||"";this.noAddOnEnter||e!==UM?!this.removeOnDelete||8!==e&&46!==e||""!==n||(_r(t,{propagation:!1}),this.tags=this.tags.slice(0,-1)):(_r(t,{propagation:!1}),this.addTag())}},onClick:function(t){var e=this,n=this.computeIgnoreInputFocusSelector,r=t.target;this.disabled||yn(r)||n&&Cn(n,r,!0)||this.$nextTick(function(){e.focus()})},onFocusin:function(){this.hasFocus=!0},onFocusout:function(){this.hasFocus=!1},handleAutofocus:function(){var t=this;this.$nextTick(function(){pn(function(){t.autofocus&&!t.disabled&&t.focus()})})},focus:function(){this.disabled||$n(this.getInput())},blur:function(){this.disabled||Gn(this.getInput())},splitTags:function(t){t=on(t);var e=this.computedSeparatorRegExp;return(e?t.split(e):[t]).map(sn).filter(Qt)},parseTags:function(t){var e=this,n=this.splitTags(t),r={all:n,valid:[],invalid:[],duplicate:[]};return n.forEach(function(t){qe(e.tags,t)||qe(r.valid,t)?qe(r.duplicate,t)||r.duplicate.push(t):e.validateTag(t)?r.valid.push(t):qe(r.invalid,t)||r.invalid.push(t)}),r},validateTag:function(t){var e=this.tagValidator;return!hr(e)||e(t)},getInput:function(){return zn("#".concat(pP(this.computedInputId)),this.$el)},defaultRender:function(t){var e=t.addButtonText,n=t.addButtonVariant,r=t.addTag,i=t.disableAddButton,a=t.disabled,o=t.duplicateTagText,s=t.inputAttrs,l=t.inputClass,c=t.inputHandlers,u=t.inputType,h=t.invalidTagText,d=t.isDuplicate,p=t.isInvalid,f=t.isLimitReached,v=t.limitTagsText,m=t.noTagRemove,g=t.placeholder,y=t.removeTag,b=t.tagClass,_=t.tagPills,O=t.tagRemoveLabel,w=t.tagVariant,z=t.tags,x=this.$createElement,C=z.map(function(t){return t=on(t),x(Qk,{class:b,props:{disabled:a,noRemove:m,pill:_,removeLabel:O,tag:"li",title:t,variant:w},on:{remove:function(){return y(t)}},key:"tags_".concat(t)},t)}),M=h&&p?this.safeId("__invalid_feedback__"):null,S=o&&d?this.safeId("__duplicate_feedback__"):null,A=v&&f?this.safeId("__limit_feedback__"):null,T=[s["aria-describedby"],M,S,A].filter(Qt).join(" "),j=x("input",{staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:l,style:{outline:0,minWidth:"5rem"},attrs:rF(rF({},s),{},{"aria-describedby":T||null,type:u,placeholder:g||null}),domProps:{value:s.value},on:c,directives:[{name:"model",value:s.value}],ref:"input"}),E=x(xS,{staticClass:"b-form-tags-button py-0",class:{invisible:i},style:{fontSize:"90%"},props:{disabled:i||f,variant:n},on:{click:function(){return r()}},ref:"button"},[this.normalizeSlot("add-button-text")||e]),I=this.safeId("__tag_list__"),L=x("li",{staticClass:"b-from-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":I},key:"tags_field"},[x("div",{staticClass:"d-flex",attrs:{role:"group"}},[j,E])]),P=x("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:I},key:"tags_list"},[C,L]),k=x();if(h||o||v){var F=this.computedJoiner,V=x();M&&(V=x(MI,{props:{id:M,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join(F)]));var B=x();S&&(B=x(xI,{props:{id:S},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join(F)]));var R=x();A&&(R=x(xI,{props:{id:A},key:"tags_limit_feedback"},[v])),k=x("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[V,B,R])}return[P,k]}},render:function(t){var e=this.name,n=this.disabled,r=this.required,i=this.form,a=this.tags,o=this.computedInputId,s=this.hasFocus,l=this.noOuterFocus,c=rF({tags:a.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,reset:this.reset,inputId:o,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},$t(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),u=this.normalizeSlot("default",c)||this.defaultRender(c),h=t("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:o,"aria-live":s?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),d=t("div",{staticClass:"sr-only",attrs:{id:this.safeId("__removed_tags__"),role:"status","aria-live":s?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),p=t();if(e&&!n){var f=a.length>0;p=(f?a:[""]).map(function(n){return t("input",{class:{"sr-only":!f},attrs:{type:f?"hidden":"text",value:n,required:r,name:e,form:i},key:"tag_input_".concat(n)})})}return t("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:s&&!l&&!n,disabled:n},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:n||l?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[h,d,u,p])}}),mF=ve({components:{BFormTags:vF,BTags:vF,BFormTag:Qk,BTag:Qk}});function gF(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function yF(t){for(var e=1;eh?s:"".concat(h,"px")}},render:function(t){return t("textarea",{class:this.computedClass,style:this.computedStyle,directives:[{name:"b-visible",value:this.visibleCallback,modifiers:{640:!0}}],attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),zF=ve({components:{BFormTextarea:wF,BTextarea:wF}});function xF(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function CF(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]&&arguments[1];return bt(e)||bt(n)||i&&bt(r)?"":[e,n,i?r:0].map(kF).join(":")}({hours:this.modelHours,minutes:this.modelMinutes,seconds:this.modelSeconds},this.showSeconds)},resolvedOptions:function(){var t=Xe(this.locale).filter(Qt),e={hour:"numeric",minute:"numeric",second:"numeric"};_t(this.hour12)||(e.hour12=!!this.hour12);var n=new Intl.DateTimeFormat(t,e).resolvedOptions(),r=n.hour12||!1,i=n.hourCycle||(r?"h12":"h23");return{locale:n.locale,hour12:r,hourCycle:i}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return FA(this.computedLang)},computedHourCycle:function(){return this.resolvedOptions.hourCycle},is12Hour:function(){return!!this.resolvedOptions.hour12},context:function(){return{locale:this.computedLocale,isRTL:this.computedRTL,hourCycle:this.computedHourCycle,hour12:this.is12Hour,hours:this.modelHours,minutes:this.modelMinutes,seconds:this.showSeconds?this.modelSeconds:0,value:this.computedHMS,formatted:this.formattedTimeString}},valueId:function(){return this.safeId()||null},computedAriaLabelledby:function(){return[this.ariaLabelledby,this.valueId].filter(Qt).join(" ")||null},timeFormatter:function(){var t={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:"numeric",minute:"numeric",timeZone:"UTC"};return this.showSeconds&&(t.second="numeric"),zA(this.computedLocale,t)},numberFormatter:function(){return new Intl.NumberFormat(this.computedLocale,{style:"decimal",minimumIntegerDigits:2,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"}).format},formattedTimeString:function(){var t=this.modelHours,e=this.modelMinutes,n=this.showSeconds&&this.modelSeconds||0;return this.computedHMS?this.timeFormatter(_A(Date.UTC(0,0,1,t,e,n))):this.labelNoTimeSelected||" "},spinScopedSlots:function(){var t=this.$createElement;return{increment:function(e){var n=e.hasFocus;return t(mh,{props:{scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(e){var n=e.hasFocus;return t(mh,{props:{flipV:!0,scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:(_F={},MF(_F,LF,function(t,e){if(t!==e&&!ZM(FF(t),FF(this.computedHMS))){var n=FF(t),r=n.hours,i=n.minutes,a=n.seconds,o=n.ampm;this.modelHours=r,this.modelMinutes=i,this.modelSeconds=a,this.modelAmpm=o}}),MF(_F,"computedHMS",function(t,e){t!==e&&this.$emit(PF,t)}),MF(_F,"context",function(t,e){ZM(t,e)||this.$emit("context",t)}),MF(_F,"modelAmpm",function(t,e){var n=this;if(t!==e){var r=bt(this.modelHours)?0:this.modelHours;this.$nextTick(function(){0===t&&r>11?n.modelHours=r-12:1===t&&r<12&&(n.modelHours=r+12)})}}),MF(_F,"modelHours",function(t,e){t!==e&&(this.modelAmpm=t>11?1:0)}),_F),created:function(){var t=this;this.$nextTick(function(){t.$emit("context",t.context)})},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||$n(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var t=mn();Mn(this.$el,t)&&Gn(t)}},formatHours:function(t){var e=this.computedHourCycle;return t=0===(t=this.is12Hour&&t>12?t-12:t)&&"h12"===e?12:0===t&&"h24"===e?24:12===t&&"h11"===e?0:t,this.numberFormatter(t)},formatMinutes:function(t){return this.numberFormatter(t)},formatSeconds:function(t){return this.numberFormatter(t)},formatAmpm:function(t){return 0===t?this.labelAm:1===t?this.labelPm:""},setHours:function(t){this.modelHours=t},setMinutes:function(t){this.modelMinutes=t},setSeconds:function(t){this.modelSeconds=t},setAmpm:function(t){this.modelAmpm=t},onSpinLeftRight:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.type,n=t.keyCode;if(!this.disabled&&"keydown"===e&&(n===qM||n===XM)){_r(t);var r=this.$refs.spinners||[],i=r.map(function(t){return!!t.hasFocus}).indexOf(!0);i=(i+=n===qM?-1:1)>=r.length?0:i<0?r.length-1:i,$n(r[i])}},setLive:function(t){var e=this;t?this.$nextTick(function(){pn(function(){e.isLive=!0})}):this.isLive=!1}},render:function(t){var e=this;if(this.hidden)return t();var n=this.valueId,r=this.computedAriaLabelledby,i=[],a=function(r,a,o){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=e.safeId("_spinbutton_".concat(a,"_"))||null;return i.push(l),t(Wk,{class:o,props:CF({id:l,placeholder:"--",vertical:!0,required:!0,disabled:e.disabled,readonly:e.readonly,locale:e.computedLocale,labelIncrement:e.labelIncrement,labelDecrement:e.labelDecrement,wrap:!0,ariaControls:n,min:0},s),scopedSlots:e.spinScopedSlots,on:{change:r},key:a,ref:"spinners",refInFor:!0})},o=function(){return t("div",{staticClass:"d-flex flex-column",class:{"text-muted":e.disabled||e.readonly},attrs:{"aria-hidden":"true"}},[t(yh,{props:{shiftV:4,scale:.5}}),t(yh,{props:{shiftV:-4,scale:.5}})])},s=[];s.push(a(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),s.push(o()),s.push(a(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(s.push(o()),s.push(a(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.is12Hour&&s.push(a(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),s=t("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:this.disabled||this.readonly?null:"-1","aria-labelledby":r},on:{keydown:this.onSpinLeftRight,click:function(t){t.target===t.currentTarget&&e.focus()}}},s);var l=t("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:this.disabled||this.readonly},attrs:{id:n,role:"status",for:i.filter(Qt).join(" ")||null,tabindex:this.disabled?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:this.focus,focus:this.focus}},[t("bdi",this.formattedTimeString),this.computedHMS?t("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),c=t("header",{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[l]),u=this.normalizeSlot();return u=u?t("footer",{staticClass:"b-time-footer"},u):t(),t("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":r||null,"aria-disabled":this.disabled?"true":null,"aria-readonly":this.readonly&&!this.disabled?"true":null}},[c,s,u])}});function RF(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function HF(t){for(var e=1;e0&&o.push(t("span"," "));var l=this.labelResetButton;o.push(t(xS,{props:{size:"sm",disabled:n||r,variant:this.resetButtonVariant},attrs:{"aria-label":l||null},on:{click:this.onResetButton},key:"reset-btn"},l))}if(!this.noCloseButton){o.length>0&&o.push(t("span"," "));var c=this.labelCloseButton;o.push(t(xS,{props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":c||null},on:{click:this.onCloseButton},key:"close-btn"},c))}o.length>0&&(o=[t("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":o.length>1,"justify-content-end":o.length<2}},o)]);var u=t(BF,{staticClass:"b-form-time-control",props:HF(HF({},sr(qF,i)),{},{value:e,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext},ref:"time"},o);return t(FL,{staticClass:"b-form-timepicker",props:HF(HF({},sr(XF,i)),{},{id:this.safeId(),value:e,formattedValue:e?this.formattedValue:"",placeholder:a,rtl:this.isRTL,lang:this.computedLang}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:DF({},"button-content",this.$scopedSlots["button-content"]||this.defaultButtonFn),ref:"control"},[u])}}),ZF=ve({components:{BFormTimepicker:KF,BTimepicker:KF}}),JF=ve({components:{BImg:bT,BImgLazy:$T}}),QF=cr({tag:ar(Ie,"div")},"BInputGroupText"),tV=r.default.extend({name:"BInputGroupText",functional:!0,props:QF,render:function(t,e){var n=e.props,r=e.data,i=e.children;return t(n.tag,l(r,{staticClass:"input-group-text"}),i)}}),eV=cr({append:ar(Me,!1),id:ar(Ie),isText:ar(Me,!1),tag:ar(Ie,"div")},"BInputGroupAddon"),nV=r.default.extend({name:"BInputGroupAddon",functional:!0,props:eV,render:function(t,e){var n=e.props,r=e.data,i=e.children,a=n.append;return t(n.tag,l(r,{class:{"input-group-append":a,"input-group-prepend":!a},attrs:{id:n.id}}),n.isText?[t(tV,i)]:i)}});function rV(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function iV(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:null;return t&&t.$options._scopeId||e};var JV=r.default.extend({computed:{scopedStyleAttrs:function(){var t,e,n,r=ZV(this.$parent);return r?(n="",(e=r)in(t={})?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t):{}}}}),QV=r.default.extend({abstract:!0,name:"BVTransporterTarget",props:{nodes:ar(Le)},data:function(t){return{updatedNodes:t.nodes}},destroyed:function(){var t;(t=this.$el)&&t.parentNode&&t.parentNode.removeChild(t)},render:function(t){var e=this.updatedNodes,n=Ot(e)?e({}):e;return(n=Xe(n).filter(Qt))&&n.length>0&&!n[0].text?n[0]:t()}}),tB={container:ar([dt,Ie],"body"),disabled:ar(Me,!1),tag:ar(Ie,"div")},eB=r.default.extend({name:"BVTransporter",mixins:[vr],props:tB,watch:{disabled:{immediate:!0,handler:function(t){t?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(f){var t=this.container;return zt(t)?zn(t):t}return null},mountTarget:function(){if(!this.$_target){var t=this.getContainer();if(t){var e=document.createElement("div");t.appendChild(e),this.$_target=new QV({el:e,parent:this,propsData:{nodes:Xe(this.normalizeSlot())}})}}},updateTarget:function(){if(f&&this.$_target){var t=this.$scopedSlots.default;this.disabled||(t&&this.$_defaultFn!==t?this.$_target.updatedNodes=t:t||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=t}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(t){if(this.disabled){var e=Xe(this.normalizeSlot()).filter(Qt);if(e.length>0&&!e[0].text)return e[0]}return t()}});function nB(t){"@babel/helpers - typeof";return(nB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function iB(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),e=i.call(this,t,n),Vt(uB(e),{trigger:Wt()}),e}return e=a,r=[{key:"Defaults",get:function(){return iB(iB({},sB(hB(a),"Defaults",this)),{},{trigger:null})}}],(n=null)&&oB(e.prototype,n),r&&oB(e,r),a}(),pB=new(r.default.extend({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(t,e){f&&(this.getScrollbarWidth(),t>0&&0===e?(this.checkScrollbar(),this.setScrollbar(),An(document.body,"modal-open")):0===t&&e>0&&(this.resetScrollbar(),Tn(document.body,"modal-open")),En(document.body,"data-modal-open-count",String(t)))},modals:function(t){var e=this;this.checkScrollbar(),pn(function(){e.updateModals(t||[])})}},methods:{registerModal:function(t){var e=this;t&&-1===this.modals.indexOf(t)&&(this.modals.push(t),t.$once("hook:beforeDestroy",function(){e.unregisterModal(t)}))},unregisterModal:function(t){var e=this.modals.indexOf(t);e>-1&&(this.modals.splice(e,1),t._isBeingDestroyed||t._isDestroyed||this.resetModal(t))},getBaseZIndex:function(){if(bt(this.baseZIndex)&&f){var t=document.createElement("div");An(t,"modal-backdrop"),An(t,"d-none"),kn(t,"display","none"),document.body.appendChild(t),this.baseZIndex=Ze(Rn(t).zIndex,1040),document.body.removeChild(t)}return this.baseZIndex||1040},getScrollbarWidth:function(){if(bt(this.scrollbarWidth)&&f){var t=document.createElement("div");An(t,"modal-scrollbar-measure"),document.body.appendChild(t),this.scrollbarWidth=Bn(t).width-t.clientWidth,document.body.removeChild(t)}return this.scrollbarWidth||0},updateModals:function(t){var e=this,n=this.getBaseZIndex(),r=this.getScrollbarWidth();t.forEach(function(t,i){t.zIndex=n+i,t.scrollbarWidth=r,t.isTop=i===e.modals.length-1,t.isBodyOverflowing=e.isBodyOverflowing})},resetModal:function(t){t&&(t.zIndex=this.getBaseZIndex(),t.isTop=!0,t.isBodyOverflowing=!1)},checkScrollbar:function(){var t=Bn(document.body),e=t.left,n=t.right;this.isBodyOverflowing=e+n0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t&&(this.$_observer=ij(this.$refs.content,this.checkModalOverflow.bind(this),zB))},updateModel:function(t){t!==this[_B]&&this.$emit(OB,t)},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new dB(t,vB(vB({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},e),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!this.isVisible&&!this.isOpening)if(this.isClosing)this.$once("hidden",this.show);else{this.isOpening=!0,this.$_returnFocus=this.$_returnFocus||this.getActiveElement();var t=this.buildEvent("show",{cancelable:!0});if(this.emitEvent(t),t.defaultPrevented||this.isVisible)return this.isOpening=!1,void this.updateModel(!1);this.doShow()}},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(this.isVisible&&!this.isClosing){this.isClosing=!0;var e=this.buildEvent("hide",{cancelable:"FORCE"!==t,trigger:t||null});if("ok"===t?this.$emit("ok",e):"cancel"===t?this.$emit("cancel",e):"headerclose"===t&&this.$emit("close",e),this.emitEvent(e),e.defaultPrevented||!this.isVisible)return this.isClosing=!1,void this.updateModel(!0);this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(t){t&&(this.$_returnFocus=t),this.isVisible?this.hide("toggle"):this.show()},getActiveElement:function(){var t=mn(f?[document.body]:[]);return t&&t.focus?t:null},doShow:function(){var t=this;pB.modalsAreOpen&&this.noStacking?this.listenOnRootOnce(wr("BModal","hidden"),this.doShow):(pB.registerModal(this),this.isHidden=!1,this.$nextTick(function(){t.isVisible=!0,t.isOpening=!1,t.updateModel(!0),t.$nextTick(function(){t.setObserver(!0)})}))},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var t=this;this.isBlock=!0,pn(function(){pn(function(){t.isShow=!0})})},onAfterEnter:function(){var t=this;this.checkModalOverflow(),this.isTransitioning=!1,pn(function(){t.emitEvent(t.buildEvent("shown")),t.setEnforceFocus(!0),t.$nextTick(function(){t.focusFirst()})})},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var t=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick(function(){t.isClosing=!1,pB.unregisterModal(t),t.returnFocusTo(),t.emitEvent(t.buildEvent("hidden"))})},emitEvent:function(t){var e=t.type;this.emitOnRoot(wr("BModal",e),t,t.componentId),this.$emit(e,t)},onDialogMousedown:function(){var t=this,e=this.$refs.modal;gr(e,"mouseup",function n(r){yr(e,"mouseup",n,xe),r.target===e&&(t.ignoreBackdropClick=!0)},xe)},onClickOut:function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:this.isVisible&&!this.noCloseOnBackdrop&&Mn(document.body,t.target)&&(Mn(this.$refs.content,t.target)||this.hide("backdrop"))},onOk:function(){this.hide("ok")},onCancel:function(){this.hide("cancel")},onClose:function(){this.hide("headerclose")},onEsc:function(t){27===t.keyCode&&this.isVisible&&!this.noCloseOnEsc&&this.hide("esc")},focusHandler:function(t){var e=this.$refs.content,n=t.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!e||document===n||Mn(e,n)||this.computeIgnoreEnforceFocusSelector&&Cn(this.computeIgnoreEnforceFocusSelector,n,!0))){var r=Nn(this.$refs.content),i=this.$refs["bottom-trap"],a=this.$refs["top-trap"];if(i&&n===i){if($n(r[0]))return}else if(a&&n===a&&$n(r[r.length-1]))return;$n(e,{preventScroll:!0})}},setEnforceFocus:function(t){this.listenDocument(t,"focusin",this.focusHandler)},setResizeEvent:function(t){this.listenWindow(t,"resize",this.checkModalOverflow),this.listenWindow(t,"orientationchange",this.checkModalOverflow)},showHandler:function(t,e){t===this.modalId&&(this.$_returnFocus=e||this.getActiveElement(),this.show())},hideHandler:function(t){t===this.modalId&&this.hide("event")},toggleHandler:function(t,e){t===this.modalId&&this.toggle(e)},modalListener:function(t){this.noStacking&&t.vueTarget!==this&&this.hide()},focusFirst:function(){var t=this;f&&pn(function(){var e=t.$refs.modal,n=t.$refs.content,r=t.getActiveElement();if(e&&n&&(!r||!Mn(n,r))){var i=t.$refs["ok-button"],a=t.$refs["cancel-button"],o=t.$refs["close-button"],s=t.autoFocusButton,l="ok"===s&&i?i.$el||i:"cancel"===s&&a?a.$el||a:"headerclose"===s&&o?o.$el||o:n;$n(l),l===n&&t.$nextTick(function(){e.scrollTop=0})}})},returnFocusTo:function(){var t=this.returnFocus||this.$_returnFocus||null;this.$_returnFocus=null,this.$nextTick(function(){(t=zt(t)?zn(t):t)&&(t=t.$el||t,$n(t))})},checkModalOverflow:function(){if(this.isVisible){var t=this.$refs.modal;this.isModalOverflowing=t.scrollHeight>document.documentElement.clientHeight}},makeModal:function(t){var e=t();if(!this.hideHeader){var n=this.normalizeSlot("modal-header",this.slotScope);if(!n){var r=t();this.hideHeaderClose||(r=t(Cr,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot("modal-header-close")])),n=[t(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot("modal-title")?{}:GS(this.titleHtml,this.title)},this.normalizeSlot("modal-title",this.slotScope)),r]}e=t("header",{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[n])}var i=t("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot("default",this.slotScope)),a=t();if(!this.hideFooter){var o=this.normalizeSlot("modal-footer",this.slotScope);if(!o){var s=t();this.okOnly||(s=t(xS,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-cancel")?{}:GS(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot("modal-cancel"))),o=[s,t(xS,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-ok")?{}:GS(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot("modal-ok"))]}a=t("footer",{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[o])}var l=t("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[e,i,a]),c=t(),u=t();this.isVisible&&!this.noEnforceFocus&&(c=t("span",{attrs:{tabindex:"0"},ref:"top-trap"}),u=t("span",{attrs:{tabindex:"0"},ref:"bottom-trap"}));var h=t("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[c,l,u]),d=t("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[h]);d=t("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[d]);var p=t();return!this.hideBackdrop&&this.isVisible&&(p=t("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot("modal-backdrop"))),p=t(Lr,{props:{noFade:this.noFade}},[p]),t("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this._uid)},[d,p])}},render:function(t){return this.static?this.lazy&&this.isHidden?t():this.makeModal(t):this.isHidden?t():t(eB,[this.makeModal(t)])}}),MB=zr("BModal","show"),SB="__bv_modal_directive__",AB=function(t){var e=t.modifiers,n=void 0===e?{}:e,r=t.arg,i=t.value;return zt(i)?i:zt(r)?r:Ht(n).reverse()[0]},TB=function(t){return t&&xn(t,".dropdown-menu > li, li.nav-item")&&zn("a, button",t)||t},jB=function(t){t&&"BUTTON"!==t.tagName&&(Pn(t,"role")||En(t,"role","button"),"A"===t.tagName||Pn(t,"tabindex")||En(t,"tabindex","0"))},EB=function(t){var e=t[SB]||{},n=e.trigger,r=e.handler;n&&r&&(yr(n,"click",r,ze),yr(n,"keydown",r,ze),yr(t,"click",r,ze),yr(t,"keydown",r,ze)),delete t[SB]},IB=function(t,e,n){var r=t[SB]||{},i=AB(e),a=TB(t);i===r.target&&a===r.trigger||(EB(t),function(t,e,n){var r=AB(e),i=TB(t);if(r&&i){var a=function(t){var e=t.currentTarget;if(!_n(e)){var i=t.type,a=t.keyCode;"click"!==i&&("keydown"!==i||a!==UM&&a!==YM)||n.context.$root.$emit(MB,r,e)}};t[SB]={handler:a,target:r,trigger:i},jB(i),gr(i,"click",a,ze),"BUTTON"!==i.tagName&&"button"===Ln(i,"role")&&gr(i,"keydown",a,ze)}}(t,e,n)),jB(a)},LB={inserted:IB,updated:function(){},componentUpdated:IB,unbind:EB};function PB(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(n&&!ae("$bvModal")&&!ie("$bvModal")&&Ot(i))return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:DB;if(!ie("$bvModal")&&!ae("$bvModal")){var i=new e({parent:t,propsData:FB(FB(FB({},$B(Xn("BModal"))),{},{hideHeaderClose:!0,hideHeader:!(n.title||n.titleHtml)},Gt(n,Ht(NB))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return Ht(NB).forEach(function(t){yt(n[t])||(i.$slots[NB[t]]=Xe(n[t]))}),new Promise(function(t,e){var n=!1;i.$once("hook:destroyed",function(){n||e(new Error("BootstrapVue MsgBox destroyed before resolve"))}),i.$on("hide",function(e){if(!e.defaultPrevented){var i=r(e);e.defaultPrevented||(n=!0,t(i))}});var a=document.createElement("div");document.body.appendChild(a),i.$mount(a)})}}(t,FB(FB({},$B(r)),{},{msgBoxContent:n}),i)},r=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),kt(this,{_vm:e,_root:e.$root}),Vt(this,{_vm:Wt(),_root:Wt()})}var e,r,i;return e=t,(r=[{key:"show",value:function(t){if(t&&this._root){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{}),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:t});return n(this._vm,t,e,function(){return!0})}},{key:"msgBoxConfirm",value:function(t){var e=FB(FB({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return n(this._vm,t,e,function(t){var e=t.trigger;return"ok"===e||"cancel"!==e&&null})}}])&&PB(e.prototype,r),i&&PB(e,i),t}();t.mixin({beforeCreate:function(){this._bv__modal=new r(this)}}),Dt(t.prototype,"$bvModal")||Bt(t.prototype,"$bvModal",{get:function(){return this&&this._bv__modal||re('"'.concat("$bvModal",'" must be accessed from a Vue instance "this" context.'),"BModal"),this._bv__modal}})}}}),UB=ve({components:{BModal:CB},directives:{VBModal:LB},plugins:{BVModalPlugin:GB}});function WB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var qB=cr({align:ar(Ie),cardHeader:ar(Me,!1),fill:ar(Me,!1),justified:ar(Me,!1),pills:ar(Me,!1),small:ar(Me,!1),tabs:ar(Me,!1),tag:ar(Ie,"ul"),vertical:ar(Me,!1)},"BNav"),XB=r.default.extend({name:"BNav",functional:!0,props:qB,render:function(t,e){var n,r,i=e.props,a=e.data,o=e.children,s=i.tabs,c=i.pills,u=i.vertical,h=i.align,d=i.cardHeader;return t(i.tag,l(a,{staticClass:"nav",class:(n={"nav-tabs":s,"nav-pills":c&&!s,"card-header-tabs":!u&&d&&s,"card-header-pills":!u&&d&&c&&!s,"flex-column":u,"nav-fill":!u&&i.fill,"nav-justified":!u&&i.justified},WB(n,(r=h,"justify-content-".concat(r="left"===r?"start":"right"===r?"end":r)),!u&&h),WB(n,"small",i.small),n)}),o)}});function YB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function KB(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0&&e<=1}),overlayTag:ar(Ie,"div"),rounded:ar(Re,!1),show:ar(Me,!1),spinnerSmall:ar(Me,!1),spinnerType:ar(Ie,"border"),spinnerVariant:ar(Ie),variant:ar(Ie,"light"),wrapTag:ar(Ie,"div"),zIndex:ar(Ne,10)},"BOverlay"),DR=r.default.extend({name:"BOverlay",mixins:[vr],props:HR,computed:{computedRounded:function(){var t=this.rounded;return!0===t||""===t?"rounded":t?"rounded-".concat(t):""},computedVariant:function(){var t=this.variant;return t&&!this.bgColor?"bg-".concat(t):""},slotScope:function(){return{spinnerType:this.spinnerType||null,spinnerVariant:this.spinnerVariant||null,spinnerSmall:this.spinnerSmall}}},methods:{defaultOverlayFn:function(t){var e=t.spinnerType,n=t.spinnerVariant,r=t.spinnerSmall;return this.$createElement(PR,{props:{type:e,variant:n,small:r}})}},render:function(t){var e=this,n=this.show,r=this.fixed,i=this.noFade,a=this.noWrap,o=this.slotScope,s=t();if(n){var l=t("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:FR(FR({},RR),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),c=t("div",{staticClass:"position-absolute",style:this.noCenter?FR({},RR):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot("overlay",o)||this.defaultOverlayFn(o)]);s=t(this.overlayTag,{staticClass:"b-overlay",class:{"position-absolute":!a||a&&!r,"position-fixed":a&&r},style:FR(FR({},RR),{},{zIndex:this.zIndex||10}),on:{click:function(t){return e.$emit("click",t)}},key:"overlay"},[l,c])}return s=t(Lr,{props:{noFade:i,appear:!0},on:{"after-enter":function(){return e.$emit("shown")},"after-leave":function(){return e.$emit("hidden")}}},[s]),a?s:t(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":n?"true":null}},a?[s]:[this.normalizeSlot(),s])}}),NR=ve({components:{BOverlay:DR}});function $R(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function GR(t){for(var e=1;ee?e:n<1?1:n},QR=function(t){if(t.keyCode===YM)return _r(t,{immediatePropagation:!0}),t.currentTarget.click(),!1},tH=cr(Ut(GR(GR({},XR),{},{align:ar(Ie,"left"),ariaLabel:ar(Ie,"Pagination"),disabled:ar(Me,!1),ellipsisClass:ar(ke),ellipsisText:ar(Ie,"…"),firstClass:ar(ke),firstNumber:ar(Me,!1),firstText:ar(Ie,"«"),hideEllipsis:ar(Me,!1),hideGotoEndButtons:ar(Me,!1),labelFirstPage:ar(Ie,"Go to first page"),labelLastPage:ar(Ie,"Go to last page"),labelNextPage:ar(Ie,"Go to next page"),labelPage:ar(De,"Go to page"),labelPrevPage:ar(Ie,"Go to previous page"),lastClass:ar(ke),lastNumber:ar(Me,!1),lastText:ar(Ie,"»"),limit:ar(Ne,5,function(t){return!(Ze(t,0)<1)||(re('Prop "limit" must be a number greater than "0"',"BPagination"),!1)}),nextClass:ar(ke),nextText:ar(Ie,"›"),pageClass:ar(ke),pills:ar(Me,!1),prevClass:ar(ke),prevText:ar(Ie,"‹"),size:ar(Ie)})),"pagination"),eH=r.default.extend({mixins:[qR,vr],props:tH,data:function(){var t=Ze(this[YR],0);return{currentPage:t=t>0?t:-1,localNumberOfPages:1,localLimit:5}},computed:{btnSize:function(){var t=this.size;return t?"pagination-".concat(t):""},alignment:function(){var t=this.align;return"center"===t?"justify-content-center":"end"===t||"right"===t?"justify-content-end":"fill"===t?"text-center":""},styleClass:function(){return this.pills?"b-pagination-pills":""},computedCurrentPage:function(){return JR(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var t=this.localLimit,e=this.localNumberOfPages,n=this.computedCurrentPage,r=this.hideEllipsis,i=this.firstNumber,a=this.lastNumber,o=!1,s=!1,l=t,c=1;e<=t?l=e:n3?(r&&!a||(s=!0,l=t-(i?0:1)),l=qr(l,t)):e-n+23?(r&&!i||(o=!0,l=t-(a?0:1)),c=e-l+1):(t>3&&(l=t-(r?0:2),o=!(r&&!i),s=!(r&&!a)),c=n-Zr(l/2)),c<1?(c=1,o=!1):c>e-l&&(c=e-l+1,s=!1),o&&i&&c<4&&(l+=2,c=1,o=!1);var u=c+l-1;return s&&a&&u>e-3&&(l+=u===e-2?2:3,s=!1),t<=3&&(i&&1===c?l=qr(l+1,e,t+1):a&&e===c+l-1&&(c=Xr(c-1,1),l=qr(e-c+1,e,t+1))),{showFirstDots:o,showLastDots:s,numberOfLinks:l=qr(l,e-c+1),startNumber:c}},pageList:function(){var t=this.paginationParams,e=t.numberOfLinks,n=t.startNumber,r=this.computedCurrentPage,i=function(t,e){return Ye(e,function(e,n){return{number:t+n,classes:null}})}(n,e);if(i.length>3){var a=r-n,o="bv-d-xs-down-none";if(0===a)for(var s=3;sa+1;u--)i[u].classes=o}}return i}},watch:(BR={},UR(BR,YR,function(t,e){t!==e&&(this.currentPage=JR(t,this.localNumberOfPages))}),UR(BR,"currentPage",function(t,e){t!==e&&this.$emit(KR,t>0?t:null)}),UR(BR,"limit",function(t,e){t!==e&&(this.localLimit=ZR(t))}),BR),created:function(){var t=this;this.localLimit=ZR(this.limit),this.$nextTick(function(){t.currentPage=t.currentPage>t.localNumberOfPages?t.localNumberOfPages:t.currentPage})},methods:{handleKeyNav:function(t){var e=t.keyCode,n=t.shiftKey;this.isNav||(e===qM||e===KM?(_r(t,{propagation:!1}),n?this.focusFirst():this.focusPrev()):e!==XM&&e!==$M||(_r(t,{propagation:!1}),n?this.focusLast():this.focusNext()))},getButtons:function(){return wn("button.page-link, a.page-link",this.$el).filter(function(t){return bn(t)})},focusCurrent:function(){var t=this;this.$nextTick(function(){var e=t.getButtons().find(function(e){return Ze(Ln(e,"aria-posinset"),0)===t.computedCurrentPage});$n(e)||t.focusFirst()})},focusFirst:function(){var t=this;this.$nextTick(function(){var e=t.getButtons().find(function(t){return!_n(t)});$n(e)})},focusLast:function(){var t=this;this.$nextTick(function(){var e=t.getButtons().reverse().find(function(t){return!_n(t)});$n(e)})},focusPrev:function(){var t=this;this.$nextTick(function(){var e=t.getButtons(),n=e.indexOf(mn());n>0&&!_n(e[n-1])&&$n(e[n-1])})},focusNext:function(){var t=this;this.$nextTick(function(){var e=t.getButtons(),n=e.indexOf(mn());no,m=r<1?1:r>o?o:r,g={disabled:p,page:m,index:m-1},y=e.normalizeSlot(s,g)||on(l)||t(),b=t(p?"span":a?pS:"button",{staticClass:"page-link",class:{"flex-grow-1":!a&&!p&&d},props:p||!a?{}:e.linkProps(r),attrs:{role:a?null:"menuitem",type:a||p?null:"button",tabindex:p||a?null:"-1","aria-label":i,"aria-controls":e.ariaControls||null,"aria-disabled":p?"true":null},on:p?{}:{"!click":function(t){e.onClick(t,r)},keydown:QR}},[y]);return t("li",{key:h,staticClass:"page-item",class:[{disabled:p,"flex-fill":d,"d-flex":d&&!a&&!p},c],attrs:{role:a?null:"presentation","aria-hidden":p?"true":null}},[b])},g=function(n){return t("li",{staticClass:"page-item",class:["disabled","bv-d-xs-down-none",d?"flex-fill":"",e.ellipsisClass],attrs:{role:"separator"},key:"ellipsis-".concat(n?"last":"first")},[t("span",{staticClass:"page-link"},[e.normalizeSlot("ellipsis-text")||on(e.ellipsisText)||t()])])},y=function(i,s){var l=i.number,c=f(l)&&!v,u=n?null:c||v&&0===s?"0":"-1",h={role:a?null:"menuitemradio",type:a||n?null:"button","aria-disabled":n?"true":null,"aria-controls":e.ariaControls||null,"aria-label":hr(r)?r(l):"".concat(Ot(r)?r():r," ").concat(l),"aria-checked":a?null:c?"true":"false","aria-current":a&&c?"page":null,"aria-posinset":a?null:l,"aria-setsize":a?null:o,tabindex:a?null:u},p=on(e.makePage(l)),m={page:l,index:l-1,content:p,active:c,disabled:n},g=t(n?"span":a?pS:"button",{props:n||!a?{}:e.linkProps(l),staticClass:"page-link",class:{"flex-grow-1":!a&&!n&&d},attrs:h,on:n?{}:{"!click":function(t){e.onClick(t,l)},keydown:QR}},[e.normalizeSlot("page",m)||p]);return t("li",{staticClass:"page-item",class:[{disabled:n,active:c,"flex-fill":d,"d-flex":d&&!a&&!n},i.classes,e.pageClass],attrs:{role:a?null:"presentation"},key:"page-".concat(l)},[g])},b=t();this.firstNumber||this.hideGotoEndButtons||(b=m(1,this.labelFirstPage,"first-text",this.firstText,this.firstClass,1,"pagination-goto-first")),p.push(b),p.push(m(s-1,this.labelPrevPage,"prev-text",this.prevText,this.prevClass,1,"pagination-goto-prev")),p.push(this.firstNumber&&1!==l[0]?y({number:1},0):t()),p.push(u?g(!1):t()),this.pageList.forEach(function(t,n){var r=u&&e.firstNumber&&1!==l[0]?1:0;p.push(y(t,n+r))}),p.push(h?g(!0):t()),p.push(this.lastNumber&&l[l.length-1]!==o?y({number:o},-1):t()),p.push(m(s+1,this.labelNextPage,"next-text",this.nextText,this.nextClass,o,"pagination-goto-next"));var _=t();this.lastNumber||this.hideGotoEndButtons||(_=m(o,this.labelLastPage,"last-text",this.lastText,this.lastClass,o,"pagination-goto-last")),p.push(_);var O=t("ul",{staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:a?null:"menubar","aria-disabled":n?"true":"false","aria-label":a?null:i||null},on:a?{}:{keydown:this.handleKeyNav},ref:"ul"},p);return a?t("nav",{attrs:{"aria-disabled":n?"true":null,"aria-hidden":n?"true":"false","aria-label":a&&i||null}},[O]):O}});function nH(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function rH(t){for(var e=1;et.numberOfPages&&(this.currentPage=1)),this.localNumberOfPages=t.numberOfPages}},created:function(){var t=this;this.localNumberOfPages=this.numberOfPages;var e=Ze(this[YR],0);e>0?this.currentPage=e:this.$nextTick(function(){t.currentPage=0})},methods:{onClick:function(t,e){var n=this;if(e!==this.currentPage){var r=t.target,i=new dE("page-click",{cancelable:!0,vueTarget:this,target:r});this.$emit(i.type,i,e),i.defaultPrevented||(this.currentPage=e,this.$emit("change",this.currentPage),this.$nextTick(function(){bn(r)&&n.$el.contains(r)?$n(r):n.focusCurrent()}))}},makePage:function(t){return t},linkProps:function(){return{}}}}),cH=ve({components:{BPagination:lH}});function uH(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function hH(t){for(var e=1;e0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=(t=this.numberOfPages,Xr(Ze(t,0),1)),this.$nextTick(function(){e.guessCurrentPage()})},onClick:function(t,e){var n=this;if(e!==this.currentPage){var r=t.currentTarget||t.target,i=new dE("page-click",{cancelable:!0,vueTarget:this,target:r});this.$emit(i.type,i,e),i.defaultPrevented||(pn(function(){n.currentPage=e,n.$emit("change",e)}),this.$nextTick(function(){Gn(r)}))}},getPageInfo:function(t){if(!Mt(this.pages)||0===this.pages.length||yt(this.pages[t-1])){var e="".concat(this.baseUrl).concat(t);return{link:this.useRouter?{path:e}:e,text:on(t)}}var n=this.pages[t-1];if(St(n)){var r=n.link;return{link:St(r)?r:this.useRouter?{path:r}:r,text:on(n.text||t)}}return{link:on(n),text:on(t)}},makePage:function(t){var e=this.pageGen,n=this.getPageInfo(t);return hr(e)?e(t,n):n.text},makeLink:function(t){var e=this.linkGen,n=this.getPageInfo(t);return hr(e)?e(t,n):n.link},linkProps:function(t){var e=sr(pH,this),n=this.makeLink(t);return this.useRouter||St(n)?e.to=n:e.href=n,e},resolveLink:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{(t=document.createElement("a")).href=hi({to:e},"a","/","/"),document.body.appendChild(t);var n=t,r=n.pathname,i=n.hash,a=n.search;return document.body.removeChild(t),{path:r,hash:i,query:li(a)}}catch(e){try{t&&t.parentNode&&t.parentNode.removeChild(t)}catch(t){}return{}}},resolveRoute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{var e=this.$router.resolve(t,this.$route).route;return{path:e.path,hash:e.hash,query:e.query}}catch(t){return{}}},guessCurrentPage:function(){var t=this.$router,e=this.$route,n=this.computedValue;if(!this.noPageDetect&&!n&&(f||!f&&t))for(var r=t&&e?{path:e.path,hash:e.hash,query:e.query}:{},i=f?window.location||document.location:null,a=i?{path:i.pathname,hash:i.hash,query:li(i.search)}:{},o=1;!n&&o<=this.localNumberOfPages;o++){var s=this.makeLink(o);n=t&&(St(s)||this.useRouter)?ZM(this.resolveRoute(s),r)?o:null:f?ZM(this.resolveLink(s),a)?o:null:-1}this.currentPage=n>0?n:0}}}),mH=ve({components:{BPaginationNav:vH}}),gH={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",TOPLEFT:"top",TOPRIGHT:"top",RIGHTTOP:"right",RIGHTBOTTOM:"right",BOTTOMLEFT:"bottom",BOTTOMRIGHT:"bottom",LEFTTOP:"left",LEFTBOTTOM:"left"},yH={AUTO:0,TOPLEFT:-1,TOP:0,TOPRIGHT:1,RIGHTTOP:-1,RIGHT:0,RIGHTBOTTOM:1,BOTTOMLEFT:-1,BOTTOM:0,BOTTOMRIGHT:1,LEFTTOP:-1,LEFT:0,LEFTBOTTOM:1},bH={arrowPadding:ar(Ne,6),boundary:ar([dt,Ie],"scrollParent"),boundaryPadding:ar(Ne,5),fallbackPlacement:ar(Fe,"flip"),offset:ar(Ne,0),placement:ar(Ie,"top"),target:ar([dt,pt])},_H=r.default.extend({name:"BVPopper",props:bH,data:function(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:function(){return"unknown"},popperConfig:function(){var t=this,e=this.placement;return{placement:this.getAttachment(e),modifiers:{offset:{offset:this.getOffset(e)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t.popperPlacementChange(e)},onUpdate:function(e){t.popperPlacementChange(e)}}}},created:function(){var t=this;this.$_popper=null,this.localShow=!0,this.$on("show",function(e){t.popperCreate(e)});var e=function(){t.$nextTick(function(){pn(function(){t.$destroy()})})};this.$parent.$once("hook:destroyed",e),this.$once("hidden",e)},beforeMount:function(){this.attachment=this.getAttachment(this.placement)},updated:function(){this.updatePopper()},beforeDestroy:function(){this.destroyPopper()},destroyed:function(){var t=this.$el;t&&t.parentNode&&t.parentNode.removeChild(t)},methods:{hide:function(){this.localShow=!1},getAttachment:function(t){return gH[String(t).toUpperCase()]||"auto"},getOffset:function(t){if(!this.offset){var e=this.$refs.arrow||zn(".arrow",this.$el),n=Je(Rn(e).width,0)+Je(this.arrowPadding,0);switch(yH[String(t).toUpperCase()]||0){case 1:return"+50%p - ".concat(n,"px");case-1:return"-50%p + ".concat(n,"px");default:return 0}}return this.offset},popperCreate:function(t){this.destroyPopper(),this.$_popper=new uE.a(this.target,t,this.popperConfig)},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange:function(t){this.attachment=this.getAttachment(t.placement)},renderTemplate:function(t){return t("div")}},render:function(t){var e=this,n=this.noFade;return t(Lr,{props:{appear:!0,noFade:n},on:{beforeEnter:function(t){return e.$emit("show",t)},afterEnter:function(t){return e.$emit("shown",t)},beforeLeave:function(t){return e.$emit("hide",t)},afterLeave:function(t){return e.$emit("hidden",t)}}},[this.localShow?this.renderTemplate(t):t()])}});function OH(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function wH(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},n=!1;Ht(PH).forEach(function(r){yt(e[r])||t[r]===e[r]||(t[r]=e[r],"title"===r&&(n=!0))}),n&&this.localShow&&this.fixTitle()},createTemplateAndShow:function(){var t=this.getContainer(),e=this.getTemplate(),n=this.$_tip=new e({parent:this,propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:Ze(this.offset,0),arrowPadding:Ze(this.arrowPadding,0),boundaryPadding:Ze(this.boundaryPadding,0)}});this.handleTemplateUpdate(),n.$once("show",this.onTemplateShow),n.$once("shown",this.onTemplateShown),n.$once("hide",this.onTemplateHide),n.$once("hidden",this.onTemplateHidden),n.$once("hook:destroyed",this.destroyTemplate),n.$on("focusin",this.handleEvent),n.$on("focusout",this.handleEvent),n.$on("mouseenter",this.handleEvent),n.$on("mouseleave",this.handleEvent),n.$mount(t.appendChild(document.createElement("div")))},hideTemplate:function(){this.$_tip&&this.$_tip.hide(),this.clearActiveTriggers(),this.$_hoverState=""},destroyTemplate:function(){this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.localPlacementTarget=null;try{this.$_tip.$destroy()}catch(t){}this.$_tip=null,this.removeAriaDescribedby(),this.restoreTitle(),this.localShow=!1},getTemplateElement:function(){return this.$_tip?this.$_tip.$el:null},handleTemplateUpdate:function(){var t=this,e=this.$_tip;if(e){["title","content","variant","customClass","noFade","interactive"].forEach(function(n){e[n]!==t[n]&&(e[n]=t[n])})}},show:function(){var t=this.getTarget();if(t&&Mn(document.body,t)&&bn(t)&&!this.dropdownOpen()&&(!_t(this.title)&&""!==this.title||!_t(this.content)&&""!==this.content)&&!this.$_tip&&!this.localShow){this.localShow=!0;var e=this.buildEvent("show",{cancelable:!0});this.emitEvent(e),e.defaultPrevented?this.destroyTemplate():(this.fixTitle(),this.addAriaDescribedby(),this.createTemplateAndShow())}},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.getTemplateElement()&&this.localShow){var e=this.buildEvent("hide",{cancelable:!t});this.emitEvent(e),e.defaultPrevented||this.hideTemplate()}else this.restoreTitle()},forceHide:function(){this.getTemplateElement()&&this.localShow&&(this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.$_tip&&(this.$_tip.noFade=!0),this.hide(!0))},enable:function(){this.$_enabled=!0,this.emitEvent(this.buildEvent("enabled"))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent("disabled"))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var t=this.$_hoverState;this.$_hoverState="","out"===t&&this.leave(null),this.emitEvent(this.buildEvent("shown"))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent("hidden"))},getTarget:function(){var t=this.target;return zt(t)?t=Sn(t.replace(/^#/,"")):Ot(t)?t=t():t&&(t=t.$el||t),vn(t)?t:null},getPlacementTarget:function(){return this.getTarget()},getTargetId:function(){var t=this.getTarget();return t&&t.id?t.id:null},getContainer:function(){var t=!!this.container&&(this.container.$el||this.container),e=document.body,n=this.getTarget();return!1===t?Cn(LH,n)||e:zt(t)&&Sn(t.replace(/^#/,""))||e},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var t=this.getTarget();return t&&Cn(EH,t)},isDropdown:function(){var t=this.getTarget();return t&&jn(t,"dropdown")},dropdownOpen:function(){var t=this.getTarget();return this.isDropdown()&&t&&zn(".dropdown-menu.show",t)},clearHoverTimeout:function(){clearTimeout(this.$_hoverTimeout),this.$_hoverTimeout=null},clearVisibilityInterval:function(){clearInterval(this.$_visibleInterval),this.$_visibleInterval=null},clearActiveTriggers:function(){for(var t in this.activeTrigger)this.activeTrigger[t]=!1},addAriaDescribedby:function(){var t=this.getTarget(),e=Ln(t,"aria-describedby")||"";e=e.split(/\s+/).concat(this.computedId).join(" ").trim(),En(t,"aria-describedby",e)},removeAriaDescribedby:function(){var t=this,e=this.getTarget(),n=Ln(e,"aria-describedby")||"";(n=n.split(/\s+/).filter(function(e){return e!==t.computedId}).join(" ").trim())?En(e,"aria-describedby",n):In(e,"aria-describedby")},fixTitle:function(){var t=this.getTarget();if(Pn(t,"title")){var e=Ln(t,"title");En(t,"title",""),e&&En(t,"data-original-title",e)}},restoreTitle:function(){var t=this.getTarget();if(Pn(t,"data-original-title")){var e=Ln(t,"data-original-title");In(t,"data-original-title"),e&&En(t,"title",e)}},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new dE(t,SH({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},e))},emitEvent:function(t){var e=t.type;this.emitOnRoot(wr(this.templateType,e),t),this.$emit(e,t)},listen:function(){var t=this,e=this.getTarget();e&&(this.setRootListener(!0),this.computedTriggers.forEach(function(n){"click"===n?gr(e,"click",t.handleEvent,xe):"focus"===n?(gr(e,"focusin",t.handleEvent,xe),gr(e,"focusout",t.handleEvent,xe)):"blur"===n?gr(e,"focusout",t.handleEvent,xe):"hover"===n&&(gr(e,"mouseenter",t.handleEvent,xe),gr(e,"mouseleave",t.handleEvent,xe))},this))},unListen:function(){var t=this,e=this.getTarget();this.setRootListener(!1),["click","focusin","focusout","mouseenter","mouseleave"].forEach(function(n){e&&yr(e,n,t.handleEvent,xe)},this)},setRootListener:function(t){var e=this.$root;if(e){var n=t?"$on":"$off",r=this.templateType;e[n](zr(r,"hide"),this.doHide),e[n](zr(r,"show"),this.doShow),e[n](zr(r,"disable"),this.doDisable),e[n](zr(r,"enable"),this.doEnable)}},setWhileOpenListeners:function(t){this.setModalListener(t),this.setDropdownListener(t),this.visibleCheck(t),this.setOnTouchStartListener(t)},visibleCheck:function(t){var e=this;this.clearVisibilityInterval();var n=this.getTarget(),r=this.getTemplateElement();t&&(this.$_visibleInterval=setInterval(function(){!r||!e.localShow||n.parentNode&&bn(n)||e.forceHide()},100))},setModalListener:function(t){this.isInModal()&&this.$root[t?"$on":"$off"](IH,this.forceHide)},setOnTouchStartListener:function(t){var e=this;"ontouchstart"in document.documentElement&&We(document.body.children).forEach(function(n){br(t,n,"mouseover",e.$_noop)})},setDropdownListener:function(t){var e=this.getTarget();e&&this.$root&&this.isDropdown&&e.__vue__&&e.__vue__[t?"$on":"$off"]("shown",this.forceHide)},handleEvent:function(t){var e=this.getTarget();if(e&&!_n(e)&&this.$_enabled&&!this.dropdownOpen()){var n=t.type,r=this.computedTriggers;if("click"===n&&qe(r,"click"))this.click(t);else if("mouseenter"===n&&qe(r,"hover"))this.enter(t);else if("focusin"===n&&qe(r,"focus"))this.enter(t);else if("focusout"===n&&(qe(r,"focus")||qe(r,"blur"))||"mouseleave"===n&&qe(r,"hover")){var i=this.getTemplateElement(),a=t.target,o=t.relatedTarget;if(i&&Mn(i,a)&&Mn(e,o)||i&&Mn(e,a)&&Mn(i,o)||i&&Mn(i,a)&&Mn(i,o)||Mn(e,a)&&Mn(e,o))return;this.leave(t)}}},doHide:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.forceHide()},doShow:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.show()},doDisable:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.disable()},doEnable:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.enable()},click:function(t){this.$_enabled&&!this.dropdownOpen()&&($n(t.currentTarget),this.activeTrigger.click=!this.activeTrigger.click,this.isWithActiveTrigger?this.enter(null):this.leave(null))},toggle:function(){this.$_enabled&&!this.dropdownOpen()&&(this.localShow?this.leave(null):this.enter(null))},enter:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(this.activeTrigger["focusin"===e.type?"focus":"hover"]=!0),this.localShow||"in"===this.$_hoverState?this.$_hoverState="in":(this.clearHoverTimeout(),this.$_hoverState="in",this.computedDelay.show?(this.fixTitle(),this.$_hoverTimeout=setTimeout(function(){"in"===t.$_hoverState?t.show():t.localShow||t.restoreTitle()},this.computedDelay.show)):this.show())},leave:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(this.activeTrigger["focusout"===e.type?"focus":"hover"]=!1,"focusout"===e.type&&qe(this.computedTriggers,"blur")&&(this.activeTrigger.click=!1,this.activeTrigger.hover=!1)),this.isWithActiveTrigger||(this.clearHoverTimeout(),this.$_hoverState="out",this.computedDelay.hide?this.$_hoverTimeout=setTimeout(function(){"out"===t.$_hoverState&&t.hide()},this.computedDelay.hide):this.hide())}}});function FH(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function VH(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var BH=cr((VH(TH={boundary:ar([dt,je,Ie],"scrollParent"),boundaryPadding:ar(Ne,50),container:ar([dt,je,Ie]),customClass:ar(Ie),delay:ar($e,50)},"disabled",ar(Me,!1)),VH(TH,"fallbackPlacement",ar(Fe,"flip")),VH(TH,"id",ar(Ie)),VH(TH,"noFade",ar(Me,!1)),VH(TH,"noninteractive",ar(Me,!1)),VH(TH,"offset",ar(Ne,0)),VH(TH,"placement",ar(Ie,"top")),VH(TH,"show",ar(Me,!1)),VH(TH,"target",ar([dt,pt,Ae,je,Ie],void 0,!0)),VH(TH,"title",ar(Ie)),VH(TH,"triggers",ar(Fe,"hover focus")),VH(TH,"variant",ar(Ie)),TH),"BTooltip"),RH=r.default.extend({name:"BTooltip",mixins:[vr],inheritAttrs:!1,props:BH,data:function(){return{localShow:this.show,localTitle:"",localContent:""}},computed:{templateData:function(){return function(t){for(var e=1;e0&&t[KH].updateData(e)})}var a={title:r.title,content:r.content,triggers:r.trigger,placement:r.placement,fallbackPlacement:r.fallbackPlacement,variant:r.variant,customClass:r.customClass,container:r.container,boundary:r.boundary,delay:r.delay,offset:r.offset,noFade:!r.animation,id:r.id,disabled:r.disabled,html:r.html},o=t[KH].__bv_prev_data__;if(t[KH].__bv_prev_data__=a,!ZM(a,o)){var s={target:t};Ht(a).forEach(function(e){a[e]!==o[e]&&(s[e]="title"!==e&&"content"!==e||!Ot(a[e])?a[e]:a[e](t))}),t[KH].updateData(s)}}},cD={bind:function(t,e,n){lD(t,e,n)},componentUpdated:function(t,e,n){n.context.$nextTick(function(){lD(t,e,n)})},unbind:function(t){!function(t){t[KH]&&(t[KH].$destroy(),t[KH]=null),delete t[KH]}(t)}},uD=ve({directives:{VBPopover:cD}}),hD=ve({components:{BPopover:WH},plugins:{VBPopoverPlugin:uD}}),dD=cr({animated:ar(Me,null),label:ar(Ie),labelHtml:ar(Ie),max:ar(Ne,null),precision:ar(Ne,null),showProgress:ar(Me,null),showValue:ar(Me,null),striped:ar(Me,null),value:ar(Ne,0),variant:ar(Ie)},"BProgressBar"),pD=r.default.extend({name:"BProgressBar",mixins:[vr],inject:{bvProgress:{default:function(){return{}}}},props:dD,computed:{progressBarClasses:function(){var t=this.computedAnimated,e=this.computedVariant;return[e?"bg-".concat(e):"",this.computedStriped||t?"progress-bar-striped":"",t?"progress-bar-animated":""]},progressBarStyles:function(){return{width:this.computedValue/this.computedMax*100+"%"}},computedValue:function(){return Je(this.value,0)},computedMax:function(){var t=Je(this.max)||Je(this.bvProgress.max,0);return t>0?t:100},computedPrecision:function(){return Xr(Ze(this.precision,Ze(this.bvProgress.precision,0)),0)},computedProgress:function(){var t=this.computedPrecision,e=Jr(10,t);return Qe(100*e*this.computedValue/this.computedMax/e,t)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return wt(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return wt(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return wt(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return wt(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(t){var e,n=this.label,r=this.labelHtml,i=this.computedValue,a=this.computedPrecision,o={};return this.hasNormalizedSlot()?e=this.normalizeSlot():n||r?o=GS(r,n):this.computedShowProgress?e=this.computedProgress:this.computedShowValue&&(e=Qe(i,a)),t("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":on(this.computedMax),"aria-valuenow":Qe(i,a)},domProps:o},e)}});function fD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function vD(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.noCloseOnRouteChange||t.fullPath===e.fullPath||this.hide()}),gD),created:function(){this.$_returnFocusEl=null},mounted:function(){var t=this;this.listenOnRoot(MD,this.handleToggle),this.listenOnRoot(CD,this.handleSync),this.$nextTick(function(){t.emitState(t.localShow)})},activated:function(){this.emitSync()},beforeDestroy:function(){this.localShow=!1,this.$_returnFocusEl=null},methods:{hide:function(){this.localShow=!1},emitState:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(SD,this.safeId(),t)},emitSync:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(AD,this.safeId(),t)},handleToggle:function(t){t&&t===this.safeId()&&(this.localShow=!this.localShow)},handleSync:function(t){var e=this;t&&t===this.safeId()&&this.$nextTick(function(){e.emitSync(e.localShow)})},onKeydown:function(t){var e=t.keyCode;!this.noCloseOnEsc&&27===e&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var t=Nn(this.$refs.content);this.enforceFocus(t.reverse()[0])},onBottomTrapFocus:function(){var t=Nn(this.$refs.content);this.enforceFocus(t[0])},onBeforeEnter:function(){this.$_returnFocusEl=mn(f?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(t){Mn(t,mn())||this.enforceFocus(t),this.$emit("shown")},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit("hidden")},enforceFocus:function(t){this.noEnforceFocus||$n(t)}},render:function(t){var e,n=this.bgVariant,r=this.width,i=this.textVariant,a=this.localShow,o=""===this.shadow||this.shadow,s=t(this.tag,{staticClass:"b-sidebar",class:[(e={shadow:!0===o},xD(e,"shadow-".concat(o),o&&!0!==o),xD(e,"".concat("b-sidebar","-right"),this.right),xD(e,"bg-".concat(n),n),xD(e,"text-".concat(i),i),e),this.sidebarClass],style:{width:r},attrs:this.computedAttrs,directives:[{name:"show",value:a}],ref:"content"},[function(t,e){var n=kD(t,e);return e.lazy&&!e.isOpen?n:[n,function(t,e){return t("div",{staticClass:"".concat("b-sidebar","-body"),class:e.bodyClass,key:"body"},[e.normalizeSlot("default",e.slotScope)])}(t,e),function(t,e){var n=e.normalizeSlot("footer",e.slotScope);return n?t("footer",{staticClass:"".concat("b-sidebar","-footer"),class:e.footerClass,key:"footer"},[n]):t()}(t,e)]}(t,this)]);s=t("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[s]);var l=t(Lr,{props:{noFade:this.noSlide}},[function(t,e){if(!e.backdrop)return t();var n=e.backdropVariant;return t("div",{directives:[{name:"show",value:e.localShow}],staticClass:"b-sidebar-backdrop",class:xD({},"bg-".concat(n),n),on:{click:e.onBackdropClick}})}(t,this)]),c=t(),u=t();return this.backdrop&&a&&(c=t("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),u=t("div",{attrs:{tabindex:"0"},on:{focus:this.onBottomTrapFocus}})),t("div",{staticClass:"b-sidebar-outer",style:{zIndex:this.zIndex},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown}},[c,s,u,l])}}),VD=ve({components:{BSidebar:FD},plugins:{VBTogglePlugin:lE}});function BD(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var RD=cr({animation:ar(Ie,"wave"),height:ar(Ie),size:ar(Ie),type:ar(Ie,"text"),variant:ar(Ie),width:ar(Ie)},"BSkeleton"),HD=r.default.extend({name:"BSkeleton",functional:!0,props:RD,render:function(t,e){var n,r=e.data,i=e.props,a=i.size,o=i.animation,s=i.variant;return t("div",l(r,{staticClass:"b-skeleton",style:{width:a||i.width,height:a||i.height},class:(n={},BD(n,"b-skeleton-".concat(i.type),!0),BD(n,"b-skeleton-animate-".concat(o),o),BD(n,"bg-".concat(s),s),n)}))}}),DD=cr(Gt(vi,["content","stacked"]),"BIconstack"),ND=r.default.extend({name:"BIconstack",functional:!0,props:DD,render:function(t,e){var n=e.data,r=e.props,i=e.children;return t(mi,l(n,{staticClass:"b-iconstack",props:r}),i)}}),$D=me({components:{BIcon:NM,BIconstack:ND,BIconBlank:Oi,BIconAlarm:wi,BIconAlarmFill:zi,BIconAlignBottom:xi,BIconAlignCenter:Ci,BIconAlignEnd:Mi,BIconAlignMiddle:Si,BIconAlignStart:Ai,BIconAlignTop:Ti,BIconAlt:ji,BIconApp:Ei,BIconAppIndicator:Ii,BIconArchive:Li,BIconArchiveFill:Pi,BIconArrow90degDown:ki,BIconArrow90degLeft:Fi,BIconArrow90degRight:Vi,BIconArrow90degUp:Bi,BIconArrowBarDown:Ri,BIconArrowBarLeft:Hi,BIconArrowBarRight:Di,BIconArrowBarUp:Ni,BIconArrowClockwise:$i,BIconArrowCounterclockwise:Gi,BIconArrowDown:Ui,BIconArrowDownCircle:Wi,BIconArrowDownCircleFill:qi,BIconArrowDownLeft:Xi,BIconArrowDownLeftCircle:Yi,BIconArrowDownLeftCircleFill:Ki,BIconArrowDownLeftSquare:Zi,BIconArrowDownLeftSquareFill:Ji,BIconArrowDownRight:Qi,BIconArrowDownRightCircle:ta,BIconArrowDownRightCircleFill:ea,BIconArrowDownRightSquare:na,BIconArrowDownRightSquareFill:ra,BIconArrowDownShort:ia,BIconArrowDownSquare:aa,BIconArrowDownSquareFill:oa,BIconArrowDownUp:sa,BIconArrowLeft:la,BIconArrowLeftCircle:ca,BIconArrowLeftCircleFill:ua,BIconArrowLeftRight:ha,BIconArrowLeftShort:da,BIconArrowLeftSquare:pa,BIconArrowLeftSquareFill:fa,BIconArrowRepeat:va,BIconArrowReturnLeft:ma,BIconArrowReturnRight:ga,BIconArrowRight:ya,BIconArrowRightCircle:ba,BIconArrowRightCircleFill:_a,BIconArrowRightShort:Oa,BIconArrowRightSquare:wa,BIconArrowRightSquareFill:za,BIconArrowUp:xa,BIconArrowUpCircle:Ca,BIconArrowUpCircleFill:Ma,BIconArrowUpLeft:Sa,BIconArrowUpLeftCircle:Aa,BIconArrowUpLeftCircleFill:Ta,BIconArrowUpLeftSquare:ja,BIconArrowUpLeftSquareFill:Ea,BIconArrowUpRight:Ia,BIconArrowUpRightCircle:La,BIconArrowUpRightCircleFill:Pa,BIconArrowUpRightSquare:ka,BIconArrowUpRightSquareFill:Fa,BIconArrowUpShort:Va,BIconArrowUpSquare:Ba,BIconArrowUpSquareFill:Ra,BIconArrowsAngleContract:Ha,BIconArrowsAngleExpand:Da,BIconArrowsCollapse:Na,BIconArrowsExpand:$a,BIconArrowsFullscreen:Ga,BIconArrowsMove:Ua,BIconAspectRatio:Wa,BIconAspectRatioFill:qa,BIconAsterisk:Xa,BIconAt:Ya,BIconAward:Ka,BIconAwardFill:Za,BIconBack:Ja,BIconBackspace:Qa,BIconBackspaceFill:to,BIconBackspaceReverse:eo,BIconBackspaceReverseFill:no,BIconBadge4k:ro,BIconBadge4kFill:io,BIconBadge8k:ao,BIconBadge8kFill:oo,BIconBadgeAd:so,BIconBadgeAdFill:lo,BIconBadgeCc:co,BIconBadgeCcFill:uo,BIconBadgeHd:ho,BIconBadgeHdFill:po,BIconBadgeTm:fo,BIconBadgeTmFill:vo,BIconBadgeVo:mo,BIconBadgeVoFill:go,BIconBag:yo,BIconBagCheck:bo,BIconBagCheckFill:_o,BIconBagDash:Oo,BIconBagDashFill:wo,BIconBagFill:zo,BIconBagPlus:xo,BIconBagPlusFill:Co,BIconBagX:Mo,BIconBagXFill:So,BIconBarChart:Ao,BIconBarChartFill:To,BIconBarChartLine:jo,BIconBarChartLineFill:Eo,BIconBarChartSteps:Io,BIconBasket:Lo,BIconBasket2:Po,BIconBasket2Fill:ko,BIconBasket3:Fo,BIconBasket3Fill:Vo,BIconBasketFill:Bo,BIconBattery:Ro,BIconBatteryCharging:Ho,BIconBatteryFull:Do,BIconBatteryHalf:No,BIconBell:$o,BIconBellFill:Go,BIconBezier:Uo,BIconBezier2:Wo,BIconBicycle:qo,BIconBinoculars:Xo,BIconBinocularsFill:Yo,BIconBlockquoteLeft:Ko,BIconBlockquoteRight:Zo,BIconBook:Jo,BIconBookFill:Qo,BIconBookHalf:ts,BIconBookmark:es,BIconBookmarkCheck:ns,BIconBookmarkCheckFill:rs,BIconBookmarkDash:is,BIconBookmarkDashFill:as,BIconBookmarkFill:os,BIconBookmarkHeart:ss,BIconBookmarkHeartFill:ls,BIconBookmarkPlus:cs,BIconBookmarkPlusFill:us,BIconBookmarkStar:hs,BIconBookmarkStarFill:ds,BIconBookmarkX:ps,BIconBookmarkXFill:fs,BIconBookmarks:vs,BIconBookmarksFill:ms,BIconBookshelf:gs,BIconBootstrap:ys,BIconBootstrapFill:bs,BIconBootstrapReboot:_s,BIconBorderStyle:Os,BIconBorderWidth:ws,BIconBoundingBox:zs,BIconBoundingBoxCircles:xs,BIconBox:Cs,BIconBoxArrowDown:Ms,BIconBoxArrowDownLeft:Ss,BIconBoxArrowDownRight:As,BIconBoxArrowInDown:Ts,BIconBoxArrowInDownLeft:js,BIconBoxArrowInDownRight:Es,BIconBoxArrowInLeft:Is,BIconBoxArrowInRight:Ls,BIconBoxArrowInUp:Ps,BIconBoxArrowInUpLeft:ks,BIconBoxArrowInUpRight:Fs,BIconBoxArrowLeft:Vs,BIconBoxArrowRight:Bs,BIconBoxArrowUp:Rs,BIconBoxArrowUpLeft:Hs,BIconBoxArrowUpRight:Ds,BIconBoxSeam:Ns,BIconBraces:$s,BIconBricks:Gs,BIconBriefcase:Us,BIconBriefcaseFill:Ws,BIconBrightnessAltHigh:qs,BIconBrightnessAltHighFill:Xs,BIconBrightnessAltLow:Ys,BIconBrightnessAltLowFill:Ks,BIconBrightnessHigh:Zs,BIconBrightnessHighFill:Js,BIconBrightnessLow:Qs,BIconBrightnessLowFill:tl,BIconBroadcast:el,BIconBroadcastPin:nl,BIconBrush:rl,BIconBrushFill:il,BIconBucket:al,BIconBucketFill:ol,BIconBug:sl,BIconBugFill:ll,BIconBuilding:cl,BIconBullseye:ul,BIconCalculator:hl,BIconCalculatorFill:dl,BIconCalendar:pl,BIconCalendar2:fl,BIconCalendar2Check:vl,BIconCalendar2CheckFill:ml,BIconCalendar2Date:gl,BIconCalendar2DateFill:yl,BIconCalendar2Day:bl,BIconCalendar2DayFill:_l,BIconCalendar2Event:Ol,BIconCalendar2EventFill:wl,BIconCalendar2Fill:zl,BIconCalendar2Minus:xl,BIconCalendar2MinusFill:Cl,BIconCalendar2Month:Ml,BIconCalendar2MonthFill:Sl,BIconCalendar2Plus:Al,BIconCalendar2PlusFill:Tl,BIconCalendar2Range:jl,BIconCalendar2RangeFill:El,BIconCalendar2Week:Il,BIconCalendar2WeekFill:Ll,BIconCalendar2X:Pl,BIconCalendar2XFill:kl,BIconCalendar3:Fl,BIconCalendar3Event:Vl,BIconCalendar3EventFill:Bl,BIconCalendar3Fill:Rl,BIconCalendar3Range:Hl,BIconCalendar3RangeFill:Dl,BIconCalendar3Week:Nl,BIconCalendar3WeekFill:$l,BIconCalendar4:Gl,BIconCalendar4Event:Ul,BIconCalendar4Range:Wl,BIconCalendar4Week:ql,BIconCalendarCheck:Xl,BIconCalendarCheckFill:Yl,BIconCalendarDate:Kl,BIconCalendarDateFill:Zl,BIconCalendarDay:Jl,BIconCalendarDayFill:Ql,BIconCalendarEvent:tc,BIconCalendarEventFill:ec,BIconCalendarFill:nc,BIconCalendarMinus:rc,BIconCalendarMinusFill:ic,BIconCalendarMonth:ac,BIconCalendarMonthFill:oc,BIconCalendarPlus:sc,BIconCalendarPlusFill:lc,BIconCalendarRange:cc,BIconCalendarRangeFill:uc,BIconCalendarWeek:hc,BIconCalendarWeekFill:dc,BIconCalendarX:pc,BIconCalendarXFill:fc,BIconCamera:vc,BIconCamera2:mc,BIconCameraFill:gc,BIconCameraReels:yc,BIconCameraReelsFill:bc,BIconCameraVideo:_c,BIconCameraVideoFill:Oc,BIconCameraVideoOff:wc,BIconCameraVideoOffFill:zc,BIconCapslock:xc,BIconCapslockFill:Cc,BIconCardChecklist:Mc,BIconCardHeading:Sc,BIconCardImage:Ac,BIconCardList:Tc,BIconCardText:jc,BIconCaretDown:Ec,BIconCaretDownFill:Ic,BIconCaretDownSquare:Lc,BIconCaretDownSquareFill:Pc,BIconCaretLeft:kc,BIconCaretLeftFill:Fc,BIconCaretLeftSquare:Vc,BIconCaretLeftSquareFill:Bc,BIconCaretRight:Rc,BIconCaretRightFill:Hc,BIconCaretRightSquare:Dc,BIconCaretRightSquareFill:Nc,BIconCaretUp:$c,BIconCaretUpFill:Gc,BIconCaretUpSquare:Uc,BIconCaretUpSquareFill:Wc,BIconCart:qc,BIconCart2:Xc,BIconCart3:Yc,BIconCart4:Kc,BIconCartCheck:Zc,BIconCartCheckFill:Jc,BIconCartDash:Qc,BIconCartDashFill:tu,BIconCartFill:eu,BIconCartPlus:nu,BIconCartPlusFill:ru,BIconCartX:iu,BIconCartXFill:au,BIconCash:ou,BIconCashStack:su,BIconCast:lu,BIconChat:cu,BIconChatDots:uu,BIconChatDotsFill:hu,BIconChatFill:du,BIconChatLeft:pu,BIconChatLeftDots:fu,BIconChatLeftDotsFill:vu,BIconChatLeftFill:mu,BIconChatLeftQuote:gu,BIconChatLeftQuoteFill:yu,BIconChatLeftText:bu,BIconChatLeftTextFill:_u,BIconChatQuote:Ou,BIconChatQuoteFill:wu,BIconChatRight:zu,BIconChatRightDots:xu,BIconChatRightDotsFill:Cu,BIconChatRightFill:Mu,BIconChatRightQuote:Su,BIconChatRightQuoteFill:Au,BIconChatRightText:Tu,BIconChatRightTextFill:ju,BIconChatSquare:Eu,BIconChatSquareDots:Iu,BIconChatSquareDotsFill:Lu,BIconChatSquareFill:Pu,BIconChatSquareQuote:ku,BIconChatSquareQuoteFill:Fu,BIconChatSquareText:Vu,BIconChatSquareTextFill:Bu,BIconChatText:Ru,BIconChatTextFill:Hu,BIconCheck:Du,BIconCheck2:Nu,BIconCheck2All:$u,BIconCheck2Circle:Gu,BIconCheck2Square:Uu,BIconCheckAll:Wu,BIconCheckCircle:qu,BIconCheckCircleFill:Xu,BIconCheckSquare:Yu,BIconCheckSquareFill:Ku,BIconChevronBarContract:Zu,BIconChevronBarDown:Ju,BIconChevronBarExpand:Qu,BIconChevronBarLeft:th,BIconChevronBarRight:eh,BIconChevronBarUp:nh,BIconChevronCompactDown:rh,BIconChevronCompactLeft:ih,BIconChevronCompactRight:ah,BIconChevronCompactUp:oh,BIconChevronContract:sh,BIconChevronDoubleDown:lh,BIconChevronDoubleLeft:ch,BIconChevronDoubleRight:uh,BIconChevronDoubleUp:hh,BIconChevronDown:dh,BIconChevronExpand:ph,BIconChevronLeft:fh,BIconChevronRight:vh,BIconChevronUp:mh,BIconCircle:gh,BIconCircleFill:yh,BIconCircleHalf:bh,BIconCircleSquare:_h,BIconClipboard:Oh,BIconClipboardCheck:wh,BIconClipboardData:zh,BIconClipboardMinus:xh,BIconClipboardPlus:Ch,BIconClipboardX:Mh,BIconClock:Sh,BIconClockFill:Ah,BIconClockHistory:Th,BIconCloud:jh,BIconCloudArrowDown:Eh,BIconCloudArrowDownFill:Ih,BIconCloudArrowUp:Lh,BIconCloudArrowUpFill:Ph,BIconCloudCheck:kh,BIconCloudCheckFill:Fh,BIconCloudDownload:Vh,BIconCloudDownloadFill:Bh,BIconCloudFill:Rh,BIconCloudMinus:Hh,BIconCloudMinusFill:Dh,BIconCloudPlus:Nh,BIconCloudPlusFill:$h,BIconCloudSlash:Gh,BIconCloudSlashFill:Uh,BIconCloudUpload:Wh,BIconCloudUploadFill:qh,BIconCode:Xh,BIconCodeSlash:Yh,BIconCodeSquare:Kh,BIconCollection:Zh,BIconCollectionFill:Jh,BIconCollectionPlay:Qh,BIconCollectionPlayFill:td,BIconColumns:ed,BIconColumnsGap:nd,BIconCommand:rd,BIconCompass:id,BIconCompassFill:ad,BIconCone:od,BIconConeStriped:sd,BIconController:ld,BIconCpu:cd,BIconCpuFill:ud,BIconCreditCard:hd,BIconCreditCard2Back:dd,BIconCreditCard2BackFill:pd,BIconCreditCard2Front:fd,BIconCreditCard2FrontFill:vd,BIconCreditCardFill:md,BIconCrop:gd,BIconCup:yd,BIconCupFill:bd,BIconCupStraw:_d,BIconCursor:Od,BIconCursorFill:wd,BIconCursorText:zd,BIconDash:xd,BIconDashCircle:Cd,BIconDashCircleFill:Md,BIconDashSquare:Sd,BIconDashSquareFill:Ad,BIconDiagram2:Td,BIconDiagram2Fill:jd,BIconDiagram3:Ed,BIconDiagram3Fill:Id,BIconDiamond:Ld,BIconDiamondFill:Pd,BIconDiamondHalf:kd,BIconDice1:Fd,BIconDice1Fill:Vd,BIconDice2:Bd,BIconDice2Fill:Rd,BIconDice3:Hd,BIconDice3Fill:Dd,BIconDice4:Nd,BIconDice4Fill:$d,BIconDice5:Gd,BIconDice5Fill:Ud,BIconDice6:Wd,BIconDice6Fill:qd,BIconDisc:Xd,BIconDiscFill:Yd,BIconDiscord:Kd,BIconDisplay:Zd,BIconDisplayFill:Jd,BIconDistributeHorizontal:Qd,BIconDistributeVertical:tp,BIconDoorClosed:ep,BIconDoorClosedFill:np,BIconDoorOpen:rp,BIconDoorOpenFill:ip,BIconDot:ap,BIconDownload:op,BIconDroplet:sp,BIconDropletFill:lp,BIconDropletHalf:cp,BIconEarbuds:up,BIconEasel:hp,BIconEaselFill:dp,BIconEgg:pp,BIconEggFill:fp,BIconEggFried:vp,BIconEject:mp,BIconEjectFill:gp,BIconEmojiAngry:yp,BIconEmojiAngryFill:bp,BIconEmojiDizzy:_p,BIconEmojiDizzyFill:Op,BIconEmojiExpressionless:wp,BIconEmojiExpressionlessFill:zp,BIconEmojiFrown:xp,BIconEmojiFrownFill:Cp,BIconEmojiHeartEyes:Mp,BIconEmojiHeartEyesFill:Sp,BIconEmojiLaughing:Ap,BIconEmojiLaughingFill:Tp,BIconEmojiNeutral:jp,BIconEmojiNeutralFill:Ep,BIconEmojiSmile:Ip,BIconEmojiSmileFill:Lp,BIconEmojiSmileUpsideDown:Pp,BIconEmojiSmileUpsideDownFill:kp,BIconEmojiSunglasses:Fp,BIconEmojiSunglassesFill:Vp,BIconEmojiWink:Bp,BIconEmojiWinkFill:Rp,BIconEnvelope:Hp,BIconEnvelopeFill:Dp,BIconEnvelopeOpen:Np,BIconEnvelopeOpenFill:$p,BIconExclamation:Gp,BIconExclamationCircle:Up,BIconExclamationCircleFill:Wp,BIconExclamationDiamond:qp,BIconExclamationDiamondFill:Xp,BIconExclamationOctagon:Yp,BIconExclamationOctagonFill:Kp,BIconExclamationSquare:Zp,BIconExclamationSquareFill:Jp,BIconExclamationTriangle:Qp,BIconExclamationTriangleFill:tf,BIconExclude:ef,BIconEye:nf,BIconEyeFill:rf,BIconEyeSlash:af,BIconEyeSlashFill:of,BIconEyeglasses:sf,BIconFacebook:lf,BIconFile:cf,BIconFileArrowDown:uf,BIconFileArrowDownFill:hf,BIconFileArrowUp:df,BIconFileArrowUpFill:pf,BIconFileBarGraph:ff,BIconFileBarGraphFill:vf,BIconFileBinary:mf,BIconFileBinaryFill:gf,BIconFileBreak:yf,BIconFileBreakFill:bf,BIconFileCheck:_f,BIconFileCheckFill:Of,BIconFileCode:wf,BIconFileCodeFill:zf,BIconFileDiff:xf,BIconFileDiffFill:Cf,BIconFileEarmark:Mf,BIconFileEarmarkArrowDown:Sf,BIconFileEarmarkArrowDownFill:Af,BIconFileEarmarkArrowUp:Tf,BIconFileEarmarkArrowUpFill:jf,BIconFileEarmarkBarGraph:Ef,BIconFileEarmarkBarGraphFill:If,BIconFileEarmarkBinary:Lf,BIconFileEarmarkBinaryFill:Pf,BIconFileEarmarkBreak:kf,BIconFileEarmarkBreakFill:Ff,BIconFileEarmarkCheck:Vf,BIconFileEarmarkCheckFill:Bf,BIconFileEarmarkCode:Rf,BIconFileEarmarkCodeFill:Hf,BIconFileEarmarkDiff:Df,BIconFileEarmarkDiffFill:Nf,BIconFileEarmarkEasel:$f,BIconFileEarmarkEaselFill:Gf,BIconFileEarmarkExcel:Uf,BIconFileEarmarkExcelFill:Wf,BIconFileEarmarkFill:qf,BIconFileEarmarkFont:Xf,BIconFileEarmarkFontFill:Yf,BIconFileEarmarkImage:Kf,BIconFileEarmarkImageFill:Zf,BIconFileEarmarkLock:Jf,BIconFileEarmarkLock2:Qf,BIconFileEarmarkLock2Fill:tv,BIconFileEarmarkLockFill:ev,BIconFileEarmarkMedical:nv,BIconFileEarmarkMedicalFill:rv,BIconFileEarmarkMinus:iv,BIconFileEarmarkMinusFill:av,BIconFileEarmarkMusic:ov,BIconFileEarmarkMusicFill:sv,BIconFileEarmarkPerson:lv,BIconFileEarmarkPersonFill:cv,BIconFileEarmarkPlay:uv,BIconFileEarmarkPlayFill:hv,BIconFileEarmarkPlus:dv,BIconFileEarmarkPlusFill:pv,BIconFileEarmarkPost:fv,BIconFileEarmarkPostFill:vv,BIconFileEarmarkPpt:mv,BIconFileEarmarkPptFill:gv,BIconFileEarmarkRichtext:yv,BIconFileEarmarkRichtextFill:bv,BIconFileEarmarkRuled:_v,BIconFileEarmarkRuledFill:Ov,BIconFileEarmarkSlides:wv,BIconFileEarmarkSlidesFill:zv,BIconFileEarmarkSpreadsheet:xv,BIconFileEarmarkSpreadsheetFill:Cv,BIconFileEarmarkText:Mv,BIconFileEarmarkTextFill:Sv,BIconFileEarmarkWord:Av,BIconFileEarmarkWordFill:Tv,BIconFileEarmarkX:jv,BIconFileEarmarkXFill:Ev,BIconFileEarmarkZip:Iv,BIconFileEarmarkZipFill:Lv,BIconFileEasel:Pv,BIconFileEaselFill:kv,BIconFileExcel:Fv,BIconFileExcelFill:Vv,BIconFileFill:Bv,BIconFileFont:Rv,BIconFileFontFill:Hv,BIconFileImage:Dv,BIconFileImageFill:Nv,BIconFileLock:$v,BIconFileLock2:Gv,BIconFileLock2Fill:Uv,BIconFileLockFill:Wv,BIconFileMedical:qv,BIconFileMedicalFill:Xv,BIconFileMinus:Yv,BIconFileMinusFill:Kv,BIconFileMusic:Zv,BIconFileMusicFill:Jv,BIconFilePerson:Qv,BIconFilePersonFill:tm,BIconFilePlay:em,BIconFilePlayFill:nm,BIconFilePlus:rm,BIconFilePlusFill:im,BIconFilePost:am,BIconFilePostFill:om,BIconFilePpt:sm,BIconFilePptFill:lm,BIconFileRichtext:cm,BIconFileRichtextFill:um,BIconFileRuled:hm,BIconFileRuledFill:dm,BIconFileSlides:pm,BIconFileSlidesFill:fm,BIconFileSpreadsheet:vm,BIconFileSpreadsheetFill:mm,BIconFileText:gm,BIconFileTextFill:ym,BIconFileWord:bm,BIconFileWordFill:_m,BIconFileX:Om,BIconFileXFill:wm,BIconFileZip:zm,BIconFileZipFill:xm,BIconFiles:Cm,BIconFilesAlt:Mm,BIconFilm:Sm,BIconFilter:Am,BIconFilterCircle:Tm,BIconFilterCircleFill:jm,BIconFilterLeft:Em,BIconFilterRight:Im,BIconFilterSquare:Lm,BIconFilterSquareFill:Pm,BIconFlag:km,BIconFlagFill:Fm,BIconFlower1:Vm,BIconFlower2:Bm,BIconFlower3:Rm,BIconFolder:Hm,BIconFolder2:Dm,BIconFolder2Open:Nm,BIconFolderCheck:$m,BIconFolderFill:Gm,BIconFolderMinus:Um,BIconFolderPlus:Wm,BIconFolderSymlink:qm,BIconFolderSymlinkFill:Xm,BIconFolderX:Ym,BIconFonts:Km,BIconForward:Zm,BIconForwardFill:Jm,BIconFront:Qm,BIconFullscreen:tg,BIconFullscreenExit:eg,BIconFunnel:ng,BIconFunnelFill:rg,BIconGear:ig,BIconGearFill:ag,BIconGearWide:og,BIconGearWideConnected:sg,BIconGem:lg,BIconGeo:cg,BIconGeoAlt:ug,BIconGeoAltFill:hg,BIconGeoFill:dg,BIconGift:pg,BIconGiftFill:fg,BIconGithub:vg,BIconGlobe:mg,BIconGlobe2:gg,BIconGoogle:yg,BIconGraphDown:bg,BIconGraphUp:_g,BIconGrid:Og,BIconGrid1x2:wg,BIconGrid1x2Fill:zg,BIconGrid3x2:xg,BIconGrid3x2Gap:Cg,BIconGrid3x2GapFill:Mg,BIconGrid3x3:Sg,BIconGrid3x3Gap:Ag,BIconGrid3x3GapFill:Tg,BIconGridFill:jg,BIconGripHorizontal:Eg,BIconGripVertical:Ig,BIconHammer:Lg,BIconHandIndex:Pg,BIconHandIndexThumb:kg,BIconHandThumbsDown:Fg,BIconHandThumbsUp:Vg,BIconHandbag:Bg,BIconHandbagFill:Rg,BIconHash:Hg,BIconHdd:Dg,BIconHddFill:Ng,BIconHddNetwork:$g,BIconHddNetworkFill:Gg,BIconHddRack:Ug,BIconHddRackFill:Wg,BIconHddStack:qg,BIconHddStackFill:Xg,BIconHeadphones:Yg,BIconHeadset:Kg,BIconHeart:Zg,BIconHeartFill:Jg,BIconHeartHalf:Qg,BIconHeptagon:ty,BIconHeptagonFill:ey,BIconHeptagonHalf:ny,BIconHexagon:ry,BIconHexagonFill:iy,BIconHexagonHalf:ay,BIconHourglass:oy,BIconHourglassBottom:sy,BIconHourglassSplit:ly,BIconHourglassTop:cy,BIconHouse:uy,BIconHouseDoor:hy,BIconHouseDoorFill:dy,BIconHouseFill:py,BIconHr:fy,BIconImage:vy,BIconImageAlt:my,BIconImageFill:gy,BIconImages:yy,BIconInbox:by,BIconInboxFill:_y,BIconInboxes:Oy,BIconInboxesFill:wy,BIconInfo:zy,BIconInfoCircle:xy,BIconInfoCircleFill:Cy,BIconInfoSquare:My,BIconInfoSquareFill:Sy,BIconInputCursor:Ay,BIconInputCursorText:Ty,BIconInstagram:jy,BIconIntersect:Ey,BIconJournal:Iy,BIconJournalAlbum:Ly,BIconJournalArrowDown:Py,BIconJournalArrowUp:ky,BIconJournalBookmark:Fy,BIconJournalBookmarkFill:Vy,BIconJournalCheck:By,BIconJournalCode:Ry,BIconJournalMedical:Hy,BIconJournalMinus:Dy,BIconJournalPlus:Ny,BIconJournalRichtext:$y,BIconJournalText:Gy,BIconJournalX:Uy,BIconJournals:Wy,BIconJoystick:qy,BIconJustify:Xy,BIconJustifyLeft:Yy,BIconJustifyRight:Ky,BIconKanban:Zy,BIconKanbanFill:Jy,BIconKey:Qy,BIconKeyFill:tb,BIconKeyboard:eb,BIconKeyboardFill:nb,BIconLadder:rb,BIconLamp:ib,BIconLampFill:ab,BIconLaptop:ob,BIconLaptopFill:sb,BIconLayers:lb,BIconLayersFill:cb,BIconLayersHalf:ub,BIconLayoutSidebar:hb,BIconLayoutSidebarInset:db,BIconLayoutSidebarInsetReverse:pb,BIconLayoutSidebarReverse:fb,BIconLayoutSplit:vb,BIconLayoutTextSidebar:mb,BIconLayoutTextSidebarReverse:gb,BIconLayoutTextWindow:yb,BIconLayoutTextWindowReverse:bb,BIconLayoutThreeColumns:_b,BIconLayoutWtf:Ob,BIconLifePreserver:wb,BIconLightning:zb,BIconLightningFill:xb,BIconLink:Cb,BIconLink45deg:Mb,BIconLinkedin:Sb,BIconList:Ab,BIconListCheck:Tb,BIconListNested:jb,BIconListOl:Eb,BIconListStars:Ib,BIconListTask:Lb,BIconListUl:Pb,BIconLock:kb,BIconLockFill:Fb,BIconMailbox:Vb,BIconMailbox2:Bb,BIconMap:Rb,BIconMapFill:Hb,BIconMarkdown:Db,BIconMarkdownFill:Nb,BIconMenuApp:$b,BIconMenuAppFill:Gb,BIconMenuButton:Ub,BIconMenuButtonFill:Wb,BIconMenuButtonWide:qb,BIconMenuButtonWideFill:Xb,BIconMenuDown:Yb,BIconMenuUp:Kb,BIconMic:Zb,BIconMicFill:Jb,BIconMicMute:Qb,BIconMicMuteFill:t_,BIconMinecart:e_,BIconMinecartLoaded:n_,BIconMoon:r_,BIconMouse:i_,BIconMouse2:a_,BIconMouse3:o_,BIconMusicNote:s_,BIconMusicNoteBeamed:l_,BIconMusicNoteList:c_,BIconMusicPlayer:u_,BIconMusicPlayerFill:h_,BIconNewspaper:d_,BIconNodeMinus:p_,BIconNodeMinusFill:f_,BIconNodePlus:v_,BIconNodePlusFill:m_,BIconNut:g_,BIconNutFill:y_,BIconOctagon:b_,BIconOctagonFill:__,BIconOctagonHalf:O_,BIconOption:w_,BIconOutlet:z_,BIconPaperclip:x_,BIconParagraph:C_,BIconPatchCheck:M_,BIconPatchCheckFill:S_,BIconPatchExclamation:A_,BIconPatchExclamationFill:T_,BIconPatchMinus:j_,BIconPatchMinusFill:E_,BIconPatchPlus:I_,BIconPatchPlusFill:L_,BIconPatchQuestion:P_,BIconPatchQuestionFill:k_,BIconPause:F_,BIconPauseBtn:V_,BIconPauseBtnFill:B_,BIconPauseCircle:R_,BIconPauseCircleFill:H_,BIconPauseFill:D_,BIconPeace:N_,BIconPeaceFill:$_,BIconPen:G_,BIconPenFill:U_,BIconPencil:W_,BIconPencilFill:q_,BIconPencilSquare:X_,BIconPentagon:Y_,BIconPentagonFill:K_,BIconPentagonHalf:Z_,BIconPeople:J_,BIconPeopleFill:Q_,BIconPercent:tO,BIconPerson:eO,BIconPersonBadge:nO,BIconPersonBadgeFill:rO,BIconPersonBoundingBox:iO,BIconPersonCheck:aO,BIconPersonCheckFill:oO,BIconPersonCircle:sO,BIconPersonDash:lO,BIconPersonDashFill:cO,BIconPersonFill:uO,BIconPersonLinesFill:hO,BIconPersonPlus:dO,BIconPersonPlusFill:pO,BIconPersonSquare:fO,BIconPersonX:vO,BIconPersonXFill:mO,BIconPhone:gO,BIconPhoneFill:yO,BIconPhoneLandscape:bO,BIconPhoneLandscapeFill:_O,BIconPhoneVibrate:OO,BIconPieChart:wO,BIconPieChartFill:zO,BIconPip:xO,BIconPipFill:CO,BIconPlay:MO,BIconPlayBtn:SO,BIconPlayBtnFill:AO,BIconPlayCircle:TO,BIconPlayCircleFill:jO,BIconPlayFill:EO,BIconPlug:IO,BIconPlugFill:LO,BIconPlus:PO,BIconPlusCircle:kO,BIconPlusCircleFill:FO,BIconPlusSquare:VO,BIconPlusSquareFill:BO,BIconPower:RO,BIconPrinter:HO,BIconPrinterFill:DO,BIconPuzzle:NO,BIconPuzzleFill:$O,BIconQuestion:GO,BIconQuestionCircle:UO,BIconQuestionCircleFill:WO,BIconQuestionDiamond:qO,BIconQuestionDiamondFill:XO,BIconQuestionOctagon:YO,BIconQuestionOctagonFill:KO,BIconQuestionSquare:ZO,BIconQuestionSquareFill:JO,BIconReceipt:QO,BIconReceiptCutoff:tw,BIconReception0:ew,BIconReception1:nw,BIconReception2:rw,BIconReception3:iw,BIconReception4:aw,BIconRecord:ow,BIconRecord2:sw,BIconRecord2Fill:lw,BIconRecordBtn:cw,BIconRecordBtnFill:uw,BIconRecordCircle:hw,BIconRecordCircleFill:dw,BIconRecordFill:pw,BIconReply:fw,BIconReplyAll:vw,BIconReplyAllFill:mw,BIconReplyFill:gw,BIconRss:yw,BIconRssFill:bw,BIconScissors:_w,BIconScrewdriver:Ow,BIconSearch:ww,BIconSegmentedNav:zw,BIconServer:xw,BIconShare:Cw,BIconShareFill:Mw,BIconShield:Sw,BIconShieldCheck:Aw,BIconShieldExclamation:Tw,BIconShieldFill:jw,BIconShieldFillCheck:Ew,BIconShieldFillExclamation:Iw,BIconShieldFillMinus:Lw,BIconShieldFillPlus:Pw,BIconShieldFillX:kw,BIconShieldLock:Fw,BIconShieldLockFill:Vw,BIconShieldMinus:Bw,BIconShieldPlus:Rw,BIconShieldShaded:Hw,BIconShieldSlash:Dw,BIconShieldSlashFill:Nw,BIconShieldX:$w,BIconShift:Gw,BIconShiftFill:Uw,BIconShop:Ww,BIconShopWindow:qw,BIconShuffle:Xw,BIconSignpost:Yw,BIconSignpost2:Kw,BIconSignpost2Fill:Zw,BIconSignpostFill:Jw,BIconSignpostSplit:Qw,BIconSignpostSplitFill:tz,BIconSim:ez,BIconSimFill:nz,BIconSkipBackward:rz,BIconSkipBackwardBtn:iz,BIconSkipBackwardBtnFill:az,BIconSkipBackwardCircle:oz,BIconSkipBackwardCircleFill:sz,BIconSkipBackwardFill:lz,BIconSkipEnd:cz,BIconSkipEndBtn:uz,BIconSkipEndBtnFill:hz,BIconSkipEndCircle:dz,BIconSkipEndCircleFill:pz,BIconSkipEndFill:fz,BIconSkipForward:vz,BIconSkipForwardBtn:mz,BIconSkipForwardBtnFill:gz,BIconSkipForwardCircle:yz,BIconSkipForwardCircleFill:bz,BIconSkipForwardFill:_z,BIconSkipStart:Oz,BIconSkipStartBtn:wz,BIconSkipStartBtnFill:zz,BIconSkipStartCircle:xz,BIconSkipStartCircleFill:Cz,BIconSkipStartFill:Mz,BIconSlack:Sz,BIconSlash:Az,BIconSlashCircle:Tz,BIconSlashCircleFill:jz,BIconSlashSquare:Ez,BIconSlashSquareFill:Iz,BIconSliders:Lz,BIconSmartwatch:Pz,BIconSortAlphaDown:kz,BIconSortAlphaDownAlt:Fz,BIconSortAlphaUp:Vz,BIconSortAlphaUpAlt:Bz,BIconSortDown:Rz,BIconSortDownAlt:Hz,BIconSortNumericDown:Dz,BIconSortNumericDownAlt:Nz,BIconSortNumericUp:$z,BIconSortNumericUpAlt:Gz,BIconSortUp:Uz,BIconSortUpAlt:Wz,BIconSoundwave:qz,BIconSpeaker:Xz,BIconSpeakerFill:Yz,BIconSpellcheck:Kz,BIconSquare:Zz,BIconSquareFill:Jz,BIconSquareHalf:Qz,BIconStar:tx,BIconStarFill:ex,BIconStarHalf:nx,BIconStickies:rx,BIconStickiesFill:ix,BIconSticky:ax,BIconStickyFill:ox,BIconStop:sx,BIconStopBtn:lx,BIconStopBtnFill:cx,BIconStopCircle:ux,BIconStopCircleFill:hx,BIconStopFill:dx,BIconStoplights:px,BIconStoplightsFill:fx,BIconStopwatch:vx,BIconStopwatchFill:mx,BIconSubtract:gx,BIconSuitClub:yx,BIconSuitClubFill:bx,BIconSuitDiamond:_x,BIconSuitDiamondFill:Ox,BIconSuitHeart:wx,BIconSuitHeartFill:zx,BIconSuitSpade:xx,BIconSuitSpadeFill:Cx,BIconSun:Mx,BIconSunglasses:Sx,BIconTable:Ax,BIconTablet:Tx,BIconTabletFill:jx,BIconTabletLandscape:Ex,BIconTabletLandscapeFill:Ix,BIconTag:Lx,BIconTagFill:Px,BIconTags:kx,BIconTagsFill:Fx,BIconTelephone:Vx,BIconTelephoneFill:Bx,BIconTelephoneForward:Rx,BIconTelephoneForwardFill:Hx,BIconTelephoneInbound:Dx,BIconTelephoneInboundFill:Nx,BIconTelephoneMinus:$x,BIconTelephoneMinusFill:Gx,BIconTelephoneOutbound:Ux,BIconTelephoneOutboundFill:Wx,BIconTelephonePlus:qx,BIconTelephonePlusFill:Xx,BIconTelephoneX:Yx,BIconTelephoneXFill:Kx,BIconTerminal:Zx,BIconTerminalFill:Jx,BIconTextCenter:Qx,BIconTextIndentLeft:tC,BIconTextIndentRight:eC,BIconTextLeft:nC,BIconTextParagraph:rC,BIconTextRight:iC,BIconTextarea:aC,BIconTextareaResize:oC,BIconTextareaT:sC,BIconThermometer:lC,BIconThermometerHalf:cC,BIconThreeDots:uC,BIconThreeDotsVertical:hC,BIconToggle2Off:dC,BIconToggle2On:pC,BIconToggleOff:fC,BIconToggleOn:vC,BIconToggles:mC,BIconToggles2:gC,BIconTools:yC,BIconTrash:bC,BIconTrash2:_C,BIconTrash2Fill:OC,BIconTrashFill:wC,BIconTree:zC,BIconTreeFill:xC,BIconTriangle:CC,BIconTriangleFill:MC,BIconTriangleHalf:SC,BIconTrophy:AC,BIconTrophyFill:TC,BIconTruck:jC,BIconTruckFlatbed:EC,BIconTv:IC,BIconTvFill:LC,BIconTwitch:PC,BIconTwitter:kC,BIconType:FC,BIconTypeBold:VC,BIconTypeH1:BC,BIconTypeH2:RC,BIconTypeH3:HC,BIconTypeItalic:DC,BIconTypeStrikethrough:NC,BIconTypeUnderline:$C,BIconUiChecks:GC,BIconUiChecksGrid:UC,BIconUiRadios:WC,BIconUiRadiosGrid:qC,BIconUnion:XC,BIconUnlock:YC,BIconUnlockFill:KC,BIconUpc:ZC,BIconUpcScan:JC,BIconUpload:QC,BIconVectorPen:tM,BIconViewList:eM,BIconViewStacked:nM,BIconVinyl:rM,BIconVinylFill:iM,BIconVoicemail:aM,BIconVolumeDown:oM,BIconVolumeDownFill:sM,BIconVolumeMute:lM,BIconVolumeMuteFill:cM,BIconVolumeOff:uM,BIconVolumeOffFill:hM,BIconVolumeUp:dM,BIconVolumeUpFill:pM,BIconVr:fM,BIconWallet:vM,BIconWallet2:mM,BIconWalletFill:gM,BIconWatch:yM,BIconWifi:bM,BIconWifi1:_M,BIconWifi2:OM,BIconWifiOff:wM,BIconWindow:zM,BIconWrench:xM,BIconX:CM,BIconXCircle:MM,BIconXCircleFill:SM,BIconXDiamond:AM,BIconXDiamondFill:TM,BIconXOctagon:jM,BIconXOctagonFill:EM,BIconXSquare:IM,BIconXSquareFill:LM,BIconYoutube:PM,BIconZoomIn:kM,BIconZoomOut:FM}}),GD=me({plugins:{IconsPlugin:$D}},{NAME:"BootstrapVueIcons"});function UD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function WD(t){for(var e=1;e0}}});function QD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function tN(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var eN=cr({variant:ar(Ie)},"BTr"),nN=r.default.extend({name:"BTr",mixins:[eS,rS,vr],provide:function(){return{bvTableTr:this}},inject:{bvTableRowGroup:{default:function(){return{}}}},inheritAttrs:!1,props:eN,computed:{inTbody:function(){return this.bvTableRowGroup.isTbody},inThead:function(){return this.bvTableRowGroup.isThead},inTfoot:function(){return this.bvTableRowGroup.isTfoot},isDark:function(){return this.bvTableRowGroup.isDark},isStacked:function(){return this.bvTableRowGroup.isStacked},isResponsive:function(){return this.bvTableRowGroup.isResponsive},isStickyHeader:function(){return this.bvTableRowGroup.isStickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTableRowGroup.hasStickyHeader},tableVariant:function(){return this.bvTableRowGroup.tableVariant},headVariant:function(){return this.inThead?this.bvTableRowGroup.headVariant:null},footVariant:function(){return this.inTfoot?this.bvTableRowGroup.footVariant:null},isRowDark:function(){return"light"!==this.headVariant&&"light"!==this.footVariant&&("dark"===this.headVariant||"dark"===this.footVariant||this.isDark)},trClasses:function(){var t=this.variant;return[t?"".concat(this.isRowDark?"bg":"table","-").concat(t):null]},trAttrs:function(){return function(t){for(var e=1;e0?t:null},cN=function(t){return _t(t)||lN(t)>0},uN=cr({colspan:ar(Ne,null,cN),rowspan:ar(Ne,null,cN),stackedHeading:ar(Ie),stickyColumn:ar(Me,!1),variant:ar(Ie)},"BTableCell"),hN=r.default.extend({name:"BTableCell",mixins:[eS,rS,vr],inject:{bvTableTr:{default:function(){return{}}}},inheritAttrs:!1,props:uN,computed:{tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return lN(this.colspan)},computedRowspan:function(){return lN(this.rowspan)},cellClasses:function(){var t=this.variant,e=this.headVariant,n=this.isStickyColumn;return(!t&&this.isStickyHeader&&!e||!t&&n&&this.inTfoot&&!this.footVariant||!t&&n&&this.inThead&&!e||!t&&n&&this.inTbody)&&(t=this.rowVariant||this.tableVariant||"b-table-default"),[t?"".concat(this.isDark?"bg":"table","-").concat(t):null,n?"b-table-sticky-column":null]},cellAttrs:function(){var t=this.stackedHeading,e=this.inThead||this.inTfoot,n=this.computedColspan,r=this.computedRowspan,i="cell",a=null;return e?(i="columnheader",a=n>0?"colspan":"col"):gn(this.tag,"th")&&(i="rowheader",a=r>0?"rowgroup":"row"),oN(oN({colspan:n,rowspan:r,role:i,scope:a},this.bvAttrs),{},{"data-label":this.isStackedCell&&!_t(t)?on(t):null})}},render:function(t){var e=[this.normalizeSlot()];return t(this.tag,{class:this.cellClasses,attrs:this.cellAttrs,on:this.bvListeners},[this.isStackedCell?t("div",[e]):e])}});var dN,pN,fN,vN=(dN={},pN="busy",fN=ar(Me,!1),pN in dN?Object.defineProperty(dN,pN,{value:fN,enumerable:!0,configurable:!0,writable:!0}):dN[pN]=fN,dN),mN=r.default.extend({props:vN,data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this.busy||this.localBusy}},watch:{localBusy:function(t,e){t!==e&&this.$emit("update:busy",t)}},methods:{stopIfBusy:function(t){return!!this.computedBusy&&(_r(t),!0)},renderBusy:function(){var t=this.tbodyTrClass,e=this.tbodyTrAttr,n=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot("table-busy")?n(nN,{staticClass:"b-table-busy-slot",class:[Ot(t)?t(null,"table-busy"):t],attrs:Ot(e)?e(null,"table-busy"):e,key:"table-busy-slot"},[n(hN,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot("table-busy")])]):null}}}),gN={caption:ar(Ie),captionHtml:ar(Ie)},yN=r.default.extend({props:gN,computed:{captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var t=this.caption,e=this.captionHtml,n=this.$createElement,r=n(),i=this.hasNormalizedSlot("table-caption");return(i||t||e)&&(r=n("caption",{attrs:{id:this.captionId},domProps:i?{}:GS(e,t),key:"caption",ref:"caption"},this.normalizeSlot("table-caption"))),r}}}),bN={},_N=r.default.extend({methods:{renderColgroup:function(){var t=this.computedFields,e=this.$createElement,n=e();return this.hasNormalizedSlot("table-colgroup")&&(n=e("colgroup",{key:"colgroup"},[this.normalizeSlot("table-colgroup",{columns:t.length,fields:t})])),n}}}),ON={emptyFilteredHtml:ar(Ie),emptyFilteredText:ar(Ie,"There are no records matching your request"),emptyHtml:ar(Ie),emptyText:ar(Ie,"There are no records to show"),showEmpty:ar(Me,!1)},wN=r.default.extend({props:ON,methods:{renderEmpty:function(){var t=this.computedItems,e=this.$createElement,n=e();if(this.showEmpty&&(!t||0===t.length)&&(!this.computedBusy||!this.hasNormalizedSlot("table-busy"))){var r=this.computedFields,i=this.isFiltered,a=this.emptyText,o=this.emptyHtml,s=this.emptyFilteredText,l=this.emptyFilteredHtml,c=this.tbodyTrClass,u=this.tbodyTrAttr;(n=this.normalizeSlot(i?"emptyfiltered":"empty",{emptyFilteredHtml:l,emptyFilteredText:s,emptyHtml:o,emptyText:a,fields:r,items:t}))||(n=e("div",{class:["text-center","my-2"],domProps:i?GS(l,s):GS(o,a)})),n=e(hN,{props:{colspan:r.length||null}},[e("div",{attrs:{role:"alert","aria-live":"polite"}},[n])]),n=e(nN,{staticClass:"b-table-empty-row",class:[Ot(c)?c(null,"row-empty"):c],attrs:Ot(u)?u(null,"row-empty"):u,key:i?"b-empty-filtered-row":"b-empty-row"},[n])}return n}}}),zN=function t(e){return _t(e)?"":St(e)&&!Tt(e)?Ht(e).sort().map(function(n){return t(e[n])}).filter(function(t){return!!t}).join(" "):on(e)};function xN(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function CN(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:{},i=Ht(r).reduce(function(e,n){var i=r[n],a=i.filterByFormatted,o=Ot(a)?a:a?i.formatter:null;return Ot(o)&&(e[n]=o(t[n],n,t)),e},Nt(t)),a=Ht(i).filter(function(t){return!(jN[t]||Mt(e)&&e.length>0&&qe(e,t)||Mt(n)&&n.length>0&&!qe(n,t))});return $t(i,a)};function LN(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&re('Prop "filter-debounce" is deprecated. Use the debounce feature of "" instead.',"BTable"),t},localFiltering:function(){return!this.hasProvider||!!this.noProviderFiltering},filteredCheck:function(){return{filteredItems:this.filteredItems,localItems:this.localItems,localFilter:this.localFilter}},localFilterFn:function(){var t=this.filterFunction;return hr(t)?t:null},filteredItems:function(){var t=this.localItems,e=this.localFilter,n=this.localFiltering?this.filterFnFactory(this.localFilterFn,e)||this.defaultFilterFnFactory(e):null;return n&&t.length>0?t.filter(n):t}},watch:{computedFilterDebounce:function(t){!t&&this.$_filterTimer&&(this.clearFilterTimer(),this.localFilter=this.filterSanitize(this.filter))},filter:{deep:!0,handler:function(t){var e=this,n=this.computedFilterDebounce;this.clearFilterTimer(),n&&n>0?this.$_filterTimer=setTimeout(function(){e.localFilter=e.filterSanitize(t)},n):this.localFilter=this.filterSanitize(t)}},filteredCheck:function(t){var e=t.filteredItems,n=t.localFilter,r=!1;n?ZM(n,[])||ZM(n,{})?r=!1:n&&(r=!0):r=!1,r&&this.$emit("filtered",e,e.length),this.isFiltered=r},isFiltered:function(t,e){if(!1===t&&!0===e){var n=this.localItems;this.$emit("filtered",n,n.length)}}},created:function(){var t=this;this.$_filterTimer=null,this.$nextTick(function(){t.isFiltered=Boolean(t.localFilter)})},beforeDestroy:function(){this.clearFilterTimer()},methods:{clearFilterTimer:function(){clearTimeout(this.$_filterTimer),this.$_filterTimer=null},filterSanitize:function(t){return!this.localFiltering||this.localFilterFn||zt(t)||Et(t)?Jt(t):""},filterFnFactory:function(t,e){if(!t||!Ot(t)||!e||ZM(e,[])||ZM(e,{}))return null;return function(n){return t(n,e)}},defaultFilterFnFactory:function(t){var e=this;if(!t||!zt(t)&&!Et(t))return null;var n=t;if(zt(n)){var r=an(t).replace(V,"\\s+");n=new RegExp(".*".concat(r,".*"),"i")}return function(t){return n.lastIndex=0,n.test((r=t,i=e.computedFilterIgnored,a=e.computedFilterIncluded,o=e.computedFieldsObj,St(r)?zN(IN(r,i,a,o)):""));var r,i,a,o}}}}),FN=function(t,e){var n=[];if(Mt(t)&&t.filter(Qt).forEach(function(t){if(zt(t))n.push({key:t,label:nn(t)});else if(St(t)&&t.key&&zt(t.key))n.push(Nt(t));else if(St(t)&&1===Ht(t).length){var e=Ht(t)[0],r=function(t,e){var n=null;return zt(e)?n={key:t,label:e}:Ot(e)?n={key:t,formatter:e}:St(e)?(n=Nt(e)).key=n.key||t:!1!==e&&(n={key:t}),n}(e,t[e]);r&&n.push(r)}}),0===n.length&&Mt(e)&&e.length>0){var r=e[0];Ht(r).forEach(function(t){jN[t]||n.push({key:t,label:nn(t)})})}var i={};return n.filter(function(t){return!i[t.key]&&(i[t.key]=!0,t.label=zt(t.label)?t.label:nn(t.key),!0)})};function VN(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function BN(t){for(var e=1;e0&&t.some(Qt)},selectableIsMultiSelect:function(){return this.isSelectable&&qe(["range","multi"],this.selectMode)},selectableTableClasses:function(){var t,e=this.isSelectable;return QN(t={"b-table-selectable":e},"b-table-select-".concat(this.selectMode),e),QN(t,"b-table-selecting",this.selectableHasSelection),QN(t,"b-table-selectable-no-click",e&&!this.hasSelectableRowClick),t},selectableTableAttrs:function(){return{"aria-multiselectable":this.isSelectable?this.selectableIsMultiSelect?"true":"false":null}}},watch:{computedItems:function(t,e){var n=!1;if(this.isSelectable&&this.selectedRows.length>0){n=Mt(t)&&Mt(e)&&t.length===e.length;for(var r=0;n&&r=0&&t0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?Ye(t,!0):[!0])},isRowSelected:function(t){return!(!xt(t)||!this.selectedRows[t])},clearSelected:function(){this.selectedLastClicked=-1,this.selectedRows=[]},selectableRowClasses:function(t){if(this.isSelectable&&this.isRowSelected(t)){var e=this.selectedVariant;return QN({"b-table-row-selected":!0},"".concat(this.dark?"bg":"table","-").concat(e),e)}return{}},selectableRowAttrs:function(t){return{"aria-selected":this.isSelectable?this.isRowSelected(t)?"true":"false":null}},setSelectionHandlers:function(t){var e=t&&!this.noSelectOnClick?"$on":"$off";this[e]("row-clicked",this.selectionHandler),this[e]("filtered",this.clearSelected),this[e]("context-changed",this.clearSelected)},selectionHandler:function(t,e,n){if(this.isSelectable&&!this.noSelectOnClick){var r=this.selectMode,i=this.selectedLastRow,a=this.selectedRows.slice(),o=!a[e];if("single"===r)a=[];else if("range"===r)if(i>-1&&n.shiftKey){for(var s=qr(i,e);s<=Xr(i,e);s++)a[s]=!0;o=!0}else n.ctrlKey||n.metaKey||(a=[],o=!0),this.selectedLastRow=o?e:-1;a[e]=o,this.selectedRows=a}else this.clearSelected()}}}),a$=function(t,e){return t.map(function(t,e){return[e,t]}).sort(function(t,e){return this(t[1],e[1])||t[0]-e[0]}.bind(e)).map(function(t){return t[1]})},o$=function(t){return _t(t)?"":Ct(t)?Je(t,t):t};function s$(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function l$(t){for(var e=1;e2&&void 0!==arguments[2]?arguments[2]:{},r=n.sortBy,i=void 0===r?null:r,a=n.formatter,o=void 0===a?null:a,s=n.locale,l=void 0===s?void 0:s,c=n.localeOptions,u=void 0===c?{}:c,h=n.nullLast,d=void 0!==h&&h,p=ee(t,i,null),f=ee(e,i,null);return Ot(o)&&(p=o(p,i,t),f=o(f,i,e)),p=o$(p),f=o$(f),Tt(p)&&Tt(f)||xt(p)&&xt(f)?pf?1:0:d&&""===p&&""!==f?1:d&&""!==p&&""===f?-1:zN(p).localeCompare(zN(f),l,u)}(a,o,{sortBy:t,formatter:c,locale:n,localeOptions:s,nullLast:r})),(l||0)*(e?-1:1)})}return o}},watch:(e$={isSortable:function(t){t?this.isSortable&&this.$on("head-clicked",this.handleSort):this.$off("head-clicked",this.handleSort)}},c$(e$,"sortDesc",function(t){t!==this.localSortDesc&&(this.localSortDesc=t||!1)}),c$(e$,"sortBy",function(t){t!==this.localSortBy&&(this.localSortBy=t||"")}),c$(e$,"localSortDesc",function(t,e){t!==e&&this.$emit("update:sortDesc",t)}),c$(e$,"localSortBy",function(t,e){t!==e&&this.$emit("update:sortBy",t)}),e$),created:function(){this.isSortable&&this.$on("head-clicked",this.handleSort)},methods:{handleSort:function(t,e,n,r){var i=this;if(this.isSortable&&(!r||!this.noFooterSorting)){var a=!1,o=function(){var t=e.sortDirection||i.sortDirection;"asc"===t?i.localSortDesc=!1:"desc"===t&&(i.localSortDesc=!0)};if(e.sortable){var s=!this.localSorting&&e.sortKey?e.sortKey:t;this.localSortBy===s?this.localSortDesc=!this.localSortDesc:(this.localSortBy=s,o()),a=!0}else this.localSortBy&&!this.noSortReset&&(this.localSortBy="",o(),a=!0);a&&this.$emit("sort-changed",this.context)}},sortTheadThClasses:function(t,e,n){return{"b-table-sort-icon-left":e.sortable&&this.sortIconLeft&&!(n&&this.noFooterSorting)}},sortTheadThAttrs:function(t,e,n){if(!this.isSortable||n&&this.noFooterSorting)return{};var r=e.sortable;return{"aria-sort":r&&this.localSortBy===t?this.localSortDesc?"descending":"ascending":r?"none":null}},sortTheadThLabel:function(t,e,n){if(!this.isSortable||n&&this.noFooterSorting)return null;var r="";if(e.sortable)if(this.localSortBy===t)r=this.localSortDesc?this.labelSortAsc:this.labelSortDesc;else{r=this.localSortDesc?this.labelSortDesc:this.labelSortAsc;var i=this.sortDirection||e.sortDirection;"asc"===i?r=this.labelSortAsc:"desc"===i&&(r=this.labelSortDesc)}else this.noSortReset||(r=this.localSortBy?this.labelSortClear:"");return sn(r)||null}}});var p$={stacked:ar(Re,!1)},f$=r.default.extend({props:p$,computed:{isStacked:function(){var t=this.stacked;return""===t||t},isStackedAlways:function(){return!0===this.isStacked},stackedTableClasses:function(){var t,e,n,r=this.isStackedAlways;return t={"b-table-stacked":r},e="b-table-stacked-".concat(this.stacked),n=!r&&this.isStacked,e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}}});function v$(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function m$(t){for(var e=1;e0&&!this.computedBusy,[this.tableClass,{"table-striped":this.striped,"table-hover":t,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},e?"".concat(this.dark?"bg":"table","-").concat(e):"",this.stackedTableClasses,this.selectableTableClasses]},tableAttrs:function(){var t=this.computedItems,e=this.filteredItems,n=this.computedFields,r=this.selectableTableAttrs,i=this.isTableSimple?{}:{"aria-busy":this.computedBusy?"true":"false","aria-colcount":on(n.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null};return m$(m$(m$({"aria-rowcount":t&&e&&e.length>t.length?on(e.length):null},this.bvAttrs),{},{id:this.safeId(),role:"table"},i),r)}},render:function(t){var e=this.wrapperClasses,n=this.renderCaption,r=this.renderColgroup,i=this.renderThead,a=this.renderTbody,o=this.renderTfoot,s=[];this.isTableSimple?s.push(this.normalizeSlot()):(s.push(n?n():null),s.push(r?r():null),s.push(i?i():null),s.push(a?a():null),s.push(o?o():null));var l=t("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},s.filter(Qt));return e.length>0?t("div",{class:e,style:this.wrapperStyles,key:"wrap"},[l]):l}});function _$(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function O$(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:document,e=v.getSelection?v.getSelection():null;return!!(e&&""!==e.toString().trim()&&e.containsNode&&vn(t))&&e.containsNode(t,!0)},A$=cr(uN,"BTh"),T$=r.default.extend({name:"BTh",extends:hN,props:A$,computed:{tag:function(){return"th"}}});function j$(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function E$(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(g=String((o-1)*s+e+1));var y=on(ee(t,a))||null,b=y||on(e),_=y?this.safeId("_row_".concat(y)):null,O=this.selectableRowClasses?this.selectableRowClasses(e):{},w=this.selectableRowAttrs?this.selectableRowAttrs(e):{},z=Ot(l)?l(t,"row"):l,x=Ot(c)?c(t,"row"):c;if(f.push(u(nN,{class:[z,O,d?"b-table-has-details":""],props:{variant:t[AN]||null},attrs:E$(E$({id:_},x),{},{tabindex:p?"0":null,"data-pk":y||null,"aria-details":v,"aria-owns":v,"aria-rowindex":g},w),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(b,"__"),ref:"item-rows",refInFor:!0},m)),d){var C={item:t,index:e,fields:r,toggleDetails:this.toggleDetailsFactory(h,t)};this.supportsSelectableRows&&(C.rowSelected=this.isRowSelected(e),C.selectRow=function(){return n.selectRow(e)},C.unselectRow=function(){return n.unselectRow(e)});var M=u(hN,{props:{colspan:r.length},class:this.detailsTdClass},[this.normalizeSlot("row-details",C)]);i&&f.push(u("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(b)}));var S=Ot(this.tbodyTrClass)?this.tbodyTrClass(t,"row-details"):this.tbodyTrClass,A=Ot(this.tbodyTrAttr)?this.tbodyTrAttr(t,"row-details"):this.tbodyTrAttr;f.push(u(nN,{staticClass:"b-table-details",class:[S],props:{variant:t[AN]||null},attrs:E$(E$({},A),{},{id:v,tabindex:"-1"}),key:"__b-table-details__".concat(b)},[M]))}else h&&(f.push(u()),i&&f.push(u()));return f}}});function F$(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function V$(t){for(var e=1;e0&&n&&n.length>0?We(e.children).filter(function(t){return qe(n,t)}):[]},getTbodyTrIndex:function(t){if(!vn(t))return-1;var e="TR"===t.tagName?t:Cn("tr",t,!0);return e?this.getTbodyTrs().indexOf(e):-1},emitTbodyRowEvent:function(t,e){if(t&&this.hasListener(t)&&e&&e.target){var n=this.getTbodyTrIndex(e.target);if(n>-1){var r=this.computedItems[n];this.$emit(t,r,n,e)}}},tbodyRowEvtStopped:function(t){return this.stopIfBusy&&this.stopIfBusy(t)},onTbodyRowKeydown:function(t){var e=t.target,n=t.keyCode;if(!this.tbodyRowEvtStopped(t)&&"TR"===e.tagName&&yn(e)&&0===e.tabIndex)if(qe([UM,YM],n))_r(t),this.onTBodyRowClicked(t);else if(qe([KM,$M,WM,GM],n)){var r=this.getTbodyTrIndex(e);if(r>-1){_r(t);var i=this.getTbodyTrs(),a=t.shiftKey;n===WM||a&&n===KM?$n(i[0]):n===GM||a&&n===$M?$n(i[i.length-1]):n===KM&&r>0?$n(i[r-1]):n===$M&&rt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]&&arguments[0],n=this.computedFields,r=this.isSortable,i=this.isSelectable,a=this.headVariant,o=this.footVariant,s=this.headRowVariant,l=this.footRowVariant,c=this.$createElement;if(this.isStackedAlways||0===n.length)return c();var u=r||this.hasListener("head-clicked"),h=i?this.selectAllRows:tj,d=i?this.clearSelected:tj,p=n.map(function(n,i){var a=n.label,o=n.labelHtml,s=n.variant,l=n.stickyColumn,p=n.key,f=null;n.label.trim()||n.headerTitle||(f=nn(n.key));var v={};u&&(v.click=function(r){t.headClicked(r,n,e)},v.keydown=function(r){var i=r.keyCode;i!==UM&&i!==YM||t.headClicked(r,n,e)});var m=r?t.sortTheadThAttrs(p,n,e):{},g=r?t.sortTheadThClasses(p,n,e):null,y=r?t.sortTheadThLabel(p,n,e):null,b={class:[t.fieldClasses(n),g],props:{variant:s,stickyColumn:l},style:n.thStyle||{},attrs:nG(nG({tabindex:u&&n.sortable?"0":null,abbr:n.headerAbbr||null,title:n.headerTitle||null,"aria-colindex":i+1,"aria-label":f},t.getThValues(null,p,n.thAttr,e?"foot":"head",{})),m),on:v,key:p},_=[iG(p),iG(p.toLowerCase()),iG()];e&&(_=[aG(p),aG(p.toLowerCase()),aG()].concat(Q$(_)));var O={label:a,column:p,field:n,isFoot:e,selectAllRows:h,clearSelected:d},w=t.normalizeSlot(_,O)||c("div",{domProps:GS(o,a)}),z=y?c("span",{staticClass:"sr-only"}," (".concat(y,")")):null;return c(T$,b,[w,z].filter(Qt))}).filter(Qt),f=[];if(e)f.push(c(nN,{class:this.tfootTrClass,props:{variant:_t(l)?s:l}},p));else{var v={columns:n.length,fields:n,selectAllRows:h,clearSelected:d};f.push(this.normalizeSlot("thead-top",v)||c()),f.push(c(nN,{class:this.theadTrClass,props:{variant:s}},p))}return c(e?W$:J$,{class:(e?this.tfootClass:this.theadClass)||null,props:e?{footVariant:o||a||null}:{headVariant:a||null},key:e?"bv-tfoot":"bv-thead"},f)}}}),lG=r.default.extend({methods:{renderTopRow:function(){var t=this.computedFields,e=this.stacked,n=this.tbodyTrClass,r=this.tbodyTrAttr,i=this.$createElement;return this.hasNormalizedSlot("top-row")&&!0!==e&&""!==e?i(nN,{staticClass:"b-table-top-row",class:[Ot(n)?n(null,"row-top"):n],attrs:Ot(r)?r(null,"row-top"):r,key:"b-top-row"},[this.normalizeSlot("top-row",{columns:t.length,fields:t})]):i()}}});function cG(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function uG(t){for(var e=1;e0},EG=cr({animation:ar(Ie),columns:ar(Te,5,jG),hideHeader:ar(Me,!1),rows:ar(Te,3,jG),showFooter:ar(Me,!1),tableProps:ar(je,{})},"BSkeletonTable"),IG=r.default.extend({name:"BSkeletonTable",functional:!0,props:EG,render:function(t,e){var n=e.props,r=n.animation,i=n.columns,a=t("th",[t(HD,{props:{animation:r}})]),o=t("tr",Ye(i,a)),s=t("td",[t(HD,{props:{width:"75%",animation:r}})]),l=t("tr",Ye(i,s)),c=t("tbody",Ye(n.rows,l)),u=n.hideHeader?t():t("thead",[o]),h=n.showFooter?t("tfoot",[o]):t();return t(zG,{props:function(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0];if(this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e){this.$_observer=ij(this.$refs.content,function(){t.$nextTick(function(){pn(function(){t.updateTabs()})})},{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs:function(){var t=this.registeredTabs.filter(function(t){return 0===t.$children.filter(function(t){return t._isTab}).length}),e=[];if(f&&t.length>0){var n=t.map(function(t){return"#".concat(t.safeId())}).join(", ");e=wn(n,this.$el).map(function(t){return t.id}).filter(Qt)}return a$(t,function(t,n){return e.indexOf(t.safeId())-e.indexOf(n.safeId())})},updateTabs:function(){var t=this.getTabs(),e=t.indexOf(t.slice().reverse().find(function(t){return t.localActive&&!t.disabled}));if(e<0){var n=this.currentTab;n>=t.length?e=t.indexOf(t.slice().reverse().find(qG)):t[n]&&!t[n].disabled&&(e=n)}e<0&&(e=t.indexOf(t.find(qG))),t.forEach(function(t,n){t.localActive=n===e}),this.tabs=t,this.currentTab=e},getButtonForTab:function(t){return(this.$refs.buttons||[]).find(function(e){return e.tab===t})},updateButton:function(t){var e=this.getButtonForTab(t);e&&e.$forceUpdate&&e.$forceUpdate()},activateTab:function(t){var e=this.currentTab,n=this.tabs,r=!1;if(t){var i=n.indexOf(t);if(i!==e&&i>-1&&!t.disabled){var a=new dE("activate-tab",{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(a.type,i,e,a),a.defaultPrevented||(this.currentTab=i,r=!0)}}return r||this[UG]===e||this.$emit(WG,e),r},deactivateTab:function(t){return!!t&&this.activateTab(this.tabs.filter(function(e){return e!==t}).find(qG))},focusButton:function(t){var e=this;this.$nextTick(function(){$n(e.getButtonForTab(t))})},emitTabClick:function(t,e){jt(e)&&t&&t.$emit&&!t.disabled&&t.$emit("click",e)},clickTab:function(t,e){this.activateTab(t),this.emitTabClick(t,e)},firstTab:function(t){var e=this.tabs.find(qG);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))},previousTab:function(t){var e=Xr(this.currentTab,0),n=this.tabs.slice(0,e).reverse().find(qG);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},nextTab:function(t){var e=Xr(this.currentTab,-1),n=this.tabs.slice(e+1).find(qG);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},lastTab:function(t){var e=this.tabs.slice().reverse().find(qG);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))}},render:function(t){var e=this,n=this.align,r=this.card,i=this.end,a=this.fill,o=this.firstTab,s=this.justified,l=this.lastTab,c=this.nextTab,u=this.noKeyNav,h=this.noNavStyle,d=this.pills,p=this.previousTab,f=this.small,v=this.tabs,m=this.vertical,g=v.find(function(t){return t.localActive&&!t.disabled}),y=v.find(function(t){return!t.disabled}),b=v.map(function(n,r){var i,a=n.safeId,s=null;return u||(s=-1,(n===g||!g&&n===y)&&(s=null)),t(XG,{props:{controls:a?a():null,id:n.controlledBy||(a?a("_BV_tab_button_"):null),noKeyNav:u,posInSet:r+1,setSize:v.length,tab:n,tabIndex:s},on:(i={},RG(i,"click",function(t){e.clickTab(n,t)}),RG(i,"first",o),RG(i,"prev",p),RG(i,"next",c),RG(i,"last",l),i),key:n._uid||r,ref:"buttons",refInFor:!0})}),_=t(XB,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:a,justified:s,align:n,tabs:!h&&!d,pills:!h&&d,vertical:m,small:f,cardHeader:r&&!m},ref:"nav"},[this.normalizeSlot("tabs-start")||t(),b,this.normalizeSlot("tabs-end")||t()]);_=t("div",{class:[{"card-header":r&&!m&&!i,"card-footer":r&&!m&&i,"col-auto":m},this.navWrapperClass],key:"bv-tabs-nav"},[_]);var O=this.normalizeSlot()||[],w=t();0===O.length&&(w=t("div",{class:["tab-pane","active",{"card-body":r}],key:"bv-empty-tab"},this.normalizeSlot("empty")));var z=t("div",{staticClass:"tab-content",class:[{col:m},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[O,w]);return t(this.tag,{staticClass:"tabs",class:{row:m,"no-gutters":m&&r},attrs:{id:this.safeId()}},[i?z:t(),_,i?t():z])}});function JG(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function QG(t){for(var e=1;e" with name "'.concat(e,'" already exists in the document.'),"BToaster"),this.dead=!0):(this.doRender=!0,this.$once("hook:beforeDestroy",function(){t.emitOnRoot(wr("BToaster","destroyed"),e)}))},destroyed:function(){var t=this.$el;t&&t.parentNode&&t.parentNode.removeChild(t)},render:function(t){var e=t("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){var n=t(oU.PortalTarget,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:sU}});e=t("div",{staticClass:"b-toaster",class:[this.staticName],attrs:{id:this.staticName,role:this.role||null,"aria-live":this.ariaLive,"aria-atomic":this.ariaAtomic}},[n])}return e}});function uU(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function hU(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return new dE(t,hU(hU({cancelable:!1,target:this.$el||null,relatedTarget:null},e),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(t){var e=t.type;this.emitOnRoot(wr("BToast",e),t),this.$emit(e,t)},ensureToaster:function(){if(!this.static){var t=this.computedToaster;if(!oU.Wormhole.hasTarget(t)){var e=document.createElement("div");document.body.appendChild(e),new cU({parent:this.$root,propsData:{name:t}}).$mount(e)}}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler:function(t){var e=this.$refs["b-toast"];br(t,e,"mouseenter",this.onPause,xe),br(t,e,"mouseleave",this.onUnPause,xe)},onPause:function(){if(!this.noAutoHide&&!this.noHoverPause&&this.$_dismissTimer&&!this.resumeDismiss){var t=Date.now()-this.dismissStarted;t>0&&(this.clearDismissTimer(),this.resumeDismiss=Xr(this.computedDuration-t,1e3))}},onUnPause:function(){this.noAutoHide||this.noHoverPause||!this.resumeDismiss?this.resumeDismiss=this.dismissStarted=0:this.startDismissTimer()},onLinkClick:function(){var t=this;this.$nextTick(function(){pn(function(){t.hide()})})},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var t=this.buildEvent("shown");this.emitEvent(t),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave:function(){this.isTransitioning=!0},onAfterLeave:function(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;var t=this.buildEvent("hidden");this.emitEvent(t),this.doRender=!1},makeToast:function(t){var e=this,n=this.title,r=this.slotScope,i=ci(this),a=[],o=this.normalizeSlot("toast-title",r);o?a.push(o):n&&a.push(t("strong",{staticClass:"mr-2"},n)),this.noCloseButton||a.push(t(Cr,{staticClass:"ml-auto mb-1",on:{click:function(){e.hide()}}}));var s=t();a.length>0&&(s=t("header",{staticClass:"toast-header",class:this.headerClass},a));var l=t(i?pS:"div",{staticClass:"toast-body",class:this.bodyClass,props:i?sr(yU,this):{},on:i?{click:this.onLinkClick}:{}},this.normalizeSlot("default",r));return t("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-".concat(this._uid),ref:"toast"},[s,l])}},render:function(t){if(!this.doRender||!this.isMounted)return t();var e=this.order,n=this.static,r=this.isHiding,i=this.isStatus,a="b-toast-".concat(this._uid),o=t("div",{staticClass:"b-toast",class:this.toastClasses,attrs:hU(hU({},n?{}:this.scopedStyleAttrs),{},{id:this.safeId("_toast_outer"),role:r?null:i?"status":"alert","aria-live":r?null:i?"polite":"assertive","aria-atomic":r?null:"true"}),key:a,ref:"b-toast"},[t(Lr,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(t):t()])]);return t(oU.Portal,{props:{name:a,to:this.computedToaster,order:e,slim:!0,disabled:n}},[o])}});function OU(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:{};t&&!ie("$bvToast")&&function(t,n){if(!ie("$bvToast")){var r=new e({parent:n,propsData:zU(zU(zU({},AU(Xn("BToast"))),Gt(t,Ht(SU))),{},{static:!1,visible:!0})});Ht(SU).forEach(function(e){var i=t[e];yt(i)||("title"===e&&zt(i)&&(i=[n.$createElement("strong",{class:"mr-2"},i)]),r.$slots[SU[e]]=Xe(i))});var i=document.createElement("div");document.body.appendChild(i),r.$mount(i)}}(zU(zU({},AU(n)),{},{toastContent:t}),this._vm)}},{key:"show",value:function(t){t&&this._root.$emit(zr("BToast","show"),t)}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._root.$emit(zr("BToast","hide"),t)}}])&&OU(n.prototype,r),i&&OU(n,i),t}();t.mixin({beforeCreate:function(){this._bv__toast=new n(this)}}),Dt(t.prototype,"$bvToast")||Bt(t.prototype,"$bvToast",{get:function(){return this&&this._bv__toast||re('"'.concat("$bvToast",'" must be accessed from a Vue instance "this" context.'),"BToast"),this._bv__toast}})}}}),jU=ve({components:{BToast:_U,BToaster:cU},plugins:{BVToastPlugin:TU}});function EU(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function IU(t){for(var e=1;e=n){var r=this.$targets[this.$targets.length-1];this.$activeTarget!==r&&this.activate(r)}else{if(this.$activeTarget&&t0)return this.$activeTarget=null,void this.clear();for(var i=this.$offsets.length;i--;){this.$activeTarget!==this.$targets[i]&&t>=this.$offsets[i]&&(yt(this.$offsets[i+1])||t0&&this.$root&&this.$root.$emit(sW,t,n)}},{key:"clear",value:function(){var t=this;wn("".concat(this.$selector,", ").concat(".nav-item"),this.$el).filter(function(t){return jn(t,"active")}).forEach(function(e){return t.setActiveState(e,!1)})}},{key:"setActiveState",value:function(t,e){t&&(e?An(t,"active"):Tn(t,"active"))}}])&&rW(e.prototype,n),r&&rW(e,r),t}(),pW="__BV_ScrollSpy__",fW=/^\d+$/,vW=/^(auto|position|offset)$/,mW=function(t,e,n){if(f){var r=function(t){var e={};return t.arg&&(e.element="#".concat(t.arg)),Ht(t.modifiers).forEach(function(t){fW.test(t)?e.offset=Ze(t,0):vW.test(t)&&(e.method=t)}),zt(t.value)?e.element=t.value:xt(t.value)?e.offset=Qr(t.value):St(t.value)&&Ht(t.value).filter(function(t){return!!dW.DefaultType[t]}).forEach(function(n){e[n]=t.value[n]}),e}(e);t[pW]?t[pW].updateConfig(r,n.context.$root):t[pW]=new dW(t,r,n.context.$root)}},gW={bind:function(t,e,n){mW(t,e,n)},inserted:function(t,e,n){mW(t,e,n)},update:function(t,e,n){e.value!==e.oldValue&&mW(t,e,n)},componentUpdated:function(t,e,n){e.value!==e.oldValue&&mW(t,e,n)},unbind:function(t){!function(t){t[pW]&&(t[pW].dispose(),t[pW]=null,delete t[pW])}(t)}},yW=ve({directives:{VBScrollspy:gW}}),bW=ve({directives:{VBVisible:VT}}),_W=ve({plugins:{VBHoverPlugin:JU,VBModalPlugin:QU,VBPopoverPlugin:uD,VBScrollspyPlugin:yW,VBTogglePlugin:lE,VBTooltipPlugin:YU,VBVisiblePlugin:bW}}),OW=ve();n.d(e,"a",function(){return wW}),n.d(e,!1,function(){return OW}),n.d(e,!1,function(){return OW}),n.d(e,!1,function(){return GB}),n.d(e,!1,function(){return TU}),n.d(e,"b",function(){return $D}),n.d(e,!1,function(){return GD}),n.d(e,!1,function(){return NM}),n.d(e,!1,function(){return ND}),n.d(e,!1,function(){return Oi}),n.d(e,!1,function(){return wi}),n.d(e,!1,function(){return zi}),n.d(e,!1,function(){return xi}),n.d(e,!1,function(){return Ci}),n.d(e,!1,function(){return Mi}),n.d(e,!1,function(){return Si}),n.d(e,!1,function(){return Ai}),n.d(e,!1,function(){return Ti}),n.d(e,!1,function(){return ji}),n.d(e,!1,function(){return Ei}),n.d(e,!1,function(){return Ii}),n.d(e,!1,function(){return Li}),n.d(e,!1,function(){return Pi}),n.d(e,!1,function(){return ki}),n.d(e,!1,function(){return Fi}),n.d(e,!1,function(){return Vi}),n.d(e,!1,function(){return Bi}),n.d(e,!1,function(){return Ri}),n.d(e,!1,function(){return Hi}),n.d(e,!1,function(){return Di}),n.d(e,!1,function(){return Ni}),n.d(e,!1,function(){return $i}),n.d(e,!1,function(){return Gi}),n.d(e,!1,function(){return Ui}),n.d(e,!1,function(){return Wi}),n.d(e,!1,function(){return qi}),n.d(e,!1,function(){return Xi}),n.d(e,!1,function(){return Yi}),n.d(e,!1,function(){return Ki}),n.d(e,!1,function(){return Zi}),n.d(e,!1,function(){return Ji}),n.d(e,!1,function(){return Qi}),n.d(e,!1,function(){return ta}),n.d(e,!1,function(){return ea}),n.d(e,!1,function(){return na}),n.d(e,!1,function(){return ra}),n.d(e,!1,function(){return ia}),n.d(e,!1,function(){return aa}),n.d(e,!1,function(){return oa}),n.d(e,!1,function(){return sa}),n.d(e,!1,function(){return la}),n.d(e,!1,function(){return ca}),n.d(e,!1,function(){return ua}),n.d(e,!1,function(){return ha}),n.d(e,!1,function(){return da}),n.d(e,!1,function(){return pa}),n.d(e,!1,function(){return fa}),n.d(e,!1,function(){return va}),n.d(e,!1,function(){return ma}),n.d(e,!1,function(){return ga}),n.d(e,!1,function(){return ya}),n.d(e,!1,function(){return ba}),n.d(e,!1,function(){return _a}),n.d(e,!1,function(){return Oa}),n.d(e,!1,function(){return wa}),n.d(e,!1,function(){return za}),n.d(e,!1,function(){return xa}),n.d(e,!1,function(){return Ca}),n.d(e,!1,function(){return Ma}),n.d(e,!1,function(){return Sa}),n.d(e,!1,function(){return Aa}),n.d(e,!1,function(){return Ta}),n.d(e,!1,function(){return ja}),n.d(e,!1,function(){return Ea}),n.d(e,!1,function(){return Ia}),n.d(e,!1,function(){return La}),n.d(e,!1,function(){return Pa}),n.d(e,!1,function(){return ka}),n.d(e,!1,function(){return Fa}),n.d(e,!1,function(){return Va}),n.d(e,!1,function(){return Ba}),n.d(e,!1,function(){return Ra}),n.d(e,!1,function(){return Ha}),n.d(e,!1,function(){return Da}),n.d(e,!1,function(){return Na}),n.d(e,!1,function(){return $a}),n.d(e,!1,function(){return Ga}),n.d(e,!1,function(){return Ua}),n.d(e,!1,function(){return Wa}),n.d(e,!1,function(){return qa}),n.d(e,!1,function(){return Xa}),n.d(e,!1,function(){return Ya}),n.d(e,!1,function(){return Ka}),n.d(e,!1,function(){return Za}),n.d(e,!1,function(){return Ja}),n.d(e,!1,function(){return Qa}),n.d(e,!1,function(){return to}),n.d(e,!1,function(){return eo}),n.d(e,!1,function(){return no}),n.d(e,!1,function(){return ro}),n.d(e,!1,function(){return io}),n.d(e,!1,function(){return ao}),n.d(e,!1,function(){return oo}),n.d(e,!1,function(){return so}),n.d(e,!1,function(){return lo}),n.d(e,!1,function(){return co}),n.d(e,!1,function(){return uo}),n.d(e,!1,function(){return ho}),n.d(e,!1,function(){return po}),n.d(e,!1,function(){return fo}),n.d(e,!1,function(){return vo}),n.d(e,!1,function(){return mo}),n.d(e,!1,function(){return go}),n.d(e,!1,function(){return yo}),n.d(e,!1,function(){return bo}),n.d(e,!1,function(){return _o}),n.d(e,!1,function(){return Oo}),n.d(e,!1,function(){return wo}),n.d(e,!1,function(){return zo}),n.d(e,!1,function(){return xo}),n.d(e,!1,function(){return Co}),n.d(e,!1,function(){return Mo}),n.d(e,!1,function(){return So}),n.d(e,!1,function(){return Ao}),n.d(e,!1,function(){return To}),n.d(e,!1,function(){return jo}),n.d(e,!1,function(){return Eo}),n.d(e,!1,function(){return Io}),n.d(e,!1,function(){return Lo}),n.d(e,!1,function(){return Po}),n.d(e,!1,function(){return ko}),n.d(e,!1,function(){return Fo}),n.d(e,!1,function(){return Vo}),n.d(e,!1,function(){return Bo}),n.d(e,!1,function(){return Ro}),n.d(e,!1,function(){return Ho}),n.d(e,!1,function(){return Do}),n.d(e,!1,function(){return No}),n.d(e,!1,function(){return $o}),n.d(e,!1,function(){return Go}),n.d(e,!1,function(){return Uo}),n.d(e,!1,function(){return Wo}),n.d(e,!1,function(){return qo}),n.d(e,!1,function(){return Xo}),n.d(e,!1,function(){return Yo}),n.d(e,!1,function(){return Ko}),n.d(e,!1,function(){return Zo}),n.d(e,!1,function(){return Jo}),n.d(e,!1,function(){return Qo}),n.d(e,!1,function(){return ts}),n.d(e,!1,function(){return es}),n.d(e,!1,function(){return ns}),n.d(e,!1,function(){return rs}),n.d(e,!1,function(){return is}),n.d(e,!1,function(){return as}),n.d(e,!1,function(){return os}),n.d(e,!1,function(){return ss}),n.d(e,!1,function(){return ls}),n.d(e,!1,function(){return cs}),n.d(e,!1,function(){return us}),n.d(e,!1,function(){return hs}),n.d(e,!1,function(){return ds}),n.d(e,!1,function(){return ps}),n.d(e,!1,function(){return fs}),n.d(e,!1,function(){return vs}),n.d(e,!1,function(){return ms}),n.d(e,!1,function(){return gs}),n.d(e,!1,function(){return ys}),n.d(e,!1,function(){return bs}),n.d(e,!1,function(){return _s}),n.d(e,!1,function(){return Os}),n.d(e,!1,function(){return ws}),n.d(e,!1,function(){return zs}),n.d(e,!1,function(){return xs}),n.d(e,!1,function(){return Cs}),n.d(e,!1,function(){return Ms}),n.d(e,!1,function(){return Ss}),n.d(e,!1,function(){return As}),n.d(e,!1,function(){return Ts}),n.d(e,!1,function(){return js}),n.d(e,!1,function(){return Es}),n.d(e,!1,function(){return Is}),n.d(e,!1,function(){return Ls}),n.d(e,!1,function(){return Ps}),n.d(e,!1,function(){return ks}),n.d(e,!1,function(){return Fs}),n.d(e,!1,function(){return Vs}),n.d(e,!1,function(){return Bs}),n.d(e,!1,function(){return Rs}),n.d(e,!1,function(){return Hs}),n.d(e,!1,function(){return Ds}),n.d(e,!1,function(){return Ns}),n.d(e,!1,function(){return $s}),n.d(e,!1,function(){return Gs}),n.d(e,!1,function(){return Us}),n.d(e,!1,function(){return Ws}),n.d(e,!1,function(){return qs}),n.d(e,!1,function(){return Xs}),n.d(e,!1,function(){return Ys}),n.d(e,!1,function(){return Ks}),n.d(e,!1,function(){return Zs}),n.d(e,!1,function(){return Js}),n.d(e,!1,function(){return Qs}),n.d(e,!1,function(){return tl}),n.d(e,!1,function(){return el}),n.d(e,!1,function(){return nl}),n.d(e,!1,function(){return rl}),n.d(e,!1,function(){return il}),n.d(e,!1,function(){return al}),n.d(e,!1,function(){return ol}),n.d(e,!1,function(){return sl}),n.d(e,!1,function(){return ll}),n.d(e,!1,function(){return cl}),n.d(e,!1,function(){return ul}),n.d(e,!1,function(){return hl}),n.d(e,!1,function(){return dl}),n.d(e,!1,function(){return pl}),n.d(e,!1,function(){return fl}),n.d(e,!1,function(){return vl}),n.d(e,!1,function(){return ml}),n.d(e,!1,function(){return gl}),n.d(e,!1,function(){return yl}),n.d(e,!1,function(){return bl}),n.d(e,!1,function(){return _l}),n.d(e,!1,function(){return Ol}),n.d(e,!1,function(){return wl}),n.d(e,!1,function(){return zl}),n.d(e,!1,function(){return xl}),n.d(e,!1,function(){return Cl}),n.d(e,!1,function(){return Ml}),n.d(e,!1,function(){return Sl}),n.d(e,!1,function(){return Al}),n.d(e,!1,function(){return Tl}),n.d(e,!1,function(){return jl}),n.d(e,!1,function(){return El}),n.d(e,!1,function(){return Il}),n.d(e,!1,function(){return Ll}),n.d(e,!1,function(){return Pl}),n.d(e,!1,function(){return kl}),n.d(e,!1,function(){return Fl}),n.d(e,!1,function(){return Vl}),n.d(e,!1,function(){return Bl}),n.d(e,!1,function(){return Rl}),n.d(e,!1,function(){return Hl}),n.d(e,!1,function(){return Dl}),n.d(e,!1,function(){return Nl}),n.d(e,!1,function(){return $l}),n.d(e,!1,function(){return Gl}),n.d(e,!1,function(){return Ul}),n.d(e,!1,function(){return Wl}),n.d(e,!1,function(){return ql}),n.d(e,!1,function(){return Xl}),n.d(e,!1,function(){return Yl}),n.d(e,!1,function(){return Kl}),n.d(e,!1,function(){return Zl}),n.d(e,!1,function(){return Jl}),n.d(e,!1,function(){return Ql}),n.d(e,!1,function(){return tc}),n.d(e,!1,function(){return ec}),n.d(e,!1,function(){return nc}),n.d(e,!1,function(){return rc}),n.d(e,!1,function(){return ic}),n.d(e,!1,function(){return ac}),n.d(e,!1,function(){return oc}),n.d(e,!1,function(){return sc}),n.d(e,!1,function(){return lc}),n.d(e,!1,function(){return cc}),n.d(e,!1,function(){return uc}),n.d(e,!1,function(){return hc}),n.d(e,!1,function(){return dc}),n.d(e,!1,function(){return pc}),n.d(e,!1,function(){return fc}),n.d(e,!1,function(){return vc}),n.d(e,!1,function(){return mc}),n.d(e,!1,function(){return gc}),n.d(e,!1,function(){return yc}),n.d(e,!1,function(){return bc}),n.d(e,!1,function(){return _c}),n.d(e,!1,function(){return Oc}),n.d(e,!1,function(){return wc}),n.d(e,!1,function(){return zc}),n.d(e,!1,function(){return xc}),n.d(e,!1,function(){return Cc}),n.d(e,!1,function(){return Mc}),n.d(e,!1,function(){return Sc}),n.d(e,!1,function(){return Ac}),n.d(e,!1,function(){return Tc}),n.d(e,!1,function(){return jc}),n.d(e,!1,function(){return Ec}),n.d(e,!1,function(){return Ic}),n.d(e,!1,function(){return Lc}),n.d(e,!1,function(){return Pc}),n.d(e,!1,function(){return kc}),n.d(e,!1,function(){return Fc}),n.d(e,!1,function(){return Vc}),n.d(e,!1,function(){return Bc}),n.d(e,!1,function(){return Rc}),n.d(e,!1,function(){return Hc}),n.d(e,!1,function(){return Dc}),n.d(e,!1,function(){return Nc}),n.d(e,!1,function(){return $c}),n.d(e,!1,function(){return Gc}),n.d(e,!1,function(){return Uc}),n.d(e,!1,function(){return Wc}),n.d(e,!1,function(){return qc}),n.d(e,!1,function(){return Xc}),n.d(e,!1,function(){return Yc}),n.d(e,!1,function(){return Kc}),n.d(e,!1,function(){return Zc}),n.d(e,!1,function(){return Jc}),n.d(e,!1,function(){return Qc}),n.d(e,!1,function(){return tu}),n.d(e,!1,function(){return eu}),n.d(e,!1,function(){return nu}),n.d(e,!1,function(){return ru}),n.d(e,!1,function(){return iu}),n.d(e,!1,function(){return au}),n.d(e,!1,function(){return ou}),n.d(e,!1,function(){return su}),n.d(e,!1,function(){return lu}),n.d(e,!1,function(){return cu}),n.d(e,!1,function(){return uu}),n.d(e,!1,function(){return hu}),n.d(e,!1,function(){return du}),n.d(e,!1,function(){return pu}),n.d(e,!1,function(){return fu}),n.d(e,!1,function(){return vu}),n.d(e,!1,function(){return mu}),n.d(e,!1,function(){return gu}),n.d(e,!1,function(){return yu}),n.d(e,!1,function(){return bu}),n.d(e,!1,function(){return _u}),n.d(e,!1,function(){return Ou}),n.d(e,!1,function(){return wu}),n.d(e,!1,function(){return zu}),n.d(e,!1,function(){return xu}),n.d(e,!1,function(){return Cu}),n.d(e,!1,function(){return Mu}),n.d(e,!1,function(){return Su}),n.d(e,!1,function(){return Au}),n.d(e,!1,function(){return Tu}),n.d(e,!1,function(){return ju}),n.d(e,!1,function(){return Eu}),n.d(e,!1,function(){return Iu}),n.d(e,!1,function(){return Lu}),n.d(e,!1,function(){return Pu}),n.d(e,!1,function(){return ku}),n.d(e,!1,function(){return Fu}),n.d(e,!1,function(){return Vu}),n.d(e,!1,function(){return Bu}),n.d(e,!1,function(){return Ru}),n.d(e,!1,function(){return Hu}),n.d(e,!1,function(){return Du}),n.d(e,!1,function(){return Nu}),n.d(e,!1,function(){return $u}),n.d(e,!1,function(){return Gu}),n.d(e,!1,function(){return Uu}),n.d(e,!1,function(){return Wu}),n.d(e,!1,function(){return qu}),n.d(e,!1,function(){return Xu}),n.d(e,!1,function(){return Yu}),n.d(e,!1,function(){return Ku}),n.d(e,!1,function(){return Zu}),n.d(e,!1,function(){return Ju}),n.d(e,!1,function(){return Qu}),n.d(e,!1,function(){return th}),n.d(e,!1,function(){return eh}),n.d(e,!1,function(){return nh}),n.d(e,!1,function(){return rh}),n.d(e,!1,function(){return ih}),n.d(e,!1,function(){return ah}),n.d(e,!1,function(){return oh}),n.d(e,!1,function(){return sh}),n.d(e,!1,function(){return lh}),n.d(e,!1,function(){return ch}),n.d(e,!1,function(){return uh}),n.d(e,!1,function(){return hh}),n.d(e,!1,function(){return dh}),n.d(e,!1,function(){return ph}),n.d(e,!1,function(){return fh}),n.d(e,!1,function(){return vh}),n.d(e,!1,function(){return mh}),n.d(e,!1,function(){return gh}),n.d(e,!1,function(){return yh}),n.d(e,!1,function(){return bh}),n.d(e,!1,function(){return _h}),n.d(e,!1,function(){return Oh}),n.d(e,!1,function(){return wh}),n.d(e,!1,function(){return zh}),n.d(e,!1,function(){return xh}),n.d(e,!1,function(){return Ch}),n.d(e,!1,function(){return Mh}),n.d(e,!1,function(){return Sh}),n.d(e,!1,function(){return Ah}),n.d(e,!1,function(){return Th}),n.d(e,!1,function(){return jh}),n.d(e,!1,function(){return Eh}),n.d(e,!1,function(){return Ih}),n.d(e,!1,function(){return Lh}),n.d(e,!1,function(){return Ph}),n.d(e,!1,function(){return kh}),n.d(e,!1,function(){return Fh}),n.d(e,!1,function(){return Vh}),n.d(e,!1,function(){return Bh}),n.d(e,!1,function(){return Rh}),n.d(e,!1,function(){return Hh}),n.d(e,!1,function(){return Dh}),n.d(e,!1,function(){return Nh}),n.d(e,!1,function(){return $h}),n.d(e,!1,function(){return Gh}),n.d(e,!1,function(){return Uh}),n.d(e,!1,function(){return Wh}),n.d(e,!1,function(){return qh}),n.d(e,!1,function(){return Xh}),n.d(e,!1,function(){return Yh}),n.d(e,!1,function(){return Kh}),n.d(e,!1,function(){return Zh}),n.d(e,!1,function(){return Jh}),n.d(e,!1,function(){return Qh}),n.d(e,!1,function(){return td}),n.d(e,!1,function(){return ed}),n.d(e,!1,function(){return nd}),n.d(e,!1,function(){return rd}),n.d(e,!1,function(){return id}),n.d(e,!1,function(){return ad}),n.d(e,!1,function(){return od}),n.d(e,!1,function(){return sd}),n.d(e,!1,function(){return ld}),n.d(e,!1,function(){return cd}),n.d(e,!1,function(){return ud}),n.d(e,!1,function(){return hd}),n.d(e,!1,function(){return dd}),n.d(e,!1,function(){return pd}),n.d(e,!1,function(){return fd}),n.d(e,!1,function(){return vd}),n.d(e,!1,function(){return md}),n.d(e,!1,function(){return gd}),n.d(e,!1,function(){return yd}),n.d(e,!1,function(){return bd}),n.d(e,!1,function(){return _d}),n.d(e,!1,function(){return Od}),n.d(e,!1,function(){return wd}),n.d(e,!1,function(){return zd}),n.d(e,!1,function(){return xd}),n.d(e,!1,function(){return Cd}),n.d(e,!1,function(){return Md}),n.d(e,!1,function(){return Sd}),n.d(e,!1,function(){return Ad}),n.d(e,!1,function(){return Td}),n.d(e,!1,function(){return jd}),n.d(e,!1,function(){return Ed}),n.d(e,!1,function(){return Id}),n.d(e,!1,function(){return Ld}),n.d(e,!1,function(){return Pd}),n.d(e,!1,function(){return kd}),n.d(e,!1,function(){return Fd}),n.d(e,!1,function(){return Vd}),n.d(e,!1,function(){return Bd}),n.d(e,!1,function(){return Rd}),n.d(e,!1,function(){return Hd}),n.d(e,!1,function(){return Dd}),n.d(e,!1,function(){return Nd}),n.d(e,!1,function(){return $d}),n.d(e,!1,function(){return Gd}),n.d(e,!1,function(){return Ud}),n.d(e,!1,function(){return Wd}),n.d(e,!1,function(){return qd}),n.d(e,!1,function(){return Xd}),n.d(e,!1,function(){return Yd}),n.d(e,!1,function(){return Kd}),n.d(e,!1,function(){return Zd}),n.d(e,!1,function(){return Jd}),n.d(e,!1,function(){return Qd}),n.d(e,!1,function(){return tp}),n.d(e,!1,function(){return ep}),n.d(e,!1,function(){return np}),n.d(e,!1,function(){return rp}),n.d(e,!1,function(){return ip}),n.d(e,!1,function(){return ap}),n.d(e,!1,function(){return op}),n.d(e,!1,function(){return sp}),n.d(e,!1,function(){return lp}),n.d(e,!1,function(){return cp}),n.d(e,!1,function(){return up}),n.d(e,!1,function(){return hp}),n.d(e,!1,function(){return dp}),n.d(e,!1,function(){return pp}),n.d(e,!1,function(){return fp}),n.d(e,!1,function(){return vp}),n.d(e,!1,function(){return mp}),n.d(e,!1,function(){return gp}),n.d(e,!1,function(){return yp}),n.d(e,!1,function(){return bp}),n.d(e,!1,function(){return _p}),n.d(e,!1,function(){return Op}),n.d(e,!1,function(){return wp}),n.d(e,!1,function(){return zp}),n.d(e,!1,function(){return xp}),n.d(e,!1,function(){return Cp}),n.d(e,!1,function(){return Mp}),n.d(e,!1,function(){return Sp}),n.d(e,!1,function(){return Ap}),n.d(e,!1,function(){return Tp}),n.d(e,!1,function(){return jp}),n.d(e,!1,function(){return Ep}),n.d(e,!1,function(){return Ip}),n.d(e,!1,function(){return Lp}),n.d(e,!1,function(){return Pp}),n.d(e,!1,function(){return kp}),n.d(e,!1,function(){return Fp}),n.d(e,!1,function(){return Vp}),n.d(e,!1,function(){return Bp}),n.d(e,!1,function(){return Rp}),n.d(e,!1,function(){return Hp}),n.d(e,!1,function(){return Dp}),n.d(e,!1,function(){return Np}),n.d(e,!1,function(){return $p}),n.d(e,!1,function(){return Gp}),n.d(e,!1,function(){return Up}),n.d(e,!1,function(){return Wp}),n.d(e,!1,function(){return qp}),n.d(e,!1,function(){return Xp}),n.d(e,!1,function(){return Yp}),n.d(e,!1,function(){return Kp}),n.d(e,!1,function(){return Zp}),n.d(e,!1,function(){return Jp}),n.d(e,!1,function(){return Qp}),n.d(e,!1,function(){return tf}),n.d(e,!1,function(){return ef}),n.d(e,!1,function(){return nf}),n.d(e,!1,function(){return rf}),n.d(e,!1,function(){return af}),n.d(e,!1,function(){return of}),n.d(e,!1,function(){return sf}),n.d(e,!1,function(){return lf}),n.d(e,!1,function(){return cf}),n.d(e,!1,function(){return uf}),n.d(e,!1,function(){return hf}),n.d(e,!1,function(){return df}),n.d(e,!1,function(){return pf}),n.d(e,!1,function(){return ff}),n.d(e,!1,function(){return vf}),n.d(e,!1,function(){return mf}),n.d(e,!1,function(){return gf}),n.d(e,!1,function(){return yf}),n.d(e,!1,function(){return bf}),n.d(e,!1,function(){return _f}),n.d(e,!1,function(){return Of}),n.d(e,!1,function(){return wf}),n.d(e,!1,function(){return zf}),n.d(e,!1,function(){return xf}),n.d(e,!1,function(){return Cf}),n.d(e,!1,function(){return Mf}),n.d(e,!1,function(){return Sf}),n.d(e,!1,function(){return Af}),n.d(e,!1,function(){return Tf}),n.d(e,!1,function(){return jf}),n.d(e,!1,function(){return Ef}),n.d(e,!1,function(){return If}),n.d(e,!1,function(){return Lf}),n.d(e,!1,function(){return Pf}),n.d(e,!1,function(){return kf}),n.d(e,!1,function(){return Ff}),n.d(e,!1,function(){return Vf}),n.d(e,!1,function(){return Bf}),n.d(e,!1,function(){return Rf}),n.d(e,!1,function(){return Hf}),n.d(e,!1,function(){return Df}),n.d(e,!1,function(){return Nf}),n.d(e,!1,function(){return $f}),n.d(e,!1,function(){return Gf}),n.d(e,!1,function(){return Uf}),n.d(e,!1,function(){return Wf}),n.d(e,!1,function(){return qf}),n.d(e,!1,function(){return Xf}),n.d(e,!1,function(){return Yf}),n.d(e,!1,function(){return Kf}),n.d(e,!1,function(){return Zf}),n.d(e,!1,function(){return Jf}),n.d(e,!1,function(){return Qf}),n.d(e,!1,function(){return tv}),n.d(e,!1,function(){return ev}),n.d(e,!1,function(){return nv}),n.d(e,!1,function(){return rv}),n.d(e,!1,function(){return iv}),n.d(e,!1,function(){return av}),n.d(e,!1,function(){return ov}),n.d(e,!1,function(){return sv}),n.d(e,!1,function(){return lv}),n.d(e,!1,function(){return cv}),n.d(e,!1,function(){return uv}),n.d(e,!1,function(){return hv}),n.d(e,!1,function(){return dv}),n.d(e,!1,function(){return pv}),n.d(e,!1,function(){return fv}),n.d(e,!1,function(){return vv}),n.d(e,!1,function(){return mv}),n.d(e,!1,function(){return gv}),n.d(e,!1,function(){return yv}),n.d(e,!1,function(){return bv}),n.d(e,!1,function(){return _v}),n.d(e,!1,function(){return Ov}),n.d(e,!1,function(){return wv}),n.d(e,!1,function(){return zv}),n.d(e,!1,function(){return xv}),n.d(e,!1,function(){return Cv}),n.d(e,!1,function(){return Mv}),n.d(e,!1,function(){return Sv}),n.d(e,!1,function(){return Av}),n.d(e,!1,function(){return Tv}),n.d(e,!1,function(){return jv}),n.d(e,!1,function(){return Ev}),n.d(e,!1,function(){return Iv}),n.d(e,!1,function(){return Lv}),n.d(e,!1,function(){return Pv}),n.d(e,!1,function(){return kv}),n.d(e,!1,function(){return Fv}),n.d(e,!1,function(){return Vv}),n.d(e,!1,function(){return Bv}),n.d(e,!1,function(){return Rv}),n.d(e,!1,function(){return Hv}),n.d(e,!1,function(){return Dv}),n.d(e,!1,function(){return Nv}),n.d(e,!1,function(){return $v}),n.d(e,!1,function(){return Gv}),n.d(e,!1,function(){return Uv}),n.d(e,!1,function(){return Wv}),n.d(e,!1,function(){return qv}),n.d(e,!1,function(){return Xv}),n.d(e,!1,function(){return Yv}),n.d(e,!1,function(){return Kv}),n.d(e,!1,function(){return Zv}),n.d(e,!1,function(){return Jv}),n.d(e,!1,function(){return Qv}),n.d(e,!1,function(){return tm}),n.d(e,!1,function(){return em}),n.d(e,!1,function(){return nm}),n.d(e,!1,function(){return rm}),n.d(e,!1,function(){return im}),n.d(e,!1,function(){return am}),n.d(e,!1,function(){return om}),n.d(e,!1,function(){return sm}),n.d(e,!1,function(){return lm}),n.d(e,!1,function(){return cm}),n.d(e,!1,function(){return um}),n.d(e,!1,function(){return hm}),n.d(e,!1,function(){return dm}),n.d(e,!1,function(){return pm}),n.d(e,!1,function(){return fm}),n.d(e,!1,function(){return vm}),n.d(e,!1,function(){return mm}),n.d(e,!1,function(){return gm}),n.d(e,!1,function(){return ym}),n.d(e,!1,function(){return bm}),n.d(e,!1,function(){return _m}),n.d(e,!1,function(){return Om}),n.d(e,!1,function(){return wm}),n.d(e,!1,function(){return zm}),n.d(e,!1,function(){return xm}),n.d(e,!1,function(){return Cm}),n.d(e,!1,function(){return Mm}),n.d(e,!1,function(){return Sm}),n.d(e,!1,function(){return Am}),n.d(e,!1,function(){return Tm}),n.d(e,!1,function(){return jm}),n.d(e,!1,function(){return Em}),n.d(e,!1,function(){return Im}),n.d(e,!1,function(){return Lm}),n.d(e,!1,function(){return Pm}),n.d(e,!1,function(){return km}),n.d(e,!1,function(){return Fm}),n.d(e,!1,function(){return Vm}),n.d(e,!1,function(){return Bm}),n.d(e,!1,function(){return Rm}),n.d(e,!1,function(){return Hm}),n.d(e,!1,function(){return Dm}),n.d(e,!1,function(){return Nm}),n.d(e,!1,function(){return $m}),n.d(e,!1,function(){return Gm}),n.d(e,!1,function(){return Um}),n.d(e,!1,function(){return Wm}),n.d(e,!1,function(){return qm}),n.d(e,!1,function(){return Xm}),n.d(e,!1,function(){return Ym}),n.d(e,!1,function(){return Km}),n.d(e,!1,function(){return Zm}),n.d(e,!1,function(){return Jm}),n.d(e,!1,function(){return Qm}),n.d(e,!1,function(){return tg}),n.d(e,!1,function(){return eg}),n.d(e,!1,function(){return ng}),n.d(e,!1,function(){return rg}),n.d(e,!1,function(){return ig}),n.d(e,!1,function(){return ag}),n.d(e,!1,function(){return og}),n.d(e,!1,function(){return sg}),n.d(e,!1,function(){return lg}),n.d(e,!1,function(){return cg}),n.d(e,!1,function(){return ug}),n.d(e,!1,function(){return hg}),n.d(e,!1,function(){return dg}),n.d(e,!1,function(){return pg}),n.d(e,!1,function(){return fg}),n.d(e,!1,function(){return vg}),n.d(e,!1,function(){return mg}),n.d(e,!1,function(){return gg}),n.d(e,!1,function(){return yg}),n.d(e,!1,function(){return bg}),n.d(e,!1,function(){return _g}),n.d(e,!1,function(){return Og}),n.d(e,!1,function(){return wg}),n.d(e,!1,function(){return zg}),n.d(e,!1,function(){return xg}),n.d(e,!1,function(){return Cg}),n.d(e,!1,function(){return Mg}),n.d(e,!1,function(){return Sg}),n.d(e,!1,function(){return Ag}),n.d(e,!1,function(){return Tg}),n.d(e,!1,function(){return jg}),n.d(e,!1,function(){return Eg}),n.d(e,!1,function(){return Ig}),n.d(e,!1,function(){return Lg}),n.d(e,!1,function(){return Pg}),n.d(e,!1,function(){return kg}),n.d(e,!1,function(){return Fg}),n.d(e,!1,function(){return Vg}),n.d(e,!1,function(){return Bg}),n.d(e,!1,function(){return Rg}),n.d(e,!1,function(){return Hg}),n.d(e,!1,function(){return Dg}),n.d(e,!1,function(){return Ng}),n.d(e,!1,function(){return $g}),n.d(e,!1,function(){return Gg}),n.d(e,!1,function(){return Ug}),n.d(e,!1,function(){return Wg}),n.d(e,!1,function(){return qg}),n.d(e,!1,function(){return Xg}),n.d(e,!1,function(){return Yg}),n.d(e,!1,function(){return Kg}),n.d(e,!1,function(){return Zg}),n.d(e,!1,function(){return Jg}),n.d(e,!1,function(){return Qg}),n.d(e,!1,function(){return ty}),n.d(e,!1,function(){return ey}),n.d(e,!1,function(){return ny}),n.d(e,!1,function(){return ry}),n.d(e,!1,function(){return iy}),n.d(e,!1,function(){return ay}),n.d(e,!1,function(){return oy}),n.d(e,!1,function(){return sy}),n.d(e,!1,function(){return ly}),n.d(e,!1,function(){return cy}),n.d(e,!1,function(){return uy}),n.d(e,!1,function(){return hy}),n.d(e,!1,function(){return dy}),n.d(e,!1,function(){return py}),n.d(e,!1,function(){return fy}),n.d(e,!1,function(){return vy}),n.d(e,!1,function(){return my}),n.d(e,!1,function(){return gy}),n.d(e,!1,function(){return yy}),n.d(e,!1,function(){return by}),n.d(e,!1,function(){return _y}),n.d(e,!1,function(){return Oy}),n.d(e,!1,function(){return wy}),n.d(e,!1,function(){return zy}),n.d(e,!1,function(){return xy}),n.d(e,!1,function(){return Cy}),n.d(e,!1,function(){return My}),n.d(e,!1,function(){return Sy}),n.d(e,!1,function(){return Ay}),n.d(e,!1,function(){return Ty}),n.d(e,!1,function(){return jy}),n.d(e,!1,function(){return Ey}),n.d(e,!1,function(){return Iy}),n.d(e,!1,function(){return Ly}),n.d(e,!1,function(){return Py}),n.d(e,!1,function(){return ky}),n.d(e,!1,function(){return Fy}),n.d(e,!1,function(){return Vy}),n.d(e,!1,function(){return By}),n.d(e,!1,function(){return Ry}),n.d(e,!1,function(){return Hy}),n.d(e,!1,function(){return Dy}),n.d(e,!1,function(){return Ny}),n.d(e,!1,function(){return $y}),n.d(e,!1,function(){return Gy}),n.d(e,!1,function(){return Uy}),n.d(e,!1,function(){return Wy}),n.d(e,!1,function(){return qy}),n.d(e,!1,function(){return Xy}),n.d(e,!1,function(){return Yy}),n.d(e,!1,function(){return Ky}),n.d(e,!1,function(){return Zy}),n.d(e,!1,function(){return Jy}),n.d(e,!1,function(){return Qy}),n.d(e,!1,function(){return tb}),n.d(e,!1,function(){return eb}),n.d(e,!1,function(){return nb}),n.d(e,!1,function(){return rb});n.d(e,!1,function(){return ib}),n.d(e,!1,function(){return ab}),n.d(e,!1,function(){return ob}),n.d(e,!1,function(){return sb}),n.d(e,!1,function(){return lb}),n.d(e,!1,function(){return cb}),n.d(e,!1,function(){return ub}),n.d(e,!1,function(){return hb}),n.d(e,!1,function(){return db}),n.d(e,!1,function(){return pb}),n.d(e,!1,function(){return fb}),n.d(e,!1,function(){return vb}),n.d(e,!1,function(){return mb}),n.d(e,!1,function(){return gb}),n.d(e,!1,function(){return yb}),n.d(e,!1,function(){return bb}),n.d(e,!1,function(){return _b}),n.d(e,!1,function(){return Ob}),n.d(e,!1,function(){return wb}),n.d(e,!1,function(){return zb}),n.d(e,!1,function(){return xb}),n.d(e,!1,function(){return Cb}),n.d(e,!1,function(){return Mb}),n.d(e,!1,function(){return Sb}),n.d(e,!1,function(){return Ab}),n.d(e,!1,function(){return Tb}),n.d(e,!1,function(){return jb}),n.d(e,!1,function(){return Eb}),n.d(e,!1,function(){return Ib}),n.d(e,!1,function(){return Lb}),n.d(e,!1,function(){return Pb}),n.d(e,!1,function(){return kb}),n.d(e,!1,function(){return Fb}),n.d(e,!1,function(){return Vb}),n.d(e,!1,function(){return Bb}),n.d(e,!1,function(){return Rb}),n.d(e,!1,function(){return Hb}),n.d(e,!1,function(){return Db}),n.d(e,!1,function(){return Nb}),n.d(e,!1,function(){return $b}),n.d(e,!1,function(){return Gb}),n.d(e,!1,function(){return Ub}),n.d(e,!1,function(){return Wb}),n.d(e,!1,function(){return qb}),n.d(e,!1,function(){return Xb}),n.d(e,!1,function(){return Yb}),n.d(e,!1,function(){return Kb}),n.d(e,!1,function(){return Zb}),n.d(e,!1,function(){return Jb}),n.d(e,!1,function(){return Qb}),n.d(e,!1,function(){return t_}),n.d(e,!1,function(){return e_}),n.d(e,!1,function(){return n_}),n.d(e,!1,function(){return r_}),n.d(e,!1,function(){return i_}),n.d(e,!1,function(){return a_}),n.d(e,!1,function(){return o_}),n.d(e,!1,function(){return s_}),n.d(e,!1,function(){return l_}),n.d(e,!1,function(){return c_}),n.d(e,!1,function(){return u_}),n.d(e,!1,function(){return h_}),n.d(e,!1,function(){return d_}),n.d(e,!1,function(){return p_}),n.d(e,!1,function(){return f_}),n.d(e,!1,function(){return v_}),n.d(e,!1,function(){return m_}),n.d(e,!1,function(){return g_}),n.d(e,!1,function(){return y_}),n.d(e,!1,function(){return b_}),n.d(e,!1,function(){return __}),n.d(e,!1,function(){return O_}),n.d(e,!1,function(){return w_}),n.d(e,!1,function(){return z_}),n.d(e,!1,function(){return x_}),n.d(e,!1,function(){return C_}),n.d(e,!1,function(){return M_}),n.d(e,!1,function(){return S_}),n.d(e,!1,function(){return A_}),n.d(e,!1,function(){return T_}),n.d(e,!1,function(){return j_}),n.d(e,!1,function(){return E_}),n.d(e,!1,function(){return I_}),n.d(e,!1,function(){return L_}),n.d(e,!1,function(){return P_}),n.d(e,!1,function(){return k_}),n.d(e,!1,function(){return F_}),n.d(e,!1,function(){return V_}),n.d(e,!1,function(){return B_}),n.d(e,!1,function(){return R_}),n.d(e,!1,function(){return H_}),n.d(e,!1,function(){return D_}),n.d(e,!1,function(){return N_}),n.d(e,!1,function(){return $_}),n.d(e,!1,function(){return G_}),n.d(e,!1,function(){return U_}),n.d(e,!1,function(){return W_}),n.d(e,!1,function(){return q_}),n.d(e,!1,function(){return X_}),n.d(e,!1,function(){return Y_}),n.d(e,!1,function(){return K_}),n.d(e,!1,function(){return Z_}),n.d(e,!1,function(){return J_}),n.d(e,!1,function(){return Q_}),n.d(e,!1,function(){return tO}),n.d(e,!1,function(){return eO}),n.d(e,!1,function(){return nO}),n.d(e,!1,function(){return rO}),n.d(e,!1,function(){return iO}),n.d(e,!1,function(){return aO}),n.d(e,!1,function(){return oO}),n.d(e,!1,function(){return sO}),n.d(e,!1,function(){return lO}),n.d(e,!1,function(){return cO}),n.d(e,!1,function(){return uO}),n.d(e,!1,function(){return hO}),n.d(e,!1,function(){return dO}),n.d(e,!1,function(){return pO}),n.d(e,!1,function(){return fO}),n.d(e,!1,function(){return vO}),n.d(e,!1,function(){return mO}),n.d(e,!1,function(){return gO}),n.d(e,!1,function(){return yO}),n.d(e,!1,function(){return bO}),n.d(e,!1,function(){return _O}),n.d(e,!1,function(){return OO}),n.d(e,!1,function(){return wO}),n.d(e,!1,function(){return zO}),n.d(e,!1,function(){return xO}),n.d(e,!1,function(){return CO}),n.d(e,!1,function(){return MO}),n.d(e,!1,function(){return SO}),n.d(e,!1,function(){return AO}),n.d(e,!1,function(){return TO}),n.d(e,!1,function(){return jO}),n.d(e,!1,function(){return EO}),n.d(e,!1,function(){return IO}),n.d(e,!1,function(){return LO}),n.d(e,!1,function(){return PO}),n.d(e,!1,function(){return kO}),n.d(e,!1,function(){return FO}),n.d(e,!1,function(){return VO}),n.d(e,!1,function(){return BO}),n.d(e,!1,function(){return RO}),n.d(e,!1,function(){return HO}),n.d(e,!1,function(){return DO}),n.d(e,!1,function(){return NO}),n.d(e,!1,function(){return $O}),n.d(e,!1,function(){return GO}),n.d(e,!1,function(){return UO}),n.d(e,!1,function(){return WO}),n.d(e,!1,function(){return qO}),n.d(e,!1,function(){return XO}),n.d(e,!1,function(){return YO}),n.d(e,!1,function(){return KO}),n.d(e,!1,function(){return ZO}),n.d(e,!1,function(){return JO}),n.d(e,!1,function(){return QO}),n.d(e,!1,function(){return tw}),n.d(e,!1,function(){return ew}),n.d(e,!1,function(){return nw}),n.d(e,!1,function(){return rw}),n.d(e,!1,function(){return iw}),n.d(e,!1,function(){return aw}),n.d(e,!1,function(){return ow}),n.d(e,!1,function(){return sw}),n.d(e,!1,function(){return lw}),n.d(e,!1,function(){return cw}),n.d(e,!1,function(){return uw}),n.d(e,!1,function(){return hw}),n.d(e,!1,function(){return dw}),n.d(e,!1,function(){return pw}),n.d(e,!1,function(){return fw}),n.d(e,!1,function(){return vw}),n.d(e,!1,function(){return mw}),n.d(e,!1,function(){return gw}),n.d(e,!1,function(){return yw}),n.d(e,!1,function(){return bw}),n.d(e,!1,function(){return _w}),n.d(e,!1,function(){return Ow}),n.d(e,!1,function(){return ww}),n.d(e,!1,function(){return zw}),n.d(e,!1,function(){return xw}),n.d(e,!1,function(){return Cw}),n.d(e,!1,function(){return Mw}),n.d(e,!1,function(){return Sw}),n.d(e,!1,function(){return Aw}),n.d(e,!1,function(){return Tw}),n.d(e,!1,function(){return jw}),n.d(e,!1,function(){return Ew}),n.d(e,!1,function(){return Iw}),n.d(e,!1,function(){return Lw}),n.d(e,!1,function(){return Pw}),n.d(e,!1,function(){return kw}),n.d(e,!1,function(){return Fw}),n.d(e,!1,function(){return Vw}),n.d(e,!1,function(){return Bw}),n.d(e,!1,function(){return Rw}),n.d(e,!1,function(){return Hw}),n.d(e,!1,function(){return Dw}),n.d(e,!1,function(){return Nw}),n.d(e,!1,function(){return $w}),n.d(e,!1,function(){return Gw}),n.d(e,!1,function(){return Uw}),n.d(e,!1,function(){return Ww}),n.d(e,!1,function(){return qw}),n.d(e,!1,function(){return Xw}),n.d(e,!1,function(){return Yw}),n.d(e,!1,function(){return Kw}),n.d(e,!1,function(){return Zw}),n.d(e,!1,function(){return Jw}),n.d(e,!1,function(){return Qw}),n.d(e,!1,function(){return tz}),n.d(e,!1,function(){return ez}),n.d(e,!1,function(){return nz}),n.d(e,!1,function(){return rz}),n.d(e,!1,function(){return iz}),n.d(e,!1,function(){return az}),n.d(e,!1,function(){return oz}),n.d(e,!1,function(){return sz}),n.d(e,!1,function(){return lz}),n.d(e,!1,function(){return cz}),n.d(e,!1,function(){return uz}),n.d(e,!1,function(){return hz}),n.d(e,!1,function(){return dz}),n.d(e,!1,function(){return pz}),n.d(e,!1,function(){return fz}),n.d(e,!1,function(){return vz}),n.d(e,!1,function(){return mz}),n.d(e,!1,function(){return gz}),n.d(e,!1,function(){return yz}),n.d(e,!1,function(){return bz}),n.d(e,!1,function(){return _z}),n.d(e,!1,function(){return Oz}),n.d(e,!1,function(){return wz}),n.d(e,!1,function(){return zz}),n.d(e,!1,function(){return xz}),n.d(e,!1,function(){return Cz}),n.d(e,!1,function(){return Mz}),n.d(e,!1,function(){return Sz}),n.d(e,!1,function(){return Az}),n.d(e,!1,function(){return Tz}),n.d(e,!1,function(){return jz}),n.d(e,!1,function(){return Ez}),n.d(e,!1,function(){return Iz}),n.d(e,!1,function(){return Lz}),n.d(e,!1,function(){return Pz}),n.d(e,!1,function(){return kz}),n.d(e,!1,function(){return Fz}),n.d(e,!1,function(){return Vz}),n.d(e,!1,function(){return Bz}),n.d(e,!1,function(){return Rz}),n.d(e,!1,function(){return Hz}),n.d(e,!1,function(){return Dz}),n.d(e,!1,function(){return Nz}),n.d(e,!1,function(){return $z}),n.d(e,!1,function(){return Gz}),n.d(e,!1,function(){return Uz}),n.d(e,!1,function(){return Wz}),n.d(e,!1,function(){return qz}),n.d(e,!1,function(){return Xz}),n.d(e,!1,function(){return Yz}),n.d(e,!1,function(){return Kz}),n.d(e,!1,function(){return Zz}),n.d(e,!1,function(){return Jz}),n.d(e,!1,function(){return Qz}),n.d(e,!1,function(){return tx}),n.d(e,!1,function(){return ex}),n.d(e,!1,function(){return nx}),n.d(e,!1,function(){return rx}),n.d(e,!1,function(){return ix}),n.d(e,!1,function(){return ax}),n.d(e,!1,function(){return ox}),n.d(e,!1,function(){return sx}),n.d(e,!1,function(){return lx}),n.d(e,!1,function(){return cx}),n.d(e,!1,function(){return ux}),n.d(e,!1,function(){return hx}),n.d(e,!1,function(){return dx}),n.d(e,!1,function(){return px}),n.d(e,!1,function(){return fx}),n.d(e,!1,function(){return vx}),n.d(e,!1,function(){return mx}),n.d(e,!1,function(){return gx}),n.d(e,!1,function(){return yx}),n.d(e,!1,function(){return bx}),n.d(e,!1,function(){return _x}),n.d(e,!1,function(){return Ox}),n.d(e,!1,function(){return wx}),n.d(e,!1,function(){return zx}),n.d(e,!1,function(){return xx}),n.d(e,!1,function(){return Cx}),n.d(e,!1,function(){return Mx}),n.d(e,!1,function(){return Sx}),n.d(e,!1,function(){return Ax}),n.d(e,!1,function(){return Tx}),n.d(e,!1,function(){return jx}),n.d(e,!1,function(){return Ex}),n.d(e,!1,function(){return Ix}),n.d(e,!1,function(){return Lx}),n.d(e,!1,function(){return Px}),n.d(e,!1,function(){return kx}),n.d(e,!1,function(){return Fx}),n.d(e,!1,function(){return Vx}),n.d(e,!1,function(){return Bx}),n.d(e,!1,function(){return Rx}),n.d(e,!1,function(){return Hx}),n.d(e,!1,function(){return Dx}),n.d(e,!1,function(){return Nx}),n.d(e,!1,function(){return $x}),n.d(e,!1,function(){return Gx}),n.d(e,!1,function(){return Ux}),n.d(e,!1,function(){return Wx}),n.d(e,!1,function(){return qx}),n.d(e,!1,function(){return Xx}),n.d(e,!1,function(){return Yx}),n.d(e,!1,function(){return Kx}),n.d(e,!1,function(){return Zx}),n.d(e,!1,function(){return Jx}),n.d(e,!1,function(){return Qx}),n.d(e,!1,function(){return tC}),n.d(e,!1,function(){return eC}),n.d(e,!1,function(){return nC}),n.d(e,!1,function(){return rC}),n.d(e,!1,function(){return iC}),n.d(e,!1,function(){return aC}),n.d(e,!1,function(){return oC}),n.d(e,!1,function(){return sC}),n.d(e,!1,function(){return lC}),n.d(e,!1,function(){return cC}),n.d(e,!1,function(){return uC}),n.d(e,!1,function(){return hC}),n.d(e,!1,function(){return dC}),n.d(e,!1,function(){return pC}),n.d(e,!1,function(){return fC}),n.d(e,!1,function(){return vC}),n.d(e,!1,function(){return mC}),n.d(e,!1,function(){return gC}),n.d(e,!1,function(){return yC}),n.d(e,!1,function(){return bC}),n.d(e,!1,function(){return _C}),n.d(e,!1,function(){return OC}),n.d(e,!1,function(){return wC}),n.d(e,!1,function(){return zC}),n.d(e,!1,function(){return xC}),n.d(e,!1,function(){return CC}),n.d(e,!1,function(){return MC}),n.d(e,!1,function(){return SC}),n.d(e,!1,function(){return AC}),n.d(e,!1,function(){return TC}),n.d(e,!1,function(){return jC}),n.d(e,!1,function(){return EC}),n.d(e,!1,function(){return IC}),n.d(e,!1,function(){return LC}),n.d(e,!1,function(){return PC}),n.d(e,!1,function(){return kC}),n.d(e,!1,function(){return FC}),n.d(e,!1,function(){return VC}),n.d(e,!1,function(){return BC}),n.d(e,!1,function(){return RC}),n.d(e,!1,function(){return HC}),n.d(e,!1,function(){return DC}),n.d(e,!1,function(){return NC}),n.d(e,!1,function(){return $C}),n.d(e,!1,function(){return GC}),n.d(e,!1,function(){return UC}),n.d(e,!1,function(){return WC}),n.d(e,!1,function(){return qC}),n.d(e,!1,function(){return XC}),n.d(e,!1,function(){return YC}),n.d(e,!1,function(){return KC}),n.d(e,!1,function(){return ZC}),n.d(e,!1,function(){return JC}),n.d(e,!1,function(){return QC}),n.d(e,!1,function(){return tM}),n.d(e,!1,function(){return eM}),n.d(e,!1,function(){return nM}),n.d(e,!1,function(){return rM}),n.d(e,!1,function(){return iM}),n.d(e,!1,function(){return aM}),n.d(e,!1,function(){return oM}),n.d(e,!1,function(){return sM}),n.d(e,!1,function(){return lM}),n.d(e,!1,function(){return cM}),n.d(e,!1,function(){return uM}),n.d(e,!1,function(){return hM}),n.d(e,!1,function(){return dM}),n.d(e,!1,function(){return pM}),n.d(e,!1,function(){return fM}),n.d(e,!1,function(){return vM}),n.d(e,!1,function(){return mM}),n.d(e,!1,function(){return gM}),n.d(e,!1,function(){return yM}),n.d(e,!1,function(){return bM}),n.d(e,!1,function(){return _M}),n.d(e,!1,function(){return OM}),n.d(e,!1,function(){return wM}),n.d(e,!1,function(){return zM}),n.d(e,!1,function(){return xM}),n.d(e,!1,function(){return CM}),n.d(e,!1,function(){return MM}),n.d(e,!1,function(){return SM}),n.d(e,!1,function(){return AM}),n.d(e,!1,function(){return TM}),n.d(e,!1,function(){return jM}),n.d(e,!1,function(){return EM}),n.d(e,!1,function(){return IM}),n.d(e,!1,function(){return LM}),n.d(e,!1,function(){return PM}),n.d(e,!1,function(){return kM}),n.d(e,!1,function(){return FM}),n.d(e,!1,function(){return Wr}),n.d(e,!1,function(){return Ur}),n.d(e,!1,function(){return ii}),n.d(e,!1,function(){return ri}),n.d(e,!1,function(){return kS}),n.d(e,!1,function(){return IS}),n.d(e,!1,function(){return PS}),n.d(e,!1,function(){return NS}),n.d(e,!1,function(){return DS}),n.d(e,!1,function(){return rA}),n.d(e,!1,function(){return nA}),n.d(e,!1,function(){return ZS}),n.d(e,!1,function(){return iA}),n.d(e,!1,function(){return xS}),n.d(e,!1,function(){return Cr}),n.d(e,!1,function(){return uA}),n.d(e,!1,function(){return cA}),n.d(e,!1,function(){return fA}),n.d(e,!1,function(){return pA}),n.d(e,!1,function(){return YA}),n.d(e,!1,function(){return XA}),n.d(e,!1,function(){return QT}),n.d(e,!1,function(){return jT}),n.d(e,!1,function(){return aT}),n.d(e,!1,function(){return vT}),n.d(e,!1,function(){return JT}),n.d(e,!1,function(){return uT}),n.d(e,!1,function(){return xT}),n.d(e,!1,function(){return XT}),n.d(e,!1,function(){return tT}),n.d(e,!1,function(){return KT}),n.d(e,!1,function(){return JA}),n.d(e,!1,function(){return Cj}),n.d(e,!1,function(){return gj}),n.d(e,!1,function(){return xj}),n.d(e,!1,function(){return cE}),n.d(e,!1,function(){return Gj}),n.d(e,!1,function(){return cI}),n.d(e,!1,function(){return SE}),n.d(e,!1,function(){return LE}),n.d(e,!1,function(){return BE}),n.d(e,!1,function(){return XE}),n.d(e,!1,function(){return eI}),n.d(e,!1,function(){return lI}),n.d(e,!1,function(){return $E}),n.d(e,!1,function(){return rI}),n.d(e,!1,function(){return pI}),n.d(e,!1,function(){return dI}),n.d(e,!1,function(){return EI}),n.d(e,!1,function(){return KE}),n.d(e,!1,function(){return _I}),n.d(e,!1,function(){return xI}),n.d(e,!1,function(){return MI}),n.d(e,!1,function(){return AI}),n.d(e,!1,function(){return ML}),n.d(e,!1,function(){return nL}),n.d(e,!1,function(){return CL}),n.d(e,!1,function(){return KL}),n.d(e,!1,function(){return YL}),n.d(e,!1,function(){return hP}),n.d(e,!1,function(){return uP}),n.d(e,!1,function(){return AP}),n.d(e,!1,function(){return SP}),n.d(e,!1,function(){return XP}),n.d(e,!1,function(){return qP}),n.d(e,!1,function(){return ZP}),n.d(e,!1,function(){return lL}),n.d(e,!1,function(){return KP}),n.d(e,!1,function(){return hk}),n.d(e,!1,function(){return uk}),n.d(e,!1,function(){return mF}),n.d(e,!1,function(){return vF}),n.d(e,!1,function(){return Qk}),n.d(e,!1,function(){return kk}),n.d(e,!1,function(){return Pk}),n.d(e,!1,function(){return zk}),n.d(e,!1,function(){return Ak}),n.d(e,!1,function(){return qk}),n.d(e,!1,function(){return Wk}),n.d(e,!1,function(){return zF}),n.d(e,!1,function(){return wF}),n.d(e,!1,function(){return ZF}),n.d(e,!1,function(){return KF}),n.d(e,!1,function(){return JF}),n.d(e,!1,function(){return bT}),n.d(e,!1,function(){return $T}),n.d(e,!1,function(){return vV}),n.d(e,!1,function(){return fV}),n.d(e,!1,function(){return nV}),n.d(e,!1,function(){return sV}),n.d(e,!1,function(){return dV}),n.d(e,!1,function(){return tV}),n.d(e,!1,function(){return OV}),n.d(e,!1,function(){return _V}),n.d(e,!1,function(){return jV}),n.d(e,!1,function(){return gV}),n.d(e,!1,function(){return TV}),n.d(e,!1,function(){return _P}),n.d(e,!1,function(){return jI}),n.d(e,!1,function(){return EV}),n.d(e,!1,function(){return pS}),n.d(e,!1,function(){return DV}),n.d(e,!1,function(){return LV}),n.d(e,!1,function(){return HV}),n.d(e,!1,function(){return XV}),n.d(e,!1,function(){return qV}),n.d(e,!1,function(){return $V}),n.d(e,!1,function(){return UV}),n.d(e,!1,function(){return UB}),n.d(e,!1,function(){return CB}),n.d(e,!1,function(){return fR}),n.d(e,!1,function(){return XB}),n.d(e,!1,function(){return sR}),n.d(e,!1,function(){return tR}),n.d(e,!1,function(){return pR}),n.d(e,!1,function(){return eR}),n.d(e,!1,function(){return ER}),n.d(e,!1,function(){return gR}),n.d(e,!1,function(){return MR}),n.d(e,!1,function(){return _R}),n.d(e,!1,function(){return jR}),n.d(e,!1,function(){return NR}),n.d(e,!1,function(){return DR}),n.d(e,!1,function(){return cH}),n.d(e,!1,function(){return lH}),n.d(e,!1,function(){return mH}),n.d(e,!1,function(){return vH}),n.d(e,!1,function(){return hD}),n.d(e,!1,function(){return WH}),n.d(e,!1,function(){return OD}),n.d(e,!1,function(){return _D}),n.d(e,!1,function(){return pD}),n.d(e,!1,function(){return VD}),n.d(e,!1,function(){return FD}),n.d(e,!1,function(){return kG}),n.d(e,!1,function(){return HD}),n.d(e,!1,function(){return YD}),n.d(e,!1,function(){return ZD}),n.d(e,!1,function(){return IG}),n.d(e,!1,function(){return PG}),n.d(e,!1,function(){return FG}),n.d(e,!1,function(){return PR}),n.d(e,!1,function(){return MG}),n.d(e,!1,function(){return xG}),n.d(e,!1,function(){return CG}),n.d(e,!1,function(){return pG}),n.d(e,!1,function(){return yG}),n.d(e,!1,function(){return zG}),n.d(e,!1,function(){return x$}),n.d(e,!1,function(){return J$}),n.d(e,!1,function(){return W$}),n.d(e,!1,function(){return nN}),n.d(e,!1,function(){return T$}),n.d(e,!1,function(){return hN}),n.d(e,!1,function(){return iU}),n.d(e,!1,function(){return ZG}),n.d(e,!1,function(){return rU}),n.d(e,!1,function(){return aU}),n.d(e,!1,function(){return BF}),n.d(e,!1,function(){return jU}),n.d(e,!1,function(){return _U}),n.d(e,!1,function(){return cU}),n.d(e,!1,function(){return KU}),n.d(e,!1,function(){return RH}),n.d(e,!1,function(){return JU}),n.d(e,!1,function(){return jL}),n.d(e,!1,function(){return QU}),n.d(e,!1,function(){return LB}),n.d(e,!1,function(){return uD}),n.d(e,!1,function(){return cD}),n.d(e,!1,function(){return yW}),n.d(e,!1,function(){return gW}),n.d(e,!1,function(){return lE}),n.d(e,!1,function(){return sE}),n.d(e,!1,function(){return YU}),n.d(e,!1,function(){return XU}),n.d(e,!1,function(){return bW}),n.d(e,!1,function(){return VT}); /*! * BootstrapVue 2.21.2 * * @link https://bootstrap-vue.org * @source https://github.com/bootstrap-vue/bootstrap-vue * @copyright (c) 2016-2021 BootstrapVue * @license MIT * https://github.com/bootstrap-vue/bootstrap-vue/blob/master/LICENSE */ var wW={install:fe({plugins:{componentsPlugin:ZU,directivesPlugin:_W}}),NAME:"BootstrapVue"}},U5ju:function(t,e,n){n("M6a0"),n("zQR9"),n("+tPU"),n("CXw9"),n("EqBC"),n("jKW+"),t.exports=n("FeBl").Promise},Umvz:function(t,e,n){"use strict";var r,i=n("+BVF"),a=n("5dhk"),o=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.createRenderer=function(){return new a.a(this)},e}(i.a);e.a=s},UuGF:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},V2dr:function(t,e,n){"use strict";e.b=function(){return!0},e.a=function(){return!1},e.c=function(){},e.d=function(t){var e,n,i,a=!1;return function(){var o=Array.prototype.slice.call(arguments);return a&&this===i&&Object(r.b)(o,n)||(a=!0,i=this,n=o,e=t.apply(this,arguments)),e}};var r=n("zF6X")},V5rA:function(t,e,n){"use strict";e.a={CIRCLE:"Circle",DEFAULT:"Default",IMAGE:"Image",LINE_STRING:"LineString",POLYGON:"Polygon",TEXT:"Text"}},"VU/8":function(t,e){t.exports=function(t,e,n,r,i,a){var o,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(o=t,s=t.default);var c,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId=i),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):r&&(c=r),c){var h=u.functional,d=h?u.render:u.beforeCreate;h?(u._injectStyles=c,u.render=function(t,e){return c.call(e),d(t,e)}):u.beforeCreate=d?[].concat(d,c):[c]}return{esModule:o,exports:s,options:u}}},VVyK:function(t,e,n){"use strict";var r,i=n("kHub"),a=n("I+mf"),o=n("hTFF"),s=n("azsZ"),l=n("/LWt"),c=n("w2Al"),u=n("Oeue"),h=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(t){function e(e){var n=t.call(this,e)||this;return n.container=null,n.renderedResolution,n.tempTransform=Object(s.c)(),n.pixelTransform=Object(s.c)(),n.inversePixelTransform=Object(s.c)(),n.context=null,n.containerReused=!1,n}return h(e,t),e.prototype.useContainer=function(t,e,n){var r,i,a=this.getLayer().getClassName();t&&""===t.style.opacity&&t.className===a&&((s=t.firstElementChild)instanceof HTMLCanvasElement&&(i=s.getContext("2d")));if(!i||0!==i.canvas.width&&i.canvas.style.transform!==e?this.containerReused&&(this.container=null,this.context=null,this.containerReused=!1):(this.container=t,this.context=i,this.containerReused=!0),!this.container){(r=document.createElement("div")).className=a;var o=r.style;o.position="absolute",o.width="100%",o.height="100%";var s=(i=Object(c.a)()).canvas;r.appendChild(s),(o=s.style).position="absolute",o.left="0",o.transformOrigin="top left",this.container=r,this.context=i}},e.prototype.clip=function(t,e,n){var r=e.pixelRatio,i=e.size[0]*r/2,a=e.size[1]*r/2,o=e.viewState.rotation,c=Object(l.D)(n),h=Object(l.E)(n),d=Object(l.x)(n),p=Object(l.w)(n);Object(s.a)(e.coordinateToPixelTransform,c),Object(s.a)(e.coordinateToPixelTransform,h),Object(s.a)(e.coordinateToPixelTransform,d),Object(s.a)(e.coordinateToPixelTransform,p),t.save(),Object(u.u)(t,-o,i,a),t.beginPath(),t.moveTo(c[0]*r,c[1]*r),t.lineTo(h[0]*r,h[1]*r),t.lineTo(d[0]*r,d[1]*r),t.lineTo(p[0]*r,p[1]*r),t.clip(),Object(u.u)(t,o,i,a)},e.prototype.clipUnrotated=function(t,e,n){var r=Object(l.D)(n),i=Object(l.E)(n),a=Object(l.x)(n),o=Object(l.w)(n);Object(s.a)(e.coordinateToPixelTransform,r),Object(s.a)(e.coordinateToPixelTransform,i),Object(s.a)(e.coordinateToPixelTransform,a),Object(s.a)(e.coordinateToPixelTransform,o);var c=this.inversePixelTransform;Object(s.a)(c,r),Object(s.a)(c,i),Object(s.a)(c,a),Object(s.a)(c,o),t.save(),t.beginPath(),t.moveTo(Math.round(r[0]),Math.round(r[1])),t.lineTo(Math.round(i[0]),Math.round(i[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.clip()},e.prototype.dispatchRenderEvent_=function(t,e,n){var r=this.getLayer();if(r.hasListener(t)){var i=new a.a(t,this.inversePixelTransform,n,e);r.dispatchEvent(i)}},e.prototype.preRender=function(t,e){this.dispatchRenderEvent_(o.a.PRERENDER,t,e)},e.prototype.postRender=function(t,e){this.dispatchRenderEvent_(o.a.POSTRENDER,t,e)},e.prototype.getRenderTransform=function(t,e,n,r,i,a,o){var l=i/2,c=a/2,u=r/e,h=-u,d=-t[0]+o,p=-t[1];return Object(s.b)(this.tempTransform,l,c,u,h,-n,d,p)},e.prototype.getDataAtPixel=function(t,e,n){var r,i=Object(s.a)(this.inversePixelTransform,t.slice()),a=this.context,o=this.getLayer().getExtent();if(o){var c=Object(s.a)(e.pixelToCoordinateTransform,t.slice());if(!Object(l.g)(o,c))return null}try{var u=Math.round(i[0]),h=Math.round(i[1]),d=document.createElement("canvas"),p=d.getContext("2d");d.width=1,d.height=1,p.clearRect(0,0,1,1),p.drawImage(a.canvas,u,h,1,1,0,0,1,1),r=p.getImageData(0,0,1,1).data}catch(t){return"SecurityError"===t.name?new Uint8Array:r}return 0===r[3]?null:r},e}(i.a);e.a=d},VgFP:function(t,e,n){"use strict";e.b=function(t,e,n){var r=t.getFlatCoordinates();if(r){var i=t.getStride();return Object(l.c)(r,0,r.length,i,e,n)}return null};var r,i=n("SfaQ"),a=n("5MGX"),o=n("3ciB"),s=n("/LWt"),l=n("RUSk"),c=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(){var e=t.call(this)||this;return e.layout=a.a.XY,e.stride=2,e.flatCoordinates=null,e}return c(e,t),e.prototype.computeExtent=function(t){return Object(s.p)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinates=function(){return Object(o.b)()},e.prototype.getFirstCoordinate=function(){return this.flatCoordinates.slice(0,this.stride)},e.prototype.getFlatCoordinates=function(){return this.flatCoordinates},e.prototype.getLastCoordinate=function(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)},e.prototype.getLayout=function(){return this.layout},e.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;var e=this.getSimplifiedGeometryInternal(t);return e.getFlatCoordinates().length1)for(var n=1;ndocument.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[a[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[o]=t):n=l(),void 0===e?n:i(n,e)}},YxaZ:function(t,e,n){"use strict";var r=n("/84o"),i=n.n(r),a=n("/LWt"),o=n("3ciB"),s=n("tFCN"),l=function(){function t(t){this.rbush_=new i.a(t),this.items_={}}return t.prototype.insert=function(t,e){var n={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(n),this.items_[Object(o.c)(e)]=n},t.prototype.load=function(t,e){for(var n=new Array(e.length),r=0,i=e.length;ra&&(c-s)*(a-l)-(i-s)*(u-l)>0&&o++:u<=a&&(c-s)*(a-l)-(i-s)*(u-l)<0&&o--,s=c,l=u}return 0!==o}function a(t,e,n,r,a,o){if(0===n.length)return!1;if(!i(t,e,n[0],r,a,o))return!1;for(var s=1,l=n.length;s=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},r))}};function a(t){return t&&"[object Function]"==={}.toString.call(t)}function o(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=o(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:l(s(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),h=n&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?u:10===t?h:u||h}function p(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===o(n,"position")?p(n):n:t?t.ownerDocument.documentElement:document.documentElement}function f(t){return null!==t.parentNode?f(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,a=document.createRange();a.setStart(r,0),a.setEnd(i,0);var o,s,l=a.commonAncestorContainer;if(t!==l&&e!==l||r.contains(i))return"BODY"===(s=(o=l).nodeName)||"HTML"!==s&&p(o.firstElementChild)!==o?p(l):l;var c=f(t);return c.host?v(c.host,e):v(t,f(e).host)}function m(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[e]}return t[e]}function g(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function y(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],d(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function b(t){var e=t.body,n=t.documentElement,r=d(10)&&getComputedStyle(n);return{height:y("Height",e,n,r),width:y("Width",e,n,r)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},O=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=d(10),i="HTML"===e.nodeName,a=C(t),s=C(e),c=l(t),u=o(e),h=parseFloat(u.borderTopWidth),p=parseFloat(u.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var f=x({top:a.top-s.top-h,left:a.left-s.left-p,width:a.width,height:a.height});if(f.marginTop=0,f.marginLeft=0,!r&&i){var v=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);f.top-=h-v,f.bottom-=h-v,f.left-=p-g,f.right-=p-g,f.marginTop=v,f.marginLeft=g}return(r&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(f=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=m(e,"top"),i=m(e,"left"),a=n?-1:1;return t.top+=r*a,t.bottom+=r*a,t.left+=i*a,t.right+=i*a,t}(f,e)),f}function S(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===o(e,"transform");)e=e.parentElement;return e||document.documentElement}function A(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a={top:0,left:0},u=i?S(t):v(t,c(e));if("viewport"===r)a=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=M(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),a=Math.max(n.clientHeight,window.innerHeight||0),o=e?0:m(n),s=e?0:m(n,"left");return x({top:o-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:a})}(u,i);else{var h=void 0;"scrollParent"===r?"BODY"===(h=l(s(e))).nodeName&&(h=t.ownerDocument.documentElement):h="window"===r?t.ownerDocument.documentElement:r;var d=M(h,u,i);if("HTML"!==h.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===o(e,"position"))return!0;var r=s(e);return!!r&&t(r)}(u))a=d;else{var p=b(t.ownerDocument),f=p.height,g=p.width;a.top+=d.top-d.marginTop,a.bottom=f+d.top,a.left+=d.left-d.marginLeft,a.right=g+d.left}}var y="number"==typeof(n=n||0);return a.left+=y?n:n.left||0,a.top+=y?n:n.top||0,a.right-=y?n:n.right||0,a.bottom-=y?n:n.bottom||0,a}function T(t,e,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var o=A(n,r,a,i),s={top:{width:o.width,height:e.top-o.top},right:{width:o.right-e.right,height:o.height},bottom:{width:o.width,height:o.bottom-e.bottom},left:{width:e.left-o.left,height:o.height}},l=Object.keys(s).map(function(t){return z({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),u=c.length>0?c[0].key:l[0].key,h=t.split("-")[1];return u+(h?"-"+h:"")}function j(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return M(n,r?S(e):v(e,c(n)),r)}function E(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function I(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function L(t,e,n){n=n.split("-")[0];var r=E(t),i={width:r.width,height:r.height},a=-1!==["right","left"].indexOf(n),o=a?"top":"left",s=a?"left":"top",l=a?"height":"width",c=a?"width":"height";return i[o]=e[o]+e[l]/2-r[l]/2,i[s]=n===s?e[s]-r[c]:e[I(s)],i}function P(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function k(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=P(t,function(t){return t[e]===n});return t.indexOf(r)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&a(n)&&(e.offsets.popper=x(e.offsets.popper),e.offsets.reference=x(e.offsets.reference),e=n(e,t))}),e}function F(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function V(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=W.indexOf(t),r=W.slice(n+1).concat(W.slice(0,n));return e?r.reverse():r}var X={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Y(t,e,n,r){var i=[0,0],a=-1!==["right","left"].indexOf(r),o=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=o.indexOf(P(o,function(t){return-1!==t.search(/,|\s/)}));o[s]&&-1===o[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[o.slice(0,s).concat([o[s].split(l)[0]]),[o[s].split(l)[1]].concat(o.slice(s+1))]:[o];return(c=c.map(function(t,r){var i=(1===r?!a:a)?"height":"width",o=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,o=!0,t):o?(t[t.length-1]+=e,o=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],o=i[2];if(!a)return t;if(0===o.indexOf("%")){var s=void 0;switch(o){case"%p":s=n;break;case"%":case"%r":default:s=r}return x(s)[e]/100*a}if("vh"===o||"vw"===o)return("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*a;return a}(t,i,e,n)})})).forEach(function(t,e){t.forEach(function(n,r){D(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))})}),i}var K={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,a=i.reference,o=i.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:w({},l,a[l]),end:w({},l,a[l]+a[c]-o[c])};t.offsets.popper=z({},o,u[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,a=i.popper,o=i.reference,s=r.split("-")[0],l=void 0;return l=D(+n)?[+n,0]:Y(n,a,o,s),"left"===s?(a.top+=l[0],a.left-=l[1]):"right"===s?(a.top+=l[0],a.left+=l[1]):"top"===s?(a.left+=l[0],a.top-=l[1]):"bottom"===s&&(a.left+=l[0],a.top+=l[1]),t.popper=a,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||p(t.instance.popper);t.instance.reference===n&&(n=p(n));var r=V("transform"),i=t.instance.popper.style,a=i.top,o=i.left,s=i[r];i.top="",i.left="",i[r]="";var l=A(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=a,i.left=o,i[r]=s,e.boundaries=l;var c=e.priority,u=t.offsets.popper,h={primary:function(t){var n=u[t];return u[t]l[t]&&!e.escapeWithReference&&(r=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),w({},n,r)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=z({},u,h[e](t))}),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],a=Math.floor,o=-1!==["top","bottom"].indexOf(i),s=o?"right":"bottom",l=o?"left":"top",c=o?"width":"height";return n[s]a(r[s])&&(t.offsets.popper[l]=a(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!G(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],a=t.offsets,s=a.popper,l=a.reference,c=-1!==["left","right"].indexOf(i),u=c?"height":"width",h=c?"Top":"Left",d=h.toLowerCase(),p=c?"left":"top",f=c?"bottom":"right",v=E(r)[u];l[f]-vs[f]&&(t.offsets.popper[d]+=l[d]+v-s[f]),t.offsets.popper=x(t.offsets.popper);var m=l[d]+l[u]/2-v/2,g=o(t.instance.popper),y=parseFloat(g["margin"+h]),b=parseFloat(g["border"+h+"Width"]),_=m-t.offsets.popper[d]-y-b;return _=Math.max(Math.min(s[u]-v,_),0),t.arrowElement=r,t.offsets.arrow=(w(n={},d,Math.round(_)),w(n,p,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(F(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=A(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=I(r),a=t.placement.split("-")[1]||"",o=[];switch(e.behavior){case X.FLIP:o=[r,i];break;case X.CLOCKWISE:o=q(r);break;case X.COUNTERCLOCKWISE:o=q(r,!0);break;default:o=e.behavior}return o.forEach(function(s,l){if(r!==s||o.length===l+1)return t;r=t.placement.split("-")[0],i=I(r);var c=t.offsets.popper,u=t.offsets.reference,h=Math.floor,d="left"===r&&h(c.right)>h(u.left)||"right"===r&&h(c.left)h(u.top)||"bottom"===r&&h(c.top)h(n.right),v=h(c.top)h(n.bottom),g="left"===r&&p||"right"===r&&f||"top"===r&&v||"bottom"===r&&m,y=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(y&&"start"===a&&p||y&&"end"===a&&f||!y&&"start"===a&&v||!y&&"end"===a&&m),_=!!e.flipVariationsByContent&&(y&&"start"===a&&f||y&&"end"===a&&p||!y&&"start"===a&&m||!y&&"end"===a&&v),O=b||_;(d||g||O)&&(t.flipped=!0,(d||g)&&(r=o[l+1]),O&&(a=function(t){return"end"===t?"start":"start"===t?"end":t}(a)),t.placement=r+(a?"-"+a:""),t.offsets.popper=z({},t.offsets.popper,L(t.instance.popper,t.offsets.reference,t.placement)),t=k(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,a=r.reference,o=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[o?"left":"top"]=a[n]-(s?i[o?"width":"height"]:0),t.placement=I(e),t.offsets.popper=x(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!G(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=P(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=z({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(z({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){r.options.modifiers[e]=z({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return z({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&a(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return O(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=j(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=T(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=L(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=k(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,F(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[V("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=R(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return H.call(this)}}]),t}();Z.Utils=("undefined"!=typeof window?window:t).PopperUtils,Z.placements=U,Z.Defaults=K,e.a=Z}).call(e,n("DuR2"))},"Zz/k":function(t,e,n){"use strict";var r,i=n("Y6UM"),a=n("3Jqb"),o=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n,r,i,o){var s=this,l=void 0!==o?a.a.IDLE:a.a.LOADED;return(s=t.call(this,e,n,r,l)||this).loader_=void 0!==o?o:null,s.canvas_=i,s.error_=null,s}return o(e,t),e.prototype.getError=function(){return this.error_},e.prototype.handleLoad_=function(t){t?(this.error_=t,this.state=a.a.ERROR):this.state=a.a.LOADED,this.changed()},e.prototype.load=function(){this.state==a.a.IDLE&&(this.state=a.a.LOADING,this.changed(),this.loader_(this.handleLoad_.bind(this)))},e.prototype.getImage=function(){return this.canvas_},e}(i.a);e.a=s},aBnV:function(t,e,n){"use strict";var r,i=n("XOen"),a=n("A90D"),o=n("DM+O"),s=n("57Gy"),l=n("0uY1"),c=n("mDm9"),u=n("M+7Q"),h=n("Vni7"),d=n("+34y"),p=n("Nhaw"),f=n("gykv"),v=n("XDHy"),m=n("fT5H"),g=n("hTFF"),y=n("At0H"),b=n("Lfyu"),_=n("3Q3L"),O=n("4acs"),w=n("V2dr"),z=n("azsZ"),x=n("OEyb"),C=n("/LWt"),M=n("yGLh"),S=n("xifc"),A=n("6t+W"),T=n("w2Al"),j=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),E=function(t){function e(e){var n=t.call(this)||this,r=function(t){var e=null;void 0!==t.keyboardEventTarget&&(e="string"==typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);var n,r,i,o={},s=t.layers&&"function"==typeof t.layers.getLayers?t.layers:new l.a({layers:t.layers});o[f.a.LAYERGROUP]=s,o[f.a.TARGET]=t.target,o[f.a.VIEW]=void 0!==t.view?t.view:new b.a,void 0!==t.controls&&(Array.isArray(t.controls)?n=new a.a(t.controls.slice()):(Object(x.a)("function"==typeof t.controls.getArray,47),n=t.controls));void 0!==t.interactions&&(Array.isArray(t.interactions)?r=new a.a(t.interactions.slice()):(Object(x.a)("function"==typeof t.interactions.getArray,48),r=t.interactions));void 0!==t.overlays?Array.isArray(t.overlays)?i=new a.a(t.overlays.slice()):(Object(x.a)("function"==typeof t.overlays.getArray,49),i=t.overlays):i=new a.a;return{controls:n,interactions:r,keyboardEventTarget:e,overlays:i,values:o}}(e);return n.boundHandleBrowserEvent_=n.handleBrowserEvent.bind(n),n.maxTilesLoading_=void 0!==e.maxTilesLoading?e.maxTilesLoading:16,n.pixelRatio_=void 0!==e.pixelRatio?e.pixelRatio:O.a,n.postRenderTimeoutHandle_,n.animationDelayKey_,n.animationDelay_=function(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}.bind(n),n.coordinateToPixelTransform_=Object(z.c)(),n.pixelToCoordinateTransform_=Object(z.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_=r.keyboardEventTarget,n.keyHandlerKeys_=null,n.controls=r.controls||new a.a,n.interactions=r.interactions||new a.a,n.overlays_=r.overlays,n.overlayIdIndex_={},n.renderer_=null,n.handleResize_,n.postRenderFunctions_=[],n.tileQueue_=new y.a(n.getTilePriority.bind(n),n.handleTileChange_.bind(n)),n.addEventListener(Object(i.b)(f.a.LAYERGROUP),n.handleLayerGroupChanged_),n.addEventListener(Object(i.b)(f.a.VIEW),n.handleViewChanged_),n.addEventListener(Object(i.b)(f.a.SIZE),n.handleSizeChanged_),n.addEventListener(Object(i.b)(f.a.TARGET),n.handleTargetChanged_),n.setProperties(r.values),n.controls.forEach(function(t){t.setMap(this)}.bind(n)),n.controls.addEventListener(o.a.ADD,function(t){t.element.setMap(this)}.bind(n)),n.controls.addEventListener(o.a.REMOVE,function(t){t.element.setMap(null)}.bind(n)),n.interactions.forEach(function(t){t.setMap(this)}.bind(n)),n.interactions.addEventListener(o.a.ADD,function(t){t.element.setMap(this)}.bind(n)),n.interactions.addEventListener(o.a.REMOVE,function(t){t.element.setMap(null)}.bind(n)),n.overlays_.forEach(n.addOverlayInternal_.bind(n)),n.overlays_.addEventListener(o.a.ADD,function(t){this.addOverlayInternal_(t.element)}.bind(n)),n.overlays_.addEventListener(o.a.REMOVE,function(t){var e=t.element.getId();void 0!==e&&delete this.overlayIdIndex_[e.toString()],t.element.setMap(null)}.bind(n)),n}return j(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){this.getLayerGroup().getLayers().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 r=this.getCoordinateFromPixelInternal(t),i=void 0!==(n=void 0!==n?n:{}).hitTolerance?n.hitTolerance:0,a=void 0!==n.layerFilter?n.layerFilter:w.b,o=!1!==n.checkWrapped;return this.renderer_.forEachFeatureAtCoordinate(r,this.frameState_,i,o,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 r=n||{},i=void 0!==r.hitTolerance?r.hitTolerance:0,a=r.layerFilter||w.b;return this.renderer_.forEachLayerAtPixel(t,this.frameState_,i,e,a)}},e.prototype.hasFeatureAtPixel=function(t,e){if(!this.frameState_)return!1;var n=this.getCoordinateFromPixelInternal(t),r=void 0!==(e=void 0!==e?e:{}).layerFilter?e.layerFilter:w.b,i=void 0!==e.hitTolerance?e.hitTolerance:0,a=!1!==e.checkWrapped;return this.renderer_.hasFeatureAtCoordinate(n,this.frameState_,i,a,r,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(f.a.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(M.m)(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())},e.prototype.getCoordinateFromPixelInternal=function(t){var e=this.frameState_;return e?Object(z.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(f.a.LAYERGROUP)},e.prototype.getLayers=function(){return this.getLayerGroup().getLayers()},e.prototype.getLoading=function(){for(var t=this.getLayerGroup().getLayerStatesArray(),e=0,n=t.length;e=0;l--){var c=o[l];if(c.getMap()===this&&c.getActive()&&this.getTargetElement())if(!c.handleEvent(t)||t.propagationStopped)break}}},e.prototype.handlePostRender=function(){var t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){var n=this.maxTilesLoading_,r=n;if(t){var i=t.viewHints;if(i[_.a.ANIMATING]||i[_.a.INTERACTING]){var a=!O.c&&Date.now()-t.time>8;n=a?0:8,r=a?0:2}}e.getTilesLoading()0)},e.prototype.removeEventListener=function(t,e){var n=this.listeners_&&this.listeners_[t];if(n){var r=n.indexOf(e);-1!==r&&(this.pendingRemovals_&&t in this.pendingRemovals_?(n[r]=o.c,++this.pendingRemovals_[t]):(n.splice(r,1),0===n.length&&delete this.listeners_[t]))}},e}(i.a);e.a=c},bmSR:function(t,e,n){"use strict";e.e=a,e.a=o,e.f=function(t,e,n,r,i){for(var a=0,s=n.length;a1)l=n;else{if(p>0){for(var f=0;fa&&(a=u),o=l,s=c}return a}function o(t,e,n,r,i){for(var o=0,s=n.length;o=this.minZoom;){if(2===this.zoomFactor_?(o=Math.floor(o/2),s=Math.floor(s/2),a=Object(r.a)(o,o,s,s,n)):a=this.getTileRangeForExtentAndZ(l,c,n),e(c,a))return!0;--c}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]t)throw new Error("Tile load sequence violation");this.state=t,this.changed()},e.prototype.load=function(){Object(s.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 r=e-n+1e3/60;return r>=this.transition_?1:Object(l.a)(r/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}(i.a);e.a=u},e6n0:function(t,e,n){var r=n("evD5").f,i=n("D2L2"),a=n("dSzd")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},e8AB:function(t,e,n){var r=n("FeBl"),i=n("7KvD"),a=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("O4g8")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"eM/O":function(t,e,n){"use strict";var r,i=n("XOen"),a=n("Nhaw"),o=n("V2dr"),s=n("6t+W"),l=n("w2Al"),c=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e){var n=t.call(this)||this,r=e.element;return!r||e.target||r.style.pointerEvents||(r.style.pointerEvents="auto"),n.element=r||null,n.target_=null,n.map_=null,n.listenerKeys=[],e.render&&(n.render=e.render),e.target&&n.setTarget(e.target),n}return c(e,t),e.prototype.disposeInternal=function(){Object(l.e)(this.element),t.prototype.disposeInternal.call(this)},e.prototype.getMap=function(){return this.map_},e.prototype.setMap=function(t){this.map_&&Object(l.e)(this.element);for(var e=0,n=this.listenerKeys.length;e0;if(this.renderedVisible_!=n&&(this.element.style.display=n?"":"none",this.renderedVisible_=n),!Object(p.b)(e,this.renderedAttributions_)){Object(l.d)(this.ulElement_);for(var r=0,i=e.length;r0&&e%(2*Math.PI)!=0?t.animate({rotation:0,duration:this.duration_,easing:y.b}):t.setRotation(0))}},e.prototype.render=function(t){var e=t.frameState;if(e){var n=e.viewState.rotation;if(n!=this.rotation_){var r="rotate("+n+"rad)";if(this.autoHide_){var i=this.element.classList.contains(d.c);i||0!==n?i&&0!==n&&this.element.classList.remove(d.c):this.element.classList.add(d.c)}this.label_.style.transform=r}this.rotation_=n}},e}(u),O=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w=function(t){function e(e){var n=this,r=e||{};n=t.call(this,{element:document.createElement("div"),target:r.target})||this;var i=void 0!==r.className?r.className:"ol-zoom",a=void 0!==r.delta?r.delta:1,o=void 0!==r.zoomInClassName?r.zoomInClassName:i+"-in",s=void 0!==r.zoomOutClassName?r.zoomOutClassName:i+"-out",l=void 0!==r.zoomInLabel?r.zoomInLabel:"+",c=void 0!==r.zoomOutLabel?r.zoomOutLabel:"−",u=void 0!==r.zoomInTipLabel?r.zoomInTipLabel:"Zoom in",p=void 0!==r.zoomOutTipLabel?r.zoomOutTipLabel:"Zoom out",f=document.createElement("button");f.className=o,f.setAttribute("type","button"),f.title=u,f.appendChild("string"==typeof l?document.createTextNode(l):l),f.addEventListener(h.a.CLICK,n.handleClick_.bind(n,a),!1);var v=document.createElement("button");v.className=s,v.setAttribute("type","button"),v.title=p,v.appendChild("string"==typeof c?document.createTextNode(c):c),v.addEventListener(h.a.CLICK,n.handleClick_.bind(n,-a),!1);var m=i+" "+d.e+" "+d.b,g=n.element;return g.className=m,g.appendChild(f),g.appendChild(v),n.duration_=void 0!==r.duration?r.duration:250,n}return O(e,t),e.prototype.handleClick_=function(t,e){e.preventDefault(),this.zoomByDelta_(t)},e.prototype.zoomByDelta_=function(t){var e=this.getMap().getView();if(e){var n=e.getZoom();if(void 0!==n){var r=e.getConstrainedZoom(n+t);this.duration_>0?(e.getAnimating()&&e.cancelAnimations(),e.animate({zoom:r,duration:this.duration_,easing:y.b})):e.setZoom(r)}}},e}(u),z=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),x=["fullscreenchange","webkitfullscreenchange","MSFullscreenChange"],C="enterfullscreen",M="leavefullscreen";function S(){var t=document.body;return!!(t.webkitRequestFullscreen||t.msRequestFullscreen&&document.msFullscreenEnabled||t.requestFullscreen&&document.fullscreenEnabled)}function A(){return!!(document.webkitIsFullScreen||document.msFullscreenElement||document.fullscreenElement)}function T(t){t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.webkitRequestFullscreen&&t.webkitRequestFullscreen()}var j=function(t){function e(e){var n=this,r=e||{};(n=t.call(this,{element:document.createElement("div"),target:r.target})||this).cssClassName_=void 0!==r.className?r.className:"ol-full-screen",n.activeClassName_=void 0!==r.activeClassName?r.activeClassName.split(" "):[n.cssClassName_+"-true"],n.inactiveClassName_=void 0!==r.inactiveClassName?r.inactiveClassName.split(" "):[n.cssClassName_+"-false"];var i=void 0!==r.label?r.label:"⤢";n.labelNode_="string"==typeof i?document.createTextNode(i):i;var a=void 0!==r.labelActive?r.labelActive:"×";n.labelActiveNode_="string"==typeof a?document.createTextNode(a):a,n.button_=document.createElement("button");var o=r.tipLabel?r.tipLabel:"Toggle full-screen";n.setClassName_(n.button_,A()),n.button_.setAttribute("type","button"),n.button_.title=o,n.button_.appendChild(n.labelNode_),n.button_.addEventListener(h.a.CLICK,n.handleClick_.bind(n),!1);var s=n.cssClassName_+" "+d.e+" "+d.b+" "+(S()?"":d.f),l=n.element;return l.className=s,l.appendChild(n.button_),n.keys_=void 0!==r.keys&&r.keys,n.source_=r.source,n}return z(e,t),e.prototype.handleClick_=function(t){t.preventDefault(),this.handleFullScreen_()},e.prototype.handleFullScreen_=function(){if(S()){var t=this.getMap();if(t)if(A())document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.webkitExitFullscreen&&document.webkitExitFullscreen();else{var e=void 0;e=this.source_?"string"==typeof this.source_?document.getElementById(this.source_):this.source_:t.getTargetElement(),this.keys_?function(t){t.webkitRequestFullscreen?t.webkitRequestFullscreen():T(t)}(e):T(e)}}},e.prototype.handleFullScreenChange_=function(){var t=this.getMap();A()?(this.setClassName_(this.button_,!0),Object(l.g)(this.labelActiveNode_,this.labelNode_),this.dispatchEvent(C)):(this.setClassName_(this.button_,!1),Object(l.g)(this.labelNode_,this.labelActiveNode_),this.dispatchEvent(M)),t&&t.updateSize()},e.prototype.setClassName_=function(t,e){var n,r,i,a=this.activeClassName_,o=this.inactiveClassName_,s=e?a:o;(n=t.classList).remove.apply(n,a),(r=t.classList).remove.apply(r,o),(i=t.classList).add.apply(i,s)},e.prototype.setMap=function(e){if(t.prototype.setMap.call(this,e),e)for(var n=0,r=x.length;n.75*u||c>.75*h?this.resetExtent_():Object(G.h)(a,r)||this.recenter_()}}},e.prototype.resetExtent_=function(){var t=this.getMap(),e=this.ovmap_,n=t.getSize(),r=t.getView().calculateExtentInternal(n),i=e.getView(),a=Math.log(7.5)/Math.LN2,o=1/(.1*Math.pow(2,a/2));Object(G.K)(r,o),i.fitInternal(Object(U.d)(r))},e.prototype.recenter_=function(){var t=this.getMap(),e=this.ovmap_,n=t.getView();e.getView().setCenterInternal(n.getCenterInternal())},e.prototype.updateBox_=function(){var t=this.getMap(),e=this.ovmap_;if(t.isRendered()&&e.isRendered()){var n=t.getSize(),r=t.getView(),i=e.getView(),a=this.rotateWithView_?0:-r.getRotation(),o=this.boxOverlay_,s=this.boxOverlay_.getElement(),l=r.getCenterInternal(),c=r.getResolution(),u=i.getResolution(),h=n[0]*c/u,d=n[1]*c/u;if(o.setPosition(l),s){s.style.width=h+"px",s.style.height=d+"px";var p="rotate("+a+"rad)";s.style.transform=p}}},e.prototype.handleClick_=function(t){t.preventDefault(),this.handleToggle_()},e.prototype.handleToggle_=function(){this.element.classList.toggle(d.a),this.collapsed_?Object(l.g)(this.collapseLabel_,this.label_):Object(l.g)(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_;var t=this.ovmap_;if(!this.collapsed_){if(t.isRendered())return this.viewExtent_=void 0,void t.render();t.updateSize(),this.resetExtent_(),Object(s.b)(t,a.a.POSTRENDER,function(t){this.updateBox_()},this)}},e.prototype.getCollapsible=function(){return this.collapsible_},e.prototype.setCollapsible=function(t){this.collapsible_!==t&&(this.collapsible_=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.collapsed_&&this.handleToggle_())},e.prototype.setCollapsed=function(t){this.collapsible_&&this.collapsed_!==t&&this.handleToggle_()},e.prototype.getCollapsed=function(){return this.collapsed_},e.prototype.getRotateWithView=function(){return this.rotateWithView_},e.prototype.setRotateWithView=function(t){this.rotateWithView_!==t&&(this.rotateWithView_=t,0!==this.getMap().getView().getRotation()&&(this.rotateWithView_?this.handleRotationChanged_():this.ovmap_.getView().setRotation(0),this.viewExtent_=void 0,this.validateExtent_(),this.updateBox_()))},e.prototype.getOverviewMap=function(){return this.ovmap_},e.prototype.render=function(t){this.validateExtent_(),this.updateBox_()},e}(u),Y=n("vv/+"),K=n("OEyb"),Z=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),J="units",Q={DEGREES:"degrees",IMPERIAL:"imperial",NAUTICAL:"nautical",METRIC:"metric",US:"us"},tt=[1,2,5],et=function(t){function e(e){var n=this,r=e||{},a=void 0!==r.className?r.className:r.bar?"ol-scale-bar":"ol-scale-line";return(n=t.call(this,{element:document.createElement("div"),render:r.render,target:r.target})||this).innerElement_=document.createElement("div"),n.innerElement_.className=a+"-inner",n.element.className=a+" "+d.e,n.element.appendChild(n.innerElement_),n.viewState_=null,n.minWidth_=void 0!==r.minWidth?r.minWidth:64,n.renderedVisible_=!1,n.renderedWidth_=void 0,n.renderedHTML_="",n.addEventListener(Object(i.b)(J),n.handleUnitsChanged_),n.setUnits(r.units||Q.METRIC),n.scaleBar_=r.bar||!1,n.scaleBarSteps_=r.steps||4,n.scaleBarText_=r.text||!1,n.dpi_=r.dpi||void 0,n}return Z(e,t),e.prototype.getUnits=function(){return this.get(J)},e.prototype.handleUnitsChanged_=function(){this.updateElement_()},e.prototype.setUnits=function(t){this.set(J,t)},e.prototype.setDpi=function(t){this.dpi_=t},e.prototype.updateElement_=function(){var t=this.viewState_;if(t){var e=t.center,n=t.projection,r=this.getUnits(),i=r==Q.DEGREES?Y.b.DEGREES:Y.b.METERS,a=Object(I.h)(n,t.resolution,e,i),o=this.minWidth_*(this.dpi_||25.4/.28)/(25.4/.28),s=o*a,l="";if(r==Q.DEGREES){var c=I.a[Y.b.DEGREES];(s*=c)=o)break;++f}p=this.scaleBar_?this.createScaleBar(h,u,l):u.toFixed(d<0?-d:0)+" "+l,this.renderedHTML_!=p&&(this.innerElement_.innerHTML=p,this.renderedHTML_=p),this.renderedWidth_!=h&&(this.innerElement_.style.width=h+"px",this.renderedWidth_=h),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)}else this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1)},e.prototype.createScaleBar=function(t,e,n){for(var r="1 : "+Math.round(this.getScaleForResolution()).toLocaleString(),i=[],a=t/this.scaleBarSteps_,o="#ffffff",s=0;s
'+this.createMarker("relative",s)+(s%2==0||2===this.scaleBarSteps_?this.createStepText(s,t,!1,e,n):"")+"
"),s===this.scaleBarSteps_-1&&i.push(this.createStepText(s+1,t,!0,e,n)),o="#ffffff"===o?"#000000":"#ffffff";return'
'+(this.scaleBarText_?'
'+r+"
":"")+i.join("")+"
"},e.prototype.createMarker=function(t,e){return'
'},e.prototype.createStepText=function(t,e,n,r,i){var a=(0===t?0:Math.round(r/this.scaleBarSteps_*t*100)/100)+(0===t?"":" "+i),o=0===t?-3:e/this.scaleBarSteps_*-1,s=0===t?0:e/this.scaleBarSteps_*2;return'
'+a+"
"},e.prototype.getScaleForResolution=function(){var t=Object(I.h)(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center),e=this.dpi_||25.4/.28,n=this.viewState_.projection.getMetersPerUnit();return parseFloat(t.toString())*n*(1e3/25.4)*e},e.prototype.render=function(t){var e=t.frameState;this.viewState_=e?e.viewState:null,this.updateElement_()},e}(u),nt=n("o1z/"),rt=n("LKHy"),it=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),at={VERTICAL:0,HORIZONTAL:1},ot=function(t){function e(e){var n=this,r=e||{};(n=t.call(this,{element:document.createElement("div"),render:r.render})||this).dragListenerKeys_=[],n.currentResolution_=void 0,n.direction_=at.VERTICAL,n.dragging_,n.heightLimit_=0,n.widthLimit_=0,n.startX_,n.startY_,n.thumbSize_=null,n.sliderInitialized_=!1,n.duration_=void 0!==r.duration?r.duration:200;var i=void 0!==r.className?r.className:"ol-zoomslider",a=document.createElement("button");a.setAttribute("type","button"),a.className=i+"-thumb "+d.e;var o=n.element;return o.className=i+" "+d.e+" "+d.b,o.appendChild(a),o.addEventListener(E.a.POINTERDOWN,n.handleDraggerStart_.bind(n),!1),o.addEventListener(E.a.POINTERMOVE,n.handleDraggerDrag_.bind(n),!1),o.addEventListener(E.a.POINTERUP,n.handleDraggerEnd_.bind(n),!1),o.addEventListener(h.a.CLICK,n.handleContainerClick_.bind(n),!1),a.addEventListener(h.a.CLICK,rt.b,!1),n}return it(e,t),e.prototype.setMap=function(e){t.prototype.setMap.call(this,e),e&&e.render()},e.prototype.initSlider_=function(){var t=this.element,e=t.offsetWidth,n=t.offsetHeight;if(0===e&&0===n)return this.sliderInitialized_=!1;var r=t.firstElementChild,i=getComputedStyle(r),a=r.offsetWidth+parseFloat(i.marginRight)+parseFloat(i.marginLeft),o=r.offsetHeight+parseFloat(i.marginTop)+parseFloat(i.marginBottom);return this.thumbSize_=[a,o],e>n?(this.direction_=at.HORIZONTAL,this.widthLimit_=e-a):(this.direction_=at.VERTICAL,this.heightLimit_=n-o),this.sliderInitialized_=!0},e.prototype.handleContainerClick_=function(t){var e=this.getMap().getView(),n=this.getRelativePosition_(t.offsetX-this.thumbSize_[0]/2,t.offsetY-this.thumbSize_[1]/2),r=this.getResolutionForPosition_(n),i=e.getConstrainedZoom(e.getZoomForResolution(r));e.animateInternal({zoom:i,duration:this.duration_,easing:y.b})},e.prototype.handleDraggerStart_=function(t){if(!this.dragging_&&t.target===this.element.firstElementChild){var e=this.element.firstElementChild;if(this.getMap().getView().beginInteraction(),this.startX_=t.clientX-parseFloat(e.style.left),this.startY_=t.clientY-parseFloat(e.style.top),this.dragging_=!0,0===this.dragListenerKeys_.length){var n=this.handleDraggerDrag_,r=this.handleDraggerEnd_,i=this.getMap().getOwnerDocument();this.dragListenerKeys_.push(Object(s.a)(i,E.a.POINTERMOVE,n,this),Object(s.a)(i,E.a.POINTERUP,r,this))}}},e.prototype.handleDraggerDrag_=function(t){if(this.dragging_){var e=t.clientX-this.startX_,n=t.clientY-this.startY_,r=this.getRelativePosition_(e,n);this.currentResolution_=this.getResolutionForPosition_(r),this.getMap().getView().setResolution(this.currentResolution_)}},e.prototype.handleDraggerEnd_=function(t){this.dragging_&&(this.getMap().getView().endInteraction(),this.dragging_=!1,this.startX_=void 0,this.startY_=void 0,this.dragListenerKeys_.forEach(s.c),this.dragListenerKeys_.length=0)},e.prototype.setThumbPosition_=function(t){var e=this.getPositionForResolution_(t),n=this.element.firstElementChild;this.direction_==at.HORIZONTAL?n.style.left=this.widthLimit_*e+"px":n.style.top=this.heightLimit_*e+"px"},e.prototype.getRelativePosition_=function(t,e){var n;return n=this.direction_===at.HORIZONTAL?t/this.widthLimit_:e/this.heightLimit_,Object(nt.a)(n,0,1)},e.prototype.getResolutionForPosition_=function(t){return this.getMap().getView().getResolutionForValueFunction()(1-t)},e.prototype.getPositionForResolution_=function(t){var e=this.getMap().getView().getValueForResolutionFunction();return Object(nt.a)(1-e(t),0,1)},e.prototype.render=function(t){if(t.frameState&&(this.sliderInitialized_||this.initSlider_())){var e=t.frameState.viewState.resolution;this.currentResolution_=e,this.setThumbPosition_(e)}},e}(u),st=this&&this.__extends||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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),lt=function(t){function e(e){var n=this,r=e||{};(n=t.call(this,{element:document.createElement("div"),target:r.target})||this).extent=r.extent?r.extent:null;var i=void 0!==r.className?r.className:"ol-zoom-extent",a=void 0!==r.label?r.label:"E",o=void 0!==r.tipLabel?r.tipLabel:"Fit to extent",s=document.createElement("button");s.setAttribute("type","button"),s.title=o,s.appendChild("string"==typeof a?document.createTextNode(a):a),s.addEventListener(h.a.CLICK,n.handleClick_.bind(n),!1);var l=i+" "+d.e+" "+d.b,c=n.element;return c.className=l,c.appendChild(s),n}return st(e,t),e.prototype.handleClick_=function(t){t.preventDefault(),this.handleZoomToExtent()},e.prototype.handleZoomToExtent=function(){var t=this.getMap().getView(),e=this.extent?this.extent:t.getProjection().getExtent();t.fitInternal(Object(U.d)(e))},e}(u);e.a=function(t){var e=t||{},n=new g.a;(void 0===e.zoom||e.zoom)&&n.push(new w(e.zoomOptions));(void 0===e.rotate||e.rotate)&&n.push(new _(e.rotateOptions));(void 0===e.attribution||e.attribution)&&n.push(new m(e.attributionOptions));return n},n.d(e,!1,function(){return m}),n.d(e,!1,function(){return u}),n.d(e,!1,function(){return j}),n.d(e,!1,function(){return k}),n.d(e,!1,function(){return X}),n.d(e,!1,function(){return _}),n.d(e,!1,function(){return et}),n.d(e,!1,function(){return w}),n.d(e,!1,function(){return ot}),n.d(e,!1,function(){return lt})},evD5:function(t,e,n){var r=n("77Pl"),i=n("SfB7"),a=n("MmMw"),o=Object.defineProperty;e.f=n("+E39")?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),i)try{return o(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},exGp:function(t,e,n){"use strict";e.__esModule=!0;var r,i=n("//Fk"),a=(r=i)&&r.__esModule?r:{default:r};e.default=function(t){return function(){var e=t.apply(this,arguments);return new a.default(function(t,n){return function r(i,o){try{var s=e[i](o),l=s.value}catch(t){return void n(t)}if(!s.done)return a.default.resolve(l).then(function(t){r("next",t)},function(t){r("throw",t)});t(l)}("next")})}}},fGqn:function(t,e,n){"use strict";function r(t,e,n){return t+"/"+e+"/"+n}e.a=function(t,e,n,r){return void 0!==r?(r[0]=t,r[1]=e,r[2]=n,r):[t,e,n]},e.d=r,e.c=function(t){return r(t[0],t[1],t[2])},e.b=function(t){return t.split("/").map(Number)},e.e=function(t){return(t[1]<n||n>e.getMaxZoom())return!1;var a=e.getFullTileRange(n);return!a||a.containsXY(r,i)}},fJUb:function(t,e,n){var r=n("77Pl"),i=n("EqjI"),a=n("qARP");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=a.f(t);return(0,n.resolve)(e),n.promise}},fT5H:function(t,e,n){"use strict";e.a={POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},fkB2:function(t,e,n){var r=n("UuGF"),i=Math.max,a=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):a(t,e)}},flWm:function(t,e,n){"use strict";var r,i=n("5MGX"),a=n("Fu+J"),o=n("VgFP"),s=n("bmSR"),l=n("/LWt"),c=n("hrLW"),u=n("LmAy"),h=n("wupX"),d=n("+b92"),p=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e,n){var r=t.call(this)||this;return r.maxDelta_=-1,r.maxDeltaRevision_=-1,void 0===n||Array.isArray(e[0])?r.setCoordinates(e,n):r.setFlatCoordinates(n,e),r}return p(e,t),e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,r){return r=c?t?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(o=s.charCodeAt(l+1))<56320||o>57343?t?s.charAt(l):a:t?s.slice(l,l+2):o-56320+(a-55296<<10)+65536}}},hGhA:function(t,e,n){"use strict";var r,i=n("57Gy"),a=n("kByt"),o=n("s52z"),s=n("DL7K"),l=n("0saQ"),c=n("d7Hp"),u=n("/LWt"),h=n("7yEG"),d=n("zF6X"),p=n("fGqn"),f=n("JX9a"),v=n("xifc"),m=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){function e(e){var n=this,r=e.projection||"EPSG:3857",i=e.extent||Object(h.c)(r),s=e.tileGrid||Object(h.b)({extent:i,maxResolution:e.maxResolution,maxZoom:void 0!==e.maxZoom?e.maxZoom:22,minZoom:e.minZoom,tileSize:e.tileSize||512});return(n=t.call(this,{attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,cacheSize:e.cacheSize,opaque:!1,projection:r,state:e.state,tileGrid:s,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:y,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:void 0===e.wrapX||e.wrapX,transition:e.transition,zDirection:void 0===e.zDirection?1:e.zDirection})||this).format_=e.format?e.format:null,n.loadingTiles_={},n.sourceTileCache=new o.a(n.tileCache.highWaterMark),n.overlaps_=void 0==e.overlaps||e.overlaps,n.tileClass=e.tileClass?e.tileClass:a.a,n.tileGrids_={},n}return m(e,t),e.prototype.getFeaturesInExtent=function(t){var e=[],n=this.tileCache;if(0===n.getCount())return e;var r=Object(p.b)(n.peekFirstKey())[0],i=this.tileGrid;return n.forEach(function(n){if(n.tileCoord[0]===r&&n.getState()===s.a.LOADED)for(var a=n.getSourceTiles(),o=0,l=a.length;o0&&b[0].tileCoord[0]===g)f=b,v=!0,m=g;else{f=[],m=g+1;do{--m,v=!0,h.forEachTileCoord(o,m,function(r){var a,o=this.tileUrlFunction(r,t,e);if(void 0!==o)if(this.sourceTileCache.containsKey(o)){var l=(a=this.sourceTileCache.get(o)).getState();if(l===s.a.LOADED||l===s.a.ERROR||l===s.a.EMPTY)return void f.push(a)}else m===g&&((a=new this.tileClass(r,s.a.IDLE,o,this.format_,this.tileLoadFunction)).extent=h.getTileCoordExtent(r),a.projection=e,a.resolution=h.getResolution(r[0]),this.sourceTileCache.set(o,a),a.addEventListener(i.a.CHANGE,this.handleTileChange.bind(this)),a.load());v=v&&a&&a.getState()===s.a.LOADED,a&&a.getState()!==s.a.EMPTY&&n.getState()===s.a.IDLE&&(n.loadingSourceTiles++,a.addEventListener(i.a.CHANGE,function t(){var e=a.getState(),r=a.getKey();if(e===s.a.LOADED||e===s.a.ERROR){e===s.a.LOADED?(a.removeEventListener(i.a.CHANGE,t),n.loadingSourceTiles--,delete n.errorSourceTileKeys[r]):e===s.a.ERROR&&(n.errorSourceTileKeys[r]=!0);var o=Object.keys(n.errorSourceTileKeys).length;n.loadingSourceTiles-o==0&&(n.hifi=0===o,n.sourceZ=g,n.setState(s.a.LOADED))}}))}.bind(this)),v||(f.length=0)}while(!v&&m>y)}return n.getState()===s.a.IDLE&&n.setState(s.a.LOADING),v&&(n.hifi=g===m,n.sourceZ=m,n.getState()1&&void 0!==arguments[1]?arguments[1]:null,r=void 0!==t&&t&&Object({NODE_ENV:"production"})||{};return e?r[e]||n:r},i=function(){return r("BOOTSTRAP_VUE_NO_WARN")||"production"===r("NODE_ENV")}}).call(e,n("W2nU"))},jFNg:function(t,e){var n={thin:100,hairline:100,"ultra-light":100,"extra-light":100,light:200,book:300,regular:400,normal:400,plain:400,roman:400,standard:400,medium:500,"semi-bold":600,"demi-bold":600,bold:700,heavy:800,black:800,"extra-bold":800,"ultra-black":900,"extra-black":900,"ultra-bold":900,"heavy-black":900,fat:900,poster:900},r=/(italic|oblique)$/i,i={};t.exports=function(t,e,a){var o=i[t];if(!o){Array.isArray(t)||(t=[t]);for(var s=400,l="normal",c=[],u=0,h=t.length;u=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n("SldL"),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},kByt:function(t,e,n){"use strict";var r,i=n("dzQb"),a=n("DL7K"),o=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n,r,i,a,o){var s=t.call(this,e,n,o)||this;return s.extent=null,s.format_=i,s.features_=null,s.loader_,s.projection=null,s.resolution,s.tileLoadFunction_=a,s.url_=r,s.key=r,s}return o(e,t),e.prototype.getFormat=function(){return this.format_},e.prototype.getFeatures=function(){return this.features_},e.prototype.load=function(){this.state==a.a.IDLE&&(this.setState(a.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(a.a.ERROR)},e.prototype.setFeatures=function(t){this.features_=t,this.setState(a.a.LOADED)},e.prototype.setLoader=function(t){this.loader_=t},e}(i.a);e.a=s},kHub:function(t,e,n){"use strict";var r,i=n("57Gy"),a=n("3Jqb"),o=n("nxYM"),s=n("9Ewl"),l=n("3ciB"),c=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e){var n=t.call(this)||this;return n.boundHandleImageChange_=n.handleImageChange_.bind(n),n.layer_=e,n.declutterExecutorGroup=null,n}return c(e,t),e.prototype.getFeatures=function(t){return Object(l.b)()},e.prototype.prepareFrame=function(t){return Object(l.b)()},e.prototype.renderFrame=function(t,e){return Object(l.b)()},e.prototype.loadedTileCallback=function(t,e,n){t[e]||(t[e]={}),t[e][n.tileCoord.toString()]=n},e.prototype.createLoadedTileFinder=function(t,e,n){return function(r,i){var a=this.loadedTileCallback.bind(this,n,r);return t.forEachLoadedTile(e,r,i,a)}.bind(this)},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,r,i){},e.prototype.getDataAtPixel=function(t,e,n){return Object(l.b)()},e.prototype.getLayer=function(){return this.layer_},e.prototype.handleFontsChanged=function(){},e.prototype.handleImageChange_=function(t){t.target.getState()===a.a.LOADED&&this.renderIfReadyAndVisible()},e.prototype.loadImage=function(t){var e=t.getState();return e!=a.a.LOADED&&e!=a.a.ERROR&&t.addEventListener(i.a.CHANGE,this.boundHandleImageChange_),e==a.a.IDLE&&(t.load(),e=t.getState()),e==a.a.LOADED},e.prototype.renderIfReadyAndVisible=function(){var t=this.getLayer();t.getVisible()&&t.getSourceState()==s.a.READY&&t.changed()},e}(o.a);e.a=u},kM2E:function(t,e,n){var r=n("7KvD"),i=n("FeBl"),a=n("+ZMJ"),o=n("hJx8"),s=n("D2L2"),l=function(t,e,n){var c,u,h,d=t&l.F,p=t&l.G,f=t&l.S,v=t&l.P,m=t&l.B,g=t&l.W,y=p?i:i[e]||(i[e]={}),b=y.prototype,_=p?r:f?r[e]:(r[e]||{}).prototype;for(c in p&&(n=e),n)(u=!d&&_&&void 0!==_[c])&&s(y,c)||(h=u?_[c]:n[c],y[c]=p&&"function"!=typeof _[c]?n[c]:m&&u?a(h,r):g&&_[c]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(h):v&&"function"==typeof h?a(Function.call,h):h,v&&((y.virtual||(y.virtual={}))[c]=h,t&l.R&&b&&!b[c]&&o(b,c,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},kZ1N:function(t,e,n){"use strict";var r,i=n("XOen"),a=n("Nhaw"),o=n("0vMM"),s=n("CTDj"),l=n("/LWt"),c=n("6t+W"),u=n("w2Al"),h=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d={ELEMENT:"element",MAP:"map",OFFSET:"offset",POSITION:"position",POSITIONING:"positioning"},p=function(t){function e(e){var n=t.call(this)||this;n.options=e,n.id=e.id,n.insertFirst=void 0===e.insertFirst||e.insertFirst,n.stopEvent=void 0===e.stopEvent||e.stopEvent,n.element=document.createElement("div"),n.element.className=void 0!==e.className?e.className:"ol-overlay-container "+s.d,n.element.style.position="absolute",n.element.style.pointerEvents="auto";var r=e.autoPan;return r&&"object"!=typeof r&&(r={animation:e.autoPanAnimation,margin:e.autoPanMargin}),n.autoPan=r||!1,n.rendered={transform_:"",visible:!0},n.mapPostrenderListenerKey=null,n.addEventListener(Object(i.b)(d.ELEMENT),n.handleElementChanged),n.addEventListener(Object(i.b)(d.MAP),n.handleMapChanged),n.addEventListener(Object(i.b)(d.OFFSET),n.handleOffsetChanged),n.addEventListener(Object(i.b)(d.POSITION),n.handlePositionChanged),n.addEventListener(Object(i.b)(d.POSITIONING),n.handlePositioningChanged),void 0!==e.element&&n.setElement(e.element),n.setOffset(void 0!==e.offset?e.offset:[0,0]),n.setPositioning(void 0!==e.positioning?e.positioning:o.a.TOP_LEFT),void 0!==e.position&&n.setPosition(e.position),n}return h(e,t),e.prototype.getElement=function(){return this.get(d.ELEMENT)},e.prototype.getId=function(){return this.id},e.prototype.getMap=function(){return this.get(d.MAP)},e.prototype.getOffset=function(){return this.get(d.OFFSET)},e.prototype.getPosition=function(){return this.get(d.POSITION)},e.prototype.getPositioning=function(){return this.get(d.POSITIONING)},e.prototype.handleElementChanged=function(){Object(u.d)(this.element);var t=this.getElement();t&&this.element.appendChild(t)},e.prototype.handleMapChanged=function(){this.mapPostrenderListenerKey&&(Object(u.e)(this.element),Object(c.c)(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);var t=this.getMap();if(t){this.mapPostrenderListenerKey=Object(c.a)(t,a.a.POSTRENDER,this.render,this),this.updatePixelPosition();var e=this.stopEvent?t.getOverlayContainerStopEvent():t.getOverlayContainer();this.insertFirst?e.insertBefore(this.element,e.childNodes[0]||null):e.appendChild(this.element),this.performAutoPan()}},e.prototype.render=function(){this.updatePixelPosition()},e.prototype.handleOffsetChanged=function(){this.updatePixelPosition()},e.prototype.handlePositionChanged=function(){this.updatePixelPosition(),this.performAutoPan()},e.prototype.handlePositioningChanged=function(){this.updatePixelPosition()},e.prototype.setElement=function(t){this.set(d.ELEMENT,t)},e.prototype.setMap=function(t){this.set(d.MAP,t)},e.prototype.setOffset=function(t){this.set(d.OFFSET,t)},e.prototype.setPosition=function(t){this.set(d.POSITION,t)},e.prototype.performAutoPan=function(){this.autoPan&&this.panIntoView(this.autoPan)},e.prototype.panIntoView=function(t){var e=this.getMap();if(e&&e.getTargetElement()&&this.get(d.POSITION)){var n=this.getRect(e.getTargetElement(),e.getSize()),r=this.getElement(),i=this.getRect(r,[Object(u.c)(r),Object(u.b)(r)]),a=t||{},o=void 0===a.margin?20:a.margin;if(!Object(l.h)(n,i)){var s=i[0]-n[0],c=n[2]-i[2],h=i[1]-n[1],p=n[3]-i[3],f=[0,0];if(s<0?f[0]=s-o:c<0&&(f[0]=Math.abs(c)+o),h<0?f[1]=h-o:p<0&&(f[1]=Math.abs(p)+o),0!==f[0]||0!==f[1]){var v=e.getView().getCenterInternal(),m=e.getPixelFromCoordinateInternal(v);if(!m)return;var g=[m[0]+f[0],m[1]+f[1]],y=a.animation||{};e.getView().animateInternal({center:e.getCoordinateFromPixelInternal(g),duration:y.duration,easing:y.easing})}}}},e.prototype.getRect=function(t,e){var n=t.getBoundingClientRect(),r=n.left+window.pageXOffset,i=n.top+window.pageYOffset;return[r,i,r+e[0],i+e[1]]},e.prototype.setPositioning=function(t){this.set(d.POSITIONING,t)},e.prototype.setVisible=function(t){this.rendered.visible!==t&&(this.element.style.display=t?"":"none",this.rendered.visible=t)},e.prototype.updatePixelPosition=function(){var t=this.getMap(),e=this.getPosition();if(t&&t.isRendered()&&e){var n=t.getPixelFromCoordinate(e),r=t.getSize();this.updateRenderedPosition(n,r)}else this.setVisible(!1)},e.prototype.updateRenderedPosition=function(t,e){var n=this.element.style,r=this.getOffset(),i=this.getPositioning();this.setVisible(!0);var a=Math.round(t[0]+r[0])+"px",s=Math.round(t[1]+r[1])+"px",l="0%",c="0%";i==o.a.BOTTOM_RIGHT||i==o.a.CENTER_RIGHT||i==o.a.TOP_RIGHT?l="-100%":i!=o.a.BOTTOM_CENTER&&i!=o.a.CENTER_CENTER&&i!=o.a.TOP_CENTER||(l="-50%"),i==o.a.BOTTOM_LEFT||i==o.a.BOTTOM_CENTER||i==o.a.BOTTOM_RIGHT?c="-100%":i!=o.a.CENTER_LEFT&&i!=o.a.CENTER_CENTER&&i!=o.a.CENTER_RIGHT||(c="-50%");var u="translate("+l+", "+c+") translate("+a+", "+s+")";this.rendered.transform_!=u&&(this.rendered.transform_=u,n.transform=u,n.msTransform=u)},e.prototype.getOptions=function(){return this.options},e}(i.a);e.a=p},knuC:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},lOnJ:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},lUmj:function(t,e,n){"use strict";var r=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=r},lVyT:function(t,e,n){"use strict";n("p9fs"),n("SfaQ"),n("g13Y"),n("flWm");var r=n("grfP");n.d(e,"a",function(){return r.a});n("5t69"),n("i3aX"),n("AT16");var i=n("T18w");n.d(e,"b",function(){return i.a});n("ZYQ1"),n("VgFP")},lktj:function(t,e,n){var r=n("Ibhu"),i=n("xnc9");t.exports=Object.keys||function(t){return r(t,i)}},m9Vi:function(t,e,n){"use strict";e.a=function(t,e,n,i){for(var a=[],o=Object(r.k)(),s=0,l=n.length;s`."},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."}},source_raster:{type:{required:!0,type:"enum",values:{raster:{doc:"A raster tile source."}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://`."},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."}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{doc:"A RGB-encoded raster DEM source"}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://`."},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."}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{doc:"A GeoJSON data source."}},doc:"The data type of the GeoJSON source."},data:{type:"*",doc:"A URL to a GeoJSON file, or inline GeoJSON."},maxzoom:{type:"number",default:18,doc:"Maximum zoom level at which to create vector tiles (higher means greater detail at high zoom levels)."},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 `{: }`."}},source_video:{type:{required:!0,type:"enum",values:{video:{doc:"A video data source."}},doc:"The data type of the video source."},urls:{required:!0,type:"array",value:"string",doc:"URLs to video content in order of preferred format."},coordinates:{required:!0,doc:"Corners of video specified in longitude, latitude pairs.",type:"array",length:4,value:{type:"array",length:2,value:"number",doc:"A single longitude, latitude pair."}}},source_image:{type:{required:!0,type:"enum",values:{image:{doc:"An image data source."}},doc:"The data type of the image source."},url:{required:!0,type:"string",doc:"URL that points to an image."},coordinates:{required:!0,doc:"Corners of image specified in longitude, latitude pairs.",type:"array",length:4,value:{type:"array",length:2,value:"number",doc:"A single longitude, latitude pair."}}},layer:{id:{type:"string",doc:"Unique layer name.",required:!0},type:{type:"enum",values:{fill:{doc:"A filled polygon with an optional stroked border.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},line:{doc:"A stroked line.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},symbol:{doc:"An icon or a text label.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},circle:{doc:"A filled circle.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},heatmap:{doc:"A heatmap.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"fill-extrusion":{doc:"An extruded (3D) polygon.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},raster:{doc:"Raster map textures such as satellite imagery.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},hillshade:{doc:"Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},background:{doc:"The background color or pattern of the map.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},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."}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background","layout_sky"],layout_background:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_sky:{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"}},layout_fill:{"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"}},layout_circle:{"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"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},"property-type":"constant"}},"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:{"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"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"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"}},layout_symbol:{"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"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"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"}},layout_raster:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},"property-type":"constant"}},filter:{type:"array",value:"*",doc:"A filter selects specific features from a layer."},filter_operator:{type:"enum",values:{"==":{doc:'`["==", key, value]` equality: `feature[key] = value`'},"!=":{doc:'`["!=", key, value]` inequality: `feature[key] ≠ value`'},">":{doc:'`[">", key, value]` greater than: `feature[key] > value`'},">=":{doc:'`[">=", key, value]` greater than or equal: `feature[key] ≥ value`'},"<":{doc:'`["<", key, value]` less than: `feature[key] < value`'},"<=":{doc:'`["<=", key, value]` less than or equal: `feature[key] ≤ value`'},in:{doc:'`["in", key, v0, ..., vn]` set inclusion: `feature[key] ∈ {v0, ..., vn}`'},"!in":{doc:'`["!in", key, v0, ..., vn]` set exclusion: `feature[key] ∉ {v0, ..., vn}`'},all:{doc:'`["all", f0, ..., fn]` logical `AND`: `f0 ∧ ... ∧ fn`'},any:{doc:'`["any", f0, ..., fn]` logical `OR`: `f0 ∨ ... ∨ fn`'},none:{doc:'`["none", f0, ..., fn]` logical `NOR`: `¬f0 ∧ ... ∧ ¬fn`'},has:{doc:'`["has", key]` `feature[key]` exists'},"!has":{doc:'`["!has", key]` `feature[key]` does not exist'},within:{doc:'`["within", object]` feature geometry is within object geometry'}},doc:"The filter operator."},geometry_type:{type:"enum",values:{Point:{doc:"Filter to point geometries."},LineString:{doc:"Filter to line geometries."},Polygon:{doc:"Filter to polygon geometries."}},doc:"The geometry type for the filter to select."},function:{expression:{type:"expression",doc:"An expression."},stops:{type:"array",doc:"An array of stops.",value:"function_stop"},base:{type:"number",default:1,minimum:0,doc:"The exponential base of the interpolation curve. It controls the rate at which the result increases. Higher values make the result increase more towards the high end of the range. With `1` the stops are interpolated linearly."},property:{type:"string",doc:"The name of a feature property to use as the function input.",default:"$zoom"},type:{type:"enum",values:{identity:{doc:"Return the input value as the output value."},exponential:{doc:"Generate an output by interpolating between stops just less than and just greater than the function input."},interval:{doc:"Return the output value of the stop just less than the function input."},categorical:{doc:"Return the output value of the stop equal to the function input."}},doc:"The interpolation strategy to use in function evaluation.",default:"exponential"},colorSpace:{type:"enum",values:{rgb:{doc:"Use the RGB color space to interpolate color values"},lab:{doc:"Use the LAB color space to interpolate color values."},hcl:{doc:"Use the HCL color space to interpolate color values, interpolating the Hue, Chroma, and Luminance channels individually."}},doc:"The color space in which colors interpolated. Interpolating colors in perceptual color spaces like LAB and HCL tend to produce color ramps that look more consistent and produce colors that can be differentiated more easily than those interpolated in RGB space.",default:"rgb"},default:{type:"*",required:!1,doc:"A value to serve as a fallback function result when a value isn't otherwise available. It is used in the following circumstances:\n* In categorical functions, when the feature value does not match any of the stop domain values.\n* In property and zoom-and-property functions, when a feature does not contain a value for the specified property.\n* In identity functions, when the feature value is not valid for the style property (for example, if the function is being used for a `circle-color` property but the feature property value is not a string or not a valid color).\n* In interval or exponential property and zoom-and-property functions, when the feature value is not numeric.\nIf no default is provided, the style property's default is used in these circumstances."}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2,doc:"Zoom level and value pair."},expression:{type:"array",value:"*",minimum:1,doc:"An expression defines a function that can be used for data-driven style properties or feature filters."},expression_name:{doc:"",type:"enum",values:{let:{doc:'Binds expressions to named variables, which can then be referenced in the result expression using ["var", "variable_name"].',group:"Variable binding","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},var:{doc:'References variable bound using "let".',group:"Variable binding","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},literal:{doc:"Provides a literal array or object value.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},array:{doc:"Asserts that the input is an array (optionally with a specific item type and length). If, when the input expression is evaluated, it is not of the asserted type, then this assertion will cause the whole expression to be aborted.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},at:{doc:"Retrieves an item from an array.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},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 whose label value matches the input value, or the fallback value if no match is found. The input can be any expression (e.g. `["get", "building_type"]`). Each label must be either:\n - a single literal value; or\n - an array of literal values, whose values must be all strings or all numbers (e.g. `[100, 101]` or `["c", "b"]`). The input matches if any of the values in the array matches, similar to the `"in"` operator.\nEach label must be unique. If 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"}}}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{doc:"The position of the light source is aligned to the rotation of the map."},viewport:{doc:"The position of the light source is aligned to the rotation of the viewport."}},"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"}}}},terrain:{source:{type:"string",doc:"Name of a source of `raster_dem` type to be used for terrain elevation.",required:!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"}}}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background","paint_sky"],paint_fill:{"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"}},"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:{"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":{}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"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"}},paint_circle:{"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"}},paint_heatmap:{"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"}},paint_symbol:{"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"}},paint_raster:{"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"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,doc:"The direction of the light source used to generate the hillshading with 0 as the top of the viewport if `hillshade-illumination-anchor` is set to `viewport` and due north if `hillshade-illumination-anchor` is set to `map`.",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"}},paint_background:{"background-color":{type:"color",default:"#000000",doc:"The color with which the background will be drawn.",transition:!0,requires:[{"!":"background-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",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"}},paint_sky:{"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"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds",doc:"Time allotted for transitions to complete."},delay:{type:"number",default:0,minimum:0,units:"milliseconds",doc:"Length of time before a transition begins."}},"property-type":{"data-driven":{type:"property-type",doc:"Property is interpolable and can be represented using a property expression."},"cross-faded":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms."},"cross-faded-data-driven":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms. It can be represented using a property expression."},"color-ramp":{type:"property-type",doc:"Property should be specified using a color ramp from which the output color can be sampled based on a property calculation."},"data-constant":{type:"property-type",doc:"Property is interpolable but cannot be represented using a property expression."},constant:{type:"property-type",doc:"Property is constant across all zoom levels and property values."}},promoteId:{"*":{type:"string",doc:"A name of a feature property to use as ID for feature state."}}};var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function o(t,e){return t(e={exports:{}},e.exports),e.exports}var s=o(function(t,e){!function(n){var r=e&&!e.nodeType&&e,i=t&&!t.nodeType&&t,o="object"==typeof a&&a;o.global!==o&&o.window!==o&&o.self!==o||(n=o);var s,l,c=2147483647,u=36,h=1,d=26,p=38,f=700,v=72,m=128,g="-",y=/^xn--/,b=/[^\x20-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,O={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=u-h,z=Math.floor,x=String.fromCharCode;function C(t){throw RangeError(O[t])}function M(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function S(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+M((t=t.replace(_,".")).split("."),e).join(".")}function A(t){for(var e,n,r=[],i=0,a=t.length;i=55296&&e<=56319&&i65535&&(e+=x((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=x(t)}).join("")}function j(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function E(t,e,n){var r=0;for(t=n?z(t/f):t>>1,t+=z(t/e);t>w*d>>1;r+=u)t=z(t/w);return z(r+(w+1)*t/(t+p))}function I(t){var e,n,r,i,a,o,s,l,p,f,y,b=[],_=t.length,O=0,w=m,x=v;for((n=t.lastIndexOf(g))<0&&(n=0),r=0;r=128&&C("not-basic"),b.push(t.charCodeAt(r));for(i=n>0?n+1:0;i<_;){for(a=O,o=1,s=u;i>=_&&C("invalid-input"),((l=(y=t.charCodeAt(i++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:u)>=u||l>z((c-O)/o))&&C("overflow"),O+=l*o,!(l<(p=s<=x?h:s>=x+d?d:s-x));s+=u)o>z(c/(f=u-p))&&C("overflow"),o*=f;x=E(O-a,e=b.length+1,0==a),z(O/e)>c-w&&C("overflow"),w+=z(O/e),O%=e,b.splice(O++,0,w)}return T(b)}function L(t){var e,n,r,i,a,o,s,l,p,f,y,b,_,O,w,M=[];for(b=(t=A(t)).length,e=m,n=0,a=v,o=0;o=e&&yz((c-n)/(_=r+1))&&C("overflow"),n+=(s-e)*_,e=s,o=0;oc&&C("overflow"),y==e){for(l=n,p=u;!(l<(f=p<=a?h:p>=a+d?d:p-a));p+=u)w=l-f,O=u-f,M.push(x(j(f+w%O,0))),l=z(w/O);M.push(x(j(l,0))),a=E(n,_,r==i),n=0,++r}++n,++e}return M.join("")}if(s={version:"1.3.2",ucs2:{decode:A,encode:T},decode:I,encode:L,toASCII:function(t){return S(t,function(t){return b.test(t)?"xn--"+L(t):t})},toUnicode:function(t){return S(t,function(t){return y.test(t)?I(t.slice(4).toLowerCase()):t})}},r&&i)if(t.exports==r)i.exports=s;else for(l in s)s.hasOwnProperty(l)&&(r[l]=s[l]);else n.punycode=s}(a)}),l={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}};function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var u=function(t,e,n,r){e=e||"&",n=n||"=";var i={};if("string"!=typeof t||0===t.length)return i;var a=/\+/g;t=t.split(e);var o=1e3;r&&"number"==typeof r.maxKeys&&(o=r.maxKeys);var s=t.length;o>0&&s>o&&(s=o);for(var l=0;l=0?(u=f.substr(0,v),h=f.substr(v+1)):(u=f,h=""),d=decodeURIComponent(u),p=decodeURIComponent(h),c(i,d)?Array.isArray(i[d])?i[d].push(p):i[d]=[i[d],p]:i[d]=p}return i},h=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}},d=function(t,e,n,r){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map(function(r){var i=encodeURIComponent(h(r))+n;return Array.isArray(t[r])?t[r].map(function(t){return i+encodeURIComponent(h(t))}).join(e):i+encodeURIComponent(h(t[r]))}).join(e):r?encodeURIComponent(h(r))+n+encodeURIComponent(h(t)):""},p=o(function(t,e){e.decode=e.parse=u,e.encode=e.stringify=d});p.decode,p.parse,p.encode,p.stringify;function f(){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 v=/^([a-z0-9.+-]+:)/i,m=/:[0-9]*$/,g=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,y=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),b=["'"].concat(y),_=["%","/","?",";","#"].concat(b),O=["/","?","#"],w=/^[+a-z0-9A-Z_-]{0,63}$/,z=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},C={javascript:!0,"javascript:":!0},M={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function S(t,e,n){if(t&&l.isObject(t)&&t instanceof f)return t;var r=new f;return r.parse(t,e,n),r}f.prototype.parse=function(t,e,n){if(!l.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var r=t.indexOf("?"),i=-1!==r&&r127?L+="x":L+=I[P];if(!L.match(w)){var F=j.slice(0,S),V=j.slice(S+1),B=I.match(z);B&&(F.push(B[1]),V.unshift(B[2])),V.length&&(o="/"+V.join(".")+o),this.hostname=F.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=s.toASCII(this.hostname));var R=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+R,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==o[0]&&(o="/"+o))}if(!x[h])for(S=0,E=b.length;S0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift());return n.search=t.search,n.query=t.query,l.isNull(n.pathname)&&l.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var z=O.slice(-1)[0],x=(n.host||t.host||O.length>1)&&("."===z||".."===z)||""===z,S=0,A=O.length;A>=0;A--)"."===(z=O[A])?O.splice(A,1):".."===z?(O.splice(A,1),S++):S&&(O.splice(A,1),S--);if(!b&&!_)for(;S--;S)O.unshift("..");!b||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),x&&"/"!==O.join("/").substr(-1)&&O.push("");var T,j=""===O[0]||O[0]&&"/"===O[0].charAt(0);w&&(n.hostname=n.host=j?"":O.length?O.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift()));return(b=b||n.host&&O.length)&&!j&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),l.isNull(n.pathname)&&l.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},f.prototype.parseHost=function(){var t=this.host,e=m.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};function A(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 j{constructor(t,e=[]){this.parent=t,this.bindings={};for(const[t,n]of e)this.bindings[t]=n}concat(t){return new j(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 E={kind:"null"},I={kind:"number"},L={kind:"string"},P={kind:"boolean"},k={kind:"color"},F={kind:"object"},V={kind:"value"},B={kind:"collator"},R={kind:"formatted"},H={kind:"resolvedImage"};function D(t,e){return{kind:"array",itemType:t,N:e}}function N(t){if("array"===t.kind){const e=N(t.itemType);return"number"==typeof t.N?`array<${e}, ${t.N}>`:"value"===t.itemType.kind?"array":`array<${e}>`}return t.kind}const $=[E,I,L,P,k,R,F,D(V),H];function G(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!G(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 $)if(!G(t,e))return null}return`Expected ${N(t)} but found ${N(e)} instead.`}function U(t,e){return e.some(e=>e.kind===t.kind)}function W(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 q=o(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 r(t){return(t=Math.round(t))<0?0:t>255?255:t}function i(t){return t<0?0:t>1?1:t}function a(t){return"%"===t[t.length-1]?r(parseFloat(t)/100*255):r(parseInt(t))}function o(t){return"%"===t[t.length-1]?i(parseFloat(t)/100):i(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}try{e.parseCSSColor=function(t){var e,i=t.replace(/ /g,"").toLowerCase();if(i in n)return n[i].slice();if("#"===i[0])return 4===i.length?(e=parseInt(i.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:7===i.length&&(e=parseInt(i.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var l=i.indexOf("("),c=i.indexOf(")");if(-1!==l&&c+1===i.length){var u=i.substr(0,l),h=i.substr(l+1,c-(l+1)).split(","),d=1;switch(u){case"rgba":if(4!==h.length)return null;d=o(h.pop());case"rgb":return 3!==h.length?null:[a(h[0]),a(h[1]),a(h[2]),d];case"hsla":if(4!==h.length)return null;d=o(h.pop());case"hsl":if(3!==h.length)return null;var p=(parseFloat(h[0])%360+360)%360/360,f=o(h[1]),v=o(h[2]),m=v<=.5?v*(f+1):v+f-v*f,g=2*v-m;return[r(255*s(g,m,p+1/3)),r(255*s(g,m,p)),r(255*s(g,m,p-1/3)),d];default:return null}}return null}}catch(t){}}).parseCSSColor;class X{constructor(t,e,n,r=1){this.r=t,this.g=e,this.b=n,this.a=r}static parse(t){if(!t)return;if(t instanceof X)return t;if("string"!=typeof t)return;const e=q(t);return e?new X(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3]):void 0}toString(){const[t,e,n,r]=this.toArray();return`rgba(${Math.round(t)},${Math.round(e)},${Math.round(n)},${r})`}toArray(){const{r:t,g:e,b:n,a:r}=this;return 0===r?[0,0,0,0]:[255*t/r,255*e/r,255*n/r,r]}}X.black=new X(0,0,0,1),X.white=new X(1,1,1,1),X.transparent=new X(0,0,0,0),X.red=new X(1,0,0,1),X.blue=new X(0,0,1,1);class Y{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 K{constructor(t,e,n,r,i){this.text=t,this.image=e,this.scale=n,this.fontStack=r,this.textColor=i}}class Z{constructor(t){this.sections=t}static fromString(t){return new Z([new K(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 Z?t:Z.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 J{constructor(t){this.name=t.name,this.available=t.available}toString(){return this.name}static fromString(t){return t?new J({name:t,available:!1}):null}serialize(){return["image",this.name]}}function Q(t,e,n,r){if(!("number"==typeof t&&t>=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof n&&n>=0&&n<=255)){return`Invalid rgba value [${("number"==typeof r?[t,e,n,r]:[t,e,n]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}return void 0===r||"number"==typeof r&&r>=0&&r<=1?null:`Invalid rgba value [${[t,e,n,r].join(", ")}]: 'a' must be between 0 and 1.`}function tt(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 X)return!0;if(t instanceof Y)return!0;if(t instanceof Z)return!0;if(t instanceof J)return!0;if(Array.isArray(t)){for(const e of t)if(!tt(e))return!1;return!0}if("object"==typeof t){for(const e in t)if(!tt(t[e]))return!1;return!0}return!1}function et(t){if(null===t)return E;if("string"==typeof t)return L;if("boolean"==typeof t)return P;if("number"==typeof t)return I;if(t instanceof X)return k;if(t instanceof Y)return B;if(t instanceof Z)return R;if(t instanceof J)return H;if(Array.isArray(t)){const e=t.length;let n;for(const e of t){const t=et(e);if(n){if(n===t)continue;n=V;break}n=t}return D(n||V,e)}return F}function nt(t){const e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof X||t instanceof Z||t instanceof J?t.toString():JSON.stringify(t)}class rt{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(!tt(t[1]))return e.error("invalid value");const n=t[1];let r=et(n);const i=e.expectedType;return"array"!==r.kind||0!==r.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(r=i),new rt(r,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 X?["rgba"].concat(this.value.toArray()):this.value instanceof Z?this.value.serialize():this.value}}class it{constructor(t){this.name="ExpressionEvaluationError",this.message=t}toJSON(){return this.message}}const at={string:L,number:I,boolean:P,object:F};class ot{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,r=1;const i=t[0];if("array"===i){let i,a;if(t.length>2){const n=t[1];if("string"!=typeof n||!(n in at)||"object"===n)return e.error('The item type argument of "array" must be one of string, number, boolean',1);i=at[n],r++}else i=V;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);a=t[2],r++}n=D(i,a)}else n=at[i];const a=[];for(;rt.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 r=t.N;("number"==typeof r||this.args.length>1)&&e.push(r)}}return e.concat(this.args.map(t=>t.serialize()))}}class st{constructor(t){this.type=R,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 r=[];let i=!1;for(let n=1;n<=t.length-1;++n){const a=t[n];if(i&&"object"==typeof a&&!Array.isArray(a)){i=!1;let t=null;if(a["font-scale"]&&!(t=e.parse(a["font-scale"],1,I)))return null;let n=null;if(a["text-font"]&&!(n=e.parse(a["text-font"],1,D(L))))return null;let o=null;if(a["text-color"]&&!(o=e.parse(a["text-color"],1,k)))return null;const s=r[r.length-1];s.scale=t,s.font=n,s.textColor=o}else{const a=e.parse(t[n],1,V);if(!a)return null;const o=a.type.kind;if("string"!==o&&"value"!==o&&"null"!==o&&"resolvedImage"!==o)return e.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");i=!0,r.push({content:a,scale:null,font:null,textColor:null})}}return new st(r)}evaluate(t){return new Z(this.sections.map(e=>{const n=e.content.evaluate(t);return et(n)===H?new K("",n,null,null,null):new K(nt(n),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null)}))}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 lt{constructor(t){this.type=H,this.input=t}static parse(t,e){if(2!==t.length)return e.error("Expected two arguments.");const n=e.parse(t[1],1,L);return n?new lt(n):e.error("No image name provided.")}evaluate(t){const e=this.input.evaluate(t),n=J.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 ct={"to-boolean":P,"to-color":k,"to-number":I,"to-string":L};class ut{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 r=ct[n],i=[];for(let n=1;n4?`Invalid rbga value ${JSON.stringify(e)}: expected an array containing either three or four numeric values.`:Q(e[0],e[1],e[2],e[3])))return new X(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new it(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(null===(e=n.evaluate(t)))return 0;const r=Number(e);if(!isNaN(r))return r}throw new it(`Could not convert ${JSON.stringify(e)} to number.`)}return"formatted"===this.type.kind?Z.fromString(nt(this.args[0].evaluate(t))):"resolvedImage"===this.type.kind?J.fromString(nt(this.args[0].evaluate(t))):nt(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 st([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new lt(this.args[0]).serialize();const t=[`to-${this.type.kind}`];return this.eachChild(e=>{t.push(e.serialize())}),t}}const ht=["Unknown","Point","LineString","Polygon"];class dt{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?ht[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]=X.parse(t)),e}}class pt{constructor(t,e,n,r){this.name=t,this.type=e,this._evaluate=n,this.args=r}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],r=pt.definitions[n];if(!r)return e.error(`Unknown expression "${n}". If you wanted a literal array, use ["literal", [...]].`,0);const i=Array.isArray(r)?r[0]:r.type,a=Array.isArray(r)?[[r[1],r[2]]]:r.overloads,o=a.filter(([e])=>!Array.isArray(e)||e.length===t.length-1);let s=null;for(const[r,a]of o){s=new Vt(e.registry,e.path,null,e.scope);const o=[];let l=!1;for(let e=1;e(l=t,Array.isArray(l)?`(${l.map(N).join(", ")})`:`(${N(l.type)}...)`)).join(" | "),r=[];for(let n=1;n=e[2])&&(!(t[1]<=e[1])&&!(t[3]>=e[3])))}function yt(t,e){const n=(180+t[0])/360;const r=(i=t[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+i*Math.PI/360)))/360);var i;const a=Math.pow(2,e.z);return[Math.round(n*a*vt),Math.round(r*a*vt)]}function bt(t,e,n){const r=t[0]-e[0],i=t[1]-e[1],a=t[0]-n[0],o=t[1]-n[1];return r*o-a*i==0&&r*a<=0&&i*o<=0}function _t(t,e){let n=!1;for(let o=0,s=e.length;or[1]!=a[1]>r[1]&&r[0]<(a[0]-i[0])*(r[1]-i[1])/(a[1]-i[1])+i[0]&&(n=!n)}}var r,i,a;return n}function Ot(t,e){for(let n=0;n0&&h<0||u<0&&h>0}function zt(t,e,n,r){const i=[e[0]-t[0],e[1]-t[1]],a=[r[0]-n[0],r[1]-n[1]];return 0!=(o=a)[0]*(s=i)[1]-o[1]*s[0]&&!(!wt(t,e,n,r)||!wt(n,r,t,e));var o,s}function xt(t,e,n){for(const r of n)for(let n=0;nn[2]){const e=.5*r;let i=t[0]-n[0]>e?-r:n[0]-t[0]>e?r:0;0===i&&(i=t[0]-n[2]>e?-r:n[2]-t[0]>e?r:0),t[0]+=i}mt(e,t)}function jt(t,e,n,r){const i=Math.pow(2,r.z)*vt,a=[r.x*vt,r.y*vt],o=[];for(const r of t)for(const t of r){const r=[t.x+a[0],t.y+a[1]];Tt(r,e,n,i),o.push(r)}return o}function Et(t,e,n,r){const i=Math.pow(2,r.z)*vt,a=[r.x*vt,r.y*vt],o=[];for(const n of t){const t=[];for(const r of n){const n=[r.x+a[0],r.y+a[1]];mt(e,n),t.push(n)}o.push(t)}if(e[2]-e[0]<=i/2){(s=e)[0]=s[1]=1/0,s[2]=s[3]=-1/0;for(const t of o)for(const r of t)Tt(r,e,n,i)}var s;return o}class It{constructor(t,e){this.type=P,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(tt(t[1])){const e=t[1];if("FeatureCollection"===e.type)for(let t=0;t{e&&!Lt(t)&&(e=!1)}),e}function Pt(t){if(t instanceof pt&&"feature-state"===t.name)return!1;let e=!0;return t.eachChild(t=>{e&&!Pt(t)&&(e=!1)}),e}function kt(t,e){if(t instanceof pt&&e.indexOf(t.name)>=0)return!1;let n=!0;return t.eachChild(t=>{n&&!kt(t,e)&&(n=!1)}),n}class Ft{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 Ft(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 Vt{constructor(t,e=[],n,r=new j,i=[]){this.registry=t,this.path=e,this.key=e.map(t=>`[${t}]`).join(""),this.scope=r,this.errors=i,this.expectedType=n}parse(t,e,n,r,i={}){return e?this.concat(e,n,r)._parse(t,i):this._parse(t,i)}_parse(t,e){function n(t,e,n){return"assert"===n?new ot(e,[t]):"coerce"===n?new ut(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 r=t[0];if("string"!=typeof r)return this.error(`Expression name must be a string, but found ${typeof r} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const i=this.registry[r];if(i){let r=i.parse(t,this);if(!r)return null;if(this.expectedType){const t=this.expectedType,i=r.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 r=n(r,t,e.typeAnnotation||"coerce");else r=n(r,t,e.typeAnnotation||"assert")}if(!(r instanceof rt)&&"resolvedImage"!==r.type.kind&&function t(e){if(e instanceof Ft)return t(e.boundExpression);if(e instanceof pt&&"error"===e.name)return!1;if(e instanceof ft)return!1;if(e instanceof It)return!1;const n=e instanceof ut||e instanceof ot;let r=!0;e.eachChild(e=>{r=n?r&&t(e):r&&e instanceof rt});if(!r)return!1;return Lt(e)&&kt(e,["zoom","heatmap-density","line-progress","sky-radial-progress","accumulated","is-supported-script"])}(r)){const t=new dt;try{r=new rt(r.type,r.evaluate(t))}catch(t){return this.error(t.message),null}}return r}return this.error(`Unknown expression "${r}". If you wanted a literal array, use ["literal", [...]].`,0)}return void 0===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 r="number"==typeof t?this.path.concat(t):this.path,i=n?this.scope.concat(n):this.scope;return new Vt(this.registry,r,e||null,i,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=G(t,e);return n&&this.error(n),n}}function Bt(t,e){const n=t.length-1;let r,i,a=0,o=n,s=0;for(;a<=o;)if(r=t[s=Math.floor((a+o)/2)],i=t[s+1],r<=e){if(s===n||ee))throw new it("Input is not a number.");o=s-1}return 0}class Rt{constructor(t,e,n){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(const[t,e]of n)this.labels.push(t),this.outputs.push(e)}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,I);if(!n)return null;const r=[];let i=null;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(let n=1;n=a)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',s);const c=e.parse(o,l,i);if(!c)return null;i=i||c.type,r.push([a,c])}return new Rt(i,n,r)}evaluate(t){const e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);const r=this.input.evaluate(t);if(r<=e[0])return n[0].evaluate(t);const i=e.length;return r>=e[i-1]?n[i-1].evaluate(t):n[Bt(e,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 Ht=Dt;function Dt(t,e,n,r){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*(r-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=r,this.p2x=n,this.p2y=r}function Nt(t,e,n){return t*(1-n)+e*n}Dt.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},Dt.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},Dt.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},Dt.prototype.solveCurveX=function(t,e){var n,r,i,a,o;for(void 0===e&&(e=1e-6),i=t,o=0;o<8;o++){if(a=this.sampleCurveX(i)-t,Math.abs(a)r)return r;for(;na?n=i:r=i,i=.5*(r-n)+n}return i},Dt.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var $t=Object.freeze({__proto__:null,number:Nt,color:function(t,e,n){return new X(Nt(t.r,e.r,n),Nt(t.g,e.g,n),Nt(t.b,e.b,n),Nt(t.a,e.a,n))},array:function(t,e,n){return t.map((t,r)=>Nt(t,e[r],n))}});const Gt=.95047,Ut=1,Wt=1.08883,qt=4/29,Xt=6/29,Yt=3*Xt*Xt,Kt=Xt*Xt*Xt,Zt=Math.PI/180,Jt=180/Math.PI;function Qt(t){return t>Kt?Math.pow(t,1/3):t/Yt+qt}function te(t){return t>Xt?t*t*t:Yt*(t-qt)}function ee(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ne(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function re(t){const e=ne(t.r),n=ne(t.g),r=ne(t.b),i=Qt((.4124564*e+.3575761*n+.1804375*r)/Gt),a=Qt((.2126729*e+.7151522*n+.072175*r)/Ut);return{l:116*a-16,a:500*(i-a),b:200*(a-Qt((.0193339*e+.119192*n+.9503041*r)/Wt)),alpha:t.a}}function ie(t){let e=(t.l+16)/116,n=isNaN(t.a)?e:e+t.a/500,r=isNaN(t.b)?e:e-t.b/200;return e=Ut*te(e),n=Gt*te(n),r=Wt*te(r),new X(ee(3.2404542*n-1.5371385*e-.4985314*r),ee(-.969266*n+1.8760108*e+.041556*r),ee(.0556434*n-.2040259*e+1.0572252*r),t.alpha)}const ae={forward:re,reverse:ie,interpolate:function(t,e,n){return{l:Nt(t.l,e.l,n),a:Nt(t.a,e.a,n),b:Nt(t.b,e.b,n),alpha:Nt(t.alpha,e.alpha,n)}}},oe={forward:function(t){const{l:e,a:n,b:r}=re(t),i=Math.atan2(r,n)*Jt;return{h:i<0?i+360:i,c:Math.sqrt(n*n+r*r),l:e,alpha:t.a}},reverse:function(t){const e=t.h*Zt,n=t.c;return ie({l:t.l,a:Math.cos(e)*n,b:Math.sin(e)*n,alpha:t.alpha})},interpolate:function(t,e,n){return{h:function(t,e,n){const r=e-t;return t+n*(r>180||r<-180?r-360*Math.round(r/360):r)}(t.h,e.h,n),c:Nt(t.c,e.c,n),l:Nt(t.l,e.l,n),alpha:Nt(t.alpha,e.alpha,n)}}};var se=Object.freeze({__proto__:null,lab:ae,hcl:oe});class le{constructor(t,e,n,r,i){this.type=t,this.operator=e,this.interpolation=n,this.input=r,this.labels=[],this.outputs=[];for(const[t,e]of i)this.labels.push(t),this.outputs.push(e)}static interpolationFactor(t,e,n,r){let i=0;if("exponential"===t.name)i=ce(e,t.base,n,r);else if("linear"===t.name)i=ce(e,1,n,r);else if("cubic-bezier"===t.name){const a=t.controlPoints;i=new Ht(a[0],a[1],a[2],a[3]).solve(ce(e,1,n,r))}return i}static parse(t,e){let[n,r,i,...a]=t;if(!Array.isArray(r)||0===r.length)return e.error("Expected an interpolation type expression.",1);if("linear"===r[0])r={name:"linear"};else if("exponential"===r[0]){const t=r[1];if("number"!=typeof t)return e.error("Exponential interpolation requires a numeric base.",1,1);r={name:"exponential",base:t}}else{if("cubic-bezier"!==r[0])return e.error(`Unknown interpolation type ${String(r[0])}`,1,0);{const t=r.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);r={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(!(i=e.parse(i,2,I)))return null;const o=[];let s=null;"interpolate-hcl"===n||"interpolate-lab"===n?s=k:e.expectedType&&"value"!==e.expectedType.kind&&(s=e.expectedType);for(let t=0;t=n)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',i);const c=e.parse(r,l,s);if(!c)return null;s=s||c.type,o.push([n,c])}return"number"===s.kind||"color"===s.kind||"array"===s.kind&&"number"===s.itemType.kind&&"number"==typeof s.N?new le(s,n,r,i,o):e.error(`Type ${N(s)} is not interpolatable.`)}evaluate(t){const e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);const r=this.input.evaluate(t);if(r<=e[0])return n[0].evaluate(t);const i=e.length;if(r>=e[i-1])return n[i-1].evaluate(t);const a=Bt(e,r),o=e[a],s=e[a+1],l=le.interpolationFactor(this.interpolation,r,o,s),c=n[a].evaluate(t),u=n[a+1].evaluate(t);return"interpolate"===this.operator?$t[this.type.kind.toLowerCase()](c,u,l):"interpolate-hcl"===this.operator?oe.reverse(oe.interpolate(oe.forward(c),oe.forward(u),l)):ae.reverse(ae.interpolate(ae.forward(c),ae.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 t=0;tG(r,t.type));return new ue(a?V:n,i)}evaluate(t){let e,n=null,r=0;for(const i of this.args)if(r++,(n=i.evaluate(t))&&n instanceof J&&!n.available&&(e||(e=n.name),n=null,r===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 he{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 r=1;r=n.length)throw new it(`Array index out of bounds: ${e} > ${n.length-1}.`);if(e!==Math.floor(e))throw new it(`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 pe{constructor(t,e){this.type=P,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,V),r=e.parse(t[2],2,V);return n&&r?U(n.type,[P,L,I,E,V])?new pe(n,r):e.error(`Expected first argument to be of type boolean, string, number or null, but found ${N(n.type)} instead`):null}evaluate(t){const e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!n)return!1;if(!W(e,["boolean","string","number","null"]))throw new it(`Expected first argument to be of type boolean, string, number or null, but found ${N(et(e))} instead.`);if(!W(n,["string","array"]))throw new it(`Expected second argument to be of type array or string, but found ${N(et(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 fe{constructor(t,e,n){this.type=I,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,V),r=e.parse(t[2],2,V);if(!n||!r)return null;if(!U(n.type,[P,L,I,E,V]))return e.error(`Expected first argument to be of type boolean, string, number or null, but found ${N(n.type)} instead`);if(4===t.length){const i=e.parse(t[3],3,I);return i?new fe(n,r,i):null}return new fe(n,r)}evaluate(t){const e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!W(e,["boolean","string","number","null"]))throw new it(`Expected first argument to be of type boolean, string, number or null, but found ${N(et(e))} instead.`);if(!W(n,["string","array"]))throw new it(`Expected second argument to be of type array or string, but found ${N(et(n))} instead.`);if(this.fromIndex){const r=this.fromIndex.evaluate(t);return n.indexOf(e,r)}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 ve{constructor(t,e,n,r,i,a){this.inputType=t,this.type=e,this.input=n,this.cases=r,this.outputs=i,this.otherwise=a}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,r;e.expectedType&&"value"!==e.expectedType.kind&&(r=e.expectedType);const i={},a=[];for(let o=2;oNumber.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,et(t)))return null}else n=et(t);if(void 0!==i[String(t)])return c.error("Branch labels must be unique.");i[String(t)]=a.length}const u=e.parse(l,o,r);if(!u)return null;r=r||u.type,a.push(u)}const o=e.parse(t[1],1,V);if(!o)return null;const s=e.parse(t[t.length-1],t.length-1,r);return s?"value"!==o.type.kind&&e.concat(1).checkSubtype(n,o.type)?null:new ve(n,r,o,i,a,s):null}evaluate(t){const e=this.input.evaluate(t);return(et(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).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=[],r={};for(const t of e){const e=r[this.cases[t]];void 0===e?(r[this.cases[t]]=n.length,n.push([this.cases[t],[t]])):n[e][1].push(t)}const i=t=>"number"===this.inputType.kind?Number(t):t;for(const[e,r]of n)1===r.length?t.push(i(r[0])):t.push(r.map(i)),t.push(this.outputs[e].serialize());return t.push(this.otherwise.serialize()),t}}class me{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 r=[];for(let i=1;ie.outputDefined())&&this.otherwise.outputDefined()}serialize(){const t=["case"];return this.eachChild(e=>{t.push(e.serialize())}),t}}class ge{constructor(t,e,n,r){this.type=t,this.input=e,this.beginIndex=n,this.endIndex=r}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,V),r=e.parse(t[2],2,I);if(!n||!r)return null;if(!U(n.type,[D(V),L,V]))return e.error(`Expected first argument to be of type array or string, but found ${N(n.type)} instead`);if(4===t.length){const i=e.parse(t[3],3,I);return i?new ge(n.type,n,r,i):null}return new ge(n.type,n,r)}evaluate(t){const e=this.input.evaluate(t),n=this.beginIndex.evaluate(t);if(!W(e,["string","array"]))throw new it(`Expected first argument to be of type array or string, but found ${N(et(e))} instead.`);if(this.endIndex){const r=this.endIndex.evaluate(t);return e.slice(n,r)}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 ye(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 be(t,e,n,r){return 0===r.compare(e,n)}function _e(t,e,n){const r="=="!==t&&"!="!==t;return class i{constructor(t,e,n){this.type=P,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 a=e.parse(t[1],1,V);if(!a)return null;if(!ye(n,a.type))return e.concat(1).error(`"${n}" comparisons are not supported for type '${N(a.type)}'.`);let o=e.parse(t[2],2,V);if(!o)return null;if(!ye(n,o.type))return e.concat(2).error(`"${n}" comparisons are not supported for type '${N(o.type)}'.`);if(a.type.kind!==o.type.kind&&"value"!==a.type.kind&&"value"!==o.type.kind)return e.error(`Cannot compare types '${N(a.type)}' and '${N(o.type)}'.`);r&&("value"===a.type.kind&&"value"!==o.type.kind?a=new ot(o.type,[a]):"value"!==a.type.kind&&"value"===o.type.kind&&(o=new ot(a.type,[o])));let s=null;if(4===t.length){if("string"!==a.type.kind&&"string"!==o.type.kind&&"value"!==a.type.kind&&"value"!==o.type.kind)return e.error("Cannot use collator to compare non-string types.");if(!(s=e.parse(t[3],3,B)))return null}return new i(a,o,s)}evaluate(i){const a=this.lhs.evaluate(i),o=this.rhs.evaluate(i);if(r&&this.hasUntypedArgument){const e=et(a),n=et(o);if(e.kind!==n.kind||"string"!==e.kind&&"number"!==e.kind)throw new it(`Expected arguments for "${t}" to be (string, string) or (number, number), but found (${e.kind}, ${n.kind}) instead.`)}if(this.collator&&!r&&this.hasUntypedArgument){const t=et(a),n=et(o);if("string"!==t.kind||"string"!==n.kind)return e(i,a,o)}return this.collator?n(i,a,o,this.collator.evaluate(i)):e(i,a,o)}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 Oe=_e("==",function(t,e,n){return e===n},be),we=_e("!=",function(t,e,n){return e!==n},function(t,e,n,r){return!be(0,e,n,r)}),ze=_e("<",function(t,e,n){return e",function(t,e,n){return e>n},function(t,e,n,r){return r.compare(e,n)>0}),Ce=_e("<=",function(t,e,n){return e<=n},function(t,e,n,r){return r.compare(e,n)<=0}),Me=_e(">=",function(t,e,n){return e>=n},function(t,e,n,r){return r.compare(e,n)>=0});class Se{constructor(t,e,n,r,i){this.type=L,this.number=t,this.locale=e,this.currency=n,this.minFractionDigits=r,this.maxFractionDigits=i}static parse(t,e){if(3!==t.length)return e.error("Expected two arguments.");const n=e.parse(t[1],1,I);if(!n)return null;const r=t[2];if("object"!=typeof r||Array.isArray(r))return e.error("NumberFormat options argument must be an object.");let i=null;if(r.locale&&!(i=e.parse(r.locale,1,L)))return null;let a=null;if(r.currency&&!(a=e.parse(r.currency,1,L)))return null;let o=null;if(r["min-fraction-digits"]&&!(o=e.parse(r["min-fraction-digits"],1,I)))return null;let s=null;return r["max-fraction-digits"]&&!(s=e.parse(r["max-fraction-digits"],1,I))?null:new Se(n,i,a,o,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 Ae{constructor(t){this.type=I,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 ${N(n.type)} instead.`):new Ae(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 it(`Expected value to be of type string or array, but found ${N(et(e))} instead.`)}eachChild(t){t(this.input)}outputDefined(){return!1}serialize(){const t=["length"];return this.eachChild(e=>{t.push(e.serialize())}),t}}const Te={"==":Oe,"!=":we,">":xe,"<":ze,">=":Me,"<=":Ce,array:ot,at:de,boolean:ot,case:me,coalesce:ue,collator:ft,format:st,image:lt,in:pe,"index-of":fe,interpolate:le,"interpolate-hcl":le,"interpolate-lab":le,length:Ae,let:he,literal:rt,match:ve,number:ot,"number-format":Se,object:ot,slice:ge,step:Rt,string:ot,"to-boolean":ut,"to-color":ut,"to-number":ut,"to-string":ut,var:Ft,within:It};function je(t,[e,n,r,i]){e=e.evaluate(t),n=n.evaluate(t),r=r.evaluate(t);const a=i?i.evaluate(t):1,o=Q(e,n,r,a);if(o)throw new it(o);return new X(e/255*a,n/255*a,r/255*a,a)}function Ee(t,e){return t in e}function Ie(t,e){const n=e[t];return void 0===n?null:n}function Le(t){return{type:t}}function Pe(t){return{result:"success",value:t}}function ke(t){return{result:"error",value:t}}function Fe(t){return"data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function Ve(t){return!!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function Be(t){return!!t.expression&&t.expression.interpolated}function Re(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function He(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function De(t){return t}function Ne(t,e){const n="color"===e.type,r=t.stops&&"object"==typeof t.stops[0][0],i=r||void 0!==t.property,a=r||!i,o=t.type||(Be(e)?"exponential":"interval");if(n&&((t=A({},t)).stops&&(t.stops=t.stops.map(t=>[t[0],X.parse(t[1])])),t.default?t.default=X.parse(t.default):t.default=X.parse(e.default)),t.colorSpace&&"rgb"!==t.colorSpace&&!se[t.colorSpace])throw new Error(`Unknown color space: ${t.colorSpace}`);let s,l,c;if("exponential"===o)s=We;else if("interval"===o)s=Ue;else if("categorical"===o){s=Ge,l=Object.create(null);for(const e of t.stops)l[e[0]]=e[1];c=typeof t.stops[0][0]}else{if("identity"!==o)throw new Error(`Unknown function type "${o}"`);s=qe}if(r){const n={},r=[];for(let e=0;et[0]),evaluate:({zoom:n},r)=>We({stops:i,base:t.base},e,n).evaluate(n,r)}}if(a){const n="exponential"===o?{name:"exponential",base:void 0!==t.base?t.base:1}:null;return{kind:"camera",interpolationType:n,interpolationFactor:le.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,r){const i=r&&r.properties?r.properties[t.property]:void 0;return void 0===i?$e(t.default,e.default):s(t,e,i,l,c)}}}function $e(t,e,n){return void 0!==t?t:void 0!==e?e:void 0!==n?n:void 0}function Ge(t,e,n,r,i){return $e(typeof n===i?r[n]:void 0,t.default,e.default)}function Ue(t,e,n){if("number"!==Re(n))return $e(t.default,e.default);const r=t.stops.length;if(1===r)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[r-1][0])return t.stops[r-1][1];const i=Bt(t.stops.map(t=>t[0]),n);return t.stops[i][1]}function We(t,e,n){const r=void 0!==t.base?t.base:1;if("number"!==Re(n))return $e(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 a=Bt(t.stops.map(t=>t[0]),n),o=function(t,e,n,r){const i=r-n,a=t-n;return 0===i?0:1===e?a/i:(Math.pow(e,a)-1)/(Math.pow(e,i)-1)}(n,r,t.stops[a][0],t.stops[a+1][0]),s=t.stops[a][1],l=t.stops[a+1][1];let c=$t[e.type]||De;if(t.colorSpace&&"rgb"!==t.colorSpace){const e=se[t.colorSpace];c=((t,n)=>e.reverse(e.interpolate(e.forward(t),e.forward(n),o)))}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,o)}}:c(s,l,o)}function qe(t,e,n){return"color"===e.type?n=X.parse(n):"formatted"===e.type?n=Z.fromString(n.toString()):"resolvedImage"===e.type?n=J.fromString(n.toString()):Re(n)===e.type||"enum"===e.type&&e.values[n]||(n=void 0),$e(n,t.default,e.default)}pt.register(Te,{error:[{kind:"error"},[L],(t,[e])=>{throw new it(e.evaluate(t))}],typeof:[L,[V],(t,[e])=>N(et(e.evaluate(t)))],"to-rgba":[D(I,4),[k],(t,[e])=>e.evaluate(t).toArray()],rgb:[k,[I,I,I],je],rgba:[k,[I,I,I,I],je],has:{type:P,overloads:[[[L],(t,[e])=>Ee(e.evaluate(t),t.properties())],[[L,F],(t,[e,n])=>Ee(e.evaluate(t),n.evaluate(t))]]},get:{type:V,overloads:[[[L],(t,[e])=>Ie(e.evaluate(t),t.properties())],[[L,F],(t,[e,n])=>Ie(e.evaluate(t),n.evaluate(t))]]},"feature-state":[V,[L],(t,[e])=>Ie(e.evaluate(t),t.featureState||{})],properties:[F,[],t=>t.properties()],"geometry-type":[L,[],t=>t.geometryType()],id:[V,[],t=>t.id()],zoom:[I,[],t=>t.globals.zoom],"heatmap-density":[I,[],t=>t.globals.heatmapDensity||0],"line-progress":[I,[],t=>t.globals.lineProgress||0],"sky-radial-progress":[I,[],t=>t.globals.skyRadialProgress||0],accumulated:[V,[],t=>void 0===t.globals.accumulated?null:t.globals.accumulated],"+":[I,Le(I),(t,e)=>{let n=0;for(const r of e)n+=r.evaluate(t);return n}],"*":[I,Le(I),(t,e)=>{let n=1;for(const r of e)n*=r.evaluate(t);return n}],"-":{type:I,overloads:[[[I,I],(t,[e,n])=>e.evaluate(t)-n.evaluate(t)],[[I],(t,[e])=>-e.evaluate(t)]]},"/":[I,[I,I],(t,[e,n])=>e.evaluate(t)/n.evaluate(t)],"%":[I,[I,I],(t,[e,n])=>e.evaluate(t)%n.evaluate(t)],ln2:[I,[],()=>Math.LN2],pi:[I,[],()=>Math.PI],e:[I,[],()=>Math.E],"^":[I,[I,I],(t,[e,n])=>Math.pow(e.evaluate(t),n.evaluate(t))],sqrt:[I,[I],(t,[e])=>Math.sqrt(e.evaluate(t))],log10:[I,[I],(t,[e])=>Math.log(e.evaluate(t))/Math.LN10],ln:[I,[I],(t,[e])=>Math.log(e.evaluate(t))],log2:[I,[I],(t,[e])=>Math.log(e.evaluate(t))/Math.LN2],sin:[I,[I],(t,[e])=>Math.sin(e.evaluate(t))],cos:[I,[I],(t,[e])=>Math.cos(e.evaluate(t))],tan:[I,[I],(t,[e])=>Math.tan(e.evaluate(t))],asin:[I,[I],(t,[e])=>Math.asin(e.evaluate(t))],acos:[I,[I],(t,[e])=>Math.acos(e.evaluate(t))],atan:[I,[I],(t,[e])=>Math.atan(e.evaluate(t))],min:[I,Le(I),(t,e)=>Math.min(...e.map(e=>e.evaluate(t)))],max:[I,Le(I),(t,e)=>Math.max(...e.map(e=>e.evaluate(t)))],abs:[I,[I],(t,[e])=>Math.abs(e.evaluate(t))],round:[I,[I],(t,[e])=>{const n=e.evaluate(t);return n<0?-Math.round(-n):Math.round(n)}],floor:[I,[I],(t,[e])=>Math.floor(e.evaluate(t))],ceil:[I,[I],(t,[e])=>Math.ceil(e.evaluate(t))],"filter-==":[P,[L,V],(t,[e,n])=>t.properties()[e.value]===n.value],"filter-id-==":[P,[V],(t,[e])=>t.id()===e.value],"filter-type-==":[P,[L],(t,[e])=>t.geometryType()===e.value],"filter-<":[P,[L,V],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r{const n=t.id(),r=e.value;return typeof n==typeof r&&n":[P,[L,V],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r>i}],"filter-id->":[P,[V],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n>r}],"filter-<=":[P,[L,V],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r<=i}],"filter-id-<=":[P,[V],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n<=r}],"filter->=":[P,[L,V],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r>=i}],"filter-id->=":[P,[V],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n>=r}],"filter-has":[P,[V],(t,[e])=>e.value in t.properties()],"filter-has-id":[P,[],t=>null!==t.id()&&void 0!==t.id()],"filter-type-in":[P,[D(L)],(t,[e])=>e.value.indexOf(t.geometryType())>=0],"filter-id-in":[P,[D(V)],(t,[e])=>e.value.indexOf(t.id())>=0],"filter-in-small":[P,[L,D(V)],(t,[e,n])=>n.value.indexOf(t.properties()[e.value])>=0],"filter-in-large":[P,[L,D(V)],(t,[e,n])=>(function(t,e,n,r){for(;n<=r;){const i=n+r>>1;if(e[i]===t)return!0;e[i]>t?r=i-1:n=i+1}return!1})(t.properties()[e.value],n.value,0,n.value.length-1)],all:{type:P,overloads:[[[P,P],(t,[e,n])=>e.evaluate(t)&&n.evaluate(t)],[Le(P),(t,e)=>{for(const n of e)if(!n.evaluate(t))return!1;return!0}]]},any:{type:P,overloads:[[[P,P],(t,[e,n])=>e.evaluate(t)||n.evaluate(t)],[Le(P),(t,e)=>{for(const n of e)if(n.evaluate(t))return!0;return!1}]]},"!":[P,[P],(t,[e])=>!e.evaluate(t)],"is-supported-script":[P,[L],(t,[e])=>{const n=t.globals&&t.globals.isSupportedScript;return!n||n(e.evaluate(t))}],upcase:[L,[L],(t,[e])=>e.evaluate(t).toUpperCase()],downcase:[L,[L],(t,[e])=>e.evaluate(t).toLowerCase()],concat:[L,Le(V),(t,e)=>e.map(e=>nt(e.evaluate(t))).join("")],"resolved-locale":[L,[B],(t,[e])=>e.evaluate(t).resolvedLocale()]});class Xe{constructor(t,e){var n;this.expression=t,this._warningHistory={},this._evaluator=new dt,this._defaultValue=e?"color"===(n=e).type&&He(n.default)?new X(0,0,0,0):"color"===n.type?X.parse(n.default)||null:void 0===n.default?null:n.default:null,this._enumValues=e&&"enum"===e.type?e.values:null}evaluateWithoutErrorHandling(t,e,n,r,i,a){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=n,this._evaluator.canonical=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=a,this.expression.evaluate(this._evaluator)}evaluate(t,e,n,r,i,a){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=n||null,this._evaluator.canonical=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=a||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 it(`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(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,"undefined"!=typeof console&&console.warn(t.message)),this._defaultValue}}}function Ye(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in Te}function Ke(t,e){const n=new Vt(Te,[],e?function(t){const e={color:k,string:L,number:I,enum:L,boolean:P,formatted:R,resolvedImage:H};if("array"===t.type)return D(e[t.value]||V,t.length);return e[t.type]}(e):void 0),r=n.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return r?Pe(new Xe(r,e)):ke(n.errors)}class Ze{constructor(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!Pt(e.expression)}evaluateWithoutErrorHandling(t,e,n,r,i,a){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,r,i,a)}evaluate(t,e,n,r,i,a){return this._styleExpression.evaluate(t,e,n,r,i,a)}}class Je{constructor(t,e,n,r){this.kind=t,this.zoomStops=n,this._styleExpression=e,this.isStateDependent="camera"!==t&&!Pt(e.expression),this.interpolationType=r}evaluateWithoutErrorHandling(t,e,n,r,i,a){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,r,i,a)}evaluate(t,e,n,r,i,a){return this._styleExpression.evaluate(t,e,n,r,i,a)}interpolationFactor(t,e,n){return this.interpolationType?le.interpolationFactor(this.interpolationType,t,e,n):0}}function Qe(t,e){if("error"===(t=Ke(t,e)).result)return t;const n=t.value.expression,r=Lt(n);if(!r&&!Fe(e))return ke([new T("","data expressions not supported")]);const i=kt(n,["zoom"]);if(!i&&!Ve(e))return ke([new T("","zoom expressions not supported")]);const a=function t(e){let n=null;if(e instanceof he)n=t(e.result);else if(e instanceof ue){for(const r of e.args)if(n=t(r))break}else(e instanceof Rt||e instanceof le)&&e.input instanceof pt&&"zoom"===e.input.name&&(n=e);if(n instanceof T)return n;e.eachChild(e=>{const r=t(e);r instanceof T?n=r:!n&&r?n=new T("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):n&&r&&n!==r&&(n=new T("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))});return n}(n);if(!a&&!i)return ke([new T("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(a instanceof T)return ke([a]);if(a instanceof le&&!Be(e))return ke([new T("",'"interpolate" expressions cannot be used with this property')]);if(!a)return Pe(new Ze(r?"constant":"source",t.value));const o=a instanceof le?a.interpolation:void 0;return Pe(new Je(r?"camera":"composite",t.value,a.labels,o))}class tn{constructor(t,e){this._parameters=t,this._specification=e,A(this,Ne(this._parameters,this._specification))}static deserialize(t){return new tn(t._parameters,t._specification)}static serialize(t){return{_parameters:t._parameters,_specification:t._specification}}}function en(t){return"object"==typeof t?["literal",t]:t}function nn(t,e){let n=t.stops;if(!n)return function(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 r=["color"===e.type?"to-color":e.type,n,en(t.default)];return"array"===e.type&&r.splice(1,0,e.value,e.length||null),r}}(t,e);const r=n&&"object"==typeof n[0][0],i=r||void 0!==t.property,a=r||!i;return n=n.map(t=>!i&&e.tokens&&"string"==typeof t[1]?[t[0],un(t[1])]:[t[0],en(t[1])]),r?function(t,e,n){const r={},i={},a=[];for(let e=0;e3&&e===t[t.length-2]||(r&&2===t.length||t.push(e),t.push(n))}function cn(t,e){return t.type?t.type:e.expression.interpolated?"exponential":"interval"}function un(t){const e=["concat"],n=/{([^{}]+)}/g;let r=0;for(let i=n.exec(t);null!==i;i=n.exec(t)){const a=t.slice(r,n.lastIndex-i[0].length);r=n.lastIndex,a.length>0&&e.push(a),e.push(["get",i[1]])}if(1===e.length)return t;if(r=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(!hn(e)&&"boolean"!=typeof e)return!1;return!0;default:return!0}}const dn={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function pn(t){if(null===t||void 0===t)return{filter:()=>!0,needGeometry:!1};hn(t)||(t=vn(t));const e=Ke(t,dn);if("error"===e.result)throw new Error(e.value.map(t=>`${t.key}: ${t.message}`).join(", "));return{filter:(t,n,r)=>e.value.evaluate(t,n,{},r),needGeometry:function t(e){if(!Array.isArray(e))return!1;if("within"===e[0])return!0;for(let n=1;ne?1:0}function vn(t){if(!t)return!0;const e=t[0];return t.length<=1?"any"!==e:"=="===e?mn(t[1],t[2],"=="):"!="===e?bn(mn(t[1],t[2],"==")):"<"===e||">"===e||"<="===e||">="===e?mn(t[1],t[2],e):"any"===e?(n=t.slice(1),["any"].concat(n.map(vn))):"all"===e?["all"].concat(t.slice(1).map(vn)):"none"===e?["all"].concat(t.slice(1).map(vn).map(bn)):"in"===e?gn(t[1],t.slice(2)):"!in"===e?bn(gn(t[1],t.slice(2))):"has"===e?yn(t[1]):"!has"===e?bn(yn(t[1])):"within"!==e||t;var n}function mn(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 gn(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(fn)]]:["filter-in-small",t,["literal",e]]}}function yn(t){switch(t){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",t]}}function bn(t){return["!",t]}var _n=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function On(t,e){const n={};for(const e in t)"ref"!==e&&(n[e]=t[e]);return _n.forEach(t=>{t in e&&(n[t]=e[t])}),n}function wn(t){t=t.slice();const e=Object.create(null);for(let n=0;ni)return[new zn(e,n,`${n} is greater than the maximum value ${i}`)]}return[]}function En(t){const e=t.valueSpec,n=Mn(t.value.type);let r,i,a,o={};const s="categorical"!==n&&void 0===t.value.property,l=!s,c="array"===Re(t.value.stops)&&"array"===Re(t.value.stops[0])&&"object"===Re(t.value.stops[0][0]),u=An({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===n)return[new zn(t.key,t.value,'identity function may not have a "stops" property')];let e=[];const r=t.value;e=e.concat(Tn({key:t.key,value:r,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:h})),"array"===Re(r)&&0===r.length&&e.push(new zn(t.key,r,"array must have at least one stop"));return e},default:function(t){return Un({key:t.key,value:t.value,valueSpec:e,style:t.style,styleSpec:t.styleSpec})}}});return"identity"===n&&s&&u.push(new zn(t.key,t.value,'missing required property "property"')),"identity"===n||t.value.stops||u.push(new zn(t.key,t.value,'missing required property "stops"')),"exponential"===n&&t.valueSpec.expression&&!Be(t.valueSpec)&&u.push(new zn(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(l&&!Fe(t.valueSpec)?u.push(new zn(t.key,t.value,"property functions not supported")):s&&!Ve(t.valueSpec)&&u.push(new zn(t.key,t.value,"zoom functions not supported"))),"categorical"!==n&&!c||void 0!==t.value.property||u.push(new zn(t.key,t.value,'"property" property is required')),u;function h(t){let n=[];const r=t.value,s=t.key;if("array"!==Re(r))return[new zn(s,r,`array expected, ${Re(r)} found`)];if(2!==r.length)return[new zn(s,r,`array length 2 expected, length ${r.length} found`)];if(c){if("object"!==Re(r[0]))return[new zn(s,r,`object expected, ${Re(r[0])} found`)];if(void 0===r[0].zoom)return[new zn(s,r,"object stop key must have zoom")];if(void 0===r[0].value)return[new zn(s,r,"object stop key must have value")];if(a&&a>Mn(r[0].zoom))return[new zn(s,r[0].zoom,"stop zoom values must appear in ascending order")];Mn(r[0].zoom)!==a&&(a=Mn(r[0].zoom),i=void 0,o={}),n=n.concat(An({key:`${s}[0]`,value:r[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:jn,value:d}}))}else n=n.concat(d({key:`${s}[0]`,value:r[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},r));return Ye(Sn(r[1]))?n.concat([new zn(`${s}[1]`,r[1],"expressions are not allowed in function stops.")]):n.concat(Un({key:`${s}[1]`,value:r[1],valueSpec:e,style:t.style,styleSpec:t.styleSpec}))}function d(t,a){const s=Re(t.value),l=Mn(t.value),c=null!==t.value?t.value:a;if(r){if(s!==r)return[new zn(t.key,c,`${s} stop domain type must match previous stop domain type ${r}`)]}else r=s;if("number"!==s&&"string"!==s&&"boolean"!==s)return[new zn(t.key,c,"stop domain value must be a number, string, or boolean")];if("number"!==s&&"categorical"!==n){let r=`number expected, ${s} found`;return Fe(e)&&void 0===n&&(r+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new zn(t.key,c,r)]}return"categorical"!==n||"number"!==s||isFinite(l)&&Math.floor(l)===l?"categorical"!==n&&"number"===s&&void 0!==i&&lnew zn(`${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 zn(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&&!Pt(n))return[new zn(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!Pt(n))return[new zn(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!kt(n,["zoom","feature-state"]))return[new zn(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!Lt(n))return[new zn(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function Ln(t){const e=t.key,n=t.value,r=t.valueSpec,i=[];return Array.isArray(r.values)?-1===r.values.indexOf(Mn(n))&&i.push(new zn(e,n,`expected one of [${r.values.join(", ")}], ${JSON.stringify(n)} found`)):-1===Object.keys(r.values).indexOf(Mn(n))&&i.push(new zn(e,n,`expected one of [${Object.keys(r.values).join(", ")}], ${JSON.stringify(n)} found`)),i}function Pn(t){return hn(Sn(t.value))?In(A({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):function t(e){const n=e.value;const r=e.key;if("array"!==Re(n))return[new zn(r,n,`array expected, ${Re(n)} found`)];const i=e.styleSpec;let a;let o=[];if(n.length<1)return[new zn(r,n,"filter array must have at least 1 element")];o=o.concat(Ln({key:`${r}[0]`,value:n[0],valueSpec:i.filter_operator,style:e.style,styleSpec:e.styleSpec}));switch(Mn(n[0])){case"<":case"<=":case">":case">=":n.length>=2&&"$type"===Mn(n[1])&&o.push(new zn(r,n,`"$type" cannot be use with operator "${n[0]}"`));case"==":case"!=":3!==n.length&&o.push(new zn(r,n,`filter array for operator "${n[0]}" must have 3 elements`));case"in":case"!in":n.length>=2&&"string"!==(a=Re(n[1]))&&o.push(new zn(`${r}[1]`,n[1],`string expected, ${a} found`));for(let t=2;t{t in n&&e.push(new zn(r,n[t],`"${t}" is prohibited for ref layers`))}),i.layers.forEach(e=>{Mn(e.id)===s&&(t=e)}),t?t.ref?e.push(new zn(r,n.ref,"ref cannot reference another ref layer")):o=Mn(t.type):e.push(new zn(r,n.ref,`ref layer "${s}" not found`))}else if("background"!==o&&"sky"!==o)if(n.source){const t=i.sources&&i.sources[n.source],a=t&&Mn(t.type);t?"vector"===a&&"raster"===o?e.push(new zn(r,n.source,`layer "${n.id}" requires a raster source`)):"raster"===a&&"raster"!==o?e.push(new zn(r,n.source,`layer "${n.id}" requires a vector source`)):"vector"!==a||n["source-layer"]?"raster-dem"===a&&"hillshade"!==o?e.push(new zn(r,n.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==o||!n.paint||!n.paint["line-gradient"]||"geojson"===a&&t.lineMetrics||e.push(new zn(r,n,`layer "${n.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):e.push(new zn(r,n,`layer "${n.id}" must specify a "source-layer"`)):e.push(new zn(r,n.source,`source "${n.source}" not found`))}else e.push(new zn(r,n,'missing required property "source"'));return e=e.concat(An({key:r,value:n,valueSpec:a.layer,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":()=>[],type:()=>Un({key:`${r}.type`,value:n.type,valueSpec:a.layer.type,style:t.style,styleSpec:t.styleSpec,object:n,objectKey:"type"}),filter:Pn,layout:t=>An({layer:n,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":t=>Vn(A({layerType:o},t))}}),paint:t=>An({layer:n,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":t=>Fn(A({layerType:o},t))}})}}))}function Rn(t){const e=t.value,n=t.key,r=Re(e);return"string"!==r?[new zn(n,e,`string expected, ${r} found`)]:[]}const Hn={promoteId:function({key:t,value:e}){if("string"===Re(e))return Rn({key:t,value:e});{const n=[];for(const r in e)n.push(...Rn({key:`${t}.${r}`,value:e[r]}));return n}}};function Dn(t){const e=t.value,n=t.key,r=t.styleSpec,i=t.style;if(!e.type)return[new zn(n,e,'"type" is required')];const a=Mn(e.type);let o;switch(a){case"vector":case"raster":case"raster-dem":return o=An({key:n,value:e,valueSpec:r[`source_${a.replace("-","_")}`],style:t.style,styleSpec:r,objectElementValidators:Hn});case"geojson":if(o=An({key:n,value:e,valueSpec:r.source_geojson,style:i,styleSpec:r,objectElementValidators:Hn}),e.cluster)for(const t in e.clusterProperties){const[r,i]=e.clusterProperties[t],a="string"==typeof r?[r,["accumulated"],["get",t]]:r;o.push(...In({key:`${n}.${t}.map`,value:i,expressionContext:"cluster-map"})),o.push(...In({key:`${n}.${t}.reduce`,value:a,expressionContext:"cluster-reduce"}))}return o;case"video":return An({key:n,value:e,valueSpec:r.source_video,style:i,styleSpec:r});case"image":return An({key:n,value:e,valueSpec:r.source_image,style:i,styleSpec:r});case"canvas":return[new zn(n,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Ln({key:`${n}.type`,value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:i,styleSpec:r})}}function Nn(t){const e=t.value,n=t.styleSpec,r=n.light,i=t.style;let a=[];const o=Re(e);if(void 0===e)return a;if("object"!==o)return a=a.concat([new zn("light",e,`object expected, ${o} found`)]);for(const t in e){const o=t.match(/^(.*)-transition$/);a=o&&r[o[1]]&&r[o[1]].transition?a.concat(Un({key:t,value:e[t],valueSpec:n.transition,style:i,styleSpec:n})):r[t]?a.concat(Un({key:t,value:e[t],valueSpec:r[t],style:i,styleSpec:n})):a.concat([new zn(t,e[t],`unknown property "${t}"`)])}return a}function $n(t){const e=t.value,n=t.key,r=t.style,i=t.styleSpec,a=i.terrain;let o=[];const s=Re(e);if(void 0===e)return o;if("object"!==s)return o=o.concat([new zn("terrain",e,`object expected, ${s} found`)]);for(const t in e){const n=t.match(/^(.*)-transition$/);o=n&&a[n[1]]&&a[n[1]].transition?o.concat(Un({key:t,value:e[t],valueSpec:i.transition,style:r,styleSpec:i})):a[t]?o.concat(Un({key:t,value:e[t],valueSpec:a[t],style:r,styleSpec:i})):o.concat([new zn(t,e[t],`unknown property "${t}"`)])}if(e.source){const t=r.sources&&r.sources[e.source],i=t&&Mn(t.type);t?"raster-dem"!==i&&o.push(new zn(n,e.source,`terrain cannot be used with a source of type ${i}, it only be used with a "raster-dem" source type`)):o.push(new zn(n,e.source,`source "${e.source}" not found`))}else o.push(new zn(n,e,'terrain is missing required property "source"'));return o}const Gn={"*":()=>[],array:Tn,boolean:function(t){const e=t.value,n=t.key,r=Re(e);return"boolean"!==r?[new zn(n,e,`boolean expected, ${r} found`)]:[]},number:jn,color:function(t){const e=t.key,n=t.value,r=Re(n);return"string"!==r?[new zn(e,n,`color expected, ${r} found`)]:null===q(n)?[new zn(e,n,`color expected, "${n}" found`)]:[]},constants:Cn,enum:Ln,filter:Pn,function:En,layer:Bn,object:An,source:Dn,light:Nn,terrain:$n,string:Rn,formatted:function(t){return 0===Rn(t).length?[]:In(t)},resolvedImage:function(t){return 0===Rn(t).length?[]:In(t)}};function Un(t){const e=t.value,n=t.valueSpec,r=t.styleSpec;if(n.expression&&He(Mn(e)))return En(t);if(n.expression&&Ye(Sn(e)))return In(t);if(n.type&&Gn[n.type])return Gn[n.type](t);return An(A({},t,{valueSpec:n.type?r[n.type]:n}))}function Wn(t){const e=t.value,n=t.key,r=Rn(t);return r.length?r:(-1===e.indexOf("{fontstack}")&&r.push(new zn(n,e,'"glyphs" url must include a "{fontstack}" token')),-1===e.indexOf("{range}")&&r.push(new zn(n,e,'"glyphs" url must include a "{range}" token')),r)}function qn(t,e=i){let n=[];return n=n.concat(Un({key:"",value:t,valueSpec:e.$root,styleSpec:e,style:t,objectElementValidators:{glyphs:Wn,"*":()=>[]}})),t.constants&&(n=n.concat(Cn({key:"constants",value:t.constants,style:t,styleSpec:e}))),Xn(n)}function Xn(t){return[].concat(t).sort((t,e)=>t.line-e.line)}function Yn(t){return function(...e){return Xn(t.apply(this,e))}}qn.source=Yn(Dn),qn.light=Yn(Nn),qn.terrain=Yn($n),qn.layer=Yn(Bn),qn.filter=Yn(Pn),qn.paintProperty=Yn(Fn),qn.layoutProperty=Yn(Vn);var Kn=o(function(t,e){var n=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,12],n=[1,13],r=[1,9],i=[1,10],a=[1,11],o=[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,r,i,a,o){var s=a.length-1;switch(i){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.$=a[s-1];case 13:this.$={},Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 14:case 19:this.$=a[s-1],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 15:this.$=[a[s-2],a[s]];break;case 16:this.$={},this.$[a[s][0]]=a[s][1];break;case 17:this.$=a[s-2],a[s-2][a[s][0]]=a[s][1];break;case 18:this.$=[],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 20:this.$=[a[s]];break;case 21:this.$=a[s-2],a[s-2].push(a[s])}},table:[{3:5,4:e,5:6,6:n,7:3,8:r,9:4,10:i,11:a,12:1,13:2,15:7,16:8,17:o,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:r,9:4,10:i,11:a,13:23,15:7,16:8,17:o,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:r,9:4,10:i,11:a,13:30,15:7,16:8,17:o,23:s},t(l,[2,19]),{3:5,4:e,5:6,6:n,7:3,8:r,9:4,10:i,11:a,13:31,15:7,16:8,17:o,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],r=[null],i=[],a=this.table,o="",s=0,l=0,c=1,u=i.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var f=h.yylloc;i.push(f);var v=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,g,y,b,_,O,w,z,x,C={};;){if(g=n[n.length-1],this.defaultActions[g]?y=this.defaultActions[g]:(null!==m&&void 0!==m||(x=void 0,"number"!=typeof(x=h.lex()||c)&&(x=e.symbols_[x]||x),m=x),y=a[g]&&a[g][m]),void 0===y||!y.length||!y[0]){var M="";for(_ in z=[],a[g])this.terminals_[_]&&_>2&&z.push("'"+this.terminals_[_]+"'");M=h.showPosition?"Parse error on line "+(s+1)+":\n"+h.showPosition()+"\nExpecting "+z.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(s+1)+": Unexpected "+(m==c?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(M,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:f,expected:z})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+m);switch(y[0]){case 1:n.push(m),r.push(h.yytext),i.push(h.yylloc),n.push(y[1]),m=null,l=h.yyleng,o=h.yytext,s=h.yylineno,f=h.yylloc;break;case 2:if(O=this.productions_[y[1]][1],C.$=r[r.length-O],C._$={first_line:i[i.length-(O||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(O||1)].first_column,last_column:i[i.length-1].last_column},v&&(C._$.range=[i[i.length-(O||1)].range[0],i[i.length-1].range[1]]),void 0!==(b=this.performAction.apply(C,[o,l,s,d.yy,y[1],r,i].concat(u))))return b;O&&(n=n.slice(0,-1*O*2),r=r.slice(0,-1*O),i=i.slice(0,-1*O)),n.push(this.productions_[y[1]][0]),r.push(C.$),i.push(C._$),w=a[n[n.length-2]][n[n.length-1]],n.push(w);break;case 3:return!0}}return!0}},d={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];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(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 r=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 i=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===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[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,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.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 a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&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(){return this.conditionStack.length-1>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))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){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}}};function p(){this.yy={}}return h.lexer=d,p.prototype=h,h.Parser=p,new p}();e.parser=n,e.Parser=n.Parser,e.parse=function(){return n.parse.apply(n,arguments)}});Kn.parser,Kn.Parser,Kn.parse;function Zn(t){if(t instanceof String||"string"==typeof t||t instanceof r)try{return Kn.parse(t.toString())}catch(t){throw new xn(t)}return t}function Jn(t,e=i){let n=t;try{n=Zn(n)}catch(t){return[t]}return qn(n,e)}const Qn={StyleExpression:Xe,isExpression:Ye,isExpressionFilter:hn,createExpression:Ke,createPropertyExpression:Qe,normalizePropertyExpression:function(t,e){if(He(t))return new tn(t,e);if(Ye(t)){const n=Qe(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=X.parse(t)),{kind:"constant",evaluate:()=>n}}},ZoomConstantExpression:Ze,ZoomDependentExpression:Je,StylePropertyFunction:tn},tr={convertFunction:nn,createFunction:Ne,isFunction:He};Jn.parsed=Jn,Jn.latest=Jn}).call(e,n("DuR2"),n("EuP9").Buffer)},nq2H:function(t,e,n){"use strict";var r,i=n("XOen"),a=n("57Gy"),o=n("OEyb"),s=n("6t+W"),l=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e){var n=t.call(this)||this;if(n.id_=void 0,n.geometryName_="geometry",n.style_=null,n.styleFunction_=void 0,n.geometryChangeKey_=null,n.addEventListener(Object(i.b)(n.geometryName_),n.handleGeometryChanged_),e)if("function"==typeof e.getSimplifiedGeometry){var r=e;n.setGeometry(r)}else{var a=e;n.setProperties(a)}return n}return l(e,t),e.prototype.clone=function(){var t=new e(this.hasProperties()?this.getProperties():null);t.setGeometryName(this.getGeometryName());var n=this.getGeometry();n&&t.setGeometry(n.clone());var r=this.getStyle();return r&&t.setStyle(r),t},e.prototype.getGeometry=function(){return this.get(this.geometryName_)},e.prototype.getId=function(){return this.id_},e.prototype.getGeometryName=function(){return this.geometryName_},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.handleGeometryChange_=function(){this.changed()},e.prototype.handleGeometryChanged_=function(){this.geometryChangeKey_&&(Object(s.c)(this.geometryChangeKey_),this.geometryChangeKey_=null);var t=this.getGeometry();t&&(this.geometryChangeKey_=Object(s.a)(t,a.a.CHANGE,this.handleGeometryChange_,this)),this.changed()},e.prototype.setGeometry=function(t){this.set(this.geometryName_,t)},e.prototype.setStyle=function(t){this.style_=t,this.styleFunction_=t?function(t){if("function"==typeof t)return t;var e;if(Array.isArray(t))e=t;else{Object(o.a)("function"==typeof t.getZIndex,41);var n=t;e=[n]}return function(){return e}}(t):void 0,this.changed()},e.prototype.setId=function(t){this.id_=t,this.changed()},e.prototype.setGeometryName=function(t){this.removeEventListener(Object(i.b)(this.geometryName_),this.handleGeometryChanged_),this.geometryName_=t,this.addEventListener(Object(i.b)(this.geometryName_),this.handleGeometryChanged_),this.handleGeometryChanged_()},e}(i.a);e.a=c},nxYM:function(t,e,n){"use strict";e.b=c;var r,i=n("bhTf"),a=n("57Gy"),o=n("6t+W"),s=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(t){function e(){var e=t.call(this)||this;return e.revision_=0,e}return s(e,t),e.prototype.changed=function(){++this.revision_,this.dispatchEvent(a.a.CHANGE)},e.prototype.getRevision=function(){return this.revision_},e.prototype.on=function(t,e){if(Array.isArray(t)){for(var n=t.length,r=new Array(n),i=0;ithis.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}();e.b=r},"o1z/":function(t,e,n){"use strict";e.a=function(t,e,n){return Math.min(Math.max(t,e),n)},n.d(e,"b",function(){return r}),n.d(e,"d",function(){return i}),e.h=function(t,e,n,r,i,o){var s=i-n,l=o-r;if(0!==s||0!==l){var c=((t-n)*s+(e-r)*l)/(s*s+l*l);c>1?(n=i,r=o):c>0&&(n+=s*c,r+=l*c)}return a(t,e,n,r)},e.g=a,e.f=function(t){for(var e=t.length,n=0;ni&&(i=o,r=a)}if(0===i)return null;var s=t[r];t[r]=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},e.i=function(t){return 180*t/Math.PI},e.j=function(t){return t*Math.PI/180},e.e=function(t,e){var n=t%e;return n*e<0?n+e:n},e.c=function(t,e,n){return t+n*(e-t)};var r="cosh"in Math?Math.cosh:function(t){var e=Math.exp(t);return(e+1/e)/2},i="log2"in Math?Math.log2:function(t){return Math.log(t)*Math.LOG2E};function a(t,e,n,r){var i=n-t,a=r-e;return i*i+a*a}},oJlt:function(t,e,n){"use strict";var r=n("cGG2"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,a,o={};return t?(r.forEach(t.split("\n"),function(t){if(a=t.indexOf(":"),e=r.trim(t.substr(0,a)).toLowerCase(),n=r.trim(t.substr(a+1)),e){if(o[e]&&i.indexOf(e)>=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}}),o):o}},oshc:function(t,e,n){"use strict";var r=n("tBrt"),i=n("Y7y8"),a=n("Fu+J"),o=n("iVh2"),s=n("QBya"),l=n("Oeue"),c=n("3ciB"),u=n("/LWt");function h(t,e,n,r,i){var a,o,s,l,c,u,h,d,p,f=n,v=n,m=0,g=0,y=n;for(a=n;at&&(g>m&&(m=g,f=y,v=a),g=0,y=a-i)),o=s,u=d,h=p),l=b,c=_}return(g+=s)>m?[y,a]:[f,v]}n.d(e,"a",function(){return f});var d,p=this&&this.__extends||(d=function(t,e){return(d=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)},function(t,e){function n(){this.constructor=t}d(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},v=function(t){function e(e,n,r,i){var a=t.call(this,e,n,r,i)||this;return a.labels_=null,a.text_="",a.textOffsetX_=0,a.textOffsetY_=0,a.textRotateWithView_=void 0,a.textRotation_=0,a.textFillState_=null,a.fillStates={},a.textStrokeState_=null,a.strokeStates={},a.textState_={},a.textStates={},a.textKey_="",a.fillKey_="",a.strokeKey_="",a.declutterImageWithText_=void 0,a}return p(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_,r=this.textStrokeState_,s=this.textState_;if(""!==this.text_&&s&&(n||r)){var c=this.coordinates,d=c.length,p=t.getType(),f=null,v=t.getStride();if(s.placement!==o.a.LINE||p!=a.a.LINE_STRING&&p!=a.a.MULTI_LINE_STRING&&p!=a.a.POLYGON&&p!=a.a.MULTI_POLYGON){var m=s.overflow?null:[];switch(p){case a.a.POINT:case a.a.MULTI_POINT:f=t.getFlatCoordinates();break;case a.a.LINE_STRING:f=t.getFlatMidpoint();break;case a.a.CIRCLE:f=t.getCenter();break;case a.a.MULTI_LINE_STRING:f=t.getFlatMidpoints(),v=2;break;case a.a.POLYGON:f=t.getFlatInteriorPoint(),s.overflow||m.push(f[2]/this.resolution),v=3;break;case a.a.MULTI_POLYGON:var g=t.getFlatInteriorPoints();f=[];for(S=0,A=g.length;S=n[0]||(t[1]<=n[1]&&t[3]>=n[1]||Object(o.u)(t,this.intersectsCoordinate.bind(this)))}return!1},e.prototype.setCenter=function(t){var e=this.stride,n=this.flatCoordinates[e]-this.flatCoordinates[0],r=t.slice();r[e]=r[0]+n;for(var i=1;i=o[0]&&s[2]<=o[2]||(s[1]>=o[1]&&s[3]<=o[3]||Object(i.a)(t,e,n,a,function(t,e){return Object(r.H)(o,t,e)}))))}function s(t,e,n,r,i){if(!function(t,e,n,r,i){return!!(o(t,e,n,r,i)||Object(a.b)(t,e,n,r,i[0],i[1])||Object(a.b)(t,e,n,r,i[0],i[3])||Object(a.b)(t,e,n,r,i[2],i[1])||Object(a.b)(t,e,n,r,i[2],i[3]))}(t,e,n[0],r,i))return!1;if(1===n.length)return!0;for(var s=1,l=n.length;s0}function a(t,e,n,r,a){for(var o=void 0!==a&&a,s=0,l=n.length;sl;)r.f(t,n=o[l++],e[n]);return t}},qkKv:function(t,e,n){var r=n("FeBl"),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},rLHh:function(t,e,n){"use strict";var r,i=n("VVyK"),a=n("o1CS"),o=n("DL7K"),s=n("azsZ"),l=n("tFCN"),c=n("/LWt"),u=n("Oeue"),h=n("yGLh"),d=n("3ciB"),p=n("zF6X"),f=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),v=function(t){function e(e){var n=t.call(this,e)||this;return n.extentChanged=!0,n.renderedExtent_=null,n.renderedPixelRatio,n.renderedProjection=null,n.renderedRevision,n.renderedTiles=[],n.newTiles_=!1,n.tmpExtent=Object(c.k)(),n.tmpTileRange_=new a.b(0,0,0,0),n}return f(e,t),e.prototype.isDrawableTile=function(t){var e=this.getLayer(),n=t.getState(),r=e.getUseInterimTilesOnError();return n==o.a.LOADED||n==o.a.EMPTY||n==o.a.ERROR&&!r},e.prototype.getTile=function(t,e,n,r){var i=r.pixelRatio,a=r.viewState.projection,s=this.getLayer(),l=s.getSource().getTile(t,e,n,i,a);return l.getState()==o.a.ERROR&&(s.getUseInterimTilesOnError()?s.getPreload()>0&&(this.newTiles_=!0):l.setState(o.a.LOADED)),this.isDrawableTile(l)||(l=l.getInterimTile()),l},e.prototype.loadedTileCallback=function(e,n,r){return!!this.isDrawableTile(r)&&t.prototype.loadedTileCallback.call(this,e,n,r)},e.prototype.prepareFrame=function(t){return!!this.getLayer().getSource()},e.prototype.renderFrame=function(t,e){var n=t.layerStatesArray[t.layerIndex],r=t.viewState,i=r.projection,a=r.resolution,f=r.center,v=r.rotation,m=t.pixelRatio,g=this.getLayer(),y=g.getSource(),b=y.getRevision(),_=y.getTileGridForProjection(i),O=_.getZForResolution(a,y.zDirection),w=_.getResolution(O),z=t.extent,x=n.extent&&Object(h.f)(n.extent,i);x&&(z=Object(c.C)(z,Object(h.f)(n.extent,i)));var C=y.getTilePixelRatio(m),M=Math.round(t.size[0]*C),S=Math.round(t.size[1]*C);if(v){var A=Math.round(Math.sqrt(M*M+S*S));M=A,S=A}var T=w*M/2/C,j=w*S/2/C,E=[f[0]-T,f[1]-j,f[0]+T,f[1]+j],I=_.getTileRangeForExtentAndZ(z,O),L={};L[O]={};var P=this.createLoadedTileFinder(y,i,L),k=this.tmpExtent,F=this.tmpTileRange_;this.newTiles_=!1;for(var V=I.minX;V<=I.maxX;++V)for(var B=I.minY;B<=I.maxY;++B){var R=this.getTile(O,V,B,t);if(this.isDrawableTile(R)){var H=Object(d.c)(this);if(R.getState()==o.a.LOADED){L[O][R.tileCoord.toString()]=R;var D=R.inTransition(H);this.newTiles_||!D&&-1!==this.renderedTiles.indexOf(R)||(this.newTiles_=!0)}if(1===R.getAlpha(H,t.time))continue}var N=_.getTileCoordChildTileRange(R.tileCoord,F,k),$=!1;N&&($=P(O+1,N)),$||_.forEachTileCoordParentTileRange(R.tileCoord,P,F,k)}var G=w/a;Object(s.b)(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/C,1/C,v,-M/2,-S/2);var U=Object(u.b)(this.pixelTransform);this.useContainer(e,U,n.opacity);var W=this.context,q=W.canvas;Object(s.d)(this.inversePixelTransform,this.pixelTransform),Object(s.b)(this.tempTransform,M/2,S/2,G,G,0,-M/2,-S/2),q.width!=M||q.height!=S?(q.width=M,q.height=S):this.containerReused||W.clearRect(0,0,M,S),x&&this.clipUnrotated(W,t,x),Object(l.a)(W,y.getContextOptions()),this.preRender(W,t),this.renderedTiles.length=0;var X,Y,K,Z=Object.keys(L).map(Number);Z.sort(p.i),1!==n.opacity||this.containerReused&&!y.getOpaque(t.viewState.projection)?(X=[],Y=[]):Z=Z.reverse();for(var J=Z.length-1;J>=0;--J){var Q=Z[J],tt=y.getTilePixelSize(Q,m,i),et=_.getResolution(Q)/w,nt=tt[0]*et*G,rt=tt[1]*et*G,it=_.getTileCoordForCoordAndZ(Object(c.D)(E),Q),at=_.getTileCoordExtent(it),ot=Object(s.a)(this.tempTransform,[C*(at[0]-E[0])/w,C*(E[3]-at[3])/w]),st=C*y.getGutterForProjection(i),lt=L[Q];for(var ct in lt){var ut=(R=lt[ct]).tileCoord,ht=ot[0]-(it[1]-ut[1])*nt,dt=Math.round(ht+nt),pt=ot[1]-(it[2]-ut[2])*rt,ft=Math.round(pt+rt),vt=dt-(V=Math.round(ht)),mt=ft-(B=Math.round(pt)),gt=O===Q;if(!(D=gt&&1!==R.getAlpha(Object(d.c)(this),t.time)))if(X){W.save(),K=[V,B,V+vt,B,V+vt,B+mt,V,B+mt];for(var yt=0,bt=X.length;yt0&&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){for(var e=this.oldest_;e;)t(e.value_,e.key_,this),e=e.newer},t.prototype.get=function(t,e){var n=this.entries_[t];return Object(i.a)(void 0!==n,15),n===this.newest_?n.value_:(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(i.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(i.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}(),o=n("fGqn"),s=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.expireCache=function(t){for(;this.canExpireCache();){if(this.peekLast().getKey()in t)break;this.pop().release()}},e.prototype.pruneExceptNewestZ=function(){if(0!==this.getCount()){var t=this.peekFirstKey(),e=Object(o.b)(t)[0];this.forEach(function(t){t.tileCoord[0]!==e&&(this.remove(Object(o.c)(t.tileCoord)),t.release())}.bind(this))}},e}(a);e.a=l},sB3e:function(t,e,n){var r=n("52gC");t.exports=function(t){return Object(r(t))}},sOR5:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},t8qj:function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},t8x9:function(t,e,n){var r=n("77Pl"),i=n("lOnJ"),a=n("dSzd")("species");t.exports=function(t,e){var n,o=r(t).constructor;return void 0===o||void 0==(n=r(o)[a])?e:i(n)}},tBrt:function(t,e,n){"use strict";var r,i=n("Y7y8"),a=n("Fu+J"),o=n("+Ggc"),s=n("Heua"),l=n("QBya"),c=n("/LWt"),u=n("Oeue"),h=n("zF6X"),d=n("wupX"),p=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e,n,r,i){var a=t.call(this)||this;return a.tolerance=e,a.maxExtent=n,a.pixelRatio=i,a.maxLineWidth=0,a.resolution=r,a.beginGeometryInstruction1_=null,a.beginGeometryInstruction2_=null,a.bufferedMaxExtent_=null,a.instructions=[],a.coordinates=[],a.tmpCoordinate_=[],a.hitDetectionInstructions=[],a.state={},a}return p(e,t),e.prototype.applyPixelRatio=function(t){var e=this.pixelRatio;return 1==e?t:t.map(function(t){return t*e})},e.prototype.appendFlatPointCoordinates=function(t,e){for(var n=this.getBufferedMaxExtent(),r=this.tmpCoordinate_,i=this.coordinates,a=i.length,o=0,s=t.length;op&&this.instructions.push([i.c.CUSTOM,p,o,t,n,d.a])):u==a.a.POINT&&(r=t.getFlatCoordinates(),this.coordinates.push(r[0],r[1]),o=this.coordinates.length,this.instructions.push([i.c.CUSTOM,p,o,t,n]));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,r,a=e.length,o=-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,r=t.lineCap,i=t.lineDash,a=t.lineDashOffset,o=t.lineJoin,s=t.lineWidth,l=t.miterLimit;(t.currentStrokeStyle!=n||t.currentLineCap!=r||i!=t.currentLineDash&&!Object(h.b)(t.currentLineDash,i)||t.currentLineDashOffset!=a||t.currentLineJoin!=o||t.currentLineWidth!=s||t.currentMiterLimit!=l)&&(void 0!==n&&e.call(this,t),t.currentStrokeStyle=n,t.currentLineCap=r,t.currentLineDash=i,t.currentLineDashOffset=a,t.currentLineJoin=o,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(c.e)(this.maxExtent),this.maxLineWidth>0)){var t=this.resolution*(this.maxLineWidth+1)/2;Object(c.d)(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_},e}(s.a);e.a=f},tFCN:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),e.b=function(t){for(var e in t)delete t[e]},n.d(e,"c",function(){return i}),e.d=function(t){var e;for(e in t)return!1;return!e};var r="function"==typeof Object.assign?Object.assign:function(t,e){if(void 0===t||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1,i=arguments.length;r */ e.read=function(t,e,n,r,i){var a,o,s=8*i-r-1,l=(1<>1,u=-7,h=n?i-1:0,d=n?-1:1,p=t[e+h];for(h+=d,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=256*a+t[e+h],h+=d,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=256*o+t[e+h],h+=d,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),a-=c}return(p?-1:1)*o*Math.pow(2,a-r)},e.write=function(t,e,n,r,i,a){var o,s,l,c=8*a-i-1,u=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:a-1,f=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=u):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),(e+=o+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(o++,l/=2),o+h>=u?(s=0,o=u):o+h>=1?(s=(e*l-1)*Math.pow(2,i),o+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),o=0));i>=8;t[n+p]=255&s,p+=f,s/=256,i-=8);for(o=o<0;t[n+p]=255&o,p+=f,o/=256,c-=8);t[n+p-f]|=128*v}},uli1:function(t,e,n){"use strict";var r,i=n("Gciu"),a=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(t){function e(e){var n=e||{};return t.call(this,{points:1/0,fill:n.fill,radius:n.radius,stroke:n.stroke,scale:void 0!==n.scale?n.scale:1,rotation:void 0!==n.rotation?n.rotation:0,rotateWithView:void 0!==n.rotateWithView&&n.rotateWithView,displacement:void 0!==n.displacement?n.displacement:[0,0]})||this}return a(e,t),e.prototype.clone=function(){var t=this.getScale(),n=new e({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,radius:this.getRadius(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice()});return n.setOpacity(this.getOpacity()),n},e.prototype.setRadius=function(t){this.radius_=t,this.render()},e}(i.a);e.a=o},"v/wu":function(t,e,n){"use strict";var r,i=n("9Ewl"),a=n("ye7M"),o=n("/LWt"),s=n("OEyb"),l=n("796y"),c=n("7yEG"),u=n("yGLh"),h=n("XCy4"),d=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),p=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,imageSmoothing:e.imageSmoothing,projection:Object(u.g)("EPSG:3857"),reprojectionErrorThreshold:e.reprojectionErrorThreshold,state:i.a.LOADING,tileLoadFunction:e.tileLoadFunction,wrapX:void 0===e.wrapX||e.wrapX,transition:e.transition})||this;if(n.tileJSON_=null,n.tileSize_=e.tileSize,e.url)if(e.jsonp)Object(h.a)(e.url,n.handleTileJSONResponse.bind(n),n.handleTileJSONError.bind(n));else{var r=new XMLHttpRequest;r.addEventListener("load",n.onXHRLoad_.bind(n)),r.addEventListener("error",n.onXHRError_.bind(n)),r.open("GET",e.url),r.send()}else e.tileJSON?n.handleTileJSONResponse(e.tileJSON):Object(s.a)(!1,51);return n}return d(e,t),e.prototype.onXHRLoad_=function(t){var e=t.target;if(!e.status||e.status>=200&&e.status<300){var n=void 0;try{n=JSON.parse(e.responseText)}catch(t){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(u.g)("EPSG:4326"),r=this.getProjection();if(void 0!==t.bounds){var a=Object(u.j)(n,r);e=Object(o.a)(t.bounds,a)}var s=t.minzoom||0,h=t.maxzoom||22,d=Object(c.b)({extent:Object(c.c)(r),maxZoom:h,minZoom:s,tileSize:this.tileSize_});if(this.tileGrid=d,this.tileUrlFunction=Object(l.a)(t.tiles,d),void 0!==t.attribution&&!this.getAttributions()){var p=void 0!==e?e:n.getExtent();this.setAttributions(function(e){return Object(o.G)(p,e.extent)?[t.attribution]:null})}this.tileJSON_=t,this.setState(i.a.READY)},e.prototype.handleTileJSONError=function(){this.setState(i.a.ERROR)},e}(a.a);e.a=p},"vFc/":function(t,e,n){var r=n("TcQ7"),i=n("QRG4"),a=n("fkB2");t.exports=function(t){return function(e,n,o){var s,l=r(e),c=i(l.length),u=a(o,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},"vIB/":function(t,e,n){"use strict";var r=n("O4g8"),i=n("kM2E"),a=n("880/"),o=n("hJx8"),s=n("/bQp"),l=n("94VQ"),c=n("e6n0"),u=n("PzxK"),h=n("dSzd")("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,f,v,m,g){l(n,e,f);var y,b,_,O=function(t){if(!d&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",z="values"==v,x=!1,C=t.prototype,M=C[h]||C["@@iterator"]||v&&C[v],S=M||O(v),A=v?z?O("entries"):S:void 0,T="Array"==e&&C.entries||M;if(T&&(_=u(T.call(new t)))!==Object.prototype&&_.next&&(c(_,w,!0),r||"function"==typeof _[h]||o(_,h,p)),z&&M&&"values"!==M.name&&(x=!0,S=function(){return M.call(this)}),r&&!g||!d&&!x&&C[h]||o(C,h,S),s[e]=S,s[w]=p,v)if(y={values:z?S:O("values"),keys:m?S:O("keys"),entries:A},g)for(b in y)b in C||a(C,b,y[b]);else i(i.P+i.F*(d||x),e,y);return y}},vhPq:function(t,e,n){"use strict";e.a=a,e.b=function(t,e,n,r,i){for(var o=[],s=0,l=n.length;sw&&(h=(d+p)/2,Object(r.c)(t,e,n,a,h,m)&&(O=h,w=z)),d=p}return isNaN(O)&&(O=o[s]),l?(l.push(O,m,w),l):[O,m,w]}},vkQb:function(t,e,n){"use strict";e.a=function(t,e,n,r,i){for(var a,o=[t[e],t[e+1]],s=[];e+r0&&this.points_[n+2]>t;)n-=3;var r=this.points_[e+2]-this.points_[n+2];if(r<1e3/60)return!1;var i=this.points_[e]-this.points_[n],a=this.points_[e+1]-this.points_[n+1];return this.angle_=Math.atan2(a,i),this.initialVelocity_=Math.sqrt(i*i+a*a)/r,this.initialVelocity_>this.minVelocity_},t.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},t.prototype.getAngle=function(){return this.angle_},t}();e.a=r},"vv/+":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r={DEGREES:"degrees",FEET:"ft",METERS:"m",PIXELS:"pixels",TILE_PIXELS:"tile-pixels",USFEET:"us-ft"},i={};i[r.DEGREES]=2*Math.PI*6370997/360,i[r.FEET]=.3048,i[r.METERS]=1,i[r.USFEET]=1200/3937,e.b=r},w2Al:function(t,e,n){"use strict";e.a=function(t,e,n){var i=n&&n.length?n.shift():r.g?new OffscreenCanvas(t||300,e||300):document.createElement("canvas");t&&(i.width=t);e&&(i.height=e);return i.getContext("2d")},e.c=function(t){var e=t.offsetWidth,n=getComputedStyle(t);return e+=parseInt(n.marginLeft,10)+parseInt(n.marginRight,10)},e.b=function(t){var e=t.offsetHeight,n=getComputedStyle(t);return e+=parseInt(n.marginTop,10)+parseInt(n.marginBottom,10)},e.g=function(t,e){var n=e.parentNode;n&&n.replaceChild(t,e)},e.e=function(t){return t&&t.parentNode?t.parentNode.removeChild(t):null},e.d=function(t){for(;t.lastChild;)t.removeChild(t.lastChild)},e.f=function(t,e){for(var n=t.childNodes,r=0;;++r){var i=n[r],a=e[r];if(!i&&!a)break;i!==a&&(i?a?t.insertBefore(a,i):(t.removeChild(i),--r):t.appendChild(a))}};var r=n("4acs")},wupX:function(t,e,n){"use strict";function r(t,e,n,r,i){for(var a=void 0!==i?i:[],o=0,s=e;s=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},"xH/j":function(t,e,n){var r=n("hJx8");t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},xLtR:function(t,e,n){"use strict";var r=n("cGG2"),i=n("TNV1"),a=n("pBtG"),o=n("KCLY");function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||o.adapter)(t).then(function(e){return s(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},xXyv:function(t,e,n){"use strict";var r,i=n("VVyK"),a=n("3Q3L"),o=n("09IN"),s=n("tFCN"),l=n("azsZ"),c=n("/LWt"),u=n("Oeue"),h=n("yGLh"),d=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),p=function(t){function e(e){var n=t.call(this,e)||this;return n.image_=null,n}return d(e,t),e.prototype.getImage=function(){return this.image_?this.image_.getImage():null},e.prototype.prepareFrame=function(t){var e=t.layerStatesArray[t.layerIndex],n=t.pixelRatio,r=t.viewState,i=r.resolution,s=this.getLayer().getSource(),l=t.viewHints,u=t.extent;if(void 0!==e.extent&&(u=Object(c.C)(u,Object(h.f)(e.extent,r.projection))),!l[a.a.ANIMATING]&&!l[a.a.INTERACTING]&&!Object(c.I)(u))if(s){var d=r.projection;if(!o.a){var p=s.getProjection();p&&(d=p)}var f=s.getImage(u,i,n,d);f&&this.loadImage(f)&&(this.image_=f)}else this.image_=null;return!!this.image_},e.prototype.renderFrame=function(t,e){var n=this.image_,r=n.getExtent(),i=n.getResolution(),a=n.getPixelRatio(),o=t.layerStatesArray[t.layerIndex],d=t.pixelRatio,p=t.viewState,f=p.center,v=p.resolution,m=t.size,g=d*i/(v*a),y=Math.round(m[0]*d),b=Math.round(m[1]*d),_=p.rotation;if(_){var O=Math.round(Math.sqrt(y*y+b*b));y=O,b=O}Object(l.b)(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/d,1/d,_,-y/2,-b/2),Object(l.d)(this.inversePixelTransform,this.pixelTransform);var w=Object(u.b)(this.pixelTransform);this.useContainer(e,w,o.opacity);var z=this.context,x=z.canvas;x.width!=y||x.height!=b?(x.width=y,x.height=b):this.containerReused||z.clearRect(0,0,y,b);var C=!1;if(o.extent){var M=Object(h.f)(o.extent,p.projection);(C=!Object(c.h)(M,t.extent)&&Object(c.G)(M,t.extent))&&this.clipUnrotated(z,t,M)}var S=n.getImage(),A=Object(l.b)(this.tempTransform,y/2,b/2,g,g,0,a*(r[0]-f[0])/i,a*(f[1]-r[3])/i);this.renderedResolution=i*d/a;var T=A[4],j=A[5],E=S.width*A[0],I=S.height*A[3];if(Object(s.a)(z,this.getLayer().getSource().getContextOptions()),this.preRender(z,t),E>=.5&&I>=.5){var L=o.opacity,P=void 0;1!==L&&(P=this.context.globalAlpha,this.context.globalAlpha=L),this.context.drawImage(S,0,0,+S.width,+S.height,Math.round(T),Math.round(j),Math.round(E),Math.round(I)),1!==L&&(this.context.globalAlpha=P)}return this.postRender(z,t),C&&z.restore(),w!==x.style.transform&&(x.style.transform=w),this.container},e}(i.a);e.a=p},xek4:function(t,e,n){"use strict";e.c=function(t){return void 0!==t?0:void 0},e.d=function(t){return void 0!==t?t:void 0},e.a=function(t){var e=2*Math.PI/t;return function(t,n){return n?t:void 0!==t?t=Math.floor(t/e+.5)*e:void 0}},e.b=function(t){var e=t||Object(r.j)(5);return function(t,n){return n?t:void 0!==t?Math.abs(t)<=e?0:t:void 0}};var r=n("o1z/")},xifc:function(t,e,n){"use strict";e.a=function(t,e,n){void 0===n&&(n=[0,0]);return n[0]=t[0]+2*e,n[1]=t[1]+2*e,n},e.b=function(t){return t[0]>0&&t[1]>0},e.c=function(t,e,n){void 0===n&&(n=[0,0]);return n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n},e.d=function(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:(e[0]=t,e[1]=t),e)}},xnc9:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},yGLh:function(t,e,n){"use strict";var r,i=n("7rnj"),a=n("vv/+"),o=n("o1z/"),s=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=6378137,c=Math.PI*l,u=[-c,-c,c,c],h=[-180,-85,180,85],d=l*Math.log(Math.tan(Math.PI/2)),p=function(t){function e(e){return t.call(this,{code:e,units:a.b.METERS,extent:u,global:!0,worldExtent:h,getPointResolution:function(t,e){return t/Object(o.b)(e[1]/l)}})||this}return s(e,t),e}(i.a),f=[new p("EPSG:3857"),new p("EPSG:102100"),new p("EPSG:102113"),new p("EPSG:900913"),new p("http://www.opengis.net/gml/srs/epsg.xml#3857")];function v(t,e,n){var r=t.length,i=n>1?n:2,a=e;void 0===a&&(a=i>2?t.slice():new Array(r));for(var o=0;od?s=d:s<-d&&(s=-d),a[o+1]=s}return a}function m(t,e,n){var r=t.length,i=n>1?n:2,a=e;void 0===a&&(a=i>2?t.slice():new Array(r));for(var o=0;oe?1:t>1)],e))<0?s=i+1:(l=i,c=!a);return c?s:~s},e.i=r,e.f=function(t,e){return t.indexOf(e)>=0},e.h=function(t,e,n){var r=t.length;if(t[0]<=e)return 0;if(e<=t[r-1])return r-1;var i=void 0;if(n>0){for(i=1;i>>0,i=0;i0||n&&0===a)})}},zOBh:function(t,e,n){"use strict";var r,i=n("57Gy"),a=n("+ZNs"),o={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"},s=n("3Jqb"),l=n("dw+W"),c=n("FeXB"),u=n("OEyb"),h=n("if4K"),d=n("3ciB"),p=this&&this.__extends||(r=function(t,e){return(r=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)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e){var n=this,r=e||{},i=void 0!==r.opacity?r.opacity:1,l=void 0!==r.rotation?r.rotation:0,p=void 0!==r.scale?r.scale:1,f=void 0!==r.rotateWithView&&r.rotateWithView;(n=t.call(this,{opacity:i,rotation:l,scale:p,displacement:void 0!==r.displacement?r.displacement:[0,0],rotateWithView:f})||this).anchor_=void 0!==r.anchor?r.anchor:[.5,.5],n.normalizedAnchor_=null,n.anchorOrigin_=void 0!==r.anchorOrigin?r.anchorOrigin:o.TOP_LEFT,n.anchorXUnits_=void 0!==r.anchorXUnits?r.anchorXUnits:a.a.FRACTION,n.anchorYUnits_=void 0!==r.anchorYUnits?r.anchorYUnits:a.a.FRACTION,n.crossOrigin_=void 0!==r.crossOrigin?r.crossOrigin:null;var v=void 0!==r.img?r.img:null,m=void 0!==r.imgSize?r.imgSize:null,g=r.src;Object(u.a)(!(void 0!==g&&v),4),Object(u.a)(!v||v&&m,5),void 0!==g&&0!==g.length||!v||(g=v.src||Object(d.c)(v)),Object(u.a)(void 0!==g&&g.length>0,6);var y=void 0!==r.src?s.a.IDLE:s.a.LOADED;return n.color_=void 0!==r.color?Object(c.a)(r.color):null,n.iconImage_=Object(h.a)(v,g,m,n.crossOrigin_,y,n.color_),n.offset_=void 0!==r.offset?r.offset:[0,0],n.offsetOrigin_=void 0!==r.offsetOrigin?r.offsetOrigin:o.TOP_LEFT,n.origin_=null,n.size_=void 0!==r.size?r.size:null,n}return p(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_==a.a.FRACTION||this.anchorYUnits_==a.a.FRACTION){if(!e)return null;t=this.anchor_.slice(),this.anchorXUnits_==a.a.FRACTION&&(t[0]*=e[0]),this.anchorYUnits_==a.a.FRACTION&&(t[1]*=e[1])}if(this.anchorOrigin_!=o.TOP_LEFT){if(!e)return null;t===this.anchor_&&(t=this.anchor_.slice()),this.anchorOrigin_!=o.TOP_RIGHT&&this.anchorOrigin_!=o.BOTTOM_RIGHT||(t[0]=-t[0]+e[0]),this.anchorOrigin_!=o.BOTTOM_LEFT&&this.anchorOrigin_!=o.BOTTOM_RIGHT||(t[1]=-t[1]+e[1])}return 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.getHitDetectionImageSize=function(){return this.getImageSize()},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_,e=this.getDisplacement();if(this.offsetOrigin_!=o.TOP_LEFT){var n=this.getSize(),r=this.iconImage_.getSize();if(!n||!r)return null;t=t.slice(),this.offsetOrigin_!=o.TOP_RIGHT&&this.offsetOrigin_!=o.BOTTOM_RIGHT||(t[0]=r[0]-n[0]-t[0]),this.offsetOrigin_!=o.BOTTOM_LEFT&&this.offsetOrigin_!=o.BOTTOM_RIGHT||(t[1]=r[1]-n[1]-t[1])}return t[0]+=e[0],t[1]+=e[1],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}(l.a);e.a=f},zQR9:function(t,e,n){"use strict";var r=n("h65t")(!0);n("vIB/")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})}}); //# sourceMappingURL=vendor.7f4345dec93c3f4d6320.js.map