From e43dc27d0ad795aa99c5bcce90fb0dfc3344df0e Mon Sep 17 00:00:00 2001 From: bartwr Date: Tue, 12 Mar 2024 14:38:11 +0100 Subject: [PATCH] Updates --- asset-manifest.json | 6 +++--- index.html | 2 +- static/js/{main.0ce00e42.js => main.8a9796b2.js} | 6 +++--- ...0ce00e42.js.LICENSE.txt => main.8a9796b2.js.LICENSE.txt} | 0 static/js/{main.0ce00e42.js.map => main.8a9796b2.js.map} | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) rename static/js/{main.0ce00e42.js => main.8a9796b2.js} (89%) rename static/js/{main.0ce00e42.js.LICENSE.txt => main.8a9796b2.js.LICENSE.txt} (100%) rename static/js/{main.0ce00e42.js.map => main.8a9796b2.js.map} (62%) diff --git a/asset-manifest.json b/asset-manifest.json index abb26af6..51c6a4b2 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "/static/css/main.dc49d0f1.css", - "main.js": "/static/js/main.0ce00e42.js", + "main.js": "/static/js/main.8a9796b2.js", "static/js/200.12a20215.chunk.js": "/static/js/200.12a20215.chunk.js", "static/js/539.6d1aa9bb.chunk.js": "/static/js/539.6d1aa9bb.chunk.js", "static/js/787.a0871968.chunk.js": "/static/js/787.a0871968.chunk.js", @@ -37,13 +37,13 @@ "static/media/search-solid.svg": "/static/media/search-solid.6b31fe2388f30dcac021.svg", "static/media/controls-zoom-out.svg": "/static/media/controls-zoom-out.b83ce275d7125aca58c8.svg", "main.dc49d0f1.css.map": "/static/css/main.dc49d0f1.css.map", - "main.0ce00e42.js.map": "/static/js/main.0ce00e42.js.map", + "main.8a9796b2.js.map": "/static/js/main.8a9796b2.js.map", "200.12a20215.chunk.js.map": "/static/js/200.12a20215.chunk.js.map", "539.6d1aa9bb.chunk.js.map": "/static/js/539.6d1aa9bb.chunk.js.map", "787.a0871968.chunk.js.map": "/static/js/787.a0871968.chunk.js.map" }, "entrypoints": [ "static/css/main.dc49d0f1.css", - "static/js/main.0ce00e42.js" + "static/js/main.8a9796b2.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 235a218b..6f731288 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Dashboard Deelmobiliteit | Een project van CROW
\ No newline at end of file +Dashboard Deelmobiliteit | Een project van CROW
\ No newline at end of file diff --git a/static/js/main.0ce00e42.js b/static/js/main.8a9796b2.js similarity index 89% rename from static/js/main.0ce00e42.js rename to static/js/main.8a9796b2.js index d297cfe0..5776706e 100644 --- a/static/js/main.0ce00e42.js +++ b/static/js/main.8a9796b2.js @@ -1,3 +1,3 @@ -/*! For license information please see main.0ce00e42.js.LICENSE.txt */ -(()=>{var e={6351:e=>{var t=e.exports={};t.onSetup=function(){return this.setActionableState(),{}},t.toDisplayFeatures=function(e,t,n){n(t)}},4434:function(e,t,n){e.exports=function(){"use strict";var e=function(e,t){var n={drag:[],click:[],mousemove:[],mousedown:[],mouseup:[],mouseout:[],keydown:[],keyup:[],touchstart:[],touchmove:[],touchend:[],tap:[]},r={on:function(e,t,r){if(void 0===n[e])throw new Error("Invalid event type: "+e);n[e].push({selector:t,fn:r})},render:function(e){t.store.featureChanged(e)}},o=function(e,o){for(var i=n[e],a=i.length;a--;){var s=i[a];if(s.selector(o)){s.fn.call(r,o)||t.store.render(),t.ui.updateMapClasses();break}}};return e.start.call(r),{render:e.render,stop:function(){e.stop&&e.stop()},trash:function(){e.trash&&(e.trash(),t.store.render())},combineFeatures:function(){e.combineFeatures&&e.combineFeatures()},uncombineFeatures:function(){e.uncombineFeatures&&e.uncombineFeatures()},drag:function(e){o("drag",e)},click:function(e){o("click",e)},mousemove:function(e){o("mousemove",e)},mousedown:function(e){o("mousedown",e)},mouseup:function(e){o("mouseup",e)},mouseout:function(e){o("mouseout",e)},keydown:function(e){o("keydown",e)},keyup:function(e){o("keyup",e)},touchstart:function(e){o("touchstart",e)},touchmove:function(e){o("touchmove",e)},touchend:function(e){o("touchend",e)},tap:function(e){o("tap",e)}}};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){if(this instanceof e){var n=[null];return n.push.apply(n,arguments),new(Function.bind.apply(t,n))}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var o={},i={RADIUS:6378137,FLATTENING:1/298.257223563,POLAR_RADIUS:6356752.3142};function a(e){var t=0;if(e&&e.length>0){t+=Math.abs(s(e[0]));for(var n=1;n2){for(s=0;s=Math.pow(2,e)?D(e,t):i};D.rack=function(e,t,n){var r=function(r){var i=0;do{if(i++>10){if(!n)throw new Error("too many ID collisions, use more bits");e+=n}var a=D(e,t)}while(Object.hasOwnProperty.call(o,a));return o[a]=r,a},o=r.hats={};return r.get=function(e){return r.hats[e]},r.set=function(e,t){return r.hats[e]=t,r},r.bits=e||128,r.base=t||16,r};var C=t(E.exports),N=function(e,t){this.ctx=e,this.properties=t.properties||{},this.coordinates=t.geometry.coordinates,this.id=t.id||C(),this.type=t.geometry.type};N.prototype.changed=function(){this.ctx.store.featureChanged(this.id)},N.prototype.incomingCoords=function(e){this.setCoordinates(e)},N.prototype.setCoordinates=function(e){this.coordinates=e,this.changed()},N.prototype.getCoordinates=function(){return JSON.parse(JSON.stringify(this.coordinates))},N.prototype.setProperty=function(e,t){this.properties[e]=t},N.prototype.toGeoJSON=function(){return JSON.parse(JSON.stringify({id:this.id,type:d.FEATURE,properties:this.properties,geometry:{coordinates:this.getCoordinates(),type:this.type}}))},N.prototype.internal=function(e){var t={id:this.id,meta:M.FEATURE,"meta:type":this.type,active:m.INACTIVE,mode:e};if(this.ctx.options.userProperties)for(var n in this.properties)t["user_"+n]=this.properties[n];return{type:d.FEATURE,properties:t,geometry:{coordinates:this.getCoordinates(),type:this.type}}};var B=function(e,t){N.call(this,e,t)};(B.prototype=Object.create(N.prototype)).isValid=function(){return"number"==typeof this.coordinates[0]&&"number"==typeof this.coordinates[1]},B.prototype.updateCoordinate=function(e,t,n){this.coordinates=3===arguments.length?[t,n]:[e,t],this.changed()},B.prototype.getCoordinate=function(){return this.getCoordinates()};var P=function(e,t){N.call(this,e,t)};(P.prototype=Object.create(N.prototype)).isValid=function(){return this.coordinates.length>1},P.prototype.addCoordinate=function(e,t,n){this.changed();var r=parseInt(e,10);this.coordinates.splice(r,0,[t,n])},P.prototype.getCoordinate=function(e){var t=parseInt(e,10);return JSON.parse(JSON.stringify(this.coordinates[t]))},P.prototype.removeCoordinate=function(e){this.changed(),this.coordinates.splice(parseInt(e,10),1)},P.prototype.updateCoordinate=function(e,t,n){var r=parseInt(e,10);this.coordinates[r]=[t,n],this.changed()};var j=function(e,t){N.call(this,e,t),this.coordinates=this.coordinates.map((function(e){return e.slice(0,-1)}))};(j.prototype=Object.create(N.prototype)).isValid=function(){return 0!==this.coordinates.length&&this.coordinates.every((function(e){return e.length>2}))},j.prototype.incomingCoords=function(e){this.coordinates=e.map((function(e){return e.slice(0,-1)})),this.changed()},j.prototype.setCoordinates=function(e){this.coordinates=e,this.changed()},j.prototype.addCoordinate=function(e,t,n){this.changed();var r=e.split(".").map((function(e){return parseInt(e,10)}));this.coordinates[r[0]].splice(r[1],0,[t,n])},j.prototype.removeCoordinate=function(e){this.changed();var t=e.split(".").map((function(e){return parseInt(e,10)})),n=this.coordinates[t[0]];n&&(n.splice(t[1],1),n.length<3&&this.coordinates.splice(t[0],1))},j.prototype.getCoordinate=function(e){var t=e.split(".").map((function(e){return parseInt(e,10)})),n=this.coordinates[t[0]];return JSON.parse(JSON.stringify(n[t[1]]))},j.prototype.getCoordinates=function(){return this.coordinates.map((function(e){return e.concat([e[0]])}))},j.prototype.updateCoordinate=function(e,t,n){this.changed();var r=e.split("."),o=parseInt(r[0],10),i=parseInt(r[1],10);void 0===this.coordinates[o]&&(this.coordinates[o]=[]),this.coordinates[o][i]=[t,n]};var I={MultiPoint:B,MultiLineString:P,MultiPolygon:j},Y=function(e,t,n,r,o){var i=n.split("."),a=parseInt(i[0],10),s=i[1]?i.slice(1).join("."):null;return e[a][t](s,r,o)},F=function(e,t){if(N.call(this,e,t),delete this.coordinates,this.model=I[t.geometry.type],void 0===this.model)throw new TypeError(t.geometry.type+" is not a valid type");this.features=this._coordinatesToFeatures(t.geometry.coordinates)};function X(e){this.map=e.map,this.drawConfig=JSON.parse(JSON.stringify(e.options||{})),this._ctx=e}(F.prototype=Object.create(N.prototype))._coordinatesToFeatures=function(e){var t=this,n=this.model.bind(this);return e.map((function(e){return new n(t.ctx,{id:C(),type:d.FEATURE,properties:{},geometry:{coordinates:e,type:t.type.replace("Multi","")}})}))},F.prototype.isValid=function(){return this.features.every((function(e){return e.isValid()}))},F.prototype.setCoordinates=function(e){this.features=this._coordinatesToFeatures(e),this.changed()},F.prototype.getCoordinate=function(e){return Y(this.features,"getCoordinate",e)},F.prototype.getCoordinates=function(){return JSON.parse(JSON.stringify(this.features.map((function(e){return e.type===d.POLYGON?e.getCoordinates():e.coordinates}))))},F.prototype.updateCoordinate=function(e,t,n){Y(this.features,"updateCoordinate",e,t,n),this.changed()},F.prototype.addCoordinate=function(e,t,n){Y(this.features,"addCoordinate",e,t,n),this.changed()},F.prototype.removeCoordinate=function(e){Y(this.features,"removeCoordinate",e),this.changed()},F.prototype.getFeatures=function(){return this.features},X.prototype.setSelected=function(e){return this._ctx.store.setSelected(e)},X.prototype.setSelectedCoordinates=function(e){var t=this;this._ctx.store.setSelectedCoordinates(e),e.reduce((function(e,n){return void 0===e[n.feature_id]&&(e[n.feature_id]=!0,t._ctx.store.get(n.feature_id).changed()),e}),{})},X.prototype.getSelected=function(){return this._ctx.store.getSelected()},X.prototype.getSelectedIds=function(){return this._ctx.store.getSelectedIds()},X.prototype.isSelected=function(e){return this._ctx.store.isSelected(e)},X.prototype.getFeature=function(e){return this._ctx.store.get(e)},X.prototype.select=function(e){return this._ctx.store.select(e)},X.prototype.deselect=function(e){return this._ctx.store.deselect(e)},X.prototype.deleteFeature=function(e,t){return void 0===t&&(t={}),this._ctx.store.delete(e,t)},X.prototype.addFeature=function(e){return this._ctx.store.add(e)},X.prototype.clearSelectedFeatures=function(){return this._ctx.store.clearSelected()},X.prototype.clearSelectedCoordinates=function(){return this._ctx.store.clearSelectedCoordinates()},X.prototype.setActionableState=function(e){void 0===e&&(e={});var t={trash:e.trash||!1,combineFeatures:e.combineFeatures||!1,uncombineFeatures:e.uncombineFeatures||!1};return this._ctx.events.actionable(t)},X.prototype.changeMode=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),this._ctx.events.changeMode(e,t,n)},X.prototype.updateUIClasses=function(e){return this._ctx.ui.queueMapClasses(e)},X.prototype.activateUIButton=function(e){return this._ctx.ui.setActiveButton(e)},X.prototype.featuresAt=function(e,t,n){if(void 0===n&&(n="click"),"click"!==n&&"touch"!==n)throw new Error("invalid buffer type");return W[n](e,t,this._ctx)},X.prototype.newFeature=function(e){var t=e.geometry.type;return t===d.POINT?new B(this._ctx,e):t===d.LINE_STRING?new P(this._ctx,e):t===d.POLYGON?new j(this._ctx,e):new F(this._ctx,e)},X.prototype.isInstanceOf=function(e,t){if(e===d.POINT)return t instanceof B;if(e===d.LINE_STRING)return t instanceof P;if(e===d.POLYGON)return t instanceof j;if("MultiFeature"===e)return t instanceof F;throw new Error("Unknown feature class: "+e)},X.prototype.doRender=function(e){return this._ctx.store.featureChanged(e)},X.prototype.onSetup=function(){},X.prototype.onDrag=function(){},X.prototype.onClick=function(){},X.prototype.onMouseMove=function(){},X.prototype.onMouseDown=function(){},X.prototype.onMouseUp=function(){},X.prototype.onMouseOut=function(){},X.prototype.onKeyUp=function(){},X.prototype.onKeyDown=function(){},X.prototype.onTouchStart=function(){},X.prototype.onTouchMove=function(){},X.prototype.onTouchEnd=function(){},X.prototype.onTap=function(){},X.prototype.onStop=function(){},X.prototype.onTrash=function(){},X.prototype.onCombineFeature=function(){},X.prototype.onUncombineFeature=function(){},X.prototype.toDisplayFeatures=function(){throw new Error("You must overwrite toDisplayFeatures")};var H={drag:"onDrag",click:"onClick",mousemove:"onMouseMove",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseout:"onMouseOut",keyup:"onKeyUp",keydown:"onKeyDown",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onTouchEnd",tap:"onTap"},U=Object.keys(H);function V(e){var t=Object.keys(e);return function(n,r){void 0===r&&(r={});var o={},i=t.reduce((function(t,n){return t[n]=e[n],t}),new X(n));return{start:function(){var t=this;o=i.onSetup(r),U.forEach((function(n){var r,a=H[n],s=function(){return!1};e[a]&&(s=function(){return!0}),t.on(n,s,(r=a,function(e){return i[r](o,e)}))}))},stop:function(){i.onStop(o)},trash:function(){i.onTrash(o)},combineFeatures:function(){i.onCombineFeatures(o)},uncombineFeatures:function(){i.onUncombineFeatures(o)},render:function(e,t){i.toDisplayFeatures(o,e,t)}}}}function G(e){return[].concat(e).filter((function(e){return void 0!==e}))}function Z(){var e=this;if(!e.ctx.map||void 0===e.ctx.map.getSource(u.HOT))return c();var t=e.ctx.events.currentModeName();e.ctx.ui.queueMapClasses({mode:t});var n=[],r=[];e.isDirty?r=e.getAllIds():(n=e.getChangedIds().filter((function(t){return void 0!==e.get(t)})),r=e.sources.hot.filter((function(t){return t.properties.id&&-1===n.indexOf(t.properties.id)&&void 0!==e.get(t.properties.id)})).map((function(e){return e.properties.id}))),e.sources.hot=[];var o=e.sources.cold.length;e.sources.cold=e.isDirty?[]:e.sources.cold.filter((function(e){var t=e.properties.id||e.properties.parent;return-1===n.indexOf(t)}));var i=o!==e.sources.cold.length||r.length>0;function a(n,r){var o=e.get(n).internal(t);e.ctx.events.currentModeRender(o,(function(t){e.sources[r].push(t)}))}if(n.forEach((function(e){return a(e,"hot")})),r.forEach((function(e){return a(e,"cold")})),i&&e.ctx.map.getSource(u.COLD).setData({type:d.FEATURE_COLLECTION,features:e.sources.cold}),e.ctx.map.getSource(u.HOT).setData({type:d.FEATURE_COLLECTION,features:e.sources.hot}),e._emitSelectionChange&&(e.ctx.map.fire(f.SELECTION_CHANGE,{features:e.getSelected().map((function(e){return e.toGeoJSON()})),points:e.getSelectedCoordinates().map((function(e){return{type:d.FEATURE,properties:{},geometry:{type:d.POINT,coordinates:e.coordinates}}}))}),e._emitSelectionChange=!1),e._deletedFeaturesToEmit.length){var s=e._deletedFeaturesToEmit.map((function(e){return e.toGeoJSON()}));e._deletedFeaturesToEmit=[],e.ctx.map.fire(f.DELETE,{features:s})}function c(){e.isDirty=!1,e.clearChangedIds()}c(),e.ctx.map.fire(f.RENDER,{})}function Q(e){var t,n=this;this._features={},this._featureIds=new w,this._selectedFeatureIds=new w,this._selectedCoordinates=[],this._changedFeatureIds=new w,this._deletedFeaturesToEmit=[],this._emitSelectionChange=!1,this._mapInitialConfig={},this.ctx=e,this.sources={hot:[],cold:[]},this.render=function(){t||(t=requestAnimationFrame((function(){t=null,Z.call(n)})))},this.isDirty=!1}function $(e,t){var n=e._selectedCoordinates.filter((function(t){return e._selectedFeatureIds.has(t.feature_id)}));e._selectedCoordinates.length===n.length||t.silent||(e._emitSelectionChange=!0),e._selectedCoordinates=n}Q.prototype.createRenderBatch=function(){var e=this,t=this.render,n=0;return this.render=function(){n++},function(){e.render=t,n>0&&e.render()}},Q.prototype.setDirty=function(){return this.isDirty=!0,this},Q.prototype.featureChanged=function(e){return this._changedFeatureIds.add(e),this},Q.prototype.getChangedIds=function(){return this._changedFeatureIds.values()},Q.prototype.clearChangedIds=function(){return this._changedFeatureIds.clear(),this},Q.prototype.getAllIds=function(){return this._featureIds.values()},Q.prototype.add=function(e){return this.featureChanged(e.id),this._features[e.id]=e,this._featureIds.add(e.id),this},Q.prototype.delete=function(e,t){var n=this;return void 0===t&&(t={}),G(e).forEach((function(e){n._featureIds.has(e)&&(n._featureIds.delete(e),n._selectedFeatureIds.delete(e),t.silent||-1===n._deletedFeaturesToEmit.indexOf(n._features[e])&&n._deletedFeaturesToEmit.push(n._features[e]),delete n._features[e],n.isDirty=!0)})),$(this,t),this},Q.prototype.get=function(e){return this._features[e]},Q.prototype.getAll=function(){var e=this;return Object.keys(this._features).map((function(t){return e._features[t]}))},Q.prototype.select=function(e,t){var n=this;return void 0===t&&(t={}),G(e).forEach((function(e){n._selectedFeatureIds.has(e)||(n._selectedFeatureIds.add(e),n._changedFeatureIds.add(e),t.silent||(n._emitSelectionChange=!0))})),this},Q.prototype.deselect=function(e,t){var n=this;return void 0===t&&(t={}),G(e).forEach((function(e){n._selectedFeatureIds.has(e)&&(n._selectedFeatureIds.delete(e),n._changedFeatureIds.add(e),t.silent||(n._emitSelectionChange=!0))})),$(this,t),this},Q.prototype.clearSelected=function(e){return void 0===e&&(e={}),this.deselect(this._selectedFeatureIds.values(),{silent:e.silent}),this},Q.prototype.setSelected=function(e,t){var n=this;return void 0===t&&(t={}),e=G(e),this.deselect(this._selectedFeatureIds.values().filter((function(t){return-1===e.indexOf(t)})),{silent:t.silent}),this.select(e.filter((function(e){return!n._selectedFeatureIds.has(e)})),{silent:t.silent}),this},Q.prototype.setSelectedCoordinates=function(e){return this._selectedCoordinates=e,this._emitSelectionChange=!0,this},Q.prototype.clearSelectedCoordinates=function(){return this._selectedCoordinates=[],this._emitSelectionChange=!0,this},Q.prototype.getSelectedIds=function(){return this._selectedFeatureIds.values()},Q.prototype.getSelected=function(){var e=this;return this._selectedFeatureIds.values().map((function(t){return e.get(t)}))},Q.prototype.getSelectedCoordinates=function(){var e=this;return this._selectedCoordinates.map((function(t){return{coordinates:e.get(t.feature_id).getCoordinate(t.coord_path)}}))},Q.prototype.isSelected=function(e){return this._selectedFeatureIds.has(e)},Q.prototype.setFeatureProperty=function(e,t,n){this.get(e).setProperty(t,n),this.featureChanged(e)},Q.prototype.storeMapConfig=function(){var e=this;z.forEach((function(t){e.ctx.map[t]&&(e._mapInitialConfig[t]=e.ctx.map[t].isEnabled())}))},Q.prototype.restoreMapConfig=function(){var e=this;Object.keys(this._mapInitialConfig).forEach((function(t){e._mapInitialConfig[t]?e.ctx.map[t].enable():e.ctx.map[t].disable()}))},Q.prototype.getInitialConfigValue=function(e){return void 0===this._mapInitialConfig[e]||this._mapInitialConfig[e]};var K=function(){for(var e=arguments,t={},n=0;n=48&&e<=57)};function l(r,o,i){void 0===i&&(i={}),s.stop();var c=n[r];if(void 0===c)throw new Error(r+" is not valid");a=r;var l=c(t,o);s=e(l,t),i.silent||t.map.fire(f.MODE_CHANGE,{mode:r}),t.store.setDirty(),t.store.render()}i.keydown=function(e){(e.srcElement||e.target).classList.contains("mapboxgl-canvas")&&(8!==e.keyCode&&46!==e.keyCode||!t.options.controls.trash?c(e.keyCode)?s.keydown(e):49===e.keyCode&&t.options.controls.point?l(b.DRAW_POINT):50===e.keyCode&&t.options.controls.line_string?l(b.DRAW_LINE_STRING):51===e.keyCode&&t.options.controls.polygon&&l(b.DRAW_POLYGON):(e.preventDefault(),s.trash()))},i.keyup=function(e){c(e.keyCode)&&s.keyup(e)},i.zoomend=function(){t.store.changeZoom()},i.data=function(e){if("style"===e.dataType){var n=t.setup,r=t.map,o=t.options,i=t.store;o.styles.some((function(e){return r.getLayer(e.id)}))||(n.addLayers(),i.setDirty(),i.render())}};var u={trash:!1,combineFeatures:!1,uncombineFeatures:!1};return{start:function(){a=t.options.defaultMode,s=e(n[a](t),t)},changeMode:l,actionable:function(e){var n=!1;Object.keys(e).forEach((function(t){if(void 0===u[t])throw new Error("Invalid action type");u[t]!==e[t]&&(n=!0),u[t]=e[t]})),n&&t.map.fire(f.ACTIONABLE,{actions:u})},currentModeName:function(){return a},currentModeRender:function(e,t){return s.render(e,t)},fire:function(e,t){i[e]&&i[e](t)},addEventListeners:function(){t.map.on("mousemove",i.mousemove),t.map.on("mousedown",i.mousedown),t.map.on("mouseup",i.mouseup),t.map.on("data",i.data),t.map.on("touchmove",i.touchmove),t.map.on("touchstart",i.touchstart),t.map.on("touchend",i.touchend),t.container.addEventListener("mouseout",i.mouseout),t.options.keybindings&&(t.container.addEventListener("keydown",i.keydown),t.container.addEventListener("keyup",i.keyup))},removeEventListeners:function(){t.map.off("mousemove",i.mousemove),t.map.off("mousedown",i.mousedown),t.map.off("mouseup",i.mouseup),t.map.off("data",i.data),t.map.off("touchmove",i.touchmove),t.map.off("touchstart",i.touchstart),t.map.off("touchend",i.touchend),t.container.removeEventListener("mouseout",i.mouseout),t.options.keybindings&&(t.container.removeEventListener("keydown",i.keydown),t.container.removeEventListener("keyup",i.keyup))},trash:function(e){s.trash(e)},combineFeatures:function(){s.combineFeatures()},uncombineFeatures:function(){s.uncombineFeatures()},getMode:function(){return a}}}(t),t.ui=function(e){var t={},n=null,r={mode:null,feature:null,mouse:null},o={mode:null,feature:null,mouse:null};function i(e){o=ee(o,e)}function a(){var t,n;if(e.container){var i=[],a=[];te.forEach((function(e){o[e]!==r[e]&&(i.push(e+"-"+r[e]),null!==o[e]&&a.push(e+"-"+o[e]))})),i.length>0&&(t=e.container.classList).remove.apply(t,i),a.length>0&&(n=e.container.classList).add.apply(n,a),r=ee(r,o)}}function s(e,t){void 0===t&&(t={});var r=document.createElement("button");return r.className=l.CONTROL_BUTTON+" "+t.className,r.setAttribute("title",t.title),t.container.appendChild(r),r.addEventListener("click",(function(r){if(r.preventDefault(),r.stopPropagation(),r.target===n)return c(),void t.onDeactivate();u(e),t.onActivate()}),!0),r}function c(){n&&(n.classList.remove(l.ACTIVE_BUTTON),n=null)}function u(e){c();var r=t[e];r&&r&&"trash"!==e&&(r.classList.add(l.ACTIVE_BUTTON),n=r)}return{setActiveButton:u,queueMapClasses:i,updateMapClasses:a,clearMapClasses:function(){i({mode:null,feature:null,mouse:null}),a()},addButtons:function(){var n=e.options.controls,r=document.createElement("div");return r.className=l.CONTROL_GROUP+" "+l.CONTROL_BASE,n?(n[A.LINE]&&(t[A.LINE]=s(A.LINE,{container:r,className:l.CONTROL_BUTTON_LINE,title:"LineString tool "+(e.options.keybindings?"(l)":""),onActivate:function(){return e.events.changeMode(b.DRAW_LINE_STRING)},onDeactivate:function(){return e.events.trash()}})),n[A.POLYGON]&&(t[A.POLYGON]=s(A.POLYGON,{container:r,className:l.CONTROL_BUTTON_POLYGON,title:"Polygon tool "+(e.options.keybindings?"(p)":""),onActivate:function(){return e.events.changeMode(b.DRAW_POLYGON)},onDeactivate:function(){return e.events.trash()}})),n[A.POINT]&&(t[A.POINT]=s(A.POINT,{container:r,className:l.CONTROL_BUTTON_POINT,title:"Marker tool "+(e.options.keybindings?"(m)":""),onActivate:function(){return e.events.changeMode(b.DRAW_POINT)},onDeactivate:function(){return e.events.trash()}})),n.trash&&(t.trash=s("trash",{container:r,className:l.CONTROL_BUTTON_TRASH,title:"Delete",onActivate:function(){e.events.trash()}})),n.combine_features&&(t.combine_features=s("combineFeatures",{container:r,className:l.CONTROL_BUTTON_COMBINE_FEATURES,title:"Combine",onActivate:function(){e.events.combineFeatures()}})),n.uncombine_features&&(t.uncombine_features=s("uncombineFeatures",{container:r,className:l.CONTROL_BUTTON_UNCOMBINE_FEATURES,title:"Uncombine",onActivate:function(){e.events.uncombineFeatures()}})),r):r},removeButtons:function(){Object.keys(t).forEach((function(e){var n=t[e];n.parentNode&&n.parentNode.removeChild(n),delete t[e]}))}}}(t),t.container=i.getContainer(),t.store=new Q(t),n=t.ui.addButtons(),t.options.boxSelect&&(t.boxZoomInitial=i.boxZoom.isEnabled(),i.boxZoom.disable(),i.dragPan.disable(),i.dragPan.enable()),i.loaded()?o.connect():(i.on("load",o.connect),r=setInterval((function(){i.loaded()&&o.connect()}),16)),t.events.start(),n},addLayers:function(){t.map.addSource(u.COLD,{data:{type:d.FEATURE_COLLECTION,features:[]},type:"geojson"}),t.map.addSource(u.HOT,{data:{type:d.FEATURE_COLLECTION,features:[]},type:"geojson"}),t.options.styles.forEach((function(e){t.map.addLayer(e)})),t.store.setDirty(!0),t.store.render()},removeLayers:function(){t.options.styles.forEach((function(e){t.map.getLayer(e.id)&&t.map.removeLayer(e.id)})),t.map.getSource(u.COLD)&&t.map.removeSource(u.COLD),t.map.getSource(u.HOT)&&t.map.removeSource(u.HOT)}};return t.setup=o,o}var re=[{id:"gl-draw-polygon-fill-inactive",type:"fill",filter:["all",["==","active","false"],["==","$type","Polygon"],["!=","mode","static"]],paint:{"fill-color":"#3bb2d0","fill-outline-color":"#3bb2d0","fill-opacity":.1}},{id:"gl-draw-polygon-fill-active",type:"fill",filter:["all",["==","active","true"],["==","$type","Polygon"]],paint:{"fill-color":"#fbb03b","fill-outline-color":"#fbb03b","fill-opacity":.1}},{id:"gl-draw-polygon-midpoint",type:"circle",filter:["all",["==","$type","Point"],["==","meta","midpoint"]],paint:{"circle-radius":3,"circle-color":"#fbb03b"}},{id:"gl-draw-polygon-stroke-inactive",type:"line",filter:["all",["==","active","false"],["==","$type","Polygon"],["!=","mode","static"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#3bb2d0","line-width":2}},{id:"gl-draw-polygon-stroke-active",type:"line",filter:["all",["==","active","true"],["==","$type","Polygon"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#fbb03b","line-dasharray":[.2,2],"line-width":2}},{id:"gl-draw-line-inactive",type:"line",filter:["all",["==","active","false"],["==","$type","LineString"],["!=","mode","static"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#3bb2d0","line-width":2}},{id:"gl-draw-line-active",type:"line",filter:["all",["==","$type","LineString"],["==","active","true"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#fbb03b","line-dasharray":[.2,2],"line-width":2}},{id:"gl-draw-polygon-and-line-vertex-stroke-inactive",type:"circle",filter:["all",["==","meta","vertex"],["==","$type","Point"],["!=","mode","static"]],paint:{"circle-radius":5,"circle-color":"#fff"}},{id:"gl-draw-polygon-and-line-vertex-inactive",type:"circle",filter:["all",["==","meta","vertex"],["==","$type","Point"],["!=","mode","static"]],paint:{"circle-radius":3,"circle-color":"#fbb03b"}},{id:"gl-draw-point-point-stroke-inactive",type:"circle",filter:["all",["==","active","false"],["==","$type","Point"],["==","meta","feature"],["!=","mode","static"]],paint:{"circle-radius":5,"circle-opacity":1,"circle-color":"#fff"}},{id:"gl-draw-point-inactive",type:"circle",filter:["all",["==","active","false"],["==","$type","Point"],["==","meta","feature"],["!=","mode","static"]],paint:{"circle-radius":3,"circle-color":"#3bb2d0"}},{id:"gl-draw-point-stroke-active",type:"circle",filter:["all",["==","$type","Point"],["==","active","true"],["!=","meta","midpoint"]],paint:{"circle-radius":7,"circle-color":"#fff"}},{id:"gl-draw-point-active",type:"circle",filter:["all",["==","$type","Point"],["!=","meta","midpoint"],["==","active","true"]],paint:{"circle-radius":5,"circle-color":"#fbb03b"}},{id:"gl-draw-polygon-fill-static",type:"fill",filter:["all",["==","mode","static"],["==","$type","Polygon"]],paint:{"fill-color":"#404040","fill-outline-color":"#404040","fill-opacity":.1}},{id:"gl-draw-polygon-stroke-static",type:"line",filter:["all",["==","mode","static"],["==","$type","Polygon"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#404040","line-width":2}},{id:"gl-draw-line-static",type:"line",filter:["all",["==","mode","static"],["==","$type","LineString"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#404040","line-width":2}},{id:"gl-draw-point-static",type:"circle",filter:["all",["==","mode","static"],["==","$type","Point"]],paint:{"circle-radius":5,"circle-color":"#404040"}}];function oe(e){return function(t){var n=t.featureTarget;return!!n&&!!n.properties&&n.properties.meta===e}}function ie(e){return!!e.originalEvent&&!!e.originalEvent.shiftKey&&0===e.originalEvent.button}function ae(e){return!!e.featureTarget&&!!e.featureTarget.properties&&e.featureTarget.properties.active===m.ACTIVE&&e.featureTarget.properties.meta===M.FEATURE}function se(e){return!!e.featureTarget&&!!e.featureTarget.properties&&e.featureTarget.properties.active===m.INACTIVE&&e.featureTarget.properties.meta===M.FEATURE}function ce(e){return void 0===e.featureTarget}function le(e){return!!e.featureTarget&&!!e.featureTarget.properties&&e.featureTarget.properties.meta===M.FEATURE}function ue(e){var t=e.featureTarget;return!!t&&!!t.properties&&t.properties.meta===M.VERTEX}function pe(e){return!!e.originalEvent&&!0===e.originalEvent.shiftKey}function Ae(e){return 27===e.keyCode}function de(e){return 13===e.keyCode}var be=Object.freeze({__proto__:null,isOfMetaType:oe,isShiftMousedown:ie,isActiveFeature:ae,isInactiveFeature:se,noTarget:ce,isFeature:le,isVertex:ue,isShiftDown:pe,isEscapeKey:Ae,isEnterKey:de,isTrue:function(){return!0}}),fe=he;function he(e,t){this.x=e,this.y=t}he.prototype={clone:function(){return new he(this.x,this.y)},add:function(e){return this.clone()._add(e)},sub:function(e){return this.clone()._sub(e)},multByPoint:function(e){return this.clone()._multByPoint(e)},divByPoint:function(e){return this.clone()._divByPoint(e)},mult:function(e){return this.clone()._mult(e)},div:function(e){return this.clone()._div(e)},rotate:function(e){return this.clone()._rotate(e)},rotateAround:function(e,t){return this.clone()._rotateAround(e,t)},matMult:function(e){return this.clone()._matMult(e)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(e){return this.x===e.x&&this.y===e.y},dist:function(e){return Math.sqrt(this.distSqr(e))},distSqr:function(e){var t=e.x-this.x,n=e.y-this.y;return t*t+n*n},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(e){return Math.atan2(this.y-e.y,this.x-e.x)},angleWith:function(e){return this.angleWithSep(e.x,e.y)},angleWithSep:function(e,t){return Math.atan2(this.x*t-this.y*e,this.x*e+this.y*t)},_matMult:function(e){var t=e[0]*this.x+e[1]*this.y,n=e[2]*this.x+e[3]*this.y;return this.x=t,this.y=n,this},_add:function(e){return this.x+=e.x,this.y+=e.y,this},_sub:function(e){return this.x-=e.x,this.y-=e.y,this},_mult:function(e){return this.x*=e,this.y*=e,this},_div:function(e){return this.x/=e,this.y/=e,this},_multByPoint:function(e){return this.x*=e.x,this.y*=e.y,this},_divByPoint:function(e){return this.x/=e.x,this.y/=e.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var e=this.y;return this.y=this.x,this.x=-e,this},_rotate:function(e){var t=Math.cos(e),n=Math.sin(e),r=t*this.x-n*this.y,o=n*this.x+t*this.y;return this.x=r,this.y=o,this},_rotateAround:function(e,t){var n=Math.cos(e),r=Math.sin(e),o=t.x+n*(this.x-t.x)-r*(this.y-t.y),i=t.y+r*(this.x-t.x)+n*(this.y-t.y);return this.x=o,this.y=i,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},he.convert=function(e){return e instanceof he?e:Array.isArray(e)?new he(e[0],e[1]):e};var Me=t(fe);function me(e,t){var n=t.getBoundingClientRect();return new Me(e.clientX-n.left-(t.clientLeft||0),e.clientY-n.top-(t.clientTop||0))}function ze(e,t,n,r){return{type:d.FEATURE,properties:{meta:M.VERTEX,parent:e,coord_path:n,active:r?m.ACTIVE:m.INACTIVE},geometry:{type:d.POINT,coordinates:t}}}function Oe(e,t,n){var r=t.geometry.coordinates,o=n.geometry.coordinates;if(r[1]>85||r[1]85||o[1]=t&&this._bbox[3]>=n},Fe.prototype.intersect=function(e){return this._valid?(t=e instanceof Fe?e.bbox():e,!(this._bbox[0]>t[2]||this._bbox[2]t[3])):null;var t},Fe.prototype._fastContains=function(){if(!this._valid)return new Function("return null;");var e="return "+this._bbox[0]+"<= ll[0] &&"+this._bbox[1]+"<= ll[1] &&"+this._bbox[2]+">= ll[0] &&"+this._bbox[3]+">= ll[1]";return new Function("ll",e)},Fe.prototype.polygon=function(){return this._valid?{type:"Polygon",coordinates:[[[this._bbox[0],this._bbox[1]],[this._bbox[2],this._bbox[1]],[this._bbox[2],this._bbox[3]],[this._bbox[0],this._bbox[3]],[this._bbox[0],this._bbox[1]]]]}:null};var Xe=function(e){if(!e)return[];var t=Le(We(e)),n=[];return t.features.forEach((function(e){e.geometry&&(n=n.concat(ke(e.geometry.coordinates)))})),n},He=Ie,Ue=Ye,Ve={features:["FeatureCollection"],coordinates:["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon"],geometry:["Feature"],geometries:["GeometryCollection"]},Ge=Object.keys(Ve);function Ze(e){for(var t=Ue(),n=Xe(e),r=0;rn&&(n=c),lo&&(o=l),cs&&(s=p)}));var c=t;return n+c.lat>85&&(c.lat=85-n),o+c.lat>90&&(c.lat=90-o),r+c.lat<-85&&(c.lat=-85-r),i+c.lat<$e&&(c.lat=$e-i),a+c.lng<=-270&&(c.lng+=360*Math.ceil(Math.abs(c.lng)/360)),s+c.lng>=270&&(c.lng-=360*Math.ceil(Math.abs(c.lng)/360)),c}function Je(e,t){var n=Ke(e.map((function(e){return e.toGeoJSON()})),t);e.forEach((function(e){var t,r=e.getCoordinates(),o=function(e){var t={lng:e[0]+n.lng,lat:e[1]+n.lat};return[t.lng,t.lat]},i=function(e){return e.map((function(e){return o(e)}))};e.type===d.POINT?t=o(r):e.type===d.LINE_STRING||e.type===d.MULTI_POINT?t=r.map(o):e.type===d.POLYGON||e.type===d.MULTI_LINE_STRING?t=r.map(i):e.type===d.MULTI_POLYGON&&(t=r.map((function(e){return e.map((function(e){return i(e)}))}))),e.incomingCoords(t)}))}var et={onSetup:function(e){var t=this,n={dragMoveLocation:null,boxSelectStartLocation:null,boxSelectElement:void 0,boxSelecting:!1,canBoxSelect:!1,dragMoving:!1,canDragMove:!1,initiallySelectedFeatureIds:e.featureIds||[]};return this.setSelected(n.initiallySelectedFeatureIds.filter((function(e){return void 0!==t.getFeature(e)}))),this.fireActionable(),this.setActionableState({combineFeatures:!0,uncombineFeatures:!0,trash:!0}),n},fireUpdate:function(){this.map.fire(f.UPDATE,{action:h.MOVE,features:this.getSelected().map((function(e){return e.toGeoJSON()}))})},fireActionable:function(){var e=this,t=this.getSelected(),n=t.filter((function(t){return e.isInstanceOf("MultiFeature",t)})),r=!1;if(t.length>1){r=!0;var o=t[0].type.replace("Multi","");t.forEach((function(e){e.type.replace("Multi","")!==o&&(r=!1)}))}var i=n.length>0,a=t.length>0;this.setActionableState({combineFeatures:r,uncombineFeatures:i,trash:a})},getUniqueIds:function(e){return e.length?e.map((function(e){return e.properties.id})).filter((function(e){return void 0!==e})).reduce((function(e,t){return e.add(t),e}),new w).values():[]},stopExtendedInteractions:function(e){e.boxSelectElement&&(e.boxSelectElement.parentNode&&e.boxSelectElement.parentNode.removeChild(e.boxSelectElement),e.boxSelectElement=null),this.map.dragPan.enable(),e.boxSelecting=!1,e.canBoxSelect=!1,e.dragMoving=!1,e.canDragMove=!1},onStop:function(){ye.enable(this)},onMouseMove:function(e,t){return le(t)&&e.dragMoving&&this.fireUpdate(),this.stopExtendedInteractions(e),!0},onMouseOut:function(e){return!e.dragMoving||this.fireUpdate()}};et.onTap=et.onClick=function(e,t){return ce(t)?this.clickAnywhere(e,t):oe(M.VERTEX)(t)?this.clickOnVertex(e,t):le(t)?this.clickOnFeature(e,t):void 0},et.clickAnywhere=function(e){var t=this,n=this.getSelectedIds();n.length&&(this.clearSelectedFeatures(),n.forEach((function(e){return t.doRender(e)}))),ye.enable(this),this.stopExtendedInteractions(e)},et.clickOnVertex=function(e,t){this.changeMode(b.DIRECT_SELECT,{featureId:t.featureTarget.properties.parent,coordPath:t.featureTarget.properties.coord_path,startPos:t.lngLat}),this.updateUIClasses({mouse:p.MOVE})},et.startOnActiveFeature=function(e,t){this.stopExtendedInteractions(e),this.map.dragPan.disable(),this.doRender(t.featureTarget.properties.id),e.canDragMove=!0,e.dragMoveLocation=t.lngLat},et.clickOnFeature=function(e,t){var n=this;ye.disable(this),this.stopExtendedInteractions(e);var r=pe(t),o=this.getSelectedIds(),i=t.featureTarget.properties.id,a=this.isSelected(i);if(!r&&a&&this.getFeature(i).type!==d.POINT)return this.changeMode(b.DIRECT_SELECT,{featureId:i});a&&r?(this.deselect(i),this.updateUIClasses({mouse:p.POINTER}),1===o.length&&ye.enable(this)):!a&&r?(this.select(i),this.updateUIClasses({mouse:p.MOVE})):a||r||(o.forEach((function(e){return n.doRender(e)})),this.setSelected(i),this.updateUIClasses({mouse:p.MOVE})),this.doRender(i)},et.onMouseDown=function(e,t){return ae(t)?this.startOnActiveFeature(e,t):this.drawConfig.boxSelect&&ie(t)?this.startBoxSelect(e,t):void 0},et.startBoxSelect=function(e,t){this.stopExtendedInteractions(e),this.map.dragPan.disable(),e.boxSelectStartLocation=me(t.originalEvent,this.map.getContainer()),e.canBoxSelect=!0},et.onTouchStart=function(e,t){if(ae(t))return this.startOnActiveFeature(e,t)},et.onDrag=function(e,t){return e.canDragMove?this.dragMove(e,t):this.drawConfig.boxSelect&&e.canBoxSelect?this.whileBoxSelect(e,t):void 0},et.whileBoxSelect=function(e,t){e.boxSelecting=!0,this.updateUIClasses({mouse:p.ADD}),e.boxSelectElement||(e.boxSelectElement=document.createElement("div"),e.boxSelectElement.classList.add(l.BOX_SELECT),this.map.getContainer().appendChild(e.boxSelectElement));var n=me(t.originalEvent,this.map.getContainer()),r=Math.min(e.boxSelectStartLocation.x,n.x),o=Math.max(e.boxSelectStartLocation.x,n.x),i=Math.min(e.boxSelectStartLocation.y,n.y),a=Math.max(e.boxSelectStartLocation.y,n.y),s="translate("+r+"px, "+i+"px)";e.boxSelectElement.style.transform=s,e.boxSelectElement.style.WebkitTransform=s,e.boxSelectElement.style.width=o-r+"px",e.boxSelectElement.style.height=a-i+"px"},et.dragMove=function(e,t){e.dragMoving=!0,t.originalEvent.stopPropagation();var n={lng:t.lngLat.lng-e.dragMoveLocation.lng,lat:t.lngLat.lat-e.dragMoveLocation.lat};Je(this.getSelected(),n),e.dragMoveLocation=t.lngLat},et.onTouchEnd=et.onMouseUp=function(e,t){var n=this;if(e.dragMoving)this.fireUpdate();else if(e.boxSelecting){var r=[e.boxSelectStartLocation,me(t.originalEvent,this.map.getContainer())],o=this.featuresAt(null,r,"click"),i=this.getUniqueIds(o).filter((function(e){return!n.isSelected(e)}));i.length&&(this.select(i),i.forEach((function(e){return n.doRender(e)})),this.updateUIClasses({mouse:p.MOVE}))}this.stopExtendedInteractions(e)},et.toDisplayFeatures=function(e,t,n){t.properties.active=this.isSelected(t.properties.id)?m.ACTIVE:m.INACTIVE,n(t),this.fireActionable(),t.properties.active===m.ACTIVE&&t.geometry.type!==d.POINT&&ge(t).forEach(n)},et.onTrash=function(){this.deleteFeature(this.getSelectedIds()),this.fireActionable()},et.onCombineFeatures=function(){var e=this.getSelected();if(!(0===e.length||e.length<2)){for(var t=[],n=[],r=e[0].type.replace("Multi",""),o=0;o1){var a=this.newFeature({type:d.FEATURE,properties:n[0].properties,geometry:{type:"Multi"+r,coordinates:t}});this.addFeature(a),this.deleteFeature(this.getSelectedIds(),{silent:!0}),this.setSelected([a.id]),this.map.fire(f.COMBINE_FEATURES,{createdFeatures:[a.toGeoJSON()],deletedFeatures:n})}this.fireActionable()}},et.onUncombineFeatures=function(){var e=this,t=this.getSelected();if(0!==t.length){for(var n=[],r=[],o=function(o){var i=t[o];e.isInstanceOf("MultiFeature",i)&&(i.getFeatures().forEach((function(t){e.addFeature(t),t.properties=i.properties,n.push(t.toGeoJSON()),e.select([t.id])})),e.deleteFeature(i.id,{silent:!0}),r.push(i.toGeoJSON()))},i=0;i1&&this.map.fire(f.UNCOMBINE_FEATURES,{createdFeatures:n,deletedFeatures:r}),this.fireActionable()}};var tt=oe(M.VERTEX),nt=oe(M.MIDPOINT),rt={fireUpdate:function(){this.map.fire(f.UPDATE,{action:h.CHANGE_COORDINATES,features:this.getSelected().map((function(e){return e.toGeoJSON()}))})},fireActionable:function(e){this.setActionableState({combineFeatures:!1,uncombineFeatures:!1,trash:e.selectedCoordPaths.length>0})},startDragging:function(e,t){this.map.dragPan.disable(),e.canDragMove=!0,e.dragMoveLocation=t.lngLat},stopDragging:function(e){this.map.dragPan.enable(),e.dragMoving=!1,e.canDragMove=!1,e.dragMoveLocation=null},onVertex:function(e,t){this.startDragging(e,t);var n=t.featureTarget.properties,r=e.selectedCoordPaths.indexOf(n.coord_path);pe(t)||-1!==r?pe(t)&&-1===r&&e.selectedCoordPaths.push(n.coord_path):e.selectedCoordPaths=[n.coord_path];var o=this.pathsToCoordinates(e.featureId,e.selectedCoordPaths);this.setSelectedCoordinates(o)},onMidpoint:function(e,t){this.startDragging(e,t);var n=t.featureTarget.properties;e.feature.addCoordinate(n.coord_path,n.lng,n.lat),this.fireUpdate(),e.selectedCoordPaths=[n.coord_path]},pathsToCoordinates:function(e,t){return t.map((function(t){return{feature_id:e,coord_path:t}}))},onFeature:function(e,t){0===e.selectedCoordPaths.length?this.startDragging(e,t):this.stopDragging(e)},dragFeature:function(e,t,n){Je(this.getSelected(),n),e.dragMoveLocation=t.lngLat},dragVertex:function(e,t,n){for(var r=e.selectedCoordPaths.map((function(t){return e.feature.getCoordinate(t)})),o=Ke(r.map((function(e){return{type:d.FEATURE,properties:{},geometry:{type:d.POINT,coordinates:e}}})),n),i=0;i0?this.dragVertex(e,t,n):this.dragFeature(e,t,n),e.dragMoveLocation=t.lngLat}},rt.onClick=function(e,t){return ce(t)?this.clickNoTarget(e,t):ae(t)?this.clickActiveFeature(e,t):se(t)?this.clickInactive(e,t):void this.stopDragging(e)},rt.onTap=function(e,t){return ce(t)?this.clickNoTarget(e,t):ae(t)?this.clickActiveFeature(e,t):se(t)?this.clickInactive(e,t):void 0},rt.onTouchEnd=rt.onMouseUp=function(e){e.dragMoving&&this.fireUpdate(),this.stopDragging(e)};var ot={};function it(e,t){return!!e.lngLat&&e.lngLat.lng===t[0]&&e.lngLat.lat===t[1]}ot.onSetup=function(){var e=this.newFeature({type:d.FEATURE,properties:{},geometry:{type:d.POINT,coordinates:[]}});return this.addFeature(e),this.clearSelectedFeatures(),this.updateUIClasses({mouse:p.ADD}),this.activateUIButton(A.POINT),this.setActionableState({trash:!0}),{point:e}},ot.stopDrawingAndRemove=function(e){this.deleteFeature([e.point.id],{silent:!0}),this.changeMode(b.SIMPLE_SELECT)},ot.onTap=ot.onClick=function(e,t){this.updateUIClasses({mouse:p.MOVE}),e.point.updateCoordinate("",t.lngLat.lng,t.lngLat.lat),this.map.fire(f.CREATE,{features:[e.point.toGeoJSON()]}),this.changeMode(b.SIMPLE_SELECT,{featureIds:[e.point.id]})},ot.onStop=function(e){this.activateUIButton(),e.point.getCoordinate().length||this.deleteFeature([e.point.id],{silent:!0})},ot.toDisplayFeatures=function(e,t,n){var r=t.properties.id===e.point.id;if(t.properties.active=r?m.ACTIVE:m.INACTIVE,!r)return n(t)},ot.onTrash=ot.stopDrawingAndRemove,ot.onKeyUp=function(e,t){if(Ae(t)||de(t))return this.stopDrawingAndRemove(e,t)};var at={onSetup:function(){var e=this.newFeature({type:d.FEATURE,properties:{},geometry:{type:d.POLYGON,coordinates:[[]]}});return this.addFeature(e),this.clearSelectedFeatures(),ye.disable(this),this.updateUIClasses({mouse:p.ADD}),this.activateUIButton(A.POLYGON),this.setActionableState({trash:!0}),{polygon:e,currentVertexPosition:0}},clickAnywhere:function(e,t){if(e.currentVertexPosition>0&&it(t,e.polygon.coordinates[0][e.currentVertexPosition-1]))return this.changeMode(b.SIMPLE_SELECT,{featureIds:[e.polygon.id]});this.updateUIClasses({mouse:p.ADD}),e.polygon.updateCoordinate("0."+e.currentVertexPosition,t.lngLat.lng,t.lngLat.lat),e.currentVertexPosition++,e.polygon.updateCoordinate("0."+e.currentVertexPosition,t.lngLat.lng,t.lngLat.lat)},clickOnVertex:function(e){return this.changeMode(b.SIMPLE_SELECT,{featureIds:[e.polygon.id]})},onMouseMove:function(e,t){e.polygon.updateCoordinate("0."+e.currentVertexPosition,t.lngLat.lng,t.lngLat.lat),ue(t)&&this.updateUIClasses({mouse:p.POINTER})}};at.onTap=at.onClick=function(e,t){return ue(t)?this.clickOnVertex(e,t):this.clickAnywhere(e,t)},at.onKeyUp=function(e,t){Ae(t)?(this.deleteFeature([e.polygon.id],{silent:!0}),this.changeMode(b.SIMPLE_SELECT)):de(t)&&this.changeMode(b.SIMPLE_SELECT,{featureIds:[e.polygon.id]})},at.onStop=function(e){this.updateUIClasses({mouse:p.NONE}),ye.enable(this),this.activateUIButton(),void 0!==this.getFeature(e.polygon.id)&&(e.polygon.removeCoordinate("0."+e.currentVertexPosition),e.polygon.isValid()?this.map.fire(f.CREATE,{features:[e.polygon.toGeoJSON()]}):(this.deleteFeature([e.polygon.id],{silent:!0}),this.changeMode(b.SIMPLE_SELECT,{},{silent:!0})))},at.toDisplayFeatures=function(e,t,n){var r=t.properties.id===e.polygon.id;if(t.properties.active=r?m.ACTIVE:m.INACTIVE,!r)return n(t);if(0!==t.geometry.coordinates.length){var o=t.geometry.coordinates[0].length;if(!(o<3)){if(t.properties.meta=M.FEATURE,n(ze(e.polygon.id,t.geometry.coordinates[0][0],"0.0",!1)),o>3){var i=t.geometry.coordinates[0].length-3;n(ze(e.polygon.id,t.geometry.coordinates[0][i],"0."+i,!1))}if(o<=4){var a=[[t.geometry.coordinates[0][0][0],t.geometry.coordinates[0][0][1]],[t.geometry.coordinates[0][1][0],t.geometry.coordinates[0][1][1]]];if(n({type:d.FEATURE,properties:t.properties,geometry:{coordinates:a,type:d.LINE_STRING}}),3===o)return}return n(t)}}},at.onTrash=function(e){this.deleteFeature([e.polygon.id],{silent:!0}),this.changeMode(b.SIMPLE_SELECT)};var st={onSetup:function(e){var t,n,r=(e=e||{}).featureId,o="forward";if(r){if(!(t=this.getFeature(r)))throw new Error("Could not find a feature with the provided featureId");var i=e.from;if(i&&"Feature"===i.type&&i.geometry&&"Point"===i.geometry.type&&(i=i.geometry),i&&"Point"===i.type&&i.coordinates&&2===i.coordinates.length&&(i=i.coordinates),!i||!Array.isArray(i))throw new Error("Please use the `from` property to indicate which point to continue the line from");var a=t.coordinates.length-1;if(t.coordinates[a][0]===i[0]&&t.coordinates[a][1]===i[1])n=a+1,t.addCoordinate.apply(t,[n].concat(t.coordinates[a]));else{if(t.coordinates[0][0]!==i[0]||t.coordinates[0][1]!==i[1])throw new Error("`from` should match the point at either the start or the end of the provided LineString");o="backwards",n=0,t.addCoordinate.apply(t,[n].concat(t.coordinates[0]))}}else t=this.newFeature({type:d.FEATURE,properties:{},geometry:{type:d.LINE_STRING,coordinates:[]}}),n=0,this.addFeature(t);return this.clearSelectedFeatures(),ye.disable(this),this.updateUIClasses({mouse:p.ADD}),this.activateUIButton(A.LINE),this.setActionableState({trash:!0}),{line:t,currentVertexPosition:n,direction:o}},clickAnywhere:function(e,t){if(e.currentVertexPosition>0&&it(t,e.line.coordinates[e.currentVertexPosition-1])||"backwards"===e.direction&&it(t,e.line.coordinates[e.currentVertexPosition+1]))return this.changeMode(b.SIMPLE_SELECT,{featureIds:[e.line.id]});this.updateUIClasses({mouse:p.ADD}),e.line.updateCoordinate(e.currentVertexPosition,t.lngLat.lng,t.lngLat.lat),"forward"===e.direction?(e.currentVertexPosition++,e.line.updateCoordinate(e.currentVertexPosition,t.lngLat.lng,t.lngLat.lat)):e.line.addCoordinate(0,t.lngLat.lng,t.lngLat.lat)},clickOnVertex:function(e){return this.changeMode(b.SIMPLE_SELECT,{featureIds:[e.line.id]})},onMouseMove:function(e,t){e.line.updateCoordinate(e.currentVertexPosition,t.lngLat.lng,t.lngLat.lat),ue(t)&&this.updateUIClasses({mouse:p.POINTER})}};st.onTap=st.onClick=function(e,t){if(ue(t))return this.clickOnVertex(e,t);this.clickAnywhere(e,t)},st.onKeyUp=function(e,t){de(t)?this.changeMode(b.SIMPLE_SELECT,{featureIds:[e.line.id]}):Ae(t)&&(this.deleteFeature([e.line.id],{silent:!0}),this.changeMode(b.SIMPLE_SELECT))},st.onStop=function(e){ye.enable(this),this.activateUIButton(),void 0!==this.getFeature(e.line.id)&&(e.line.removeCoordinate(""+e.currentVertexPosition),e.line.isValid()?this.map.fire(f.CREATE,{features:[e.line.toGeoJSON()]}):(this.deleteFeature([e.line.id],{silent:!0}),this.changeMode(b.SIMPLE_SELECT,{},{silent:!0})))},st.onTrash=function(e){this.deleteFeature([e.line.id],{silent:!0}),this.changeMode(b.SIMPLE_SELECT)},st.toDisplayFeatures=function(e,t,n){var r=t.properties.id===e.line.id;if(t.properties.active=r?m.ACTIVE:m.INACTIVE,!r)return n(t);t.geometry.coordinates.length<2||(t.properties.meta=M.FEATURE,n(ze(e.line.id,t.geometry.coordinates["forward"===e.direction?t.geometry.coordinates.length-2:1],""+("forward"===e.direction?t.geometry.coordinates.length-2:1),!1)),n(t))};var ct={simple_select:et,direct_select:rt,draw_point:ot,draw_polygon:at,draw_line_string:st},lt={defaultMode:b.SIMPLE_SELECT,keybindings:!0,touchEnabled:!0,clickBuffer:2,touchBuffer:25,boxSelect:!0,displayControlsDefault:!0,styles:re,modes:ct,controls:{},userProperties:!1},ut={point:!0,line_string:!0,polygon:!0,trash:!0,combine_features:!0,uncombine_features:!0},pt={point:!1,line_string:!1,polygon:!1,trash:!1,combine_features:!1,uncombine_features:!1};function At(e,t){return e.map((function(e){return e.source?e:ee(e,{id:e.id+"."+t,source:"hot"===t?u.HOT:u.COLD})}))}var dt={exports:{}};!function(e,t){var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",s="[object Boolean]",c="[object Date]",l="[object Error]",u="[object Function]",p="[object Map]",A="[object Number]",d="[object Object]",b="[object Promise]",f="[object RegExp]",h="[object Set]",M="[object String]",m="[object Symbol]",z="[object WeakMap]",O="[object ArrayBuffer]",g="[object DataView]",y=/^\[object .+?Constructor\]$/,v=/^(?:0|[1-9]\d*)$/,_={};_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_[i]=_[a]=_[O]=_[s]=_[g]=_[c]=_[l]=_[u]=_[p]=_[A]=_[d]=_[f]=_[h]=_[M]=_[z]=!1;var x="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,w="object"==typeof self&&self&&self.Object===Object&&self,q=x||w||Function("return this")(),W=t&&!t.nodeType&&t,L=W&&e&&!e.nodeType&&e,k=L&&L.exports===W,T=k&&x.process,R=function(){try{return T&&T.binding&&T.binding("util")}catch(e){}}(),S=R&&R.isTypedArray;function E(e,t){for(var n=-1,r=null==e?0:e.length;++ns))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var u=-1,p=!0,A=2&n?new Oe:void 0;for(i.set(e,t),i.set(t,e);++u-1},me.prototype.set=function(e,t){var n=this.__data__,r=ve(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ze.prototype.clear=function(){this.size=0,this.__data__={hash:new Me,map:new(ie||me),string:new Me}},ze.prototype.delete=function(e){var t=Te(this,e).delete(e);return this.size-=t?1:0,t},ze.prototype.get=function(e){return Te(this,e).get(e)},ze.prototype.has=function(e){return Te(this,e).has(e)},ze.prototype.set=function(e,t){var n=Te(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Oe.prototype.add=Oe.prototype.push=function(e){return this.__data__.set(e,r),this},Oe.prototype.has=function(e){return this.__data__.has(e)},ge.prototype.clear=function(){this.__data__=new me,this.size=0},ge.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ge.prototype.get=function(e){return this.__data__.get(e)},ge.prototype.has=function(e){return this.__data__.has(e)},ge.prototype.set=function(e,t){var n=this.__data__;if(n instanceof me){var r=n.__data__;if(!ie||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ze(r)}return n.set(e,t),this.size=n.size,this};var Se=te?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n-1&&e%1==0&&e-1&&e%1==0&&e<=o}function Fe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Xe(e){return null!=e&&"object"==typeof e}var He=S?function(e){return function(t){return e(t)}}(S):function(e){return Xe(e)&&Ye(e.length)&&!!_[_e(e)]};function Ue(e){return null!=(t=e)&&Ye(t.length)&&!Ie(t)?ye(e):We(e);var t}e.exports=function(e,t){return we(e,t)}}(dt,dt.exports);var bt=t(dt.exports);function ft(e,t){return e.length===t.length&&JSON.stringify(e.map((function(e){return e})).sort())===JSON.stringify(t.map((function(e){return e})).sort())}var ht={Polygon:j,LineString:P,Point:B,MultiPolygon:F,MultiLineString:F,MultiPoint:F},Mt=Object.freeze({__proto__:null,CommonSelectors:be,constrainFeatureMovement:Ke,createMidPoint:Oe,createSupplementaryPoints:ge,createVertex:ze,doubleClickZoom:ye,euclideanDistance:T,featuresAt:W,getFeatureAtAndSetCursors:k,isClick:R,isEventAtCoordinates:it,isTap:S,mapEventToBoundingBox:x,ModeHandler:e,moveFeatures:Je,sortFeatures:_,stringSetsAreEqual:ft,StringSet:w,theme:re,toDenseArray:G}),mt=function(e,t){var n={options:e=function(e){void 0===e&&(e={});var t=ee(e);return e.controls||(t.controls={}),!1===e.displayControlsDefault?t.controls=ee(pt,e.controls):t.controls=ee(ut,e.controls),(t=ee(lt,t)).styles=At(t.styles,"cold").concat(At(t.styles,"hot")),t}(e)};t=function(e,t){return t.modes=b,t.getFeatureIdsAt=function(t){return W.click({point:t},null,e).map((function(e){return e.properties.id}))},t.getSelectedIds=function(){return e.store.getSelectedIds()},t.getSelected=function(){return{type:d.FEATURE_COLLECTION,features:e.store.getSelectedIds().map((function(t){return e.store.get(t)})).map((function(e){return e.toGeoJSON()}))}},t.getSelectedPoints=function(){return{type:d.FEATURE_COLLECTION,features:e.store.getSelectedCoordinates().map((function(e){return{type:d.FEATURE,properties:{},geometry:{type:d.POINT,coordinates:e.coordinates}}}))}},t.set=function(n){if(void 0===n.type||n.type!==d.FEATURE_COLLECTION||!Array.isArray(n.features))throw new Error("Invalid FeatureCollection");var r=e.store.createRenderBatch(),o=e.store.getAllIds().slice(),i=t.add(n),a=new w(i);return(o=o.filter((function(e){return!a.has(e)}))).length&&t.delete(o),r(),i},t.add=function(t){var n=JSON.parse(JSON.stringify(we(t))).features.map((function(t){if(t.id=t.id||C(),null===t.geometry)throw new Error("Invalid geometry: null");if(void 0===e.store.get(t.id)||e.store.get(t.id).type!==t.geometry.type){var n=ht[t.geometry.type];if(void 0===n)throw new Error("Invalid geometry type: "+t.geometry.type+".");var r=new n(e,t);e.store.add(r)}else{var o=e.store.get(t.id);o.properties=t.properties,bt(o.properties,t.properties)||e.store.featureChanged(o.id),bt(o.getCoordinates(),t.geometry.coordinates)||o.incomingCoords(t.geometry.coordinates)}return t.id}));return e.store.render(),n},t.get=function(t){var n=e.store.get(t);if(n)return n.toGeoJSON()},t.getAll=function(){return{type:d.FEATURE_COLLECTION,features:e.store.getAll().map((function(e){return e.toGeoJSON()}))}},t.delete=function(n){return e.store.delete(n,{silent:!0}),t.getMode()!==b.DIRECT_SELECT||e.store.getSelectedIds().length?e.store.render():e.events.changeMode(b.SIMPLE_SELECT,void 0,{silent:!0}),t},t.deleteAll=function(){return e.store.delete(e.store.getAllIds(),{silent:!0}),t.getMode()===b.DIRECT_SELECT?e.events.changeMode(b.SIMPLE_SELECT,void 0,{silent:!0}):e.store.render(),t},t.changeMode=function(n,r){return void 0===r&&(r={}),n===b.SIMPLE_SELECT&&t.getMode()===b.SIMPLE_SELECT?(ft(r.featureIds||[],e.store.getSelectedIds())||(e.store.setSelected(r.featureIds,{silent:!0}),e.store.render()),t):(n===b.DIRECT_SELECT&&t.getMode()===b.DIRECT_SELECT&&r.featureId===e.store.getSelectedIds()[0]||e.events.changeMode(n,r,{silent:!0}),t)},t.getMode=function(){return e.events.getMode()},t.trash=function(){return e.events.trash({silent:!0}),t},t.combineFeatures=function(){return e.events.combineFeatures({silent:!0}),t},t.uncombineFeatures=function(){return e.events.uncombineFeatures({silent:!0}),t},t.setFeatureProperty=function(n,r,o){return e.store.setFeatureProperty(n,r,o),t},t}(n,t),n.api=t;var r=ne(n);return t.onAdd=r.onAdd,t.onRemove=r.onRemove,t.types=A,t.options=e,t};function zt(e){mt(e,this)}return zt.modes=ct,zt.constants=g,zt.lib=Mt,zt}()},7797:(e,t,n)=>{"use strict";function r(e,t,n){return function(r,o){void 0===o&&(o=n);var i=e(r)+o;return t(i)}}function o(e){return function(t){return new Date(e(t).getTime()-1)}}function i(e,t){return function(n){return[e(n),t(n)]}}function a(e){if(e instanceof Date)return e.getFullYear();if("number"===typeof e)return e;var t=parseInt(e,10);if("string"===typeof e&&!isNaN(t))return t;throw new Error("Failed to get year from date: ".concat(e,"."))}function s(e){if(e instanceof Date)return e.getMonth();throw new Error("Failed to get month from date: ".concat(e,"."))}function c(e){if(e instanceof Date)return e.getMonth()+1;throw new Error("Failed to get human-readable month from date: ".concat(e,"."))}function l(e){if(e instanceof Date)return e.getDate();throw new Error("Failed to get year from date: ".concat(e,"."))}function u(e){if(e instanceof Date)return e.getHours();if("string"===typeof e){var t=e.split(":");if(t.length>=2){var n=t[0];if(n){var r=parseInt(n,10);if(!isNaN(r))return r}}}throw new Error("Failed to get hours from date: ".concat(e,"."))}function p(e){if(e instanceof Date)return e.getMinutes();if("string"===typeof e){var t=e.split(":");if(t.length>=2){var n=t[1]||"0",r=parseInt(n,10);if(!isNaN(r))return r}}throw new Error("Failed to get minutes from date: ".concat(e,"."))}function A(e){if(e instanceof Date)return e.getSeconds();if("string"===typeof e){var t=e.split(":");if(t.length>=2){var n=t[2]||"0",r=parseInt(n,10);if(!isNaN(r))return r}}throw new Error("Failed to get seconds from date: ".concat(e,"."))}function d(e){var t=a(e),n=t+(1-t)%100,r=new Date;return r.setFullYear(n,0,1),r.setHours(0,0,0,0),r}n.r(t),n.d(t,{getCenturyEnd:()=>h,getCenturyRange:()=>z,getCenturyStart:()=>d,getDate:()=>l,getDayEnd:()=>U,getDayRange:()=>Z,getDayStart:()=>F,getDaysInMonth:()=>Q,getDecadeEnd:()=>v,getDecadeRange:()=>w,getDecadeStart:()=>O,getHours:()=>u,getHoursMinutes:()=>K,getHoursMinutesSeconds:()=>J,getISOLocalDate:()=>te,getISOLocalDateTime:()=>ne,getISOLocalMonth:()=>ee,getMinutes:()=>p,getMonth:()=>s,getMonthEnd:()=>B,getMonthHuman:()=>c,getMonthRange:()=>I,getMonthStart:()=>D,getNextCenturyEnd:()=>m,getNextCenturyStart:()=>f,getNextDayEnd:()=>G,getNextDayStart:()=>H,getNextDecadeEnd:()=>x,getNextDecadeStart:()=>y,getNextMonthEnd:()=>j,getNextMonthStart:()=>N,getNextYearEnd:()=>R,getNextYearStart:()=>L,getPreviousCenturyEnd:()=>M,getPreviousCenturyStart:()=>b,getPreviousDayEnd:()=>V,getPreviousDayStart:()=>X,getPreviousDecadeEnd:()=>_,getPreviousDecadeStart:()=>g,getPreviousMonthEnd:()=>P,getPreviousMonthStart:()=>C,getPreviousYearEnd:()=>T,getPreviousYearStart:()=>W,getSeconds:()=>A,getYear:()=>a,getYearEnd:()=>k,getYearRange:()=>S,getYearStart:()=>q});var b=r(a,d,-100),f=r(a,d,100),h=o(f),M=r(a,h,-100),m=r(a,h,100),z=i(d,h);function O(e){var t=a(e),n=t+(1-t)%10,r=new Date;return r.setFullYear(n,0,1),r.setHours(0,0,0,0),r}var g=r(a,O,-10),y=r(a,O,10),v=o(y),_=r(a,v,-10),x=r(a,v,10),w=i(O,v);function q(e){var t=a(e),n=new Date;return n.setFullYear(t,0,1),n.setHours(0,0,0,0),n}var W=r(a,q,-1),L=r(a,q,1),k=o(L),T=r(a,k,-1),R=r(a,k,1),S=i(q,k);function E(e,t){return function(n,r){void 0===r&&(r=t);var o=a(n),i=s(n)+r,c=new Date;return c.setFullYear(o,i,1),c.setHours(0,0,0,0),e(c)}}function D(e){var t=a(e),n=s(e),r=new Date;return r.setFullYear(t,n,1),r.setHours(0,0,0,0),r}var C=E(D,-1),N=E(D,1),B=o(N),P=E(B,-1),j=E(B,1),I=i(D,B);function Y(e,t){return function(n,r){void 0===r&&(r=t);var o=a(n),i=s(n),c=l(n)+r,u=new Date;return u.setFullYear(o,i,c),u.setHours(0,0,0,0),e(u)}}function F(e){var t=a(e),n=s(e),r=l(e),o=new Date;return o.setFullYear(t,n,r),o.setHours(0,0,0,0),o}var X=Y(F,-1),H=Y(F,1),U=o(H),V=Y(U,-1),G=Y(U,1),Z=i(F,U);function Q(e){return l(B(e))}function $(e,t){void 0===t&&(t=2);var n="".concat(e);return n.length>=t?e:"0000".concat(n).slice(-t)}function K(e){var t=$(u(e)),n=$(p(e));return"".concat(t,":").concat(n)}function J(e){var t=$(u(e)),n=$(p(e)),r=$(A(e));return"".concat(t,":").concat(n,":").concat(r)}function ee(e){var t=$(a(e),4),n=$(c(e));return"".concat(t,"-").concat(n)}function te(e){var t=$(a(e),4),n=$(c(e)),r=$(l(e));return"".concat(t,"-").concat(n,"-").concat(r)}function ne(e){return"".concat(te(e),"T").concat(J(e))}},4383:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r>>6-2*o);return n}};e.exports=n}()},4890:e=>{var t={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};e.exports=function(e,n,r,o){if(!t.hasOwnProperty(r))throw new Error("Cannot convert to "+r);if(!t[r].hasOwnProperty(n))throw new Error("Cannot convert from "+n+" to "+r);var i=t[r][n]*e;return!1!==o?(o=Math.pow(10,parseInt(o)||5),Math.round(i*o)/o):i}},6674:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const o=function(e,t,n){var o,i=r[e];return o="string"===typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var a={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function c(e){return function(t,n){var r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=null!==n&&void 0!==n&&n.width?String(n.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var a=e.defaultWidth,s=null!==n&&void 0!==n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function l(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a,s=i[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(c)?function(e,t){for(var n=0;n20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:c({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:c({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:c({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:c({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:c({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(u={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(u.matchPattern);if(!n)return null;var r=n[0],o=e.match(u.parsePattern);if(!o)return null;var i=u.valueCallback?u.valueCallback(o[0]):o[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},4408:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r={};function o(){return r}},3462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},o=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};const i={p:o,P:function(e,t){var n,i=e.match(/(P+)(p+)?/)||[],a=i[1],s=i[2];if(!s)return r(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(a,t)).replace("{{time}}",o(s,t))}}},4697:(e,t,n)=>{"use strict";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{Z:()=>r})},9153:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(8527),o=n(9853),i=n(5611),a=n(4522);var s=6048e5;function c(e){(0,a.Z)(1,arguments);var t=(0,r.default)(e),n=(0,o.Z)(t).getTime()-function(e){(0,a.Z)(1,arguments);var t=(0,i.Z)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,o.Z)(n)}(t).getTime();return Math.round(n/s)+1}},5611:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(8527),o=n(4522),i=n(9853);function a(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var s=(0,i.Z)(a),c=new Date(0);c.setUTCFullYear(n,0,4),c.setUTCHours(0,0,0,0);var l=(0,i.Z)(c);return t.getTime()>=s.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}},9934:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(8527),o=n(1230),i=n(9726),a=n(4522),s=n(9297),c=n(4408);var l=6048e5;function u(e,t){(0,a.Z)(1,arguments);var n=(0,r.default)(e),u=(0,o.Z)(n,t).getTime()-function(e,t){var n,r,l,u,p,A,d,b;(0,a.Z)(1,arguments);var f=(0,c.j)(),h=(0,s.Z)(null!==(n=null!==(r=null!==(l=null!==(u=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null===t||void 0===t||null===(p=t.locale)||void 0===p||null===(A=p.options)||void 0===A?void 0:A.firstWeekContainsDate)&&void 0!==l?l:f.firstWeekContainsDate)&&void 0!==r?r:null===(d=f.locale)||void 0===d||null===(b=d.options)||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==n?n:1),M=(0,i.Z)(e,t),m=new Date(0);return m.setUTCFullYear(M,0,h),m.setUTCHours(0,0,0,0),(0,o.Z)(m,t)}(n,t).getTime();return Math.round(u/l)+1}},9726:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(8527),o=n(4522),i=n(1230),a=n(9297),s=n(4408);function c(e,t){var n,c,l,u,p,A,d,b;(0,o.Z)(1,arguments);var f=(0,r.default)(e),h=f.getUTCFullYear(),M=(0,s.j)(),m=(0,a.Z)(null!==(n=null!==(c=null!==(l=null!==(u=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null===t||void 0===t||null===(p=t.locale)||void 0===p||null===(A=p.options)||void 0===A?void 0:A.firstWeekContainsDate)&&void 0!==l?l:M.firstWeekContainsDate)&&void 0!==c?c:null===(d=M.locale)||void 0===d||null===(b=d.options)||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==n?n:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var z=new Date(0);z.setUTCFullYear(h+1,0,m),z.setUTCHours(0,0,0,0);var O=(0,i.Z)(z,t),g=new Date(0);g.setUTCFullYear(h,0,m),g.setUTCHours(0,0,0,0);var y=(0,i.Z)(g,t);return f.getTime()>=O.getTime()?h+1:f.getTime()>=y.getTime()?h:h-1}},8552:(e,t,n)=>{"use strict";n.d(t,{Do:()=>a,Iu:()=>i,qp:()=>s});var r=["D","DD"],o=["YY","YYYY"];function i(e){return-1!==r.indexOf(e)}function a(e){return-1!==o.indexOf(e)}function s(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},4522:(e,t,n)=>{"use strict";function r(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:()=>r})},9853:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getUTCDay(),i=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-i),t.setUTCHours(0,0,0,0),t}},1230:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8527),o=n(4522),i=n(9297),a=n(4408);function s(e,t){var n,s,c,l,u,p,A,d;(0,o.Z)(1,arguments);var b=(0,a.j)(),f=(0,i.Z)(null!==(n=null!==(s=null!==(c=null!==(l=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==l?l:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(p=u.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==c?c:b.weekStartsOn)&&void 0!==s?s:null===(A=b.locale)||void 0===A||null===(d=A.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=(0,r.default)(e),M=h.getUTCDay(),m=(M{"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{Z:()=>r})},9040:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},2074:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9297),o=n(4377),i=n(4522),a=36e5;function s(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.Z)(e,n*a)}},4377:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e).getTime(),a=(0,r.Z)(t);return new Date(n+a)}},1518:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9297),o=n(4377),i=n(4522),a=6e4;function s(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.Z)(e,n*a)}},1104:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),c=new Date(n.getTime());return c.setMonth(n.getMonth()+a+1,0),s>=c.getDate()?c:(n.setFullYear(c.getFullYear(),c.getMonth(),s),n)}},6689:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(1104),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=3*(0,r.Z)(t);return(0,o.default)(e,n)}},20:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(9040),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=7*(0,r.Z)(t);return(0,o.default)(e,n)}},5105:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(1104),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,12*n)}},2729:(e,t,n)=>{"use strict";n.d(t,{qk:()=>i,vh:()=>o,yJ:()=>r});Math.pow(10,8);var r=6e4,o=36e5,i=1e3},9759:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(4697),o=n(8347),i=n(4522),a=864e5;function s(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),s=(0,o.default)(t),c=n.getTime()-(0,r.Z)(n),l=s.getTime()-(0,r.Z)(s);return Math.round((c-l)/a)}},5951:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return 12*(n.getFullYear()-i.getFullYear())+(n.getMonth()-i.getMonth())}},7223:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9254),o=n(4697),i=n(4522),a=6048e5;function s(e,t,n){(0,i.Z)(2,arguments);var s=(0,r.default)(e,n),c=(0,r.default)(t,n),l=s.getTime()-(0,o.Z)(s),u=c.getTime()-(0,o.Z)(c);return Math.round((l-u)/a)}},7415:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()-i.getFullYear()}},786:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setHours(23,59,59,999),t}},4888:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},4565:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(4408),o=n(8527),i=n(9297),a=n(4522);function s(e,t){var n,s,c,l,u,p,A,d;(0,a.Z)(1,arguments);var b=(0,r.j)(),f=(0,i.Z)(null!==(n=null!==(s=null!==(c=null!==(l=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==l?l:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(p=u.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==c?c:b.weekStartsOn)&&void 0!==s?s:null===(A=b.locale)||void 0===A||null===(d=A.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=(0,o.default)(e),M=h.getDay(),m=6+(M{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}},1951:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r=n(9314),o=n(1633),i=n(8527),a=n(4522);var s=n(9153),c=n(5611),l=n(9934),u=n(9726);function p(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?n:1-n;return p("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):p(n+1,2)},d:function(e,t){return p(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return p(e.getUTCHours()%12||12,t.length)},H:function(e,t){return p(e.getUTCHours(),t.length)},m:function(e,t){return p(e.getUTCMinutes(),t.length)},s:function(e,t){return p(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return p(Math.floor(r*Math.pow(10,n-3)),t.length)}};var d="midnight",b="noon",f="morning",h="afternoon",M="evening",m="night";function z(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;if(0===i)return n+String(o);var a=t||"";return n+String(o)+a+p(i,2)}function O(e,t){return e%60===0?(e>0?"-":"+")+p(Math.abs(e)/60,2):g(e,t)}function g(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+p(Math.floor(o/60),2)+n+p(o%60,2)}const y={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return A.y(e,t)},Y:function(e,t,n,r){var o=(0,u.Z)(e,r),i=o>0?o:1-o;return"YY"===t?p(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):p(i,t.length)},R:function(e,t){return p((0,c.Z)(e),t.length)},u:function(e,t){return p(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return p(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return p(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return A.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return p(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=(0,l.Z)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):p(o,t.length)},I:function(e,t,n){var r=(0,s.Z)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):p(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):A.d(e,t)},D:function(e,t,n){var r=function(e){(0,a.Z)(1,arguments);var t=(0,i.default)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):p(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return p(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return p(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return p(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?b:0===o?d:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?M:o>=12?h:o>=4?f:m,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return A.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):A.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):p(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):p(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):A.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):A.s(e,t)},S:function(e,t){return A.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return O(o);case"XXXX":case"XX":return g(o);default:return g(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return O(o);case"xxxx":case"xx":return g(o);default:return g(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+z(o,":");default:return"GMT"+g(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+z(o,":");default:return"GMT"+g(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return p(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return p((r._originalDate||e).getTime(),t.length)}};var v=n(3462),_=n(4697),x=n(8552),w=n(9297),q=n(4408),W=n(6674),L=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,k=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,T=/^'([^]*?)'?$/,R=/''/g,S=/[a-zA-Z]/;function E(e,t,n){var s,c,l,u,p,A,d,b,f,h,M,m,z,O,g,E,D,C;(0,a.Z)(2,arguments);var N=String(t),B=(0,q.j)(),P=null!==(s=null!==(c=null===n||void 0===n?void 0:n.locale)&&void 0!==c?c:B.locale)&&void 0!==s?s:W.Z,j=(0,w.Z)(null!==(l=null!==(u=null!==(p=null!==(A=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==A?A:null===n||void 0===n||null===(d=n.locale)||void 0===d||null===(b=d.options)||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==p?p:B.firstWeekContainsDate)&&void 0!==u?u:null===(f=B.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==l?l:1);if(!(j>=1&&j<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=(0,w.Z)(null!==(M=null!==(m=null!==(z=null!==(O=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==O?O:null===n||void 0===n||null===(g=n.locale)||void 0===g||null===(E=g.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==z?z:B.weekStartsOn)&&void 0!==m?m:null===(D=B.locale)||void 0===D||null===(C=D.options)||void 0===C?void 0:C.weekStartsOn)&&void 0!==M?M:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!P.localize)throw new RangeError("locale must contain localize property");if(!P.formatLong)throw new RangeError("locale must contain formatLong property");var Y=(0,i.default)(e);if(!(0,r.default)(Y))throw new RangeError("Invalid time value");var F=(0,_.Z)(Y),X=(0,o.Z)(Y,F),H={firstWeekContainsDate:j,weekStartsOn:I,locale:P,_originalDate:Y};return N.match(k).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,v.Z[t])(e,P.formatLong):e})).join("").match(L).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return function(e){var t=e.match(T);if(!t)return e;return t[1].replace(R,"'")}(r);var i=y[o];if(i)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!(0,x.Do)(r)||(0,x.qp)(r,t,String(e)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!(0,x.Iu)(r)||(0,x.qp)(r,t,String(e)),i(X,r,P.localize,H);if(o.match(S))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("")}},6114:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getDate()}},467:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getDay()}},1537:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getHours()}},6975:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(8527),o=n(9254),i=n(4522);function a(e){return(0,i.Z)(1,arguments),(0,o.default)(e,{weekStartsOn:1})}function s(e){(0,i.Z)(1,arguments);var t=function(e){(0,i.Z)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear(),o=new Date(0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);var s=a(o),c=new Date(0);c.setFullYear(n,0,4),c.setHours(0,0,0,0);var l=a(c);return t.getTime()>=s.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}(e),n=new Date(0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),a(n)}var c=6048e5;function l(e){(0,i.Z)(1,arguments);var t=(0,r.default)(e),n=a(t).getTime()-s(t).getTime();return Math.round(n/c)+1}},4424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getMinutes()}},3747:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getMonth()}},639:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return Math.floor(t.getMonth()/3)+1}},2295:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getSeconds()}},4460:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getTime()}},2599:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getFullYear()}},9420:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()>i.getTime()}},9579:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime(){"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1002),o=n(4522);function i(e){return(0,o.Z)(1,arguments),e instanceof Date||"object"===(0,r.Z)(e)&&"[object Date]"===Object.prototype.toString.call(e)}},7508:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},4690:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8347),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},5375:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()}},4845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(3006),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},1750:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()===i.getFullYear()}},9314:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(6971),o=n(8527),i=n(4522);function a(e){if((0,i.Z)(1,arguments),!(0,r.default)(e)&&"number"!==typeof e)return!1;var t=(0,o.default)(e);return!isNaN(Number(t))}},7262:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e).getTime(),i=(0,r.default)(t.start).getTime(),a=(0,r.default)(t.end).getTime();if(!(i<=a))throw new RangeError("Invalid interval");return n>=i&&n<=a}},9333:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1002),o=n(8527),i=n(4522);function a(e){var t,n;if((0,i.Z)(1,arguments),e&&"function"===typeof e.forEach)t=e;else{if("object"!==(0,r.Z)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,o.default)(e);(void 0===n||n{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1002),o=n(8527),i=n(4522);function a(e){var t,n;if((0,i.Z)(1,arguments),e&&"function"===typeof e.forEach)t=e;else{if("object"!==(0,r.Z)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,o.default)(e);(void 0===n||n>t||isNaN(t.getDate()))&&(n=t)})),n||new Date(NaN)}},6448:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Ke});var r=n(1002),o=n(181);function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,o.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}var a=n(6674),s=n(1633),c=n(8527);function l(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var u=n(3462),p=n(4697),A=n(8552),d=n(9297),b=n(4522),f=n(7326),h=n(9340),M=n(8557),m=n(5671),z=n(3144),O=n(4942),g=function(){function e(){(0,m.Z)(this,e),(0,O.Z)(this,"priority",void 0),(0,O.Z)(this,"subPriority",0)}return(0,z.Z)(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),y=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(e,r,o,i,a){var s;return(0,m.Z)(this,n),(s=t.call(this)).value=e,s.validateValue=r,s.setValue=o,s.priority=i,a&&(s.subPriority=a),s}return(0,z.Z)(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(g),v=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0,o=r?t:1-t;if(o<=50)n=e||100;else{var i=o+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return r?n:1-n}function ie(e){return e%400===0||e%4===0&&e%100!==0}var ae=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0}},{key:"set",value:function(e,t,n){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var o=oe(n.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var i="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(_),se=n(9726),ce=n(1230),le=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0}},{key:"set",value:function(e,t,n,r){var o=(0,se.Z)(e,r);if(n.isTwoDigitYear){var i=oe(n.year,o);return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,ce.Z)(e,r)}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,ce.Z)(e,r)}}]),n}(_),ue=n(9853),pe=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(_),be=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(_),fe=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(_),he=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(_),Me=n(9934);var me=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=53}},{key:"set",value:function(e,t,n,r){return(0,ce.Z)(function(e,t,n){(0,b.Z)(2,arguments);var r=(0,c.default)(e),o=(0,d.Z)(t),i=(0,Me.Z)(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*i),r}(e,n,r),r)}}]),n}(_),ze=n(9153);var Oe=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,ue.Z)(function(e,t){(0,b.Z)(2,arguments);var n=(0,c.default)(e),r=(0,d.Z)(t),o=(0,ze.Z)(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,n))}}]),n}(_),ge=[31,28,31,30,31,30,31,31,30,31,30,31],ye=[31,29,31,30,31,30,31,31,30,31,30,31],ve=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=ye[r]:t>=1&&t<=ge[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(_),_e=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(_),xe=n(4408);function we(e,t,n){var r,o,i,a,s,l,u,p;(0,b.Z)(2,arguments);var A=(0,xe.j)(),f=(0,d.Z)(null!==(r=null!==(o=null!==(i=null!==(a=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==a?a:null===n||void 0===n||null===(s=n.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==i?i:A.weekStartsOn)&&void 0!==o?o:null===(u=A.locale)||void 0===u||null===(p=u.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==r?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=(0,c.default)(e),M=(0,d.Z)(t),m=((M%7+7)%7=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=we(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(_),We=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=we(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(_),Le=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=we(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(_);var ke=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=7}},{key:"set",value:function(e,t,n){return e=function(e,t){(0,b.Z)(2,arguments);var n=(0,d.Z)(t);n%7===0&&(n-=7);var r=(0,c.default)(e),o=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+o),r}(e,n),e.setUTCHours(0,0,0,0),e}}]),n}(_),Te=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=12}},{key:"set",value:function(e,t,n){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}]),n}(_),De=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}]),n}(_),Ce=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}]),n}(_),Ne=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=24}},{key:"set",value:function(e,t,n){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e}}]),n}(_),Be=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}]),n}(_),Pe=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(_),je=function(e){(0,h.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;(0,m.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&B<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var P=(0,d.Z)(null!==(w=null!==(q=null!==(W=null!==(L=null===o||void 0===o?void 0:o.weekStartsOn)&&void 0!==L?L:null===o||void 0===o||null===(k=o.locale)||void 0===k||null===(T=k.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==W?W:C.weekStartsOn)&&void 0!==q?q:null===(R=C.locale)||void 0===R||null===(S=R.options)||void 0===S?void 0:S.weekStartsOn)&&void 0!==w?w:0);if(!(P>=0&&P<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===D)return""===E?(0,c.default)(n):new Date(NaN);var j,I={firstWeekContainsDate:B,weekStartsOn:P,locale:N},Y=[new v],F=D.match(Ve).map((function(e){var t=e[0];return t in u.Z?(0,u.Z[t])(e,N.formatLong):e})).join("").match(Ue),X=[],H=i(F);try{var U=function(){var t=j.value;null!==o&&void 0!==o&&o.useAdditionalWeekYearTokens||!(0,A.Do)(t)||(0,A.qp)(t,D,e),null!==o&&void 0!==o&&o.useAdditionalDayOfYearTokens||!(0,A.Iu)(t)||(0,A.qp)(t,D,e);var n=t[0],r=He[n];if(r){var i=r.incompatibleTokens;if(Array.isArray(i)){var a=X.find((function(e){return i.includes(e.token)||e.token===n}));if(a)throw new RangeError("The format string mustn't contain `".concat(a.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===r.incompatibleTokens&&X.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));X.push({token:n,fullToken:t});var s=r.run(E,t,N.match,I);if(!s)return{v:new Date(NaN)};Y.push(s.setter),E=s.rest}else{if(n.match($e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=t.match(Ge)[1].replace(Ze,"'")),0!==E.indexOf(t))return{v:new Date(NaN)};E=E.slice(t.length)}};for(H.s();!(j=H.n()).done;){var V=U();if("object"===(0,r.Z)(V))return V.v}}catch(ne){H.e(ne)}finally{H.f()}if(E.length>0&&Qe.test(E))return new Date(NaN);var G=Y.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return Y.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),Z=(0,c.default)(n);if(isNaN(Z.getTime()))return new Date(NaN);var Q,$=(0,s.Z)(Z,(0,p.Z)(Z)),K={},J=i(G);try{for(J.s();!(Q=J.n()).done;){var ee=Q.value;if(!ee.validate($,I))return new Date(NaN);var te=ee.set($,K,I);Array.isArray(te)?($=te[0],l(K,te[1])):$=te}}catch(ne){J.e(ne)}finally{J.f()}return $}},9831:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(2729),o=n(4522),i=n(9297);function a(e,t){var n;(0,o.Z)(1,arguments);var a=(0,i.Z)(null!==(n=null===t||void 0===t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==a&&1!==a&&0!==a)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var f,h=function(e){var t,n={},r=e.split(s.dateTimeDelimiter);if(r.length>2)return n;/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],s.timeZoneDelimiter.test(n.date)&&(n.date=e.split(s.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length)));if(t){var o=s.timezone.exec(t);o?(n.time=t.replace(o[1],""),n.timezone=o[1]):n.time=t}return n}(e);if(h.date){var M=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var o=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?o:100*i,restDateString:e.slice((r[1]||r[2]).length)}}(h.date,a);f=function(e,t){if(null===t)return new Date(NaN);var n=e.match(c);if(!n)return new Date(NaN);var r=!!n[4],o=p(n[1]),i=p(n[2])-1,a=p(n[3]),s=p(n[4]),l=p(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,l)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var o=r.getUTCDay()||7,i=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}(t,s,l):new Date(NaN);var u=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(d[t]||(b(e)?29:28))}(t,i,a)&&function(e,t){return t>=1&&t<=(b(e)?366:365)}(t,o)?(u.setUTCFullYear(t,i,Math.max(o,a)),u):new Date(NaN)}(M.restDateString,M.year)}if(!f||isNaN(f.getTime()))return new Date(NaN);var m,z=f.getTime(),O=0;if(h.time&&(O=function(e){var t=e.match(l);if(!t)return NaN;var n=A(t[1]),o=A(t[2]),i=A(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,o,i))return NaN;return n*r.vh+o*r.yJ+1e3*i}(h.time),isNaN(O)))return new Date(NaN);if(!h.timezone){var g=new Date(z+O),y=new Date(0);return y.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),y.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),y}return m=function(e){if("Z"===e)return 0;var t=e.match(u);if(!t)return 0;var n="+"===t[1]?-1:1,o=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,i))return NaN;return n*(o*r.vh+i*r.yJ)}(h.timezone),isNaN(m)?new Date(NaN):new Date(z+O+m)}var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},c=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,l=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\d{2})(?::?(\d{2}))?$/;function p(e){return e?parseInt(e):1}function A(e){return e&&parseFloat(e.replace(",","."))||0}var d=[31,null,31,30,31,30,31,31,30,31,30,31];function b(e){return e%400===0||e%4===0&&e%100!==0}},7152:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(1002),o=n(8527),i=n(2363),a=n(9297),s=n(4522);function c(e,t){if((0,s.Z)(2,arguments),"object"!==(0,r.Z)(t)||null===t)throw new RangeError("values parameter must be an object");var n=(0,o.default)(e);return isNaN(n.getTime())?new Date(NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=(0,i.default)(n,t.month)),null!=t.date&&n.setDate((0,a.Z)(t.date)),null!=t.hours&&n.setHours((0,a.Z)(t.hours)),null!=t.minutes&&n.setMinutes((0,a.Z)(t.minutes)),null!=t.seconds&&n.setSeconds((0,a.Z)(t.seconds)),null!=t.milliseconds&&n.setMilliseconds((0,a.Z)(t.milliseconds)),n)}},2618:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return n.setHours(a),n}},7227:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return n.setMinutes(a),n}},2363:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t),s=n.getFullYear(),c=n.getDate(),l=new Date(0);l.setFullYear(s,a,15),l.setHours(0,0,0,0);var u=function(e){(0,i.Z)(1,arguments);var t=(0,o.default)(e),n=t.getFullYear(),r=t.getMonth(),a=new Date(0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}(l);return n.setMonth(a,Math.min(c,u)),n}},5765:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9297),o=n(8527),i=n(2363),a=n(4522);function s(e,t){(0,a.Z)(2,arguments);var n=(0,o.default)(e),s=(0,r.Z)(t)-(Math.floor(n.getMonth()/3)+1);return(0,i.default)(n,n.getMonth()+3*s)}},9292:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return n.setSeconds(a),n}},5617:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(a),n)}},8347:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setHours(0,0,0,0),t}},5719:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},3006:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMonth(),i=n-n%3;return t.setMonth(i,1),t.setHours(0,0,0,0),t}},9254:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(8527),o=n(9297),i=n(4522),a=n(4408);function s(e,t){var n,s,c,l,u,p,A,d;(0,i.Z)(1,arguments);var b=(0,a.j)(),f=(0,o.Z)(null!==(n=null!==(s=null!==(c=null!==(l=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==l?l:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(p=u.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==c?c:b.weekStartsOn)&&void 0!==s?s:null===(A=b.locale)||void 0===A||null===(d=A.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=(0,r.default)(e),M=h.getDay(),m=(M{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},6753:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9040),o=n(4522),i=n(9297);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},4433:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(2074),o=n(4522),i=n(9297);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},1633:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(4377),o=n(4522),i=n(9297);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.Z)(e,-n)}},4851:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1518),o=n(4522),i=n(9297);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},8030:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(1104),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},6794:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(6689),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},7503:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(20),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},7602:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(5105),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},8527:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1002),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,r.Z)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},4234:function(e,t,n){var r;!function(o){"use strict";var i,a=1e9,s={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},c=!0,l="[DecimalError] ",u=l+"Invalid argument: ",p=l+"Exponent out of range: ",A=Math.floor,d=Math.pow,b=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,f=1e7,h=7,M=9007199254740991,m=A(M/h),z={};function O(e,t){var n,r,o,i,a,s,l,u,p=e.constructor,A=p.precision;if(!e.s||!t.s)return t.s||(t=new p(e)),c?k(t,A):t;if(l=e.d,u=t.d,a=e.e,o=t.e,l=l.slice(),i=a-o){for(i<0?(r=l,i=-i,s=u.length):(r=u,o=a,s=l.length),i>(s=(a=Math.ceil(A/h))>s?a+1:s+1)&&(i=s,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((s=l.length)-(i=u.length)<0&&(i=s,r=u,u=l,l=r),n=0;i;)n=(l[--i]=l[i]+u[i]+n)/f|0,l[i]%=f;for(n&&(l.unshift(n),++o),s=l.length;0==l[--s];)l.pop();return t.d=l,t.e=o,c?k(t,A):t}function g(e,t,n){if(e!==~~e||en)throw Error(u+e)}function y(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;te.e^i.s<0?1:-1;for(t=0,n=(r=i.d.length)<(o=e.d.length)?r:o;te.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},z.decimalPlaces=z.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*h;if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},z.dividedBy=z.div=function(e){return v(this,new this.constructor(e))},z.dividedToIntegerBy=z.idiv=function(e){var t=this.constructor;return k(v(this,new t(e),0,1),t.precision)},z.equals=z.eq=function(e){return!this.cmp(e)},z.exponent=function(){return x(this)},z.greaterThan=z.gt=function(e){return this.cmp(e)>0},z.greaterThanOrEqualTo=z.gte=function(e){return this.cmp(e)>=0},z.isInteger=z.isint=function(){return this.e>this.d.length-2},z.isNegative=z.isneg=function(){return this.s<0},z.isPositive=z.ispos=function(){return this.s>0},z.isZero=function(){return 0===this.s},z.lessThan=z.lt=function(e){return this.cmp(e)<0},z.lessThanOrEqualTo=z.lte=function(e){return this.cmp(e)<1},z.logarithm=z.log=function(e){var t,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(l+"NaN");if(n.s<1)throw Error(l+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(c=!1,t=v(W(n,a),W(e,a),a),c=!0,k(t,o))},z.minus=z.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?T(t,e):O(t,(e.s=-e.s,e))},z.modulo=z.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(l+"NaN");return n.s?(c=!1,t=v(n,e,0,1).times(e),c=!0,n.minus(t)):k(new r(n),o)},z.naturalExponential=z.exp=function(){return _(this)},z.naturalLogarithm=z.ln=function(){return W(this)},z.negated=z.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},z.plus=z.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?O(t,e):T(t,(e.s=-e.s,e))},z.precision=z.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(u+e);if(t=x(o)+1,n=(r=o.d.length-1)*h+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},z.squareRoot=z.sqrt=function(){var e,t,n,r,o,i,a,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(l+"NaN")}for(e=x(s),c=!1,0==(o=Math.sqrt(+s))||o==1/0?(((t=y(s.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=A((e+1)/2)-(e<0||e%2),r=new u(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new u(o.toString()),o=a=(n=u.precision)+3;;)if(r=(i=r).plus(v(s,i,a+2)).times(.5),y(i.d).slice(0,a)===(t=y(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(k(i,n+1,0),i.times(i).eq(s)){r=i;break}}else if("9999"!=t)break;a+=4}return c=!0,k(r,n)},z.times=z.mul=function(e){var t,n,r,o,i,a,s,l,u,p=this,A=p.constructor,d=p.d,b=(e=new A(e)).d;if(!p.s||!e.s)return new A(0);for(e.s*=p.s,n=p.e+e.e,(l=d.length)<(u=b.length)&&(i=d,d=b,b=i,a=l,l=u,u=a),i=[],r=a=l+u;r--;)i.push(0);for(r=u;--r>=0;){for(t=0,o=l+r;o>r;)s=i[o]+b[r]*d[o-r-1]+t,i[o--]=s%f|0,t=s/f|0;i[o]=(i[o]+t)%f|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,c?k(e,A.precision):e},z.toDecimalPlaces=z.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(g(e,0,a),void 0===t?t=r.rounding:g(t,0,8),k(n,e+x(n)+1,t))},z.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=R(r,!0):(g(e,0,a),void 0===t?t=o.rounding:g(t,0,8),n=R(r=k(new o(r),e+1,t),!0,e+1)),n},z.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?R(o):(g(e,0,a),void 0===t?t=i.rounding:g(t,0,8),n=R((r=k(new i(o),e+x(o)+1,t)).abs(),!1,e+x(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},z.toInteger=z.toint=function(){var e=this,t=e.constructor;return k(new t(e),x(e)+1,t.rounding)},z.toNumber=function(){return+this},z.toPower=z.pow=function(e){var t,n,r,o,a,s,u=this,p=u.constructor,d=+(e=new p(e));if(!e.s)return new p(i);if(!(u=new p(u)).s){if(e.s<1)throw Error(l+"Infinity");return u}if(u.eq(i))return u;if(r=p.precision,e.eq(i))return k(u,r);if(s=(t=e.e)>=(n=e.d.length-1),a=u.s,s){if((n=d<0?-d:d)<=M){for(o=new p(i),t=Math.ceil(r/h+4),c=!1;n%2&&S((o=o.times(u)).d,t),0!==(n=A(n/2));)S((u=u.times(u)).d,t);return c=!0,e.s<0?new p(i).div(o):k(o,r)}}else if(a<0)throw Error(l+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,u.s=1,c=!1,o=e.times(W(u,r+12)),c=!0,(o=_(o)).s=a,o},z.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?r=R(o,(n=x(o))<=i.toExpNeg||n>=i.toExpPos):(g(e,1,a),void 0===t?t=i.rounding:g(t,0,8),r=R(o=k(new i(o),e,t),e<=(n=x(o))||n<=i.toExpNeg,e)),r},z.toSignificantDigits=z.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(g(e,1,a),void 0===t?t=n.rounding:g(t,0,8)),k(new n(this),e,t)},z.toString=z.valueOf=z.val=z.toJSON=function(){var e=this,t=x(e),n=e.constructor;return R(e,t<=n.toExpNeg||t>=n.toExpPos)};var v=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%f|0,r=n/f|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]1;)e.shift()}return function(r,o,i,a){var s,c,u,p,A,d,b,M,m,z,O,g,y,v,_,w,q,W,L=r.constructor,T=r.s==o.s?1:-1,R=r.d,S=o.d;if(!r.s)return new L(r);if(!o.s)throw Error(l+"Division by zero");for(c=r.e-o.e,q=S.length,_=R.length,M=(b=new L(T)).d=[],u=0;S[u]==(R[u]||0);)++u;if(S[u]>(R[u]||0)&&--c,(g=null==i?i=L.precision:a?i+(x(r)-x(o))+1:i)<0)return new L(0);if(g=g/h+2|0,u=0,1==q)for(p=0,S=S[0],g++;(u<_||p)&&g--;u++)y=p*f+(R[u]||0),M[u]=y/S|0,p=y%S|0;else{for((p=f/(S[0]+1)|0)>1&&(S=e(S,p),R=e(R,p),q=S.length,_=R.length),v=q,z=(m=R.slice(0,q)).length;z=f/2&&++w;do{p=0,(s=t(S,m,q,z))<0?(O=m[0],q!=z&&(O=O*f+(m[1]||0)),(p=O/w|0)>1?(p>=f&&(p=f-1),1==(s=t(A=e(S,p),m,d=A.length,z=m.length))&&(p--,n(A,q16)throw Error(p+x(e));if(!e.s)return new A(i);for(null==t?(c=!1,s=b):s=t,a=new A(.03125);e.abs().gte(.1);)e=e.times(a),u+=5;for(s+=Math.log(d(2,u))/Math.LN10*2+5|0,n=r=o=new A(i),A.precision=s;;){if(r=k(r.times(e),s),n=n.times(++l),y((a=o.plus(v(r,n,s))).d).slice(0,s)===y(o.d).slice(0,s)){for(;u--;)o=k(o.times(o),s);return A.precision=b,null==t?(c=!0,k(o,b)):o}o=a}}function x(e){for(var t=e.e*h,n=e.d[0];n>=10;n/=10)t++;return t}function w(e,t,n){if(t>e.LN10.sd())throw c=!0,n&&(e.precision=n),Error(l+"LN10 precision limit exceeded");return k(new e(e.LN10),t)}function q(e){for(var t="";e--;)t+="0";return t}function W(e,t){var n,r,o,a,s,u,p,A,d,b=1,f=e,h=f.d,M=f.constructor,m=M.precision;if(f.s<1)throw Error(l+(f.s?"NaN":"-Infinity"));if(f.eq(i))return new M(0);if(null==t?(c=!1,A=m):A=t,f.eq(10))return null==t&&(c=!0),w(M,A);if(A+=10,M.precision=A,r=(n=y(h)).charAt(0),a=x(f),!(Math.abs(a)<15e14))return p=w(M,A+2,m).times(a+""),f=W(new M(r+"."+n.slice(1)),A-10).plus(p),M.precision=m,null==t?(c=!0,k(f,m)):f;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=y((f=f.times(e)).d)).charAt(0),b++;for(a=x(f),r>1?(f=new M("0."+n),a++):f=new M(r+"."+n.slice(1)),u=s=f=v(f.minus(i),f.plus(i),A),d=k(f.times(f),A),o=3;;){if(s=k(s.times(d),A),y((p=u.plus(v(s,new M(o),A))).d).slice(0,A)===y(u.d).slice(0,A))return u=u.times(2),0!==a&&(u=u.plus(w(M,A+2,m).times(a+""))),u=v(u,new M(b),A),M.precision=m,null==t?(c=!0,k(u,m)):u;u=p,o+=2}}function L(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=A(n/h),e.d=[],r=(n+1)%h,n<0&&(r+=h),rm||e.e<-m))throw Error(p+n)}else e.s=0,e.e=0,e.d=[0];return e}function k(e,t,n){var r,o,i,a,s,l,u,b,M=e.d;for(a=1,i=M[0];i>=10;i/=10)a++;if((r=t-a)<0)r+=h,o=t,u=M[b=0];else{if((b=Math.ceil((r+1)/h))>=(i=M.length))return e;for(u=i=M[b],a=1;i>=10;i/=10)a++;o=(r%=h)-h+a}if(void 0!==n&&(s=u/(i=d(10,a-o-1))%10|0,l=t<0||void 0!==M[b+1]||u%i,l=n<4?(s||l)&&(0==n||n==(e.s<0?3:2)):s>5||5==s&&(4==n||l||6==n&&(r>0?o>0?u/d(10,a-o):0:M[b-1])%10&1||n==(e.s<0?8:7))),t<1||!M[0])return l?(i=x(e),M.length=1,t=t-i-1,M[0]=d(10,(h-t%h)%h),e.e=A(-t/h)||0):(M.length=1,M[0]=e.e=e.s=0),e;if(0==r?(M.length=b,i=1,b--):(M.length=b+1,i=d(10,h-r),M[b]=o>0?(u/d(10,a-o)%d(10,o)|0)*i:0),l)for(;;){if(0==b){(M[0]+=i)==f&&(M[0]=1,++e.e);break}if(M[b]+=i,M[b]!=f)break;M[b--]=0,i=1}for(r=M.length;0===M[--r];)M.pop();if(c&&(e.e>m||e.e<-m))throw Error(p+x(e));return e}function T(e,t){var n,r,o,i,a,s,l,u,p,A,d=e.constructor,b=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),c?k(t,b):t;if(l=e.d,A=t.d,r=t.e,u=e.e,l=l.slice(),a=u-r){for((p=a<0)?(n=l,a=-a,s=A.length):(n=A,r=u,s=l.length),a>(o=Math.max(Math.ceil(b/h),s)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((p=(o=l.length)<(s=A.length))&&(s=o),o=0;o0;--o)l[s++]=0;for(o=A.length;o>a;){if(l[--o]0?i=i.charAt(0)+"."+i.slice(1)+q(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+q(-o-1)+i,n&&(r=n-a)>0&&(i+=q(r))):o>=a?(i+=q(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+q(r))):((r=o+1)0&&(o+1===a&&(i+="."),i+=q(r))),e.s<0?"-"+i:i}function S(e,t){if(e.length>t)return e.length=t,!0}function E(e){if(!e||"object"!==typeof e)throw Error(l+"Object expected");var t,n,r,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t=o[t+1]&&r<=o[t+2]))throw Error(u+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(u+n+": "+r);this[n]=new this(r)}return this}s=function e(t){var n,r,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"===typeof e){if(0*e!==0)throw Error(u+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):L(t,e.toString())}if("string"!==typeof e)throw Error(u+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!b.test(e))throw Error(u+e);L(t,e)}if(i.prototype=z,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=E,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!==typeof r)throw new TypeError("The listener must be a function");var s=new o(r,i||e,a),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(r){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(e,t,n){var s=a.URL||a.webkitURL,c=document.createElement("a");t=t||e.name||"download",c.download=t,c.rel="noopener","string"==typeof e?(c.href=e,c.origin===location.origin?i(c):o(c.href)?r(e,t,n):i(c,c.target="_blank")):(c.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(c.href)}),4e4),setTimeout((function(){i(c)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,a){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,a),n);else if(o(e))r(e,n,a);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){i(s)}))}}:function(e,t,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return r(e,t,n);var i="application/octet-stream"===e.type,c=/constructor/i.test(a.HTMLElement)||a.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||i&&c||s)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},u.readAsDataURL(e)}else{var p=a.URL||a.webkitURL,A=p.createObjectURL(e);o?o.location=A:location.href=A,o=null,setTimeout((function(){p.revokeObjectURL(A)}),4e4)}});a.saveAs=c.saveAs=c,e.exports=c})?r.apply(t,o):r)||(e.exports=i)},9779:e=>{!function(){function t(e,n){for(var r=(n=n||[]).length,o=0;o{var r=n(8991),o="Feature",i="FeatureCollection",a="Polygon",s="MultiPolygon";function c(e){for(var t=null,n=0;n1,c=i?s:a,l=i?n:n[0]||[];return{type:o,properties:t,geometry:{type:c,coordinates:l}}},h3SetToMultiPolygonFeature:function(e,t){void 0===t&&(t={});var n=e.map((function(e){return[r.h3ToGeoBoundary(e,{geoJson:!0})]}));return{type:o,properties:t,geometry:{type:s,coordinates:n}}},h3SetToFeatureCollection:function(e,t){for(var n=[],r=0;r{e.exports=n(9402)},8991:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UNITS:()=>M,cellArea:()=>be,compact:()=>J,degsToRads:()=>ge,edgeLength:()=>Me,exactEdgeLength:()=>fe,experimentalH3ToLocalIj:()=>pe,experimentalLocalIjToH3:()=>Ae,geoToH3:()=>Y,getDestinationH3IndexFromUnidirectionalEdge:()=>oe,getH3IndexesFromUnidirectionalEdge:()=>ae,getH3UnidirectionalEdge:()=>ne,getH3UnidirectionalEdgeBoundary:()=>ce,getH3UnidirectionalEdgesFromHexagon:()=>se,getOriginH3IndexFromUnidirectionalEdge:()=>re,getPentagonIndexes:()=>Oe,getRes0Indexes:()=>ze,h3Distance:()=>le,h3GetBaseCell:()=>P,h3GetFaces:()=>j,h3GetResolution:()=>I,h3IndexToSplitLong:()=>O,h3IndexesAreNeighbors:()=>te,h3IsPentagon:()=>N,h3IsResClassIII:()=>B,h3IsValid:()=>C,h3Line:()=>ue,h3SetToMultiPolygon:()=>K,h3ToCenterChild:()=>V,h3ToChildren:()=>U,h3ToGeo:()=>F,h3ToGeoBoundary:()=>X,h3ToParent:()=>H,h3UnidirectionalEdgeIsValid:()=>ie,hexArea:()=>he,hexRing:()=>Q,kRing:()=>G,kRingDistances:()=>Z,numHexagons:()=>me,pointDist:()=>de,polyfill:()=>$,radsToDegs:()=>ye,splitLongToh3Index:()=>y,uncompact:()=>ee});var r=function(e){var t,n="undefined"!==typeof(e=e||{})?e:{},r={};for(t in n)n.hasOwnProperty(t)&&(r[t]=n[t]);var o,i=[],a="";document.currentScript&&(a=document.currentScript.src),a=0!==a.indexOf("blob:")?a.substr(0,a.lastIndexOf("/")+1):"",o=function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=function(){if(200==r.status||0==r.status&&r.response)t(r.response);else{var o=Z(e);o?t(o.buffer):n()}},r.onerror=n,r.send(null)};var s=n.print||console.log.bind(console),c=n.printErr||console.warn.bind(console);for(t in r)r.hasOwnProperty(t)&&(n[t]=r[t]);r=null,n.arguments&&(i=n.arguments);var l=0,u=function(){return l};var p=!1;function A(e){var t,r=n["_"+e];return t="Cannot call unknown function "+e+", make sure it is exported",r||se("Assertion failed: "+t),r}function d(e,t,n,r,o){var i={string:function(e){var t=0;if(null!==e&&void 0!==e&&0!==e){var n=1+(e.length<<2);(function(e,t,n){(function(e,t,n,r){if(!(r>0))return 0;for(var o=n,i=n+r-1,a=0;a=55296&&s<=57343)s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a);if(s<=127){if(n>=i)break;t[n++]=s}else if(s<=2047){if(n+1>=i)break;t[n++]=192|s>>6,t[n++]=128|63&s}else if(s<=65535){if(n+2>=i)break;t[n++]=224|s>>12,t[n++]=128|s>>6&63,t[n++]=128|63&s}else{if(n+3>=i)break;t[n++]=240|s>>18,t[n++]=128|s>>12&63,t[n++]=128|s>>6&63,t[n++]=128|63&s}}t[n]=0})(e,m,t,n)})(e,t=J(n),n)}return t},array:function(e){var t=J(e.length);return function(e,t){M.set(e,t)}(e,t),t}};var a=A(e),s=[],c=0;if(r)for(var l=0;l=r);)++o;if(o-t>16&&e.subarray&&b)return b.decode(e.subarray(t,o));for(var i="";t>10,56320|1023&l)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}(m,e,t):""}var h,M,m,z,O,g,y;"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le");function v(e,t){return e%t>0&&(e+=t-e%t),e}function _(e){h=e,n.HEAP8=M=new Int8Array(e),n.HEAP16=z=new Int16Array(e),n.HEAP32=O=new Int32Array(e),n.HEAPU8=m=new Uint8Array(e),n.HEAPU16=new Uint16Array(e),n.HEAPU32=new Uint32Array(e),n.HEAPF32=g=new Float32Array(e),n.HEAPF64=y=new Float64Array(e)}var x=n.TOTAL_MEMORY||33554432;function w(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"===typeof r?void 0===t.arg?n.dynCall_v(r):n.dynCall_vi(r,t.arg):r(void 0===t.arg?null:t.arg)}else t()}}x=(h=n.buffer?n.buffer:new ArrayBuffer(x)).byteLength,_(h),O[6004]=5266928;var q=[],W=[],L=[],k=[];var T=Math.abs,R=Math.ceil,S=Math.floor,E=Math.min,D=0,C=null,N=null;n.preloadedImages={},n.preloadedAudios={};var B,P,j=null,I="data:application/octet-stream;base64,";function Y(e){return String.prototype.startsWith?e.startsWith(I):0===e.indexOf(I)}j="data:application/octet-stream;base64,AAAAAAAAAAACAAAAAwAAAAEAAAAFAAAABAAAAAYAAAAAAAAAAAAAAAAAAAABAAAAAgAAAA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IAAAD/////rgIAAP/////CEgAA/////06DAAD/////IpcDAP/////uIRkA/////4LtrwAAAAAAAAAAAAAAAAAAAAAAAgAAAP//////////AQAAAAMAAAD//////////////////////////////////////////////////////////////////////////wEAAAAAAAAAAgAAAP///////////////wMAAAD//////////////////////////////////////////////////////////////////////////wEAAAAAAAAAAgAAAP///////////////wMAAAD//////////////////////////////////////////////////////////////////////////wEAAAAAAAAAAgAAAP///////////////wMAAAD//////////////////////////////////////////////////////////wIAAAD//////////wEAAAAAAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA/////////////////////wEAAAD///////////////8CAAAA////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD///////////////////////////////8CAAAA////////////////AQAAAP////////////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAAAQAAAP//////////AgAAAP//////////////////////////////////////////////////////////AwAAAP///////////////wIAAAAAAAAAAQAAAP//////////////////////////////////////////////////////////////////////////AwAAAP///////////////wIAAAAAAAAAAQAAAP//////////////////////////////////////////////////////////////////////////AwAAAP///////////////wIAAAAAAAAAAQAAAP//////////////////////////////////////////////////////////////////////////AwAAAAEAAAD//////////wIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAgAAAAAAAAACAAAAAQAAAAEAAAAC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+MFAAAAAHqqOykAAAAASqmhIAEAAAD6oGvkBwAAAMpm8T43AAAAes+ZuIIBAABKrDQMkwoAAPq1cFUFSgAAyvkUViUGAgAAAAAAAwAAAAYAAAACAAAABQAAAAEAAAAEAAAAAAAAAAAAAAAFAAAAAwAAAAEAAAAGAAAABAAAAAIAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////////////////////8AAAAA/////wAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAP////8AAAAAAAAAAAEAAAABAAAAAAAAAAAAAAD/////AAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAA/////wUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////AAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////////////////////////////////////wAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAUAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////////////////////8AAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAA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9IE5VTEwAYWRkTGlua2VkQ29vcmQAbG9vcC0+Zmlyc3QgPT0gTlVMTABpbm5lckxvb3BzICE9IE5VTEwAbm9ybWFsaXplTXVsdGlQb2x5Z29uAGJib3hlcyAhPSBOVUxMAGNhbmRpZGF0ZXMgIT0gTlVMTABmaW5kUG9seWdvbkZvckhvbGUAY2FuZGlkYXRlQkJveGVzICE9IE5VTEwAcmV2RGlyICE9IElOVkFMSURfRElHSVQAbG9jYWxpai5jAGgzVG9Mb2NhbElqawBiYXNlQ2VsbCAhPSBvcmlnaW5CYXNlQ2VsbAAhKG9yaWdpbk9uUGVudCAmJiBpbmRleE9uUGVudCkAcGVudGFnb25Sb3RhdGlvbnMgPj0gMABkaXJlY3Rpb25Sb3RhdGlvbnMgPj0gMABiYXNlQ2VsbCA9PSBvcmlnaW5CYXNlQ2VsbABiYXNlQ2VsbCAhPSBJTlZBTElEX0JBU0VfQ0VMTABsb2NhbElqa1RvSDMAIV9pc0Jhc2VDZWxsUGVudGFnb24oYmFzZUNlbGwpAGJhc2VDZWxsUm90YXRpb25zID49IDAAd2l0aGluUGVudGFnb25Sb3RhdGlvbnMgPj0gMABncmFwaC0+YnVja2V0cyAhPSBOVUxMAHZlcnRleEdyYXBoLmMAaW5pdFZlcnRleEdyYXBoAG5vZGUgIT0gTlVMTABhZGRWZXJ0ZXhOb2Rl";function F(e){return e}function X(e){return e.replace(/\b__Z[\w\d_]+/g,(function(e){return e===e?e:e+" ["+e+"]"}))}function H(){var e=new Error;if(!e.stack){try{throw new Error(0)}catch(t){e=t}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}function U(){return M.length}function V(e){try{var t=new ArrayBuffer(e);if(t.byteLength!=e)return;return new Int8Array(t).set(M),K(t),_(t),1}catch(n){}}var G="function"===typeof atob?atob:function(e){var t,n,r,o,i,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",l=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{t=s.indexOf(e.charAt(l++))<<2|(o=s.indexOf(e.charAt(l++)))>>4,n=(15&o)<<4|(i=s.indexOf(e.charAt(l++)))>>2,r=(3&i)<<6|(a=s.indexOf(e.charAt(l++))),c+=String.fromCharCode(t),64!==i&&(c+=String.fromCharCode(n)),64!==a&&(c+=String.fromCharCode(r))}while(l>2]=e,o[s+4>>2]=t,(s=0!=(0|i))&&(o[i>>2]=0),0|Ee(e,t))return k=a,0|(b=1);o[b>>2]=0;e:do{if((0|n)>=1)if(s)for(p=0,A=1,d=1,c=0,s=e;;){if(!(c|p)){if(0==(0|(s=0|E(s,t,4,b)))&0==(0|(t=0|v()))){s=2;break e}if(0|Ee(s,t)){s=1;break e}}if(0==(0|(s=0|E(s,t,0|o[16+(p<<2)>>2],b)))&0==(0|(t=0|v()))){s=2;break e}if(o[(e=r+(d<<3)|0)>>2]=s,o[e+4>>2]=t,o[i+(d<<2)>>2]=A,e=(0|(c=c+1|0))==(0|A),u=6==(0|(l=p+1|0)),0|Ee(s,t)){s=1;break e}if((0|(A=A+(u&e&1)|0))>(0|n)){s=0;break}p=e?u?0:l:p,d=d+1|0,c=e?0:c}else for(p=0,A=1,d=1,c=0,s=e;;){if(!(c|p)){if(0==(0|(s=0|E(s,t,4,b)))&0==(0|(t=0|v()))){s=2;break e}if(0|Ee(s,t)){s=1;break e}}if(0==(0|(s=0|E(s,t,0|o[16+(p<<2)>>2],b)))&0==(0|(t=0|v()))){s=2;break e}if(o[(e=r+(d<<3)|0)>>2]=s,o[e+4>>2]=t,e=(0|(c=c+1|0))==(0|A),u=6==(0|(l=p+1|0)),0|Ee(s,t)){s=1;break e}if((0|(A=A+(u&e&1)|0))>(0|n)){s=0;break}p=e?u?0:l:p,d=d+1|0,c=e?0:c}else s=0}while(0);return k=a,0|(b=s)}function S(e,t,n,r,i,a,s){n|=0,r|=0,i|=0,a|=0,s|=0;var c,l,u=0,p=0,A=0,d=0,b=0;if(l=k,k=k+16|0,c=l,0==(0|(e|=0))&0==(0|(t|=0)))k=l;else{if(u=0|vt(0|e,0|t,0|a,((0|a)<0)<<31>>31|0),v(),!(0==(0|(b=0|o[(d=p=r+(u<<3)|0)>>2]))&0==(0|(d=0|o[d+4>>2]))|(A=(0|b)==(0|e)&(0|d)==(0|t))))do{A=(0|(d=0|o[(b=p=r+((u=(u+1|0)%(0|a)|0)<<3)|0)>>2]))==(0|e)&(0|(b=0|o[b+4>>2]))==(0|t)}while(!(0==(0|d)&0==(0|b)|A));u=i+(u<<2)|0,A&&(0|o[u>>2])<=(0|s)||(o[(b=p)>>2]=e,o[b+4>>2]=t,o[u>>2]=s,(0|s)>=(0|n)||(b=s+1|0,o[c>>2]=0,S(d=0|E(e,t,2,c),0|v(),n,r,i,a,b),o[c>>2]=0,S(d=0|E(e,t,3,c),0|v(),n,r,i,a,b),o[c>>2]=0,S(d=0|E(e,t,1,c),0|v(),n,r,i,a,b),o[c>>2]=0,S(d=0|E(e,t,5,c),0|v(),n,r,i,a,b),o[c>>2]=0,S(d=0|E(e,t,4,c),0|v(),n,r,i,a,b),o[c>>2]=0,S(d=0|E(e,t,6,c),0|v(),n,r,i,a,b))),k=l}}function E(e,t,n,r){e|=0,t|=0,n|=0;var i,a,s=0,c=0,l=0,u=0,p=0,A=0,d=0;if((0|o[(r|=0)>>2])>0){s=0;do{n=0|ce(n),s=s+1|0}while((0|s)<(0|o[r>>2]))}i=0|_t(0|e,0|t,45),v(),a=127&i,c=0|De(e,t),s=0|_t(0|e,0|t,52),v(),s&=15;e:do{if(s)for(;;){if(A=0|_t(0|e,0|t,0|(p=3*(15-s|0)|0)),v(),A&=7,d=0==(0|je(s)),s=s+-1|0,u=0|xt(7,0,0|p),t&=~(0|v()),e=(p=0|xt(0|o[(d?464:48)+(28*A|0)+(n<<2)>>2],0,0|p))|e&~u,t|=0|v(),!(n=0|o[(d?672:256)+(28*A|0)+(n<<2)>>2])){n=0;break e}if(!s){l=6;break}}else l=6}while(0);6==(0|l)&&(e|=A=0|xt(0|(d=0|o[880+(28*a|0)+(n<<2)>>2]),0,45),t=0|v()|-1040385&t,n=0|o[4304+(28*a|0)+(n<<2)>>2],127==(127&d|0)&&(d=0|xt(0|o[880+(28*a|0)+20>>2],0,45),t=0|v()|-1040385&t,n=0|o[4304+(28*a|0)+20>>2],e=0|Ne(d|e,t),t=0|v(),o[r>>2]=1+(0|o[r>>2]))),l=0|_t(0|e,0|t,45),v(),l&=127;e:do{if(0|C(l)){t:do{if(1==(0|De(e,t))){if((0|a)!=(0|l)){if(0|j(l,0|o[7728+(28*a|0)>>2])){e=0|Pe(e,t),c=1,t=0|v();break}e=0|Ne(e,t),c=1,t=0|v();break}switch(0|c){case 5:e=0|Pe(e,t),t=0|v(),o[r>>2]=5+(0|o[r>>2]),c=0;break t;case 3:e=0|Ne(e,t),t=0|v(),o[r>>2]=1+(0|o[r>>2]),c=0;break t;default:return d=0,y(0|(A=0)),0|d}}else c=0}while(0);if((0|n)>0){s=0;do{e=0|Ce(e,t),t=0|v(),s=s+1|0}while((0|s)!=(0|n))}if((0|a)!=(0|l)){if(!(0|N(l))){if(0!=(0|c)|5!=(0|De(e,t)))break;o[r>>2]=1+(0|o[r>>2]);break}switch(127&i){case 8:case 118:break e}3!=(0|De(e,t))&&(o[r>>2]=1+(0|o[r>>2]))}}else if((0|n)>0){s=0;do{e=0|Ne(e,t),t=0|v(),s=s+1|0}while((0|s)!=(0|n))}}while(0);return o[r>>2]=((0|o[r>>2])+n|0)%6|0,d=e,y(0|(A=t)),0|d}function D(e,t,n,r,a,s){t|=0,n|=0,r|=0,a|=0,s|=0;var c,l,u,p,A,d,b,f,h,M=0,m=0,z=0,O=0,g=0,y=0,_=0,x=0,w=0,q=0,W=0,L=0,T=0,R=0;if(h=k,k=k+48|0,d=h+32|0,b=h+16|0,f=h,(0|(M=0|o[(e|=0)>>2]))<=0)return k=h,0|(L=0);c=e+4|0,l=d+8|0,u=b+8|0,p=f+8|0,A=((0|t)<0)<<31>>31,W=0;e:for(;;){w=(m=0|o[c>>2])+(W<<4)|0,o[d>>2]=o[w>>2],o[d+4>>2]=o[w+4>>2],o[d+8>>2]=o[w+8>>2],o[d+12>>2]=o[w+12>>2],(0|W)==(M+-1|0)?(o[b>>2]=o[m>>2],o[b+4>>2]=o[m+4>>2],o[b+8>>2]=o[m+8>>2],o[b+12>>2]=o[m+12>>2]):(w=m+(W+1<<4)|0,o[b>>2]=o[w>>2],o[b+4>>2]=o[w+4>>2],o[b+8>>2]=o[w+8>>2],o[b+12>>2]=o[w+12>>2]),w=0|U(d,b,n);t:do{if((0|w)>0){q=+(0|w),x=0;n:for(;;){R=+(w-x|0),T=+(0|x),i[f>>3]=+i[d>>3]*R/q+ +i[b>>3]*T/q,i[p>>3]=+i[l>>3]*R/q+ +i[u>>3]*T/q,m=0|vt(0|(y=0|Ie(f,n)),0|(_=0|v()),0|t,0|A),v(),O=0|o[(z=M=s+(m<<3)|0)>>2],z=0|o[z+4>>2];r:do{if(0==(0|O)&0==(0|z))L=14;else for(g=0;;){if((0|g)>(0|t)){M=1;break r}if((0|O)==(0|y)&(0|z)==(0|_)){M=7;break r}if(0==(0|(O=0|o[(z=M=s+((m=(m+1|0)%(0|t)|0)<<3)|0)>>2]))&0==(0|(z=0|o[z+4>>2]))){L=14;break}g=g+1|0}}while(0);switch(14==(0|L)&&(L=0,0==(0|y)&0==(0|_)?M=7:(o[M>>2]=y,o[M+4>>2]=_,M=0|o[r>>2],o[(g=a+(M<<3)|0)>>2]=y,o[g+4>>2]=_,o[r>>2]=M+1,M=0)),7&M){case 7:case 0:break;default:break n}if((0|w)<=(0|(x=x+1|0))){L=8;break t}}if(0|M){M=-1,L=20;break e}}else L=8}while(0);if(8==(0|L)&&(L=0),(0|(W=W+1|0))>=(0|(M=0|o[e>>2]))){M=0,L=20;break}}return 20==(0|L)?(k=h,0|M):0}function C(e){return 0|o[7728+(28*(e|=0)|0)+16>>2]}function N(e){return 4==(0|(e|=0))|117==(0|e)|0}function B(e){return 0|o[11152+(216*(0|o[(e|=0)>>2])|0)+(72*(0|o[e+4>>2])|0)+(24*(0|o[e+8>>2])|0)+(o[e+12>>2]<<3)>>2]}function P(e){return 0|o[11152+(216*(0|o[(e|=0)>>2])|0)+(72*(0|o[e+4>>2])|0)+(24*(0|o[e+8>>2])|0)+(o[e+12>>2]<<3)+4>>2]}function j(e,t){return t|=0,(0|o[7728+(28*(e|=0)|0)+20>>2])==(0|t)?0|(t=1):0|(t=(0|o[7728+(28*e|0)+24>>2])==(0|t))}function I(e,t){return 0|o[880+(28*(e|=0)|0)+((t|=0)<<2)>>2]}function Y(e,t){return t|=0,(0|o[880+(28*(e|=0)|0)>>2])==(0|t)?0|(t=0):(0|o[880+(28*e|0)+4>>2])==(0|t)?0|(t=1):(0|o[880+(28*e|0)+8>>2])==(0|t)?0|(t=2):(0|o[880+(28*e|0)+12>>2])==(0|t)?0|(t=3):(0|o[880+(28*e|0)+16>>2])==(0|t)?0|(t=4):(0|o[880+(28*e|0)+20>>2])==(0|t)?0|(t=5):0|((0|o[880+(28*e|0)+24>>2])==(0|t)?6:7)}function F(e){return+i[(e|=0)+16>>3]<+i[e+24>>3]|0}function X(e,t){e|=0;var n,r,o=0;return(o=+i[(t|=0)>>3])>=+i[e+8>>3]&&o<=+i[e>>3]?(n=+i[e+16>>3],o=+i[e+24>>3],t=(r=+i[t+8>>3])>=o,e=r<=n&1,n>2]=0,p=p+4|0}while((0|p)<(0|A));return Ue(t,a),Xe(A=0|o[(p=a)>>2],p=0|o[p+4>>2],n),He(A,p,r),l=+We(n,r+8|0),i[n>>3]=+i[e>>3],i[(p=n+8|0)>>3]=+i[e+16>>3],i[r>>3]=+i[e+8>>3],i[(A=r+8|0)>>3]=+i[e+24>>3],u=+We(n,r),A=~~+m(+u*u/+wt(+ +c(+(+i[p>>3]-+i[A>>3])/(+i[n>>3]-+i[r>>3])),3)/(l*(2.59807621135*l)*.8)),k=s,0|(0==(0|A)?1:A)}function U(e,t,n){e|=0,t|=0,n|=0;var r,i,a,s,c,l=0,u=0;s=k,k=k+288|0,r=s+264|0,i=s+96|0,u=(l=a=s)+96|0;do{o[l>>2]=0,l=l+4|0}while((0|l)<(0|u));return Ue(n,a),Xe(l=0|o[(u=a)>>2],u=0|o[u+4>>2],r),He(l,u,i),c=+We(r,i+8|0),u=~~+m(+ +We(e,t)/(2*c)),k=s,0|(0==(0|u)?1:u)}function V(e,t,n,r){t|=0,n|=0,r|=0,o[(e|=0)>>2]=t,o[e+4>>2]=n,o[e+8>>2]=r}function G(e,t){e|=0;var n,r,a,s,l=0,u=0,p=0,A=0,d=0,b=0,f=0;o[(s=(t|=0)+8|0)>>2]=0,r=+i[e>>3],A=+c(+r),a=+i[e+8>>3],A+=.5*(d=+c(+a)/.8660254037844386),A-=+(0|(l=~~A)),d-=+(0|(e=~~d));do{if(A<.5){if(A<.3333333333333333){if(o[t>>2]=l,d<.5*(A+1)){o[t+4>>2]=e;break}e=e+1|0,o[t+4>>2]=e;break}if(e=(1&!(d<(f=1-A)))+e|0,o[t+4>>2]=e,f<=d&d<2*A){l=l+1|0,o[t>>2]=l;break}o[t>>2]=l;break}if(!(A<.6666666666666666)){if(l=l+1|0,o[t>>2]=l,d<.5*A){o[t+4>>2]=e;break}e=e+1|0,o[t+4>>2]=e;break}if(d<1-A){if(o[t+4>>2]=e,2*A-1>2]=l;break}}else e=e+1|0,o[t+4>>2]=e;l=l+1|0,o[t>>2]=l}while(0);do{if(r<0){if(1&e){l=~~(+(0|l)-(2*(+((b=0|Ot(0|l,((0|l)<0)<<31>>31|0,0|(b=(e+1|0)/2|0),((0|b)<0)<<31>>31|0))>>>0)+4294967296*+(0|v()))+1)),o[t>>2]=l;break}l=~~(+(0|l)-2*(+((b=0|Ot(0|l,((0|l)<0)<<31>>31|0,0|(b=(0|e)/2|0),((0|b)<0)<<31>>31|0))>>>0)+4294967296*+(0|v()))),o[t>>2]=l;break}}while(0);b=t+4|0,a<0&&(l=l-((1|e<<1)/2|0)|0,o[t>>2]=l,e=0-e|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e,t){t|=0;var n,r=0;r=0|z(0|o[(e|=0)>>2],t),o[e>>2]=r,n=0|z(0|o[(r=e+4|0)>>2],t),o[r>>2]=n,t=0|z(0|o[(e=e+8|0)>>2],t),o[e>>2]=t}function ee(e){var t,n,r=0,i=0,a=0,s=0,c=0;c=(0|(n=0|o[(e|=0)>>2]))<0,e=(e=(i=(0|(s=((t=(0|(a=(0|o[e+4>>2])-(c?n:0)|0))<0)?0-a|0:0)+((0|o[e+8>>2])-(c?n:0))|0))<0)?0:s)-((a=(0|(i=(0|e)<(0|(i=(0|(r=(t?0:a)-(i?s:0)|0))<(0|(s=(c?0:n)-(t?a:0)-(i?s:0)|0))?r:s))?e:i))>0)?i:0)|0,r=r-(a?i:0)|0;e:do{switch(s-(a?i:0)|0){case 0:switch(0|r){case 0:return 0|(c=0==(0|e)?0:1==(0|e)?1:7);case 1:return 0|(c=0==(0|e)?2:1==(0|e)?3:7);default:break e}case 1:switch(0|r){case 0:return 0|(c=0==(0|e)?4:1==(0|e)?5:7);case 1:if(e)break e;return 0|(e=6);default:break e}}}while(0);return 0|(c=7)}function te(e){var t,n,r=0,i=0,a=0,s=0,c=0;i=0|o[(t=(e|=0)+8|0)>>2],a=0|ht(+((3*(r=(0|o[e>>2])-i|0)|0)-(i=(0|o[(n=e+4|0)>>2])-i|0)|0)/7),o[e>>2]=a,r=0|ht(+((i<<1)+r|0)/7),o[n>>2]=r,o[t>>2]=0,i=r-a|0,(0|a)<0?(c=0-a|0,o[n>>2]=i,o[t>>2]=c,o[e>>2]=0,r=i,a=0,i=c):i=0,(0|r)<0&&(a=a-r|0,o[e>>2]=a,i=i-r|0,o[t>>2]=i,o[n>>2]=0,r=0),c=a-i|0,s=r-i|0,(0|i)<0?(o[e>>2]=c,o[n>>2]=s,o[t>>2]=0,r=s,s=c,i=0):s=a,(0|(a=(0|i)<(0|(a=(0|r)<(0|s)?r:s))?i:a))<=0||(o[e>>2]=s-a,o[n>>2]=r-a,o[t>>2]=i-a)}function ne(e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0,a=0),t=s-i|0,c=a-i|0,(0|i)<0?(o[e>>2]=t,o[n>>2]=c,o[r>>2]=0,s=t,i=0):c=a,(0|(a=(0|i)<(0|(a=(0|c)<(0|s)?c:s))?i:a))<=0||(o[e>>2]=s-a,o[n>>2]=c-a,o[r>>2]=i-a)}function se(e){var t,n,r,i=0,a=0,s=0,c=0;i=0|o[(e|=0)>>2],s=0|o[(n=e+4|0)>>2],a=0|o[(r=e+8|0)>>2],c=s+i|0,o[e>>2]=c,s=a+s|0,o[n>>2]=s,i=a+i|0,o[r>>2]=i,a=s-c|0,(0|c)<0?(i=i-c|0,o[n>>2]=a,o[r>>2]=i,o[e>>2]=0,s=0):(a=s,s=c),(0|a)<0&&(s=s-a|0,o[e>>2]=s,i=i-a|0,o[r>>2]=i,o[n>>2]=0,a=0),t=s-i|0,c=a-i|0,(0|i)<0?(o[e>>2]=t,o[n>>2]=c,o[r>>2]=0,s=t,i=0):c=a,(0|(a=(0|i)<(0|(a=(0|c)<(0|s)?c:s))?i:a))<=0||(o[e>>2]=s-a,o[n>>2]=c-a,o[r>>2]=i-a)}function ce(e){switch(0|(e|=0)){case 1:e=5;break;case 5:e=4;break;case 4:e=6;break;case 6:e=2;break;case 2:e=3;break;case 3:e=1}return 0|e}function le(e){switch(0|(e|=0)){case 1:e=3;break;case 3:e=2;break;case 2:e=6;break;case 6:e=4;break;case 4:e=5;break;case 5:e=1}return 0|e}function ue(e){var t,n,r,i=0,a=0,s=0,c=0;i=0|o[(e|=0)>>2],a=0|o[(n=e+4|0)>>2],s=0|o[(r=e+8|0)>>2],c=a+(i<<1)|0,o[e>>2]=c,a=s+(a<<1)|0,o[n>>2]=a,i=(s<<1)+i|0,o[r>>2]=i,s=a-c|0,(0|c)<0?(i=i-c|0,o[n>>2]=s,o[r>>2]=i,o[e>>2]=0,a=s,s=0):s=c,(0|a)<0&&(s=s-a|0,o[e>>2]=s,i=i-a|0,o[r>>2]=i,o[n>>2]=0,a=0),t=s-i|0,c=a-i|0,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n=+i[e+8>>3],o=r*+p(+n),i[t>>3]=o,n=r*+A(+n),i[t+8>>3]=n}(e|=0,c=a),o[n>>2]=0,s=+ct(15888,c),(l=+ct(15912,c))>2]=1,s=l),(l=+ct(15936,c))>2]=2,s=l),(l=+ct(15960,c))>2]=3,s=l),(l=+ct(15984,c))>2]=4,s=l),(l=+ct(16008,c))>2]=5,s=l),(l=+ct(16032,c))>2]=6,s=l),(l=+ct(16056,c))>2]=7,s=l),(l=+ct(16080,c))>2]=8,s=l),(l=+ct(16104,c))>2]=9,s=l),(l=+ct(16128,c))>2]=10,s=l),(l=+ct(16152,c))>2]=11,s=l),(l=+ct(16176,c))>2]=12,s=l),(l=+ct(16200,c))>2]=13,s=l),(l=+ct(16224,c))>2]=14,s=l),(l=+ct(16248,c))>2]=15,s=l),(l=+ct(16272,c))>2]=16,s=l),(l=+ct(16296,c))>2]=17,s=l),(l=+ct(16320,c))>2]=18,s=l),(l=+ct(16344,c))>2]=19,s=l),(l=+b(+(1-.5*s)))<1e-16)return o[r>>2]=0,o[r+4>>2]=0,o[r+8>>2]=0,o[r+12>>2]=0,void(k=a);if(n=0|o[n>>2],s=+we((s=+i[16368+(24*n|0)>>3])-+we(+function(e,t){e|=0,t|=0;var n=0,r=0,o=0,a=0,s=0;return a=+i[t>>3],r=+p(+a),o=+i[t+8>>3]-+i[e+8>>3],s=r*+A(+o),n=+i[e>>3],+ +M(+s,+(+A(+a)*+p(+n)-+p(+o)*(r*+A(+n))))}(15568+(n<<4)|0,e))),u=0|je(t)?+we(s+-.3334731722518321):s,s=+d(+l)/.381966011250105,(0|t)>0){c=0;do{s*=2.6457513110645907,c=c+1|0}while((0|c)!=(0|t))}l=+p(+u)*s,i[r>>3]=l,u=+A(+u)*s,i[r+8>>3]=u,k=a}function me(e,t,n,r,a){t|=0,n|=0,r|=0,a|=0;var s=0,u=0;if(s=+function(e){e|=0;var t=0,n=0;return n=+i[e>>3],t=+i[e+8>>3],+ +l(+(n*n+t*t))}(e|=0),s<1e-16)return t=15568+(t<<4)|0,o[a>>2]=o[t>>2],o[a+4>>2]=o[t+4>>2],o[a+8>>2]=o[t+8>>2],void(o[a+12>>2]=o[t+12>>2]);if(u=+M(+ +i[e+8>>3],+ +i[e>>3]),(0|n)>0){e=0;do{s/=2.6457513110645907,e=e+1|0}while((0|e)!=(0|n))}r?(s/=3,n=0==(0|je(n)),s=+h(.381966011250105*(n?s:s/2.6457513110645907))):(s=+h(.381966011250105*s),0|je(n)&&(u=+we(u+.3334731722518321))),function(e,t,n,r){e|=0,t=+t,n=+n,r|=0;var a=0,s=0,l=0,u=0;if(n<1e-16)return o[r>>2]=o[e>>2],o[r+4>>2]=o[e+4>>2],o[r+8>>2]=o[e+8>>2],void(o[r+12>>2]=o[e+12>>2]);s=t<0?t+6.283185307179586:t,s=t>=6.283185307179586?s+-6.283185307179586:s;do{if(!(s<1e-16)){if(a=+c(+(s+-3.141592653589793))<1e-16,t=+i[e>>3],a){t-=n,i[r>>3]=t,a=r;break}if(l=+p(+n),n=+A(+n),t=l*+A(+t)+ +p(+s)*(n*+p(+t)),t=+f(+((t=t>1?1:t)<-1?-1:t)),i[r>>3]=t,+c(+(t+-1.5707963267948966))<1e-16)return i[r>>3]=1.5707963267948966,void(i[r+8>>3]=0);if(+c(+(t+1.5707963267948966))<1e-16)return i[r>>3]=-1.5707963267948966,void(i[r+8>>3]=0);if(u=+p(+t),s=n*+A(+s)/u,n=+i[e>>3],t=(l-+A(+t)*+A(+n))/+p(+n)/u,l=s>1?1:s,t=t>1?1:t,(t=+i[e+8>>3]+ +M(+(l<-1?-1:l),+(t<-1?-1:t)))>3.141592653589793)do{t+=-6.283185307179586}while(t>3.141592653589793);if(t<-3.141592653589793)do{t+=6.283185307179586}while(t<-3.141592653589793);return void(i[r+8>>3]=t)}t=+i[e>>3]+n,i[r>>3]=t,a=r}while(0);if(+c(+(t+-1.5707963267948966))<1e-16)return i[a>>3]=1.5707963267948966,void(i[r+8>>3]=0);if(+c(+(t+1.5707963267948966))<1e-16)return i[a>>3]=-1.5707963267948966,void(i[r+8>>3]=0);if(t=+i[e+8>>3],t>3.141592653589793)do{t+=-6.283185307179586}while(t>3.141592653589793);if(t<-3.141592653589793)do{t+=6.283185307179586}while(t<-3.141592653589793);i[r+8>>3]=t}(15568+(t<<4)|0,+we(+i[16368+(24*t|0)>>3]-u),s,a)}function ze(e,t,n){t|=0,n|=0;var r,i;r=k,k=k+16|0,Q((e|=0)+4|0,i=r),me(i,0|o[e>>2],t,0,n),k=r}function Oe(e,t,n,r,a){e|=0,t|=0,n|=0,r|=0,a|=0;var s,c,l,u,p,A,d,b,f,h,M,m,z,O,g,y,v,x,w,q,W,L,T=0,R=0,S=0,E=0,D=0,C=0;if(L=k,k=k+272|0,E=L+240|0,w=L,q=L+224|0,W=L+208|0,M=L+176|0,m=L+160|0,z=L+192|0,O=L+144|0,g=L+128|0,y=L+112|0,v=L+96|0,x=L+80|0,o[(T=L+256|0)>>2]=t,o[E>>2]=o[e>>2],o[E+4>>2]=o[e+4>>2],o[E+8>>2]=o[e+8>>2],o[E+12>>2]=o[e+12>>2],ge(E,T,w),o[a>>2]=0,(0|(E=r+n+(5==(0|r)&1)|0))<=(0|n))k=L;else{c=q+4|0,l=M+4|0,u=n+5|0,p=16848+((s=0|o[T>>2])<<2)|0,A=16928+(s<<2)|0,d=g+8|0,b=y+8|0,f=v+8|0,h=W+4|0,S=n;e:for(;;){R=w+(((0|S)%5|0)<<4)|0,o[W>>2]=o[R>>2],o[W+4>>2]=o[R+4>>2],o[W+8>>2]=o[R+8>>2],o[W+12>>2]=o[R+12>>2];do{}while(2==(0|ye(W,s,0,1)));if((0|S)>(0|n)&0!=(0|je(t))){if(o[M>>2]=o[W>>2],o[M+4>>2]=o[W+4>>2],o[M+8>>2]=o[W+8>>2],o[M+12>>2]=o[W+12>>2],Q(c,m),r=0|o[M>>2],T=0|o[17008+(80*r|0)+(o[q>>2]<<2)>>2],o[M>>2]=o[18608+(80*r|0)+(20*T|0)>>2],(0|(R=0|o[18608+(80*r|0)+(20*T|0)+16>>2]))>0){e=0;do{ae(l),e=e+1|0}while((0|e)<(0|R))}switch(R=18608+(80*r|0)+(20*T|0)+4|0,o[z>>2]=o[R>>2],o[z+4>>2]=o[R+4>>2],o[z+8>>2]=o[R+8>>2],J(z,3*(0|o[p>>2])|0),$(l,z,l),Z(l),Q(l,O),D=+(0|o[A>>2]),i[g>>3]=3*D,i[d>>3]=0,C=-1.5*D,i[y>>3]=C,i[b>>3]=2.598076211353316*D,i[v>>3]=C,i[f>>3]=-2.598076211353316*D,0|o[17008+(80*(0|o[M>>2])|0)+(o[W>>2]<<2)>>2]){case 1:e=y,r=g;break;case 3:e=v,r=y;break;case 2:e=g,r=v;break;default:e=12;break e}at(m,O,r,e,x),me(x,0|o[M>>2],s,1,a+8+(o[a>>2]<<4)|0),o[a>>2]=1+(0|o[a>>2])}if((0|S)<(0|u)&&(Q(h,M),me(M,0|o[W>>2],s,1,a+8+(o[a>>2]<<4)|0),o[a>>2]=1+(0|o[a>>2])),o[q>>2]=o[W>>2],o[q+4>>2]=o[W+4>>2],o[q+8>>2]=o[W+8>>2],o[q+12>>2]=o[W+12>>2],(0|(S=S+1|0))>=(0|E)){e=3;break}}3!=(0|e)?12==(0|e)&&_(22474,22521,581,22531):k=L}}function ge(e,t,n){e|=0,t|=0,n|=0;var r,i=0,a=0,s=0,c=0,l=0;r=k,k=k+128|0,a=r,c=20208,l=(s=i=r+64|0)+60|0;do{o[s>>2]=o[c>>2],s=s+4|0,c=c+4|0}while((0|s)<(0|l));c=20272,l=(s=a)+60|0;do{o[s>>2]=o[c>>2],s=s+4|0,c=c+4|0}while((0|s)<(0|l));i=(l=0==(0|je(0|o[t>>2])))?i:a,ue(a=e+4|0),pe(a),0|je(0|o[t>>2])&&(oe(a),o[t>>2]=1+(0|o[t>>2])),o[n>>2]=o[e>>2],$(a,i,t=n+4|0),Z(t),o[n+16>>2]=o[e>>2],$(a,i+12|0,t=n+20|0),Z(t),o[n+32>>2]=o[e>>2],$(a,i+24|0,t=n+36|0),Z(t),o[n+48>>2]=o[e>>2],$(a,i+36|0,t=n+52|0),Z(t),o[n+64>>2]=o[e>>2],$(a,i+48|0,n=n+68|0),Z(n),k=r}function ye(e,t,n,r){n|=0,r|=0;var i,a,s,c,l,u,p=0,A=0,d=0,b=0,f=0;if(u=k,k=k+32|0,l=u+12|0,a=u,f=(e|=0)+4|0,b=0|o[16928+((t|=0)<<2)>>2],b=(c=0!=(0|r))?3*b|0:b,p=0|o[f>>2],i=0|o[(s=e+8|0)>>2],c){if((0|(p=i+p+(r=0|o[(A=e+12|0)>>2])|0))==(0|b))return k=u,0|(f=1);d=A}else p=i+p+(r=0|o[(d=e+12|0)>>2])|0;if((0|p)<=(0|b))return k=u,0|(f=0);do{if((0|r)>0){if(r=0|o[e>>2],(0|i)>0){A=18608+(80*r|0)+60|0,r=e;break}r=18608+(80*r|0)+40|0,n?(V(l,b,0,0),K(f,l,a),se(a),$(a,l,f),A=r,r=e):(A=r,r=e)}else A=18608+(80*(0|o[e>>2])|0)+20|0,r=e}while(0);if(o[r>>2]=o[A>>2],(0|o[(p=A+16|0)>>2])>0){r=0;do{ae(f),r=r+1|0}while((0|r)<(0|o[p>>2]))}return e=A+4|0,o[l>>2]=o[e>>2],o[l+4>>2]=o[e+4>>2],o[l+8>>2]=o[e+8>>2],t=0|o[16848+(t<<2)>>2],J(l,c?3*t|0:t),$(f,l,f),Z(f),r=c&&((0|o[s>>2])+(0|o[f>>2])+(0|o[d>>2])|0)==(0|b)?1:2,k=u,0|(f=r)}function ve(e,t){e|=0,t|=0;var n=0;do{n=0|ye(e,t,0,1)}while(2==(0|n));return 0|n}function _e(e,t,n,r,a){e|=0,t|=0,n|=0,r|=0,a|=0;var s,c,l,u,p,A,d,b,f,h,M,m,z,O,g,y,v,x,w=0,q=0,W=0,L=0,T=0;if(x=k,k=k+240|0,O=x+208|0,g=x,y=x+192|0,v=x+176|0,f=x+160|0,h=x+144|0,M=x+128|0,m=x+112|0,z=x+96|0,o[(w=x+224|0)>>2]=t,o[O>>2]=o[e>>2],o[O+4>>2]=o[e+4>>2],o[O+8>>2]=o[e+8>>2],o[O+12>>2]=o[e+12>>2],xe(O,w,g),o[a>>2]=0,(0|(b=r+n+(6==(0|r)&1)|0))<=(0|n))k=x;else{c=n+6|0,l=16928+((s=0|o[w>>2])<<2)|0,u=h+8|0,p=M+8|0,A=m+8|0,d=y+4|0,q=0,W=n,r=-1;e:for(;;){if(e=g+((w=(0|W)%6|0)<<4)|0,o[y>>2]=o[e>>2],o[y+4>>2]=o[e+4>>2],o[y+8>>2]=o[e+8>>2],o[y+12>>2]=o[e+12>>2],e=q,q=0|ye(y,s,0,1),(0|W)>(0|n)&0!=(0|je(t))&&(1!=(0|e)&&(0|o[y>>2])!=(0|r))){switch(Q(g+(((w+5|0)%6|0)<<4)+4|0,v),Q(g+(w<<4)+4|0,f),L=+(0|o[l>>2]),i[h>>3]=3*L,i[u>>3]=0,T=-1.5*L,i[M>>3]=T,i[p>>3]=2.598076211353316*L,i[m>>3]=T,i[A>>3]=-2.598076211353316*L,w=0|o[O>>2],0|o[17008+(80*w|0)+(((0|r)==(0|w)?0|o[y>>2]:r)<<2)>>2]){case 1:e=M,r=h;break;case 3:e=m,r=M;break;case 2:e=h,r=m;break;default:e=8;break e}at(v,f,r,e,z),0|st(v,z)||0|st(f,z)||(me(z,0|o[O>>2],s,1,a+8+(o[a>>2]<<4)|0),o[a>>2]=1+(0|o[a>>2]))}if((0|W)<(0|c)&&(Q(d,v),me(v,0|o[y>>2],s,1,a+8+(o[a>>2]<<4)|0),o[a>>2]=1+(0|o[a>>2])),(0|(W=W+1|0))>=(0|b)){e=3;break}r=0|o[y>>2]}3!=(0|e)?8==(0|e)&&_(22557,22521,746,22602):k=x}}function xe(e,t,n){e|=0,t|=0,n|=0;var r,i=0,a=0,s=0,c=0,l=0;r=k,k=k+160|0,a=r,c=20336,l=(s=i=r+80|0)+72|0;do{o[s>>2]=o[c>>2],s=s+4|0,c=c+4|0}while((0|s)<(0|l));c=20416,l=(s=a)+72|0;do{o[s>>2]=o[c>>2],s=s+4|0,c=c+4|0}while((0|s)<(0|l));i=(l=0==(0|je(0|o[t>>2])))?i:a,ue(a=e+4|0),pe(a),0|je(0|o[t>>2])&&(oe(a),o[t>>2]=1+(0|o[t>>2])),o[n>>2]=o[e>>2],$(a,i,t=n+4|0),Z(t),o[n+16>>2]=o[e>>2],$(a,i+12|0,t=n+20|0),Z(t),o[n+32>>2]=o[e>>2],$(a,i+24|0,t=n+36|0),Z(t),o[n+48>>2]=o[e>>2],$(a,i+36|0,t=n+52|0),Z(t),o[n+64>>2]=o[e>>2],$(a,i+48|0,t=n+68|0),Z(t),o[n+80>>2]=o[e>>2],$(a,i+60|0,n=n+84|0),Z(n),k=r}function we(e){var t;return t=(e=+e)<0?e+6.283185307179586:e,+(e>=6.283185307179586?t+-6.283185307179586:t)}function qe(e,t){return t|=0,+c(+(+i[(e|=0)>>3]-+i[t>>3]))<17453292519943298e-27?0|(t=+c(+(+i[e+8>>3]-+i[t+8>>3]))<17453292519943298e-27):0|(t=0)}function We(e,t){e|=0;var n,r,o,a=0;return r=+i[(t|=0)>>3],n=+i[e>>3],a=(o=+A(.5*(r-n)))*o+(a=+A(.5*(+i[t+8>>3]-+i[e+8>>3])))*(+p(+r)*+p(+n)*a),2*+M(+ +l(+a),+ +l(+(1-a)))*6371.007180918475}function Le(e,t,n){e|=0,n|=0;var r,o,a,s,c=0,u=0,b=0,f=0,m=0,z=0;return z=+i[(t|=0)>>3],a=+i[e>>3],m=+A(.5*(z-a)),b=+i[t+8>>3],o=+i[e+8>>3],f=+A(.5*(b-o)),r=+p(+a),s=+p(+z),f=2*+M(+ +l(+(f=m*m+f*(s*r*f))),+ +l(+(1-f))),m=+i[n>>3],z=+A(.5*(m-z)),c=+i[n+8>>3],b=+A(.5*(c-b)),u=+p(+m),b=2*+M(+ +l(+(b=z*z+b*(s*u*b))),+ +l(+(1-b))),m=+A(.5*(a-m)),c=+A(.5*(o-c)),c=2*+M(+ +l(+(c=m*m+c*(r*u*c))),+ +l(+(1-c))),4*+h(+ +l(+ +d(.5*(u=.5*(f+b+c)))*+d(.5*(u-f))*+d(.5*(u-b))*+d(.5*(u-c))))}function ke(e,t){return t=0|_t(0|(e|=0),0|(t|=0),45),v(),127&t|0}function Te(e,t){var n=0,r=0,o=0,i=0,a=0,s=0;if(!(!0&134217728==(-16777216&(t|=0)|0)))return 0|(t=0);if(a=0|_t(0|(e|=0),0|t,45),v(),(a&=127)>>>0>121)return 0|(t=0);n=0|_t(0|e,0|t,52),v(),n&=15;do{if(0|n){for(o=1,r=0;;){if(i=0|_t(0|e,0|t,3*(15-o|0)|0),v(),0!=(0|(i&=7))&(1^r)){if(1==(0|i)&0!=(0|C(a))){s=0,r=13;break}r=1}if(7==(0|i)){s=0,r=13;break}if(!(o>>>0>>0)){r=9;break}o=o+1|0}if(9==(0|r)){if(15!=(0|n))break;return 0|(s=1)}if(13==(0|r))return 0|s}}while(0);for(;;){if(s=0|_t(0|e,0|t,3*(14-n|0)|0),v(),!(7==(7&s|0)&!0)){s=0,r=13;break}if(!(n>>>0<14)){s=1,r=13;break}n=n+1|0}return 13==(0|r)?0|s:0}function Re(e,t,n){n|=0;var r=0,o=0;if(r=0|_t(0|(e|=0),0|(t|=0),52),v(),(0|(r&=15))>=(0|n)){if((0|r)!=(0|n))if(n>>>0<=15){if(e|=o=0|xt(0|n,0,52),t=0|v()|-15728641&t,(0|r)>(0|n))do{o=0|xt(7,0,3*(14-n|0)|0),n=n+1|0,e|=o,t=0|v()|t}while((0|n)<(0|r))}else t=0,e=0}else t=0,e=0;return y(0|t),0|e}function Se(e,t,n,r){n|=0,r|=0;var i,a=0,s=0,c=0,l=0,u=0,p=0;if(c=0|_t(0|(e|=0),0|(t|=0),52),v(),(0|n)<16&(0|(c&=15))<=(0|n)){if((0|c)==(0|n))return o[(n=r)>>2]=e,void(o[n+4>>2]=t);if(i=(0|(u=0|tt(7,n-c|0)))/7|0,l=0|_t(0|e,0|t,45),v(),0|C(127&l)){e:do{if(c)for(s=1;;){if(a=0|_t(0|e,0|t,3*(15-s|0)|0),v(),0|(a&=7))break e;if(!(s>>>0>>0)){a=0;break}s=s+1|0}else a=0}while(0);s=0==(0|a)}else s=0;if(p=0|xt(c+1|0,0,52),a=0|v()|-15728641&t,Se(t=(p|e)&~(t=0|xt(7,0,0|(l=3*(14-c|0)|0))),c=a&~(0|v()),n,r),a=r+(i<<3)|0,!s)return Se((p=0|xt(1,0,0|l))|t,0|v()|c,n,a),p=a+(i<<3)|0,Se((u=0|xt(2,0,0|l))|t,0|v()|c,n,p),p=p+(i<<3)|0,Se((u=0|xt(3,0,0|l))|t,0|v()|c,n,p),p=p+(i<<3)|0,Se((u=0|xt(4,0,0|l))|t,0|v()|c,n,p),p=p+(i<<3)|0,Se((u=0|xt(5,0,0|l))|t,0|v()|c,n,p),void Se((u=0|xt(6,0,0|l))|t,0|v()|c,n,p+(i<<3)|0);s=a+(i<<3)|0,(0|u)>6&&(Lt(0|a,0,(p=(s>>>0>(u=a+8|0)>>>0?s:u)+-1+(0-a)|0)+8&-8|0),a=u+(p>>>3<<3)|0),Se((p=0|xt(2,0,0|l))|t,0|v()|c,n,a),p=a+(i<<3)|0,Se((u=0|xt(3,0,0|l))|t,0|v()|c,n,p),p=p+(i<<3)|0,Se((u=0|xt(4,0,0|l))|t,0|v()|c,n,p),p=p+(i<<3)|0,Se((u=0|xt(5,0,0|l))|t,0|v()|c,n,p),Se((u=0|xt(6,0,0|l))|t,0|v()|c,n,p+(i<<3)|0)}}function Ee(e,t){var n=0,r=0,o=0;if(o=0|_t(0|(e|=0),0|(t|=0),45),v(),!(0|C(127&o)))return 0|(o=0);o=0|_t(0|e,0|t,52),v(),o&=15;e:do{if(o)for(r=1;;){if(n=0|_t(0|e,0|t,3*(15-r|0)|0),v(),0|(n&=7))break e;if(!(r>>>0>>0)){n=0;break}r=r+1|0}else n=0}while(0);return 0|(o=0==(0|n)&1)}function De(e,t){var n=0,r=0,o=0;if(o=0|_t(0|(e|=0),0|(t|=0),52),v(),!(o&=15))return 0|(o=0);for(r=1;;){if(n=0|_t(0|e,0|t,3*(15-r|0)|0),v(),0|(n&=7)){r=5;break}if(!(r>>>0>>0)){n=0,r=5;break}r=r+1|0}return 5==(0|r)?0|n:0}function Ce(e,t){var n=0,r=0,o=0,i=0,a=0,s=0,c=0;if(c=0|_t(0|(e|=0),0|(t|=0),52),v(),!(c&=15))return c=e,y(0|(s=t)),0|c;for(s=1,n=0;;){r=0|xt(7,0,0|(i=3*(15-s|0)|0)),o=0|v(),a=0|_t(0|e,0|t,0|i),v(),e=(i=0|xt(0|ce(7&a),0,0|i))|e&~r,t=(a=0|v())|t&~o;e:do{if(!n)if(0==(i&r|0)&0==(a&o|0))n=0;else if(r=0|_t(0|e,0|t,52),v(),r&=15){n=1;t:for(;;){switch(a=0|_t(0|e,0|t,3*(15-n|0)|0),v(),7&a){case 1:break t;case 0:break;default:n=1;break e}if(!(n>>>0>>0)){n=1;break e}n=n+1|0}for(n=1;;){if(o=0|_t(0|e,0|t,0|(a=3*(15-n|0)|0)),v(),i=0|xt(7,0,0|a),t&=~(0|v()),e=e&~i|(a=0|xt(0|ce(7&o),0,0|a)),t=0|t|v(),!(n>>>0>>0)){n=1;break}n=n+1|0}}else n=1}while(0);if(!(s>>>0>>0))break;s=s+1|0}return y(0|t),0|e}function Ne(e,t){var n=0,r=0,o=0,i=0,a=0;if(r=0|_t(0|(e|=0),0|(t|=0),52),v(),!(r&=15))return r=e,y(0|(n=t)),0|r;for(n=1;a=0|_t(0|e,0|t,0|(i=3*(15-n|0)|0)),v(),o=0|xt(7,0,0|i),t&=~(0|v()),e=(i=0|xt(0|ce(7&a),0,0|i))|e&~o,t=0|v()|t,n>>>0>>0;)n=n+1|0;return y(0|t),0|e}function Be(e,t){var n=0,r=0,o=0,i=0,a=0,s=0,c=0;if(c=0|_t(0|(e|=0),0|(t|=0),52),v(),!(c&=15))return c=e,y(0|(s=t)),0|c;for(s=1,n=0;;){r=0|xt(7,0,0|(i=3*(15-s|0)|0)),o=0|v(),a=0|_t(0|e,0|t,0|i),v(),e=(i=0|xt(0|le(7&a),0,0|i))|e&~r,t=(a=0|v())|t&~o;e:do{if(!n)if(0==(i&r|0)&0==(a&o|0))n=0;else if(r=0|_t(0|e,0|t,52),v(),r&=15){n=1;t:for(;;){switch(a=0|_t(0|e,0|t,3*(15-n|0)|0),v(),7&a){case 1:break t;case 0:break;default:n=1;break e}if(!(n>>>0>>0)){n=1;break e}n=n+1|0}for(n=1;;){if(i=0|xt(7,0,0|(o=3*(15-n|0)|0)),a=t&~(0|v()),t=0|_t(0|e,0|t,0|o),v(),e=e&~i|(t=0|xt(0|le(7&t),0,0|o)),t=0|a|v(),!(n>>>0>>0)){n=1;break}n=n+1|0}}else n=1}while(0);if(!(s>>>0>>0))break;s=s+1|0}return y(0|t),0|e}function Pe(e,t){var n=0,r=0,o=0,i=0,a=0;if(r=0|_t(0|(e|=0),0|(t|=0),52),v(),!(r&=15))return r=e,y(0|(n=t)),0|r;for(n=1;i=0|xt(7,0,0|(a=3*(15-n|0)|0)),o=t&~(0|v()),t=0|_t(0|e,0|t,0|a),v(),e=(t=0|xt(0|le(7&t),0,0|a))|e&~i,t=0|v()|o,n>>>0>>0;)n=n+1|0;return y(0|t),0|e}function je(e){return 0|(0|(e|=0))%2}function Ie(e,t){e|=0;var n,r;return r=k,k=k+16|0,n=r,(t|=0)>>>0<=15&&2146435072!=(2146435072&o[e+4>>2]|0)&&2146435072!=(2146435072&o[e+8+4>>2]|0)?(!function(e,t,n){var r,o;r=k,k=k+16|0,Me(e|=0,t|=0,n|=0,o=r),G(o,n+4|0),k=r}(e,t,n),t=0|function(e,t){e|=0;var n,r=0,i=0,a=0,s=0,c=0,l=0,u=0,p=0;if(n=k,k=k+64|0,l=n+40|0,i=n+24|0,a=n+12|0,s=n,xt(0|(t|=0),0,52),r=134225919|v(),!t)return(0|o[e+4>>2])>2||(0|o[e+8>>2])>2||(0|o[e+12>>2])>2?(l=0,y(0|(c=0)),k=n,0|l):(xt(0|B(e),0,45),c=0|v()|r,l=-1,y(0|c),k=n,0|l);if(o[l>>2]=o[e>>2],o[l+4>>2]=o[e+4>>2],o[l+8>>2]=o[e+8>>2],o[l+12>>2]=o[e+12>>2],c=l+4|0,(0|t)>0)for(e=-1;o[i>>2]=o[c>>2],o[i+4>>2]=o[c+4>>2],o[i+8>>2]=o[c+8>>2],1&t?(te(c),o[a>>2]=o[c>>2],o[a+4>>2]=o[c+4>>2],o[a+8>>2]=o[c+8>>2],re(a)):(ne(c),o[a>>2]=o[c>>2],o[a+4>>2]=o[c+4>>2],o[a+8>>2]=o[c+8>>2],oe(a)),K(i,a,s),Z(s),u=0|xt(7,0,0|(p=3*(15-t|0)|0)),r&=~(0|v()),e=(p=0|xt(0|ee(s),0,0|p))|e&~u,r=0|v()|r,(0|t)>1;)t=t+-1|0;else e=-1;e:do{if((0|o[c>>2])<=2&&(0|o[l+8>>2])<=2&&(0|o[l+12>>2])<=2){if(t=0|xt(0|(i=0|B(l)),0,45),t|=e,e=0|v()|-1040385&r,s=0|P(l),!(0|C(i))){if((0|s)<=0)break;for(a=0;;){if(i=0|_t(0|t,0|e,52),v(),i&=15)for(r=1;l=0|_t(0|t,0|e,0|(p=3*(15-r|0)|0)),v(),u=0|xt(7,0,0|p),e&=~(0|v()),t=t&~u|(p=0|xt(0|ce(7&l),0,0|p)),e=0|e|v(),r>>>0>>0;)r=r+1|0;if((0|(a=a+1|0))==(0|s))break e}}a=0|_t(0|t,0|e,52),v(),a&=15;t:do{if(a){r=1;n:for(;;){switch(p=0|_t(0|t,0|e,3*(15-r|0)|0),v(),7&p){case 1:break n;case 0:break;default:break t}if(!(r>>>0>>0))break t;r=r+1|0}if(0|j(i,0|o[l>>2]))for(r=1;u=0|xt(7,0,0|(l=3*(15-r|0)|0)),p=e&~(0|v()),e=0|_t(0|t,0|e,0|l),v(),t=t&~u|(e=0|xt(0|le(7&e),0,0|l)),e=0|p|v(),r>>>0>>0;)r=r+1|0;else for(r=1;l=0|_t(0|t,0|e,0|(p=3*(15-r|0)|0)),v(),u=0|xt(7,0,0|p),e&=~(0|v()),t=t&~u|(p=0|xt(0|ce(7&l),0,0|p)),e=0|e|v(),r>>>0>>0;)r=r+1|0}}while(0);if((0|s)>0){r=0;do{t=0|Ce(t,e),e=0|v(),r=r+1|0}while((0|r)!=(0|s))}}else t=0,e=0}while(0);return p=t,y(0|(u=e)),k=n,0|p}(n,t),e=0|v()):(e=0,t=0),y(0|e),k=r,0|t}function Ye(e,t,n){var r,i=0,a=0,s=0;if(r=(n|=0)+4|0,a=0|_t(0|(e|=0),0|(t|=0),52),v(),a&=15,s=0|_t(0|e,0|t,45),v(),i=0==(0|a),0|C(127&s)){if(i)return 0|(s=1);i=1}else{if(i)return 0|(s=0);i=0==(0|o[r>>2])&&0==(0|o[n+8>>2])?0!=(0|o[n+12>>2])&1:1}for(n=1;1&n?re(r):oe(r),s=0|_t(0|e,0|t,3*(15-n|0)|0),v(),ie(r,7&s),n>>>0>>0;)n=n+1|0;return 0|i}function Fe(e,t,n){n|=0;var r,i,a=0,s=0,c=0,l=0,u=0,p=0;i=k,k=k+16|0,r=i,p=0|_t(0|(e|=0),0|(t|=0),45),v(),p&=127;e:do{if(0!=(0|C(p))&&(c=0|_t(0|e,0|t,52),v(),0!=(0|(c&=15)))){a=1;t:for(;;){switch(u=0|_t(0|e,0|t,3*(15-a|0)|0),v(),7&u){case 5:break t;case 0:break;default:a=t;break e}if(!(a>>>0>>0)){a=t;break e}a=a+1|0}for(s=1,a=t;l=0|xt(7,0,0|(t=3*(15-s|0)|0)),u=a&~(0|v()),a=0|_t(0|e,0|a,0|t),v(),e=e&~l|(a=0|xt(0|le(7&a),0,0|t)),a=0|u|v(),s>>>0>>0;)s=s+1|0}else a=t}while(0);if(u=7728+(28*p|0)|0,o[n>>2]=o[u>>2],o[n+4>>2]=o[u+4>>2],o[n+8>>2]=o[u+8>>2],o[n+12>>2]=o[u+12>>2],0|Ye(e,a,n)){if(l=n+4|0,o[r>>2]=o[l>>2],o[r+4>>2]=o[l+4>>2],o[r+8>>2]=o[l+8>>2],c=0|_t(0|e,0|a,52),v(),u=15&c,1&c?(oe(l),c=u+1|0):c=u,0|C(p)){e:do{if(u)for(t=1;;){if(s=0|_t(0|e,0|a,3*(15-t|0)|0),v(),0|(s&=7)){a=s;break e}if(!(t>>>0>>0)){a=0;break}t=t+1|0}else a=0}while(0);a=4==(0|a)&1}else a=0;if(0|ye(n,c,a,0)){if(0|C(p))do{}while(0!=(0|ye(n,c,0,0)));(0|c)!=(0|u)&&ne(l)}else(0|c)!=(0|u)&&(o[l>>2]=o[r>>2],o[l+4>>2]=o[r+4>>2],o[l+8>>2]=o[r+8>>2]);k=i}else k=i}function Xe(e,t,n){n|=0;var r,o;r=k,k=k+16|0,Fe(e|=0,t|=0,o=r),t=0|_t(0|e,0|t,52),v(),ze(o,15&t,n),k=r}function He(e,t,n){n|=0;var r,o,i=0,a=0;o=k,k=k+16|0,Fe(e|=0,t|=0,r=o),i=0|_t(0|e,0|t,45),v(),i=0==(0|C(127&i)),a=0|_t(0|e,0|t,52),v(),a&=15;e:do{if(!i){if(0|a)for(i=1;;){if(!(0==((0|xt(7,0,3*(15-i|0)|0))&e|0)&0==((0|v())&t|0)))break e;if(!(i>>>0>>0))break;i=i+1|0}return Oe(r,a,0,5,n),void(k=o)}}while(0);_e(r,a,0,6,n),k=o}function Ue(e,t){t|=0;var n,r=0,i=0,a=0,s=0,c=0,l=0;if(xt(0|(e|=0),0,52),n=134225919|v(),(0|e)<1){i=0,r=0;do{0|C(i)&&(xt(0|i,0,45),c=0|n|v(),o[(e=t+(r<<3)|0)>>2]=-1,o[e+4>>2]=c,r=r+1|0),i=i+1|0}while(122!=(0|i))}else{c=0,r=0;do{if(0|C(c)){for(xt(0|c,0,45),i=1,a=-1,s=0|n|v();a&=~(l=0|xt(7,0,3*(15-i|0)|0)),s&=~(0|v()),(0|i)!=(0|e);)i=i+1|0;o[(l=t+(r<<3)|0)>>2]=a,o[l+4>>2]=s,r=r+1|0}c=c+1|0}while(122!=(0|c))}}function Ve(e,t,n,r){var i,a=0,s=0,c=0,l=0,u=0;if(i=k,k=k+64|0,c=i,(0|(e|=0))==(0|(n|=0))&(0|(t|=0))==(0|(r|=0))|!1|134217728!=(2013265920&t|0)|!1|134217728!=(2013265920&r|0))return k=i,0|(c=0);if(a=0|_t(0|e,0|t,52),v(),a&=15,s=0|_t(0|n,0|r,52),v(),(0|a)!=(15&s|0))return k=i,0|(c=0);if(s=a+-1|0,a>>>0>1&&(u=0|Re(e,t,s),l=0|v(),(0|u)==(0|(s=0|Re(n,r,s)))&(0|l)==(0|v()))){if(a=0|_t(0|e,0|t,0|(s=3*(15^a)|0)),v(),a&=7,s=0|_t(0|n,0|r,0|s),v(),0==(0|a)|0==(0|(s&=7)))return k=i,0|(u=1);if((0|o[21136+(a<<2)>>2])==(0|s))return k=i,0|(u=1);if((0|o[21168+(a<<2)>>2])==(0|s))return k=i,0|(u=1)}s=(a=c)+56|0;do{o[a>>2]=0,a=a+4|0}while((0|a)<(0|s));return T(e,t,1,c),a=(0|o[(u=c)>>2])==(0|n)&&(0|o[u+4>>2])==(0|r)||(0|o[(u=c+8|0)>>2])==(0|n)&&(0|o[u+4>>2])==(0|r)||(0|o[(u=c+16|0)>>2])==(0|n)&&(0|o[u+4>>2])==(0|r)||(0|o[(u=c+24|0)>>2])==(0|n)&&(0|o[u+4>>2])==(0|r)||(0|o[(u=c+32|0)>>2])==(0|n)&&(0|o[u+4>>2])==(0|r)||(0|o[(u=c+40|0)>>2])==(0|n)&&(0|o[u+4>>2])==(0|r)?1:1&((0|o[(a=c+48|0)>>2])==(0|n)?(0|o[a+4>>2])==(0|r):0),k=i,0|(u=a)}function Ge(e,t,n){n|=0;var r,i,a,s,c=0;if(a=k,k=k+16|0,i=a,c=0|_t(0|(e|=0),0|(t|=0),56),v(),t=0|function(e,t,n){e|=0,t|=0,n|=0;var r=0,i=0;if(r=0|Ee(e,t),(n+-1|0)>>>0>5)return 0|(n=-1);if(i=0!=(0|r),1==(0|n)&i)return 0|(n=-1);return r=0|function(e,t){e|=0,t|=0;var n=0,r=0,i=0,a=0,s=0,c=0,l=0,u=0;if(u=k,k=k+32|0,i=u+16|0,a=u,Fe(e,t,i),s=0|ke(e,t),l=0|De(e,t),function(e,t){e=7728+(28*(e|=0)|0)|0,o[(t|=0)>>2]=o[e>>2],o[t+4>>2]=o[e+4>>2],o[t+8>>2]=o[e+8>>2],o[t+12>>2]=o[e+12>>2]}(s,a),t=0|function(e,t){e|=0;var n=0,r=0;if((t|=0)>>>0>20)return-1;do{if((0|o[11152+(216*t|0)>>2])!=(0|e))if((0|o[11152+(216*t|0)+8>>2])!=(0|e))if((0|o[11152+(216*t|0)+16>>2])!=(0|e))if((0|o[11152+(216*t|0)+24>>2])!=(0|e))if((0|o[11152+(216*t|0)+32>>2])!=(0|e))if((0|o[11152+(216*t|0)+40>>2])!=(0|e))if((0|o[11152+(216*t|0)+48>>2])!=(0|e))if((0|o[11152+(216*t|0)+56>>2])!=(0|e))if((0|o[11152+(216*t|0)+64>>2])!=(0|e))if((0|o[11152+(216*t|0)+72>>2])!=(0|e))if((0|o[11152+(216*t|0)+80>>2])!=(0|e))if((0|o[11152+(216*t|0)+88>>2])!=(0|e))if((0|o[11152+(216*t|0)+96>>2])!=(0|e))if((0|o[11152+(216*t|0)+104>>2])!=(0|e))if((0|o[11152+(216*t|0)+112>>2])!=(0|e))if((0|o[11152+(216*t|0)+120>>2])!=(0|e))if((0|o[11152+(216*t|0)+128>>2])!=(0|e)){if((0|o[11152+(216*t|0)+136>>2])!=(0|e)){if((0|o[11152+(216*t|0)+144>>2])==(0|e)){e=0,n=2,r=0;break}if((0|o[11152+(216*t|0)+152>>2])==(0|e)){e=0,n=2,r=1;break}if((0|o[11152+(216*t|0)+160>>2])==(0|e)){e=0,n=2,r=2;break}if((0|o[11152+(216*t|0)+168>>2])==(0|e)){e=1,n=2,r=0;break}if((0|o[11152+(216*t|0)+176>>2])==(0|e)){e=1,n=2,r=1;break}if((0|o[11152+(216*t|0)+184>>2])==(0|e)){e=1,n=2,r=2;break}if((0|o[11152+(216*t|0)+192>>2])==(0|e)){e=2,n=2,r=0;break}if((0|o[11152+(216*t|0)+200>>2])==(0|e)){e=2,n=2,r=1;break}if((0|o[11152+(216*t|0)+208>>2])==(0|e)){e=2,n=2,r=2;break}return-1}e=2,n=1,r=2}else e=2,n=1,r=1;else e=2,n=1,r=0;else e=1,n=1,r=2;else e=1,n=1,r=1;else e=1,n=1,r=0;else e=0,n=1,r=2;else e=0,n=1,r=1;else e=0,n=1,r=0;else e=2,n=0,r=2;else e=2,n=0,r=1;else e=2,n=0,r=0;else e=1,n=0,r=2;else e=1,n=0,r=1;else e=1,n=0,r=0;else e=0,n=0,r=2;else e=0,n=0,r=1;else e=0,n=0,r=0}while(0);return 0|o[11152+(216*t|0)+(72*n|0)+(24*e|0)+(r<<3)+4>>2]}(s,0|o[i>>2]),!(0|C(s)))return k=u,0|(l=t);switch(0|s){case 4:e=0,n=14;break;case 14:e=1,n=14;break;case 24:e=2,n=14;break;case 38:e=3,n=14;break;case 49:e=4,n=14;break;case 58:e=5,n=14;break;case 63:e=6,n=14;break;case 72:e=7,n=14;break;case 83:e=8,n=14;break;case 97:e=9,n=14;break;case 107:e=10,n=14;break;case 117:e=11,n=14;break;default:c=0,r=0}14==(0|n)&&(c=0|o[22096+(24*e|0)+8>>2],r=0|o[22096+(24*e|0)+16>>2]);e=0|o[i>>2],(0|e)!=(0|o[a>>2])&&(s=0|N(s))|(0|(e=0|o[i>>2]))==(0|r)&&(t=(t+1|0)%6|0);if(3==(0|l)&(0|e)==(0|r))return k=u,0|(l=(t+5|0)%6|0);if(!(5==(0|l)&(0|e)==(0|c)))return k=u,0|(l=t);return l=(t+1|0)%6|0,k=u,0|l}(e,t),i?0|(n=(5-r+(0|o[22384+(n<<2)>>2])|0)%5|0):0|(n=(6-r+(0|o[22416+(n<<2)>>2])|0)%6|0)}(r=(s=!0&268435456==(2013265920&t|0))?e:0,e=s?-2130706433&t|134217728:0,7&c),-1==(0|t))return o[n>>2]=0,void(k=a);Fe(r,e,i),c=0|_t(0|r,0|e,52),v(),c&=15,0|Ee(r,e)?Oe(i,c,t,2,n):_e(i,c,t,2,n),k=a}function Ze(e){e|=0;var t,n,r=0;return(t=0|zt(1,12))||_(22691,22646,49,22704),0|(r=0|o[(n=e+4|0)>>2])?(o[(r=r+8|0)>>2]=t,o[n>>2]=t,0|t):(0|o[e>>2]&&_(22721,22646,61,22744),o[(r=e)>>2]=t,o[n>>2]=t,0|t)}function Qe(e,t){e|=0,t|=0;var n,r;return(r=0|Mt(24))||_(22758,22646,78,22772),o[r>>2]=o[t>>2],o[r+4>>2]=o[t+4>>2],o[r+8>>2]=o[t+8>>2],o[r+12>>2]=o[t+12>>2],o[r+16>>2]=0,0|(n=0|o[(t=e+4|0)>>2])?(o[n+16>>2]=r,o[t>>2]=r,0|r):(0|o[e>>2]&&_(22787,22646,82,22772),o[e>>2]=r,o[t>>2]=r,0|r)}function $e(e){var t,n,r=0,a=0,s=0,l=0,u=0,p=0,A=0,d=0,b=0,f=0,h=0,M=0,m=0,z=0,O=0,g=0,y=0,v=0,x=0,w=0,q=0,W=0,L=0,k=0,T=0,R=0,S=0,E=0,D=0,C=0;if(0|o[(l=(e|=0)+8|0)>>2])return 0|(C=1);if(!(s=0|o[e>>2]))return 0|(C=0);r=s,a=0;do{a=a+1|0,r=0|o[r+8>>2]}while(0!=(0|r));if(a>>>0<2)return 0|(C=0);(n=0|Mt(a<<2))||_(22807,22646,317,22826),(t=0|Mt(a<<5))||_(22848,22646,321,22826),o[e>>2]=0,o[(W=e+4|0)>>2]=0,o[l>>2]=0,a=0,E=0,q=0,h=0;e:for(;;){if(f=0|o[s>>2]){u=0,p=f;do{if(d=+i[p+8>>3],r=p,p=0|o[p+16>>2],A=+i[(l=(b=0==(0|p))?f:p)+8>>3],+c(+(d-A))>3.141592653589793){C=14;break}u+=(A-d)*(+i[r>>3]+ +i[l>>3])}while(!b);if(14==(0|C)){C=0,u=0,r=f;do{w=+i[r+8>>3],R=0|o[(S=r+16|0)>>2],x=+i[(R=0==(0|R)?f:R)+8>>3],u+=(+i[r>>3]+ +i[R>>3])*((x<0?x+6.283185307179586:x)-(w<0?w+6.283185307179586:w)),r=0|o[(0==(0|r)?s:S)>>2]}while(0!=(0|r))}u>0?(o[n+(E<<2)>>2]=s,E=E+1|0,l=q,r=h):C=19}else C=19;if(19==(0|C)){C=0;do{if(!a){if(h){l=W,p=h+8|0,r=s,a=e;break}if(0|o[e>>2]){C=27;break e}l=W,p=e,r=s,a=e;break}if(0|o[(r=a+8|0)>>2]){C=21;break e}if(!(a=0|zt(1,12))){C=23;break e}o[r>>2]=a,l=a+4|0,p=a,r=h}while(0);if(o[p>>2]=s,o[l>>2]=s,p=t+(q<<5)|0,b=0|o[s>>2]){for(i[(f=t+(q<<5)+8|0)>>3]=17976931348623157e292,i[(h=t+(q<<5)+24|0)>>3]=17976931348623157e292,i[p>>3]=-17976931348623157e292,i[(M=t+(q<<5)+16|0)>>3]=-17976931348623157e292,y=17976931348623157e292,v=-17976931348623157e292,l=0,m=b,d=17976931348623157e292,O=17976931348623157e292,g=-17976931348623157e292,A=-17976931348623157e292;u=+i[m>>3],w=+i[m+8>>3],m=0|o[m+16>>2],x=+i[((z=0==(0|m))?b:m)+8>>3],u>3]=u,d=u),w>3]=w,O=w),u>g?i[p>>3]=u:u=g,w>A&&(i[M>>3]=w,A=w),y=w>0&wv?w:v,l|=+c(+(w-x))>3.141592653589793,!z;)g=u;l&&(i[M>>3]=v,i[h>>3]=y)}else o[p>>2]=0,o[p+4>>2]=0,o[p+8>>2]=0,o[p+12>>2]=0,o[p+16>>2]=0,o[p+20>>2]=0,o[p+24>>2]=0,o[p+28>>2]=0;l=q+1|0}if(s=0|o[(S=s+8|0)>>2],o[S>>2]=0,!s){C=45;break}q=l,h=r}if(21==(0|C))_(22624,22646,35,22658);else if(23==(0|C))_(22678,22646,37,22658);else if(27==(0|C))_(22721,22646,61,22744);else if(45==(0|C)){e:do{if((0|E)>0){for(S=0==(0|l),T=l<<2,R=0==(0|e),k=0,r=0;;){if(L=0|o[n+(k<<2)>>2],S)C=73;else{if(!(q=0|Mt(T))){C=50;break}if(!(W=0|Mt(T))){C=52;break}t:do{if(R)a=0;else{for(l=0,a=0,p=e;s=t+(l<<5)|0,0|Ke(0|o[p>>2],s,0|o[L>>2])?(o[q+(a<<2)>>2]=p,o[W+(a<<2)>>2]=s,z=a+1|0):z=a,p=0|o[p+8>>2];)l=l+1|0,a=z;if((0|z)>0)if(s=0|o[q>>2],1==(0|z))a=s;else for(M=0,m=-1,a=s,h=s;;){for(b=0|o[h>>2],s=0,p=0;f=(0|(l=0|o[o[q+(p<<2)>>2]>>2]))==(0|b)?s:s+(1&(0|Ke(l,0|o[W+(p<<2)>>2],0|o[b>>2])))|0,(0|(p=p+1|0))!=(0|z);)s=f;if(a=(l=(0|f)>(0|m))?h:a,(0|(s=M+1|0))==(0|z))break t;M=s,m=l?f:m,h=0|o[q+(s<<2)>>2]}else a=0}}while(0);if(mt(q),mt(W),a){if(s=0|o[(l=a+4|0)>>2])a=s+8|0;else if(0|o[a>>2]){C=70;break}o[a>>2]=L,o[l>>2]=L}else C=73}if(73==(0|C)){if(C=0,0|(r=0|o[L>>2]))do{W=r,r=0|o[r+16>>2],mt(W)}while(0!=(0|r));mt(L),r=2}if((0|(k=k+1|0))>=(0|E)){D=r;break e}}50==(0|C)?_(22863,22646,249,22882):52==(0|C)?_(22901,22646,252,22882):70==(0|C)&&_(22721,22646,61,22744)}else D=0}while(0);return mt(n),mt(t),0|(C=D)}return 0}function Ke(e,t,n){e|=0;var r,a=0,s=0,c=0,l=0,u=0,p=0,A=0;if(!(0|X(t|=0,n|=0)))return 0|(e=0);if(t=0|F(t),r=+i[n>>3],a=t&(a=+i[n+8>>3])<0?a+6.283185307179586:a,!(e=0|o[e>>2]))return 0|(e=0);if(t){t=0,n=e;e:for(;;){for(;l=+i[n>>3],p=+i[n+8>>3],A=0|o[(n=n+16|0)>>2],c=+i[(A=0==(0|A)?e:A)>>3],s=+i[A+8>>3],l>c?(u=l,l=p):(u=c,c=l,l=s,s=p),ru;)if(!(n=0|o[n>>2])){n=22;break e}if(a=(l=l<0?l+6.283185307179586:l)==a|(p=s<0?s+6.283185307179586:s)==a?a+-2220446049250313e-31:a,((p+=(r-c)/(u-c)*(l-p))<0?p+6.283185307179586:p)>a&&(t^=1),!(n=0|o[n>>2])){n=22;break}}if(22==(0|n))return 0|t}else{t=0,n=e;e:for(;;){for(;l=+i[n>>3],p=+i[n+8>>3],A=0|o[(n=n+16|0)>>2],c=+i[(A=0==(0|A)?e:A)>>3],s=+i[A+8>>3],l>c?(u=l,l=p):(u=c,c=l,l=s,s=p),ru;)if(!(n=0|o[n>>2])){n=22;break e}if(s+(r-c)/(u-c)*(l-s)>(a=l==a|s==a?a+-2220446049250313e-31:a)&&(t^=1),!(n=0|o[n>>2])){n=22;break}}if(22==(0|n))return 0|t}return 0}function Je(e,t,n,i,a){n|=0,i|=0,a|=0;var s,c,l,u,p=0,A=0,d=0,b=0,f=0,h=0,M=0,m=0,z=0,O=0;if(u=k,k=k+32|0,O=u+16|0,l=u,p=0|_t(0|(e|=0),0|(t|=0),52),v(),p&=15,M=0|_t(0|n,0|i,52),v(),(0|p)!=(15&M|0))return k=u,0|(O=1);if(f=0|_t(0|e,0|t,45),v(),f&=127,h=0|_t(0|n,0|i,45),v(),M=(0|f)!=(0|(h&=127))){if(7==(0|(d=0|Y(f,h))))return k=u,0|(O=2);7==(0|(b=0|Y(h,f)))?_(22925,22949,151,22959):(m=d,A=b)}else m=0,A=0;s=0|C(f),c=0|C(h),o[O>>2]=0,o[O+4>>2]=0,o[O+8>>2]=0,o[O+12>>2]=0;do{if(m){if(d=(0|(h=0|o[4304+(28*f|0)+(m<<2)>>2]))>0,c)if(d){f=0,b=n,d=i;do{b=0|Be(b,d),d=0|v(),1==(0|(A=0|le(A)))&&(A=0|le(1)),f=f+1|0}while((0|f)!=(0|h));h=A,f=b,b=d}else h=A,f=n,b=i;else if(d){f=0,b=n,d=i;do{b=0|Pe(b,d),d=0|v(),A=0|le(A),f=f+1|0}while((0|f)!=(0|h));h=A,f=b,b=d}else h=A,f=n,b=i;if(Ye(f,b,O),M||_(22972,22949,181,22959),(d=0!=(0|s))&(A=0!=(0|c))&&_(22999,22949,182,22959),d){if(A=0|De(e,t),0|r[22032+(7*A|0)+m>>0]){p=3;break}f=b=0|o[21200+(28*A|0)+(m<<2)>>2],z=26}else if(A){if(A=0|De(f,b),0|r[22032+(7*A|0)+h>>0]){p=4;break}f=0,b=0|o[21200+(28*h|0)+(A<<2)>>2],z=26}else A=0;if(26==(0|z))if((0|b)<=-1&&_(23030,22949,212,22959),(0|f)<=-1&&_(23053,22949,213,22959),(0|b)>0){d=O+4|0,A=0;do{se(d),A=A+1|0}while((0|A)!=(0|b));A=f}else A=f;if(o[l>>2]=0,o[l+4>>2]=0,o[l+8>>2]=0,ie(l,m),0|p)for(;0|je(p)?re(l):oe(l),(0|p)>1;)p=p+-1|0;if((0|A)>0){p=0;do{se(l),p=p+1|0}while((0|p)!=(0|A))}$(z=O+4|0,l,z),Z(z),z=50}else if(Ye(n,i,O),0!=(0|s)&0!=(0|c))if((0|h)!=(0|f)&&_(23077,22949,243,22959),A=0|De(e,t),p=0|De(n,i),0|r[22032+(7*A|0)+p>>0])p=5;else if((0|(A=0|o[21200+(28*A|0)+(p<<2)>>2]))>0){d=O+4|0,p=0;do{se(d),p=p+1|0}while((0|p)!=(0|A));z=50}else z=50;else z=50}while(0);return 50==(0|z)&&(p=O+4|0,o[a>>2]=o[p>>2],o[a+4>>2]=o[p+4>>2],o[a+8>>2]=o[p+8>>2],p=0),k=u,0|(O=p)}function et(e,t,n,r){n|=0,r|=0;var i,a,s=0,c=0,l=0,u=0,p=0,A=0,d=0,b=0,f=0,h=0,M=0,m=0,z=0;if(a=k,k=k+48|0,l=a+36|0,u=a+24|0,p=a+12|0,A=a,c=0|_t(0|(e|=0),0|(t|=0),52),v(),c&=15,b=0|_t(0|e,0|t,45),v(),i=0|C(b&=127),xt(0|c,0,52),M=134225919|v(),o[(h=r)>>2]=-1,o[h+4>>2]=M,!c)return(0|o[n>>2])>1||(0|o[n+4>>2])>1||(0|o[n+8>>2])>1||127==(0|(s=0|I(b,0|ee(n))))?(k=a,0|(M=1)):(f=0|xt(0|s,0,45),h=0|v(),h=-1040385&o[(b=r)+4>>2]|h,o[(M=r)>>2]=o[b>>2]|f,o[M+4>>2]=h,k=a,0|(M=0));for(o[l>>2]=o[n>>2],o[l+4>>2]=o[n+4>>2],o[l+8>>2]=o[n+8>>2];o[u>>2]=o[l>>2],o[u+4>>2]=o[l+4>>2],o[u+8>>2]=o[l+8>>2],0|je(c)?(te(l),o[p>>2]=o[l>>2],o[p+4>>2]=o[l+4>>2],o[p+8>>2]=o[l+8>>2],re(p)):(ne(l),o[p>>2]=o[l>>2],o[p+4>>2]=o[l+4>>2],o[p+8>>2]=o[l+8>>2],oe(p)),K(u,p,A),Z(A),m=0|o[(h=r)>>2],h=0|o[h+4>>2],n=0|xt(7,0,0|(z=3*(15-c|0)|0)),h&=~(0|v()),z=0|xt(0|ee(A),0,0|z),h=0|v()|h,o[(M=r)>>2]=z|m&~n,o[M+4>>2]=h,(0|c)>1;)c=c+-1|0;e:do{if((0|o[l>>2])<=1&&(0|o[l+4>>2])<=1&&(0|o[l+8>>2])<=1){A=127==(0|(u=0|I(b,c=0|ee(l))))?0:0|C(u);t:do{if(c){if(i){if(l=21408+(28*(0|De(e,t))|0)+(c<<2)|0,(0|(l=0|o[l>>2]))>0){n=0;do{c=0|ce(c),n=n+1|0}while((0|n)!=(0|l))}if(1==(0|c)){s=3;break e}127==(0|(n=0|I(b,c)))&&_(23104,22949,376,23134),0|C(n)?_(23147,22949,377,23134):(f=l,d=c,s=n)}else f=0,d=c,s=u;if((0|(p=0|o[4304+(28*b|0)+(d<<2)>>2]))<=-1&&_(23178,22949,384,23134),!A){if((0|f)<=-1&&_(23030,22949,417,23134),0|f){c=0,n=0|o[(l=r)>>2],l=0|o[l+4>>2];do{n=0|Ne(n,l),l=0|v(),o[(z=r)>>2]=n,o[z+4>>2]=l,c=c+1|0}while((0|c)<(0|f))}if((0|p)<=0){c=54;break}for(c=0,n=0|o[(l=r)>>2],l=0|o[l+4>>2];;)if(n=0|Ne(n,l),l=0|v(),o[(z=r)>>2]=n,o[z+4>>2]=l,(0|(c=c+1|0))==(0|p)){c=54;break t}}if(7==(0|(u=0|Y(s,b)))&&_(22925,22949,393,23134),n=0|o[(c=r)>>2],c=0|o[c+4>>2],(0|p)>0){l=0;do{n=0|Ne(n,c),c=0|v(),o[(z=r)>>2]=n,o[z+4>>2]=c,l=l+1|0}while((0|l)!=(0|p))}if(n=0|De(n,c),z=0|N(s),(0|(n=0|o[(z?21824:21616)+(28*u|0)+(n<<2)>>2]))<=-1&&_(23030,22949,412,23134),n){c=0,l=0|o[(u=r)>>2],u=0|o[u+4>>2];do{l=0|Ce(l,u),u=0|v(),o[(z=r)>>2]=l,o[z+4>>2]=u,c=c+1|0}while((0|c)<(0|n));c=54}else c=54}else if(0!=(0|i)&0!=(0|A))if(c=21408+(28*(z=0|De(e,t))|0)+((0|De(0|o[(c=r)>>2],0|o[c+4>>2]))<<2)|0,(0|(c=0|o[c>>2]))<=-1&&_(23201,22949,433,23134),c){s=0,n=0|o[(l=r)>>2],l=0|o[l+4>>2];do{n=0|Ne(n,l),l=0|v(),o[(z=r)>>2]=n,o[z+4>>2]=l,s=s+1|0}while((0|s)<(0|c));s=u,c=54}else s=u,c=55;else s=u,c=54}while(0);if(54==(0|c)&&A&&(c=55),55==(0|c)&&1==(0|De(0|o[(z=r)>>2],0|o[z+4>>2]))){s=4;break}M=0|o[(z=r)>>2],z=-1040385&o[z+4>>2],m=0|xt(0|s,0,45),z=0|z|v(),o[(s=r)>>2]=M|m,o[s+4>>2]=z,s=0}else s=2}while(0);return k=a,0|(z=s)}function tt(e,t){var n=0;if(!(t|=0))return 0|(n=1);n=e|=0,e=1;do{e=0|z(0==(1&t|0)?1:n,e),t>>=1,n=0|z(n,n)}while(0!=(0|t));return 0|e}function nt(e,t,n){e|=0;var r,a,s=0,c=0,l=0,u=0,p=0,A=0,d=0,b=0;if(!(0|X(t|=0,n|=0)))return 0|(b=0);if(t=0|F(t),a=+i[n>>3],s=t&(s=+i[n+8>>3])<0?s+6.283185307179586:s,(0|(b=0|o[e>>2]))<=0)return 0|(b=0);if(r=0|o[e+4>>2],t){t=0,n=-1,e=0;e:for(;;){for(d=e;u=+i[r+(d<<4)>>3],A=+i[r+(d<<4)+8>>3],l=+i[r+((e=(n+2|0)%(0|b)|0)<<4)>>3],c=+i[r+(e<<4)+8>>3],u>l?(p=u,u=A):(p=l,l=u,u=c,c=A),ap;){if(!((0|(n=d+1|0))<(0|b))){n=22;break e}e=d,d=n,n=e}if(s=(u=u<0?u+6.283185307179586:u)==s|(A=c<0?c+6.283185307179586:c)==s?s+-2220446049250313e-31:s,((A+=(a-l)/(p-l)*(u-A))<0?A+6.283185307179586:A)>s&&(t^=1),(0|(e=d+1|0))>=(0|b)){n=22;break}n=d}if(22==(0|n))return 0|t}else{t=0,n=-1,e=0;e:for(;;){for(d=e;u=+i[r+(d<<4)>>3],A=+i[r+(d<<4)+8>>3],l=+i[r+((e=(n+2|0)%(0|b)|0)<<4)>>3],c=+i[r+(e<<4)+8>>3],u>l?(p=u,u=A):(p=l,l=u,u=c,c=A),ap;){if(!((0|(n=d+1|0))<(0|b))){n=22;break e}e=d,d=n,n=e}if(c+(a-l)/(p-l)*(u-c)>(s=u==s|c==s?s+-2220446049250313e-31:s)&&(t^=1),(0|(e=d+1|0))>=(0|b)){n=22;break}n=d}if(22==(0|n))return 0|t}return 0}function rt(e,t){t|=0;var n,r,a,s,l,u=0,p=0,A=0,d=0,b=0,f=0,h=0,M=0,m=0,z=0,O=0,g=0;if(!(r=0|o[(e|=0)>>2]))return o[t>>2]=0,o[t+4>>2]=0,o[t+8>>2]=0,o[t+12>>2]=0,o[t+16>>2]=0,o[t+20>>2]=0,o[t+24>>2]=0,void(o[t+28>>2]=0);if(i[(a=t+8|0)>>3]=17976931348623157e292,i[(s=t+24|0)>>3]=17976931348623157e292,i[t>>3]=-17976931348623157e292,i[(l=t+16|0)>>3]=-17976931348623157e292,!((0|r)<=0)){for(n=0|o[e+4>>2],M=17976931348623157e292,m=-17976931348623157e292,z=0,e=-1,d=17976931348623157e292,b=17976931348623157e292,h=-17976931348623157e292,p=-17976931348623157e292,O=0;u=+i[n+(O<<4)>>3],f=+i[n+(O<<4)+8>>3],A=+i[n+(((0|(e=e+2|0))==(0|r)?0:e)<<4)+8>>3],u>3]=u,d=u),f>3]=f,b=f),u>h?i[t>>3]=u:u=h,f>p&&(i[l>>3]=f,p=f),M=f>0&fm?f:m,z|=+c(+(f-A))>3.141592653589793,(0|(e=O+1|0))!=(0|r);)g=O,h=u,O=e,e=g;z&&(i[l>>3]=m,i[s>>3]=M)}}function ot(e,t){t|=0;var n,r=0,a=0,s=0,l=0,u=0,p=0,A=0,d=0,b=0,f=0,h=0,M=0,m=0,z=0,O=0,g=0,y=0,v=0,_=0,x=0,w=0;if(m=0|o[(e|=0)>>2]){if(i[(z=t+8|0)>>3]=17976931348623157e292,i[(O=t+24|0)>>3]=17976931348623157e292,i[t>>3]=-17976931348623157e292,i[(g=t+16|0)>>3]=-17976931348623157e292,(0|m)>0){for(s=0|o[e+4>>2],h=17976931348623157e292,M=-17976931348623157e292,a=0,r=-1,A=17976931348623157e292,d=17976931348623157e292,f=-17976931348623157e292,u=-17976931348623157e292,y=0;l=+i[s+(y<<4)>>3],b=+i[s+(y<<4)+8>>3],p=+i[s+(((0|(x=r+2|0))==(0|m)?0:x)<<4)+8>>3],l>3]=l,A=l),b>3]=b,d=b),l>f?i[t>>3]=l:l=f,b>u&&(i[g>>3]=b,u=b),h=b>0&bM?b:M,a|=+c(+(b-p))>3.141592653589793,(0|(r=y+1|0))!=(0|m);)x=y,f=l,y=r,r=x;a&&(i[g>>3]=M,i[O>>3]=h)}}else o[t>>2]=0,o[t+4>>2]=0,o[t+8>>2]=0,o[t+12>>2]=0,o[t+16>>2]=0,o[t+20>>2]=0,o[t+24>>2]=0,o[t+28>>2]=0;if(!((0|(r=0|o[(x=e+8|0)>>2]))<=0)){n=e+12|0,_=0;do{if(s=0|o[n>>2],a=_,O=t+((_=_+1|0)<<5)|0,g=0|o[s+(a<<3)>>2]){if(i[(y=t+(_<<5)+8|0)>>3]=17976931348623157e292,i[(e=t+(_<<5)+24|0)>>3]=17976931348623157e292,i[O>>3]=-17976931348623157e292,i[(v=t+(_<<5)+16|0)>>3]=-17976931348623157e292,(0|g)>0){for(m=0|o[s+(a<<3)+4>>2],h=17976931348623157e292,M=-17976931348623157e292,s=0,a=-1,z=0,A=17976931348623157e292,d=17976931348623157e292,b=-17976931348623157e292,u=-17976931348623157e292;l=+i[m+(z<<4)>>3],f=+i[m+(z<<4)+8>>3],p=+i[m+(((0|(a=a+2|0))==(0|g)?0:a)<<4)+8>>3],l>3]=l,A=l),f>3]=f,d=f),l>b?i[O>>3]=l:l=b,f>u&&(i[v>>3]=f,u=f),h=f>0&fM?f:M,s|=+c(+(f-p))>3.141592653589793,(0|(a=z+1|0))!=(0|g);)w=z,z=a,b=l,a=w;s&&(i[v>>3]=M,i[e>>3]=h)}}else o[O>>2]=0,o[O+4>>2]=0,o[O+8>>2]=0,o[O+12>>2]=0,o[O+16>>2]=0,o[O+20>>2]=0,o[O+24>>2]=0,o[O+28>>2]=0,r=0|o[x>>2]}while((0|_)<(0|r))}}function it(e,t,n){var r=0,i=0,a=0;if(!(0|nt(e|=0,t|=0,n|=0)))return 0|(i=0);if((0|o[(i=e+8|0)>>2])<=0)return 0|(i=1);for(r=e+12|0,e=0;;){if(a=e,e=e+1|0,0|nt((0|o[r>>2])+(a<<3)|0,t+(e<<5)|0,n)){e=0,r=6;break}if((0|e)>=(0|o[i>>2])){e=1,r=6;break}}return 6==(0|r)?0|e:0}function at(e,t,n,r,o){t|=0,n|=0,r|=0,o|=0;var a,s,c,l,u,p,A,d=0;l=+i[(e|=0)>>3],c=+i[t>>3]-l,s=+i[e+8>>3],a=+i[t+8>>3]-s,p=+i[n>>3],d=((d=+i[r>>3]-p)*(s-(A=+i[n+8>>3]))-(l-p)*(u=+i[r+8>>3]-A))/(c*u-a*d),i[o>>3]=l+c*d,i[o+8>>3]=s+a*d}function st(e,t){return t|=0,+i[(e|=0)>>3]!=+i[t>>3]?0|(t=0):0|(t=+i[e+8>>3]==+i[t+8>>3])}function ct(e,t){t|=0;var n,r,o;return+((o=+i[(e|=0)>>3]-+i[t>>3])*o+(r=+i[e+8>>3]-+i[t+8>>3])*r+(n=+i[e+16>>3]-+i[t+16>>3])*n)}function lt(e,t,n){e|=0,n|=0;var r=0;(0|(t|=0))>0?(r=0|zt(t,4),o[e>>2]=r,r||_(23230,23253,40,23267)):o[e>>2]=0,o[e+4>>2]=t,o[e+8>>2]=0,o[e+12>>2]=n}function ut(e){var t,n,r,a=0,s=0,l=0,p=0;t=(e|=0)+4|0,n=e+12|0,r=e+8|0;e:for(;;){for(s=0|o[t>>2],a=0;;){if((0|a)>=(0|s))break e;if(l=0|o[e>>2],p=0|o[l+(a<<2)>>2])break;a=a+1|0}a=l+(~~(+c(+ +u(10,+ +(15-(0|o[n>>2])|0))*(+i[p>>3]+ +i[p+8>>3]))%+(0|s))>>>0<<2)|0,s=0|o[a>>2];t:do{if(0|s){if(l=p+32|0,(0|s)==(0|p))o[a>>2]=o[l>>2];else{if(!(a=0|o[(s=s+32|0)>>2]))break;for(;(0|a)!=(0|p);)if(!(a=0|o[(s=a+32|0)>>2]))break t;o[s>>2]=o[l>>2]}mt(p),o[r>>2]=(0|o[r>>2])-1}}while(0)}mt(0|o[e>>2])}function pt(e){var t,n=0,r=0;for(t=0|o[(e|=0)+4>>2],r=0;;){if((0|r)>=(0|t)){n=0,r=4;break}if(n=0|o[(0|o[e>>2])+(r<<2)>>2]){r=4;break}r=r+1|0}return 4==(0|r)?0|n:0}function At(e,t){t|=0;var n=0,r=0,a=0,s=0;if(n=~~(+c(+ +u(10,+ +(15-(0|o[(e|=0)+12>>2])|0))*(+i[t>>3]+ +i[t+8>>3]))%+(0|o[e+4>>2]))>>>0,n=(0|o[e>>2])+(n<<2)|0,!(r=0|o[n>>2]))return 0|(s=1);s=t+32|0;do{if((0|r)!=(0|t)){if(!(n=0|o[r+32>>2]))return 0|(s=1);for(a=n;;){if((0|a)==(0|t)){a=8;break}if(!(n=0|o[a+32>>2])){n=1,a=10;break}r=a,a=n}if(8==(0|a)){o[r+32>>2]=o[s>>2];break}if(10==(0|a))return 0|n}else o[n>>2]=o[s>>2]}while(0);return mt(t),o[(s=e+8|0)>>2]=(0|o[s>>2])-1,0|(s=0)}function dt(e,t,n){e|=0,t|=0,n|=0;var r,a=0,s=0,l=0;(r=0|Mt(40))||_(23283,23253,98,23296),o[r>>2]=o[t>>2],o[r+4>>2]=o[t+4>>2],o[r+8>>2]=o[t+8>>2],o[r+12>>2]=o[t+12>>2],o[(s=r+16|0)>>2]=o[n>>2],o[s+4>>2]=o[n+4>>2],o[s+8>>2]=o[n+8>>2],o[s+12>>2]=o[n+12>>2],o[r+32>>2]=0,s=~~(+c(+ +u(10,+ +(15-(0|o[e+12>>2])|0))*(+i[t>>3]+ +i[t+8>>3]))%+(0|o[e+4>>2]))>>>0,s=(0|o[e>>2])+(s<<2)|0,a=0|o[s>>2];do{if(a){for(;!(0|qe(a,t)&&0|qe(a+16|0,n));)if(s=0|o[a+32>>2],!(0|o[(a=0==(0|s)?a:s)+32>>2])){l=10;break}if(10==(0|l)){o[a+32>>2]=r;break}return mt(r),0|(l=a)}o[s>>2]=r}while(0);return o[(l=e+8|0)>>2]=1+(0|o[l>>2]),0|(l=r)}function bt(e,t,n){t|=0,n|=0;var r=0,a=0;if(a=~~(+c(+ +u(10,+ +(15-(0|o[(e|=0)+12>>2])|0))*(+i[t>>3]+ +i[t+8>>3]))%+(0|o[e+4>>2]))>>>0,!(a=0|o[(0|o[e>>2])+(a<<2)>>2]))return 0|(n=0);if(!n){for(e=a;;){if(0|qe(e,t)){r=10;break}if(!(e=0|o[e+32>>2])){e=0,r=10;break}}if(10==(0|r))return 0|e}for(e=a;;){if(0|qe(e,t)&&0|qe(e+16|0,n)){r=10;break}if(!(e=0|o[e+32>>2])){e=0,r=10;break}}return 10==(0|r)?0|e:0}function ft(e,t){t|=0;var n=0;if(n=~~(+c(+ +u(10,+ +(15-(0|o[(e|=0)+12>>2])|0))*(+i[t>>3]+ +i[t+8>>3]))%+(0|o[e+4>>2]))>>>0,!(e=0|o[(0|o[e>>2])+(n<<2)>>2]))return 0|(n=0);for(;;){if(0|qe(e,t)){t=5;break}if(!(e=0|o[e+32>>2])){e=0,t=5;break}}return 5==(0|t)?0|e:0}function ht(e){return 0|~~+function(e){return+ +kt(+(e=+e))}(e=+e)}function Mt(e){e|=0;var t,n=0,r=0,i=0,a=0,s=0,c=0,l=0,u=0,p=0,A=0,d=0,b=0,f=0,h=0,M=0,m=0,z=0,O=0,g=0,y=0;t=k,k=k+16|0,b=t;do{if(e>>>0<245){if(e=(p=e>>>0<11?16:e+11&-8)>>>3,3&(r=(d=0|o[5829])>>>e)|0)return i=0|o[(r=(e=23356+((n=(1&r^1)+e|0)<<1<<2)|0)+8|0)>>2],(0|(s=0|o[(a=i+8|0)>>2]))==(0|e)?o[5829]=d&~(1<>2]=e,o[r>>2]=s),y=n<<3,o[i+4>>2]=3|y,o[(y=i+y+4|0)>>2]=1|o[y>>2],k=t,0|(y=a);if(p>>>0>(A=0|o[5831])>>>0){if(0|r)return n=((n=r<>>=l=n>>>12&16)>>>5&8)|l|(s=(n>>>=r)>>>2&4)|(e=(n>>>=s)>>>1&2)|(i=(n>>>=e)>>>1&1))+(n>>>i)|0)<<1<<2)|0)+8|0)>>2],(0|(r=0|o[(l=s+8|0)>>2]))==(0|n)?(e=d&~(1<>2]=n,o[e>>2]=r,e=d),c=(y=i<<3)-p|0,o[s+4>>2]=3|p,o[(a=s+p|0)+4>>2]=1|c,o[s+y>>2]=c,0|A&&(i=0|o[5834],r=23356+((n=A>>>3)<<1<<2)|0,e&(n=1<>2]:(o[5829]=e|n,n=r,e=r+8|0),o[e>>2]=i,o[n+12>>2]=i,o[i+8>>2]=n,o[i+12>>2]=r),o[5831]=c,o[5834]=a,k=t,0|(y=l);if(s=0|o[5830]){for(r=(s&0-s)-1|0,r=u=0|o[23620+(((i=(r>>>=a=r>>>12&16)>>>5&8)|a|(c=(r>>>=i)>>>2&4)|(l=(r>>>=c)>>>1&2)|(u=(r>>>=l)>>>1&1))+(r>>>u)<<2)>>2],l=u,u=(-8&o[u+4>>2])-p|0;(e=0|o[r+16>>2])||(e=0|o[r+20>>2]);)r=e,l=(a=(c=(-8&o[e+4>>2])-p|0)>>>0>>0)?e:l,u=a?c:u;if((c=l+p|0)>>>0>l>>>0){a=0|o[l+24>>2],n=0|o[l+12>>2];do{if((0|n)==(0|l)){if(!(n=0|o[(e=l+20|0)>>2])&&!(n=0|o[(e=l+16|0)>>2])){r=0;break}for(;;)if(r=0|o[(i=n+20|0)>>2])n=r,e=i;else{if(!(r=0|o[(i=n+16|0)>>2]))break;n=r,e=i}o[e>>2]=0,r=n}else r=0|o[l+8>>2],o[r+12>>2]=n,o[n+8>>2]=r,r=n}while(0);do{if(0|a){if(n=0|o[l+28>>2],(0|l)==(0|o[(e=23620+(n<<2)|0)>>2])){if(o[e>>2]=r,!r){o[5830]=s&~(1<>2])==(0|l)?y:a+20|0)>>2]=r,!r)break;o[r+24>>2]=a,0|(n=0|o[l+16>>2])&&(o[r+16>>2]=n,o[n+24>>2]=r),0|(n=0|o[l+20>>2])&&(o[r+20>>2]=n,o[n+24>>2]=r)}}while(0);return u>>>0<16?(y=u+p|0,o[l+4>>2]=3|y,o[(y=l+y+4|0)>>2]=1|o[y>>2]):(o[l+4>>2]=3|p,o[c+4>>2]=1|u,o[c+u>>2]=u,0|A&&(i=0|o[5834],r=23356+((n=A>>>3)<<1<<2)|0,(n=1<>2]:(o[5829]=n|d,n=r,e=r+8|0),o[e>>2]=i,o[n+12>>2]=i,o[i+8>>2]=n,o[i+12>>2]=r),o[5831]=u,o[5834]=c),k=t,0|(y=l+8|0)}d=p}else d=p}else d=p}else if(e>>>0<=4294967231)if(p=-8&(e=e+11|0),i=0|o[5830]){a=0-p|0,u=(e>>>=8)?p>>>0>16777215?31:p>>>((u=14-((l=((M=e<<(d=(e+1048320|0)>>>16&8))+520192|0)>>>16&4)|d|(u=((M<<=l)+245760|0)>>>16&2))+(M<>>15)|0)+7|0)&1|u<<1:0,r=0|o[23620+(u<<2)>>2];e:do{if(r)for(e=0,l=p<<(31==(0|u)?0:25-(u>>>1)|0),s=0;;){if((c=(-8&o[r+4>>2])-p|0)>>>0>>0){if(!c){e=r,a=0,M=65;break e}e=r,a=c}if(s=0==(0|(M=0|o[r+20>>2]))|(0|M)==(0|(r=0|o[r+16+(l>>>31<<2)>>2]))?s:M,!r){r=s,M=61;break}l<<=1}else r=0,e=0,M=61}while(0);if(61==(0|M)){if(0==(0|r)&0==(0|e)){if(!(e=((e=2<>>=c=d>>>12&16)>>>5&8)|c|(l=(d>>>=s)>>>2&4)|(u=(d>>>=l)>>>1&2)|(r=(d>>>=u)>>>1&1))+(d>>>r)<<2)>>2]}r?M=65:(l=e,c=a)}if(65==(0|M))for(s=r;;){if(a=(r=(d=(-8&o[s+4>>2])-p|0)>>>0>>0)?d:a,e=r?s:e,(r=0|o[s+16>>2])||(r=0|o[s+20>>2]),!r){l=e,c=a;break}s=r}if(0!=(0|l)&&c>>>0<((0|o[5831])-p|0)>>>0&&(A=l+p|0)>>>0>l>>>0){s=0|o[l+24>>2],n=0|o[l+12>>2];do{if((0|n)==(0|l)){if(!(n=0|o[(e=l+20|0)>>2])&&!(n=0|o[(e=l+16|0)>>2])){n=0;break}for(;;)if(r=0|o[(a=n+20|0)>>2])n=r,e=a;else{if(!(r=0|o[(a=n+16|0)>>2]))break;n=r,e=a}o[e>>2]=0}else y=0|o[l+8>>2],o[y+12>>2]=n,o[n+8>>2]=y}while(0);do{if(s){if(e=0|o[l+28>>2],(0|l)==(0|o[(r=23620+(e<<2)|0)>>2])){if(o[r>>2]=n,!n){i&=~(1<>2])==(0|l)?y:s+20|0)>>2]=n,!n)break;o[n+24>>2]=s,0|(e=0|o[l+16>>2])&&(o[n+16>>2]=e,o[e+24>>2]=n),(e=0|o[l+20>>2])&&(o[n+20>>2]=e,o[e+24>>2]=n)}}while(0);e:do{if(c>>>0<16)y=c+p|0,o[l+4>>2]=3|y,o[(y=l+y+4|0)>>2]=1|o[y>>2];else{if(o[l+4>>2]=3|p,o[A+4>>2]=1|c,o[A+c>>2]=c,n=c>>>3,c>>>0<256){r=23356+(n<<1<<2)|0,(e=0|o[5829])&(n=1<>2]:(o[5829]=e|n,n=r,e=r+8|0),o[e>>2]=A,o[n+12>>2]=A,o[A+8>>2]=n,o[A+12>>2]=r;break}if(n=23620+((r=(n=c>>>8)?c>>>0>16777215?31:c>>>((r=14-((O=((y=n<<(g=(n+1048320|0)>>>16&8))+520192|0)>>>16&4)|g|(r=((y<<=O)+245760|0)>>>16&2))+(y<>>15)|0)+7|0)&1|r<<1:0)<<2)|0,o[A+28>>2]=r,o[(e=A+16|0)+4>>2]=0,o[e>>2]=0,!(i&(e=1<>2]=A,o[A+24>>2]=n,o[A+12>>2]=A,o[A+8>>2]=A;break}n=0|o[n>>2];t:do{if((-8&o[n+4>>2]|0)!=(0|c)){for(i=c<<(31==(0|r)?0:25-(r>>>1)|0);e=0|o[(r=n+16+(i>>>31<<2)|0)>>2];){if((-8&o[e+4>>2]|0)==(0|c)){n=e;break t}i<<=1,n=e}o[r>>2]=A,o[A+24>>2]=n,o[A+12>>2]=A,o[A+8>>2]=A;break e}}while(0);y=0|o[(g=n+8|0)>>2],o[y+12>>2]=A,o[g>>2]=A,o[A+8>>2]=y,o[A+12>>2]=n,o[A+24>>2]=0}}while(0);return k=t,0|(y=l+8|0)}d=p}else d=p;else d=-1}while(0);if((r=0|o[5831])>>>0>=d>>>0)return n=r-d|0,e=0|o[5834],n>>>0>15?(y=e+d|0,o[5834]=y,o[5831]=n,o[y+4>>2]=1|n,o[e+r>>2]=n,o[e+4>>2]=3|d):(o[5831]=0,o[5834]=0,o[e+4>>2]=3|r,o[(y=e+r+4|0)>>2]=1|o[y>>2]),k=t,0|(y=e+8|0);if((c=0|o[5832])>>>0>d>>>0)return O=c-d|0,o[5832]=O,g=(y=0|o[5835])+d|0,o[5835]=g,o[g+4>>2]=1|O,o[y+4>>2]=3|d,k=t,0|(y=y+8|0);if(0|o[5947]?e=0|o[5949]:(o[5949]=4096,o[5948]=4096,o[5950]=-1,o[5951]=-1,o[5952]=0,o[5940]=0,o[5947]=-16&b^1431655768,e=4096),l=d+48|0,(p=(s=e+(u=d+47|0)|0)&(a=0-e|0))>>>0<=d>>>0)return k=t,0|(y=0);if(0|(e=0|o[5939])&&(b=(A=0|o[5937])+p|0)>>>0<=A>>>0|b>>>0>e>>>0)return k=t,0|(y=0);e:do{if(4&o[5940])n=0,M=143;else{r=0|o[5835];t:do{if(r){for(i=23764;!((b=0|o[i>>2])>>>0<=r>>>0&&(b+(0|o[i+4>>2])|0)>>>0>r>>>0);){if(!(e=0|o[i+8>>2])){M=128;break t}i=e}if((n=s-c&a)>>>0<2147483647)if((0|(e=0|Tt(0|n)))==((0|o[i>>2])+(0|o[i+4>>2])|0)){if(-1!=(0|e)){c=n,s=e,M=145;break e}}else i=e,M=136;else n=0}else M=128}while(0);do{if(128==(0|M))if(-1!=(0|(r=0|Tt(0)))&&(n=r,h=(n=(0==((h=(f=0|o[5948])+-1|0)&n|0)?0:(h+n&0-f)-n|0)+p|0)+(f=0|o[5937])|0,n>>>0>d>>>0&n>>>0<2147483647)){if(0|(b=0|o[5939])&&h>>>0<=f>>>0|h>>>0>b>>>0){n=0;break}if((0|(e=0|Tt(0|n)))==(0|r)){c=n,s=r,M=145;break e}i=e,M=136}else n=0}while(0);do{if(136==(0|M)){if(r=0-n|0,!(l>>>0>n>>>0&n>>>0<2147483647&-1!=(0|i))){if(-1==(0|i)){n=0;break}c=n,s=i,M=145;break e}if((e=u-n+(e=0|o[5949])&0-e)>>>0>=2147483647){c=n,s=i,M=145;break e}if(-1==(0|Tt(0|e))){Tt(0|r),n=0;break}c=e+n|0,s=i,M=145;break e}}while(0);o[5940]=4|o[5940],M=143}}while(0);if(143==(0|M)&&p>>>0<2147483647&&!(-1==(0|(O=0|Tt(0|p)))|1^(z=(m=(h=0|Tt(0))-O|0)>>>0>(d+40|0)>>>0)|O>>>0>>0&-1!=(0|O)&-1!=(0|h)^1)&&(c=z?m:n,s=O,M=145),145==(0|M)){n=(0|o[5937])+c|0,o[5937]=n,n>>>0>(0|o[5938])>>>0&&(o[5938]=n),u=0|o[5835];e:do{if(u){for(n=23764;;){if((0|s)==((e=0|o[n>>2])+(r=0|o[n+4>>2])|0)){M=154;break}if(!(i=0|o[n+8>>2]))break;n=i}if(154==(0|M)&&(g=n+4|0,0==(8&o[n+12>>2]|0))&&s>>>0>u>>>0&e>>>0<=u>>>0){o[g>>2]=r+c,g=u+(O=0==(7&(O=u+8|0)|0)?0:0-O&7)|0,O=(y=(0|o[5832])+c|0)-O|0,o[5835]=g,o[5832]=O,o[g+4>>2]=1|O,o[u+y+4>>2]=40,o[5836]=o[5951];break}for(s>>>0<(0|o[5833])>>>0&&(o[5833]=s),r=s+c|0,n=23764;;){if((0|o[n>>2])==(0|r)){M=162;break}if(!(e=0|o[n+8>>2]))break;n=e}if(162==(0|M)&&0==(8&o[n+12>>2]|0)){o[n>>2]=s,o[(A=n+4|0)>>2]=(0|o[A>>2])+c,p=(A=s+(0==(7&(A=s+8|0)|0)?0:0-A&7)|0)+d|0,l=(n=r+(0==(7&(n=r+8|0)|0)?0:0-n&7)|0)-A-d|0,o[A+4>>2]=3|d;t:do{if((0|u)==(0|n))y=(0|o[5832])+l|0,o[5832]=y,o[5835]=p,o[p+4>>2]=1|y;else{if((0|o[5834])==(0|n)){y=(0|o[5831])+l|0,o[5831]=y,o[5834]=p,o[p+4>>2]=1|y,o[p+y>>2]=y;break}if(1==(3&(e=0|o[n+4>>2])|0)){c=-8&e,i=e>>>3;n:do{if(e>>>0<256){if(e=0|o[n+8>>2],(0|(r=0|o[n+12>>2]))==(0|e)){o[5829]=o[5829]&~(1<>2]=r,o[r+8>>2]=e;break}s=0|o[n+24>>2],e=0|o[n+12>>2];do{if((0|e)==(0|n)){if(e=0|o[(i=(r=n+16|0)+4|0)>>2])r=i;else if(!(e=0|o[r>>2])){e=0;break}for(;;)if(i=0|o[(a=e+20|0)>>2])e=i,r=a;else{if(!(i=0|o[(a=e+16|0)>>2]))break;e=i,r=a}o[r>>2]=0}else y=0|o[n+8>>2],o[y+12>>2]=e,o[e+8>>2]=y}while(0);if(!s)break;i=23620+((r=0|o[n+28>>2])<<2)|0;do{if((0|o[i>>2])==(0|n)){if(o[i>>2]=e,0|e)break;o[5830]=o[5830]&~(1<>2])==(0|n)?y:s+20|0)>>2]=e,!e)break n}while(0);if(o[e+24>>2]=s,0|(i=0|o[(r=n+16|0)>>2])&&(o[e+16>>2]=i,o[i+24>>2]=e),!(r=0|o[r+4>>2]))break;o[e+20>>2]=r,o[r+24>>2]=e}while(0);n=n+c|0,a=c+l|0}else a=l;if(o[(n=n+4|0)>>2]=-2&o[n>>2],o[p+4>>2]=1|a,o[p+a>>2]=a,n=a>>>3,a>>>0<256){r=23356+(n<<1<<2)|0,(e=0|o[5829])&(n=1<>2]:(o[5829]=e|n,n=r,e=r+8|0),o[e>>2]=p,o[n+12>>2]=p,o[p+8>>2]=n,o[p+12>>2]=r;break}n=a>>>8;do{if(n){if(a>>>0>16777215){i=31;break}i=a>>>((i=14-((O=((y=n<<(g=(n+1048320|0)>>>16&8))+520192|0)>>>16&4)|g|(i=((y<<=O)+245760|0)>>>16&2))+(y<>>15)|0)+7|0)&1|i<<1}else i=0}while(0);if(n=23620+(i<<2)|0,o[p+28>>2]=i,o[(e=p+16|0)+4>>2]=0,o[e>>2]=0,!((e=0|o[5830])&(r=1<>2]=p,o[p+24>>2]=n,o[p+12>>2]=p,o[p+8>>2]=p;break}n=0|o[n>>2];n:do{if((-8&o[n+4>>2]|0)!=(0|a)){for(i=a<<(31==(0|i)?0:25-(i>>>1)|0);e=0|o[(r=n+16+(i>>>31<<2)|0)>>2];){if((-8&o[e+4>>2]|0)==(0|a)){n=e;break n}i<<=1,n=e}o[r>>2]=p,o[p+24>>2]=n,o[p+12>>2]=p,o[p+8>>2]=p;break t}}while(0);y=0|o[(g=n+8|0)>>2],o[y+12>>2]=p,o[g>>2]=p,o[p+8>>2]=y,o[p+12>>2]=n,o[p+24>>2]=0}}while(0);return k=t,0|(y=A+8|0)}for(n=23764;!((e=0|o[n>>2])>>>0<=u>>>0&&(y=e+(0|o[n+4>>2])|0)>>>0>u>>>0);)n=0|o[n+8>>2];n=(e=(e=(a=y+-47|0)+(0==(7&(e=a+8|0)|0)?0:0-e&7)|0)>>>0<(a=u+16|0)>>>0?u:e)+8|0,g=s+(O=0==(7&(O=s+8|0)|0)?0:0-O&7)|0,O=(r=c+-40|0)-O|0,o[5835]=g,o[5832]=O,o[g+4>>2]=1|O,o[s+r+4>>2]=40,o[5836]=o[5951],o[(r=e+4|0)>>2]=27,o[n>>2]=o[5941],o[n+4>>2]=o[5942],o[n+8>>2]=o[5943],o[n+12>>2]=o[5944],o[5941]=s,o[5942]=c,o[5944]=0,o[5943]=n,n=e+24|0;do{g=n,o[(n=n+4|0)>>2]=7}while((g+8|0)>>>0>>0);if((0|e)!=(0|u)){if(s=e-u|0,o[r>>2]=-2&o[r>>2],o[u+4>>2]=1|s,o[e>>2]=s,n=s>>>3,s>>>0<256){r=23356+(n<<1<<2)|0,(e=0|o[5829])&(n=1<>2]:(o[5829]=e|n,n=r,e=r+8|0),o[e>>2]=u,o[n+12>>2]=u,o[u+8>>2]=n,o[u+12>>2]=r;break}if(r=23620+((i=(n=s>>>8)?s>>>0>16777215?31:s>>>((i=14-((O=((y=n<<(g=(n+1048320|0)>>>16&8))+520192|0)>>>16&4)|g|(i=((y<<=O)+245760|0)>>>16&2))+(y<>>15)|0)+7|0)&1|i<<1:0)<<2)|0,o[u+28>>2]=i,o[u+20>>2]=0,o[a>>2]=0,!((n=0|o[5830])&(e=1<>2]=u,o[u+24>>2]=r,o[u+12>>2]=u,o[u+8>>2]=u;break}n=0|o[r>>2];t:do{if((-8&o[n+4>>2]|0)!=(0|s)){for(i=s<<(31==(0|i)?0:25-(i>>>1)|0);e=0|o[(r=n+16+(i>>>31<<2)|0)>>2];){if((-8&o[e+4>>2]|0)==(0|s)){n=e;break t}i<<=1,n=e}o[r>>2]=u,o[u+24>>2]=n,o[u+12>>2]=u,o[u+8>>2]=u;break e}}while(0);y=0|o[(g=n+8|0)>>2],o[y+12>>2]=u,o[g>>2]=u,o[u+8>>2]=y,o[u+12>>2]=n,o[u+24>>2]=0}}else 0==(0|(y=0|o[5833]))|s>>>0>>0&&(o[5833]=s),o[5941]=s,o[5942]=c,o[5944]=0,o[5838]=o[5947],o[5837]=-1,o[5842]=23356,o[5841]=23356,o[5844]=23364,o[5843]=23364,o[5846]=23372,o[5845]=23372,o[5848]=23380,o[5847]=23380,o[5850]=23388,o[5849]=23388,o[5852]=23396,o[5851]=23396,o[5854]=23404,o[5853]=23404,o[5856]=23412,o[5855]=23412,o[5858]=23420,o[5857]=23420,o[5860]=23428,o[5859]=23428,o[5862]=23436,o[5861]=23436,o[5864]=23444,o[5863]=23444,o[5866]=23452,o[5865]=23452,o[5868]=23460,o[5867]=23460,o[5870]=23468,o[5869]=23468,o[5872]=23476,o[5871]=23476,o[5874]=23484,o[5873]=23484,o[5876]=23492,o[5875]=23492,o[5878]=23500,o[5877]=23500,o[5880]=23508,o[5879]=23508,o[5882]=23516,o[5881]=23516,o[5884]=23524,o[5883]=23524,o[5886]=23532,o[5885]=23532,o[5888]=23540,o[5887]=23540,o[5890]=23548,o[5889]=23548,o[5892]=23556,o[5891]=23556,o[5894]=23564,o[5893]=23564,o[5896]=23572,o[5895]=23572,o[5898]=23580,o[5897]=23580,o[5900]=23588,o[5899]=23588,o[5902]=23596,o[5901]=23596,o[5904]=23604,o[5903]=23604,g=s+(O=0==(7&(O=s+8|0)|0)?0:0-O&7)|0,O=(y=c+-40|0)-O|0,o[5835]=g,o[5832]=O,o[g+4>>2]=1|O,o[s+y+4>>2]=40,o[5836]=o[5951]}while(0);if((n=0|o[5832])>>>0>d>>>0)return O=n-d|0,o[5832]=O,g=(y=0|o[5835])+d|0,o[5835]=g,o[g+4>>2]=1|O,o[y+4>>2]=3|d,k=t,0|(y=y+8|0)}return o[(y=23312)>>2]=12,k=t,0|(y=0)}function mt(e){var t=0,n=0,r=0,i=0,a=0,s=0,c=0,l=0;if(e|=0){n=e+-8|0,i=0|o[5833],l=n+(t=-8&(e=0|o[e+-4>>2]))|0;do{if(1&e)c=n,s=n;else{if(r=0|o[n>>2],!(3&e))return;if(a=r+t|0,(s=n+(0-r)|0)>>>0>>0)return;if((0|o[5834])==(0|s)){if(3!=(3&(t=0|o[(e=l+4|0)>>2])|0)){c=s,t=a;break}return o[5831]=a,o[e>>2]=-2&t,o[s+4>>2]=1|a,void(o[s+a>>2]=a)}if(n=r>>>3,r>>>0<256){if(e=0|o[s+8>>2],(0|(t=0|o[s+12>>2]))==(0|e)){o[5829]=o[5829]&~(1<>2]=t,o[t+8>>2]=e,c=s,t=a;break}i=0|o[s+24>>2],e=0|o[s+12>>2];do{if((0|e)==(0|s)){if(e=0|o[(n=(t=s+16|0)+4|0)>>2])t=n;else if(!(e=0|o[t>>2])){e=0;break}for(;;)if(n=0|o[(r=e+20|0)>>2])e=n,t=r;else{if(!(n=0|o[(r=e+16|0)>>2]))break;e=n,t=r}o[t>>2]=0}else c=0|o[s+8>>2],o[c+12>>2]=e,o[e+8>>2]=c}while(0);if(i){if(t=0|o[s+28>>2],(0|o[(n=23620+(t<<2)|0)>>2])==(0|s)){if(o[n>>2]=e,!e){o[5830]=o[5830]&~(1<>2])==(0|s)?c:i+20|0)>>2]=e,!e){c=s,t=a;break}o[e+24>>2]=i,0|(n=0|o[(t=s+16|0)>>2])&&(o[e+16>>2]=n,o[n+24>>2]=e),(t=0|o[t+4>>2])?(o[e+20>>2]=t,o[t+24>>2]=e,c=s,t=a):(c=s,t=a)}else c=s,t=a}}while(0);if(!(s>>>0>=l>>>0)&&1&(r=0|o[(e=l+4|0)>>2])){if(2&r)o[e>>2]=-2&r,o[c+4>>2]=1|t,o[s+t>>2]=t,i=t;else{if((0|o[5835])==(0|l)){if(l=(0|o[5832])+t|0,o[5832]=l,o[5835]=c,o[c+4>>2]=1|l,(0|c)!=(0|o[5834]))return;return o[5834]=0,void(o[5831]=0)}if((0|o[5834])==(0|l))return l=(0|o[5831])+t|0,o[5831]=l,o[5834]=s,o[c+4>>2]=1|l,void(o[s+l>>2]=l);i=(-8&r)+t|0,n=r>>>3;do{if(r>>>0<256){if(t=0|o[l+8>>2],(0|(e=0|o[l+12>>2]))==(0|t)){o[5829]=o[5829]&~(1<>2]=e,o[e+8>>2]=t;break}a=0|o[l+24>>2],e=0|o[l+12>>2];do{if((0|e)==(0|l)){if(e=0|o[(n=(t=l+16|0)+4|0)>>2])t=n;else if(!(e=0|o[t>>2])){n=0;break}for(;;)if(n=0|o[(r=e+20|0)>>2])e=n,t=r;else{if(!(n=0|o[(r=e+16|0)>>2]))break;e=n,t=r}o[t>>2]=0,n=e}else n=0|o[l+8>>2],o[n+12>>2]=e,o[e+8>>2]=n,n=e}while(0);if(0|a){if(e=0|o[l+28>>2],(0|o[(t=23620+(e<<2)|0)>>2])==(0|l)){if(o[t>>2]=n,!n){o[5830]=o[5830]&~(1<>2])==(0|l)?r:a+20|0)>>2]=n,!n)break;o[n+24>>2]=a,0|(t=0|o[(e=l+16|0)>>2])&&(o[n+16>>2]=t,o[t+24>>2]=n),0|(e=0|o[e+4>>2])&&(o[n+20>>2]=e,o[e+24>>2]=n)}}while(0);if(o[c+4>>2]=1|i,o[s+i>>2]=i,(0|c)==(0|o[5834]))return void(o[5831]=i)}if(e=i>>>3,i>>>0<256)return n=23356+(e<<1<<2)|0,(t=0|o[5829])&(e=1<>2]:(o[5829]=t|e,e=n,t=n+8|0),o[t>>2]=c,o[e+12>>2]=c,o[c+8>>2]=e,void(o[c+12>>2]=n);e=23620+((r=(e=i>>>8)?i>>>0>16777215?31:i>>>((r=14-((a=((l=e<<(s=(e+1048320|0)>>>16&8))+520192|0)>>>16&4)|s|(r=((l<<=a)+245760|0)>>>16&2))+(l<>>15)|0)+7|0)&1|r<<1:0)<<2)|0,o[c+28>>2]=r,o[c+20>>2]=0,o[c+16>>2]=0,t=0|o[5830],n=1<>2];t:do{if((-8&o[e+4>>2]|0)!=(0|i)){for(r=i<<(31==(0|r)?0:25-(r>>>1)|0);t=0|o[(n=e+16+(r>>>31<<2)|0)>>2];){if((-8&o[t+4>>2]|0)==(0|i)){e=t;break t}r<<=1,e=t}o[n>>2]=c,o[c+24>>2]=e,o[c+12>>2]=c,o[c+8>>2]=c;break e}}while(0);l=0|o[(s=e+8|0)>>2],o[l+12>>2]=c,o[s>>2]=c,o[c+8>>2]=l,o[c+12>>2]=e,o[c+24>>2]=0}else o[5830]=t|n,o[e>>2]=c,o[c+24>>2]=e,o[c+12>>2]=c,o[c+8>>2]=c}while(0);if(l=(0|o[5837])-1|0,o[5837]=l,!(0|l)){for(e=23772;e=0|o[e>>2];)e=e+8|0;o[5837]=-1}}}}function zt(e,t){t|=0;var n=0;return(e|=0)?(n=0|z(t,e),(t|e)>>>0>65535&&(n=(0|(n>>>0)/(e>>>0))==(0|t)?n:-1)):n=0,(e=0|Mt(n))&&3&o[e+-4>>2]?(Lt(0|e,0,0|n),0|e):0|e}function Ot(e,t,n,r){return 0|(y(0|(r=(t|=0)-(r|=0)-((n|=0)>>>0>(e|=0)>>>0|0)>>>0)),e-n>>>0|0)}function gt(e){return 0|((e|=0)?31-(0|g(e^e-1))|0:32)}function yt(e,t,n,r,i){i|=0;var a=0,s=0,c=0,l=0,u=0,p=0,A=0,d=0,b=0,f=0;if(p=e|=0,s=n|=0,c=d=r|=0,!(u=l=t|=0))return a=0!=(0|i),c?a?(o[i>>2]=0|e,o[i+4>>2]=0&t,i=0,0|(y(0|(d=0)),i)):(i=0,0|(y(0|(d=0)),i)):(a&&(o[i>>2]=(p>>>0)%(s>>>0),o[i+4>>2]=0),i=(p>>>0)/(s>>>0)>>>0,0|(y(0|(d=0)),i));a=0==(0|c);do{if(s){if(!a){if((a=(0|g(0|c))-(0|g(0|u))|0)>>>0<=31){s=A=a+1|0,e=p>>>(A>>>0)&(t=a-31>>31)|u<<(c=31-a|0),t&=u>>>(A>>>0),a=0,c=p<>2]=0|e,o[i+4>>2]=l|0&t,i=0,0|(y(0|(d=0)),i)):(i=0,0|(y(0|(d=0)),i))}if((a=s-1|0)&s|0){s=c=33+(0|g(0|s))-(0|g(0|u))|0,e=(A=32-c|0)-1>>31&u>>>((b=c-32|0)>>>0)|(u<>>(c>>>0))&(t=b>>31),t&=u>>>(c>>>0),a=p<<(f=64-c|0)&(l=A>>31),c=(u<>>(b>>>0))&l|p<>31;break}return 0|i&&(o[i>>2]=a&p,o[i+4>>2]=0),1==(0|s)?(f=0|e,0|(y(0|(b=l|0&t)),f)):(b=u>>>((f=0|gt(0|s))>>>0)|0,f=u<<32-f|p>>>(f>>>0)|0,0|(y(0|b),f))}if(a)return 0|i&&(o[i>>2]=(u>>>0)%(s>>>0),o[i+4>>2]=0),f=(u>>>0)/(s>>>0)>>>0,0|(y(0|(b=0)),f);if(!p)return 0|i&&(o[i>>2]=0,o[i+4>>2]=(u>>>0)%(c>>>0)),f=(u>>>0)/(c>>>0)>>>0,0|(y(0|(b=0)),f);if(!((a=c-1|0)&c))return 0|i&&(o[i>>2]=0|e,o[i+4>>2]=a&u|0&t),b=0,f=u>>>((0|gt(0|c))>>>0),0|(y(0|b),f);if((a=(0|g(0|c))-(0|g(0|u))|0)>>>0<=30){s=t=a+1|0,e=u<<(c=31-a|0)|p>>>(t>>>0),t=u>>>(t>>>0),a=0,c=p<>2]=0|e,o[i+4>>2]=l|0&t,f=0,0|(y(0|(b=0)),f)):(f=0,0|(y(0|(b=0)),f))}while(0);if(s){u=0|function(e,t,n,r){return 0|(y((t|=0)+(r|=0)+((n=(e|=0)+(n|=0)>>>0)>>>0>>0|0)>>>0|0),0|n)}(0|(A=0|n),0|(p=d|0&r),-1,-1),n=0|v(),l=c,c=0;do{r=l,l=a>>>31|l<<1,a=c|a<<1,Ot(0|u,0|n,0|(r=e<<1|r>>>31|0),0|(d=e>>>31|t<<1|0)),c=1&(b=(f=0|v())>>31|((0|f)<0?-1:0)<<1),e=0|Ot(0|r,0|d,b&A|0,(((0|f)<0?-1:0)>>31|((0|f)<0?-1:0)<<1)&p|0),t=0|v(),s=s-1|0}while(0!=(0|s));u=l,l=0}else u=c,l=0,c=0;return s=0,0|i&&(o[i>>2]=e,o[i+4>>2]=t),f=-2&(a<<1|0)|c,0|(y(0|(b=(0|a)>>>31|(u|s)<<1|0&(s<<1|a>>>31)|l)),f)}function vt(e,t,n,r){var i,a;return a=k,k=k+16|0,yt(e|=0,t|=0,n|=0,r|=0,i=0|a),k=a,0|(y(0|o[i+4>>2]),0|o[i>>2])}function _t(e,t,n){return e|=0,t|=0,(0|(n|=0))<32?(y(t>>>n|0),e>>>n|(t&(1<>>n-32|0)}function xt(e,t,n){return e|=0,t|=0,(0|(n|=0))<32?(y(t<>>32-n|0),e<=0?+s(e+.5):+m(e-.5)}function Wt(e,t,n){e|=0,t|=0;var i,a,s=0;if((0|(n|=0))>=8192)return q(0|e,0|t,0|n),0|e;if(a=0|e,i=e+n|0,(3&e)==(3&t)){for(;3&e;){if(!n)return 0|a;r[e>>0]=0|r[t>>0],e=e+1|0,t=t+1|0,n=n-1|0}for(s=(n=-4&i|0)-64|0;(0|e)<=(0|s);)o[e>>2]=o[t>>2],o[e+4>>2]=o[t+4>>2],o[e+8>>2]=o[t+8>>2],o[e+12>>2]=o[t+12>>2],o[e+16>>2]=o[t+16>>2],o[e+20>>2]=o[t+20>>2],o[e+24>>2]=o[t+24>>2],o[e+28>>2]=o[t+28>>2],o[e+32>>2]=o[t+32>>2],o[e+36>>2]=o[t+36>>2],o[e+40>>2]=o[t+40>>2],o[e+44>>2]=o[t+44>>2],o[e+48>>2]=o[t+48>>2],o[e+52>>2]=o[t+52>>2],o[e+56>>2]=o[t+56>>2],o[e+60>>2]=o[t+60>>2],e=e+64|0,t=t+64|0;for(;(0|e)<(0|n);)o[e>>2]=o[t>>2],e=e+4|0,t=t+4|0}else for(n=i-4|0;(0|e)<(0|n);)r[e>>0]=0|r[t>>0],r[e+1>>0]=0|r[t+1>>0],r[e+2>>0]=0|r[t+2>>0],r[e+3>>0]=0|r[t+3>>0],e=e+4|0,t=t+4|0;for(;(0|e)<(0|i);)r[e>>0]=0|r[t>>0],e=e+1|0,t=t+1|0;return 0|a}function Lt(e,t,n){t|=0;var i,a=0,s=0,c=0;if(i=(e|=0)+(n|=0)|0,t&=255,(0|n)>=67){for(;3&e;)r[e>>0]=t,e=e+1|0;for(c=t|t<<8|t<<16|t<<24,s=(a=-4&i|0)-64|0;(0|e)<=(0|s);)o[e>>2]=c,o[e+4>>2]=c,o[e+8>>2]=c,o[e+12>>2]=c,o[e+16>>2]=c,o[e+20>>2]=c,o[e+24>>2]=c,o[e+28>>2]=c,o[e+32>>2]=c,o[e+36>>2]=c,o[e+40>>2]=c,o[e+44>>2]=c,o[e+48>>2]=c,o[e+52>>2]=c,o[e+56>>2]=c,o[e+60>>2]=c,e=e+64|0;for(;(0|e)<(0|a);)o[e>>2]=c,e=e+4|0}for(;(0|e)<(0|i);)r[e>>0]=t,e=e+1|0;return i-n|0}function kt(e){return(e=+e)>=0?+s(e+.5):+m(e-.5)}function Tt(e){e|=0;var t,n,r;return r=0|w(),(0|e)>0&(0|(t=(n=0|o[a>>2])+e|0))<(0|n)|(0|t)<0?(L(0|t),x(12),-1):(0|t)>(0|r)&&!(0|W(0|t))?(x(12),-1):(o[a>>2]=t,0|n)}return{___uremdi3:vt,_bitshift64Lshr:_t,_bitshift64Shl:xt,_calloc:zt,_cellAreaKm2:function(e,t){var n,r,i,a=0;if(i=k,k=k+192|0,r=i,Xe(e|=0,t|=0,n=i+168|0),He(e,t,r),(0|(t=0|o[r>>2]))>0){if(a=+Le(r+8|0,r+8+((1!=(0|t)&1)<<4)|0,n)+0,1!=(0|t)){e=1;do{a+=+Le(r+8+(e<<4)|0,r+8+(((0|(e=e+1|0))%(0|t)|0)<<4)|0,n)}while((0|e)<(0|t))}}else a=0;return k=i,6371.007180918475*a*6371.007180918475},_cellAreaM2:function(e,t){var n,r,i,a=0;if(i=k,k=k+192|0,r=i,Xe(e|=0,t|=0,n=i+168|0),He(e,t,r),(0|(t=0|o[r>>2]))>0){if(a=+Le(r+8|0,r+8+((1!=(0|t)&1)<<4)|0,n)+0,1!=(0|t)){e=1;do{a+=+Le(r+8+(e<<4)|0,r+8+(((0|(e=e+1|0))%(0|t)|0)<<4)|0,n)}while((0|e)<(0|t))}}else a=0;return k=i,6371.007180918475*a*6371.007180918475*1e3*1e3},_cellAreaRads2:function(e,t){var n,r,i,a=0;if(i=k,k=k+192|0,r=i,Xe(e|=0,t|=0,n=i+168|0),He(e,t,r),(0|(t=0|o[r>>2]))<=0)return k=i,+(a=0);if(a=+Le(r+8|0,r+8+((1!=(0|t)&1)<<4)|0,n)+0,1==(0|t))return k=i,+a;e=1;do{a+=+Le(r+8+(e<<4)|0,r+8+(((0|(e=e+1|0))%(0|t)|0)<<4)|0,n)}while((0|e)<(0|t));return k=i,+a},_compact:function(e,t,n){t|=0;var r,i=0,a=0,s=0,c=0,l=0,u=0,p=0,A=0,d=0,b=0,f=0,h=0,M=0,m=0,z=0,O=0,g=0,y=0,_=0,x=0,w=0;if(!(n|=0))return 0|(x=0);if(i=0|o[(a=e|=0)>>2],!0&0==(15728640&(a=0|o[a+4>>2])|0)){if((0|n)<=0)return 0|(x=0);if(o[(x=t)>>2]=i,o[x+4>>2]=a,1==(0|n))return 0|(x=0);i=1;do{_=0|o[(y=e+(i<<3)|0)+4>>2],o[(x=t+(i<<3)|0)>>2]=o[y>>2],o[x+4>>2]=_,i=i+1|0}while((0|i)!=(0|n));return 0|(i=0)}if(!(_=0|Mt(y=n<<3)))return 0|(x=-3);if(Wt(0|_,0|e,0|y),!(r=0|zt(n,8)))return mt(_),0|(x=-3);i=n;e:for(;;){O=0|_t(0|(A=0|o[(c=_)>>2]),0|(c=0|o[c+4>>2]),52),v(),g=(O&=15)+-1|0,z=(0|i)>0;t:do{if(z){if(m=((0|i)<0)<<31>>31,h=0|xt(0|g,0,52),M=0|v(),g>>>0>15)for(a=0,e=A,n=c;;){if(!(0==(0|e)&0==(0|n))){if(s=0|_t(0|e,0|n,52),v(),l=(0|(s&=15))<(0|g),s=(0|s)==(0|g),n=0|vt(0|(p=l?0:s?e:0),0|(e=l?0:s?n:0),0|i,0|m),v(),0==(0|(u=0|o[(l=s=r+(n<<3)|0)>>2]))&0==(0|(l=0|o[l+4>>2])))n=p;else for(h=0,f=n,b=l,n=p;;){if((0|h)>(0|i)){x=41;break e}if((0|u)==(0|n)&(-117440513&b|0)==(0|e)){p=0|_t(0|u,0|b,56),v(),d=(p&=7)+1|0,M=0|_t(0|u,0|b,45),v();n:do{if(0|C(127&M)){if(u=0|_t(0|u,0|b,52),v(),!(u&=15)){l=6;break}for(l=1;;){if(!(0==((M=0|xt(7,0,3*(15-l|0)|0))&n|0)&0==((0|v())&e|0))){l=7;break n}if(!(l>>>0>>0)){l=6;break}l=l+1|0}}else l=7}while(0);if((p+2|0)>>>0>l>>>0){x=51;break e}M=0|xt(0|d,0,56),e=0|v()|-117440513&e,o[(l=s)>>2]=0,o[l+4>>2]=0,l=f,n|=M}else l=(f+1|0)%(0|i)|0;if(0==(0|(u=0|o[(b=s=r+(l<<3)|0)>>2]))&0==(0|(b=0|o[b+4>>2])))break;h=h+1|0,f=l}o[(M=s)>>2]=n,o[M+4>>2]=e}if((0|(a=a+1|0))>=(0|i))break t;e=0|o[(n=_+(a<<3)|0)>>2],n=0|o[n+4>>2]}for(a=0,e=A,n=c;;){if(!(0==(0|e)&0==(0|n))){if(l=0|_t(0|e,0|n,52),v(),(0|(l&=15))>=(0|g)){if((0|l)!=(0|g)&&(e|=h,n=-15728641&n|M,l>>>0>=O>>>0)){s=g;do{f=0|xt(7,0,3*(14-s|0)|0),s=s+1|0,e|=f,n=0|v()|n}while(s>>>0>>0)}}else e=0,n=0;if(l=0|vt(0|e,0|n,0|i,0|m),v(),!(0==(0|(p=0|o[(u=s=r+(l<<3)|0)>>2]))&0==(0|(u=0|o[u+4>>2]))))for(f=0;;){if((0|f)>(0|i)){x=41;break e}if((0|p)==(0|e)&(-117440513&u|0)==(0|n)){d=0|_t(0|p,0|u,56),v(),b=(d&=7)+1|0,w=0|_t(0|p,0|u,45),v();n:do{if(0|C(127&w)){if(p=0|_t(0|p,0|u,52),v(),!(p&=15)){u=6;break}for(u=1;;){if(!(0==((w=0|xt(7,0,3*(15-u|0)|0))&e|0)&0==((0|v())&n|0))){u=7;break n}if(!(u>>>0

>>0)){u=6;break}u=u+1|0}}else u=7}while(0);if((d+2|0)>>>0>u>>>0){x=51;break e}w=0|xt(0|b,0,56),n=0|v()|-117440513&n,o[(b=s)>>2]=0,o[b+4>>2]=0,e|=w}else l=(l+1|0)%(0|i)|0;if(0==(0|(p=0|o[(u=s=r+(l<<3)|0)>>2]))&0==(0|(u=0|o[u+4>>2])))break;f=f+1|0}o[(w=s)>>2]=e,o[w+4>>2]=n}if((0|(a=a+1|0))>=(0|i))break t;e=0|o[(n=_+(a<<3)|0)>>2],n=0|o[n+4>>2]}}}while(0);if((i+5|0)>>>0<11){x=99;break}if(!(M=0|zt((0|i)/6|0,8))){x=58;break}t:do{if(z){f=0,b=0;do{if(!(0==(0|(a=0|o[(e=l=r+(f<<3)|0)>>2]))&0==(0|(e=0|o[e+4>>2])))){u=0|_t(0|a,0|e,56),v(),n=(u&=7)+1|0,p=-117440513&e,w=0|_t(0|a,0|e,45),v();n:do{if(0|C(127&w)){if(d=0|_t(0|a,0|e,52),v(),0|(d&=15))for(s=1;;){if(!(0==(a&(w=0|xt(7,0,3*(15-s|0)|0))|0)&0==(p&(0|v())|0)))break n;if(!(s>>>0>>0))break;s=s+1|0}a|=e=0|xt(0|n,0,56),e=0|v()|p,o[(n=l)>>2]=a,o[n+4>>2]=e,n=u+2|0}}while(0);7==(0|n)&&(o[(w=M+(b<<3)|0)>>2]=a,o[w+4>>2]=-117440513&e,b=b+1|0)}f=f+1|0}while((0|f)!=(0|i));if(z){if(h=((0|i)<0)<<31>>31,d=0|xt(0|g,0,52),f=0|v(),g>>>0>15)for(e=0,a=0;;){do{if(!(0==(0|A)&0==(0|c))){for(u=0|_t(0|A,0|c,52),v(),s=(0|(u&=15))<(0|g),u=(0|u)==(0|g),s=0|vt(0|(l=s?0:u?A:0),0|(u=s?0:u?c:0),0|i,0|h),v(),n=0;;){if((0|n)>(0|i)){x=98;break e}if((-117440513&(p=0|o[(w=r+(s<<3)|0)+4>>2])|0)==(0|u)&&(0|o[w>>2])==(0|l)){x=70;break}if((0|o[(w=r+((s=(s+1|0)%(0|i)|0)<<3)|0)>>2])==(0|l)&&(0|o[w+4>>2])==(0|u))break;n=n+1|0}if(70==(0|x)&&(x=0,!0&100663296==(117440512&p|0)))break;o[(w=t+(a<<3)|0)>>2]=A,o[w+4>>2]=c,a=a+1|0}}while(0);if((0|(e=e+1|0))>=(0|i)){i=b;break t}A=0|o[(c=_+(e<<3)|0)>>2],c=0|o[c+4>>2]}for(e=0,a=0;;){do{if(!(0==(0|A)&0==(0|c))){if(u=0|_t(0|A,0|c,52),v(),(0|(u&=15))>=(0|g))if((0|u)!=(0|g))if(n=A|d,s=-15728641&c|f,u>>>0>>0)u=s;else{l=g;do{w=0|xt(7,0,3*(14-l|0)|0),l=l+1|0,n|=w,s=0|v()|s}while(l>>>0>>0);u=s}else n=A,u=c;else n=0,u=0;for(l=0|vt(0|n,0|u,0|i,0|h),v(),s=0;;){if((0|s)>(0|i)){x=98;break e}if((-117440513&(p=0|o[(w=r+(l<<3)|0)+4>>2])|0)==(0|u)&&(0|o[w>>2])==(0|n)){x=93;break}if((0|o[(w=r+((l=(l+1|0)%(0|i)|0)<<3)|0)>>2])==(0|n)&&(0|o[w+4>>2])==(0|u))break;s=s+1|0}if(93==(0|x)&&(x=0,!0&100663296==(117440512&p|0)))break;o[(w=t+(a<<3)|0)>>2]=A,o[w+4>>2]=c,a=a+1|0}}while(0);if((0|(e=e+1|0))>=(0|i)){i=b;break t}A=0|o[(c=_+(e<<3)|0)>>2],c=0|o[c+4>>2]}}else a=0,i=b}else a=0,i=0}while(0);if(Lt(0|r,0,0|y),Wt(0|_,0|M,i<<3|0),mt(M),!i)break;t=t+(a<<3)|0}return 41==(0|x)?(mt(_),mt(r),0|(w=-1)):51==(0|x)?(mt(_),mt(r),0|(w=-2)):58==(0|x)?(mt(_),mt(r),0|(w=-3)):98==(0|x)?(mt(M),mt(_),mt(r),0|(w=-1)):(99==(0|x)&&Wt(0|t,0|_,i<<3|0),mt(_),mt(r),0|(w=0))},_destroyLinkedPolygon:function(e){var t=0,n=0,r=0,i=0;if(e|=0)for(r=1;;){if(0|(t=0|o[e>>2]))do{if(0|(n=0|o[t>>2]))do{i=n,n=0|o[n+16>>2],mt(i)}while(0!=(0|n));i=t,t=0|o[t+8>>2],mt(i)}while(0!=(0|t));if(t=e,e=0|o[e+8>>2],r||mt(t),!e)break;r=0}},_edgeLengthKm:function(e){return+ +i[20752+((e|=0)<<3)>>3]},_edgeLengthM:function(e){return+ +i[20880+((e|=0)<<3)>>3]},_emscripten_replace_memory:function(e){return r=new Int8Array(e),new Uint8Array(e),o=new Int32Array(e),new Float32Array(e),i=new Float64Array(e),n=e,!0},_exactEdgeLengthKm:function(e,t){var n,r,a=0,s=0,c=0,u=0,d=0,b=0;if(r=k,k=k+176|0,Ge(e|=0,t|=0,n=r),(0|(e=0|o[n>>2]))<=1)return k=r,+(c=0);t=e+-1|0,e=0,a=0,s=+i[n+8>>3],c=+i[n+16>>3];do{d=s,s=+i[n+8+((e=e+1|0)<<4)>>3],b=+A(.5*(s-d)),u=c,c=+i[n+8+(e<<4)+8>>3],u=b*b+(u=+A(.5*(c-u)))*(+p(+d)*+p(+s)*u),a+=2*+M(+ +l(+u),+ +l(+(1-u)))}while((0|e)!=(0|t));return k=r,+(b=6371.007180918475*a)},_exactEdgeLengthM:function(e,t){var n,r,a=0,s=0,c=0,u=0,d=0,b=0;if(r=k,k=k+176|0,Ge(e|=0,t|=0,n=r),(0|(e=0|o[n>>2]))<=1)return k=r,+(c=0);t=e+-1|0,e=0,a=0,s=+i[n+8>>3],c=+i[n+16>>3];do{d=s,s=+i[n+8+((e=e+1|0)<<4)>>3],b=+A(.5*(s-d)),u=c,c=+i[n+8+(e<<4)+8>>3],u=b*b+(u=+A(.5*(c-u)))*(+p(+d)*+p(+s)*u),a+=2*+M(+ +l(+u),+ +l(+(1-u)))}while((0|e)!=(0|t));return k=r,+(b=6371.007180918475*a*1e3)},_exactEdgeLengthRads:function(e,t){var n,r,a=0,s=0,c=0,u=0,d=0,b=0;if(r=k,k=k+176|0,Ge(e|=0,t|=0,n=r),(0|(e=0|o[n>>2]))<=1)return k=r,+(c=0);t=e+-1|0,e=0,a=0,s=+i[n+8>>3],c=+i[n+16>>3];do{d=s,s=+i[n+8+((e=e+1|0)<<4)>>3],b=+A(.5*(s-d)),u=c,c=+i[n+8+(e<<4)+8>>3],u=b*b+(u=+A(.5*(c-u)))*(+p(+s)*+p(+d)*u),a+=2*+M(+ +l(+u),+ +l(+(1-u)))}while((0|e)<(0|t));return k=r,+a},_experimentalH3ToLocalIj:function(e,t,n,r,o){var i,a;return o|=0,a=k,k=k+16|0,(e=0|Je(e|=0,t|=0,n|=0,r|=0,i=a))||(de(i,o),e=0),k=a,0|e},_experimentalLocalIjToH3:function(e,t,n,r){var o,i;return e|=0,t|=0,r|=0,o=k,k=k+16|0,be(n|=0,i=o),r=0|et(e,t,i,r),k=o,0|r},_free:mt,_geoToH3:Ie,_getDestinationH3IndexFromUnidirectionalEdge:function(e,t){e|=0;var n,r,i=0;return n=k,k=k+16|0,i=n,!0&268435456==(2013265920&(t|=0)|0)?(r=0|_t(0|e,0|t,56),v(),o[i>>2]=0,i=0|E(e,-2130706433&t|134217728,7&r,i),t=0|v(),y(0|t),k=n,0|i):(i=0,y(0|(t=0)),k=n,0|i)},_getH3IndexesFromUnidirectionalEdge:function(e,t,n){e|=0;var r,i,a,s,c=0;a=k,k=k+16|0,r=a,s=!0&268435456==(2013265920&(t|=0)|0),i=-2130706433&t|134217728,o[(c=n|=0)>>2]=s?e:0,o[c+4>>2]=s?i:0,s?(t=0|_t(0|e,0|t,56),v(),o[r>>2]=0,e=0|E(e,i,7&t,r),t=0|v()):(e=0,t=0),o[(c=n+8|0)>>2]=e,o[c+4>>2]=t,k=a},_getH3UnidirectionalEdge:function(e,t,n,r){var i,a,s=0,c=0,l=0,u=0,p=0;if(a=k,k=k+16|0,i=a,!(0|Ve(e|=0,t|=0,n|=0,r|=0)))return u=0,y(0|(l=0)),k=a,0|u;for(l=-2130706433&t,s=(s=0==(0|Ee(e,t)))?1:2;o[i>>2]=0,c=s+1|0,!((0|(p=0|E(e,t,s,i)))==(0|n)&(0|v())==(0|r));){if(!(c>>>0<7)){s=0,e=0,u=6;break}s=c}return 6==(0|u)?(y(0|s),k=a,0|e):(p=0|xt(0|s,0,56),u=0|l|v()|268435456,p|=e,y(0|u),k=a,0|p)},_getH3UnidirectionalEdgeBoundary:Ge,_getH3UnidirectionalEdgesFromHexagon:function(e,t,n){n|=0;var r,i=0;r=0==(0|Ee(e|=0,t|=0)),t&=-2130706433,o[(i=n)>>2]=r?e:0,o[i+4>>2]=r?285212672|t:0,o[(i=n+8|0)>>2]=e,o[i+4>>2]=301989888|t,o[(i=n+16|0)>>2]=e,o[i+4>>2]=318767104|t,o[(i=n+24|0)>>2]=e,o[i+4>>2]=335544320|t,o[(i=n+32|0)>>2]=e,o[i+4>>2]=352321536|t,o[(n=n+40|0)>>2]=e,o[n+4>>2]=369098752|t},_getOriginH3IndexFromUnidirectionalEdge:function(e,t){var n;return e|=0,y(0|((n=!0&268435456==(2013265920&(t|=0)|0))?-2130706433&t|134217728:0)),0|(n?e:0)},_getPentagonIndexes:Ue,_getRes0Indexes:function(e){e|=0;var t=0,n=0,r=0;t=0;do{xt(0|t,0,45),r=134225919|v(),o[(n=e+(t<<3)|0)>>2]=-1,o[n+4>>2]=r,t=t+1|0}while(122!=(0|t))},_h3Distance:function(e,t,n,r){var o,i,a;return n|=0,r|=0,a=k,k=k+32|0,i=a,e=0==(0|Je(e|=0,t|=0,e,t,o=a+12|0))&&0==(0|Je(e,t,n,r,i))?0|Ae(o,i):-1,k=a,0|e},_h3GetBaseCell:ke,_h3GetFaces:function e(t,n,r){r|=0;var i,a=0,s=0,c=0,l=0,u=0,p=0,A=0,d=0;i=k,k=k+128|0,A=i+112|0,c=i+96|0,d=i,s=0|_t(0|(t|=0),0|(n|=0),52),v(),u=15&s,o[A>>2]=u,l=0|_t(0|t,0|n,45),v(),l&=127;e:do{if(0|C(l)){if(0|u)for(a=1;;){if(!(0==((p=0|xt(7,0,3*(15-a|0)|0))&t|0)&0==((0|v())&n|0))){s=0;break e}if(!(a>>>0>>0))break;a=a+1|0}if(!(1&s))return p=0|xt(u+1|0,0,52),d=0|v()|-15728641&n,e((p|t)&~(A=0|xt(7,0,3*(14-u|0)|0)),d&~(0|v()),r),void(k=i);s=1}else s=0}while(0);Fe(t,n,c),s?(ge(c,A,d),p=5):(xe(c,A,d),p=6);e:do{if(0|C(l))if(u)for(a=1;;){if(!(0==((l=0|xt(7,0,3*(15-a|0)|0))&t|0)&0==((0|v())&n|0))){a=8;break e}if(!(a>>>0>>0)){a=20;break}a=a+1|0}else a=20;else a=8}while(0);if(Lt(0|r,-1,0|a),s){s=0;do{for(ve(c=d+(s<<4)|0,0|o[A>>2]),c=0|o[c>>2],a=0;!(-1==(0|(u=0|o[(l=r+(a<<2)|0)>>2]))|(0|u)==(0|c));)a=a+1|0;o[l>>2]=c,s=s+1|0}while((0|s)!=(0|p))}else{s=0;do{for(ye(c=d+(s<<4)|0,0|o[A>>2],0,1),c=0|o[c>>2],a=0;!(-1==(0|(u=0|o[(l=r+(a<<2)|0)>>2]))|(0|u)==(0|c));)a=a+1|0;o[l>>2]=c,s=s+1|0}while((0|s)!=(0|p))}k=i},_h3GetResolution:function(e,t){return t=0|_t(0|(e|=0),0|(t|=0),52),v(),15&t|0},_h3IndexesAreNeighbors:Ve,_h3IsPentagon:Ee,_h3IsResClassIII:function(e,t){return t=0|_t(0|(e|=0),0|(t|=0),52),v(),1&t|0},_h3IsValid:Te,_h3Line:function(e,t,n,r,i){n|=0,r|=0,i|=0;var a,s=0,l=0,u=0,p=0,A=0,d=0,b=0,f=0,h=0,M=0,m=0,z=0,O=0,g=0,y=0,v=0,_=0;if(a=k,k=k+48|0,l=a+12|0,v=a,0==(0|Je(e|=0,t|=0,e,t,s=a+24|0))&&0==(0|Je(e,t,n,r,l))){if((0|(y=0|Ae(s,l)))<0)return k=a,0|(v=y);for(o[s>>2]=0,o[s+4>>2]=0,o[s+8>>2]=0,o[l>>2]=0,o[l+4>>2]=0,o[l+8>>2]=0,Je(e,t,e,t,s),Je(e,t,n,r,l),fe(s),fe(l),y?(h=+(0|y),g=s,n=d=0|o[s>>2],r=b=0|o[(z=s+4|0)>>2],s=f=0|o[(O=s+8|0)>>2],M=+((0|o[l>>2])-d|0)/h,m=+((0|o[l+4>>2])-b|0)/h,h=+((0|o[l+8>>2])-f|0)/h):(z=r=s+4|0,O=f=s+8|0,g=s,n=0|o[s>>2],r=0|o[r>>2],s=0|o[f>>2],M=0,m=0,h=0),o[v>>2]=n,o[(f=v+4|0)>>2]=r,o[(b=v+8|0)>>2]=s,d=0;;){_=M*(p=+(0|d))+ +(0|n),u=m*p+ +(0|o[z>>2]),p=h*p+ +(0|o[O>>2]),r=~~+qt(+_),l=~~+qt(+u),n=~~+qt(+p),_=+c(+(+(0|r)-_)),u=+c(+(+(0|l)-u)),p=+c(+(+(0|n)-p));do{if(!(_>u&_>p)){if(A=0-r|0,u>p){s=A-n|0;break}s=l,n=A-l|0;break}r=0-(l+n)|0,s=l}while(0);if(o[v>>2]=r,o[f>>2]=s,o[b>>2]=n,he(v),et(e,t,v,i+(d<<3)|0),(0|d)==(0|y))break;d=d+1|0,n=0|o[g>>2]}return k=a,0|(v=0)}return k=a,0|(v=-1)},_h3LineSize:function(e,t,n,r){var o,i,a;return n|=0,r|=0,a=k,k=k+32|0,i=a,e=0==(0|Je(e|=0,t|=0,e,t,o=a+12|0))&&0==(0|Je(e,t,n,r,i))?0|Ae(o,i):-1,k=a,(e>>>31^1)+e|0},_h3SetToLinkedGeo:function(e,t,n){n|=0;var r,i,a,s=0;if(a=k,k=k+32|0,r=a,function(e,t,n){e|=0,n|=0;var r,i,a=0,s=0,c=0,l=0,u=0;if(i=k,k=k+176|0,r=i,(0|(t|=0))<1)return lt(n,0,0),void(k=i);l=0|_t(0|o[(l=e)>>2],0|o[l+4>>2],52),v(),lt(n,(0|t)>6?t:6,15&l),l=0;do{if(He(0|o[(a=e+(l<<3)|0)>>2],0|o[a+4>>2],r),(0|(a=0|o[r>>2]))>0){u=0;do{c=r+8+(u<<4)|0,(s=0|bt(n,a=r+8+(((0|(u=u+1|0))%(0|a)|0)<<4)|0,c))?At(n,s):dt(n,c,a),a=0|o[r>>2]}while((0|u)<(0|a))}l=l+1|0}while((0|l)!=(0|t));k=i}(e|=0,t|=0,i=a+16|0),o[n>>2]=0,o[n+4>>2]=0,o[n+8>>2]=0,!(e=0|pt(i)))return $e(n),ut(i),void(k=a);do{t=0|Ze(n);do{Qe(t,e),s=e+16|0,o[r>>2]=o[s>>2],o[r+4>>2]=o[s+4>>2],o[r+8>>2]=o[s+8>>2],o[r+12>>2]=o[s+12>>2],At(i,e),e=0|ft(i,r)}while(0!=(0|e));e=0|pt(i)}while(0!=(0|e));$e(n),ut(i),k=a},_h3ToCenterChild:function(e,t,n){n|=0;var r=0,o=0;if(r=0|_t(0|(e|=0),0|(t|=0),52),v(),(0|n)<16&(0|(r&=15))<=(0|n)){if((0|r)!=(0|n)&&(e|=o=0|xt(0|n,0,52),t=0|v()|-15728641&t,(0|r)<(0|n)))do{o=0|xt(7,0,3*(14-r|0)|0),r=r+1|0,e&=~o,t&=~(0|v())}while((0|r)<(0|n))}else t=0,e=0;return y(0|t),0|e},_h3ToChildren:Se,_h3ToGeo:Xe,_h3ToGeoBoundary:He,_h3ToParent:Re,_h3UnidirectionalEdgeIsValid:function(e,t){var n=0;if(!(!0&268435456==(2013265920&(t|=0)|0)))return 0|(n=0);switch(n=0|_t(0|(e|=0),0|t,56),v(),7&n){case 0:case 7:return 0|(n=0)}return!0&16777216==(117440512&t|0)&0!=(0|Ee(e,n=-2130706433&t|134217728))?0|(n=0):0|(n=0|Te(e,n))},_hexAreaKm2:function(e){return+ +i[20496+((e|=0)<<3)>>3]},_hexAreaM2:function(e){return+ +i[20624+((e|=0)<<3)>>3]},_hexRing:function(e,t,n,r){e|=0,t|=0,r|=0;var i,a=0,s=0,c=0,l=0,u=0,p=0,A=0;if(i=k,k=k+16|0,A=i,!(n|=0))return o[(A=r)>>2]=e,o[A+4>>2]=t,k=i,0|(A=0);o[A>>2]=0;e:do{if(0|Ee(e,t))e=1;else{if(s=(0|n)>0){a=0,p=e;do{if(0==(0|(p=0|E(p,t,4,A)))&0==(0|(t=0|v()))){e=2;break e}if(a=a+1|0,0|Ee(p,t)){e=1;break e}}while((0|a)<(0|n));if(o[(u=r)>>2]=p,o[u+4>>2]=t,u=n+-1|0,s){s=0,c=1,a=p,e=t;do{if(0==(0|(a=0|E(a,e,2,A)))&0==(0|(e=0|v()))){e=2;break e}if(o[(l=r+(c<<3)|0)>>2]=a,o[l+4>>2]=e,c=c+1|0,0|Ee(a,e)){e=1;break e}s=s+1|0}while((0|s)<(0|n));l=0,s=c;do{if(0==(0|(a=0|E(a,e,3,A)))&0==(0|(e=0|v()))){e=2;break e}if(o[(c=r+(s<<3)|0)>>2]=a,o[c+4>>2]=e,s=s+1|0,0|Ee(a,e)){e=1;break e}l=l+1|0}while((0|l)<(0|n));c=0;do{if(0==(0|(a=0|E(a,e,1,A)))&0==(0|(e=0|v()))){e=2;break e}if(o[(l=r+(s<<3)|0)>>2]=a,o[l+4>>2]=e,s=s+1|0,0|Ee(a,e)){e=1;break e}c=c+1|0}while((0|c)<(0|n));c=0;do{if(0==(0|(a=0|E(a,e,5,A)))&0==(0|(e=0|v()))){e=2;break e}if(o[(l=r+(s<<3)|0)>>2]=a,o[l+4>>2]=e,s=s+1|0,0|Ee(a,e)){e=1;break e}c=c+1|0}while((0|c)<(0|n));c=0;do{if(0==(0|(a=0|E(a,e,4,A)))&0==(0|(e=0|v()))){e=2;break e}if(o[(l=r+(s<<3)|0)>>2]=a,o[l+4>>2]=e,s=s+1|0,0|Ee(a,e)){e=1;break e}c=c+1|0}while((0|c)<(0|n));for(c=0;;){if(0==(0|(a=0|E(a,e,6,A)))&0==(0|(e=0|v()))){e=2;break e}if((0|c)!=(0|u)){if(o[(l=r+(s<<3)|0)>>2]=a,o[l+4>>2]=e,0|Ee(a,e)){e=1;break e}s=s+1|0}if((0|(c=c+1|0))>=(0|n)){c=p,s=t;break}}}else c=p,a=p,s=t,e=t}else o[(c=r)>>2]=e,o[c+4>>2]=t,c=e,a=e,s=t,e=t;e=1&((0|c)!=(0|a)|(0|s)!=(0|e))}}while(0);return k=i,0|(A=e)},_i64Subtract:Ot,_kRing:T,_kRingDistances:function(e,t,n,r,o){var i;if(0|R(e|=0,t|=0,n|=0,r|=0,o|=0)){if(Lt(0|r,0,(i=1+(0|z(3*n|0,n+1|0))|0)<<3|0),0|o)return Lt(0|o,0,i<<2|0),void S(e,t,n,r,o,i,0);(o=0|zt(i,4))&&(S(e,t,n,r,o,i,0),mt(o))}},_llvm_minnum_f64:wt,_llvm_round_f64:qt,_malloc:Mt,_maxFaceCount:function(e,t){var n=0,r=0;if(r=0|_t(0|(e|=0),0|(t|=0),45),v(),!(0|C(127&r)))return 0|(r=2);if(r=0|_t(0|e,0|t,52),v(),!(r&=15))return 0|(r=5);for(n=1;;){if(!(0==((0|xt(7,0,3*(15-n|0)|0))&e|0)&0==((0|v())&t|0))){n=2,e=6;break}if(!(n>>>0>>0)){n=5,e=6;break}n=n+1|0}return 6==(0|e)?0|n:0},_maxH3ToChildrenSize:function(e,t,n){return n|=0,e=0|_t(0|(e|=0),0|(t|=0),52),v(),(0|n)<16&(0|(e&=15))<=(0|n)?0|(n=0|tt(7,n-e|0)):0|(n=0)},_maxKringSize:function(e){return 1+(0|z(3*(e|=0)|0,e+1|0))|0},_maxPolyfillSize:function(e,t){t|=0;var n,r=0,i=0,a=0,s=0,c=0;if(n=k,k=k+48|0,a=n+8|0,i=n,s=0|o[(c=e|=0)+4>>2],o[(r=i)>>2]=o[c>>2],o[r+4>>2]=s,rt(i,a),a=0|H(a,t),t=0|o[i>>2],(0|(i=0|o[e+8>>2]))<=0)return k=n,0|(c=(c=(s=(0|a)<(0|(c=t)))?c:a)+12|0);r=0|o[e+12>>2],e=0;do{t=(0|o[r+(e<<3)>>2])+t|0,e=e+1|0}while((0|e)<(0|i));return k=n,0|(c=(c=(c=(0|a)<(0|t))?t:a)+12|0)},_maxUncompactSize:function(e,t,n){e|=0,n|=0;var r=0,i=0,a=0,s=0;if((0|(t|=0))<=0)return 0|(n=0);if((0|n)>=16){for(r=0;;){if(!(0==(0|o[(s=e+(r<<3)|0)>>2])&0==(0|o[s+4>>2]))){r=-1,i=13;break}if((0|(r=r+1|0))>=(0|t)){r=0,i=13;break}}if(13==(0|i))return 0|r}r=0,s=0;e:for(;;){a=0|o[(i=e+(s<<3)|0)>>2],i=0|o[i+4>>2];do{if(!(0==(0|a)&0==(0|i))){if(i=0|_t(0|a,0|i,52),v(),(0|(i&=15))>(0|n)){r=-1,i=13;break e}if((0|i)==(0|n)){r=r+1|0;break}r=(0|tt(7,n-i|0))+r|0;break}}while(0);if((0|(s=s+1|0))>=(0|t)){i=13;break}}return 13==(0|i)?0|r:0},_memcpy:Wt,_memset:Lt,_numHexagons:function(e){var t;return e=0|o[(t=21008+((e|=0)<<3)|0)>>2],y(0|o[t+4>>2]),0|e},_pentagonIndexCount:function(){return 12},_pointDistKm:We,_pointDistM:function(e,t){e|=0;var n,r,o,a=0;return r=+i[(t|=0)>>3],n=+i[e>>3],a=(o=+A(.5*(r-n)))*o+(a=+A(.5*(+i[t+8>>3]-+i[e+8>>3])))*(+p(+r)*+p(+n)*a),2*+M(+ +l(+a),+ +l(+(1-a)))*6371.007180918475*1e3},_pointDistRads:function(e,t){e|=0;var n,r,o,a=0;return r=+i[(t|=0)>>3],n=+i[e>>3],a=(o=+A(.5*(r-n)))*o+(a=+A(.5*(+i[t+8>>3]-+i[e+8>>3])))*(+p(+r)*+p(+n)*a),2*+M(+ +l(+a),+ +l(+(1-a)))},_polyfill:function(e,t,n){var r,i=0,a=0,s=0,c=0,l=0;if(r=k,k=k+48|0,i=r+8|0,a=r,0|function(e,t,n){e|=0,t|=0,n|=0;var r=0,i=0,a=0,s=0,c=0,l=0,u=0,p=0,A=0,d=0,b=0,f=0,h=0,M=0,m=0,z=0,O=0,g=0,y=0,x=0,w=0,q=0,W=0,L=0,T=0,E=0,C=0,N=0,B=0,P=0;P=k,k=k+112|0,E=P+80|0,l=P+72|0,C=P,N=P+56|0,u=e+8|0,B=0|Mt(32+(o[u>>2]<<5)|0),B||_(22848,22448,800,22456);if(ot(e,B),a=e,r=0|o[a+4>>2],c=l,o[c>>2]=o[a>>2],o[c+4>>2]=r,rt(l,E),c=0|H(E,t),r=0|o[l>>2],a=0|o[u>>2],(0|a)>0){s=0|o[e+12>>2],i=0;do{r=(0|o[s+(i<<3)>>2])+r|0,i=i+1|0}while((0|i)!=(0|a))}if(c=(0|c)<(0|r)?r:c,T=c+12|0,i=0|zt(T,8),p=0|zt(T,8),o[E>>2]=0,W=e,L=0|o[W+4>>2],r=l,o[r>>2]=o[W>>2],o[r+4>>2]=L,r=0|D(l,T,t,E,i,p),0|r)return mt(i),mt(p),mt(B),k=P,0|(B=r);e:do{if((0|o[u>>2])>0){for(a=e+12|0,r=0;s=0|D((0|o[a>>2])+(r<<3)|0,T,t,E,i,p),r=r+1|0,!(0|s);)if((0|r)>=(0|o[u>>2]))break e;return mt(i),mt(p),mt(B),k=P,0|(B=s)}}while(0);(0|c)>-12&&Lt(0|p,0,((0|T)>1?T:1)<<3|0);e:do{if((0|o[E>>2])>0){L=((0|T)<0)<<31>>31,g=i,y=p,x=i,w=i,q=p,W=i,r=i,M=i,m=p,z=p,O=p,i=p;t:for(;;){for(h=0|o[E>>2],b=0,f=0,a=0;;){c=(s=C)+56|0;do{o[s>>2]=0,s=s+4|0}while((0|s)<(0|c));if(0|R(l=0|o[(t=g+(b<<3)|0)>>2],t=0|o[t+4>>2],1,C,0)){c=(s=C)+56|0;do{o[s>>2]=0,s=s+4|0}while((0|s)<(0|c));0|(s=0|zt(7,4))&&(S(l,t,1,C,s,7,0),mt(s))}d=0;do{p=0|o[(A=C+(d<<3)|0)>>2],A=0|o[A+4>>2];n:do{if(!(0==(0|p)&0==(0|A))){if(l=0|vt(0|p,0|A,0|T,0|L),v(),!(0==(0|(t=0|o[(c=s=n+(l<<3)|0)>>2]))&0==(0|(c=0|o[c+4>>2]))))for(u=0;;){if((0|u)>(0|T))break t;if((0|t)==(0|p)&(0|c)==(0|A))break n;if(0==(0|(t=0|o[(c=s=n+((l=(l+1|0)%(0|T)|0)<<3)|0)>>2]))&0==(0|(c=0|o[c+4>>2])))break;u=u+1|0}0==(0|p)&0==(0|A)||(Xe(p,A,N),0|it(e,B,N)&&(o[(u=s)>>2]=p,o[u+4>>2]=A,o[(u=y+(a<<3)|0)>>2]=p,o[u+4>>2]=A,a=a+1|0))}}while(0);d=d+1|0}while(d>>>0<7);if((0|(f=f+1|0))>=(0|h))break;b=b+1|0}if((0|h)>0&&Lt(0|x,0,h<<3|0),o[E>>2]=a,!((0|a)>0))break e;p=i,A=O,d=W,b=z,f=m,h=y,i=M,O=r,z=w,m=x,M=p,r=A,W=q,q=d,w=b,x=f,y=g,g=h}return mt(w),mt(q),mt(B),k=P,0|(B=-1)}r=p}while(0);return mt(B),mt(i),mt(r),B=0,k=P,0|B}(e|=0,t|=0,n|=0)){if(s=0|o[(l=e)+4>>2],o[(c=a)>>2]=o[l>>2],o[c+4>>2]=s,rt(a,i),c=0|H(i,t),t=0|o[a>>2],(0|(s=0|o[e+8>>2]))>0){a=0|o[e+12>>2],i=0;do{t=(0|o[a+(i<<3)>>2])+t|0,i=i+1|0}while((0|i)!=(0|s))}(0|(t=(0|c)<(0|t)?t:c))<=-12||Lt(0|n,0,8+(((0|(l=t+11|0))>0?l:0)<<3)|0),k=r}else k=r},_res0IndexCount:function(){return 122},_round:kt,_sbrk:Tt,_sizeOfCoordIJ:function(){return 8},_sizeOfGeoBoundary:function(){return 168},_sizeOfGeoCoord:function(){return 16},_sizeOfGeoPolygon:function(){return 16},_sizeOfGeofence:function(){return 8},_sizeOfH3Index:function(){return 8},_sizeOfLinkedGeoPolygon:function(){return 12},_uncompact:function(e,t,n,r,i){e|=0,n|=0,r|=0,i|=0;var a=0,s=0,c=0,l=0,u=0,p=0;if((0|(t|=0))<=0)return 0|(i=0);if((0|i)>=16){for(a=0;;){if(!(0==(0|o[(p=e+(a<<3)|0)>>2])&0==(0|o[p+4>>2]))){a=14;break}if((0|(a=a+1|0))>=(0|t)){s=0,a=16;break}}if(14==(0|a))return 0|((0|r)>0?-2:-1);if(16==(0|a))return 0|s}a=0,p=0;e:for(;;){s=0|o[(c=u=e+(p<<3)|0)>>2],c=0|o[c+4>>2];do{if(!(0==(0|s)&0==(0|c))){if((0|a)>=(0|r)){s=-1,a=16;break e}if(l=0|_t(0|s,0|c,52),v(),(0|(l&=15))>(0|i)){s=-2,a=16;break e}if((0|l)==(0|i)){o[(u=n+(a<<3)|0)>>2]=s,o[u+4>>2]=c,a=a+1|0;break}if((0|(s=(0|tt(7,i-l|0))+a|0))>(0|r)){s=-1,a=16;break e}Se(0|o[u>>2],0|o[u+4>>2],i,n+(a<<3)|0),a=s}}while(0);if((0|(p=p+1|0))>=(0|t)){s=0,a=16;break}}return 16==(0|a)?0|s:0},establishStackSpace:function(e,t){k=e|=0},stackAlloc:function(e){var t;return t=k,k=(k=k+(e|=0)|0)+15&-16,0|t},stackRestore:function(e){k=e|=0},stackSave:function(){return 0|k}}}({Math:Math,Int8Array:Int8Array,Int32Array:Int32Array,Uint8Array:Uint8Array,Float32Array:Float32Array,Float64Array:Float64Array},{a:se,b:function(e){l=e},c:u,d:function(e,t,n,r){se("Assertion failed: "+f(e)+", at: "+[t?f(t):"unknown filename",n,r?f(r):"unknown function"])},e:function(e){return n.___errno_location&&(O[n.___errno_location()>>2]=e),e},f:U,g:function(e,t,n){m.set(m.subarray(t,t+n),e)},h:function(e){var t=U(),n=16777216,r=2130706432;if(e>r)return!1;for(var o=Math.max(t,16777216);o>0]=t;break;case"i16":z[e>>1]=t;break;case"i32":O[e>>2]=t;break;case"i64":P=[t>>>0,(B=t,+T(B)>=1?B>0?(0|E(+S(B/4294967296),4294967295))>>>0:~~+R((B-+(~~B>>>0))/4294967296)>>>0:0)],O[e>>2]=P[0],O[e+4>>2]=P[1];break;case"float":g[e>>2]=t;break;case"double":y[e>>3]=t;break;default:se("invalid type for setValue: "+n)}},n.getValue=function(e,t,n){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return M[e>>0];case"i16":return z[e>>1];case"i32":case"i64":return O[e>>2];case"float":return g[e>>2];case"double":return y[e>>3];default:se("invalid type for getValue: "+t)}return null},n.getTempRet0=u,j){Y(j)||(j=function(e){return n.locateFile?n.locateFile(e,a):a+e}(j)),D++,n.monitorRunDependencies&&n.monitorRunDependencies(D);var ne=function(e){e.byteLength&&(e=new Uint8Array(e)),m.set(e,8),n.memoryInitializerRequest&&delete n.memoryInitializerRequest.response,function(e){if(D--,n.monitorRunDependencies&&n.monitorRunDependencies(D),0==D&&(null!==C&&(clearInterval(C),C=null),N)){var t=N;N=null,t()}}()},re=function(){o(j,ne,(function(){throw"could not load memory initializer "+j}))},oe=Z(j);if(oe)ne(oe.buffer);else if(n.memoryInitializerRequest){var ie=function(){var e=n.memoryInitializerRequest,t=e.response;if(200!==e.status&&0!==e.status){var r=Z(n.memoryInitializerRequestURL);if(!r)return console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+e.status+", retrying "+j),void re();t=r.buffer}ne(t)};n.memoryInitializerRequest.response?setTimeout(ie,0):n.memoryInitializerRequest.addEventListener("load",ie)}else re()}function ae(e){function t(){Q||(Q=!0,p||(w(W),w(L),n.onRuntimeInitialized&&n.onRuntimeInitialized(),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)e=n.postRun.shift(),k.unshift(e);var e;w(k)}()))}e=e||i,D>0||(!function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)e=n.preRun.shift(),q.unshift(e);var e;w(q)}(),D>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),t()}),1)):t()))}function se(e){throw n.onAbort&&n.onAbort(e),s(e+=""),c(e),p=!0,"abort("+e+"). Build with -s ASSERTIONS=1 for more info."}if(N=function e(){Q||ae(),Q||(N=e)},n.run=ae,n.abort=se,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();return ae(),e}("object"===typeof r?r:{}),o="number",i={};[["sizeOfH3Index",o],["sizeOfGeoCoord",o],["sizeOfGeoBoundary",o],["sizeOfGeoPolygon",o],["sizeOfGeofence",o],["sizeOfLinkedGeoPolygon",o],["sizeOfCoordIJ",o],["h3IsValid",o,[o,o]],["geoToH3",o,[o,o,o]],["h3ToGeo",null,[o,o,o]],["h3ToGeoBoundary",null,[o,o,o]],["maxKringSize",o,[o]],["kRing",null,[o,o,o,o]],["kRingDistances",null,[o,o,o,o,o]],["hexRing",null,[o,o,o,o]],["maxPolyfillSize",o,[o,o]],["polyfill",null,[o,o,o]],["h3SetToLinkedGeo",null,[o,o,o]],["destroyLinkedPolygon",null,[o]],["compact",o,[o,o,o]],["uncompact",o,[o,o,o,o,o]],["maxUncompactSize",o,[o,o,o]],["h3IsPentagon",o,[o,o]],["h3IsResClassIII",o,[o,o]],["h3GetBaseCell",o,[o,o]],["h3GetResolution",o,[o,o]],["maxFaceCount",o,[o,o]],["h3GetFaces",null,[o,o,o]],["h3ToParent",o,[o,o,o]],["h3ToChildren",null,[o,o,o,o]],["h3ToCenterChild",o,[o,o,o]],["maxH3ToChildrenSize",o,[o,o,o]],["h3IndexesAreNeighbors",o,[o,o,o,o]],["getH3UnidirectionalEdge",o,[o,o,o,o]],["getOriginH3IndexFromUnidirectionalEdge",o,[o,o]],["getDestinationH3IndexFromUnidirectionalEdge",o,[o,o]],["h3UnidirectionalEdgeIsValid",o,[o,o]],["getH3IndexesFromUnidirectionalEdge",null,[o,o,o]],["getH3UnidirectionalEdgesFromHexagon",null,[o,o,o]],["getH3UnidirectionalEdgeBoundary",null,[o,o,o]],["h3Distance",o,[o,o,o,o]],["h3Line",o,[o,o,o,o,o]],["h3LineSize",o,[o,o,o,o]],["experimentalH3ToLocalIj",o,[o,o,o,o,o]],["experimentalLocalIjToH3",o,[o,o,o,o]],["hexAreaM2",o,[o]],["hexAreaKm2",o,[o]],["edgeLengthM",o,[o]],["edgeLengthKm",o,[o]],["pointDistM",o,[o,o]],["pointDistKm",o,[o,o]],["pointDistRads",o,[o,o]],["cellAreaM2",o,[o,o]],["cellAreaKm2",o,[o,o]],["cellAreaRads2",o,[o,o]],["exactEdgeLengthM",o,[o,o]],["exactEdgeLengthKm",o,[o,o]],["exactEdgeLengthRads",o,[o,o]],["numHexagons",o,[o]],["getRes0Indexes",null,[o]],["res0IndexCount",o],["getPentagonIndexes",null,[o,o]],["pentagonIndexCount",o]].forEach((function(e){i[e[0]]=r.cwrap.apply(r,e)}));var a=16,s=4,c=4,l=8,u=i.sizeOfH3Index(),p=i.sizeOfGeoCoord(),A=i.sizeOfGeoBoundary(),d=i.sizeOfGeoPolygon(),b=i.sizeOfGeofence(),f=i.sizeOfLinkedGeoPolygon(),h=i.sizeOfCoordIJ(),M={m:"m",m2:"m2",km:"km",km2:"km2",rads:"rads",rads2:"rads2"};function m(e){if("number"!==typeof e||e<0||e>15||Math.floor(e)!==e)throw new Error("Invalid resolution: "+e)}var z=/[^0-9a-fA-F]/;function O(e){if(Array.isArray(e)&&2===e.length&&Number.isInteger(e[0])&&Number.isInteger(e[1]))return e;if("string"!==typeof e||z.test(e))return[0,0];var t=parseInt(e.substring(0,e.length-8),a);return[parseInt(e.substring(e.length-8),a),t]}function g(e){if(e>=0)return e.toString(a);var t=v(8,(e&=2147483647).toString(a));return t=(parseInt(t[0],a)+8).toString(a)+t.substring(1)}function y(e,t){return g(t)+v(8,g(e))}function v(e,t){for(var n=e-t.length,r="",o=0;o=0&&n.push(i)}return n}(c,a);return r._free(c),l}function I(e){var t=O(e),n=t[0],r=t[1];return i.h3IsValid(n,r)?i.h3GetResolution(n,r):-1}function Y(e,t,n){var o=r._malloc(p);r.HEAPF64.set([e,t].map(ge),o/l);var a=w(i.geoToH3(o,n));return r._free(o),a}function F(e){var t=r._malloc(p),n=O(e),o=n[0],a=n[1];i.h3ToGeo(o,a,t);var s=S(t);return r._free(t),s}function X(e,t){var n=r._malloc(A),o=O(e),a=o[0],s=o[1];i.h3ToGeoBoundary(a,s,n);var c=D(n,t,t);return r._free(n),c}function H(e,t){var n=O(e),r=n[0],o=n[1];return w(i.h3ToParent(r,o,t))}function U(e,t){if(!C(e))return[];var n=O(e),o=n[0],a=n[1],s=i.maxH3ToChildrenSize(o,a,t),c=r._calloc(s,u);i.h3ToChildren(o,a,t,c);var l=L(c,s);return r._free(c),l}function V(e,t){var n=O(e),r=n[0],o=n[1];return w(i.h3ToCenterChild(r,o,t))}function G(e,t){var n=O(e),o=n[0],a=n[1],s=i.maxKringSize(t),c=r._calloc(s,u);i.kRing(o,a,t,c);var l=L(c,s);return r._free(c),l}function Z(e,t){var n=O(e),o=n[0],a=n[1],c=i.maxKringSize(t),l=r._calloc(c,u),p=r._calloc(c,s);i.kRingDistances(o,a,t,l,p);for(var A=[],d=0;d0){n=r._calloc(o,b);for(var l=0;l0){for(var a=r.getValue(e+n,"i32"),c=0;c{"use strict";n.r(t),n.d(t,{default:()=>c,getUserLocale:()=>s,getUserLocales:()=>a});var r=n(9498),o=n.n(r);function i(e){return JSON.stringify(e)}var a=o()((function(e){var t,n=void 0===e?{}:e,r=n.useFallbackLocale,o=void 0===r||r,i=n.fallbackLocale,a=void 0===i?"en-US":i,s=[];if("undefined"!==typeof window){var c=window.navigator;s=s.concat(c.languages,c.language,c.userLanguage,c.browserLanguage,c.systemLanguage)}return o&&s.push(a),function(e){return e.map((function(e){if(!e||-1===e.indexOf("-")||e.toLowerCase()!==e)return e;var t=e.split("-");return t[0]+"-"+t[1].toUpperCase()}))}((t=s).filter((function(e,n){return e&&t.indexOf(e)===n})))}),i);var s=o()((function(e){return a(e)[0]||null}),i);const c=s},2110:(e,t,n)=>{"use strict";var r=n(8309),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,A=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,b=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(b){var o=d(n);o&&o!==b&&e(t,o,r)}var a=u(n);p&&(a=a.concat(p(n)));for(var s=c(t),f=c(n),h=0;h{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,A=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,b=n?Symbol.for("react.suspense_list"):60120,f=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,M=n?Symbol.for("react.block"):60121,m=n?Symbol.for("react.fundamental"):60117,z=n?Symbol.for("react.responder"):60118,O=n?Symbol.for("react.scope"):60119;function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case p:case i:case s:case a:case d:return e;default:switch(e=e&&e.$$typeof){case l:case A:case h:case f:case c:return e;default:return t}}case o:return t}}}function y(e){return g(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=r,t.ForwardRef=A,t.Fragment=i,t.Lazy=h,t.Memo=f,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.isAsyncMode=function(e){return y(e)||g(e)===u},t.isConcurrentMode=y,t.isContextConsumer=function(e){return g(e)===l},t.isContextProvider=function(e){return g(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return g(e)===A},t.isFragment=function(e){return g(e)===i},t.isLazy=function(e){return g(e)===h},t.isMemo=function(e){return g(e)===f},t.isPortal=function(e){return g(e)===o},t.isProfiler=function(e){return g(e)===s},t.isStrictMode=function(e){return g(e)===a},t.isSuspense=function(e){return g(e)===d},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===p||e===s||e===a||e===d||e===b||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===c||e.$$typeof===l||e.$$typeof===A||e.$$typeof===m||e.$$typeof===z||e.$$typeof===O||e.$$typeof===M)},t.typeOf=g},8309:(e,t,n)=>{"use strict";e.exports=n(746)},5586:e=>{function t(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},8890:function(e,t){var n;!function(t,n){"use strict";"object"===typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!==typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,c=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},l=i.push,u=i.indexOf,p={},A=p.toString,d=p.hasOwnProperty,b=d.toString,f=b.call(Object),h={},M=function(e){return"function"===typeof e&&"number"!==typeof e.nodeType&&"function"!==typeof e.item},m=function(e){return null!=e&&e===e.window},z=r.document,O={type:!0,src:!0,nonce:!0,noModule:!0};function g(e,t,n){var r,o,i=(n=n||z).createElement("script");if(i.text=e,t)for(r in O)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function y(e){return null==e?e+"":"object"===typeof e||"function"===typeof e?p[A.call(e)]||"object":typeof e}var v="3.7.0",_=/HTML$/i,x=function(e,t){return new x.fn.init(e,t)};function w(e){var t=!!e&&"length"in e&&e.length,n=y(e);return!M(e)&&!m(e)&&("array"===n||0===t||"number"===typeof t&&t>0&&t-1 in e)}function q(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}x.fn=x.prototype={jquery:v,constructor:x,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+T+")"+T+"*"),I=new RegExp(T+"|>"),Y=new RegExp(N),F=new RegExp("^"+S+"$"),X={ID:new RegExp("^#("+S+")"),CLASS:new RegExp("^\\.("+S+")"),TAG:new RegExp("^("+S+"|[*])"),ATTR:new RegExp("^"+E),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+T+"*(even|odd|(([+-]|)(\\d*)n|)"+T+"*(?:([+-]|)"+T+"*(\\d+)|))"+T+"*\\)|)","i"),bool:new RegExp("^(?:"+w+")$","i"),needsContext:new RegExp("^"+T+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+T+"*((?:-\\d)?\\d*)"+T+"*\\)|)(?=[^-]|$)","i")},H=/^(?:input|select|textarea|button)$/i,U=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,Z=new RegExp("\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\([^\\r\\n\\f])","g"),Q=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},$=function(){ce()},K=Ae((function(e){return!0===e.disabled&&q(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{f.apply(i=s.call(D.childNodes),D.childNodes),i[D.childNodes.length].nodeType}catch(ze){f={apply:function(e,t){C.apply(e,s.call(t))},call:function(e){C.apply(e,s.call(arguments,1))}}}function J(e,t,n,r){var o,i,a,s,l,u,d,b=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!==typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!r&&(ce(t),t=t||c,p)){if(11!==m&&(l=V.exec(e)))if(o=l[1]){if(9===m){if(!(a=t.getElementById(o)))return n;if(a.id===o)return f.call(n,a),n}else if(b&&(a=b.getElementById(o))&&J.contains(t,a)&&a.id===o)return f.call(n,a),n}else{if(l[2])return f.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&t.getElementsByClassName)return f.apply(n,t.getElementsByClassName(o)),n}if(!v[e+" "]&&(!A||!A.test(e))){if(d=e,b=t,1===m&&(I.test(e)||j.test(e))){for((b=G.test(e)&&se(t.parentNode)||t)==t&&h.scope||((s=t.getAttribute("id"))?s=x.escapeSelector(s):t.setAttribute("id",s=M)),i=(u=ue(e)).length;i--;)u[i]=(s?"#"+s:":scope")+" "+pe(u[i]);d=u.join(",")}try{return f.apply(n,b.querySelectorAll(d)),n}catch(z){v(e,!0)}finally{s===M&&t.removeAttribute("id")}}}return me(e.replace(R,"$1"),t,n,r)}function ee(){var e=[];return function n(r,o){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=o}}function te(e){return e[M]=!0,e}function ne(e){var t=c.createElement("fieldset");try{return!!e(t)}catch(ze){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return q(t,"input")&&t.type===e}}function oe(e){return function(t){return(q(t,"input")||q(t,"button"))&&t.type===e}}function ie(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&K(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function se(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}function ce(e){var n,r=e?e.ownerDocument||e:D;return r!=c&&9===r.nodeType&&r.documentElement?(l=(c=r).documentElement,p=!x.isXMLDoc(c),b=l.matches||l.webkitMatchesSelector||l.msMatchesSelector,D!=c&&(n=c.defaultView)&&n.top!==n&&n.addEventListener("unload",$),h.getById=ne((function(e){return l.appendChild(e).id=x.expando,!c.getElementsByName||!c.getElementsByName(x.expando).length})),h.disconnectedMatch=ne((function(e){return b.call(e,"*")})),h.scope=ne((function(){return c.querySelectorAll(":scope")})),h.cssHas=ne((function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(ze){return!0}})),h.getById?(t.filter.ID=function(e){var t=e.replace(Z,Q);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(Z,Q);return function(e){var n="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&p){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),t.find.TAG=function(e,t){return"undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if("undefined"!==typeof t.getElementsByClassName&&p)return t.getElementsByClassName(e)},A=[],ne((function(e){var t;l.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||A.push("\\["+T+"*(?:value|"+w+")"),e.querySelectorAll("[id~="+M+"-]").length||A.push("~="),e.querySelectorAll("a#"+M+"+*").length||A.push(".#.+[+~]"),e.querySelectorAll(":checked").length||A.push(":checked"),(t=c.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),l.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&A.push(":enabled",":disabled"),(t=c.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||A.push("\\["+T+"*name"+T+"*="+T+"*(?:''|\"\")")})),h.cssHas||A.push(":has"),A=A.length&&new RegExp(A.join("|")),_=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===c||e.ownerDocument==D&&J.contains(D,e)?-1:t===c||t.ownerDocument==D&&J.contains(D,t)?1:o?u.call(o,e)-u.call(o,t):0:4&n?-1:1)},c):c}for(e in J.matches=function(e,t){return J(e,null,null,t)},J.matchesSelector=function(e,t){if(ce(e),p&&!v[t+" "]&&(!A||!A.test(t)))try{var n=b.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(ze){v(t,!0)}return J(t,c,null,[e]).length>0},J.contains=function(e,t){return(e.ownerDocument||e)!=c&&ce(e),x.contains(e,t)},J.attr=function(e,n){(e.ownerDocument||e)!=c&&ce(e);var r=t.attrHandle[n.toLowerCase()],o=r&&d.call(t.attrHandle,n.toLowerCase())?r(e,n,!p):void 0;return void 0!==o?o:e.getAttribute(n)},J.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},x.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!h.sortStable,o=!h.sortStable&&s.call(e,0),L.call(e,_),a){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)k.call(e,n[r],1)}return o=null,e},x.fn.uniqueSort=function(){return this.pushStack(x.uniqueSort(s.apply(this)))},t=x.expr={cacheLength:50,createPseudo:te,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,Q),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,Q),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||J.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&J.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,Q).toLowerCase();return"*"===e?function(){return!0}:function(e){return q(e,t)}},CLASS:function(e){var t=O[e+" "];return t||(t=new RegExp("(^|"+T+")"+e+"("+T+"|$)"))&&O(e,(function(e){return t.test("string"===typeof e.className&&e.className||"undefined"!==typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=J.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var l,u,p,A,d,b=i!==a?"nextSibling":"previousSibling",f=t.parentNode,h=s&&t.nodeName.toLowerCase(),z=!c&&!s,O=!1;if(f){if(i){for(;b;){for(p=t;p=p[b];)if(s?q(p,h):1===p.nodeType)return!1;d=b="only"===e&&!d&&"nextSibling"}return!0}if(d=[a?f.firstChild:f.lastChild],a&&z){for(O=(A=(l=(u=f[M]||(f[M]={}))[e]||[])[0]===m&&l[1])&&l[2],p=A&&f.childNodes[A];p=++A&&p&&p[b]||(O=A=0)||d.pop();)if(1===p.nodeType&&++O&&p===t){u[e]=[m,A,O];break}}else if(z&&(O=A=(l=(u=t[M]||(t[M]={}))[e]||[])[0]===m&&l[1]),!1===O)for(;(p=++A&&p&&p[b]||(O=A=0)||d.pop())&&(!(s?q(p,h):1===p.nodeType)||!++O||(z&&((u=p[M]||(p[M]={}))[e]=[m,O]),p!==t)););return(O-=o)===r||O%r===0&&O/r>=0}}},PSEUDO:function(e,n){var r,o=t.pseudos[e]||t.setFilters[e.toLowerCase()]||J.error("unsupported pseudo: "+e);return o[M]?o(n):o.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,i=o(e,n),a=i.length;a--;)e[r=u.call(e,i[a])]=!(t[r]=i[a])})):function(e){return o(e,0,r)}):o}},pseudos:{not:te((function(e){var t=[],n=[],r=Me(e.replace(R,"$1"));return r[M]?te((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return J(e,t).length>0}})),contains:te((function(e){return e=e.replace(Z,Q),function(t){return(t.textContent||x.text(t)).indexOf(e)>-1}})),lang:te((function(e){return F.test(e||"")||J.error("unsupported lang: "+e),e=e.replace(Z,Q).toLowerCase(),function(t){var n;do{if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===l},focus:function(e){return e===function(){try{return c.activeElement}catch(e){}}()&&c.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ie(!1),disabled:ie(!0),checked:function(e){return q(e,"input")&&!!e.checked||q(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return U.test(e.nodeName)},input:function(e){return H.test(e.nodeName)},button:function(e){return q(e,"input")&&"button"===e.type||q(e,"button")},text:function(e){var t;return q(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function be(e,t,n,r,o){for(var i,a=[],s=0,c=e.length,l=null!=t;s-1&&(i[l]=!(a[l]=A))}}else d=be(d===a?d.splice(M,d.length):d),o?o(null,a,d,c):f.apply(a,d)}))}function he(e){for(var r,o,i,a=e.length,s=t.relative[e[0].type],c=s||t.relative[" "],l=s?1:0,p=Ae((function(e){return e===r}),c,!0),A=Ae((function(e){return u.call(r,e)>-1}),c,!0),d=[function(e,t,o){var i=!s&&(o||t!=n)||((r=t).nodeType?p(e,t,o):A(e,t,o));return r=null,i}];l1&&de(d),l>1&&pe(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(R,"$1"),o,l0,i=e.length>0,a=function(a,s,l,u,A){var d,b,h,M=0,z="0",O=a&&[],g=[],y=n,v=a||i&&t.find.TAG("*",A),_=m+=null==y?1:Math.random()||.1,w=v.length;for(A&&(n=s==c||s||A);z!==w&&null!=(d=v[z]);z++){if(i&&d){for(b=0,s||d.ownerDocument==c||(ce(d),l=!p);h=e[b++];)if(h(d,s||c,l)){f.call(u,d);break}A&&(m=_)}o&&((d=!h&&d)&&M--,a&&O.push(d))}if(M+=z,o&&z!==M){for(b=0;h=r[b++];)h(O,g,s,l);if(a){if(M>0)for(;z--;)O[z]||g[z]||(g[z]=W.call(u));g=be(g)}f.apply(u,g),A&&!a&&g.length>0&&M+r.length>1&&x.uniqueSort(u)}return A&&(m=_,n=y),O};return o?te(a):a}(a,i)),s.selector=e}return s}function me(e,n,r,o){var i,a,s,c,l,u="function"===typeof e&&e,A=!o&&ue(e=u.selector||e);if(r=r||[],1===A.length){if((a=A[0]=A[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&p&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(Z,Q),n)||[])[0]))return r;u&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(i=X.needsContext.test(e)?0:a.length;i--&&(s=a[i],!t.relative[c=s.type]);)if((l=t.find[c])&&(o=l(s.matches[0].replace(Z,Q),G.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(i,1),!(e=o.length&&pe(a)))return f.apply(r,o),r;break}}return(u||Me(e,A))(o,n,!p,r,!n||G.test(e)&&se(n.parentNode)||n),r}le.prototype=t.filters=t.pseudos,t.setFilters=new le,h.sortStable=M.split("").sort(_).join("")===M,ce(),h.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(c.createElement("fieldset"))})),x.find=J,x.expr[":"]=x.expr.pseudos,x.unique=x.uniqueSort,J.compile=Me,J.select=me,J.setDocument=ce,J.escape=x.escapeSelector,J.getText=x.text,J.isXML=x.isXMLDoc,J.selectors=x.expr,J.support=x.support,J.uniqueSort=x.uniqueSort}();var N=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&x(e).is(n))break;r.push(e)}return r},B=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},P=x.expr.match.needsContext,j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function I(e,t,n){return M(t)?x.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?x.grep(e,(function(e){return e===t!==n})):"string"!==typeof t?x.grep(e,(function(e){return u.call(t,e)>-1!==n})):x.filter(t,e,n)}x.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,(function(e){return 1===e.nodeType})))},x.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!==typeof e)return this.pushStack(x(e).filter((function(){for(t=0;t1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(I(this,e||[],!1))},not:function(e){return this.pushStack(I(this,e||[],!0))},is:function(e){return!!I(this,"string"===typeof e&&P.test(e)?x(e):e||[],!1).length}});var Y,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||Y,"string"===typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:F.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:z,!0)),j.test(r[1])&&x.isPlainObject(t))for(r in t)M(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=z.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):M(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,Y=x(z);var X=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function U(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&x.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?x.uniqueSort(i):i)},index:function(e){return e?"string"===typeof e?u.call(x(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return N(e,"parentNode")},parentsUntil:function(e,t,n){return N(e,"parentNode",n)},next:function(e){return U(e,"nextSibling")},prev:function(e){return U(e,"previousSibling")},nextAll:function(e){return N(e,"nextSibling")},prevAll:function(e){return N(e,"previousSibling")},nextUntil:function(e,t,n){return N(e,"nextSibling",n)},prevUntil:function(e,t,n){return N(e,"previousSibling",n)},siblings:function(e){return B((e.parentNode||{}).firstChild,e)},children:function(e){return B(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(q(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},(function(e,t){x.fn[e]=function(n,r){var o=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"===typeof r&&(o=x.filter(r,o)),this.length>1&&(H[e]||x.uniqueSort(o),X.test(e)&&o.reverse()),this.pushStack(o)}}));var V=/[^\x20\t\r\n\f]+/g;function G(e){return e}function Z(e){throw e}function Q(e,t,n,r){var o;try{e&&M(o=e.promise)?o.call(e).done(t).fail(n):e&&M(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"===typeof e?function(e){var t={};return x.each(e.match(V)||[],(function(e,n){t[n]=!0})),t}(e):x.extend({},e);var t,n,r,o,i=[],a=[],s=-1,c=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?x.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return x.Deferred((function(n){x.each(t,(function(t,r){var o=M(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&M(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,c=arguments,l=function(){var r,l;if(!(e=i&&(n!==Z&&(s=void 0,c=[r]),t.rejectWith(s,c))}};e?u():(x.Deferred.getErrorHook?u.error=x.Deferred.getErrorHook():x.Deferred.getStackHook&&(u.error=x.Deferred.getStackHook()),r.setTimeout(u))}}return x.Deferred((function(r){t[0][3].add(a(0,r,M(o)?o:G,r.notifyWith)),t[1][3].add(a(0,r,M(e)?e:G)),t[2][3].add(a(0,r,M(n)?n:Z))})).promise()},promise:function(e){return null!=e?x.extend(e,o):o}},i={};return x.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=x.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(Q(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||M(o[n]&&o[n].then)))return i.then();for(;n--;)Q(o[n],a(n),i.reject);return i.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&$.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){r.setTimeout((function(){throw e}))};var K=x.Deferred();function J(){z.removeEventListener("DOMContentLoaded",J),r.removeEventListener("load",J),x.ready()}x.fn.ready=function(e){return K.then(e).catch((function(e){x.readyException(e)})),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||K.resolveWith(z,[x]))}}),x.ready.then=K.then,"complete"===z.readyState||"loading"!==z.readyState&&!z.documentElement.doScroll?r.setTimeout(x.ready):(z.addEventListener("DOMContentLoaded",J),r.addEventListener("load",J));var ee=function(e,t,n,r,o,i,a){var s=0,c=e.length,l=null==n;if("object"===y(n))for(s in o=!0,n)ee(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,M(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(x(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){ce.remove(this,e)}))}}),x.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se.get(e,t),n&&(!r||Array.isArray(n)?r=se.access(e,t,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,o=n.shift(),i=x._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){x.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:x.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!==typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,xe=/^$|^module$|\/(?:java|ecma)script/i;!function(){var e=z.createDocumentFragment().appendChild(z.createElement("div")),t=z.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="",h.option=!!e.lastChild}();var we={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function qe(e,t){var n;return n="undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!==typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&q(e,t)?x.merge([e],n):n}function We(e,t){for(var n=0,r=e.length;n",""]);var Le=/<|&#?\w+;/;function ke(e,t,n,r,o){for(var i,a,s,c,l,u,p=t.createDocumentFragment(),A=[],d=0,b=e.length;d-1)o&&o.push(i);else if(l=he(i),a=qe(p.appendChild(i),"script"),l&&We(a),n)for(u=0;i=a[u++];)xe.test(i.type||"")&&n.push(i);return p}var Te=/^([^.]*)(?:\.(.+)|)/;function Re(){return!0}function Se(){return!1}function Ee(e,t,n,r,o,i){var a,s;if("object"===typeof t){for(s in"string"!==typeof n&&(r=r||n,n=void 0),t)Ee(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"===typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Se;else if(!o)return e;return 1===i&&(a=o,o=function(e){return x().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=x.guid++)),e.each((function(){x.event.add(this,t,o,r,n)}))}function De(e,t,n){n?(se.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),se.set(this,t,r),this[t](),n=se.get(this,t),se.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(se.set(this,t,x.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Re)}})):void 0===se.get(e,t)&&x.event.add(e,t,Re)}x.event={global:{},add:function(e,t,n,r,o){var i,a,s,c,l,u,p,A,d,b,f,h=se.get(e);if(ie(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&x.find.matchesSelector(fe,o),n.guid||(n.guid=x.guid++),(c=h.events)||(c=h.events=Object.create(null)),(a=h.handle)||(a=h.handle=function(t){return"undefined"!==typeof x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(V)||[""]).length;l--;)d=f=(s=Te.exec(t[l])||[])[1],b=(s[2]||"").split(".").sort(),d&&(p=x.event.special[d]||{},d=(o?p.delegateType:p.bindType)||d,p=x.event.special[d]||{},u=x.extend({type:d,origType:f,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:b.join(".")},i),(A=c[d])||((A=c[d]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,r,b,a)||e.addEventListener&&e.addEventListener(d,a)),p.add&&(p.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?A.splice(A.delegateCount++,0,u):A.push(u),x.event.global[d]=!0)},remove:function(e,t,n,r,o){var i,a,s,c,l,u,p,A,d,b,f,h=se.hasData(e)&&se.get(e);if(h&&(c=h.events)){for(l=(t=(t||"").match(V)||[""]).length;l--;)if(d=f=(s=Te.exec(t[l])||[])[1],b=(s[2]||"").split(".").sort(),d){for(p=x.event.special[d]||{},A=c[d=(r?p.delegateType:p.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=A.length;i--;)u=A[i],!o&&f!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(A.splice(i,1),u.selector&&A.delegateCount--,p.remove&&p.remove.call(e,u));a&&!A.length&&(p.teardown&&!1!==p.teardown.call(e,b,h.handle)||x.removeEvent(e,d,h.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[l],n,r,!0);x.isEmptyObject(c)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),c=x.event.fix(e),l=(se.get(this,"events")||Object.create(null))[c.type]||[],u=x.event.special[c.type]||{};for(s[0]=c,t=1;t=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(i=[],a={},n=0;n-1:x.find(o,this,null,[l]).length),a[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return l=this,c\s*$/g;function Pe(e,t){return q(e,"table")&&q(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function je(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ie(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ye(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(o in se.remove(t,"handle events"),s)for(n=0,r=s[o].length;n1&&"string"===typeof b&&!h.checkClone&&Ne.test(b))return e.each((function(o){var i=e.eq(o);f&&(t[0]=b.call(this,o,i.html())),Xe(i,t,n,r)}));if(A&&(i=(o=ke(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=x.map(qe(o,"script"),je)).length;p0&&We(a,!c&&qe(e,"script")),s},cleanData:function(e){for(var t,n,r,o=x.event.special,i=0;void 0!==(n=e[i]);i++)if(ie(n)){if(t=n[se.expando]){if(t.events)for(r in t.events)o[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[ce.expando]&&(n[ce.expando]=void 0)}}}),x.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?x.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Xe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pe(this,e).appendChild(e)}))},prepend:function(){return Xe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Pe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Xe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Xe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(qe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return x.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!Ce.test(e)&&!we[(_e.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-c-s-.5))||0),c+l}function ct(e,t,n){var r=Ge(e),o=(!h.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,r),i=o,a=$e(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ue.test(a)){if(!n)return a;a="auto"}return(!h.boxSizingReliable()&&o||!h.reliableTrDimensions()&&q(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===x.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===x.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+st(e,t,n||(o?"border":"content"),i,r,a)+"px"}function lt(e,t,n,r,o){return new lt.prototype.init(e,t,n,r,o)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=oe(t),c=Ve.test(t),l=e.style;if(c||(t=nt(s)),a=x.cssHooks[t]||x.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:l[t];"string"===(i=typeof n)&&(o=de.exec(n))&&o[1]&&(n=ze(e,t,o),i="number"),null!=n&&n===n&&("number"!==i||c||(n+=o&&o[3]||(x.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var o,i,a,s=oe(t);return Ve.test(t)||(t=nt(s)),(a=x.cssHooks[t]||x.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=$e(e,t,r)),"normal"===o&&t in it&&(o=it[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),x.each(["height","width"],(function(e,t){x.cssHooks[t]={get:function(e,n,r){if(n)return!rt.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,t,r):Ze(e,ot,(function(){return ct(e,t,r)}))},set:function(e,n,r){var o,i=Ge(e),a=!h.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===x.css(e,"boxSizing",!1,i),c=r?st(e,t,r,s,i):0;return s&&a&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-st(e,t,"border",!1,i)-.5)),c&&(o=de.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),at(0,n,c)}}})),x.cssHooks.marginLeft=Ke(h.reliableMarginLeft,(function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-Ze(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),x.each({margin:"",padding:"",border:"Width"},(function(e,t){x.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"===typeof n?n.split(" "):[n];r<4;r++)o[e+be[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(x.cssHooks[e+t].set=at)})),x.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Ge(e),o=t.length;a1)}}),x.Tween=lt,lt.prototype={constructor:lt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(x.cssNumber[n]?"":"px")},cur:function(){var e=lt.propHooks[this.prop];return e&&e.get?e.get(this):lt.propHooks._default.get(this)},run:function(e){var t,n=lt.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):lt.propHooks._default.set(this),this}},lt.prototype.init.prototype=lt.prototype,lt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[nt(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}},lt.propHooks.scrollTop=lt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=lt.prototype.init,x.fx.step={};var ut,pt,At=/^(?:toggle|show|hide)$/,dt=/queueHooks$/;function bt(){pt&&(!1===z.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(bt):r.setTimeout(bt,x.fx.interval),x.fx.tick())}function ft(){return r.setTimeout((function(){ut=void 0})),ut=Date.now()}function ht(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=be[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function Mt(e,t,n){for(var r,o=(mt.tweeners[t]||[]).concat(mt.tweeners["*"]),i=0,a=o.length;i1)},removeAttr:function(e){return this.each((function(){x.removeAttr(this,e)}))}}),x.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"===typeof e.getAttribute?x.prop(e,t,n):(1===i&&x.isXMLDoc(e)||(o=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?zt:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=x.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&q(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(V);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),zt={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=Ot[t]||x.find.attr;Ot[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=Ot[a],Ot[a]=o,o=null!=n(e,t,r)?a:null,Ot[a]=i),o}}));var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;function vt(e){return(e.match(V)||[]).join(" ")}function _t(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"===typeof e&&e.match(V)||[]}x.fn.extend({prop:function(e,t){return ee(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[x.propFix[e]||e]}))}}),x.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&x.isXMLDoc(e)||(t=x.propFix[t]||t,o=x.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this})),x.fn.extend({addClass:function(e){var t,n,r,o,i,a;return M(e)?this.each((function(t){x(this).addClass(e.call(this,t,_t(this)))})):(t=xt(e)).length?this.each((function(){if(r=_t(this),n=1===this.nodeType&&" "+vt(r)+" "){for(i=0;i-1;)n=n.replace(" "+o+" "," ");a=vt(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i,a=typeof e,s="string"===a||Array.isArray(e);return M(e)?this.each((function(n){x(this).toggleClass(e.call(this,n,_t(this),t),t)})):"boolean"===typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=xt(e),this.each((function(){if(s)for(i=x(this),o=0;o-1)return!0;return!1}});var wt=/\r/g;x.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=M(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,x(this).val()):e)?o="":"number"===typeof o?o+="":Array.isArray(o)&&(o=x.map(o,(function(e){return null==e?"":e+""}))),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"===typeof(n=o.value)?n.replace(wt,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:vt(x.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?i+1:o.length;for(r=i<0?c:a?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},h.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var qt=r.location,Wt={guid:Date.now()},Lt=/\?/;x.parseXML=function(e){var t,n;if(!e||"string"!==typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(o){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||x.error("Invalid XML: "+(n?x.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var kt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,n,o){var i,a,s,c,l,u,p,A,b=[n||z],f=d.call(e,"type")?e.type:e,h=d.call(e,"namespace")?e.namespace.split("."):[];if(a=A=s=n=n||z,3!==n.nodeType&&8!==n.nodeType&&!kt.test(f+x.event.triggered)&&(f.indexOf(".")>-1&&(h=f.split("."),f=h.shift(),h.sort()),l=f.indexOf(":")<0&&"on"+f,(e=e[x.expando]?e:new x.Event(f,"object"===typeof e&&e)).isTrigger=o?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:x.makeArray(t,[e]),p=x.event.special[f]||{},o||!p.trigger||!1!==p.trigger.apply(n,t))){if(!o&&!p.noBubble&&!m(n)){for(c=p.delegateType||f,kt.test(c+f)||(a=a.parentNode);a;a=a.parentNode)b.push(a),s=a;s===(n.ownerDocument||z)&&b.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=b[i++])&&!e.isPropagationStopped();)A=a,e.type=i>1?c:p.bindType||f,(u=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&u.apply(a,t),(u=l&&a[l])&&u.apply&&ie(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=f,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(b.pop(),t)||!ie(n)||l&&M(n[f])&&!m(n)&&((s=n[l])&&(n[l]=null),x.event.triggered=f,e.isPropagationStopped()&&A.addEventListener(f,Tt),n[f](),e.isPropagationStopped()&&A.removeEventListener(f,Tt),x.event.triggered=void 0,s&&(n[l]=s)),e.result}},simulate:function(e,t,n){var r=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(r,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each((function(){x.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}});var Rt=/\[\]$/,St=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function Ct(e,t,n,r){var o;if(Array.isArray(t))x.each(t,(function(t,o){n||Rt.test(e)?r(e,o):Ct(e+"["+("object"===typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==y(t))r(e,t);else for(o in t)Ct(e+"["+o+"]",t[o],n,r)}x.param=function(e,t){var n,r=[],o=function(e,t){var n=M(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,(function(){o(this.name,this.value)}));else for(n in e)Ct(n,e[n],t,o);return r.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Dt.test(this.nodeName)&&!Et.test(e)&&(this.checked||!ve.test(e))})).map((function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,(function(e){return{name:t.name,value:e.replace(St,"\r\n")}})):{name:t.name,value:n.replace(St,"\r\n")}})).get()}});var Nt=/%20/g,Bt=/#.*$/,Pt=/([?&])_=[^&]*/,jt=/^(.*?):[ \t]*([^\r\n]*)$/gm,It=/^(?:GET|HEAD)$/,Yt=/^\/\//,Ft={},Xt={},Ht="*/".concat("*"),Ut=z.createElement("a");function Vt(e){return function(t,n){"string"!==typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(V)||[];if(M(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Gt(e,t,n,r){var o={},i=e===Xt;function a(s){var c;return o[s]=!0,x.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!==typeof l||i||o[l]?i?!(c=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),c}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Zt(e,t){var n,r,o=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&x.extend(!0,e,r),e}Ut.href=qt.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(qt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ht,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zt(Zt(e,x.ajaxSettings),t):Zt(x.ajaxSettings,e)},ajaxPrefilter:Vt(Ft),ajaxTransport:Vt(Xt),ajax:function(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,c,l,u,p,A,d=x.ajaxSetup({},t),b=d.context||d,f=d.context&&(b.nodeType||b.jquery)?x(b):x.event,h=x.Deferred(),M=x.Callbacks("once memory"),m=d.statusCode||{},O={},g={},y="canceled",v={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=jt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?i:null},setRequestHeader:function(e,t){return null==l&&(e=g[e.toLowerCase()]=g[e.toLowerCase()]||e,O[e]=t),this},overrideMimeType:function(e){return null==l&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)v.always(e[v.status]);else for(t in e)m[t]=[m[t],e[t]];return this},abort:function(e){var t=e||y;return n&&n.abort(t),_(0,t),this}};if(h.promise(v),d.url=((e||d.url||qt.href)+"").replace(Yt,qt.protocol+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(V)||[""],null==d.crossDomain){c=z.createElement("a");try{c.href=d.url,c.href=c.href,d.crossDomain=Ut.protocol+"//"+Ut.host!==c.protocol+"//"+c.host}catch(w){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!==typeof d.data&&(d.data=x.param(d.data,d.traditional)),Gt(Ft,d,t,v),l)return v;for(p in(u=x.event&&d.global)&&0===x.active++&&x.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!It.test(d.type),o=d.url.replace(Bt,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Nt,"+")):(A=d.url.slice(o.length),d.data&&(d.processData||"string"===typeof d.data)&&(o+=(Lt.test(o)?"&":"?")+d.data,delete d.data),!1===d.cache&&(o=o.replace(Pt,"$1"),A=(Lt.test(o)?"&":"?")+"_="+Wt.guid+++A),d.url=o+A),d.ifModified&&(x.lastModified[o]&&v.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&v.setRequestHeader("If-None-Match",x.etag[o])),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&v.setRequestHeader("Content-Type",d.contentType),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Ht+"; q=0.01":""):d.accepts["*"]),d.headers)v.setRequestHeader(p,d.headers[p]);if(d.beforeSend&&(!1===d.beforeSend.call(b,v,d)||l))return v.abort();if(y="abort",M.add(d.complete),v.done(d.success),v.fail(d.error),n=Gt(Xt,d,t,v)){if(v.readyState=1,u&&f.trigger("ajaxSend",[v,d]),l)return v;d.async&&d.timeout>0&&(s=r.setTimeout((function(){v.abort("timeout")}),d.timeout));try{l=!1,n.send(O,_)}catch(w){if(l)throw w;_(-1,w)}}else _(-1,"No Transport");function _(e,t,a,c){var p,A,z,O,g,y=t;l||(l=!0,s&&r.clearTimeout(s),n=void 0,i=c||"",v.readyState=e>0?4:0,p=e>=200&&e<300||304===e,a&&(O=function(e,t,n){for(var r,o,i,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){c.unshift(o);break}if(c[0]in n)i=c[0];else{for(o in n){if(!c[0]||e.converters[o+" "+c[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==c[0]&&c.unshift(i),n[i]}(d,v,a)),!p&&x.inArray("script",d.dataTypes)>-1&&x.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),O=function(e,t,n,r){var o,i,a,s,c,l={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=i,i=u.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(a=l[c+" "+i]||l["* "+i]))for(o in l)if((s=o.split(" "))[1]===i&&(a=l[c+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[o]:!0!==l[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(w){return{state:"parsererror",error:a?w:"No conversion from "+c+" to "+i}}}return{state:"success",data:t}}(d,O,v,p),p?(d.ifModified&&((g=v.getResponseHeader("Last-Modified"))&&(x.lastModified[o]=g),(g=v.getResponseHeader("etag"))&&(x.etag[o]=g)),204===e||"HEAD"===d.type?y="nocontent":304===e?y="notmodified":(y=O.state,A=O.data,p=!(z=O.error))):(z=y,!e&&y||(y="error",e<0&&(e=0))),v.status=e,v.statusText=(t||y)+"",p?h.resolveWith(b,[A,y,v]):h.rejectWith(b,[v,y,z]),v.statusCode(m),m=void 0,u&&f.trigger(p?"ajaxSuccess":"ajaxError",[v,d,p?A:z]),M.fireWith(b,[v,y]),u&&(f.trigger("ajaxComplete",[v,d]),--x.active||x.event.trigger("ajaxStop")))}return v},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],(function(e,t){x[t]=function(e,n,r,o){return M(n)&&(o=o||r,r=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:o,data:n,success:r},x.isPlainObject(e)&&e))}})),x.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(M(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return M(e)?this.each((function(t){x(this).wrapInner(e.call(this,t))})):this.each((function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=M(e);return this.each((function(n){x(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){x(this).replaceWith(this.childNodes)})),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},$t=x.ajaxSettings.xhr();h.cors=!!$t&&"withCredentials"in $t,h.ajax=$t=!!$t,x.ajaxTransport((function(e){var t,n;if(h.cors||$t&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!==typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Qt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!==typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(c){if(t)throw c}},abort:function(){t&&t()}}})),x.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),x.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=x("