Commit db153df1 authored by zhangrui123's avatar zhangrui123

修改非居门牌幢数量

parent 036a648c
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Plugins=t()}(this,function(){"use strict";var e=(t.prototype._addListener=function(e,t,i){if(this.emit("newListener",e,t),this.events.has(e)){var r=this.events.get(e);i?r.unshift(t):r.push(t)}else this.events.set(e,[t]);var o=this.getMaxListeners();if(0<o&&this.listenerCount(e)>o){var n=new Error("Possible EventEmitter memory leak detected.\n "+this.listenerCount(e)+" "+e.toString()+" listeners.\n Use emitter.setMaxListeners() to increase limit");n.name="MaxListenersExceededWarning",console.warn(n)}return this},t.prototype.addListener=function(e,t){return this._addListener(e,t,!1)},t.prototype.emit=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];if(this.events.has(e)){for(var r=0,o=this.events.get(e).slice();r<o.length;r++){var n=o[r];try{n.apply(this,t)}catch(e){this.emit("error",e)}}return!0}if("error"===e)throw 0<t.length?t[0]:Error("Unhandled error.");return!1},t.prototype.eventNames=function(){return Array.from(this.events.keys())},t.prototype.getMaxListeners=function(){return this.maxListeners||t.defaultMaxListeners},t.prototype.listenerCount=function(e){return this.events.has(e)?this.events.get(e).length:0},t.prototype._listeners=function(e,t,i){if(!e.events.has(t))return[];var r=e.events.get(t);return i?this.unwrapListeners(r):r.slice(0)},t.prototype.unwrapListeners=function(e){for(var t=new Array(e.length),i=0;i<e.length;i++)t[i]=e[i].listener||e[i];return t},t.prototype.listeners=function(e){return this._listeners(this,e,!0)},t.prototype.rawListeners=function(e){return this._listeners(this,e,!1)},t.prototype.off=function(e,t){return this.removeListener(e,t)},t.prototype.on=function(e,t){return this.addListener(e,t)},t.prototype.once=function(e,t){var i=this.onceWrap(e,t);return this.on(e,i),this},t.prototype.onceWrap=function(e,t){function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.context.removeListener(this.eventName,this.rawListener),this.listener.apply(this.context,e)}var r={eventName:e,listener:t,rawListener:i,context:this},o=i.bind(r);return(r.rawListener=o).listener=t,o},t.prototype.prependListener=function(e,t){return this._addListener(e,t,!0)},t.prototype.prependOnceListener=function(e,t){var i=this.onceWrap(e,t);return this.prependListener(e,i),this},t.prototype.removeAllListeners=function(e){var t=this;if(void 0===this.events)return this;if(this.events.has(e)){var i=this.events.get(e).slice();this.events.delete(e);for(var r=0,o=i;r<o.length;r++){var n=o[r];this.emit("removeListener",e,n)}}else this.eventNames().map(function(e){t.removeAllListeners(e)});return this},t.prototype.removeListener=function(e,t){if(this.events.has(e)){var i=this.events.get(e);-1!==i.indexOf(t)&&(i.splice(i.indexOf(t),1),this.emit("removeListener",e,t),0===i.length&&this.events.delete(e))}return this},t.prototype.setMaxListeners=function(e){return this.maxListeners=e,this},t.defaultMaxListeners=50,t);function t(){this.events=new Map}var y=(i.jsapi="http://10.108.3.16/smiapi/arcgis",i.jsapiversion4X="4.15",i);function i(){}var a=y.jsapiversion4X,o="next";function n(e){if(null===e&&(e=a),e.toString().toLowerCase()===o)return o;var t=e&&e.match(/^(\d)\.(\d+)/);return t&&{major:parseInt(t[1],10),minor:parseInt(t[2],10)}}function l(e){return void 0===e&&(e=a),y.jsapi+"/"+e+"/init.js"}function s(e){var t=document.createElement("link");return t.rel="stylesheet",t.href=e,t}function u(e,t){if(t){var i=document.querySelector(t);i.parentNode.insertBefore(e,i)}else document.head.appendChild(e)}function d(e){return document.querySelector('link[href*="'+e+'"]')}function c(e){return!e||n(e)?function(e){void 0===e&&(e=a),null===e&&(e=a);var t=l(e),i=t.substring(0,t.indexOf("init.js")),r=n(e);return r===o||3!==r.major?i+"esri/themes/light/main.css":i+(r.minor<=10?"js/":"")+"esri/css/esri.css"}(e):e}function p(e,t){var i=c(e),r=d(i);if(r||u(r=s(i),t),4===function(e){null===e&&(e=a);var t=e&&e.match(/^(\d)\.(\d+)/);return t&&{major:parseInt(t[1],10),minor:parseInt(t[2],10)}}(e).major){var o=i.substring(0,i.indexOf("esri/themes/"))+"esri/themes/gis/css/gis.css",n=d(o);n||u(n=s(o),t)}return r}var r={Promise:"undefined"!=typeof window?window.Promise:void 0},f={};function h(e,t,i){var r,o,n,a;i&&(n=i,a=function(e){n(e.error||new Error("There was an error attempting to load "+o.src)),o.removeEventListener("error",a,!1)},(o=e).addEventListener("error",a,!1),r=a);var l=function(){t(e),e.removeEventListener("load",l,!1),r&&e.removeEventListener("error",r,!1)};e.addEventListener("load",l,!1)}function v(){return document.querySelector("script[data-shsmi]")}function b(){var e=window.require;return e&&e.on}function m(e){void 0===e&&(e={});var s={};[f,e].forEach(function(e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(s[t]=e[t])});var u=s.version,d=s.url||l(u);return new r.Promise(function(e,t){var i,r,o=v();if(o){var n=o.getAttribute("src");n!==d?t(new Error("The ArcGIS API for JavaScript is already loaded ("+n+").")):b()?e(o):h(o,e,t)}else if(b())t(new Error("The ArcGIS API for JavaScript is already loaded."));else{var a=s.css;if(a)p(!0===a?u:a,s.insertCssBefore);else p(null,s.insertCssBefore);if(s.dojoConfig)window.dojoConfig=s.dojoConfig;else{var l={async:!0,packages:[{location:y.jsapi+"/extensions",name:"smiapi"},{location:y.jsapi+"/extensions/geolocation",name:"geolocate",main:"geolocate"}],deps:["@dojo/framework/shim/main"],has:{"esri-promise-compatibility":1,"esri-featurelayer-webgl":1}};window.dojoConfig=l}i=d,(r=document.createElement("script")).type="text/javascript",r.src=i,r.setAttribute("data-shsmi","loading"),h(o=r,function(){o.setAttribute("data-shsmi","loaded"),e(o)},t),document.head.appendChild(o)}})}function w(t){return new r.Promise(function(i,e){var r=window.require.on("error",e);window.require(t,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r.remove(),i(e)})})}function g(e,t){if(void 0===t&&(t={}),b())return w(e);var i=v(),r=i&&i.getAttribute("src");return!t.url&&r&&(t.url=r),m(t).then(function(){return w(e)})}var L=(x.prototype.S4=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)},x.prototype.get_uuid=function(){return this.S4()+this.S4()+"-"+this.S4()+"-"+this.S4()+"-"+this.S4()+"-"+this.S4()+this.S4()+this.S4()},x);function x(){this.uuid=this.get_uuid()}var k=(z.maploaded="maploaded",z.zoomchanged="zoomchanged",z.extentchanged="extentchanged",z.centerchanged="centerchanged",z.blur="blur",z.click="click",z.doubleclick="doubleclick",z.drag="drag",z.focus="focus",z.hold="hold",z.keydown="key-down",z.keyup="key-up",z.mousewheel="mouse-wheel",z.pointerdown="pointer-down",z.pointerenter="pointer-enter",z.pointerleave="pointer-leave",z.pointermove="pointer-move",z.pointerup="pointer-up",z.resize="pointer-up",z.popupvisible="popup-visible",z);function z(){}var C,S,I=(C=function(e,t){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}C(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),R=function(e,a,l,s){return new(l=l||Promise)(function(i,t){function r(e){try{n(s.next(e))}catch(e){t(e)}}function o(e){try{n(s.throw(e))}catch(e){t(e)}}function n(e){var t;e.done?i(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(r,o)}n((s=s.apply(e,a||[])).next())})},A=function(i,r){var o,n,a,e,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,n&&(a=2&t[0]?n.return:t[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,t[1])).done)return a;switch(n=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,n=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=r.call(i,l)}catch(e){t=[6,e],n=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},E=(I(B,S=e),B.prototype.add=function(a){var l=this;void 0===a&&(a={}),g(["esri/layers/GraphicsLayer","esri/Graphic","esri/layers/FeatureLayer"]).then(function(e){var t=e[0],o=e[1],i=e[2];if(l.view){var r=null;if(a.boundaryType&&(r=l.view.map.findLayerById(a.boundaryType)),r||a.url&&(r=new i({url:a.url,id:a.boundaryType,title:a.boundaryType,visible:!1}),l.view.map.add(r)),r){var n=r.createQuery();n.where=a.boundaryDefinition,r.queryFeatures(n).then(function(e){if(0<e.features.length){var i,r=l.view.map.findLayerById(l.displayedLayerid);void 0===r&&(r=new t({title:l.displayedLayerid+"边界",id:l.displayedLayerid,listMode:"hide"}),l.view.map.add(r)),i=void 0!==a.symbol?a.symbol:{type:"simple-fill",color:[255,255,255,0],outline:{color:[255,255,0,1],width:"5px"}},e.features.map(function(e){var t=new o({geometry:e.geometry,symbol:i,attributes:e.attributes});r.add(t)})}})}}}).catch(function(e){console.error(e)})},B.prototype.remove=function(){var e=this.view.map.findLayerById(this.displayedLayerid);e&&this.view.map.remove(e)},B.prototype.show=function(){var e=this.view.map.findLayerById(this.displayedLayerid);e&&(e.visible=!0)},B.prototype.hide=function(){var e=this.view.map.findLayerById(this.displayedLayerid);e&&(e.visible=!1)},B.prototype.init=function(t){return R(this,void 0,void 0,function(){var r=this;return A(this,function(e){return this.displayedLayerid=(new L).uuid,this.view=t,this.view.on(k.click,function(i){r.view.hitTest(i).then(function(t){return R(r,void 0,void 0,function(){return A(this,function(e){return 0<t.results.length&&t.results[0].graphic.layer.id===this.displayedLayerid&&this.emit(k.click,t.results[0].graphic,i.mapPoint),[2]})})})}),this.view.on(k.pointermove,function(i){r.view.hitTest(i).then(function(t){return R(r,void 0,void 0,function(){return A(this,function(e){return 0<t.results.length&&t.results[0].graphic.layer.id===this.displayedLayerid&&this.emit(k.pointermove,t.results[0].graphic,i.mapPoint),[2]})})})}),[2]})})},B);function B(e){var t=S.call(this)||this;return t.displayedLayerid="",t.view=null,t.init(e),t}var _,P,M=(_=function(e,t){return(_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),j=function(e,a,l,s){return new(l=l||Promise)(function(i,t){function r(e){try{n(s.next(e))}catch(e){t(e)}}function o(e){try{n(s.throw(e))}catch(e){t(e)}}function n(e){var t;e.done?i(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(r,o)}n((s=s.apply(e,a||[])).next())})},O=function(i,r){var o,n,a,e,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,n&&(a=2&t[0]?n.return:t[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,t[1])).done)return a;switch(n=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,n=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=r.call(i,l)}catch(e){t=[6,e],n=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},W=(M(T,P=e),T.prototype.drawcircle=function(){var y=this;g(["esri/views/draw/Draw","esri/Graphic","esri/layers/GraphicsLayer","esri/geometry/Point","esri/geometry/geometryEngine"]).then(function(e){var t=e[0],a=e[1],i=e[2],l=e[3],s=e[4],r=new t({view:y.view}),u=y.view.map.findLayerById(y.displayedLayerid);null==u&&(u=new i({id:y.displayedLayerid,title:"绘制结果显示层",listMode:"hide"}),y.view.map.add(u));var o=(new L).uuid,d=y.view.map.findLayerById(o);d||(d=new i({id:y.displayedLayerid,title:"画圆显示层",listMode:"hide"}),y.view.map.add(d));var n=r.create("circle",{mode:"click"});y.view.focus(),n.on("vertex-add",function(e){if(2===e.vertices.length){d.removeAll();var t=new l({x:e.vertices[0][0],y:e.vertices[0][1],spatialReference:y.view.spatialReference}),i=new l({x:e.vertices[1][0],y:e.vertices[1][1],spatialReference:y.view.spatialReference}),r=s.distance(t,i,"meters"),o=s.buffer(t,r,"meters"),n=new a({geometry:o,symbol:y.polygonsymbol});d.add(n)}}),n.on("vertex-remove",function(e){console.log(e)}),n.on("cursor-update",function(e){if(2===e.vertices.length){d.removeAll();var t=new l({x:e.vertices[0][0],y:e.vertices[0][1],spatialReference:y.view.spatialReference}),i=new l({x:e.vertices[1][0],y:e.vertices[1][1],spatialReference:y.view.spatialReference}),r=s.distance(t,i,"meters"),o=s.buffer(t,r,"meters"),n=new a({geometry:o,symbol:y.polygonsymbol});d.add(n)}}),n.on("redo",function(e){console.log(e)}),n.on("undo",function(e){console.log(e)}),n.on("draw-complete",function(e){if(2===e.vertices.length){var t=new l({x:e.vertices[0][0],y:e.vertices[0][1],spatialReference:y.view.spatialReference}),i=new l({x:e.vertices[1][0],y:e.vertices[1][1],spatialReference:y.view.spatialReference}),r=s.distance(t,i,"meters"),o=s.buffer(t,r,"meters"),n=new a({geometry:o,symbol:y.polygonsymbol});y.view.map.remove(d),u.add(n),y.emit("drawcomplete",n,"circle")}})})},T.prototype.drawrectangle=function(){var y=this;g(["esri/views/draw/Draw","esri/Graphic","esri/layers/GraphicsLayer","esri/geometry/Polygon"]).then(function(e){var t=e[0],l=e[1],i=e[2],s=e[3],r=new t({view:y.view}),u=y.view.map.findLayerById(y.displayedLayerid);u||(u=new i({id:y.displayedLayerid,title:"绘制结果显示层",listMode:"hide"}),y.view.map.add(u));var o=(new L).uuid,d=y.view.map.findLayerById(o);null==d&&(d=new i({id:y.displayedLayerid,title:"画矩形追踪显示层",listMode:"hide"}),y.view.map.add(d));var n=r.create("rectangle",{mode:"click"});y.view.focus(),n.on("vertex-add",function(e){if(2===e.vertices.length){d.removeAll();var t=e.vertices[0][0]>e.vertices[1][0]?e.vertices[1][0]:e.vertices[0][0],i=e.vertices[0][1]>e.vertices[1][1]?e.vertices[1][1]:e.vertices[0][1],r=e.vertices[0][0]>e.vertices[1][0]?e.vertices[0][0]:e.vertices[1][0],o=e.vertices[0][1]>e.vertices[1][1]?e.vertices[0][1]:e.vertices[1][1],n=new s({hasZ:!0,hasM:!0,rings:[[[t,i],[r,i],[r,o],[t,o],[t,i]]],spatialReference:y.view.spatialReference}),a=new l({geometry:n,symbol:y.polygonsymbol});d.add(a)}}),n.on("vertex-remove",function(e){console.log(e)}),n.on("cursor-update",function(e){if(2===e.vertices.length){d.removeAll();var t=e.vertices[0][0]>e.vertices[1][0]?e.vertices[1][0]:e.vertices[0][0],i=e.vertices[0][1]>e.vertices[1][1]?e.vertices[1][1]:e.vertices[0][1],r=e.vertices[0][0]>e.vertices[1][0]?e.vertices[0][0]:e.vertices[1][0],o=e.vertices[0][1]>e.vertices[1][1]?e.vertices[0][1]:e.vertices[1][1],n=new s({hasZ:!0,hasM:!0,rings:[[[t,i],[r,i],[r,o],[t,o],[t,i]]],spatialReference:y.view.spatialReference}),a=new l({geometry:n,symbol:y.polygonsymbol});d.add(a)}}),n.on("redo",function(e){console.log(e)}),n.on("undo",function(e){console.log(e)}),n.on("draw-complete",function(e){if(2===e.vertices.length){var t=e.vertices[0][0]>e.vertices[1][0]?e.vertices[1][0]:e.vertices[0][0],i=e.vertices[0][1]>e.vertices[1][1]?e.vertices[1][1]:e.vertices[0][1],r=e.vertices[0][0]>e.vertices[1][0]?e.vertices[0][0]:e.vertices[1][0],o=e.vertices[0][1]>e.vertices[1][1]?e.vertices[0][1]:e.vertices[1][1],n=new s({hasZ:!0,hasM:!0,rings:[[[t,i],[r,i],[r,o],[t,o],[t,i]]],spatialReference:y.view.spatialReference}),a=new l({geometry:n,symbol:y.polygonsymbol});y.view.map.remove(d),u.add(a),y.emit("drawcomplete",a,"rectangle")}})})},T.prototype.drawPoint=function(){var u=this;g(["esri/views/draw/Draw","esri/Graphic","esri/layers/GraphicsLayer"]).then(function(e){var t=e[0],r=e[1],i=e[2],o=new t({view:u.view}),n=u.view.map.findLayerById(u.displayedLayerid);n||(n=new i({id:u.displayedLayerid,title:"绘制结果显示层",listMode:"hide"}),u.view.map.add(n));var a=(new L).uuid,l=u.view.map.findLayerById(a);null==l&&(l=new i({id:u.displayedLayerid,title:"画点移动追踪显示层",listMode:"hide"}),u.view.map.add(l));var s=o.create("point",{mode:"click"});u.view.focus(),s.on("vertex-add",function(e){console.log(e)}),s.on("vertex-remove",function(e){console.log(e)}),s.on("cursor-update",function(e){l.removeAll();var t={type:"point",x:e.coordinates[0],y:e.coordinates[1],spatialReference:u.view.spatialReference},i=new r({geometry:t,symbol:u.marksymbol});l.add(i)}),s.on("redo",function(e){console.log(e)}),s.on("undo",function(e){console.log(e)}),s.on("draw-complete",function(e){var t={type:"point",x:e.coordinates[0],y:e.coordinates[1],spatialReference:u.view.spatialReference},i=new r({geometry:t,symbol:u.marksymbol});u.view.map.remove(l),n.add(i),u.emit("drawcomplete",i,"point")})})},T.prototype.drawMultipoint=function(){var y=this;g(["esri/views/draw/Draw","esri/views/draw/PointDrawAction","esri/Graphic","esri/layers/GraphicsLayer","esri/geometry/Polygon","esri/geometry/geometryEngine"]).then(function(e){var t=e[0],o=(e[1],e[2]),i=e[3],r=(e[4],e[5],new t({view:y.view})),n=y.view.map.findLayerById(y.displayedLayerid);n||(n=new i({id:y.displayedLayerid,title:"绘制结果显示层",listMode:"hide"}),y.view.map.add(n));var a=(new L).uuid,l=y.view.map.findLayerById(a);null==l&&(l=new i({id:y.displayedLayerid,title:"画多点显示层",listMode:"hide"}),y.view.map.add(l));var s=(new L).uuid,u=y.view.map.findLayerById(s);null==u&&(u=new i({id:y.displayedLayerid,title:"移动追踪点显示层",listMode:"hide"}),y.view.map.add(u));var d=r.create("multipoint",{mode:"click"});y.view.focus(),d.on("vertex-add",function(e){l.removeAll(),e.vertices.map(function(e){var t={type:"point",x:e[0],y:e[1],spatialReference:y.view.spatialReference},i=new o({geometry:t,symbol:y.marksymbol});l.add(i)})}),d.on("vertex-remove",function(e){console.log(e)}),d.on("cursor-update",function(e){u.removeAll(),e.vertices.map(function(e){var t={type:"point",x:e[0],y:e[1],spatialReference:y.view.spatialReference},i=new o({geometry:t,symbol:y.marksymbol});u.add(i)})}),d.on("redo",function(e){console.log(e)}),d.on("undo",function(e){console.log(e)}),d.on("draw-complete",function(e){l.removeAll();var r=[];e.vertices.map(function(e){var t={type:"point",x:e[0],y:e[1],spatialReference:y.view.spatialReference},i=new o({geometry:t,symbol:y.marksymbol});r.push(i),n.add(i)}),y.view.map.remove(l),y.view.map.remove(u),y.emit("drawcomplete",r,"multipoint")})})},T.prototype.drawPolyline=function(){var d=this;g(["esri/views/draw/Draw","esri/Graphic","esri/layers/GraphicsLayer","esri/geometry/geometryEngine"]).then(function(e){var t=e[0],a=e[1],i=e[2],l=e[3],r=new t({view:d.view}),s=d.view.map.findLayerById(d.displayedLayerid);s||(s=new i({id:d.displayedLayerid,title:"绘制结果显示层",listMode:"hide"}),d.view.map.add(s));var o=(new L).uuid,u=d.view.map.findLayerById(o);null==u&&(u=new i({id:d.displayedLayerid,title:"画线显示层",listMode:"hide"}),d.view.map.add(u));var n=r.create("polyline");d.view.focus(),n.on(["vertex-add","vertex-remove","cursor-update","redo","undo"],function(e){if(1<e.vertices.length){var t=e.vertices;u.removeAll();var i=new a({geometry:{type:"polyline",paths:t,spatialReference:d.view.spatialReference},symbol:d.polylinesymbol}),r=function(e){var t=e.clone(),i=t.removePoint(0,t.paths[0].length-1),r=t.getPoint(0,t.paths[0].length-1);return{type:"polyline",spatialReference:d.view.spatialReference,hasZ:!1,paths:[[[r.x,r.y],[i.x,i.y]]]}};if(function(e){if(!(e.paths[0].length<3)){var t=e.clone(),i=r(e);return t.removePoint(0,t.paths[0].length-1),l.crosses(i,t)}}(i.geometry)){var o=new a({geometry:r(i.geometry),symbol:d.polylinesymbol});o&&u.addMany([i,o]),o&&e.preventDefault()}else u.add(i)}}),n.on("draw-complete",function(e){if(1<e.vertices.length){var t=e.vertices;u.removeAll();var i=new a({geometry:{type:"polyline",paths:t,spatialReference:d.view.spatialReference},symbol:d.polylinesymbol}),r=function(e){var t=e.clone(),i=t.removePoint(0,t.paths[0].length-1),r=t.getPoint(0,t.paths[0].length-1);return{type:"polyline",spatialReference:d.view.spatialReference,hasZ:!1,paths:[[[r.x,r.y],[i.x,i.y]]]}},o=null;if(function(e){if(!(e.paths[0].length<3)){var t=e.clone(),i=r(e);return t.removePoint(0,t.paths[0].length-1),l.crosses(i,t)}}(i.geometry)){var n=new a({geometry:r(i.geometry),symbol:d.polylinesymbol});n&&(s.addMany([i,n]),o=new a({geometry:l.union(i.geometry,n.geometry),symbol:d.polylinesymbol})),n&&e.preventDefault()}else o=i,s.add(i);d.view.map.remove(u),d.emit("drawcomplete",o,"polyline")}})})},T.prototype.drawPolygon=function(){var u=this;g(["esri/views/draw/Draw","esri/Graphic","esri/layers/GraphicsLayer","esri/geometry/geometryEngine"]).then(function(e){var t=e[0],o=e[1],i=e[2],r=(e[3],new t({view:u.view})),n=u.view.map.findLayerById(u.displayedLayerid);n||(n=new i({id:u.displayedLayerid,title:"绘制结果显示层",listMode:"hide"}),u.view.map.add(n));var a=(new L).uuid,l=u.view.map.findLayerById(a);null==l&&(l=new i({id:u.displayedLayerid,title:"画面显示层",listMode:"hide"}),u.view.map.add(l));var s=r.create("polygon");u.view.focus(),s.on(["vertex-add","vertex-remove","cursor-update","redo","undo"],function(e){var t=e.vertices;l.removeAll();var i={type:"polygon",rings:t,spatialReference:u.view.spatialReference},r=new o({geometry:i,symbol:u.polygonsymbol});l.add(r)}),s.on("draw-complete",function(e){var t=e.vertices;l.removeAll();var i={type:"polygon",rings:t,spatialReference:u.view.spatialReference},r=new o({geometry:i,symbol:u.polygonsymbol});u.view.map.remove(l),n.add(r),u.emit("drawcomplete",r,"polygon")})})},T.prototype.clean=function(){var e=this.view.map.findLayerById(this.displayedLayerid);e&&this.view.map.remove(e)},T.prototype.show=function(){var e=this.view.map.findLayerById(this.displayedLayerid);e&&(e.visible=!0)},T.prototype.hide=function(){var e=this.view.map.findLayerById(this.displayedLayerid);e&&(e.visible=!1)},T.prototype.init=function(i){return j(this,void 0,void 0,function(){var t=this;return O(this,function(e){return this.displayedLayerid=(new L).uuid,this.view=i,this.view.on(k.click,function(e){t.view.hitTest(e).then(function(e){return j(t,void 0,void 0,function(){return O(this,function(e){return[2]})})})}),this.view.on(k.pointermove,function(e){t.view.hitTest(e).then(function(e){return j(t,void 0,void 0,function(){return O(this,function(e){return[2]})})})}),[2]})})},T);function T(e){var t=P.call(this)||this;return t.marksymbol=null,t.polylinesymbol=null,t.polygonsymbol=null,t.displayedLayerid="",t.view=null,t.drawlayerscollection=[],t.init(e),t.polygonsymbol={type:"simple-fill",color:[255,255,255,.6],style:"solid",outline:{color:[255,255,0,.8],width:2}},t.polylinesymbol={type:"simple-line",color:[255,255,255,1],width:"4px",style:"solid"},t.marksymbol={type:"simple-marker",style:"circle",color:[255,255,0,1],size:"24px",outline:{color:[255,255,255,.8],width:1}},t}var H,G,Z=(H=function(e,t){return(H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}H(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),J=function(e,a,l,s){return new(l=l||Promise)(function(i,t){function r(e){try{n(s.next(e))}catch(e){t(e)}}function o(e){try{n(s.throw(e))}catch(e){t(e)}}function n(e){var t;e.done?i(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(r,o)}n((s=s.apply(e,a||[])).next())})},F=function(i,r){var o,n,a,e,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,n&&(a=2&t[0]?n.return:t[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,t[1])).done)return a;switch(n=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,n=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=r.call(i,l)}catch(e){t=[6,e],n=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},D=(Z(q,G=e),q.prototype.add=function(a){var l=this;g(["esri/layers/echartsLayer"]).then(function(e){var t=e[0],i=document.getElementsByClassName("esri-view-surface")[0],r=document.getElementById(l.displayedLayerid);null!==r&&i.removeChild(r);var o=[];l.datas=a.datas,a.datas.forEach(function(e,t){o.push({name:"Top10",type:"effectScatter",coordinateSystem:"arcgis",zlevel:2,showEffectOn:"render",rippleEffect:{brushType:"stroke"},legendHoverLink:!0,hoverAnimation:!0,symbol:null==e.symbol||void 0===e.symbol?"diamond":e.symbol,cursor:"pointer",label:{normal:{show:!0,position:null==e.labelposition||void 0===e.labelposition?"right":e.labelposition,formatter:"{b}"}},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1},symbolSize:function(e){return e[2]/8},itemStyle:{normal:{color:e.color,shadowBlur:10,shadowColor:"#333"}},data:[{name:e.name,value:[e.x,e.y].concat([e.value])}]})});var n={title:{text:"",subtext:"",left:"center",textStyle:{color:"#fff"}},series:o};new t(l.view,"",l.displayedLayerid).setChartOption(n)})},q.prototype.update=function(a){var l=this;g(["esri/layers/echartsLayer"]).then(function(e){var t=e[0],i=document.getElementsByClassName("esri-view-surface")[0],r=document.getElementById(l.displayedLayerid);null!==r&&i.removeChild(r);var o=[];l.datas=a.datas,a.datas.forEach(function(e,t){o.push({name:"Top10",type:"effectScatter",coordinateSystem:"arcgis",zlevel:2,showEffectOn:"render",rippleEffect:{brushType:"stroke"},legendHoverLink:!0,hoverAnimation:!0,symbol:null==e.symbol||void 0===e.symbol?"diamond":e.symbol,cursor:"pointer",label:{normal:{show:!0,position:null==e.labelposition||void 0===e.labelposition?"right":e.labelposition,formatter:"{b}"}},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1},symbolSize:function(e){return e[2]/8},itemStyle:{normal:{color:e.color,shadowBlur:10,shadowColor:"#333"}},data:[{name:e.name,value:[e.x,e.y].concat([e.value])}]})});var n={title:{text:"",subtext:"",left:"center",textStyle:{color:"#fff"}},series:o};new t(l.view,"",l.displayedLayerid).setChartOption(n)})},q.prototype.delete=function(){var e=document.getElementsByClassName("esri-view-surface")[0],t=document.getElementById(this.displayedLayerid);null!==t&&e.removeChild(t)},q.prototype.init=function(t){return J(this,void 0,void 0,function(){var s=this;return F(this,function(e){return this.view=t,this.displayedLayerid=(new L).uuid,g(["esri/geometry/Point","esri/geometry/SpatialReference","esri/geometry/support/webMercatorUtils"]).then(function(e){var a=e[0],l=e[1];e[2],s.view.on(k.click,function(r){if(s.datas.length){var i=s.datas.map(function(e){var t=new a({x:e.x,y:e.y,spatialReference:l.WebMercator}),i=s.view.toScreen(t);return Math.sqrt((i.x-r.x)*(i.x-r.x)+(i.y-r.y)*(i.y-r.y))}),o=0;i.forEach(function(e,t){e<i[o]&&(o=t)}),35<i[o]||s.emit(k.click,s.datas[o],r.mapPoint)}}),s.view.on(k.doubleclick,function(r){if(s.datas.length){var i=s.datas.map(function(e){var t=new a({x:e.x,y:e.y,spatialReference:l.WebMercator}),i=s.view.toScreen(t);return Math.sqrt((i.x-r.x)*(i.x-r.x)+(i.y-r.y)*(i.y-r.y))}),o=0;i.forEach(function(e,t){e<i[o]&&(o=t)}),35<i[o]||s.emit(k.doubleclick,s.datas[o],r.mapPoint)}}),s.view.on(k.pointermove,function(n){s.view.hitTest(n).then(function(t){return J(s,void 0,void 0,function(){var i,r,o=this;return F(this,function(e){if(0<t.results.length&&t.results[0].graphic.layer.id===this.displayedLayerid){if(!this.datas.length)return[2];if(i=this.datas.map(function(e){var t=new a({x:e.x,y:e.y,spatialReference:l.WebMercator}),i=o.view.toScreen(t);return Math.sqrt((i.x-n.x)*(i.x-n.x)+(i.y-n.y)*(i.y-n.y))}),r=0,i.forEach(function(e,t){e<i[r]&&(r=t)}),35<i[r])return[2];this.emit(k.pointermove,this.datas[r],this.view.toMap({x:n.x,y:n.y}))}return[2]})})})})}),[2]})})},q);function q(e){var t=G.call(this)||this;return t.displayedLayerid="",t.view=null,t.datas=null,t.init(e),t}var N,X,Y=(N=function(e,t){return(N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}N(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),V=function(e,a,l,s){return new(l=l||Promise)(function(i,t){function r(e){try{n(s.next(e))}catch(e){t(e)}}function o(e){try{n(s.throw(e))}catch(e){t(e)}}function n(e){var t;e.done?i(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(r,o)}n((s=s.apply(e,a||[])).next())})},U=function(i,r){var o,n,a,e,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,n&&(a=2&t[0]?n.return:t[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,t[1])).done)return a;switch(n=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,n=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=r.call(i,l)}catch(e){t=[6,e],n=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},Q=(Y($,X=e),$.prototype.createFeatureGroup=function(h){var v=this,e=this.view.map.findLayerById(this.displayedLayerid);e&&(this.view.map.remove(e),this.mapoverlayersflayer=[]),g(["esri/layers/FeatureLayer","esri/layers/support/LabelClass","esri/Graphic","esri/geometry/Point","esri/symbols/PictureMarkerSymbol"]).then(function(e){var t=e[0],i=e[1],r=e[2],o=e[3];if(e[4],"group"===h.type){var n,a=[{name:"objectId",alias:"objectId",type:"oid"},{name:"uuid",alias:"唯一标识",type:"string"}];if(a.push({name:"style",alias:"样式",type:"string"}),h.datafiled.forEach(function(e){a.push(e)}),"marker"===h.overlaytype.toLowerCase()){h.renderer?n=h.renderer:(n={type:"unique-value",field:"style",uniqueValueInfos:[]},h.style.forEach(function(e){"3d"===v.view.type?n.uniqueValueInfos.push({value:e.style,label:e.style,symbol:{type:"point-3d",symbolLayers:[{type:"icon",size:e.size.height,resource:{href:e.url}}]}}):n.uniqueValueInfos.push({value:e.style,label:e.style,symbol:{type:"picture-marker",url:e.url,width:e.size.height,height:e.size.height}})}));var l=new t({id:v.displayedLayerid,title:v.displayedLayerid,objectIdField:"objectId",geometryType:"point",renderer:n,screenSizePerspectiveEnabled:"3d"===v.view.type,popupEnabled:!1,popupTemplate:!1,fields:a,source:[],spatialReference:v.view.spatialReference});if(h.elevationInfo&&(l.elevationInfo=h.elevationInfo),v.view.map.add(l),h.overlayers.forEach(function(e){if(e.attributes&&e.position){e.attributes.uuid=e.uuid;var t=new r({geometry:new o({x:e.position[0],y:e.position[1],z:void 0===e.position[2]?0:e.position[2],spatialReference:v.view.spatialReference}),attributes:e.attributes});l.source.add(t),v.mapoverlayersflayer.push([h.uuid,e.uuid,t])}}),100<l.source.items.length&&null!=h.frreduction&&(l.featureReduction={type:h.frreduction.type,clusterRadius:h.frreduction.clusterRadius}),h.label.visible){var s=void 0;if(h.label.labelingInfo)s=h.label.labelingInfo,l.labelingInfo=s;else{var u=new i({labelExpressionInfo:{expression:"$feature.NAME"},symbol:s="2d"===v.view.type?{type:h.label.type,text:h.label.text,color:h.label.color,angle:h.label.angle,backgroundColor:h.label.backgroundColor,borderLineColor:h.label.borderLineColor,borderLineSize:h.label.borderLineSize,kerning:h.label.kerning,lineHeight:h.label.lineHeight,lineWidth:h.label.lineWidth,rotated:h.label.rotated,haloColor:h.label.haloColor,haloSize:h.label.haloSize,xoffset:h.label.xoffset,yoffset:h.label.yoffset,verticalAlignment:h.label.verticalAlignment,horizontalAlignment:h.label.horizontalAlignment,font:{size:h.label.size,family:"Josefin Slab",weight:h.label.weight}}:{type:"label-3d",symbolLayers:[{type:"text",material:{color:h.label.color},size:h.label.size,halo:{color:h.label.haloColor,size:h.label.haloSize}}]},labelPlacement:h.label.placement,minScale:h.label.minScale,maxScale:h.label.maxScale});l.labelingInfo=[u]}}}}else if("element"===h.type&&"marker"===h.overlaytype.toLowerCase()){var d=void 0;d=h.renderer?h.renderer:"3d"===v.view.type?{type:"simple",symbol:{type:"point-3d",symbolLayers:[{type:"icon",size:h.icon.size.width,resource:{href:h.icon.image}}]}}:{type:"simple",symbol:{type:"picture-marker",url:h.icon.image,width:h.icon.size.width,height:h.icon.size.height}};var y=[{name:"objectId",alias:"objectId",type:"oid"},{name:"uuid",alias:"唯一标识",type:"string"}];Object.keys(h.attributes).forEach(function(e){y.push({name:e,alias:e,type:"string"})});var c=new t({id:v.displayedLayerid,title:v.displayedLayerid,objectIdField:"objectId",geometryType:"point",renderer:d,screenSizePerspectiveEnabled:!0,popupEnabled:!1,popupTemplate:!1,fields:y,source:[],spatialReference:v.view.spatialReference});if(h.elevationInfo&&(c.elevationInfo=h.elevationInfo),h.position&&h.attributes){var p=h.attributes;p.uuid=h.uuid;var f=new r({geometry:new o({x:h.position[0],y:h.position[1],z:void 0===h.position[2]?0:h.position[2],spatialReference:v.view.spatialReference}),attributes:p});c.source.add(f),v.mapoverlayersflayer.push([h.uuid,h.uuid,f])}v.view.map.add(c),h.label.visible&&(s=void 0,h.label.labelingInfo?(s=h.label.labelingInfo,c.labelingInfo=s):(u=new i({labelExpressionInfo:{expression:"$feature.NAME"},symbol:s="2d"===v.view.type?{type:h.label.type,text:h.label.text,color:h.label.color,angle:h.label.angle,backgroundColor:h.label.backgroundColor,borderLineColor:h.label.borderLineColor,borderLineSize:h.label.borderLineSize,kerning:h.label.kerning,lineHeight:h.label.lineHeight,lineWidth:h.label.lineWidth,rotated:h.label.rotated,haloColor:h.label.haloColor,haloSize:h.label.haloSize,xoffset:h.label.xoffset,yoffset:h.label.yoffset,verticalAlignment:h.label.verticalAlignment,horizontalAlignment:h.label.horizontalAlignment,font:{size:h.label.size,family:"Josefin Slab",weight:h.label.weight}}:{type:"label-3d",symbolLayers:[{type:"text",material:{color:h.label.color},size:h.label.size,halo:{color:h.label.haloColor,size:h.label.haloSize}}]},labelPlacement:h.label.placement,minScale:h.label.minScale,maxScale:h.label.maxScale}),c.labelingInfo=[u]))}})},$.prototype.addfeature=function(l){var s=this;g(["esri/layers/FeatureLayer","esri/layers/support/LabelClass","esri/Graphic","esri/geometry/Point","esri/symbols/PictureMarkerSymbol"]).then(function(e){e[0],e[1];var r=e[2],o=e[3],t=(e[4],s.view.map.findLayerById(s.displayedLayerid));if(t)if(l instanceof Array){var n=[];l.forEach(function(e){if("marker"===e.overlaytype.toLowerCase()){var t=e.attributes;t.uuid=e.uuid;var i=new r({geometry:new o({x:e.position[0],y:e.position[1],z:void 0===e.position[2]?0:e.position[2],spatialReference:s.view.spatialReference}),attributes:t});n.push(i),s.mapoverlayersflayer.push([e.uuid,e.uuid,i])}}),t.applyEdits({addFeatures:n}).then(function(e){})}else if("marker"===l.overlaytype.toLowerCase()){var i=l.attributes;i.uuid=l.uuid;var a=new r({geometry:new o({x:l.position[0],y:l.position[1],z:void 0===l.position[2]?0:l.position[2],spatialReference:s.view.spatialReference}),attributes:i});t.applyEdits({addFeatures:[a]}).then(function(e){}),s.mapoverlayersflayer.push([l.uuid,l.uuid,a])}})},$.prototype.updatefeature=function(a){var l=this;g(["esri/layers/FeatureLayer","esri/layers/support/LabelClass","esri/Graphic","esri/geometry/Point","esri/symbols/PictureMarkerSymbol","esri/geometry/Polyline","esri/geometry/Polygon"]).then(function(e){e[0],e[1],e[2];var o=e[3];if(e[4],e[5],e[6],l.view.map.findLayerById(l.displayedLayerid))if(a instanceof Array){var r=[];a.forEach(function(t){var i=l.mapoverlayersflayer.filter(function(e){return e[1]===t.uuid});if(1===i.length){var e=new o({x:t.position[0],y:t.position[1],z:void 0===t.position[2]?0:t.position[2],spatialReference:l.view.spatialReference});i[0][2].geometry=e,Object.keys(t.attributes).map(function(e){"objectId"!==e&&i[0][2].setAttribute(e,t.attributes[e])}),r.push(i[0][2])}}),(t=l.view.map.findLayerById(l.displayedLayerid))&&r.length&&t.applyEdits({updateFeatures:r}).then(function(e){})}else if("group"===a.type){var t,n=[];a.overlayers.forEach(function(t){var i=l.mapoverlayersflayer.filter(function(e){return e[1]===t.uuid});if(1===i.length){var e=new o({x:t.position[0],y:t.position[1],z:void 0===t.position[2]?0:t.position[2],spatialReference:l.view.spatialReference});i[0][2].geometry=e,Object.keys(t.attributes).map(function(e){"objectId"!==e&&i[0][2].setAttribute(e,t.attributes[e])}),n.push(i[0][2])}}),(t=l.view.map.findLayerById(l.displayedLayerid))&&n.length&&t.applyEdits({updateFeatures:n}).then(function(e){})}else"element"===a.type&&l.mapoverlayersflayer.filter(function(e){return e[1]===a.uuid}).forEach(function(t){var e=[];a.attributes.uuid=a.uuid;var i=new o({x:a.position[0],y:a.position[1],z:void 0===a.position[2]?0:a.position[2],spatialReference:l.view.spatialReference});t[2].geometry=i,Object.keys(a.attributes).map(function(e){"objectId"!==e&&t[2].setAttribute(e,a.attributes[e])}),e.push(t[2]);var r=l.view.map.findLayerById(l.displayedLayerid);r&&e.length&&r.applyEdits({updateFeatures:e}).then(function(e){})})})},$.prototype.removefeature=function(t){var e=this;if(this.view.map.findLayerById(this.displayedLayerid))if(t instanceof Array){var i=[];t.forEach(function(t){e.mapoverlayersflayer.filter(function(e){return e[1]===t.uuid}).forEach(function(e){i.push(e[2])}),e.mapoverlayersflayer=e.mapoverlayersflayer.filter(function(e){return e[1]!==t.uuid})}),(n=this.view.map.findLayerById(this.displayedLayerid))&&i.length&&n.applyEdits({deleteFeatures:i}).then(function(e){})}else if("group"===t.type){var r=this.mapoverlayersflayer.filter(function(e){return e[0]===t.uuid}),o=[];r.forEach(function(e){o.push(e[2])}),(n=this.view.map.findLayerById(this.displayedLayerid))&&o.length&&n.applyEdits({deleteFeatures:o}).then(function(e){}),this.mapoverlayersflayer=this.mapoverlayersflayer.filter(function(e){return e[0]!==t.uuid})}else if("element"===t.type){r=this.mapoverlayersflayer.filter(function(e){return e[1]===t.uuid});var n,a=[];r.forEach(function(e){a.push(e[2])}),(n=this.view.map.findLayerById(this.displayedLayerid))&&a.length&&n.applyEdits({deleteFeatures:a}).then(function(e){}),this.mapoverlayersflayer=this.mapoverlayersflayer.filter(function(e){return e[1]!==t.uuid})}},$.prototype.removeAll=function(){var t=this,e=this.view.map.findLayerById(this.displayedLayerid);if(e){var i=[];this.mapoverlayersflayer.forEach(function(e){i.push(e[2])}),e.applyEdits({deleteFeatures:i}).then(function(e){t.mapoverlayersflayer=[]})}},$.prototype.delete=function(){var e=this.view.map.findLayerById(this.displayedLayerid);e&&(this.view.map.remove(e),this.mapoverlayersflayer=[])},$.prototype.init=function(i){return V(this,void 0,void 0,function(){var t=this;return U(this,function(e){return this.displayedLayerid=(new L).uuid,this.view=i,this.view.on(k.click,function(n){t.view.hitTest(n).then(function(o){return V(t,void 0,void 0,function(){var t,i,r=this;return U(this,function(e){return 0<o.results.length&&o.results[0].graphic.layer.id===this.displayedLayerid&&(t=o.results[0].graphic.attributes.objectId,(i=o.results[0].graphic.layer.createQuery()).where="objectId ="+t,o.results[0].graphic.layer.queryFeatures(i).then(function(e){0<e.features.length&&r.emit(k.click,e.features,n.mapPoint)})),[2]})})})}),this.view.on(k.pointermove,function(n){t.view.hitTest(n).then(function(o){return V(t,void 0,void 0,function(){var t,i,r=this;return U(this,function(e){return 0<o.results.length&&o.results[0].graphic.layer.id===this.displayedLayerid&&(t=o.results[0].graphic.attributes.objectId,(i=o.results[0].graphic.layer.createQuery()).where="objectId ="+t,o.results[0].graphic.layer.queryFeatures(i).then(function(e){0<e.features.length&&r.emit(k.pointermove,e.features,r.view.toMap({x:n.x,y:n.y}))})),[2]})})})}),[2]})})},$);function $(e){var t=X.call(this)||this;return t.displayedLayerid="",t.view=null,t.mapoverlayersflayer=[],t.init(e),t}var K,ee,te=(K=function(e,t){return(K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}K(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),ie=function(e,a,l,s){return new(l=l||Promise)(function(i,t){function r(e){try{n(s.next(e))}catch(e){t(e)}}function o(e){try{n(s.throw(e))}catch(e){t(e)}}function n(e){var t;e.done?i(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(r,o)}n((s=s.apply(e,a||[])).next())})},re=function(i,r){var o,n,a,e,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,n&&(a=2&t[0]?n.return:t[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,t[1])).done)return a;switch(n=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,n=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=r.call(i,l)}catch(e){t=[6,e],n=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},oe=(te(ne,ee=e),ne.prototype.add=function(o){var n=this;g(["smiapi/utils/FlashPoint3DLayer","esri/geometry/Point","esri/views/3d/externalRenderers"]).then(function(e){var t=e[0],i=e[1],r=e[2];n.falshpoint3DRenderer=new t({nring:o.nring,spead:o.spead,size:o.size,color:o.color,view:o.view,points:o.points},function(e){var t=null;null!=e&&(t=new i({x:e.x,y:e.y,spatialReference:{wkid:102100}})),n.emit(k.click,e,t)},function(e){var t=null;null!=e&&(t=new i({x:e.x,y:e.y,spatialReference:{wkid:102100}})),n.emit(k.pointermove,e,t)}),r.add(n.view,n.falshpoint3DRenderer)})},ne.prototype.remove=function(){var t=this;g(["esri/views/3d/externalRenderers"]).then(function(e){e[0].remove(t.view,t.falshpoint3DRenderer)})},ne.prototype.init=function(t){return ie(this,void 0,void 0,function(){return re(this,function(e){return this.view=t,[2]})})},ne);function ne(e){var t=ee.call(this)||this;return t.view=null,t.falshpoint3DRenderer=null,t.init(e),t}var ae,le,se=(ae=function(e,t){return(ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}ae(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),ue=function(e,a,l,s){return new(l=l||Promise)(function(i,t){function r(e){try{n(s.next(e))}catch(e){t(e)}}function o(e){try{n(s.throw(e))}catch(e){t(e)}}function n(e){var t;e.done?i(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(r,o)}n((s=s.apply(e,a||[])).next())})},de=function(i,r){var o,n,a,e,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,n&&(a=2&t[0]?n.return:t[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,t[1])).done)return a;switch(n=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,n=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=r.call(i,l)}catch(e){t=[6,e],n=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},ye=(se(ce,le=e),ce.prototype.add=function(C){var S=this;g(["esri/Graphic","esri/geometry/Point","esri/layers/GraphicsLayer","esri/symbols/PictureMarkerSymbol","esri/geometry/Polyline","esri/geometry/Polygon"]).then(function(e){var g=e[0],L=e[1],t=e[2],x=(e[3],e[4]),k=e[5],i=S.view.map.findLayerById(S.displayedLayerid);if(i||(i=new t({id:S.displayedLayerid,title:S.displayedLayerid}),S.view.map.add(i)),C instanceof Array)C.forEach(function(e){if("marker"===e.overlaytype.toLowerCase()){var t=void 0;t=e.symbol?e.symbol:"2d"===S.view.type?{type:"picture-marker",url:e.icon.image,width:e.icon.size.width,height:e.icon.size.height}:{type:"point-3d",symbolLayers:[{type:"icon",size:e.icon.size.width,resource:{href:e.icon.image}}]};var i=e.attributes;i.uuid=e.uuid;var r=new g({geometry:new L({x:e.position[0],y:e.position[1],z:void 0===e.position[2]?0:e.position[2],spatialReference:S.view.spatialReference}),symbol:t,attributes:i});if(S.mapoverlayers.push(["smap-default",e.uuid,r]),(v=S.view.map.findLayerById(S.displayedLayerid))&&v.add(r),e.label.visible){var o=null;o=e.label.labelingInfo?e.label.labelingInfo:{type:e.label.type,text:e.label.text,color:e.label.color,angle:e.label.angle,backgroundColor:e.label.backgroundColor,borderLineColor:e.label.borderLineColor,borderLineSize:e.label.borderLineSize,kerning:e.label.kerning,lineHeight:e.label.lineHeight,lineWidth:e.label.lineWidth,rotated:e.label.rotated,haloColor:e.label.haloColor,haloSize:e.label.haloSize,xoffset:e.label.xoffset,yoffset:e.label.yoffset,verticalAlignment:e.label.verticalAlignment,horizontalAlignment:e.label.horizontalAlignment,font:{size:e.label.size,family:"Josefin Slab",weight:e.label.weight}};var n=new g({geometry:new L({x:"3d"===S.view.type?e.position[0]+e.label.xoffset:e.position[0],y:"3d"===S.view.type?e.position[1]+e.label.yoffset:e.position[1],z:"3d"===S.view.type?e.position[2]+e.label.zoffset:e.position[2],spatialReference:S.view.spatialReference}),symbol:o,attributes:i});(m=S.view.map.findLayerById(S.displayedLayerid))&&m.add(n),S.mapoverlayers.push(["smap-default",e.uuid,n])}}else if("polyline"===e.overlaytype.toLowerCase()){var a=null;a=e.symbol?e.symbol:{type:"simple-line",color:e.strokeColor,style:e.style,width:e.width,cap:e.cap,join:e.lineJoin};var l=[];e.path.forEach(function(e){l.push([e.X,e.Y,e.Z])});var s=new x({hasZ:!1,hasM:!1,paths:l,spatialReference:S.view.spatialReference}),u=e.attributes;u.uuid=e.uuid;var d=new g({geometry:s,symbol:a,attributes:u});if(S.mapoverlayers.push(["smap-default",e.uuid,d]),(v=S.view.map.findLayerById(S.displayedLayerid))&&v.add(d),e.label.visible){var y=null;y=e.label.labelingInfo?e.label.labelingInfo:{type:e.label.type,text:e.label.text,color:e.label.color,angle:e.label.angle,backgroundColor:e.label.backgroundColor,borderLineColor:e.label.borderLineColor,borderLineSize:e.label.borderLineSize,kerning:e.label.kerning,lineHeight:e.label.lineHeight,lineWidth:e.label.lineWidth,rotated:e.label.rotated,haloColor:e.label.haloColor,haloSize:e.label.haloSize,xoffset:e.label.xoffset,yoffset:e.label.yoffset,verticalAlignment:e.label.verticalAlignment,horizontalAlignment:e.label.horizontalAlignment,font:{size:e.label.size,family:"Josefin Slab",weight:e.label.weight}},n=new g({geometry:d.geometry.extent.center,symbol:y,attributes:u}),(m=S.view.map.findLayerById(S.displayedLayerid))&&m.add(n),S.mapoverlayers.push(["smap-default",e.uuid,n])}}else if("polygon"===e.overlaytype.toLowerCase()){var c=void 0;c=e.symbol?e.symbol:"simple"===e.symboltype?{type:"simple-fill",color:e.fillColor,style:e.style,outline:{color:e.strokeColor,width:e.strokeWeight,style:e.strokestyle}}:{type:"picture-fill",url:e.url,width:e.picwidth,height:e.picheight,outline:{style:e.strokestyle,color:e.strokeColor,width:e.strokeWeight}};var p=[];e.paths.forEach(function(e){p.push([e.X,e.Y,e.Z])});var f=new k({hasZ:!0,hasM:!0,rings:p,spatialReference:S.view.spatialReference}),h=e.attributes;h.uuid=e.uuid;var v,b=new g({geometry:f,symbol:c,attributes:h});if(S.mapoverlayers.push(["smap-default",e.uuid,b]),(v=S.view.map.findLayerById(S.displayedLayerid))&&v.add(b),e.label.visible){var m,w=null;w=e.label.labelingInfo?e.label.labelingInfo:{type:e.label.type,text:e.label.text,color:e.label.color,angle:e.label.angle,backgroundColor:e.label.backgroundColor,borderLineColor:e.label.borderLineColor,borderLineSize:e.label.borderLineSize,kerning:e.label.kerning,lineHeight:e.label.lineHeight,lineWidth:e.label.lineWidth,rotated:e.label.rotated,haloColor:e.label.haloColor,haloSize:e.label.haloSize,xoffset:e.label.xoffset,yoffset:e.label.yoffset,verticalAlignment:e.label.verticalAlignment,horizontalAlignment:e.label.horizontalAlignment,font:{size:e.label.size,family:"Josefin Slab",weight:e.label.weight}},n=new g({geometry:b.geometry.extent.center,symbol:w,attributes:h}),(m=S.view.map.findLayerById(S.displayedLayerid))&&m.add(n),S.mapoverlayers.push(["smap-default",e.uuid,n])}}});else if("group"===C.type)C.overlayers.forEach(function(e){if("marker"===e.overlaytype.toLowerCase()){var t=void 0;t=e.symbol?e.symbol:"2d"===S.view.type?{type:"picture-marker",url:e.icon.image,width:e.icon.size.width,height:e.icon.size.height}:{type:"point-3d",symbolLayers:[{type:"icon",size:e.icon.size.width,resource:{href:e.icon.image}}]};var i=e.attributes;i.uuid=e.uuid;var r=new g({geometry:new L({x:e.position[0],y:e.position[1],z:void 0===e.position[2]?0:e.position[2],spatialReference:S.view.spatialReference}),symbol:t,attributes:i});if(S.mapoverlayers.push([C.uuid,e.uuid,r]),(h=S.view.map.findLayerById(S.displayedLayerid))&&h.add(r),e.label.visible){var o=null;o=e.label.labelingInfo?e.label.labelingInfo:{type:e.label.type,text:e.label.text,color:e.label.color,angle:e.label.angle,backgroundColor:e.label.backgroundColor,borderLineColor:e.label.borderLineColor,borderLineSize:e.label.borderLineSize,kerning:e.label.kerning,lineHeight:e.label.lineHeight,lineWidth:e.label.lineWidth,rotated:e.label.rotated,haloColor:e.label.haloColor,haloSize:e.label.haloSize,xoffset:e.label.xoffset,yoffset:e.label.yoffset,verticalAlignment:e.label.verticalAlignment,horizontalAlignment:e.label.horizontalAlignment,font:{size:e.label.size,family:"Josefin Slab",weight:e.label.weight}};var n=new g({geometry:new L({x:"3d"===S.view.type?e.position[0]+e.label.xoffset:e.position[0],y:"3d"===S.view.type?e.position[1]+e.label.yoffset:e.position[1],z:"3d"===S.view.type?e.position[2]+e.label.zoffset:e.position[2],spatialReference:S.view.spatialReference}),symbol:o,attributes:i});(m=S.view.map.findLayerById(S.displayedLayerid))&&m.add(n),S.mapoverlayers.push([C.uuid,e.uuid,n])}}else if("polyline"===e.overlaytype.toLowerCase()){var a=null;a=e.symbol?e.symbol:{type:"simple-line",color:e.strokeColor,style:e.style,width:e.width,cap:e.cap,join:e.lineJoin};var l=[];e.path.forEach(function(e){l.push([e.X,e.Y,e.Z])});var s=new x({hasZ:!1,hasM:!1,paths:l,spatialReference:S.view.spatialReference}),u=e.attributes;u.uuid=e.uuid;var d=new g({geometry:s,symbol:a,attributes:u});if(S.mapoverlayers.push([C.uuid,e.uuid,d]),(m=S.view.map.findLayerById(S.displayedLayerid))&&m.add(d),e.label.visible){var y=null;y=e.label.labelingInfo?e.label.labelingInfo:{type:e.label.type,text:e.label.text,color:e.label.color,angle:e.label.angle,backgroundColor:e.label.backgroundColor,borderLineColor:e.label.borderLineColor,borderLineSize:e.label.borderLineSize,kerning:e.label.kerning,lineHeight:e.label.lineHeight,lineWidth:e.label.lineWidth,rotated:e.label.rotated,haloColor:e.label.haloColor,haloSize:e.label.haloSize,xoffset:e.label.xoffset,yoffset:e.label.yoffset,verticalAlignment:e.label.verticalAlignment,horizontalAlignment:e.label.horizontalAlignment,font:{size:e.label.size,family:"Josefin Slab",weight:e.label.weight}},n=new g({geometry:d.geometry.extent.center,symbol:y,attributes:u}),(h=S.view.map.findLayerById(S.displayedLayerid))&&h.add(n),S.mapoverlayers.push([C.uuid,e.uuid,n])}}else if("polygon"===e.overlaytype.toLowerCase()){var c=void 0;c=e.symbol?e.symbol:"simple"===e.symboltype?{type:"simple-fill",color:e.fillColor,style:e.style,outline:{color:e.strokeColor,width:e.strokeWeight,style:e.strokestyle}}:{type:"picture-fill",url:e.url,width:e.picwidth,height:e.picheight,outline:{style:e.strokestyle,color:e.strokeColor,width:e.strokeWeight}};var p=[];e.paths.forEach(function(e){p.push([e.X,e.Y,e.Z])});var f=e.attributes;f.uuid=e.uuid;var h,v=new k({hasZ:!0,hasM:!0,rings:p,spatialReference:S.view.spatialReference}),b=new g({geometry:v,symbol:c,attributes:f});if(S.mapoverlayers.push([C.uuid,e.uuid,b]),(h=S.view.map.findLayerById(S.displayedLayerid))&&h.add(b),e.label.visible){var m,w=null;w=e.label.labelingInfo?e.label.labelingInfo:{type:e.label.type,text:e.label.text,color:e.label.color,angle:e.label.angle,backgroundColor:e.label.backgroundColor,borderLineColor:e.label.borderLineColor,borderLineSize:e.label.borderLineSize,kerning:e.label.kerning,lineHeight:e.label.lineHeight,lineWidth:e.label.lineWidth,rotated:e.label.rotated,haloColor:e.label.haloColor,haloSize:e.label.haloSize,xoffset:e.label.xoffset,yoffset:e.label.yoffset,verticalAlignment:e.label.verticalAlignment,horizontalAlignment:e.label.horizontalAlignment,font:{size:e.label.size,family:"Josefin Slab",weight:e.label.weight}},n=new g({geometry:b.geometry.extent.center,symbol:w,attributes:f}),(m=S.view.map.findLayerById(S.displayedLayerid))&&m.add(n),S.mapoverlayers.push([C.uuid,e.uuid,n])}}});else if("element"===C.type)if("marker"===C.overlaytype.toLowerCase()){var r=void 0;r=C.symbol?C.symbol:"2d"===S.view.type?{type:"picture-marker",url:C.icon.image,width:C.icon.size.width,height:C.icon.size.height}:{type:"point-3d",symbolLayers:[{type:"icon",size:C.icon.size.width,resource:{href:C.icon.image}}]};var o=C.attributes;o.uuid=C.uuid;var n=new g({geometry:new L({x:C.position[0],y:C.position[1],z:void 0===C.position[2]?0:C.position[2],spatialReference:S.view.spatialReference}),symbol:r,attributes:o});if(S.mapoverlayers.push(["smap-default",C.uuid,n]),(b=S.view.map.findLayerById(S.displayedLayerid))&&b.add(n),C.label.visible){var a=null;a=C.label.labelingInfo?C.label.labelingInfo:{type:C.label.type,text:C.label.text,color:C.label.color,angle:C.label.angle,backgroundColor:C.label.backgroundColor,borderLineColor:C.label.borderLineColor,borderLineSize:C.label.borderLineSize,kerning:C.label.kerning,lineHeight:C.label.lineHeight,lineWidth:C.label.lineWidth,rotated:C.label.rotated,haloColor:C.label.haloColor,haloSize:C.label.haloSize,xoffset:C.label.xoffset,yoffset:C.label.yoffset,verticalAlignment:C.label.verticalAlignment,horizontalAlignment:C.label.horizontalAlignment,font:{size:C.label.size,family:"Josefin Slab",weight:C.label.weight}};var l=new g({geometry:new L({x:"3d"===S.view.type?C.position[0]+C.label.xoffset:C.position[0],y:"3d"===S.view.type?C.position[1]+C.label.yoffset:C.position[1],z:"3d"===S.view.type?C.position[2]+C.label.zoffset:C.position[2],spatialReference:S.view.spatialReference}),symbol:a,attributes:o});(m=S.view.map.findLayerById(S.displayedLayerid))&&m.add(l),S.mapoverlayers.push(["smap-default",C.uuid,l])}}else if("polyline"===C.overlaytype.toLowerCase()){var s=null;s=C.symbol?C.symbol:{type:"simple-line",color:C.strokeColor,style:C.style,width:C.width,cap:C.cap,join:C.lineJoin};var u=[];C.path.forEach(function(e){u.push([e.X,e.Y,e.Z])});var d=new x({hasZ:!1,hasM:!1,paths:u,spatialReference:S.view.spatialReference}),y=C.attributes;y.uuid=C.uuid;var c=new g({geometry:d,symbol:s,attributes:y});if(S.mapoverlayers.push(["smap-default",C.uuid,c]),(m=S.view.map.findLayerById(S.displayedLayerid))&&m.add(c),C.label.visible){var p=null;p=C.label.labelingInfo?C.label.labelingInfo:{type:C.label.type,text:C.label.text,color:C.label.color,angle:C.label.angle,backgroundColor:C.label.backgroundColor,borderLineColor:C.label.borderLineColor,borderLineSize:C.label.borderLineSize,kerning:C.label.kerning,lineHeight:C.label.lineHeight,lineWidth:C.label.lineWidth,rotated:C.label.rotated,haloColor:C.label.haloColor,haloSize:C.label.haloSize,xoffset:C.label.xoffset,yoffset:C.label.yoffset,verticalAlignment:C.label.verticalAlignment,horizontalAlignment:C.label.horizontalAlignment,font:{size:C.label.size,family:"Josefin Slab",weight:C.label.weight}},l=new g({geometry:c.geometry.extent.center,symbol:p,attributes:y}),(b=S.view.map.findLayerById(S.displayedLayerid))&&b.add(l),S.mapoverlayers.push(["smap-default",C.uuid,l])}}else if("polygon"===C.overlaytype.toLowerCase()){var f=void 0;f=C.symbol?C.symbol:"simple"===C.symboltype?{type:"simple-fill",color:C.fillColor,style:C.style,outline:{color:C.strokeColor,width:C.strokeWeight,style:C.strokestyle}}:{type:"picture-fill",url:C.url,width:C.picwidth,height:C.picheight,outline:{style:C.strokestyle,color:C.strokeColor,width:C.strokeWeight}};var h=[];C.paths.forEach(function(e){h.push([e.X,e.Y,e.Z])});var v=C.attributes;v.uuid=C.uuid;var b,m,w=new k({hasZ:!0,hasM:!0,rings:h,spatialReference:S.view.spatialReference}),z=new g({geometry:w,symbol:f,attributes:v});if(S.mapoverlayers.push(["smap-default",C.uuid,z]),(b=S.view.map.findLayerById(S.displayedLayerid))&&b.add(z),C.label.visible)p=null,p=C.label.labelingInfo?C.label.labelingInfo:{type:C.label.type,text:C.label.text,color:C.label.color,angle:C.label.angle,backgroundColor:C.label.backgroundColor,borderLineColor:C.label.borderLineColor,borderLineSize:C.label.borderLineSize,kerning:C.label.kerning,lineHeight:C.label.lineHeight,lineWidth:C.label.lineWidth,rotated:C.label.rotated,haloColor:C.label.haloColor,haloSize:C.label.haloSize,xoffset:C.label.xoffset,yoffset:C.label.yoffset,verticalAlignment:C.label.verticalAlignment,horizontalAlignment:C.label.horizontalAlignment,font:{size:C.label.size,family:"Josefin Slab",weight:C.label.weight}},l=new g({geometry:z.geometry.extent.center,symbol:p,attributes:v}),(m=S.view.map.findLayerById(S.displayedLayerid))&&m.add(l),S.mapoverlayers.push(["smap-default",C.uuid,l])}}).catch(function(e){console.error(e)})},ce.prototype.remove=function(t){var i=this;t instanceof Array?t.forEach(function(t){i.mapoverlayers.filter(function(e){return e[1]===t.uuid}).forEach(function(e){var t=i.view.map.findLayerById(i.displayedLayerid);t&&t.remove(e[2])}),i.mapoverlayers=i.mapoverlayers.filter(function(e){return e[1]!==t.uuid})}):"group"===t.type?(this.mapoverlayers.filter(function(e){return e[0]===t.uuid}).forEach(function(e){var t=i.view.map.findLayerById(i.displayedLayerid);t&&t.remove(e[2])}),this.mapoverlayers=this.mapoverlayers.filter(function(e){return e[0]!==t.uuid})):"element"===t.type&&(this.mapoverlayers.filter(function(e){return e[1]===t.uuid}).forEach(function(e){var t=i.view.map.findLayerById(i.displayedLayerid);t&&t.remove(e[2])}),this.mapoverlayers=this.mapoverlayers.filter(function(e){return e[1]!==t.uuid}))},ce.prototype.update=function(z){var C=this;g(["esri/Graphic","esri/geometry/Point","esri/symbols/PictureMarkerSymbol","esri/geometry/Polyline","esri/geometry/Polygon"]).then(function(e){var g=e[0],L=e[1],x=(e[2],e[3]),k=e[4];if(z instanceof Array)z.forEach(function(t){if(C.mapoverlayers.filter(function(e){return e[1]===t.uuid}).forEach(function(e){var t=C.view.map.findLayerById(C.displayedLayerid);t&&t.remove(e[2])}),C.mapoverlayers=C.mapoverlayers.filter(function(e){return e[1]!==t.uuid}),"marker"===t.overlaytype.toLowerCase()){var e=void 0;e=t.symbol?t.symbol:"2d"===C.view.type?{type:"picture-marker",url:t.icon.image,width:t.icon.size.width,height:t.icon.size.height}:{type:"point-3d",symbolLayers:[{type:"icon",size:t.icon.size.width,resource:{href:t.icon.image}}]};var i=t.attributes;i.uuid=t.uuid;var r=new g({geometry:new L({x:t.position[0],y:t.position[1],z:void 0===t.position[2]?0:t.position[2],spatialReference:C.view.spatialReference}),symbol:e,attributes:i});if(C.mapoverlayers.push(["smap-default",t.uuid,r]),(v=C.view.map.findLayerById(C.displayedLayerid))&&v.add(r),t.label.visible){var o=null;o=t.label.labelingInfo?t.label.labelingInfo:{type:t.label.type,text:t.label.text,color:t.label.color,angle:t.label.angle,backgroundColor:t.label.backgroundColor,borderLineColor:t.label.borderLineColor,borderLineSize:t.label.borderLineSize,kerning:t.label.kerning,lineHeight:t.label.lineHeight,lineWidth:t.label.lineWidth,rotated:t.label.rotated,haloColor:t.label.haloColor,haloSize:t.label.haloSize,xoffset:t.label.xoffset,yoffset:t.label.yoffset,verticalAlignment:t.label.verticalAlignment,horizontalAlignment:t.label.horizontalAlignment,font:{size:t.label.size,family:"Josefin Slab",weight:t.label.weight}};var n=new g({geometry:new L({x:"3d"===C.view.type?t.position[0]+t.label.xoffset:t.position[0],y:"3d"===C.view.type?t.position[1]+t.label.yoffset:t.position[1],z:"3d"===C.view.type?t.position[2]+t.label.zoffset:t.position[2],spatialReference:C.view.spatialReference}),symbol:o,attributes:i});(m=C.view.map.findLayerById(C.displayedLayerid))&&m.add(n),C.mapoverlayers.push(["smap-default",t.uuid,n])}}else if("polyline"===t.overlaytype.toLowerCase()){var a=null;a=t.symbol?t.symbol:{type:"simple-line",color:t.strokeColor,style:t.style,width:t.width,cap:t.cap,join:t.lineJoin};var l=[];t.path.forEach(function(e){l.push([e.X,e.Y,e.Z])});var s=new x({hasZ:!1,hasM:!1,paths:l,spatialReference:C.view.spatialReference}),u=t.attributes;u.uuid=t.uuid;var d=new g({geometry:s,symbol:a,attributes:u});if(C.mapoverlayers.push(["smap-default",t.uuid,d]),(m=C.view.map.findLayerById(C.displayedLayerid))&&m.add(d),t.label.visible){var y=null;y=t.label.labelingInfo?t.label.labelingInfo:{type:t.label.type,text:t.label.text,color:t.label.color,angle:t.label.angle,backgroundColor:t.label.backgroundColor,borderLineColor:t.label.borderLineColor,borderLineSize:t.label.borderLineSize,kerning:t.label.kerning,lineHeight:t.label.lineHeight,lineWidth:t.label.lineWidth,rotated:t.label.rotated,haloColor:t.label.haloColor,haloSize:t.label.haloSize,xoffset:t.label.xoffset,yoffset:t.label.yoffset,verticalAlignment:t.label.verticalAlignment,horizontalAlignment:t.label.horizontalAlignment,font:{size:t.label.size,family:"Josefin Slab",weight:t.label.weight}},n=new g({geometry:d.geometry.extent.center,symbol:y,attributes:u}),(v=C.view.map.findLayerById(C.displayedLayerid))&&v.add(n),C.mapoverlayers.push(["smap-default",t.uuid,n])}}else if("polygon"===t.overlaytype.toLowerCase()){var c=void 0;c=t.symbol?t.symbol:"simple"===t.symboltype?{type:"simple-fill",color:t.fillColor,style:t.style,outline:{color:t.strokeColor,width:t.strokeWeight,style:t.strokestyle}}:{type:"picture-fill",url:t.url,width:t.picwidth,height:t.picheight,outline:{style:t.strokestyle,color:t.strokeColor,width:t.strokeWeight}};var p=[];t.paths.forEach(function(e){p.push([e.X,e.Y,e.Z])});var f=new k({hasZ:!0,hasM:!0,rings:p,spatialReference:C.view.spatialReference}),h=t.attributes;h.uuid=t.uuid;var v,b=new g({geometry:f,symbol:c,attributes:h});if(C.mapoverlayers.push(["smap-default",t.uuid,b]),(v=C.view.map.findLayerById(C.displayedLayerid))&&v.add(b),t.label.visible){var m,w=null;w=t.label.labelingInfo?t.label.labelingInfo:{type:t.label.type,text:t.label.text,color:t.label.color,angle:t.label.angle,backgroundColor:t.label.backgroundColor,borderLineColor:t.label.borderLineColor,borderLineSize:t.label.borderLineSize,kerning:t.label.kerning,lineHeight:t.label.lineHeight,lineWidth:t.label.lineWidth,rotated:t.label.rotated,haloColor:t.label.haloColor,haloSize:t.label.haloSize,xoffset:t.label.xoffset,yoffset:t.label.yoffset,verticalAlignment:t.label.verticalAlignment,horizontalAlignment:t.label.horizontalAlignment,font:{size:t.label.size,family:"Josefin Slab",weight:t.label.weight}},n=new g({geometry:b.geometry.extent.center,symbol:w,attributes:h}),(m=C.view.map.findLayerById(C.displayedLayerid))&&m.add(n),C.mapoverlayers.push(["smap-default",t.uuid,n])}}});else if("group"===z.type)C.mapoverlayers.filter(function(e){return e[0]===z.uuid}).forEach(function(e){var t=C.view.map.findLayerById(C.displayedLayerid);t&&t.remove(e[2])}),C.mapoverlayers=C.mapoverlayers.filter(function(e){return e[0]!==z.uuid}),z.overlayers.forEach(function(e){if("marker"===e.overlaytype.toLowerCase()){var t=void 0;t=e.symbol?e.symbol:"2d"===C.view.type?{type:"picture-marker",url:e.icon.image,width:e.icon.size.width,height:e.icon.size.height}:{type:"point-3d",symbolLayers:[{type:"icon",size:e.icon.size.width,resource:{href:e.icon.image}}]};var i=e.attributes;i.uuid=e.uuid;var r=new g({geometry:new L({x:e.position[0],y:e.position[1],z:void 0===e.position[2]?0:e.position[2],spatialReference:C.view.spatialReference}),symbol:t,attributes:i});if(C.mapoverlayers.push([z.uuid,e.uuid,r]),(h=C.view.map.findLayerById(C.displayedLayerid))&&h.add(r),e.label.visible){var o=null;o=e.label.labelingInfo?e.label.labelingInfo:{type:e.label.type,text:e.label.text,color:e.label.color,angle:e.label.angle,backgroundColor:e.label.backgroundColor,borderLineColor:e.label.borderLineColor,borderLineSize:e.label.borderLineSize,kerning:e.label.kerning,lineHeight:e.label.lineHeight,lineWidth:e.label.lineWidth,rotated:e.label.rotated,haloColor:e.label.haloColor,haloSize:e.label.haloSize,xoffset:e.label.xoffset,yoffset:e.label.yoffset,verticalAlignment:e.label.verticalAlignment,horizontalAlignment:e.label.horizontalAlignment,font:{size:e.label.size,family:"Josefin Slab",weight:e.label.weight}};var n=new g({geometry:new L({x:"3d"===C.view.type?e.position[0]+e.label.xoffset:e.position[0],y:"3d"===C.view.type?e.position[1]+e.label.yoffset:e.position[1],z:"3d"===C.view.type?e.position[2]+e.label.zoffset:e.position[2],spatialReference:C.view.spatialReference}),symbol:o,attributes:i});(m=C.view.map.findLayerById(C.displayedLayerid))&&m.add(n),C.mapoverlayers.push([z.uuid,e.uuid,n])}}else if("polyline"===e.overlaytype.toLowerCase()){var a=null;a=e.symbol?e.symbol:{type:"simple-line",color:e.strokeColor,style:e.style,width:e.width,cap:e.cap,join:e.lineJoin};var l=[];e.path.forEach(function(e){l.push([e.X,e.Y,e.Z])});var s=new x({hasZ:!1,hasM:!1,paths:l,spatialReference:C.view.spatialReference}),u=e.attributes;u.uuid=e.uuid;var d=new g({geometry:s,symbol:a,attributes:u});if(C.mapoverlayers.push([z.uuid,e.uuid,d]),(m=C.view.map.findLayerById(C.displayedLayerid))&&m.add(d),e.label.visible){var y=null;y=e.label.labelingInfo?e.label.labelingInfo:{type:e.label.type,text:e.label.text,color:e.label.color,angle:e.label.angle,backgroundColor:e.label.backgroundColor,borderLineColor:e.label.borderLineColor,borderLineSize:e.label.borderLineSize,kerning:e.label.kerning,lineHeight:e.label.lineHeight,lineWidth:e.label.lineWidth,rotated:e.label.rotated,haloColor:e.label.haloColor,haloSize:e.label.haloSize,xoffset:e.label.xoffset,yoffset:e.label.yoffset,verticalAlignment:e.label.verticalAlignment,horizontalAlignment:e.label.horizontalAlignment,font:{size:e.label.size,family:"Josefin Slab",weight:e.label.weight}},n=new g({geometry:d.geometry.extent.center,symbol:y,attributes:u}),(h=C.view.map.findLayerById(C.displayedLayerid))&&h.add(n),C.mapoverlayers.push([z.uuid,e.uuid,n])}}else if("polygon"===e.overlaytype.toLowerCase()){var c=void 0;c=e.symbol?e.symbol:"simple"===z.symboltype?{type:"simple-fill",color:z.fillColor,style:z.style,outline:{color:z.strokeColor,width:z.strokeWeight,style:z.strokestyle}}:{type:"picture-fill",url:z.url,width:z.picwidth,height:z.picheight,outline:{style:z.strokestyle,color:z.strokeColor,width:z.strokeWeight}};var p=[];z.paths.forEach(function(e){p.push([e.X,e.Y,e.Z])});var f=e.attributes;f.uuid=e.uuid;var h,v=new k({hasZ:!0,hasM:!0,rings:p,spatialReference:C.view.spatialReference}),b=new g({geometry:v,symbol:c,attributes:f});if(C.mapoverlayers.push(["smap-default",z.uuid,b]),(h=C.view.map.findLayerById(C.displayedLayerid))&&h.add(b),z.label.visible){var m,w=null;w=e.label.labelingInfo?e.label.labelingInfo:{type:z.label.type,text:z.label.text,color:z.label.color,angle:z.label.angle,backgroundColor:z.label.backgroundColor,borderLineColor:z.label.borderLineColor,borderLineSize:z.label.borderLineSize,kerning:z.label.kerning,lineHeight:z.label.lineHeight,lineWidth:z.label.lineWidth,rotated:z.label.rotated,haloColor:z.label.haloColor,haloSize:z.label.haloSize,xoffset:z.label.xoffset,yoffset:z.label.yoffset,verticalAlignment:z.label.verticalAlignment,horizontalAlignment:z.label.horizontalAlignment,font:{size:z.label.size,family:"Josefin Slab",weight:z.label.weight}},n=new g({geometry:b.geometry.extent.center,symbol:w,attributes:f}),(m=C.view.map.findLayerById(C.displayedLayerid))&&m.add(n),C.mapoverlayers.push(["smap-default",z.uuid,n])}}});else if("element"===z.type)if(C.mapoverlayers.filter(function(e){return e[1]===z.uuid}).forEach(function(e){var t=C.view.map.findLayerById(C.displayedLayerid);t&&t.remove(e[2])}),C.mapoverlayers=C.mapoverlayers.filter(function(e){return e[1]!==z.uuid}),"marker"===z.overlaytype.toLowerCase()){var t=void 0;t=z.symbol?z.symbol:"2d"===C.view.type?{type:"picture-marker",url:z.icon.image,width:z.icon.size.width,height:z.icon.size.height}:{type:"point-3d",symbolLayers:[{type:"icon",size:z.icon.size.width,resource:{href:z.icon.image}}]};var i=z.attributes;i.uuid=z.uuid;var r=new g({geometry:new L({x:z.position[0],y:z.position[1],z:void 0===z.position[2]?0:z.position[2],spatialReference:C.view.spatialReference}),symbol:t,attributes:i});if(C.mapoverlayers.push(["smap-default",z.uuid,r]),(v=C.view.map.findLayerById(C.displayedLayerid))&&v.add(r),z.label.visible){var o=null;o=z.label.labelingInfo?z.label.labelingInfo:{type:z.label.type,text:z.label.text,color:z.label.color,angle:z.label.angle,backgroundColor:z.label.backgroundColor,borderLineColor:z.label.borderLineColor,borderLineSize:z.label.borderLineSize,kerning:z.label.kerning,lineHeight:z.label.lineHeight,lineWidth:z.label.lineWidth,rotated:z.label.rotated,haloColor:z.label.haloColor,haloSize:z.label.haloSize,xoffset:z.label.xoffset,yoffset:z.label.yoffset,verticalAlignment:z.label.verticalAlignment,horizontalAlignment:z.label.horizontalAlignment,font:{size:z.label.size,family:"Josefin Slab",weight:z.label.weight}};var n=new g({geometry:new L({x:"3d"===C.view.type?z.position[0]+z.label.xoffset:z.position[0],y:"3d"===C.view.type?z.position[1]+z.label.yoffset:z.position[1],z:"3d"===C.view.type?z.position[2]+z.label.zoffset:z.position[2],spatialReference:C.view.spatialReference}),symbol:o,attributes:i});(b=C.view.map.findLayerById(C.displayedLayerid))&&b.add(n),C.mapoverlayers.push(["smap-default",z.uuid,n])}}else if("polyline"===z.overlaytype.toLowerCase()){var a=null;a=z.symbol?z.symbol:{type:"simple-line",color:z.strokeColor,style:z.style,width:z.width,cap:z.cap,join:z.lineJoin};var l=[];z.path.forEach(function(e){l.push([e.X,e.Y,e.Z])});var s=new x({hasZ:!1,hasM:!1,paths:l,spatialReference:C.view.spatialReference}),u=z.attributes;u.uuid=z.uuid;var d=new g({geometry:s,symbol:a,attributes:u});if(C.mapoverlayers.push(["smap-default",z.uuid,d]),(b=C.view.map.findLayerById(C.displayedLayerid))&&b.add(d),z.label.visible){var y=null;y=z.label.labelingInfo?z.label.labelingInfo:{type:z.label.type,text:z.label.text,color:z.label.color,angle:z.label.angle,backgroundColor:z.label.backgroundColor,borderLineColor:z.label.borderLineColor,borderLineSize:z.label.borderLineSize,kerning:z.label.kerning,lineHeight:z.label.lineHeight,lineWidth:z.label.lineWidth,rotated:z.label.rotated,haloColor:z.label.haloColor,haloSize:z.label.haloSize,xoffset:z.label.xoffset,yoffset:z.label.yoffset,verticalAlignment:z.label.verticalAlignment,horizontalAlignment:z.label.horizontalAlignment,font:{size:z.label.size,family:"Josefin Slab",weight:z.label.weight}},n=new g({geometry:d.geometry.extent.center,symbol:y,attributes:u}),(v=C.view.map.findLayerById(C.displayedLayerid))&&v.add(n),C.mapoverlayers.push(["smap-default",z.uuid,n])}}else if("polygon"===z.overlaytype.toLowerCase()){var c=void 0;c=z.symbol?z.symbol:"simple"===z.symboltype?{type:"simple-fill",color:z.fillColor,style:z.style,outline:{color:z.strokeColor,width:z.strokeWeight,style:z.strokestyle}}:{type:"picture-fill",url:z.url,width:z.picwidth,height:z.picheight,outline:{style:z.strokestyle,color:z.strokeColor,width:z.strokeWeight}};var p=[];z.paths.forEach(function(e){p.push([e.X,e.Y,e.Z])});var f=new k({hasZ:!0,hasM:!0,rings:p,spatialReference:C.view.spatialReference}),h=z.attributes;h.uuid=z.uuid;var v,b,m=new g({geometry:f,symbol:c,attributes:h});if(C.mapoverlayers.push(["smap-default",z.uuid,m]),(v=C.view.map.findLayerById(C.displayedLayerid))&&v.add(m),z.label.visible)y=null,y=z.label.labelingInfo?z.label.labelingInfo:{type:z.label.type,text:z.label.text,color:z.label.color,angle:z.label.angle,backgroundColor:z.label.backgroundColor,borderLineColor:z.label.borderLineColor,borderLineSize:z.label.borderLineSize,kerning:z.label.kerning,lineHeight:z.label.lineHeight,lineWidth:z.label.lineWidth,rotated:z.label.rotated,haloColor:z.label.haloColor,haloSize:z.label.haloSize,xoffset:z.label.xoffset,yoffset:z.label.yoffset,verticalAlignment:z.label.verticalAlignment,horizontalAlignment:z.label.horizontalAlignment,font:{size:z.label.size,family:"Josefin Slab",weight:z.label.weight}},n=new g({geometry:m.geometry.extent.center,symbol:y,attributes:h}),(b=C.view.map.findLayerById(C.displayedLayerid))&&b.add(n),C.mapoverlayers.push(["smap-default",z.uuid,n])}})},ce.prototype.removeAll=function(){var e=this.view.map.findLayerById(this.displayedLayerid);e&&(e.removeAll(),this.mapoverlayers=[])},ce.prototype.delete=function(){var e=this.view.map.findLayerById(this.displayedLayerid);e&&(this.view.map.remove(e),this.mapoverlayers=[])},ce.prototype.init=function(t){return ue(this,void 0,void 0,function(){var r=this;return de(this,function(e){return this.displayedLayerid=(new L).uuid,this.view=t,this.view.on(k.click,function(i){r.view.hitTest(i).then(function(t){return ue(r,void 0,void 0,function(){return de(this,function(e){return 0<t.results.length&&t.results[0].graphic.layer.id===this.displayedLayerid&&this.emit(k.click,t,i.mapPoint),[2]})})})}),this.view.on(k.pointermove,function(i){r.view.hitTest(i).then(function(t){return ue(r,void 0,void 0,function(){return de(this,function(e){return 0<t.results.length&&t.results[0].graphic.layer.id===this.displayedLayerid&&this.emit(k.pointermove,t,this.view.toMap({x:i.x,y:i.y})),[2]})})})}),[2]})})},ce);function ce(e){var t=le.call(this)||this;return t.displayedLayerid="",t.view=null,t.mapoverlayers=[],t.init(e),t}var pe,fe,he=(pe=function(e,t){return(pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}pe(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),ve=function(e,a,l,s){return new(l=l||Promise)(function(i,t){function r(e){try{n(s.next(e))}catch(e){t(e)}}function o(e){try{n(s.throw(e))}catch(e){t(e)}}function n(e){var t;e.done?i(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(r,o)}n((s=s.apply(e,a||[])).next())})},be=function(i,r){var o,n,a,e,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,n&&(a=2&t[0]?n.return:t[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,t[1])).done)return a;switch(n=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,n=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=r.call(i,l)}catch(e){t=[6,e],n=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},me=(he(we,fe=e),we.prototype.add=function(r){var o=this;g(["smiapi/utils/HeatMapLayer"]).then(function(e){var t=e[0],i={container:document.getElementById(r.container),radius:r.radius||30,maxOpacity:r.maxOpacity||.8,minOpacity:r.minOpacity||0,blur:r.blur||.7,gradient:r.gradient||{0:"rgb(0,0,0)",.3:"rgb(0,0,255)",.8:"rgb(0,255,0)",.98:"rgb(255,255,0)",1:"rgb(255,0,0)"}};o.heatmaplayer=new t(o.view,i,r.datas,r.h337,r.id),o.heatmaplayer.addData()})},we.prototype.remove=function(e){var t=document.getElementsByClassName("esri-view-surface")[0],i=document.getElementById(e);null!=i&&t.removeChild(i)},we.prototype.refreshdata=function(e){this.heatmaplayer.setVisible(!0),this.heatmaplayer.freshenLayerData(e)},we.prototype.show=function(){this.heatmaplayer.setVisible(!0)},we.prototype.hide=function(){this.heatmaplayer.setVisible(!1)},we.prototype.init=function(t){return ve(this,void 0,void 0,function(){return be(this,function(e){return this.displayedLayerid=(new L).uuid,this.view=t,[2]})})},we);function we(e){var t=fe.call(this)||this;return t.displayedLayerid="",t.view=null,t.heatmaplayer=null,t.init(e),t}var ge=(Le.shqxboundary="qx_boundary",Le.shjdboundary="jd_boundary",Le.shjwhboundary="jwh_boundary",Le);function Le(){}var xe,ke,ze=(xe=function(e,t){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}xe(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),Ce=function(e,a,l,s){return new(l=l||Promise)(function(i,t){function r(e){try{n(s.next(e))}catch(e){t(e)}}function o(e){try{n(s.throw(e))}catch(e){t(e)}}function n(e){var t;e.done?i(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(r,o)}n((s=s.apply(e,a||[])).next())})},Se=function(i,r){var o,n,a,e,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,n&&(a=2&t[0]?n.return:t[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,t[1])).done)return a;switch(n=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,n=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=r.call(i,l)}catch(e){t=[6,e],n=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},Ie=(ze(Re,ke=e),Re.prototype.add=function(p){var f=this;g(["esri/Graphic","esri/layers/GraphicsLayer","esri/geometry/Polygon","esri/geometry/geometryEngineAsync","esri/geometry/SpatialReference","esri/Color"]).then(function(e){var u=e[0],t=e[1],i=e[2],d=e[3],y=(e[4],e[5]),r=null;"qx_boundary"!==p.boundaryType&&"jd_boundary"!==p.boundaryType&&"jwh_boundary"!==p.boundaryType||(r=f.view.map.findLayerById(p.boundaryType));var c=f.view.map.findLayerById(f.displayedLayerid);if(null==c&&(c=new t({id:f.displayedLayerid,title:"遮罩层",listMode:"hide"}),f.view.map.add(c)),c.removeAll(),p.inputgeometry){if(null===(r=f.view.map.findLayerById("qx_boundary")))return;var o=new i({rings:p.inputgeometry,spatialReference:f.view.spatialReference}),n=r.fullExtent;n.spatialReference=f.view.spatialReference;var s=o;s.spatialReference=f.view.spatialReference,d.buffer(s,p.boundarydistance,"meters").then(function(e){d.difference(n,e).then(function(e){var t;t="3d"===f.view.type?p.symbol?{type:"polygon-3d",symbolLayers:[{type:"extrude",material:{color:p.maskColor},size:p.symbol.size,edges:{type:"solid",color:p.maskColor}}]}:{type:"polygon-3d",symbolLayers:[{type:"fill",material:{color:p.maskColor},outline:{color:"white",size:"0px"}}]}:{type:"simple-fill",color:p.maskColor,style:"solid",outline:{color:p.maskColor,width:1}};var i=new u({geometry:e,symbol:t});c.add(i);for(var o=void 0===p.bounarycount?30:p.bounarycount,n=Math.ceil(p.boundarydistance/o),a=new y(p.boundaryColor).toRgba(),r=function(r){d.buffer(s,r*o,"meters").then(function(t){d.buffer(s,(r-1)*o,"meters").then(function(e){d.difference(t,e).then(function(e){var t;a[3]=1/n*r,t="3d"===f.view.type?p.symbol?{type:"polygon-3d",symbolLayers:[{type:"extrude",material:{color:a},size:p.symbol.size,edges:{type:"solid",color:a}}]}:{type:"polygon-3d",symbolLayers:[{type:"fill",material:{color:a},outline:{color:"white",size:"0px"}}]}:{type:"simple-fill",color:a,style:"solid",outline:{color:a,width:1}};var i=new u({geometry:e,symbol:t});c.add(i)})})})},l=1;l<=n;l++)r(l)})})}else{if(console.log(r),null===r)return;var a=r.createQuery();a.where=p.boundaryDefinition,r.queryFeatures(a).then(function(e){if(e.features.length){var t=r.fullExtent;t.spatialReference=f.view.spatialReference;var s=e.features[0].geometry;s.spatialReference=f.view.spatialReference,d.buffer(s,p.boundarydistance,"meters").then(function(e){d.difference(t,e).then(function(e){var t;t="3d"===f.view.type?p.symbol?{type:"polygon-3d",symbolLayers:[{type:"extrude",material:{color:p.maskColor},size:p.symbol.size,edges:{type:"solid",color:p.maskColor}}]}:{type:"polygon-3d",symbolLayers:[{type:"fill",material:{color:p.maskColor},outline:{color:"white",size:"0px"}}]}:{type:"simple-fill",color:p.maskColor,style:"solid",outline:{color:p.maskColor,width:1}};var i=new u({geometry:e,symbol:t});c.add(i);for(var o=void 0===p.bounarycount?30:p.bounarycount,n=Math.ceil(p.boundarydistance/o),a=new y(p.boundaryColor).toRgba(),r=function(r){d.buffer(s,r*o,"meters").then(function(t){d.buffer(s,(r-1)*o,"meters").then(function(e){d.difference(t,e).then(function(e){var t;a[3]=1/n*r,t="3d"===f.view.type?p.symbol?{type:"polygon-3d",symbolLayers:[{type:"extrude",material:{color:a},size:p.symbol.size,edges:{type:"solid",color:a}}]}:{type:"polygon-3d",symbolLayers:[{type:"fill",material:{color:a},outline:{color:"white",size:"0px"}}]}:{type:"simple-fill",color:a,style:"solid",outline:{color:a,width:1}};var i=new u({geometry:e,symbol:t});c.add(i)})})})},l=1;l<=n;l++)r(l)})})}})}})},Re.prototype.remove=function(){var e=this.view.map.findLayerById(this.displayedLayerid);e&&this.view.map.remove(e)},Re.prototype.show=function(){var e=this.view.map.findLayerById(this.displayedLayerid);e&&(e.visible=!0)},Re.prototype.hide=function(){var e=this.view.map.findLayerById(this.displayedLayerid);e&&(e.visible=!1)},Re.prototype.init=function(t){return Ce(this,void 0,void 0,function(){return Se(this,function(e){return this.displayedLayerid=(new L).uuid,this.view=t,[2]})})},Re);function Re(e){var t=ke.call(this)||this;return t.displayedLayerid="",t.view=null,t.init(e),t}var Ae,Ee,Be=(Ae=function(e,t){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}Ae(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),_e=function(e,a,l,s){return new(l=l||Promise)(function(i,t){function r(e){try{n(s.next(e))}catch(e){t(e)}}function o(e){try{n(s.throw(e))}catch(e){t(e)}}function n(e){var t;e.done?i(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(r,o)}n((s=s.apply(e,a||[])).next())})},Pe=function(i,r){var o,n,a,e,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,n&&(a=2&t[0]?n.return:t[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,t[1])).done)return a;switch(n=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,n=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=r.call(i,l)}catch(e){t=[6,e],n=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},Me=(Be(je,Ee=e),je.prototype.add=function(n){var a=this;void 0===n&&(n={}),g(["esri/layers/echartsLayer"]).then(function(e){var t=e[0],i=[];n.datas.forEach(function(e,t){i.push({name:e[0]+" Top10",type:"lines",coordinateSystem:"arcgis",zlevel:1,effect:{show:!0,period:6,trailLength:.7,color:"#fff",symbolSize:3},lineStyle:{normal:{color:n.color[t],width:0,curveness:.2}},data:a.convertData(e[1],n.geoCoordMap)},{name:e[0]+" Top10",type:"lines",coordinateSystem:"arcgis",zlevel:2,symbol:["none","arrow"],symbolSize:10,effect:{show:!0,period:6,trailLength:0,symbol:n.planePath,symbolSize:15},lineStyle:{normal:{color:n.color[t],width:1,opacity:.6,curveness:.2}},data:a.convertData(e[1],n.geoCoordMap)},{name:e[0]+" Top10",type:"effectScatter",coordinateSystem:"arcgis",zlevel:2,rippleEffect:{brushType:"stroke"},legendHoverLink:!0,hoverAnimation:!0,symbol:n.symbol,label:{normal:{show:!0,position:"right",formatter:"{b}"}},symbolSize:function(e){return e[2]/8},itemStyle:{normal:{color:n.color[t],shadowBlur:10,shadowColor:"#333"}},data:e[1].map(function(e){return{name:e[1].name,value:n.geoCoordMap[e[1].name].concat([e[1].value])}})})});var r=new t(a.view,"",n.id),o={title:{text:"",subtext:"",left:"center",textStyle:{color:"#fff"}},series:i};r.setChartOption(o)})},je.prototype.remove=function(e){var t=document.getElementsByClassName("esri-view-surface")[0],i=document.getElementById(e);null!=i&&t.removeChild(i)},je.prototype.convertData=function(e,t){for(var i=[],r=0,o=e;r<o.length;r++){var n=o[r],a=t[n[0].name],l=t[n[1].name];a&&l&&i.push({fromName:n[0].name,toName:n[1].name,coords:[a,l],value:n[1].value})}return i},je.prototype.getAPIScript=function(e){return document.querySelector("script["+e+"]")},je.prototype.loadAPIScript=function(o,n){var a=this;return new r.Promise(function(e,t){var i=a.getAPIScript(o);if(i){var r=i.getAttribute("src");r!==n?t(new Error("The echartgl is already loaded ("+r+").")):a.handleScriptLoad(i,e,t)}else i=a.createScript(o,n),a.handleScriptLoad(i,function(){i.setAttribute(o,"loaded"),e(i)},t),document.head.appendChild(i)})},je.prototype.createScript=function(e,t){var i=document.createElement("script");return i.type="text/javascript",i.src=t,i.setAttribute(e,"loading"),i},je.prototype.handleScriptLoad=function(e,t,i){var r;i&&(r=this.handleScriptError(e,i));var o=function(){t(e),e.removeEventListener("load",o,!1),r&&e.removeEventListener("error",r,!1)};e.addEventListener("load",o,!1)},je.prototype.handleScriptError=function(t,i){var r=function(e){i(e.error||new Error("There was an error attempting to load "+t.src)),t.removeEventListener("error",r,!1)};return t.addEventListener("error",r,!1),r},je.prototype.init=function(t){return _e(this,void 0,void 0,function(){return Pe(this,function(e){return this.view=t,[2]})})},je);function je(e){var t=Ee.call(this)||this;return t.view=null,t.init(e),t}var Oe,We,Te=(Oe=function(e,t){return(Oe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}Oe(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),He=function(e,a,l,s){return new(l=l||Promise)(function(i,t){function r(e){try{n(s.next(e))}catch(e){t(e)}}function o(e){try{n(s.throw(e))}catch(e){t(e)}}function n(e){var t;e.done?i(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(r,o)}n((s=s.apply(e,a||[])).next())})},Ge=function(i,r){var o,n,a,e,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,n&&(a=2&t[0]?n.return:t[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,t[1])).done)return a;switch(n=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,n=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=r.call(i,l)}catch(e){t=[6,e],n=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},Ze=(Te(Je,We=e),Je.prototype.play=function(a){var l=this;void 0===a&&(a={}),g(["geolocate","esri/widgets/Track","esri/geometry/support/webMercatorUtils"]).then(function(e){var i=e[0],t=e[1],r=e[2];if(void 0!==a.coords){var o=0;l.track=new t({view:l.view,goToLocationEnabled:!1});var n=0;i.use(),void 0!==l.routepalybackinternal&&clearInterval(l.routepalybackinternal),l.routepalybackinternal=setInterval(function(){var e=r.xyToLngLat(a.coords[n].x,a.coords[n].y),t={lng:e[0],lat:e[1]};i.change(t),n=(n+1)%a.coords.length,++o===a.coords.length&&clearInterval(l.routepalybackinternal)},2500),l.view.when(function(){var t=l.view.center;l.track.on("track",function(){a.mobilesymbol&&(l.track.graphic.symbol=a.mobilesymbol);var e=l.track.graphic.geometry;1<o&&a.showtrail&&l.createAnimateRoute(e,t,a.trailsymbol),l.view.goTo({center:e,tilt:70,scale:2500,heading:360-l.getHeading(e,t),rotation:360-l.getHeading(e,t)}).catch(function(e){"AbortError"!==e.name&&console.error(e)}),t=e.clone()}),l.track.start()})}}).catch(function(e){console.error(e)})},Je.prototype.remove=function(){this.routepalybackinternal,clearInterval(this.routepalybackinternal),this.track.destroy();var e=this.view.map.findLayerById(this.displayedLayerid);e&&this.view.map.remove(e)},Je.prototype.getHeading=function(e,t){return 180*Math.atan2(e.y-t.y,e.x-t.x)/Math.PI-90},Je.prototype.createAnimateRoute=function(n,a,l){var s=this;g(["esri/Graphic","esri/layers/GraphicsLayer"]).then(function(e){var t=e[0],i=e[1],r=new t({geometry:{type:"polyline",paths:[[a.longitude,a.latitude],[n.longitude,n.latitude]]},symbol:void 0!==l?l:{type:"simple-line",color:[156,39,176],width:10}}),o=s.view.map.findLayerById(s.displayedLayerid);void 0===o&&(o=new i({title:"路径轨迹播放",id:s.displayedLayerid,listMode:"hide"}),s.view.map.add(o)),o.add(r)})},Je.prototype.init=function(t){return He(this,void 0,void 0,function(){return Ge(this,function(e){return this.displayedLayerid=(new L).uuid,this.view=t,[2]})})},Je);function Je(e){var t=We.call(this)||this;return t.displayedLayerid="",t.view=null,t.routepalybackinternal=null,t.track=null,t.init(e),t}var Fe,De,qe=(Fe=function(e,t){return(Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}Fe(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),Ne=function(e,a,l,s){return new(l=l||Promise)(function(i,t){function r(e){try{n(s.next(e))}catch(e){t(e)}}function o(e){try{n(s.throw(e))}catch(e){t(e)}}function n(e){var t;e.done?i(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(r,o)}n((s=s.apply(e,a||[])).next())})},Xe=function(i,r){var o,n,a,e,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,n&&(a=2&t[0]?n.return:t[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,t[1])).done)return a;switch(n=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,n=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=r.call(i,l)}catch(e){t=[6,e],n=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},Ye=(qe(Ve,De=e),Ve.prototype.play=function(c){var p=this;void 0===c&&(c={}),g(["esri/geometry/Point","esri/Graphic","esri/layers/GraphicsLayer","esri/geometry/support/webMercatorUtils"]).then(function(e){var o=e[0],n=e[1],a=e[2];if(e[3],void 0!==c.coords){var l=0,s=0,u=p.view.center;void 0!==p.mapRoamplayinternal&&clearInterval(p.mapRoamplayinternal);var d=void 0!==c.duration?c.duration:2e3,y=void 0!==c.speedFactor?c.speedFactor:1;p.mapRoamplayinternal=setInterval(function(){var e={x:c.coords[s].x,y:c.coords[s].y,z:void 0!==c.coords[s].z?c.coords[s].z:0};s=(s+1)%c.coords.length,++l;var t=new o({x:e.x,y:e.y,z:e.z,spatialReference:p.view.spatialReference}),i=p.view.map.findLayerById(p.mobilelayerid);void 0===i&&(i=new a({title:"漫游路径"+p.mobilelayerid,id:p.mobilelayerid,listMode:"hide"}),p.view.map.add(i)),i.removeAll();var r=new n({geometry:t,symbol:c.mobilesymbol});i.add(r),1<l&&c.showtrail&&p.createAnimateRoute(t,u,c.trailsymbol),p.view.goTo({center:t,tilt:70,scale:2500,heading:360-p.getHeading(t,u),rotation:360-p.getHeading(t,u)},{speedFactor:y,duration:d-.2*d,maxDuration:d-.2*d,easing:"in-out-coast-quadratic"}).then().catch(function(e){"AbortError"!==e.name&&console.error(e)}),u=t.clone(),l===c.coords.length&&clearInterval(p.mapRoamplayinternal)},d)}}).catch(function(e){console.error(e)})},Ve.prototype.remove=function(){this.mapRoamplayinternal,clearInterval(this.mapRoamplayinternal);var e=this.view.map.findLayerById(this.displayedLayerid);e&&this.view.map.remove(e);var t=this.view.map.findLayerById(this.mobilelayerid);t&&this.view.map.remove(t)},Ve.prototype.getHeading=function(e,t){return 180*Math.atan2(e.y-t.y,e.x-t.x)/Math.PI-90},Ve.prototype.createAnimateRoute=function(n,a,l){var s=this;g(["esri/Graphic","esri/layers/GraphicsLayer"]).then(function(e){var t=e[0],i=e[1],r=new t({geometry:{type:"polyline",paths:[[a.x,a.y,a.z],[n.x,n.y,n.z]],spatialReference:s.view.spatialReference},symbol:void 0!==l?l:{type:"simple-line",color:[156,39,176],width:10}}),o=s.view.map.findLayerById(s.displayedLayerid);void 0===o&&(o=new i({title:"漫游路径"+s.displayedLayerid,id:s.displayedLayerid,listMode:"hide"}),s.view.map.add(o)),o.add(r)})},Ve.prototype.init=function(t){return Ne(this,void 0,void 0,function(){return Xe(this,function(e){return this.displayedLayerid=(new L).uuid,this.mobilelayerid=(new L).uuid,this.view=t,[2]})})},Ve);function Ve(e){var t=De.call(this)||this;return t.displayedLayerid="",t.view=null,t.mapRoamplayinternal=null,t.mobilelayerid="",t.init(e),t}return{load:g,Layers:ge,Boundary:E,Draw:W,GraphicOverlays:ye,FeaureOverlays:Q,EchartFlashPointLayer:D,FlashPoint3DLayer:oe,HeatMap:me,MaskBoundary:Ie,TrajectoryPlus:Ye,MigrationMap:Me,Trajectory:Ze}});
//# sourceMappingURL=Plugins.min.js.map
<svg height="16" width="8" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,0 8,8 0,16"
style="fill:#666;stroke:purple;stroke-width:0" />
</svg>
\ No newline at end of file
@charset "UTF-8";.container[data-v-27435a3c]{height:100%;display:flex;flex-direction:column;justify-content:space-between}.container .row .title[data-v-27435a3c]{width:20%;text-align:center}.container .row .title p[data-v-27435a3c]{display:inline-block;background:rgba(70,83,97,.3);color:#b2daea;padding:.03rem .12rem;box-shadow:0 0 .06rem .01rem #ffffff1a inset;font-weight:bold}.container .row .img[data-v-27435a3c]{display:inline-block;width:20%;margin-right:2%;cursor:pointer;border-radius:.04rem;position:relative}.container .row .img>img[data-v-27435a3c]{width:100%;height:100%}.container .row .img[data-v-27435a3c]:hover{box-shadow:0 0 .1rem .01rem #ffffff4d}.container .row .img.on[data-v-27435a3c]:before{position:absolute;top:.08rem;right:.08rem;content:"";display:inline-block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAsCAMAAAAtr3oOAAAAsVBMVEUAAAAAAAAIGRlE9OwcY2BF+e9G+PBC7OUZVlJK+fQLKCZI+fQ919FF+PAEDQ0TQT8PNTRF9+9F8+tF9+9G+PA1urRF+PAlhH8daGVG+fFM//dJ//RB6OA2wLoztK1F9+9G+PFG+PBV//9D8ek92dI81c4fb2wZWlc+3NZK//E/4dk92tM4xL5F+PBA5d05ycNG+PAWUE0VR0VG+/JG9/A70sslgn5F+/JI+/JH+PFF+O8Y16XIAAAAOnRSTlOAAIb7n/Ok85ktii7h2YOSj/r54N7Lv62hfB0V8NDIw4+JBvji4KSb5RHp5NPP7da7mJU659ysOzkkkOLb7QAAAdFJREFUSMel1elymzAUBWCxCTCLoWBTg/fUxmmTJt2b8/4PFnODfVmijDI5/xh9w0i6kq4w3pUR9xdyHjlONJcLX8HZbnN0km/9N3gpAbizwp6a5tQuZi4AWSr4fpfCWteik3ptId3tm9HbR7/Hqw2wSsQgyQrYVGd9j99PHR5kWHrMON4SWXDWQFZeeeAgnIhXMwnhRGgSVS2vMtzFQpH4AW3ub4nvNwiVWpgnXPJIfIflREc7/xtepvC09C+au8RKrb91dcN9WImO/mcQ32KtoSHbqubwVPrLFX9C/sIDuJdRtb6xXQTEF5gJSuH+VP7bFjMsiEv8pdFjCvYjLQpI4nPYzahtAXB/qLSwMSceYdocvBug682wr8UUEXEH5vnDvazJe10LEw7zA+9B3YwderrlPJnke8ePNU+Gltr3R9bW5xfMS5Uo6NJ8BWekaSO5TOwV+lomH65gr9LChX85YnXrT2pdIzeGB9g8qbRYY0ucrwdXfqwTi+bCl49rz5qzgjRazleb62kde9pDWhIfPRzxYawnS+wMyvhZiv8MdRxis2c+ePTih4G+Q1YR031SA0LaDzYR7XagbjZe78/cbPRb2ccbJSfgNhwo2rB+ngEt+33gDECO8wAAAABJRU5ErkJggg==) center/100% 100% no-repeat;width:.12rem;height:.12rem}.container[data-v-5e4cb815]{height:100%;display:flex;flex-direction:column}.container .list[data-v-5e4cb815]{flex:1;overflow-x:hidden;overflow-y:auto;margin-top:.1rem}.container .list .component[data-v-5e4cb815]{position:relative;cursor:pointer;border:.01rem solid transparent;margin-bottom:.05rem;transition:border .2s ease-in-out}.container .list .component[data-v-5e4cb815]:after{content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.1)}.container .list .component[data-v-5e4cb815]:hover{border:.01rem solid #4270b3}.container .list .component.checked[data-v-5e4cb815]:before{z-index:9;position:absolute;top:.08rem;right:.08rem;content:"";display:inline-block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAsCAMAAAAtr3oOAAAAsVBMVEUAAAAAAAAIGRlE9OwcY2BF+e9G+PBC7OUZVlJK+fQLKCZI+fQ919FF+PAEDQ0TQT8PNTRF9+9F8+tF9+9G+PA1urRF+PAlhH8daGVG+fFM//dJ//RB6OA2wLoztK1F9+9G+PFG+PBV//9D8ek92dI81c4fb2wZWlc+3NZK//E/4dk92tM4xL5F+PBA5d05ycNG+PAWUE0VR0VG+/JG9/A70sslgn5F+/JI+/JH+PFF+O8Y16XIAAAAOnRSTlOAAIb7n/Ok85ktii7h2YOSj/r54N7Lv62hfB0V8NDIw4+JBvji4KSb5RHp5NPP7da7mJU659ysOzkkkOLb7QAAAdFJREFUSMel1elymzAUBWCxCTCLoWBTg/fUxmmTJt2b8/4PFnODfVmijDI5/xh9w0i6kq4w3pUR9xdyHjlONJcLX8HZbnN0km/9N3gpAbizwp6a5tQuZi4AWSr4fpfCWteik3ptId3tm9HbR7/Hqw2wSsQgyQrYVGd9j99PHR5kWHrMON4SWXDWQFZeeeAgnIhXMwnhRGgSVS2vMtzFQpH4AW3ub4nvNwiVWpgnXPJIfIflREc7/xtepvC09C+au8RKrb91dcN9WImO/mcQ32KtoSHbqubwVPrLFX9C/sIDuJdRtb6xXQTEF5gJSuH+VP7bFjMsiEv8pdFjCvYjLQpI4nPYzahtAXB/qLSwMSceYdocvBug682wr8UUEXEH5vnDvazJe10LEw7zA+9B3YwderrlPJnke8ePNU+Gltr3R9bW5xfMS5Uo6NJ8BWekaSO5TOwV+lomH65gr9LChX85YnXrT2pdIzeGB9g8qbRYY0ucrwdXfqwTi+bCl49rz5qzgjRazleb62kde9pDWhIfPRzxYawnS+wMyvhZiv8MdRxis2c+ePTih4G+Q1YR031SA0LaDzYR7XagbjZe78/cbPRb2ccbJSfgNhwo2rB+ngEt+33gDECO8wAAAABJRU5ErkJggg==) center/100% 100% no-repeat;width:.12rem;height:.12rem}.container .tabs[data-v-5e4cb815]{display:flex;background:rgba(70,83,97,.5);border-radius:.04rem;width:100%;justify-content:space-around;box-shadow:0 .01rem .01rem #fff3 inset}.container .tabs .tab[data-v-5e4cb815]{padding:.04rem .2rem;cursor:pointer;color:gray;border-top:.01rem solid transparent;font-size:.09rem}.container .tabs .tab[data-v-5e4cb815]:hover{font-weight:bold;color:#fff;font-size:.1rem}.container .tabs .tab.on[data-v-5e4cb815]{font-weight:bold;color:#fff;font-size:.1rem;background:linear-gradient(to bottom,rgba(50,197,255,.5),transparent);border-top:.01rem solid rgba(50,197,255,.8)}#container[data-v-35337e79]{width:100vw;height:100vh;position:fixed;top:0;left:0}.main[data-v-53d28ba4]{width:100%;height:100%;display:flex;flex-direction:column}.box[data-v-53d28ba4]{border-radius:.02rem;border:.01rem dashed #4270b3;background:rgba(54,65,77,.5);backdrop-filter:blur(.01rem);-webkit-backdrop-filter:blur(.01rem);position:relative;overflow:hidden}.box:hover>.btn[data-v-53d28ba4]{opacity:.7}.box.done[data-v-53d28ba4]{border:none;background:transparent;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)}.box>.add-btn[data-v-53d28ba4]{width:.2rem;height:.2rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:.8;cursor:pointer;transition:all .2s ease-in-out}.box>.add-btn[data-v-53d28ba4]:hover{opacity:1;width:.24rem;height:.24rem}.box>.btn[data-v-53d28ba4]{position:absolute;top:.05rem;cursor:pointer;opacity:0;transition:opacity .2s ease-in-out}.box>.btn.del[data-v-53d28ba4]{right:.05rem;color:red}.box>.btn.config[data-v-53d28ba4]{right:.25rem;color:#2f86ee}.box>.btn[data-v-53d28ba4]:hover{opacity:1}.main[data-v-53d28ba4]{background:url(./map.8dcb6965.png) center/100% 100% no-repeat}#setting-drawer{font-size:.1rem;background:rgba(49,94,139,.3);backdrop-filter:blur(.05rem);-webkit-backdrop-filter:blur(.05rem)}#setting-drawer .jv-container{margin:.1rem 0}#setting-drawer .jv-container .jv-code{padding:.05rem .1rem}.n-select{z-index:999}.community-list[data-v-270cfd21]{width:100%;max-height:50vh;padding-right:.05rem;overflow-y:auto;margin:.1rem 0}.community-list .community-item[data-v-270cfd21]{background:rgba(70,83,97,.4);border-radius:.04rem;box-shadow:0 .01rem .01rem #fff3 inset;box-sizing:border-box;padding:.05rem .08rem;margin-bottom:.08rem;cursor:pointer}.community-list .community-item[data-v-270cfd21]:hover{background:rgba(255,255,255,.2)}.community-list .community-item>p[data-v-270cfd21]:nth-of-type(1){color:#ccc}.community-list .community-item>p[data-v-270cfd21]:nth-of-type(2){color:#2f86ee}.community-list .community-item>div[data-v-270cfd21]{display:flex;align-items:center;border-bottom:.01rem dotted rgba(91,213,255,.5);margin-bottom:.08rem;padding-bottom:.06rem;color:#ccc}.community-list .community-item>div p[data-v-270cfd21]{font-size:.11rem;font-weight:bold;color:#fff;max-width:60%}.community-list .community-item>div span[data-v-270cfd21]{display:inline-block;font-size:.08rem;padding:0 .06rem;border-radius:.08rem;margin:0 .1rem;transform:skew(-30deg);background:#00f2ff}.community-list .community-item>div span>b[data-v-270cfd21]{display:inline-block;transform:skew(30deg);font-weight:normal;color:#000;white-space:nowrap}.safety-info>.my-sub[data-v-62d99782]{margin-top:.1rem;font-size:.12rem;padding-left:.1rem;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-image:linear-gradient(to bottom,#ffd1b2,#ff8635)}.community-info[data-v-357d1461]{display:flex;width:100%;height:70vh;overflow:hidden}.community-info .side-menu[data-v-357d1461]{width:1.2rem;background:rgba(2,27,53,.6);margin-right:.1rem}.community-info .content[data-v-357d1461]{flex:1;overflow-y:auto;padding-right:.05rem;box-sizing:border-box}.community-info .content .search-bar[data-v-357d1461]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.1rem}.community-info .my-sub[data-v-357d1461]{margin-top:.1rem;font-size:.12rem;padding-left:.1rem;color:#edb872}.map-btns[data-v-adc742b6]{position:fixed;z-index:99;right:29%;bottom:.05rem;transition:right .25s ease-in-out}.map-btns.isFull[data-v-adc742b6]{right:.05rem}.map-btns>img[data-v-adc742b6]{width:.2rem;height:.2rem;margin-bottom:.05rem;display:block;cursor:pointer;transition:transform .3s ease-in-out}.map-btns>img[data-v-adc742b6]:hover{transform:scale(1.2)}.main[data-v-4297d5fc]{width:100%;height:100%;display:flex;flex-direction:column}.box[data-v-4297d5fc]{border-radius:.02rem;background:transparent;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);position:relative;overflow:hidden}.list-content[data-v-4297d5fc]{max-height:60vh;overflow-y:auto}.list-content>.item[data-v-4297d5fc]{font-size:.12rem;font-weight:bold;display:flex;align-items:center;padding:.05rem}.list-content>.item[data-v-4297d5fc]:nth-of-type(2n+1){background:rgba(0,0,0,.5)}.list-content>.item[data-v-4297d5fc]:hover{background:rgba(255,255,255,.2)}.list-content>.item>p[data-v-4297d5fc]{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list-content>.item>p[data-v-4297d5fc]:nth-of-type(2){flex:1.2;margin:0 .1rem}@font-face{font-family:DIN;src:url(./DIN-Medium.f2f31575.otf)}@font-face{font-family:Pangmenzhengdao;src:url(./pangmenzhengdao.6ea2614b.ttf)}@font-face{font-family:BarlowExtraBold;src:url(./Barlow-ExtraBold.c961022b.ttf)}html,body{background:#000;font-family:DIN,Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:100%;height:100%;user-select:none;font-size:15vh;line-height:1.5}html p,body p{margin:0}#app{width:100%;height:100%;overflow:hidden;font-size:.1rem;color:#fff}.orange-count{font-size:.14rem;font-weight:bold;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-image:linear-gradient(to bottom,#ffd1b2,#ff8635);font-family:BarlowExtraBold,DIN,Avenir,Helvetica,Arial,sans-serif}::-webkit-scrollbar{width:.04rem}::-webkit-scrollbar-thumb{background:rgba(91,213,255,.3);-webkit-box-shadow:inset006pxrgba(0,0,0,.5)}::-webkit-scrollbar-thumb:window-inactive{background:rgba(91,213,255,.3)}#MapContainer[data-v-16c86b7d]{position:fixed;top:0;right:0;bottom:0;left:0}.amap-logo,.amap-copyright{display:none!important}.amap-icon img{width:100%;height:100%}.my-title[data-v-f5351596]{width:100%;height:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;position:relative;background-size:cover;background-position:center;height:.4rem;z-index:1}.my-title .date[data-v-f5351596]{z-index:2;position:absolute;top:.12rem;right:1%;color:#45f7ef}.my-title .filter[data-v-f5351596]{z-index:2;position:absolute;top:.08rem;left:1%;width:.24rem;height:.24rem;cursor:pointer;opacity:.8;transition:opacity .2s ease-in-out}.my-title .filter[data-v-f5351596]:hover{opacity:1}.my-title .bg[data-v-f5351596]{position:absolute;width:100%;height:100%;box-sizing:border-box;top:0;left:0}.my-title h1[data-v-f5351596]{z-index:2;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-image:linear-gradient(to bottom,#fff 40%,#0064d3);font-size:.2rem;letter-spacing:.05rem;font-family:Pangmenzhengdao,"Avenir",Helvetica,Arial,sans-serif;font-weight:normal}.my-loader-mask[data-v-0e815938]{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.3);z-index:99999;display:flex;align-items:center;justify-content:center}.my-loader[data-v-0e815938]{position:relative}.my-loader .outer[data-v-0e815938],.my-loader .middle[data-v-0e815938],.my-loader .inner[data-v-0e815938]{border:.03rem solid transparent;border-top-color:#47b3ff;border-right-color:#47b3ff;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(0)}.my-loader .outer[data-v-0e815938]{width:.35rem;height:.35rem;animation:spin-0e815938 2.5s linear infinite}.my-loader .middle[data-v-0e815938]{width:.21rem;height:.21rem;animation:spin-0e815938 2s linear reverse infinite}.my-loader .inner[data-v-0e815938]{width:.08rem;height:.08rem;animation:spin-0e815938 1.5s linear infinite}@-moz-keyframes spin-0e815938{to{transform:translate(-50%,-50%) rotate(360deg);border-top-color:#00f2ff;border-right-color:#00f2ff}}@-webkit-keyframes spin-0e815938{to{transform:translate(-50%,-50%) rotate(360deg);border-top-color:#00f2ff;border-right-color:#00f2ff}}@-o-keyframes spin-0e815938{to{transform:translate(-50%,-50%) rotate(360deg);border-top-color:#00f2ff;border-right-color:#00f2ff}}@keyframes spin-0e815938{to{transform:translate(-50%,-50%) rotate(360deg);border-top-color:#00f2ff;border-right-color:#00f2ff}}.my-grid[data-v-29237557]{position:relative;display:grid;overflow:hidden;flex:1}.card-wrapper[data-v-1f6f7263]{background:rgba(29,42,65,.8)}.card-wrapper .card-title[data-v-1f6f7263]{display:flex;align-items:center;padding:.04rem .1rem;background:linear-gradient(to right,rgba(59,85,102,.8) 70%,transparent);position:relative;border-bottom:.01rem solid #717f8c}.card-wrapper .card-title>p[data-v-1f6f7263]{font-size:.12rem;font-weight:bold}.card-wrapper .card-title .dot[data-v-1f6f7263]{display:inline-block;width:.02rem;height:.2rem;background:#fadb71;position:absolute;top:0;bottom:0;left:0;margin:auto}.card-wrapper .card-content[data-v-1f6f7263]{position:relative;box-sizing:border-box;padding:.05rem;display:flex;flex-direction:column;justify-content:space-around;backdrop-filter:blur(.01rem);-webkit-backdrop-filter:blur(.01rem)}.card-wrapper .card-content>div[data-v-1f6f7263]{width:100%;height:100%;box-sizing:border-box}b[data-v-823d9258]{font-family:BarlowExtraBold,"Avenir",Helvetica,Arial,sans-serif}.card-wrapper[data-v-45a9a72c]{width:100%;height:100%;box-sizing:border-box}.card-wrapper .card-title[data-v-45a9a72c]{display:flex;background:linear-gradient(to bottom,transparent,rgba(0,148,255,.3));position:relative;color:#fff;font-size:.14rem;height:.2rem;font-weight:bold;padding-left:.2rem;align-items:center;font-size:.13rem;box-sizing:border-box;border-bottom:.01rem solid rgba(91,213,255,.5)}.card-wrapper .card-title .tri[data-v-45a9a72c]{position:absolute;left:0;width:.2rem}.card-wrapper .card-title .flag[data-v-45a9a72c]{position:absolute;height:100%;right:.05rem}.card-wrapper .card-title .addition[data-v-45a9a72c]{display:flex;align-items:center;margin-left:.1rem}.card-wrapper .card-title .addition .count[data-v-45a9a72c]{color:#edb872;font-size:.15rem;font-family:Pangmenzhengdao,"Avenir",Helvetica,Arial,sans-serif;padding-bottom:.03rem}.card-wrapper .card-title .addition span[data-v-45a9a72c]{color:#aaa;font-size:.08rem;margin-left:.05rem}.card-wrapper .card-content[data-v-45a9a72c]{display:flex;background:rgba(49,94,139,.3);flex-direction:column;justify-content:space-around;position:relative;box-sizing:border-box;padding:.02rem .05rem;overflow:hidden!important}.card-wrapper .card-content>div[data-v-45a9a72c]{width:100%;height:100%;box-sizing:border-box}.my-card[data-v-62f87e0c]{width:100%;height:100%;box-sizing:border-box;overflow:hidden;z-index:10}.my-card[data-v-62f87e0c] .card-wrapper{width:100%;height:100%;box-sizing:border-box;position:relative}.my-card[data-v-62f87e0c] .card-title{max-height:.2rem}.my-card[data-v-62f87e0c] .card-content{height:calc(100% - .2rem);overflow-y:auto;overflow-x:hidden}.my-modal-mask[data-v-6d88980d]{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.1);z-index:999;display:flex;align-items:center;justify-content:center}.my-modal-mask .my-modal[data-v-6d88980d]{color:#fff;backdrop-filter:blur(.1rem);-webkit-backdrop-filter:blur(.1rem);z-index:99999}.my-modal-mask .my-modal head[data-v-6d88980d]{height:.3rem;display:flex;align-items:center;justify-content:space-between;padding:0 .1rem;background:linear-gradient(to right,rgba(59,85,102,.8) 70%,rgba(0,0,0,.2));position:relative;border-bottom:.01rem solid #717f8c}.my-modal-mask .my-modal head>p[data-v-6d88980d]{font-size:.12rem;font-weight:bold}.my-modal-mask .my-modal head .dot[data-v-6d88980d]{display:inline-block;width:.02rem;height:.2rem;background:#fadb71;position:absolute;top:0;bottom:0;left:0;margin:auto}.my-modal-mask .my-modal head>.close-btn[data-v-6d88980d]{width:.1rem;height:.1rem;cursor:pointer;margin-left:.05rem;transition:transform .2s ease-in-out}.my-modal-mask .my-modal head>.close-btn[data-v-6d88980d]:hover{transform:rotate(90deg)}.my-modal-mask .my-modal .content[data-v-6d88980d]{height:calc(100% - .3rem);max-height:80vh;box-sizing:border-box;padding:.1rem;overflow-y:auto;overflow-x:hidden;font-size:.1rem}.my-scroll[data-v-95b809bc]{width:100%;height:100%;box-sizing:border-box;overflow:hidden;z-index:99}.my-form[data-v-345d60ec]{width:100%;box-sizing:border-box}.my-form .row[data-v-345d60ec]{display:flex;background:rgba(2,27,53,.6);padding:.08rem 0}.my-form .row[data-v-345d60ec]:nth-child(odd){background:transparent}.my-form .row .col[data-v-345d60ec]{display:flex;align-items:center}.my-form .row .col p[data-v-345d60ec]{padding:0 .05rem;box-sizing:border-box}.my-form .row .col>.content[data-v-345d60ec]{flex:1;padding-left:0}.my-form .row .col>img[data-v-345d60ec]{max-height:.6rem;cursor:pointer}.my-table[data-v-6d5e3b6c]{width:100%;height:100%;box-sizing:border-box}.my-table p[data-v-6d5e3b6c]{padding:.05rem;margin:0;flex:1;box-sizing:border-box}.my-table .table-title[data-v-6d5e3b6c]{display:flex;background:rgba(2,27,53,.5);color:#2f86ee;font-weight:bold;box-sizing:inherit}.my-table .table-title>div[data-v-6d5e3b6c]{box-sizing:inherit}.my-table .table-content>div[data-v-6d5e3b6c]{display:flex;align-items:center;background:rgba(2,27,53,.6);box-sizing:inherit}.my-table .table-content>div[data-v-6d5e3b6c]:nth-child(odd){background:transparent}.my-table .table-content>div.selectable[data-v-6d5e3b6c]{cursor:pointer}.my-table .table-content>div.selectable[data-v-6d5e3b6c]:hover{color:#47b3ff;background:rgba(49,94,139,.3)}.my-table .table-content>div img[data-v-6d5e3b6c]{max-height:1rem;max-width:100%;cursor:pointer;margin-top:.05rem}.my-step[data-v-572c173c]{width:90%;margin:.05rem auto 0;display:flex;justify-content:space-between;position:relative;font-size:.09rem}.my-step .lines[data-v-572c173c]{width:100%;display:flex;position:absolute;left:-.05rem}.my-step .lines .line[data-v-572c173c]{height:.03rem;background:rgba(0,0,0,.8);border-radius:.1rem;margin-left:.05rem}.my-step .lines .line.done[data-v-572c173c]{background:linear-gradient(to right,#2f86ee,#00f2ff)}.my-step .item[data-v-572c173c]{position:relative;text-align:center;width:.1rem;z-index:1}.my-step .item .icon[data-v-572c173c]{width:.1rem;height:.1rem;border-radius:50%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACAEAYAAACTrr2IAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAAC7FJREFUeNrt3WtsVFUXBuA5rUBJJXwotiJoY4LgD1AhagxRaUsorYCKCkQlBhU1eAuoCZGLt5hURQWjJIIQiYIkTVEKgTa13LHGIKIIDWhBoEq5RGgb2vRC9/p+vN2UgVZKmZm1z5z3+bOyR4Q9a52158zMmX1CISIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiImqXGDFiunYVERFJTo72v+dpP2GiIEGDDxqE0YMPIo4ejdi/f8gLeSGvd+/W/yEkIamtxeMHD+LBkhLENWsQN270PM/zPGO0nx8RnQOv5AMHovHz8jA2RiJqzx78/ePHaz9fIgrZV/oXX0SDNjVFtuEv5uuvEZOStPNAFAhouMRExM8+i23Dt6e0FAvROW8piChy0Gieh7hwoXbLt23rViwEXbpo54soLvij8c9hxIj56CPtvBH5Wnjjf/qpdl9fmuZmLASDB2vnkciX0Ejvvafdyp3W8m2Edh6JfAXdk5ur3b8RWgVavoa89tpE7cQSuQyN8vbbGM2apT2fyPBaLgAsK+MCQNQGNL5teLsAxJvaWi4AROdA40+fjtH772vPJ7qqq7kAEIXslXsvv4xr7ufP155PbDQ2XqE9BSJNeMV/+mmMgtL4rc8+QXsKRBrQ+E8+idGiRYhewH4de/QoFwAKFJzqP/EERosXIyYEtA8qKgL6xClo0PiPPIL3+EuW4NGgNr5VUhKwUx4KmvDGX7ECj14R8M++RBD79g14Iihe4T1+Tg5Gy5YhBr3xrZUrsYNQZSXPACiu4BU/Kwuv+KtX49Fu3bTn5QZjsMXYkCFegpfgJezaFfD3QBQvwhu/oACPsvHPkpCE5JNPbOPbh3kGQL6Gxr/7boyKirAARH83XX/54QcsAJmZWAAaG+1/4QJAvoTGv+cejAoL2fjnkZCEZO9eDIYPR+MfP37+H+MCQL6CD/fuuguj4mLEHj205+WW8nLE4cPxYd+RI+39SS4A5Ato/CFDMFq/HrFXL+15ueXwYUTb+PY+Au3jh4DkNJzq33orRt9/j8jGD1dRgZie3tHGt3gGQE7CK/7NN2O0aRNiaqr2vNzyzz+I9hV///5L/Rt4BkBOwSv+gAEYbdiAyMYPZz/My8rqbONbPAMgJ6Dxb7oJn+bbV/zrrtOel1tOnEDMyEDj79lzuX8jzwBIFRo/LQ2Nb9/js/HDVVUhZmdHqvGtiJ8B2NsbY5SSgsKmpGBcX49YWYkncupUVPNGzgpv/M2b8Whamva83GL7Y8QI9MvOndozOgsFvOYafFjzyiuIGzYgdvRmiJWV+Hu++ALj7GzEoG3MEByod79+iPv3a2+Q7aaqKuTnjju069VaOBERSU5GnDMHsaYm4s/diBHz44/hV3qR36G4ffog/vGHdou5yfbTsGHa9WotXNiK/csvsU2IvYGBvRMLzwz8JvxMcfdu7RZzU20tYnq6dr1aCyciIkOHIh47pp0iWL6cdzn1B3tbatTt99+1jxw31dUhZmZq1+u8wqWmYmIVFdopuoARI2blSkRu8OAaFOl//0P8+Wftw8VNDQ2Io0dr1+u8wiUkIG7erJ2ijlm+HDGR9zdQhgW5Z0/E7du1jww3Odj4ZwsoIiITJ2qnqHOWLkUM+iaPsYe82w+Ht2zRPhLcdOYM4oQJ2vVqp4CJiYhlZdqp6jQjRsyiRRjww8JoQ55t42/dql1+NzU14bgcP167Xu0XsuXrNu1URUzYdQVcCCINee3eHXlev1673G46cwb5mTRJu14Xk4Arse67T3siEeOFvJA3ZQoG8+ZpTydehF/hmZ+PPDv06bUTRLATz9Sp2IHH7kbsMKxYpaXaa2Z0xftdXqPHNj7yuHatdiXdZAzy9Mwz2vW69AKLiMihQ9opjH6NxIiZO1c7335hr7dA8lat0i6fm+yFai+8oF2vzhdaRFovSAiKOXO08+4qe30F8pSfr10pt02bpl2vyy+4iIhUVWmnUsfMmdr5dwXyYb8NWrZMuzJue/117XpFuPD79mmnVNeMGdp10K2/54V/jUoXMGLEzJ6tXa8oHQCFhdr5Va6u/9/Ldarunoe4eLF2Bdz2zjva9YrygTB9unaK3WAXgqlTtesS3Xrbxl+wQDvjzjJixHz8sXa9on9AtOzFpp1vtzQ3I06erF2fiNdbRETmz9fOsNsCeP0Invjq1dqpd0tzs1+u6OpYfXNztTPqrKBfQYoEDB6MBNhXQAL7Y45HH9Wu0yXXVURE3n1XO4POMmLELFmCAX9M1rIQfPCBdl3c1NiIOG6cdp0uWkcREXnzTe2Mue3LLxHZ+GfZhGAhWLdOu0RusgvB/fdr16vt+tlNWukCRoyYvDxuKHMRyFavXjp7AfpFfT3yM2qUG/Vi47eLjd85yF6vXog7dmjX0U32UuoRI3Tq89JLiPZrTAr33XfcS/IycXfXjojd7q74d556CpGN37aiIhy33bpp90/cQEJTUpBgH+8gFC1GjJjTpxHvvTfi+RcRkcmTEfltzQWMGDHFxRgkJWn3S9xCgvv2RcLLy7Xr7qbqauTnzjsjk+8JExDt15IUzu5JmJys3R+BgQP8+uuR+AMHtA8BN9lbPd1++yXnV0REHn4YsaO3XAuabduQ3yuv1O6HwEIBbrgBBfnrL+1Dwk2nTiEOHXrRfIqIyLhxiPZrRwpXWorjrkcP7ePfr6J0d+D+/cPv+srbPYc7cQJ7x2VmYu+43bvtf8GBnZ2N0apViPwQ6ywJSUh27sTxZe+ay7tMd1bUrnnGQjBgAAq1aRMe7dNH+wm75fhxxIwMHNj9+iFfBQV4nB9ihfvtN8TMTDT+yZPaM/K7qP/oAQvBoEEYbdyIA7x3b+0n7pajRxF79kTs3l17Rm7ZtQvRNv6//2rPKF7E7FdPWAhuuQULwIYNePTqq7UTQC7btw8xPR2NbxdKipSY/+wR73Fvuw2j9esRr7pKOxHkkj//RLSNf+SI9oziVcx/BYWC/vorRvYmiTU12okgFxw6hM9CRo5k48eG+sYHOCMYNgyjoiJEfq0TLIcPIw4fjsY/eFB7RkGh/jtoFLy0FCu/vUXZ6dPa86JY+PtvxIwMNr4O9QXAwvfh27ZhIbAbbtTXa8+LouHYMUR7qn/ggPaMgsqZBcDCQlBSgoXggQfwKBeC+GCve7Bf5+3dqz2joHNuAbCwEBQXY/TQQ4gNDdrzos6wVz7aK/fKyrRnRODsAmDhgCksxOixxxDPnNGeF3VEVRViTs75lzyTG5xfACwsBN9+i1cSuzsvFwI3VVejTllZqNuOHdozorb5ZgGw8EqSn4/R448jNjdrz4tCoVCopgaNP2oU6rR9u/aM6L/5bgGw8MqSl4fRlCmIxmjPK5jq6tD4Y8ei8X/6SXtG1DG+XQAsLARLl2L07LOIItrzCoa6OsQxY9D4W7Zoz4gCDlcW2l1yKTrq6xFzcrTrTdQmHKDTpmm3SnxpaMCvOseM0a4vUYfgwH31Ve3W8Td374RE1CE4gN96S7uV/MXuPjxxonb9iCICBzTvlvvfbOPbC6+I4gwO8Nxc7VZzS3Mz3uNPmqRdH6KYwAE/d6526+kyBnl47jntehDFFBrA8xAXLNBuxZg3voiIPP+8dh2IVIUvBJ9/rt2a0e99MWJee00770ROQXckJCB+9ZV2n0bHjBnaeSZyGholMRFx+XLtlo2MmTO180rkK+ELwYoV2i3cOW+8oZ1HIl/De+YuXdBQBQXaLX1RRoyYDz/UzhtRXEFjde2KLluzRrvP2zZvnnaeiOIaGi0pCfGbb3Qb3n6dN2uWdl6IAgWN53k4M5g9G+Omptg0fnU1ot00lYhUoSEHDsSCkJcX/gp9ueyv8hYuxN+fmqr9fMnf1G8NFu/QqGlpGI0di7sjjxyJ8Y03IqakIDY3Y2utI0fw58rLMV67FuN167AD0smT2s+LiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiCLs/1StmcaeHDP9AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTAzLTEzVDEwOjUzOjQ4KzA4OjAwdNoBrwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wMy0xM1QxMDo1Mzo0OCswODowMAWHuRMAAABGdEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL2hvbWUvYWRtaW4vaWNvbi1mb250L3RtcC9pY29uX20yNXR0eXJ4cG8vdHJ1ZS5zdmcircoAAAAAAElFTkSuQmCC) center center/60% 60% no-repeat;background-color:#00f2ff}.my-step .item .none[data-v-572c173c]{width:.06rem;height:.06rem;border:.02rem solid #00f2ff;background:rgba(0,0,0,.8);border-radius:50%}.my-step .item .msg[data-v-572c173c]{display:inline-block;font-size:.06rem;width:1rem;transform:translate(-50%);margin:.02rem 50%;font-weight:normal;color:#aaa}.my-step .item p[data-v-572c173c]{width:.8rem;margin:.05rem 50%;transform:translate(-50%);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#ccc;font-size:.08rem}.my-step .item.on .icon[data-v-572c173c]{transform:scale(1.2);box-shadow:0 0 .05rem .01rem #00f2ff}.my-step .item.on p[data-v-572c173c]{color:#00f2ff;font-weight:bold}.my-empty[data-v-38bbb3c7]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;box-sizing:border-box;flex-direction:column;color:#ccc;font-weight:bold;justify-content:center!important;align-items:center!important}.my-empty>img[data-v-38bbb3c7]{width:.4rem;height:.4rem}.my-chart[data-v-0f5e33cd]{width:100%;height:100%;box-sizing:border-box}.my-chart[data-v-4918d7b6]{width:100%;height:100%;box-sizing:border-box}.my-chart[data-v-76b76fd9]{width:100%;height:100%;box-sizing:border-box}.my-chart[data-v-86a9fb4c]{width:100%;height:100%;box-sizing:border-box}.my-chart[data-v-0d7691d8]{width:100%;height:100%;box-sizing:border-box}.my-sub[data-v-59678acc]{display:flex;align-items:center;border-bottom:.01rem solid rgba(105,110,114,.5);margin-bottom:.03rem}.my-sub>.title[data-v-59678acc]{display:flex;align-items:center;font-weight:bold;flex:1}.my-sub>.title.click-able[data-v-59678acc]{cursor:pointer}.my-sub>.title.click-able[data-v-59678acc]:hover{color:#edb872}.my-sub>.title .addition[data-v-59678acc]{display:flex;align-items:center;margin-left:.1rem}.my-sub>.title .addition .count[data-v-59678acc]{font-size:.15rem;font-family:BarlowExtraBold,"Avenir",Helvetica,Arial,sans-serif;padding-bottom:.03rem}.my-sub>.title .addition span[data-v-59678acc]{color:#aaa;font-size:.08rem;margin-left:.05rem}.my-sub>.title .addition img[data-v-59678acc]{width:.3rem;margin-left:.1rem}.my-sub>.title .search-container[data-v-59678acc]{display:flex;align-items:center;position:relative}.my-sub>.title .search-container:hover .close-btn[data-v-59678acc]{display:inline-block}.my-sub>.title .search-container .search-bar[data-v-59678acc]{display:block;width:0;height:.16rem;background:rgba(0,0,0,.1);border-radius:.02rem;outline:none;margin:0 .05rem;padding:0;box-sizing:border-box;font-family:DIN,"Avenir",Helvetica,Arial,sans-serif;font-size:.1rem;transition:all .3s ease-in-out;opacity:0}.my-sub>.title .search-container .search-bar.open[data-v-59678acc]{width:1.6rem;padding:.02rem .16rem .02rem .05rem;border:.01rem solid #2f86ee;opacity:1}.my-sub>.title .search-container .search-btn[data-v-59678acc]{width:.14rem;height:.14rem;cursor:pointer;transition:transform .2s ease-in-out}.my-sub>.title .search-container .search-btn[data-v-59678acc]:hover{transform:scale(1.3) rotate(360deg)}.my-sub>.title .search-container .close-btn[data-v-59678acc]{display:none;width:.08rem;height:.08rem;cursor:pointer;position:absolute;right:.24rem;transition:transform .2s ease-in-out}.my-sub>.title .search-container .close-btn[data-v-59678acc]:hover{transform:scale(1.3) rotate(360deg)}.my-sub>.dot[data-v-59678acc]{display:inline-block;width:0;height:0;border:.05rem solid transparent;border-right-color:#ffb560}.my-wave-ball[data-v-2985837f]{position:relative;background:transparent;border-radius:50%;overflow:hidden;border:.02rem solid;box-sizing:content-box;transform:translateZ(0);display:flex;align-items:center;justify-content:center}.my-wave-ball p[data-v-2985837f]{z-index:30}.my-wave-ball .before[data-v-2985837f],.my-wave-ball .after[data-v-2985837f]{content:"";position:absolute;width:200%;height:200%;left:50%;opacity:.5;border-radius:40%;animation:rotate-2985837f 10s ease infinite alternate;z-index:20}.my-wave-ball .after[data-v-2985837f]{radius:30%;opacity:.8;width:195%;height:195%;animation:rotate-2985837f 20s linear infinite alternate;z-index:10}@-moz-keyframes rotate-2985837f{0%{transform:translate(-46%,-70%) rotate(0)}to{transform:translate(-50%,-72%) rotate(360deg)}}@-webkit-keyframes rotate-2985837f{0%{transform:translate(-46%,-70%) rotate(0)}to{transform:translate(-50%,-72%) rotate(360deg)}}@-o-keyframes rotate-2985837f{0%{transform:translate(-46%,-70%) rotate(0)}to{transform:translate(-50%,-72%) rotate(360deg)}}@keyframes rotate-2985837f{0%{transform:translate(-46%,-70%) rotate(0)}to{transform:translate(-50%,-72%) rotate(360deg)}}.my-progress[data-v-cc5251b6]{width:100%}.my-progress .msg[data-v-cc5251b6]{display:flex;align-items:center;justify-content:space-between;padding:0 .05rem}.my-progress .msg>p[data-v-cc5251b6]{color:#ccc}.my-progress .msg>p[data-v-cc5251b6]:last-child{color:#5bd5ff;font-size:.14rem;font-weight:bold}.my-progress .msg>p:last-child span[data-v-cc5251b6]{font-size:.1rem}.my-progress .bar[data-v-cc5251b6]{width:100%;position:relative;border-radius:.1rem}.my-progress .bar>div[data-v-cc5251b6]{position:absolute;border-radius:inherit;left:0;right:0;bottom:0;top:0}.my-progress .bar>div.inner[data-v-cc5251b6]{transition:width .5s ease-in-out;z-index:2}.my-progress .bar>div.bg[data-v-cc5251b6]{opacity:.3}.my-drawer[data-v-0d63780a]{background-color:#021b3580;position:fixed;top:.05rem;right:.05rem;bottom:.05rem;z-index:9999;padding:.15rem;backdrop-filter:blur(.05rem);-webkit-backdrop-filter:blur(.05rem);color:#fff;font-size:.1rem}.my-drawer .close-btn[data-v-0d63780a]{position:absolute;top:inherit;bottom:inherit;margin:auto;width:.24rem;left:-.24rem;cursor:pointer;transition:transform .3s ease}.my-drawer .close-btn[data-v-0d63780a]:hover{transform:scale(1.2)}:root{--animate-duration: 1s;--animate-delay: 1s;--animate-repeat: 1}.animate__animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animate__animated.animate__infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animate__animated.animate__repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animate__animated.animate__repeat-2{-webkit-animation-iteration-count:calc(1 * 2);animation-iteration-count:calc(1 * 2);-webkit-animation-iteration-count:calc(var(--animate-repeat) * 2);animation-iteration-count:calc(var(--animate-repeat) * 2)}.animate__animated.animate__repeat-3{-webkit-animation-iteration-count:calc(1 * 3);animation-iteration-count:calc(1 * 3);-webkit-animation-iteration-count:calc(var(--animate-repeat) * 3);animation-iteration-count:calc(var(--animate-repeat) * 3)}.animate__animated.animate__delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animate__animated.animate__delay-2s{-webkit-animation-delay:calc(1s * 2);animation-delay:calc(1s * 2);-webkit-animation-delay:calc(var(--animate-delay) * 2);animation-delay:calc(var(--animate-delay) * 2)}.animate__animated.animate__delay-3s{-webkit-animation-delay:calc(1s * 3);animation-delay:calc(1s * 3);-webkit-animation-delay:calc(var(--animate-delay) * 3);animation-delay:calc(var(--animate-delay) * 3)}.animate__animated.animate__delay-4s{-webkit-animation-delay:calc(1s * 4);animation-delay:calc(1s * 4);-webkit-animation-delay:calc(var(--animate-delay) * 4);animation-delay:calc(var(--animate-delay) * 4)}.animate__animated.animate__delay-5s{-webkit-animation-delay:calc(1s * 5);animation-delay:calc(1s * 5);-webkit-animation-delay:calc(var(--animate-delay) * 5);animation-delay:calc(var(--animate-delay) * 5)}.animate__animated.animate__faster{-webkit-animation-duration:calc(1s / 2);animation-duration:calc(1s / 2);-webkit-animation-duration:calc(var(--animate-duration) / 2);animation-duration:calc(var(--animate-duration) / 2)}.animate__animated.animate__fast{-webkit-animation-duration:calc(1s * .8);animation-duration:calc(1s * .8);-webkit-animation-duration:calc(var(--animate-duration) * .8);animation-duration:calc(var(--animate-duration) * .8)}.animate__animated.animate__slow{-webkit-animation-duration:calc(1s * 2);animation-duration:calc(1s * 2);-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2)}.animate__animated.animate__slower{-webkit-animation-duration:calc(1s * 3);animation-duration:calc(1s * 3);-webkit-animation-duration:calc(var(--animate-duration) * 3);animation-duration:calc(var(--animate-duration) * 3)}@media print,(prefers-reduced-motion: reduce){.animate__animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animate__animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translateY(-30px) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translateY(-15px) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translate(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translateY(-4px) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translateY(-30px) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translateY(-15px) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translate(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translateY(-4px) scaleY(1.02)}}.animate__bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.animate__flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scale(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scale(1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scale(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scale(1)}}.animate__pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scale(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale(1.25,.75)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale(.75,1.25)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale(1.15,.85)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale(.95,1.05)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale(1.05,.95)}to{-webkit-transform:scale3d(1,1,1);transform:scale(1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scale(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale(1.25,.75)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale(.75,1.25)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale(1.15,.85)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale(.95,1.05)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale(1.05,.95)}to{-webkit-transform:scale3d(1,1,1);transform:scale(1)}}.animate__rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate(-10px)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate(10px)}}@keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate(-10px)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate(10px)}}.animate__shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translateY(-10px)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translateY(10px)}}@keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translateY(-10px)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translateY(10px)}}.animate__shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}.animate__headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate(0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate(0)}}.animate__swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scale(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scale(1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scale(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scale(1)}}.animate__tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translate(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate(-25%) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate(20%) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate(-15%) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate(10%) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate(-5%) rotate(-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translate(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate(-25%) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate(20%) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate(-15%) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate(10%) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate(-5%) rotate(-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.animate__jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.animate__heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:calc(1s * 1.3);animation-duration:calc(1s * 1.3);-webkit-animation-duration:calc(var(--animate-duration) * 1.3);animation-duration:calc(var(--animate-duration) * 1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.animate__backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.animate__backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.animate__backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.animate__backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale(1)}}.animate__bounceIn{-webkit-animation-duration:calc(1s * .75);animation-duration:calc(1s * .75);-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translateY(-3000px) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translateY(25px) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translateY(-10px) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translateY(5px) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translateY(-3000px) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translateY(25px) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translateY(-10px) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translateY(5px) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate(-3000px) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate(25px) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate(-10px) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate(5px) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate(-3000px) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate(25px) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate(-10px) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate(5px) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate(3000px) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate(-25px) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate(10px) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate(-5px) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate(3000px) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate(-25px) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate(10px) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate(-5px) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translateY(3000px) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translateY(-20px) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translateY(10px) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translateY(-5px) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translateY(3000px) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translateY(-20px) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translateY(10px) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translateY(-5px) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.animate__bounceOut{-webkit-animation-duration:calc(1s * .75);animation-duration:calc(1s * .75);-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translateY(10px) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translateY(-20px) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translateY(2000px) scaleY(3)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translateY(10px) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translateY(-20px) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translateY(2000px) scaleY(3)}}.animate__bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate(20px) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate(-2000px) scaleX(2)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate(20px) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate(-2000px) scaleX(2)}}.animate__bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate(-20px) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate(2000px) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate(-20px) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate(2000px) scaleX(2)}}.animate__bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translateY(-10px) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translateY(20px) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translateY(-2000px) scaleY(3)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translateY(-10px) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translateY(20px) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translateY(-2000px) scaleY(3)}}.animate__bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate__fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translateY(-100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translateY(-100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translateY(-2000px)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translateY(-2000px)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate(-100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate(-100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate(-2000px)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate(-2000px)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate(100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate(100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate(2000px)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate(2000px)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translateY(100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translateY(100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translateY(2000px)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translateY(2000px)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate(-100%,-100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate(-100%,-100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate(100%,-100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate(100%,-100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate(-100%,100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate(-100%,100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate(100%,100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate(100%,100%)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.animate__fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translateY(100%)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translateY(100%)}}.animate__fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translateY(2000px)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translateY(2000px)}}.animate__fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate(-100%)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate(-100%)}}.animate__fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate(-2000px)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate(-2000px)}}.animate__fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate(100%)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate(100%)}}.animate__fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate(2000px)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate(2000px)}}.animate__fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translateY(-100%)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translateY(-100%)}}.animate__fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translateY(-2000px)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translateY(-2000px)}}.animate__fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate(-100%,-100%)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate(-100%,-100%)}}.animate__fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate(100%,-100%)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate(100%,-100%)}}.animate__fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate(100%,100%)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate(100%,100%)}}.animate__fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate(-100%,100%)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate(-100%,100%)}}.animate__fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scale(1) translate(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scale(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scale(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translate(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale(1) translate(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scale(1) translate(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scale(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scale(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translate(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale(1) translate(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animate__animated.animate__flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.animate__flipOutX{-webkit-animation-duration:calc(1s * .75);animation-duration:calc(1s * .75);-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.animate__flipOutY{-webkit-animation-duration:calc(1s * .75);animation-duration:calc(1s * .75);-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate(100%) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate(100%) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate(-100%) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate(-100%) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate(100%) skew(30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate(100%) skew(30deg);opacity:0}}.animate__lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate(-100%) skew(-30deg);opacity:0}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate(-100%) skew(-30deg);opacity:0}}.animate__lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translate(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translate(0);opacity:1}}.animate__rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translate(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translate(0);opacity:1}}.animate__rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translate(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translate(0);opacity:1}}.animate__rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translate(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translate(0);opacity:1}}.animate__rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translate(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translate(0);opacity:1}}.animate__rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate(200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate(200deg);opacity:0}}.animate__rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate(45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate(45deg);opacity:0}}.animate__rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate(-45deg);opacity:0}}.animate__rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate(-45deg);opacity:0}}.animate__rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate(90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate(90deg);opacity:0}}.animate__rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translateY(700px);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translateY(700px);opacity:0}}.animate__hinge{-webkit-animation-duration:calc(1s * 2);animation-duration:calc(1s * 2);-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}@-webkit-keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate(-100%) rotate(-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate(-100%) rotate(-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate(100%) rotate(120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate(100%) rotate(120deg)}}.animate__rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.animate__zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translateY(-1000px);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translateY(60px);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translateY(-1000px);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translateY(60px);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate(-1000px);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate(10px);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate(-1000px);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate(10px);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate(1000px);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate(-10px);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate(1000px);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate(-10px);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translateY(1000px);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translateY(-60px);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translateY(1000px);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translateY(-60px);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.animate__zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translateY(-60px);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translateY(2000px);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translateY(-60px);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translateY(2000px);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate(42px)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate(-2000px)}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate(42px)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate(-2000px)}}.animate__zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate(-42px)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate(2000px)}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate(-42px)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate(2000px)}}.animate__zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translateY(60px);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translateY(-2000px);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translateY(60px);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translateY(-2000px);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translateY(-100%);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translateY(-100%);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate(-100%);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate(-100%);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate(100%);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate(100%);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translateY(100%);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translateY(100%);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}.animate__slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translateY(100%)}}@keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translateY(100%)}}.animate__slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate(-100%)}}@keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate(-100%)}}.animate__slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate(100%)}}@keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate(100%)}}.animate__slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translateY(-100%)}}@keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translate(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translateY(-100%)}}.animate__slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
This source diff could not be displayed because it is too large. You can view the blob instead.
.jv-container{box-sizing:border-box;position:relative}.jv-container.boxed{border:1px solid #eee;border-radius:6px}.jv-container.boxed:hover{box-shadow:0 2px 7px #00000026;border-color:transparent;position:relative}.jv-container.jv-light{background:#fff;white-space:nowrap;color:#525252;font-size:14px;font-family:Consolas,Menlo,Courier,monospace}.jv-container.jv-light .jv-ellipsis{color:#999;background-color:#eee;display:inline-block;line-height:.9;font-size:.9em;padding:0 4px 2px;margin:0 4px;border-radius:3px;vertical-align:2px;cursor:pointer;user-select:none}.jv-container.jv-light .jv-button{color:#49b3ff}.jv-container.jv-light .jv-key{color:#111;margin-right:4px}.jv-container.jv-light .jv-item.jv-array{color:#111}.jv-container.jv-light .jv-item.jv-boolean{color:#fc1e70}.jv-container.jv-light .jv-item.jv-function{color:#067bca}.jv-container.jv-light .jv-item.jv-number{color:#fc1e70}.jv-container.jv-light .jv-item.jv-object{color:#111}.jv-container.jv-light .jv-item.jv-undefined{color:#e08331}.jv-container.jv-light .jv-item.jv-string{color:#42b983;word-break:break-word;white-space:normal}.jv-container.jv-light .jv-item.jv-string .jv-link{color:#0366d6}.jv-container.jv-light .jv-code .jv-toggle:before{padding:0 2px;border-radius:2px}.jv-container.jv-light .jv-code .jv-toggle:hover:before{background:#eee}.jv-container .jv-code{overflow:hidden;padding:30px 20px}.jv-container .jv-code.boxed{max-height:300px}.jv-container .jv-code.open{max-height:initial!important;overflow:visible;overflow-x:auto;padding-bottom:45px}.jv-container .jv-toggle{background-image:url(./icon.a080a8a4.svg);background-repeat:no-repeat;background-size:contain;background-position:center center;cursor:pointer;width:10px;height:10px;margin-right:2px;display:inline-block;transition:transform .1s}.jv-container .jv-toggle.open{transform:rotate(90deg)}.jv-container .jv-more{position:absolute;z-index:1;bottom:0;left:0;right:0;height:40px;width:100%;text-align:center;cursor:pointer}.jv-container .jv-more .jv-toggle{position:relative;top:40%;z-index:2;color:#888;transition:all .1s;transform:rotate(90deg)}.jv-container .jv-more .jv-toggle.open{transform:rotate(-90deg)}.jv-container .jv-more:after{content:"";width:100%;height:100%;position:absolute;bottom:0;left:0;z-index:1;background:linear-gradient(to bottom,rgba(0,0,0,0) 20%,rgba(230,230,230,.3) 100%);transition:all .1s}.jv-container .jv-more:hover .jv-toggle{top:50%;color:#111}.jv-container .jv-more:hover:after{background:linear-gradient(to bottom,rgba(0,0,0,0) 20%,rgba(230,230,230,.3) 100%)}.jv-container .jv-button{position:relative;cursor:pointer;display:inline-block;padding:5px;z-index:5}.jv-container .jv-button.copied{opacity:.4;cursor:default}.jv-container .jv-tooltip{position:absolute}.jv-container .jv-tooltip.right{right:15px}.jv-container .jv-tooltip.left{left:15px}.jv-container .j-icon{font-size:12px}.jv-node{position:relative}.jv-node:after{content:","}.jv-node:last-of-type:after{content:""}.jv-node.toggle{margin-left:13px!important}.jv-node .jv-node{margin-left:25px}
# smap-xh
上海市测绘院地图API加载库,通过该API库实现上海测绘院地图数据加载显示(仅限上海市徐汇行政服务中心政务网可用)
## 注意事项
由于smap-xh 属于新版本api,同时支持二三维一体化,目前功能还不完善,内容同步更新中。
![Image text](https://raw.githubusercontent.com/thiswildidea/images/master/xh/map3d.png)
## 目录
- [安装](#安装)
- [使用](#使用)
- [以NPM包方式使用](#以NPM包方式使用)
- [以普通JS方式使用](#以普通JS方式使用)
- [示例](#示例)
- [地图](#地图)
- [生命周期](#生命周期)
- [设置网络模式](#设置网络模式)
- [创建二维地图](#创建二维地图)
- [创建三维地图](#创建三维地图)
- [地图样式](#地图样式)
- [地图样式-默认样式](#地图样式-默认样式)
- [地图样式-暗色样式](#地图样式-暗色样式)
- [地图样式-实景样式](#地图样式-实景样式)
- [业务图层开关](#业务图层开关)
- [业务数据名称(不断更新)](#业务数据名称(不断更新))
- [显示业务数据](#显示业务数据)
- [隐藏业务数据](#隐藏业务数据)
- [设置图层筛选条件](#设置图层筛选条件)
- [地图属性](#地图属性)
- [地图缩放级别控制](#地图缩放级别zooms控制)
- [地图是否可旋转](#地图是否可旋转)
- [三维建筑地块是否可见](#三维建筑地块是否可见)
[获取三维地图俯仰角](#[获取三维地图俯仰角)
- [设置三维地图俯仰角](#设置三维地图俯仰角)
- [获取地图中心点](#获取地图中心点)
- [获取地图级别](#获取地图级别)
- [设置地图中心点](#设置地图中心点)
- [设置地图级别](#设置地图级别)
- [设置地图级别和中心点](#设置地图级别和中心点)
- [获取地图比例尺](#获取地图比例尺)
- [设置地图旋转角度](#设置地图旋转角度)
- [获取地图显示范围](#获取地图显示范围)
- [设置地图显示范围](#设置地图显示范围)
- [地图平移-像素平移](#地图平移-像素平移)
- [地图平移-中心点平移](#地图平移-中心点平移)
- [地图放大](#地图放大)
- [地图放大](#地图缩小)
- [设置地图样式](#设置地图样式)
- [获取地图样式](#获取地图样式)
- [开启穿透地表](#开启穿透地表)
- [恢复地表模式](#恢复地表模式)
- [添加地图缩放范围限制](#添加地图缩放范围限制)
- [移除地图缩放范围限制](#移除地图缩放范围限制)
- [鼠标禁用](#鼠标禁用)
- [3d模式下二三维视角切换](#3d模式下二三维视角切换)
- [添加图层](#添加图层)
- [根据服务url添加图层](#根据服务url添加图层)
- [根据图层id获取图层](#根据图层id获取图层)
- [设置图层属性](#设置图层属性)
- [根据图层id删除图层](#根据图层id删除图层)
- [自定义地图控件主题](#自定义地图控件主题)
- [自定义地图控件主题-暗色主题](#自定义地图控件主题-暗色主题)
- [自定义地图控件主题-亮色主题](#自定义地图控件主题-亮色主题)
- [地图控件](#地图控件)
- [地图控件-Home](#地图控件-Home)
- [地图控件-Zoom](#地图控件-Zoom)
- [地图控件-Compass](#地图控件-Compass)
- [地图控件-Fullscreen](#地图控件-Fullscreen)
- [地图控件-LayerListControl](#地图控件-LayerListControl)
- [地图控件-MeasureLine](#地图控件-MeasureLine)
- [地图控件-MeasureArea](#地图控件-MeasureArea)
- [地图控件-BasemapToggle](#地图控件-BasemapToggle)
- [地图控件-UndergroundSwitch](#地图控件-UndergroundSwitch)
- [地图控件-BMapGallery](#地图控件-BMapGallery)
- [地图控件-BMapGalleryExpand](#地图控件-BMapGalleryExpand)
- [删除地图控件](#删除地图控件)
- [地图覆盖物](#地图覆盖物)
- [添加点状覆盖物](#添加点状覆盖物)
- [更新点状覆盖物](#更新点状覆盖物)
- [删除点状覆盖物](#删除点状覆盖物)
- [添加点状覆盖物多个](#添加点状覆盖物多个)
- [更新点状覆盖物多个](#更新点状覆盖物多个)
- [删除点状覆盖物多个](#删除点状覆盖物多个)
- [添加点状覆盖物组](#添加点状覆盖物组)
- [更新点状覆盖物组](#更新点状覆盖物组)
- [删除点状覆盖物组](#删除点状覆盖物组)
- [添加线状覆盖物](#添加线状覆盖物)
- [更新线状覆盖物](#更新线状覆盖物)
- [删除线状覆盖物](#删除线状覆盖物)
- [添加线状覆盖物多个](#添加线状覆盖物多个)
- [更新线状覆盖物多个](#更新线状覆盖物多个)
- [删除线状覆盖物多个](#删除线状覆盖物多个)
- [添加线状覆盖物组](#添加线状覆盖物组)
- [更新线状覆盖物组](#更新线状覆盖物组)
- [删除线状覆盖物组](#删除线状覆盖物组)
- [添加面状覆盖物](#添加面状覆盖物)
- [更新面状覆盖物](#更新面状覆盖物)
- [删除面状覆盖物](#删除面状覆盖物)
- [添加面状覆盖物多个](#添加面状覆盖物多个)
- [更新面状覆盖物多个](#更新面状覆盖物多个)
- [删除面状覆盖物多个](#删除面状覆盖物多个)
- [添加面状覆盖物组](#添加面状覆盖物组)
- [更新面状覆盖物组](#更新面状覆盖物组)
- [删除面状覆盖物组](#删除面状覆盖物组)
- [地图覆盖物More](#地图覆盖物More)
- [添加点状覆盖物](#添加点状覆盖物addfeature)
- [更新点状覆盖物](#更新点状覆盖物updatefeature)
- [删除点状覆盖物](#删除点状覆盖物removefeature)
- [添加点状覆盖物多个](#添加点状覆盖物多个addfeature)
- [更新点状覆盖物](#更新点状覆盖物多个updatefeature)
- [删除点状覆盖物多个](#删除点状覆盖物多个removefeature)
- [添加点状覆盖物组](#添加点状覆盖物组addfeature)
- [更新点状覆盖物组](#更新点状覆盖物组updatefeature)
- [删除点状覆盖物组](#删除点状覆盖物组removefeature)
- [地图事件](#地图事件)
- [地图事件列表](#地图事件列表)
- [地图zoom变化事件](#地图zoom变化事件)
- [地图加载完成事件](#地图加载完成事件)
- [地图范围变化事件](#地图范围变化事件)
- [地图中心点变化事件](#地图中心点变化事件)
- [地图失去焦点事件](#地图失去焦点事件)
- [地图单击事件](#地图单击事件)
- [地图双击事件](#地图双击事件)
- [地图拖拽事件](#地图拖拽事件)
- [地图聚焦事件](#地图聚焦事件)
- [地图按住事件](#地图按住事件)
- [地图键盘键按下事件](#地图键盘键按下事件)
- [地图键盘键弹起事件](#地图键盘键弹起事件)
- [地图鼠标和触摸滚动事件](#地图鼠标和触摸滚动事件)
- [地图鼠标或触摸按下事件](#地图鼠标或触摸按下事件)
- [地图鼠标进入或触摸开始事件](#地图鼠标进入或触摸开始事件)
- [地图鼠标离开和触摸结束事件](#地图鼠标离开和触摸结束事件)
- [地图鼠标移动和触摸操作事件](#地图鼠标移动和触摸操作事件)
- [地图鼠标释放和触摸结束事件](#地图鼠标释放和触摸结束事件)
- [地图控件大小变化事件](#地图控件大小变化事件)
## 安装
```bash
npm install smap-xh --save
```
## 使用
### [以NPM包方式使用]
```js
import SMap from 'smap-xh'
const map = new SMap.Map('container', {
viewMode: '3D',
center: [0, 0],
zoom: 5,
zooms: [1, 12],
pitch: 60,
mapStyle: 'smap://styles/dark', // 'smap://styles/normal' 'smap://styles/image'
showBuildingBlock: true,
appKey: '**********' // appkey
})
```
### [以普通JS方式使用]
```js
<script src="http://10.201.37.225:8080/smiapi/smap/SMap.min.js">
const smap = new SMap.Map('mapcontainer', {
viewMode: '2D',
center: [0, 0],
zoom: 5,
zooms: [1, 12],
mapStyle: 'smap://styles/dark', // 'smap://styles/normal' 'smap://styles/image'
})
```
## 示例
### [地图]
#### [生命周期]
##### [设置网络模式]
```js
import SMap from 'smap-xh'
new SMap.Network().setNet(网络参数);
```
##### [创建二维地图]
```js
import SMap from 'smap-xh'
const map = new SMap.Map('container', {
center: [0, 0],
zoom: 5
})
```
![Image text](https://raw.githubusercontent.com/thiswildidea/images/master/smiapi/ts/4x/2d/%E5%9C%B0%E5%9B%BE/%E5%9C%B0%E5%9B%BE%E5%88%9B%E5%BB%BA/mapcreate.png)
##### [创建三维地图]
```js
import SMap from 'smap-xh'
const map = new SMap.Map('container', {
viewMode: '3D',
center: [0, 0],
zoom: 4,
pitch:60
})
```
![Image text](https://raw.githubusercontent.com/thiswildidea/images/master/smiapi/ts/4x/3d/%E5%9C%B0%E5%9B%BE/%E5%9C%B0%E5%9B%BE%E5%88%9B%E5%BB%BA/mapcreate.png)
#### [地图样式]
##### [地图样式-默认样式]
```js
const map = new SMap.Map('container', {
viewMode: '2D',
center: [0, 0],
zoom: 4,
mapStyle: 'smap://styles/normal' //为赋值时候,默认为smap://styles/normal
})
```
##### [地图样式-暗色样式]
```js
const map = new SMap.Map('container', {
viewMode: '2D',
center: [0, 0],
zoom: 4,
mapStyle: 'smap://styles/dark'
})
```
##### [地图样式-实景样式]
```js
const map = new SMap.Map('container', {
viewMode: '2D',
center: [0, 0],
zoom: 4,
mapStyle: 'smap://styles/image'
})
```
#### [业务图层开关]
##### [业务数据名称(不断更新)]
```js
//"wg_gis_xq_point"为小区点,
//"wg_gis_xq_poly"为小区面,
//"wg_gis_zb_jkd"为小区健康度
//"wg_gis_fwzl"为物业服务质量
//"wg_gis_mpz"为门牌幢点,
//"wg_gis_elevator"为电梯点,
//"wg_gis_sensor"为传感器
```
##### [显示业务数据]
```js
map.getLayer("wg_gis_xq_point").visible = true;//参数为业务数据名称
```
##### [隐藏业务数据]
```js
map.getLayer("wg_gis_xq_point").visible = false;//参数为业务数据名称
```
##### [设置图层筛选条件]
```js
//第一个参数为业务数据名称:
//第二个参数为筛选条件,与属性表对应正确的条件即可
this.map.setFilter("wg_gis_xq_point", "HPB_NAME = '黄浦区' or HPB_NAME = '虹口区' or HPB_NAME = '普陀区'");
this.map.setFilter("wg_gis_mpz", "HPB_NAME = '黄浦区' or HPB_NAME = '虹口区'");
this.map.setFilter("wg_gis_xq_poly", "HPB_NAME = '黄浦区'");
this.map.setFilter("wg_gis_elevator", "HPB_NAME = '黄浦区'");
this.map.setFilter("wg_gis_sensor", "SENSOR_TYPE_NAME = '智能水表'");
```
#### [地图属性]
##### [地图缩放级别zooms控制]
```js
const map = new SMap.Map('container', {
center: [0, 0],
zoom: 5,
zooms: [1, 9] //二三维都支持,默认最新小0,最大10 建议二维默认设置最小1,最大9
})
```
##### [地图是否可旋转]
```js
const map = new SMap.Map('container', {
center: [0, 0],
zoom: 5,
zooms: [1, 9]
rotateEnable: false //暂二维支持
})
```
##### [三维建筑地块是否可见]
```js
const map = new SMap.Map('container', {
center: [0, 0],
zoom: 5,
zooms: [1, 9]
showBuildingBlock: false, //三维地图可用,未赋值时候默认为true
})
```
##### [获取三维地图俯仰角]
```js
const pitch= map.getPitch()
```
##### [设置三维地图俯仰角]
```js
map.setPitch(30)
```
##### [获取地图中心点]
```js
const mapcenter = map.getCenter()
```
##### [获取地图级别]
```js
const zoom = map.getZoom()
```
##### [设置地图中心点]
```js
//2D
map.setCenter(00)
//3D
map.setCenter(00, 0)
```
##### [设置地图级别]
```js
map.setZoom(10)
```
##### [设置地图级别和中心点]
```js
//2D
map.setZoomAndCenter(10[0, 0])
//3D
map.setZoomAndCenter(10[0, 0, 0])
```
##### [获取地图比例尺]
```js
map.getScale()
```
##### [设置地图旋转角度]
```js
map.setRotation(90)
```
##### [获取地图显示范围]
```js
const bounds = map.getBounds()
```
##### [设置地图显示范围]
```js
//2D
const mybounds = new SMap.Bounds([-12244.941157, -6531.252646], [13155.109644,5811.584540]);
map.setBounds(mybounds);
//3D
const mybounds = new SMap.Bounds([-12244.941157, -6531.252646], [13155.109644,5811.584540]);
OR
const mybounds = new SMap.Bounds([-12244.941157, -6531.252646, 0], [13155.109644,5811.584540, 0]);
map.setBounds(mybounds);
```
##### [地图平移-像素平移]
```js
map.panBy(50, 100)
```
##### [地图平移-中心点平移]
```js
//2D
map.panTo(0, 0)
//3D
map.panTo(0, 0, 0) OR map.panTo(0, 0)
```
##### [地图放大]
```js
map.zoomIn()
```
##### [地图缩小]
```js
map.zoomOut()
```
##### [设置地图样式]
```js
map.setMapStyle('smap://styles/normal')
```
##### [获取地图样式]
```js
map.getMapStyle()
```
##### [开启穿透地表]
```js
map.enableThroughGround(true)
```
##### [恢复地表模式]
```js
map.enableThroughGround(false)
```
##### [添加地图缩放范围限制]
```js
this.map.setExtentConstrain([0, 0], [1000, 1000])
```
##### [移除地图缩放范围限制]
```js
map.removeExtentConstrain()
```
##### [鼠标禁用]
```js
map.enableMouseEvent(fasle)
```
##### [3d模式下二三维切换]
```js
map.switchMode('2d') //map.switchMode('3d')
```
#### [添加图层]
##### [根据服务url添加图层]
```js
layerType // 图层类型 MapImageLayer SceneLayer FeatureLayer TileLayer GraphicsLayer SHCTiledMapServiceLayer
layerUrl // 服务URl
isToken // 服务isToken
layerTitle // 服务title
layerId // 服务layerId
layerOpacity // 服务opacity
layerVisible // 服务visible
layerLabelsVisible // 服务labelsVisible 支持FeatureLayer
layerLabelingInfo // 服务labelingInfo 支持FeatureLayer
layerMaxScale // 服务maxScale
layerMinScale // 服务minScale
layerdefinitionExpression //服务过滤条件
layerelevationInfo // elevationInfo 支持FeatureLayer SceneLayer GraphicsLayer
layerPopupEnabled // 服务popupEnabled 支持FeatureLayer SceneLayer GraphicsLayer
layerPopupTemplate// 服务popupTemplate 支持FeatureLayer SceneLayer GraphicsLayer
layerRenderer // 服务renderer
layerSublayers // sublayers 支持支持MapImageLayer
```
```js
const SceneLayerparam = {
layerType: 'SceneLayer',
layerUrl: "http://10.201.37.220/server/rest/services/Hosted/LBJZ_ORIGIN/SceneServer",
layerTitle: "历保建筑原貌",
layerLayerId: "LBJZ_ORIGIN",
layerOpacity:1,
layerVisible:true,
layerMaxScale:1000,
layerMinScale:10000000,
layerPopupEnabled:true,
elevationInfo: {
mode: 'absolute-height',
offset: -2.5
}
}
this.map.addLayer(SceneLayerparam)
```
##### [根据图层id获取图层]
```js
smap.getLayer('LBJZ_ORIGIN')
```
##### [设置图层属性]
```js
layerId // 服务layerId
layerTitle // 服务title
layerOpacity // 服务opacity
layerVisible // 服务visible
layerLabelsVisible // 服务labelsVisible 支持FeatureLayer
layerLabelingInfo // 服务labelingInfo 支持FeatureLayer
layerMaxScale // 服务maxScale
layerMinScale // 服务minScale
layerdefinitionExpression //服务过滤条件
layerelevationInfo // elevationInfo 支持FeatureLayer SceneLayer GraphicsLayer
layerPopupEnabled // 服务popupEnabled 支持FeatureLayer SceneLayer GraphicsLayer
layerPopupTemplate// 服务popupTemplate 支持FeatureLayer SceneLayer GraphicsLayer
layerRenderer // 服务renderer
layerSublayers // sublayers 支持支持MapImageLayer
```
```js
const Layerpasrams = {
layerLayerId: "LBJZ_ORIGIN",
layerVisible:false
}
this.map.setLayerProperties(Layerpasrams) //修改图层LBJZ_ORIGIN的可见性为false
```
##### [根据图层id删除图层]
```js
smap.removeLayer('LBJZ_ORIGIN')
```
#### [自定义地图控件主题]
##### [自定义地图控件主题-暗色主题]
```js
<div id="container" class="calcite-map calcite-widgets-dark" />
```
![Image text](https://raw.githubusercontent.com/thiswildidea/images/master/smiapi/ts/4x/3d/%E5%9C%B0%E5%9B%BE%E4%B8%BB%E9%A2%98/maptheme_dark.png)
###### [自定义地图控件主题-亮色主题]
```js
<div id="container" class="calcite-map calcite-widgets-light" />
注意:开发者可以自定义
```
![Image text](https://raw.githubusercontent.com/thiswildidea/images/master/smiapi/ts/4x/3d/%E5%9C%B0%E5%9B%BE%E4%B8%BB%E9%A2%98/maptheme_light.png)
#### [地图控件]
##### [地图控件-Home]
```js
const home = new SMap.Home({
visible: true,
position: 'top-right'
})
map.addControl(home)
```
##### [地图控件-Zoom]
```js
const zoom = new SMap.Zoom({
visible: true,
position: 'top-right'
})
map.addControl(zoom)
```
##### [地图控件-Compass]
```js
const compass = new SMap.Compass({
visible: true,
position: 'top-right'
})
map.addControl(ccompass))
```
##### [地图控件-Fullscreen]
```js
const fullfscreen = new SMap.Fullscreen({
visible: true,
position: 'top-right'
})
map.addControl(fullfscreen))
```
##### [地图控件-LayerListControl]
```js
const layerListControl = new SMap.LayerListControl({
visible: true,
position: 'top-right'
})
map.addControl(lalyerListControl))
```
##### [地图控件-MeasureLine]
```js
const measureLine = new SMap.MeasureLine({
visible: true,
position: 'top-right'
})
map.addControl(measureLine))
```
##### [地图控件-MeasureLine]
```js
const measureArea = new SMap.MeasureArea({
visible: true,
position: 'top-right'
})
map.addControl(measureArea))
```
##### [地图控件-MeasureLine]
```js
const basemapToggle = new SMap.BasemapToggle({
visible: true,
position: 'top-right'
})
map.addControl(basemapToggle))
```
##### [地图控件-UndergroundSwitch]
```js
// 仅支持3D地图
const underguroundSwitch = new SMap.UndergroundSwitch({
visible: true,
position: 'top-right'
})
map.addControl(underguroundSwitch))
```
##### [地图控件-BMapGallery]
```js
// 支持2/3D地图
const bMapGallery = new SMap.BMapGallery({
visible: true,
position: 'top-right'
})
map.addControl(bMapGallery))
```
##### [地图控件-BMapGalleryExpand]
```js
// 支持2/3D地图
const bMapGalleryexpand = new SMap.BMapGalleryExpand({
visible: true,
position: 'top-right'
})
map.addControl(bMapGalleryexpand))
```
![Image text](https://raw.githubusercontent.com/thiswildidea/images/master/smiapi/ts/4x/2d/%E5%9C%B0%E5%9B%BE%E6%8E%A7%E4%BB%B6/mapcontrols.png)
##### [删除地图控件]
```js
map.removeControl(layerListControl)) //删除已经添加的layerListControl控件
```
![Image text](https://raw.githubusercontent.com/thiswildidea/images/master/smiapi/ts/4x/3d/%E5%9C%B0%E5%9B%BE%E6%8E%A7%E4%BB%B6/mapcontrol.png)
#### [地图覆盖物]
##### [添加点状覆盖物]
```js
const Pointmarker = new SMap.Marker({
icon: new SMap.Icon({
size: new SMap.Size(22, 22),
image: require('../assets/repaireorder_Accepted.gif') //或者用url
}),
attributes: {
'name': '点1',
'type': '点'
},
label: new SMap.Label({
text: '点1',
color: 'red',
visible: true,
size: 22,
weight: 'normal',
angle: 0,
backgroundColor: 'red',
borderLineColor: 'blue',
borderLineSize: 1,
haloColor: '[51, 204, 51, 0.2]',
haloSize: 0,
horizontalAlignment: 'left',
verticalAlignment: 'top',
kerning: true,
lineHeight: 25,
lineWidth: 200,
rotated: false,
xoffset: 10,
yoffset: 10
}),
position: [0, 0]
})
map.add(Pointmarker)
```
##### [更新点状覆盖物]
```js
Pointmarker.label.text = '点1更新'
Pointmarker.icon.image = require('../assets/blue.gif')
map.update(Pointmarker)
```
##### [删除点状覆盖物]
```js
map.remove(Pointmarker) //移除上面添加的点状覆盖物
```
##### [添加点状覆盖物多个]
```js
const Pointmarker1 = new SMap.Marker({
icon: new SMap.Icon({
size: new SMap.Size(22, 22),
image: require('../assets/repaireorder_Accepted.gif') //或者用url
}),
attributes: {
'name': '点1',
'type': '点'
},
label: new SMap.Label({
text: '点1',
}),
position: [1000, 1000]
})
const Pointmarker2 = new SMap.Marker({
icon: new SMap.Icon({
size: new SMap.Size(22, 22),
image: require('../assets/repaireorder_Accepted.gif') //或者用url
}),
attributes: {
'name': '点2',
'type': '点'
},
label: new SMap.Label({
text: '点2',
}),
position: [1100, 1100]
})
map.add([Pointmarker1,Pointmarker2])
```
##### [更新点状覆盖物多个]
```js
Pointmarker1.label.text = '点1更新'
Pointmarker1.icon.image = require('../assets/blue.gif')
Pointmarker2.label.text = '点2更新'
Pointmarker2.icon.image = require('../assets/blue.gif')
map.update([Pointmarker1, Pointmarker2])
```
##### [删除点状覆盖物多个]
```js
map.remove([Pointmarker1,Pointmarker2]) //移除上面添加的Pointmarker1,Pointmarker2点状覆盖物
```
##### [添加点状覆盖物组]
```js
const marker1 = new SMap.Marker({
icon: new SMap.Icon({
size: new SMap.Size(40, 40),
image: require('../assets/blue.gif')
}),
attributes: {
'name': '点1',
'type': '点'
},
label: new SMap.Label({
text: '点1',
size: 22,
color: 'yellow',
xoffset: 0.1,
yoffset: 0.1,
// zoffset: 10,
horizontalAlignment: 'left',
verticalAlignment: 'top'
}),
position: [500, 500, 100]
})
const marker2 = new SMap.Marker({
icon: new SMap.Icon({
size: new SMap.Size(40, 40),
image: require('../assets/blue.gif')
}),
attributes: {
'name': '点2',
'type': '点'
},
label: new SMap.Label({
text: '点2',
size: 22,
color: 'black',
xoffset: 0.1,
yoffset: 0.1,
// zoffset: 10,
horizontalAlignment: 'left',
verticalAlignment: 'top'
}),
position: [550, 550, 200]
})
const OverlayGroup = new SMap.OverlayGroup([marker1, marker2])
map.add(OverlayGroup)
```
##### [更新点状盖盖物组]
```js
OverlayGroup.overlayers[0].icon.image = require('../assets/repaireorder_Accepted.gif')
OverlayGroup.overlayers[0].label.text = '点5更新'
OverlayGroup.overlayers[1].icon.image = require('../assets/repaireorder_Accepted.gif')
OverlayGroup.overlayers[1].label.text = '点6更新'
map.update(OverlayGroup)
```
##### [删除点状覆盖物组]
```js
map.remove(OverlayGroup)
```
##### [添加线状覆盖物]
```js
onePolyline = new SMap.Polyline({
path: [
new SMap.LngLat(0, 0),
new SMap.LngLat(10, 10),
new SMap.LngLat(50, 50)
],
attributes: {
'name': '线1',
'type': '线'
},
cap: 'square',
strokeColor: 'red',
style: 'solid',
lineJoin: 'round',
label: new SMap.Label({
text: '线一',
color: 'red',
visible: true,
size: 22,
weight: 'normal',
angle: 0,
backgroundColor: 'red',
borderLineColor: 'blue',
borderLineSize: 10,
haloColor: '[51, 204, 51, 0.2]',
haloSize: 0,
horizontalAlignment: 'left',
verticalAlignment: 'top',
kerning: true,
lineHeight: 25,
lineWidth: 200,
rotated: false,
xoffset: 10,
yoffset: 10
})
})
map.add(onePolyline)
```
##### [更新线状覆盖物]
```js
onePolyline.label.text = '线一更新'
map.update(onePolyline)
```
##### [删除线状覆盖物]
```js
map.remove(onePolyline) //移除上面添加的线状覆盖物
```
##### [添加线状覆盖物多个]
```js
const Polyline1 = new SMap.Polyline({
path: [
new SMap.LngLat(400, 400),
new SMap.LngLat(420, 420),
new SMap.LngLat(450, 450)
],
attributes: {
'name': '线1',
'type': '线'
},
cap: 'square',
strokeColor: 'red',
style: 'solid',
lineJoin: 'round',
label: new SMap.Label({
text: '线一',
size: 22,
color: 'blue',
xoffset: 10,
yoffset: 10,
horizontalAlignment: 'left',
verticalAlignment: 'top'
})
})
const Polyline2 = new SMap.Polyline({
path: [
new SMap.LngLat(600, 600),
new SMap.LngLat(620, 620),
new SMap.LngLat(650, 650)
],
attributes: {
'name': '线1',
'type': '线'
},
cap: 'square',
strokeColor: 'red',
style: 'solid',
lineJoin: 'round',
label: new SMap.Label({
text: '线二',
size: 22,
color: 'blue',
xoffset: 10,
yoffset: 10,
horizontalAlignment: 'left',
verticalAlignment: 'top'
})
})
map.add([Polyline1, Polyline2])
```
##### [更新线状覆盖物多个]
```js
Polyline1.label.text = '线一更新'
Polyline2.label.text = '线二更新'
map.update([Polyline1, Polyline2])
```
##### [删除线状覆盖物多个]
```js
map.remove([Polyline1,Polyline1]) //移除上面添加的Pointmarker1fourPolyline点状覆盖物
```
##### [添加线状覆盖物组]
```js
const polyline1 = new SMap.Polyline({
path: [
new SMap.LngLat(400, 400),
new SMap.LngLat(420, 420),
new SMap.LngLat(450, 450)
],
attributes: {
'name': '线1',
'type': '线'
},
cap: 'square',
strokeColor: 'red',
style: 'solid',
lineJoin: 'round',
label: new SMap.Label({
text: '线1',
size: 22,
color: 'blue',
xoffset: 10,
yoffset: 10,
horizontalAlignment: 'left',
verticalAlignment: 'top'
})
})
const polyline2 = new SMap.Polyline({
path: [
new SMap.LngLat(300, 300),
new SMap.LngLat(320, 320),
new SMap.LngLat(350, 350)
],
attributes: {
'name': '线2',
'type': '线'
},
cap: 'square',
strokeColor: 'red',
style: 'solid',
lineJoin: 'round',
label: new SMap.Label({
text: '线2',
size: 22,
color: 'blue',
xoffset: 10,
yoffset: 10,
horizontalAlignment: 'left',
verticalAlignment: 'top'
})
})
OverlayGroup = new SMap.OverlayGroup([polyline1, polyline2])
map.add(OverlayGroup)
```
##### [更新线状覆盖物组]
```js
OverlayGroup.overlayers[0].label.text = '线1更新'
OverlayGroup.overlayers[1].label.text = '线2更新'
map.update(OverlayGroup)
```
##### [删除线状覆盖物组]
```js
map.remove(OverlayGroup)
```
##### [添加面状覆盖物]
```js
onePolygon = new SMap.Polygon({
paths: [
new SMap.LngLat(0, 0),
new SMap.LngLat(20, 0),
new SMap.LngLat(20, 30),
new SMap.LngLat(0, 30),
new SMap.LngLat(0, 0)
],
attributes: {
'name': '面1',
'type': '面'
},
fillColor: 'red',
style: 'solid',
strokeColor: 'yellow',
strokestyle: 'solid',
strokeWeight: 1,
label: new SMap.Label({
text: '面一',
color: 'red',
visible: true,
size: 22,
weight: 'normal',
angle: 0,
backgroundColor: 'red',
borderLineColor: 'blue',
borderLineSize: 10,
haloColor: '[51, 204, 51, 0.2]',
haloSize: 0,
horizontalAlignment: 'left',
verticalAlignment: 'top',
kerning: true,
lineHeight: 25,
lineWidth: 200,
rotated: false,
xoffset: 10,
yoffset: 10
})
})
map.add(onePolygon)
```
##### [更新面状覆盖物]
```js
onePolygon.label.text = '面一更新'
map.update(onePolygon)
```
##### [删除面状覆盖物]
```js
map.remove(onePolygon) //移除上面添加的面状覆盖物
```
##### [添加面状覆盖物多个]
```js
const Polygon1 = new SMap.Polygon({
paths: [
new SMap.LngLat(540, 540),
new SMap.LngLat(560, 540),
new SMap.LngLat(560, 560),
new SMap.LngLat(540, 560),
new SMap.LngLat(540, 540)
],
attributes: {
'name': '面1',
'type': '面'
},
fillColor: 'red',
style: 'solid',
strokeColor: 'yellow',
strokestyle: 'solid',
strokeWeight: 1,
label: new SMap.Label({
text: '面1',
size: 22,
color: 'blue',
xoffset: 10,
yoffset: 10,
horizontalAlignment: 'left',
verticalAlignment: 'top'
})
})
const Polygon2 = new SMap.Polygon({
paths: [
new SMap.LngLat(500, 500),
new SMap.LngLat(520, 500),
new SMap.LngLat(520, 550),
new SMap.LngLat(500, 550),
new SMap.LngLat(500, 500)
],
attributes: {
'name': '面2',
'type': '面'
},
fillColor: 'black',
style: 'solid',
strokeColor: 'yellow',
strokestyle: 'solid',
strokeWeight: 1,
label: new SMap.Label({
text: '面2',
size: 22,
color: 'blue',
xoffset: 10,
yoffset: 10,
horizontalAlignment: 'left',
verticalAlignment: 'top'
})
})
map.add([Polygon1, Polygon2])
```
##### [更新面状覆盖物多个]
```js
Polygon1.label.text = '面一更新'
Polygon2.label.text = '面二更新'
map.update([Polygon1, Polygon2])
```
##### [删除面状覆盖物多个]
```js
map.remove([Polygon1,Polygon2]) //移除上面添加的Polygon1 Polygon2 面状状覆盖物
```
##### [添加面状覆盖物组]
```js
const polygon1 = new SMap.Polygon({
paths: [
new SMap.LngLat(200, 200),
new SMap.LngLat(220, 200),
new SMap.LngLat(220, 250),
new SMap.LngLat(200, 250),
new SMap.LngLat(200, 200)
],
attributes: {
'name': '面1',
'type': '面'
},
cap: 'square',
strokeColor: 'red',
style: 'solid',
lineJoin: 'round',
label: new SMap.Label({
text: '面1',
size: 22,
color: 'blue',
xoffset: 10,
yoffset: 10,
horizontalAlignment: 'left',
verticalAlignment: 'top'
})
})
const polygon2 = new SMap.Polygon({
paths: [
new SMap.LngLat(240, 240),
new SMap.LngLat(260, 240),
new SMap.LngLat(260, 260),
new SMap.LngLat(240, 260),
new SMap.LngLat(240, 240)
],
attributes: {
'name': '面2',
'type': '面'
},
cap: 'square',
strokeColor: 'red',
style: 'solid',
lineJoin: 'round',
label: new SMap.Label({
text: '面2',
size: 22,
color: 'blue',
xoffset: 10,
yoffset: 10,
horizontalAlignment: 'left',
verticalAlignment: 'top'
})
})
OverlayGroup = new SMap.OverlayGroup([polygon1, polygon2])
map.add(OverlayGroup)
```
##### [更新面状覆盖物组]
```js
OverlayGroup.overlayers[0].label.text = '面1更新'
OverlayGroup.overlayers[1].label.text = '面2更新'
map.update( OverlayGroup)
```
##### [删除面状覆盖物组]
```js
map.remove(OverlayGroup)
```
#### [地图覆盖物More]
##### [添加点状覆盖物addfeature]
```js
const onemarker = new SMap.Marker({
icon: new SMap.Icon({
size: new SMap.Size(40, 40),
image: require('../assets/repaireorder_Accepted.gif')
}),
attributes: { //点状覆盖物的属性
'name': '点1', //如果需要标注 name 字段必须有,且其字段值为标注内容
'type': '点'
},
label: new SMap.Label({
color: 'red', //标注颜色
visible: true, //标注是否可见
size: 22, // 标注字体大小
weight: 'normal', //仅2d 支持
angle: 0, // 仅2d 支持
backgroundColor: 'red', // 仅2d 支持
borderLineColor: 'blue', // 仅2d 支持
borderLineSize: 1, // 仅2d 支持
haloColor: '[51, 204, 51, 0.2]', // 标注光圈颜色
haloSize: 0, // 标注光圈大小
horizontalAlignment: 'left', // 仅2d 支持
verticalAlignment: 'top', // 仅2d 支持
kerning: true, // 仅2d 支持
lineHeight: 0, // 仅2d 支持
lineWidth: 0, // 仅2d 支持
rotated: true, // 仅2d 支持
xoffset: 0, // 仅2d 支持
yoffset: 0, // 仅2d 支持
placement: 'above-right' //标注位置
maxScale: 500 // 最大可见比例尺
minScale: 100000 //最小可见比例尺
}),
position: [0, 0, 100]
})
map.addfeature(onemarker)
这种方式自定义性强,资源占用多,不宜多加
```
##### [更新点状覆盖物updatefeature]
```js
onemarker.attributes['name'] = '点一更新'
onemarker.icon.image = require('../assets/blue.gif')
map.updatefeature(onemarker)
```
##### [删除点状覆盖物removefeature]
```js
map.removefeature(onemarker)
```
##### [添加点状覆盖物多个addfeature]
```js
const markone = new SMap.Marker({
icon: new SMap.Icon({
size: new SMap.Size(40, 40),
image: require('../assets/repaireorder_Accepted.gif')
}),
attributes: {
'name': '点1',
'type': '点'
},
label: new SMap.Label({
text: '点1',
size: 22,
xoffset: 0,
yoffset: 0,
horizontalAlignment: 'left',
verticalAlignment: 'top'
}),
position: [1000, 1000, 10]
})
const marktwo = new SMap.Marker({
icon: new SMap.Icon({
size: new SMap.Size(40, 40),
image: require('../assets/repaireorder_Accepted.gif')
}),
attributes: {
'name': '点2',
'type': '点'
},
label: new SMap.Label({
text: '点2',
size: 22,
xoffset: 0,
yoffset: 0,
horizontalAlignment: 'left',
verticalAlignment: 'top'
}),
position: [1100, 1100, 20]
})
map.addfeature([markone, marktwo])
通上面方法一样,自定义性强,资源占用多,不宜多加
```
##### [更新点状覆盖物多个updatefeature]
```js
markone.icon.image = require('../assets/blue.gif')
markone.attributes['name'] = '点一更新'
marktwo.icon.image = require('../assets/blue.gif')
marktwo.attributes['name'] = '点二更新'
map.updatefeature([markone, marktwo])
```
##### [删除点状覆盖物多个removefeature]
```js
map.removefeature([markone, marktwo])
```
##### [添加点状覆盖物组addfeature]
```js
const marks = []
for (let i = 0; i <= 100000; i++) {
const x = Math.ceil(Math.random() * 1200)
const y = Math.ceil(Math.random() * 1200)
const onemarker = new SMap.Marker({
attributes: {
'name': '点' + i, //name 字段要标注的内容
'style': Math.ceil(Math.random()).toString() //style 对应样式,对应Style 中style 值
},
position: [x, y, 100]
})
marks.push(onemarker)
}
const label = new SMap.Label({
size: 22,
color: 'black',
xoffset: 0.1,
yoffset: 0.1,
horizontalAlignment: 'left',
verticalAlignment: 'top',
minScale: 5000,
maxScale: 1000
})
const datafiled = [{ // 覆盖组字段类型
name: 'name',
alias: 'name',
type: 'string'
}]
const style = [ // 样式定义,和marks 中mark属性字段style 对应,对应不上没有样式
{
style: '0', //mark 属性字段style 为0时候的样式
size: new SMap.Size(40, 40),
url: require('../assets/repaireorder_Accepted.gif')
}, {
style: '1', //mark 属性字段style 为1时候的样式,以此类推可以多加
size: new SMap.Size(40, 40),
url: require('../assets/blue.gif')
}
]
const featureReduction = new SMap.FeatureReduction({
type: 'cluster',
clusterRadius: 100
})
massmarksgroup = new SMap.OverlayGroup(marks, {
overlaytype: 'marker',
datafiled: datafiled,
style: style,
label: label,
frreduction: featureReduction //聚集样式
})
map.addfeature(massmarksgroup)
此方法适合加载大量数据点
```
二维10万个点展示
![Image text](https://raw.githubusercontent.com/thiswildidea/images/master/smiapi/ts/4x/2d/%E5%9C%B0%E5%9B%BE%E8%A6%86%E7%9B%96%E7%89%A9/massMarks.png)
二维10万个点聚合展示
![Image text](https://raw.githubusercontent.com/thiswildidea/images/master/smiapi/ts/4x/2d/%E5%9C%B0%E5%9B%BE%E8%A6%86%E7%9B%96%E7%89%A9/massMarkscluster.png)
三维10万个点展示
![Image text](https://raw.githubusercontent.com/thiswildidea/images/master/smiapi/ts/4x/3d/%E5%9C%B0%E5%9B%BE%E8%A6%86%E7%9B%96%E7%89%A9/massMarkers.png)
三维10万个优化显示
![Image text](https://raw.githubusercontent.com/thiswildidea/images/master/smiapi/ts/4x/3d/%E5%9C%B0%E5%9B%BE%E8%A6%86%E7%9B%96%E7%89%A9/massMarkersSelection.png)
##### [更新点状覆盖物组updatefeature]
```js
massmarksgroup.overlayers[0].attributes['name'] = '点5更新'
massmarksgroup.overlayers[0].attributes['style'] = '1'
massmarksgroup.overlayers[1].attributes['style'] = '0'
map.updatefeature(massmarksgroup)
```
##### [删除点状覆盖物组removefeature]
```js
map.removefeature(massmarksgroup)
```
#### [地图事件]
##### [地图事件列表]
```js
SMap.MapEvent.maploaded or 'maploaded';
SMap.MapEvent.extentchanged or'extentchanged';
SMap.MapEvent.centerchanged or 'centerchanged';
SMap.MapEvent.blur or 'blur';
SMap.MapEvent.click or 'click';
SMap.MapEvent.doubleclick or 'doubleclick';
SMap.MapEvent.drag or 'drag';
SMap.MapEvent.focus or 'focus';
SMap.MapEvent.hold or 'hold';
SMap.MapEvent.keydown or 'key-down';
SMap.MapEvent.keyup or 'key-up';
SMap.MapEvent.mousewheel or 'mouse-wheel';
SMap.MapEvent.pointerdown or 'pointer-down';
SMap.MapEvent.pointerenter or 'pointer-enter';
SMap.MapEvent.pointerleave or 'pointer-leave';
SMap.MapEvent.pointermove or 'pointer-move';
SMap.MapEvent.pointerup or 'pointer-up';
SMap.MapEvent.resize or ' pointer-up';
```
##### [地图zoom变化事件]
```js
map.on(SMap.MapEvent.zoomchanged, function(zoom) {
})
```
##### [地图加载完成事件]
```js
map.on(SMap.MapEvent.maploaded, function(view) {
})
```
##### [地图范围变化事件]
```js
map.on(SMap.MapEvent.extentchanged, function(excenter) {
})
```
##### [地图中心点变化事件]
```js
map.on(SMap.MapEvent.centerchanged, function(center) {
})
```
##### [地图失去焦点事件]
```js
map.on(SMap.MapEvent.blur, function(view,eventParamter) {
})
```
##### [地图单击事件]
```js
map.on(SMap.MapEvent.click, function(view,eventParamter) {
maview.hitTest(eventParamter).then(async function(response) {
console.log(response)
})
})
```
##### [地图双击事件]
```js
map.on(SMap.MapEvent.doubleclick, function(view,eventParamter) {
})
```
##### [地图拖拽事件]
```js
map.on(SMap.MapEvent.drag, function(view,eventParamter) {
})
```
##### [地图聚焦事件]
```js
map.on(SMap.MapEvent.focus, function(view,eventParamter) {
})
```
##### [地图按住事件]
```js
map.on(SMap.MapEvent.hold, function(view,eventParamter) {
})
```
##### [地图键盘键按下事件]
```js
map.on(SMap.MapEvent.keydown, function(view,eventParamter) {
})
```
##### [地图键盘键弹起事件]
```js
map.on(SMap.MapEvent.keydown, function(view,eventParamter) {
})
```
##### [地图键盘键弹起事件]
```js
map.on(SMap.MapEvent.hold, function(view,eventParamter) {
})
```
##### [地图鼠标和触摸滚动事件]
```js
map.on(SMap.MapEvent.mousewheel, function(view,eventParamter) {
})
```
##### [地图鼠标或触摸按下事件]
```js
map.on(SMap.MapEvent.pointerdown, function(view,eventParamter) {
})
```
##### [地图鼠标进入或触摸开始事件]
```js
map.on(SMap.MapEvent.pointerenter, function(view,eventParamter) {
})
```
##### [地图鼠标离开和触摸结束事件]
```js
map.on(SMap.MapEvent.pointerleave, function(view,eventParamter) {
})
```
##### [地图鼠标移动和触摸操作事件]
```js
map.on(SMap.MapEvent.pointermove, function(view,eventParamter) {
})
```
##### [地图鼠标释放和触摸结束事件]
```js
map.on(SMap.MapEvent.pointerup, function(view,eventParamter) {
})
```
##### [地图控件大小变化事件]
```js
map.on(SMap.MapEvent.resize, function(view,eventParamter) {
})
```
## 技术支持
QQ号: 314984468
![Image text](https://raw.githubusercontent.com/thiswildidea/images/master/contact/qq.jpg)
微信号:ioioya
![Image text](https://raw.githubusercontent.com/thiswildidea/images/master/contact/webchat.jpg)
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -15863,9 +15863,8 @@ function setup$5(__props) { ...@@ -15863,9 +15863,8 @@ function setup$5(__props) {
} }
}).then(res => { }).then(res => {
var _res$data2; var _res$data2;
const data = (res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.content) || {}; const data = (res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.content) || {};
nonResident.value = (data === null || data === void 0 ? void 0 : data.wholeNum) || 0; nonResident.value = (data === null || data === void 0 ? void 0 : data.buildingList.length) || 0;
nonResidentList.value = (data === null || data === void 0 ? void 0 : data.buildingList) || []; nonResidentList.value = (data === null || data === void 0 ? void 0 : data.buildingList) || [];
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment