!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.navigation=e():t.navigation=e()}(this,function(){return(n=[function(t,e,n){t.exports=n(63)},function(t){var e=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)},function(t,e,n){var o=n(43)("wks"),r=n(45),i=n(5).Symbol,a="function"==typeof i,u=t.exports=function(t){return o[t]||(o[t]=a&&i[t]||(a?i:r)("Symbol."+t))};u.store=o},function(t){function e(t){return t&&t.__esModule?t:{default:t}}t.exports=e},function(t,e,n){var v=n(5),g=n(1),y=n(38),m=n(10),_=n(17),x="prototype",b=function(t,e,n){var o,r,i,a=t&b.F,u=t&b.G,s=t&b.S,l=t&b.P,c=t&b.B,p=t&b.W,h=u?g:g[e]||(g[e]={}),f=h[x],d=u?v:s?v[e]:(v[e]||{})[x];for(o in u&&(n=e),n)r=!a&&d&&void 0!==d[o],r&&_(h,o)||(i=r?d[o]:n[o],h[o]=u&&"function"!=typeof d[o]?n[o]:c&&r?y(i,v):p&&d[o]==i?function(o){var t=function(t,e,n){if(this instanceof o){switch(arguments.length){case 0:return new o;case 1:return new o(t);case 2:return new o(t,e)}return new o(t,e,n)}return o.apply(this,arguments)};return t[x]=o[x],t}(i):l&&"function"==typeof i?y(Function.call,i):i,l&&((h.virtual||(h.virtual={}))[o]=i,t&b.R&&f&&!f[o]&&m(f,o,i)))};b.F=1,b.G=2,b.S=4,b.P=8,b.B=16,b.W=32,b.U=64,b.R=128,t.exports=b},function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t){function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}t.exports=e},function(t,e,n){t.exports=!n(16)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(0);function o(t,e){for(var n=0;nt);n++);}}]),t}(),l=s;e.default=l},function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var o=n(49)("wks"),r=n(50),i=n(13).Symbol,a="function"==typeof i,u=t.exports=function(t){return o[t]||(o[t]=a&&i[t]||(a?i:r)("Symbol."+t))};u.store=o},function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){"use strict";var o=n(0);o(e,"__esModule",{value:!0}),e.default=void 0;var r={LEFT_TOP:1,LEFT_BOTTOM:2,RIGHT_TOP:3,RIGHT_BOTTOM:4},i=r;e.default=i},function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var o=n(41),r=n(18);t.exports=function(t){return o(r(t))}},function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0")}),m=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(n,t,e){var o=d(n),i=!h(function(){var t={};return t[o]=function(){return 7},7!=""[n](t)}),r=i?!h(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===n&&(e.constructor={},e.constructor[g]=function(){return e}),e[o](""),!t}):void 0;if(!i||!r||"replace"===n&&!y||"split"===n&&!m){var a=/./[o],u=e(f,o,""[n],function(t,e,n,o,r){return e.exec===v?i&&!r?{done:!0,value:a.call(e,n,o)}:{done:!0,value:t.call(n,e,o)}:{done:!1}}),s=u[0],l=u[1];c(String.prototype,n,s),p(RegExp.prototype,o,2==t?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}}},function(t,e,n){var i=n(13),a=n(36),u=n(97),s=n(50)("src"),o=n(98),r="toString",l=(""+o).split(r);n(32).inspectSource=function(t){return o.call(t)},(t.exports=function(t,e,n,o){var r="function"==typeof n;r&&(u(n,"name")||a(n,"name",e)),t[e]!==n&&(r&&(u(n,s)||a(n,s,t[e]?""+t[e]:l.join(String(e)))),t===i?t[e]=n:o?t[e]?t[e]=n:a(t,e,n):(delete t[e],a(t,e,n)))})(Function.prototype,r,function(){return"function"==typeof this&&this[s]||o.call(this)})},function(t,e,n){var o=n(101),r=n(106),i=n(129);function a(t){return o(t)||r(t)||i()}t.exports=a},function(t,e,n){"use strict";var o=n(109)(!0);n(59)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=o(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var _=n(44),x=n(4),b=n(110),w=n(10),k=n(9),M=n(111),O=n(60),T=n(115),P=n(2)("iterator"),E=!([].keys&&"next"in[].keys()),C="@@iterator",S="keys",L="values",I=function(){return this};t.exports=function(t,e,n,o,r,i,a){M(n,e,o);var u,s,l,c=function(t){if(!E&&t in d)return d[t];switch(t){case S:case L:return function(){return new n(this,t)}}return function(){return new n(this,t)}},p=e+" Iterator",h=r==L,f=!1,d=t.prototype,v=d[P]||d[C]||r&&d[r],g=v||c(r),y=r?h?c("entries"):g:void 0,m="Array"==e&&d.entries||v;if(m&&(l=T(m.call(new t)),l!==Object.prototype&&l.next&&(O(l,p,!0),_||"function"==typeof l[P]||w(l,P,I))),h&&v&&v.name!==L&&(f=!0,g=function(){return v.call(this)}),_&&!a||!E&&!f&&d[P]||w(d,P,g),k[e]=g,k[p]=I,r)if(u={values:h?g:c(L),keys:i?g:c(S),entries:y},a)for(s in u)s in d||b(d,s,u[s]);else x(x.P+x.F*(E||f),e,u);return u}},function(t,e,n){var o=n(11).f,r=n(17),i=n(2)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,i)&&o(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(27),i=n(2)("toStringTag"),a="Arguments"==r(function(){return arguments}()),u=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=u(e=Object(t),i))?n:a?r(e):"Object"==(o=r(e))&&"function"==typeof e.callee?"Arguments":o}},function(t,e,n){"use strict";var o=n(3),r=n(0);r(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(12)),a=o(n(78)),u=o(n(100)),s=o(n(132)),l=o(n(133)),c=o(n(135)),p=window.fengmap||{},h={controlOptions:i.default,FMControlOptions:i.default,zoomControl:a.default,FMZoomControl:a.default,scrollGroupsControl:u.default,FMScrollGroupsControl:u.default,buttonGroupsControl:s.default,FMButtonGroupsControl:s.default,toolControl:l.default,FMToolControl:l.default,FMPopInfoWindow:c.default};for(var f in h)h.hasOwnProperty(f)&&(p[f]=h[f]);window.fengmap=p;var d=p;e.default=d},function(t,e,n){n(64);var o=n(1).Object;t.exports=function(t,e,n){return o.defineProperty(t,e,n)}},function(t,e,n){var o=n(4);o(o.S+o.F*!n(7),"Object",{defineProperty:n(11).f})},function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){t.exports=!n(7)&&!n(16)(function(){return 7!=Object.defineProperty(n(39)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(24);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){t.exports=n(69)},function(t,e,n){n(70),t.exports=n(1).Object.assign},function(t,e,n){var o=n(4);o(o.S+o.F,"Object",{assign:n(71)})},function(t,e,n){"use strict";var p=n(7),h=n(40),f=n(75),d=n(76),v=n(30),g=n(41),r=Object.assign;t.exports=!r||n(16)(function(){var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach(function(t){e[t]=t}),7!=r({},t)[n]||Object.keys(r({},e)).join("")!=o})?function(t){for(var e=v(t),n=arguments.length,o=1,r=f.f,i=d.f;or;)a(o,n=e[r++])&&(~s(i,n)||i.push(n));return i}},function(t,e,n){var s=n(26),l=n(42),c=n(74);t.exports=function(u){return function(t,e,n){var o,r=s(t),i=l(r.length),a=c(n,i);if(u&&e!=e){for(;a\n \n
\n
\n \n
\n ');return r}},{key:"checkPosition",value:function(t,e,n){switch(n.style.left="",n.style.right="",n.style.top="",n.style.bottom="",t){case s.default.LEFT_TOP:n.style.left=e.x+"px",n.style.top=e.y+"px";break;case s.default.RIGHT_TOP:n.style.right=-e.x+"px",n.style.top=e.y+"px";break;case s.default.LEFT_BOTTOM:n.style.left=e.x+"px",n.style.bottom=-e.y+"px";break;case s.default.RIGHT_BOTTOM:n.style.right=-e.x+"px",n.style.bottom=-e.y+"px"}}}]),n}(),p=c;e.default=p},function(t,e,n){n(80),t.exports=n(1).parseInt},function(t,e,n){var o=n(4),r=n(81);o(o.G+o.F*(parseInt!=r),{parseInt:r})},function(t,e,n){var o=n(5).parseInt,r=n(82).trim,i=n(47),a=/^[-+]?0[xX]/;t.exports=8!==o(i+"08")||22!==o(i+"0x16")?function(t,e){var n=r(String(t),3);return o(n,e>>>0||(a.test(n)?16:10))}:o},function(t,e,n){var a=n(4),o=n(18),u=n(16),s=n(47),r="["+s+"]",l="​…",i=RegExp("^"+r+r+"*"),c=RegExp(r+r+"*$"),p=function(t,e,n){var o={},r=u(function(){return!!s[t]()||l[t]()!=l}),i=o[t]=r?e(h):s[t];n&&(o[n]=i),a(a.P+a.F*r,"String",o)},h=p.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(i,"")),2&e&&(t=t.replace(c,"")),t};t.exports=p},function(t,e,n){"use strict";var p=n(84),_=n(14),x=n(86),b=n(52),w=n(53),k=n(54),h=n(35),o=n(22),M=Math.min,f=[].push,a="split",d="length",v="lastIndex",O=4294967295,T=!o(function(){RegExp(O,"y")});n(55)("split",2,function(r,i,g,y){var m;return m="c"=="abbc"[a](/(b)*/)[1]||4!="test"[a](/(?:)/,-1)[d]||2!="ab"[a](/(?:ab)*/)[d]||4!="."[a](/(.?)(.?)/)[d]||1<"."[a](/()()/)[d]||""[a](/.?/)[d]?function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!p(t))return g.call(n,t,e);for(var o,r,i,a=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),s=0,l=void 0===e?O:e>>>0,c=new RegExp(t.source,u+"g");(o=h.call(c,n))&&(r=c[v],!(s=l)));)c[v]===o.index&&c[v]++;return s===n[d]?!i&&c.test("")||a.push(""):a.push(n.slice(s)),a[d]>l?a.slice(0,l):a}:"0"[a](void 0,0)[d]?function(t,e){return void 0===t&&0===e?[]:g.call(this,t,e)}:g,[function(t,e){var n=r(this),o=null==t?void 0:t[i];return void 0!==o?o.call(t,n,e):m.call(String(n),t,e)},function(t,e){var n=y(m,t,this,e,m!==g);if(n.done)return n.value;var o=_(t),r=String(this),i=x(o,RegExp),a=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(T?"y":"g"),s=new i(T?o:"^(?:"+o.source+")",u),l=void 0===e?O:e>>>0;if(0===l)return[];if(0===r.length)return null===k(s,r)?[r]:[];for(var c=0,p=0,h=[];pe[e.length-1]||(v.scrollTop=n.getCenterScrolltopById(t.gid,e.length),n.setFocusStaus(t.gid))},_=function(t){1\n ';return t.innerHTML=e.trim(),t.firstChild}},{key:"createGroupBtnPanel",value:function(t){var e=document.createElement("div"),n='\n
\n \n
\n ');return e.innerHTML=n.trim(),e.firstChild}},{key:"createHr",value:function(){var t=document.createElement("div"),e='\n
\n ';return t.innerHTML=e.trim(),t.firstChild}},{key:"createScrollButton",value:function(t,e){var n=document.createElement("div"),o='\n
\n ');return n.innerHTML=o.trim(),n.firstChild}},{key:"createGroupButton",value:function(t,e){var n=document.createElement("div"),o="");return n.innerHTML=o.trim(),n.firstChild}},{key:"changeScrollBtnPic",value:function(){var t=this._foucusId,e=this._map.listGroups.map(function(t){return t.gid}),n=document.getElementById("scroll_buttom"+this.uuid),o=document.getElementById("scroll_top"+this.uuid);t==e[0]?n&&(n.style.backgroundImage="url("+this._ctlOpt.imgURL+"arrow4.png)"):n&&(n.style.backgroundImage="url("+this._ctlOpt.imgURL+"arrow2.png)"),t==e[e.length-1]?o&&(o.style.backgroundImage="url("+this._ctlOpt.imgURL+"arrow3.png)"):o&&(o.style.backgroundImage="url("+this._ctlOpt.imgURL+"arrow1.png)")}},{key:"changeFocusGroup",value:function(t){this.foucusId=t}},{key:"changeGroupsSelect",value:function(t){this.setLayerStatus(t),this._map.showSingerOrMultiGroup(t)}},{key:"setLayerStatus",value:function(t){this._allLayer=t,this._allLayer?this._switchBtn.firstElementChild.src=this._ctlOpt.imgURL+"layers.png":this._switchBtn.firstElementChild.src=this._ctlOpt.imgURL+"layer.png"}},{key:"checkPosition",value:function(t,e,n){switch(n.style.left="",n.style.right="",n.style.top="",n.style.bottom="",t){case p.default.LEFT_TOP:n.style.left=e.x+"px",n.style.top=e.y+"px";break;case p.default.RIGHT_TOP:n.style.right=-e.x+"px",n.style.top=e.y+"px";break;case p.default.LEFT_BOTTOM:n.style.left=e.x+"px",n.style.bottom=-e.y+"px";break;case p.default.RIGHT_BOTTOM:n.style.right=-e.x+"px",n.style.bottom=-e.y+"px";break;default:n.style.left=e.x+"px",n.style.top=e.y+"px"}}},{key:"onChange",value:function(t){u=t}},{key:"setFocusStaus",value:function(t){document.getElementById("gid_"+this._foucusId+this.uuid).style.color="rgb(102, 102, 102)",this._foucusId=(0,a.default)(t),document.getElementById("gid_"+this._foucusId+this.uuid).style.color="rgb(30, 130, 250)",this.changeScrollBtnPic()}},{key:"foucusId",set:function(t){var e=[];e.push.apply(e,(0,i.default)(this._map.visibleGroupIDs)),1==e.length?this._map.visibleGroupIDs=[t]:-1";for(e.style.display="none",i(114).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(o+"script"+r+"document.F=Object"+o+"/script"+r),t.close(),c=t.F;n--;)delete c[l][a[n]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=o(t),n=new s,s[l]=null,n[u]=t):n=c(),void 0===e?n:r(n,e)}},function(t,e,n){var a=n(11),u=n(15),s=n(40);t.exports=n(7)?Object.defineProperties:function(t,e){u(t);for(var n,o=s(e),r=o.length,i=0;i=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t){t.exports=function(){}},function(t){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var o=n(61),r=n(2)("iterator"),i=n(9);t.exports=n(1).isIterable=function(t){var e=Object(t);return void 0!==e[r]||"@@iterator"in e||i.hasOwnProperty(o(e))}},function(t){function e(){throw new TypeError("Invalid attempt to spread non-iterable instance")}t.exports=e},function(t,e,n){"use strict";var M=n(14),o=n(131),O=n(53),T=n(33),P=n(52),E=n(54),C=Math.max,S=Math.min,h=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,L=function(t){return void 0===t?t:String(t)};n(55)("replace",2,function(r,i,b,w){return[function(t,e){var n=r(this),o=null==t?void 0:t[i];return void 0!==o?o.call(t,n,e):b.call(String(n),t,e)},function(t,e){var n=w(b,t,this,e);if(n.done)return n.value;var o=M(t),r=String(this),i="function"==typeof e;i||(e=String(e));var a=o.global;if(a){var u=o.unicode;o.lastIndex=0}for(var s=[];;){var l=E(o,r);if(null===l)break;if(s.push(l),!a)break;var c=String(l[0]);""===c&&(o.lastIndex=P(r,O(o.lastIndex),u))}for(var p="",h=0,f=0;fe[e.length-1]||(a.scrollTop=n.getCenterScrolltopById(t.gid,e.length),n.setFocusStaus(t.gid))};this._map.on("focusGroupIDChanged",l),this._map.on("dispose",function(){n._map.off("focusGroupIDChanged",l),n._map.getContainer().removeChild(a),n._map.getContainer().removeChild(e)}),this._$=function(t){return n.map?n.map.mapView.container_.querySelector(t):document.querySelector(t)}}},{key:"eventBtnPanelInit",value:function(n){var o=this,t=this;n.onselectstart=function(){return!1},n.style.MozUserSelect="none",c.default.bindEvent(n,"label","click",function(){t.foucusId=(0,u.default)(this.dataset.gid)});var e=function(t){var e=n.scrollTop;t.wheelDelta?e+=-t.wheelDelta:t.detail&&(e+=t.detail),o.scrollTopAn_({el:n,to:n.scrollTop,form:n.scrollTop+e})};n.addEventListener("mousewheel",e),n.addEventListener("MozMousePixelScroll",e,!1),n.addEventListener("touchstart",this.touchstart.bind(this),!1),n.addEventListener("touchmove",this.touchmove.bind(this),!1),n.addEventListener("touchend",this.touchend.bind(this),!0)}},{key:"touchstart",value:function(t){t.preventDefault(),this.touchPointX=t.touches[0].pageX,this.touchPointY=t.touches[0].pageY,this.touchStartPointY=t.touches[0].pageY}},{key:"touchmove",value:function(t){t.preventDefault(),this.touchEndPointX=t.touches[0].pageX,this.touchEndPointY=t.touches[0].pageY,this.handleTouchEnd(t)}},{key:"handleTouchEnd",value:function(t){t=t||window.event;var e=this,n=null,o=0;0