From 606e5f786723836966a6ff83163ad8b7790fd100 Mon Sep 17 00:00:00 2001 From: yanxiong Date: Mon, 8 Jan 2024 11:40:03 +0800 Subject: [PATCH] Updates --- 404.html | 2 +- 714.c4bafb86.async.js | 640 +++++++++++++++++++++++++ 714.e4aa5179.async.js | 640 ------------------------- docs/index.html | 2 +- docs__docs__index.md.6d3aadca.async.js | 1 + docs__docs__index.md.f5762d12.async.js | 1 - guide/index.html | 2 +- index.html | 2 +- umi.722a868b.js => umi.3303cf19.js | 4 +- ~demos/:id/index.html | 2 +- ~demos/docs-demo-components/index.html | 2 +- ~demos/docs-docs-demo-docs/index.html | 2 +- 12 files changed, 650 insertions(+), 650 deletions(-) create mode 100644 714.c4bafb86.async.js delete mode 100644 714.e4aa5179.async.js create mode 100644 docs__docs__index.md.6d3aadca.async.js delete mode 100644 docs__docs__index.md.f5762d12.async.js rename umi.722a868b.js => umi.3303cf19.js (99%) diff --git a/404.html b/404.html index 99f36cb..9962ffe 100644 --- a/404.html +++ b/404.html @@ -26,6 +26,6 @@
- + \ No newline at end of file diff --git a/714.c4bafb86.async.js b/714.c4bafb86.async.js new file mode 100644 index 0000000..1fe31b1 --- /dev/null +++ b/714.c4bafb86.async.js @@ -0,0 +1,640 @@ +(self.webpackChunk_antv_l7_editor=self.webpackChunk_antv_l7_editor||[]).push([[714],{37382:function(){window._iconfont_svg_string_3567033='',function(we){var o=(o=document.getElementsByTagName("script"))[o.length-1],se=o.getAttribute("data-injectcss"),o=o.getAttribute("data-disable-injectsvg");if(!o){var pe,p,N,c,te,be=function(ee,re){re.parentNode.insertBefore(ee,re)};if(se&&!we.__iconfont__svg__cssinject__){we.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(ye){console&&console.log(ye)}}pe=function(){var ee,re=document.createElement("div");re.innerHTML=we._iconfont_svg_string_3567033,(re=re.getElementsByTagName("svg")[0])&&(re.setAttribute("aria-hidden","true"),re.style.position="absolute",re.style.width=0,re.style.height=0,re.style.overflow="hidden",re=re,(ee=document.body).firstChild?be(re,ee.firstChild):ee.appendChild(re))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(pe,0):(p=function(){document.removeEventListener("DOMContentLoaded",p,!1),pe()},document.addEventListener("DOMContentLoaded",p,!1)):document.attachEvent&&(N=pe,c=we.document,te=!1,Te(),c.onreadystatechange=function(){c.readyState=="complete"&&(c.onreadystatechange=null,me())})}function me(){te||(te=!0,N())}function Te(){try{c.documentElement.doScroll("left")}catch(ye){return void setTimeout(Te,50)}me()}}(window)},84731:function(we,se,o){"use strict";o.d(se,{B:function(){return c}});var pe=o(24928),p=o(78683),N=o(23978);function c(te,be,me){var Te=te.getWordUntilPosition(be),ye={startLineNumber:be.lineNumber,endLineNumber:be.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},ee=[];if(me==="turf")for(var re in pe){var Me={label:re,kind:N.languages.CompletionItemKind.Function,documentation:pe[re].toString(),insertText:re,range:ye};ee.push(Me)}else ee=p.Z.chain(p.Z).keys().map(function(ue){return{label:ue,kind:N.languages.CompletionItemKind.Function,insertText:ue,range:ye}}).value();return{suggestions:ee}}},56550:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{i:function(){return GeoJsonEditor}});var _Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(97857),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(15009),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(99289),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5574),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__),ahooks__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(36306),ahooks__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(58580),ahooks__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(78234),ahooks__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(77598),monaco_editor_esm_vs_editor_editor_api__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(23978),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(67294),react_i18next__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(67421),react_monaco_editor__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(2302),_recoil__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(32865),_utils__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(11615),_utils_prettier_text__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(12510),_editortool__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(84731),_styles__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(28804),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(85893),GeoJsonEditor=(0,react__WEBPACK_IMPORTED_MODULE_5__.forwardRef)(function(props,ref){var _useSize,_props$language=props.language,language=_props$language===void 0?"json":_props$language,_useGlobal=(0,_recoil__WEBPACK_IMPORTED_MODULE_8__.Og)(),theme=_useGlobal.theme,autoFitBounds=_useGlobal.autoFitBounds,_useFeature=(0,_recoil__WEBPACK_IMPORTED_MODULE_8__.SS)(),editorText=_useFeature.editorText,setEditorText=_useFeature.setEditorText,saveEditorText=_useFeature.saveEditorText,bboxAutoFit=_useFeature.bboxAutoFit,_useState=(0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(""),_useState2=_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState,2),scriptContent=_useState2[0],setScriptContent=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(null),_useState4=_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState3,2),container=_useState4[0],setContainer=_useState4[1],_ref=(_useSize=(0,ahooks__WEBPACK_IMPORTED_MODULE_14__.Z)(container))!==null&&_useSize!==void 0?_useSize:{},_ref$width=_ref.width,width=_ref$width===void 0?0:_ref$width,_ref$height=_ref.height,height=_ref$height===void 0?0:_ref$height,styles=(0,_styles__WEBPACK_IMPORTED_MODULE_12__.Z)(),_useState5=(0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(""),_useState6=_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState5,2),geoJonText=_useState6[0],setGeoJonText=_useState6[1],debouncedGeoJsonText=(0,ahooks__WEBPACK_IMPORTED_MODULE_15__.Z)(geoJonText,{wait:2e3}),_useTranslation=(0,react_i18next__WEBPACK_IMPORTED_MODULE_6__.$G)(),t=_useTranslation.t;monaco_editor_esm_vs_editor_editor_api__WEBPACK_IMPORTED_MODULE_4__.languages.registerDocumentFormattingEditProvider(language,{provideDocumentFormattingEdits:function(se){return[{range:se.getFullModelRange(),text:(0,_utils_prettier_text__WEBPACK_IMPORTED_MODULE_10__.X)({content:se.getValue(),parser:language})}]}}),(0,ahooks__WEBPACK_IMPORTED_MODULE_16__.Z)(function(){monaco_editor_esm_vs_editor_editor_api__WEBPACK_IMPORTED_MODULE_4__.editor.defineTheme("custome-theme",{base:"vs",inherit:!0,rules:[{token:t("geojson_editor.index.tiaoShi"),foreground:"959595"},{token:t("geojson_editor.index.tongZhi"),foreground:"00b4ff"},{token:t("geojson_editor.index.jingGao"),foreground:"fff000"},{token:t("geojson_editor.index.cuoWu"),foreground:"ff0000"},{token:t("geojson_editor.index.bengKui"),foreground:"c30209"},{token:t("geojson_editor.index.xinXi"),foreground:"ffffff"}],colors:{"editor.background":"#fafafa","editorLineNumber.foreground":"#222222","editor.lineHighlightBackground":"#f4f4f4"}}),monaco_editor_esm_vs_editor_editor_api__WEBPACK_IMPORTED_MODULE_4__.languages.registerCompletionItemProvider(language,{provideCompletionItems:function(se,o){return(0,_editortool__WEBPACK_IMPORTED_MODULE_11__.B)(se,o,"lodash")}}),monaco_editor_esm_vs_editor_editor_api__WEBPACK_IMPORTED_MODULE_4__.languages.registerCompletionItemProvider(language,{provideCompletionItems:function(se,o){return(0,_editortool__WEBPACK_IMPORTED_MODULE_11__.B)(se,o,"turf")}})});var monacoChange=function(se){if(language==="json"){setEditorText(se),setGeoJonText(se);return}setScriptContent==null||setScriptContent(se)};(0,react__WEBPACK_IMPORTED_MODULE_5__.useImperativeHandle)(ref,function(){return{getData:function getData(){return new Promise(function(){var _ref2=_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()(_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(resolve,reject){var geoData,funcResult,evalResult;return _Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(funcResult=new Function(scriptContent),!funcResult()){_context.next=5;break}geoData=funcResult(),_context.next=14;break;case 5:if(evalResult=eval(scriptContent),!(0,_utils__WEBPACK_IMPORTED_MODULE_9__.tI)(evalResult)){_context.next=12;break}return _context.next=9,evalResult;case 9:_context.t0=_context.sent,_context.next=13;break;case 12:_context.t0=evalResult;case 13:geoData=_context.t0;case 14:geoData?resolve(geoData):reject(t("geojson_editor.index.jiaoBenShuJuYou"));case 15:case"end":return _context.stop()}},_callee)}));return function(we,se){return _ref2.apply(this,arguments)}}())}}},[scriptContent,t]),(0,ahooks__WEBPACK_IMPORTED_MODULE_17__.Z)(function(){var we=saveEditorText();autoFitBounds&&bboxAutoFit(we)},[debouncedGeoJsonText]);var value=(0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(function(){return language==="javascript"?{}:{value:editorText}},[language,editorText]);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div",{ref:setContainer,className:styles.appEditor,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(react_monaco_editor__WEBPACK_IMPORTED_MODULE_7__.ZP,_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({width,height,language},value),{},{onChange:monacoChange,theme:theme==="dark"?"vs-dark":"custome-theme",options:{selectOnLineNumbers:!0,tabIndex:2,tabSize:2,folding:!0,fontSize:13,mouseStyle:"text",foldingStrategy:"indentation",scrollBeyondLastLine:!1,foldingMaximumRegions:Number.MAX_SAFE_INTEGER,suggest:{showKeywords:!0}}}))})})},28804:function(we,se,o){"use strict";var pe=o(68400),p=o.n(pe),N=o(68479),c,te=function(){return{appEditor:(0,N.iv)(c||(c=p()([` + width: 100%; + height: 100%; + position: relative; + .react-monaco-editor-container { + width: 100%; + height: 100%; + } + `])))}};se.Z=te},55375:function(we,se,o){"use strict";o.d(se,{AF:function(){return Me},AQ:function(){return me},Fe:function(){return N},IZ:function(){return ye},Iz:function(){return pe.Iz},K6:function(){return be},QF:function(){return ee},_9:function(){return pe._9},ay:function(){return re},d7:function(){return c},dY:function(){return ue},dw:function(){return pe.dw},eG:function(){return pe.eG},s3:function(){return Te},u9:function(){return pe.u9},xQ:function(){return pe.xQ},yc:function(){return p}});var pe=o(50599),p=[20,80],N=function(U){return U.RightPanelWidth="RightPanelWidth",U.MapOptions="MapOptions",U.LayerColor="LayerColor",U.HideEditor="HideEditor",U.EditorText="EditorText",U.PopupTrigger="PopupTrigger",U.ActiveRightTabKey="ActiveRightTabKey",U.AutoFitBounds="AutoFitBounds",U.BaseMap="BaseMap",U.officialLayers="officialLayers",U.WktText="WktText",U.Convert="Convert",U.theme="theme",U.cityHistory="cityHistory",U.showTextLayer="showTextLayer",U.textLayerFields="textLayerFields",U.locale="locale",U.firstOpening="firstOpening",U.wasmPath="wasmPath",U.customTiles="customTiles",U.showDrawDistance="showDrawDistance",U.showDrawArea="showDrawArea",U}({}),c=function(U){return U.PointLayer="PointLayer",U.LineLayer="LineLayer",U.PolygonLayer="PolygonLayer",U}({}),te="https://mdn.alipayobjects.com/huamei_baaa7a/afts/img/A*mvwjR5RwS9QAAAAAAAAAAAAADqSCAQ/original",be="#1677ff",me={Index:Symbol("index"),DrawType:Symbol("drawType"),IsEdit:Symbol("isEdit")},Te={token:"pk.eyJ1IjoibGl1dmlnb25nenVvc2hpIiwiYSI6ImNsaGs2czBrcTBvczUzbnFzOHU0dzk2ZWQifQ.hVvTgcbg_Ym-VQz36psLRg"},ye={token:"5ae4492ef912cbbc93034fea0e66ff2a"},ee=100,re="https://gac-geo.googlecnapps.cn/maps/vt?lyrs=s&gl=CN&x={x}&y={y}&z={z}",Me="https://gac-geo.googlecnapps.cn/maps/vt?lyrs=h&gl=CN&x={x}&y={y}&z={z}",ue=function(U){return U.GoogleSatellite="googleSatellite",U.VectorMap="vectorMap",U}({})},50599:function(we,se,o){"use strict";o.d(se,{Iz:function(){return Te},_9:function(){return ye},dw:function(){return te},eG:function(){return ee},u9:function(){return me},xQ:function(){return be}});var pe=o(5574),p=o.n(pe),N=o(17099),c=o.n(N),te=c().shape({type:c().in(["Point","LineString","Polygon","MultiPoint","MultiLineString","MultiPolygon"]),coordinates:c().array}),be=c().arrayOf(te),me=c().shape({type:c().in(["Feature"]),properties:c().or([c().object,c().null,c().undefined]),geometry:te}),Te=c().arrayOf(me),ye=c().shape({type:c().in(["FeatureCollection"]),features:c().arrayOf(me)}),ee=c().arrayOf(c().arrayOf(c().and([c().arrayOf(c().number),c().apply(function(re){if(re.length===2){var Me=p()(re,2),ue=Me[0],U=Me[1];return ue>=-180&&ue<=180&&U<=90&&U>=-90}return!1})])))},39610:function(we,se,o){"use strict";o.r(se),o.d(se,{AppTable:function(){return $n},GeoJsonEditor:function(){return Ut.i},L7Editor:function(){return Hi},LngLatEditor:function(){return mo},WktEditor:function(){return _a}});var pe=o(97857),p=o.n(pe),N=o(5574),c=o.n(N),te=o(60219),be=o(75932),me=o(78588),Te=o(1210),ye=o(38854),ee=o(65868),re=o(96074),Me=o(78957),ue=o(61781),U=o(15867),Pe=o(83159),Ye=o(55241),Ve=o(93531),vt=o(94184),ge=o.n(vt),_=o(67294),ae=o(67421),W=o(55375),K=o(32865),e=o(85893),Be=function(n){return(0,e.jsx)("span",{id:n.id,role:"img",style:n.style,className:ge()(["anticon",n.className]),children:(0,e.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false",className:"",children:(0,e.jsx)("use",{xlinkHref:"#".concat(n.type)})})})},Ce=o(34041),De=Ce.Z.Option,We=function(){var n=(0,K.Og)(),i=n.baseMap,r=n.setBaseMap,a=n.setMapOptions,l=n.mapOptions,s=n.theme,u=n.setCoordConvert,f=(0,ae.$G)(),d=f.t,y=[{img:"https://mdn.alipayobjects.com/huamei_k6sfo0/afts/img/A*POJeRJzjdNAAAAAAAAAAAAAADjWqAQ/original",label:d("btn.setting_btn.gaoDe"),value:"Gaode"},{img:"https://mdn.alipayobjects.com/huamei_k6sfo0/afts/img/A*-G-sT4L_sNoAAAAAAAAAAAAADjWqAQ/original",label:"Mapbox",value:"Mapbox"}],v=function(j){r(j),a(p()(p()({},l),{},{style:s==="dark"?"dark":"normal"})),u(j==="Gaode"?"GCJ02":"WGS84"),j!==i&&location.reload()};return(0,e.jsx)(Ce.Z,{style:{width:"120px"},bordered:!1,defaultValue:i,onChange:v,children:y.map(function(x){return(0,e.jsx)(De,{value:x.value,label:x.label,children:(0,e.jsxs)(Me.Z,{children:[(0,e.jsx)("span",{style:{display:"flex"},children:(0,e.jsx)("img",{src:x.img,alt:"",style:{height:15,width:15}})}),(0,e.jsx)("span",{children:x.label})]})},x.value)})})},it=o(85060),Se=o(24928),qe=o(12816),ct=o.n(qe),Oe=o(11615),et=o(12510),he=o(42649),Q=function(){var n=(0,K.SS)(),i=n.editorText,r=n.fc,a=(0,ae.$G)(),l=a.t,s=function(d){if(d==="GeoJson")(0,Oe.Di)(JSON.stringify(r),"json");else if(d==="FormatGeoJson"){var y=(0,et.X)({content:r});(0,Oe.Di)(y,"json")}else if(d==="LngLat")(0,Oe.Di)((0,Se.coordAll)(r).map(function(x){return x.join(",")}).join(";"),"txt");else if(d==="KML"){var v=ct()(r);(0,Oe.Di)(v,"kml")}else d==="WKT"?(0,Oe.Di)((0,he.f)(r),"wkt"):(0,Oe.Di)(i,"json")},u=[{key:"GeoJson",label:l("app_header.constants.xiaZaiGEO")},{key:"LngLat",label:l("app_header.constants.xiaZaiLNG")},{key:"KML",label:l("app_header.constants.xiaZaiKML")},{key:"WKT",label:l("app_header.constants.xiaZaiWKT")}];return(0,e.jsx)(Pe.Z,{menu:{items:u,onClick:function(d){var y=d.key;s(y)}},children:(0,e.jsx)(U.ZP,{id:"l7-editor-download",icon:(0,e.jsx)(it.Z,{}),children:l("btn.download_btn.xiaZai")})})},ie=Q,X=o(63783),Y=function(){var h=(0,ae.$G)(),n=h.t,i=function(l){l==="guide"?window.open("/guide"):l==="api"?window.open("/docs"):l==="issue"&&window.open("https://github.com/antvis/L7Editor/issues/new")},r=[{key:"guide",label:n("app_header.constants.pingTaiShiYongWen")},{key:"api",label:n("app_header.constants.zuJianAPI")},{key:"issue",label:n("app_header.constants.issue")}];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Pe.Z,{menu:{items:r,onClick:function(l){var s=l.key;i(s)}},placement:"bottom",children:(0,e.jsx)(U.ZP,{icon:(0,e.jsx)(X.Z,{}),children:n("btn.handback_btn.bangZhu")})})})},ke=o(18253),dt=o(82925),mt=o(36609),pt=o(15059),gt={"btn.download_btn.xiaZai":"Download","btn.handback_btn.lianXiWoMen":"Contact Us","btn.handback_btn.bangZhu":"Help","btn.setting_btn.guanBi":"Close","btn.setting_btn.kaiQi":"Open","btn.setting_btn.shiFouZhanShiYuan":"Display serial number on layer","btn.setting_btn.gaoDe":"Gaode","btn.setting_btn.diTuDiTuQie":"Switch base map","btn.setting_btn.ziDongSuoFangZhi":"Auto zoom to all elements visible","btn.setting_btn.huaRu":"Mouse on","btn.setting_btn.dianJi":"Click","btn.setting_btn.tuCengQiPaoZhan":"Display mode of layer popup","btn.setting_btn.quXiao":"Cancel","btn.setting_btn.queRen":"Confirm","btn.setting_btn.sheZhi":"Setting","btn.setting_btn.diTuSheZhi":"Map Setting","import_btn.file_upload.jinZhiChiJS":"Only files with. json, .geojson, .wkt, .csv, .xlsx, .xls and. kml suffixes are supported","import_btn.file_upload.wenJianShangChuan":"File Upload","import_btn.file_upload.wenJianShangChuan2":"File upload:","import_btn.file_upload.qingJianChaShuJu":"Please check the data format","import_btn.file_upload.qingShanChuBaoCuo":"Please delete the error file","import_btn.file_upload.qingTianJiaWenJian":"Please add file","import_btn.file_upload.shuJuGeShiBu":"Data format mismatch","import_btn.index.zhuiJia":"Append","import_btn.index.fuGai":"Cover","import_btn.index.shuJuCaoZuo":"Data manipulation","import_btn.index.shangChuan":"Upload","import_btn.index.shangChuanShuJu":"Upload data","import_btn.index.jAVAS":"JavaScript script","import_btn.index.uRLShangChuan":"URL upload","import_btn.lnglat_import_btn.qingShuRuLianXu":"Please enter consecutive latitude and longitude separated by symbols, for example: 120.85,30.26;130.85,31.21","import_btn.lnglat_import_btn.shuJuNeiRong":"Data Content","import_btn.lnglat_import_btn.shuJuLeiXing":"Data Type","import_btn.lnglat_import_btn.lNGLA":"LngLat import failed","import_btn.lnglat_import_btn.qingShuRuJingWei":"Please enter latitude and longitude","import_btn.lnglat_import_btn.mian":"Polygon","import_btn.lnglat_import_btn.xian":"Line","import_btn.lnglat_import_btn.dian":"Point","import_btn.url_upload.uRLDiZhi":"URL:","import_btn.url_upload.shuJuLeiXing":"Data Type:","import_btn.url_upload.qingShuRuWenBen":"Please enter text content","import_btn.url_upload.shuJuGeShiCuo":"Data format error, please select the correct data type","app_header.constants.keYiTongGuoBiao":"Table can be used to display the fields in the properties object in the modification and deletion GeoJSON data.","app_header.constants.biaoGe":"Table","app_header.constants.keYiTongGuoW":"WKT data can be modified through the WKT editor","app_header.constants.wKTBianJi":"WKT Editor","app_header.constants.keYiTongGuoBian":"GeoJSON data can be modified by editor","app_header.constants.gEOJS":"GeoJSON Editor","app_header.constants.keXuanZeBuTong":"Choice of official layer configurations for different maps","app_header.constants.guanFangTuCeng":"Official Layer","app_header.constants.xuanZeBuTongZhu":"Select a different theme color to modify the map rendering theme color","app_header.constants.zhuTiSe":"Theme color","app_header.constants.xuanZeYanSeLai":"Select color to modify map rendering color","app_header.constants.yanSeXuanZeQi":"Color Picker","app_header.constants.dianJiZiDongSuo":"Click the Auto Zoom button to map the GeoJSON data location that will be automatically zoomed","app_header.constants.ziDongSuoFang":"Auto Zoom","app_header.constants.keGenJuShuJu":"You can filter the required data based on the properties in the data","app_header.constants.shaiXuan":"Filter","app_header.constants.dianJiQingChuAn":"Click the Clear button to GeoJSON the data will be empty (the Clear button will be grayed out in the Empty state)","app_header.constants.qingChu":"Clear","app_header.constants.keYiJiHuoDi":"Can activate new GeoJSON elements for mapping","app_header.constants.huiZhiPNG":"Draw. png","app_header.constants.huiZhi":"Draw","app_header.constants.souSuoChengShiHou":"After searching the city, you can quickly locate and move to the corresponding city center point.","app_header.constants.chengShiChaXun":"City Query","app_header.constants.keYiKuaiSuXuan":"Can quickly select the administrative region of the provinces, cities and counties","app_header.constants.xingZhengQuXuanZe":"Administrative Region Selector","app_header.constants.dianJiKeQieHuan":"Click to switch between different theme colors","app_header.constants.zhuTi":"Theme","app_header.constants.yongHuKeSheZhi":"User can set some initialization configuration","app_header.constants.dianJiXiaZaiKe":"Click Download to download the GeoJSON data to the specified data format","app_header.constants.shiYongCTR":"Use the Ctrl/Command S shortcut key, or click the save button to render data (the save button is grayed out in the saved state)","app_header.constants.baoCun":"Save","app_header.constants.shangChuanPNG":"Upload. png","app_header.constants.shangChuanGEO":"Upload GeoJSON data","app_header.constants.diTuShangChaKan":"View rendering effects on the map","app_header.constants.xuanRan":"Rendering","app_header.constants.bianJiQi":"Editor","app_header.constants.quanGongNengShiYong":"Full Guide","app_header.constants.pingTaiJiChuShi":"Basic Guide","app_header.constants.xiaZaiWKT":"Download WKT format data","app_header.constants.xiaZaiKML":"Download KML format data","app_header.constants.xiaZaiLNG":"Download LngLat format data","app_header.constants.xiaZaiGEO":"Download GeoJSON format data","app_header.constants.zuJianAPI":"Component API Documentation","app_header.constants.pingTaiShiYongWen":"Platform Usage Documentation","app_header.constants.issue":"Quick Issue","app_header.index.an":"Dark","app_header.index.liang":"Light","app_header.index.yinDao":"Guide","app_header.index.baoCunShuJu":"Save Data","app_table.index.dangQianShuJuWu":"No fields","app_table.index.shanChu":"Delete","app_table.index.shuJuShanChuCheng":"Data deleted successfully","app_table.index.caoZuo":"Operation","app_table.index.xuHao":"Serial number","app_table.index.shanChuLie":"Confirm to delete this column of data?","app_table.index.tianJiaLieZiDuan":"Add Column Field","app_table.index.ziDuanMing":"Field Name:","app_table.index.qingShuRuLieZiDuan":"Please enter a column field","geojson_editor.index.jiaoBenShuJuYou":"Wrong script data","geojson_editor.index.xinXi":"Information","geojson_editor.index.bengKui":"Crash","geojson_editor.index.cuoWu":"Error","geojson_editor.index.jingGao":"Warning","geojson_editor.index.tongZhi":"Notifications","geojson_editor.index.tiaoShi":"Debugging","layer_popup.index.gengGaiHuiZhi":"Edit","layer_popup.index.mULTI":"GeoJSON of type Multi does not support editing","layer_popup.index.dangQianYuanSuWu":"Current element has no fields","layer_popup.index.tianJiaZiDuan":"Add Field","map_content.index.zuoBiaoXi":"Geographic Coordinate System","administrative_select_control.index.xingZhengQuHuaLi":"Historical records of administrative divisions","administrative_select_control.index.keXuanZeShengShi":"Province/City/County","administrative_select_control.index.weiLanShuJuQing":"Fence data request failed","auto_control.index.ziDongSuoFangZhi":"Auto zoom to data","clear_control.index.queRenQingKongSuo":"Confirm to clear all data?","filter_form_list_control.index.shuJuGuoLu":"Data Filtering","filter_form_list_control.index.tianJiaShaiXuanTiao":"Add Filter Condition","filter_form_list_control.index.qingXuanZeZiDuan":"Please select a field","filter_form_list_control.index.huoZhe":"or","filter_form_list_control.index.bingQie":"and","filter_form_list_control.numberFilter.qingShuRuShaiXuan":"Please enter a filter value","filter_form_list_control.numberFilter.qingXuanZeGuoLu":"Please select filtering logic","filter_form_list_control.numberFilter.quJian":"Interval","filter_form_list_control.stringFilter.qingXuanZeShaiXuan":"Please select a filter","filter_form_list_control.stringFilter.buPiPei":"No match","filter_form_list_control.stringFilter.piPei":"Match","filter_form_list_control.stringFilter.buBaoHan":"No contain","filter_form_list_control.stringFilter.baoHan":"Contains","layer_color_control.index.changYongYanSe":"Common color","layer_color_control.index.tuCengYanSeXuan":"Layer Color Picker","location_search_control.index.tianJiaZhiShuJu":"Add to Data","location_search_control.location_search.qingShuRuYaoSou":"Please enter a place name to search","official_layer_control.index.guGeWeiXingTu":"Google Remote Sensing Maps","official_layer_control.index.shiLiangDiTu":"Vector Map","save_map_options_control.index.baoCunDiTuZhuang":"Save Map Status","save_map_options_control.index.diTuZhuangTaiBao":"Map status saved successfully","wkt_editor.index.shuRuWKT":"Points, lines and polygons in the input WKT format can be identified. Please use ; to separate multiple data, such\uFF1APOINT(120.104013 30.262134);POINT(120.104033 30.262164)","pages.index.qingYongPCDuan":"Please use PC","recoil.feature.shuJuJiaZaiYou":"Data loading error","utils.index.qingJianChaUR":"Please check whether the url matches the data format","utils.transform.weiShiBieJS":"Unrecognized JSON array type","utils.upload.wenJianJieXiShi":"File parsing failed, please check the file type.","app_header.index.zhutiqiehuan":"Theme change","app_header.index.dingTalk":"DingTalk Group","app_table.index.dingWei":"Location","import_btn.file_upload.wenJian":"File","import_btn.file_upload.ciZiDuanFeiDiLiZiDuan":"This field is not geographic field","import_btn.file_upload.dianJiHuoJiangWenJian":"Click or drag the file here.","import_btn.file_upload.diLiZiDuanXuanZe":"Geographical field selection","import_btn.file_upload.dangQianJinZhiChi":"only WKT and Geometry data are supported.","layer_contextmenu_popup.fuZhiChengGong":"Copy success","layer_contextmenu_popup.fuZhi":"Copy","map_control_group.sam.jiSuanWanCheng":"After the identification of the plot area is completed, click the map in the red area to select the plot, and click the button again to close the intelligent identification of the plot.","map_control_group.sam.jiSuanShiBai":"Failed to identify the area of the plot. Please resize the map and re-identify the plot area.","map_control_group.sam.tuXingJieXiCuoWu":"Parcel parsing error, please reselect","map_control_group.sam.qingZaiQuYuNei":"Please select within the parcel boundary","map_control_group.sam.zhiNengXuanZe":"Block intelligent identification","map_control_group.sam.ziDongShiBie":"Plot Identification Area Boundary","map_control_group.sam.zhiNengShiBieGuanBi":"Block intelligent identification function is turned off","map_control_group.sam.diKuaiShiBieShiBei":"\u5730\u5757\u667A\u80FD\u8BC6\u522B\u6A21\u578B\u52A0\u8F7D\u5931\u8D25","map_contorl_group.draw.draw":"Click to start drawing","map_contorl_group.draw.drawContinue":"Click to continue drawing","map_contorl_group.draw.drawFinish":"Click to continue drawing, double-click to end drawing","map_contorl_group.draw.pontHover":"Drag and Drop to Adjust Node Position","map_contorl_group.draw.midPointHover":"Click to add a node at this location","map_contorl_group.draw.lineHover":"Drag and Drop to Adjust Surface Position","official_layer_control.index.mingChengChongFu":"Duplicate name, please modify the name","official_layer_control.index.shanChuDiTu":"Delete current base map","official_layer_control.index.tianJiaDitu":"Add Tile Layer","official_layer_control.index.name":"name","official_layer_control.index.addName":"Please enter a name","official_layer_control.index.shiLiTuPian":"Sample Picture","official_layer_control.index.tuCengDiZhi":"Layer Address","official_layer_control.index.qiShuRutuCengDiZhi":"Please enter a layer address","official_layer_control.index.tinJiaWaPian":"Add Tile Layer Address","official_layer_control.index.kongGe":"Input cannot be a space!","official_layer_control.index.shangchuan":"Please upload pictures","text-layer-control_wenBenBiaoZhu":"Text callout layer configuration","text-layer-control_shiFouZhanShiTuCeng":"Show layer","text-layer-control_zhanShiZiDuan":"Show Fields","text-layer-control_buXuan":"If not selected, the element serial number will be displayed by default.","text-layer-control_wenBenTuCengPeiZhi":"Text Layer Configuration","text-layer-control_description":"Open the text layer configuration, you can display the serial number of all the current data, you can also use the multi-select box to properties fields in the data to select different data for display.","btn.setting_btn.mianJi":"Show area text when drawing","btn.setting_btn.juLi":"Whether to display distance text when drawing"},Tt={"btn.download_btn.xiaZai":"\u4E0B\u8F7D","btn.handback_btn.lianXiWoMen":"\u8054\u7CFB\u6211\u4EEC","btn.handback_btn.bangZhu":"\u5E2E\u52A9","btn.setting_btn.guanBi":"\u5173\u95ED","btn.setting_btn.kaiQi":"\u5F00\u542F","btn.setting_btn.shiFouZhanShiYuan":"\u662F\u5426\u5C55\u793A\u5143\u7D20\u5E8F\u53F7","btn.setting_btn.gaoDe":"\u9AD8\u5FB7","btn.setting_btn.diTuDiTuQie":"\u5730\u56FE\u5E95\u56FE\u5207\u6362","btn.setting_btn.ziDongSuoFangZhi":"\u81EA\u52A8\u7F29\u653E\u81F3\u6240\u6709\u5143\u7D20\u53EF\u89C1","btn.setting_btn.huaRu":"\u5212\u5165","btn.setting_btn.dianJi":"\u70B9\u51FB","btn.setting_btn.tuCengQiPaoZhan":"\u56FE\u5C42\u6C14\u6CE1\u5C55\u793A\u65B9\u5F0F","btn.setting_btn.quXiao":"\u53D6\u6D88","btn.setting_btn.queRen":"\u786E\u8BA4","btn.setting_btn.sheZhi":"\u8BBE\u7F6E","btn.setting_btn.diTuSheZhi":"\u5730\u56FE\u8BBE\u7F6E","import_btn.file_upload.jinZhiChiJS":"\u4EC5\u652F\u6301.json, .geojson, .wkt, .kml, .csv, .xlsx, .xls\u540E\u7F00\u7684\u6587\u4EF6","import_btn.file_upload.wenJianShangChuan":"\u6587\u4EF6\u4E0A\u4F20","import_btn.file_upload.wenJianShangChuan2":"\u6587\u4EF6\u4E0A\u4F20 :","import_btn.file_upload.qingJianChaShuJu":"\u8BF7\u68C0\u67E5\u6570\u636E\u683C\u5F0F","import_btn.file_upload.qingShanChuBaoCuo":"\u8BF7\u5220\u9664\u62A5\u9519\u6587\u4EF6","import_btn.file_upload.qingTianJiaWenJian":"\u8BF7\u6DFB\u52A0\u6587\u4EF6","import_btn.file_upload.shuJuGeShiBu":"\u6570\u636E\u683C\u5F0F\u4E0D\u5339\u914D","import_btn.index.zhuiJia":"\u8FFD\u52A0","import_btn.index.fuGai":"\u8986\u76D6","import_btn.index.shuJuCaoZuo":"\u6570\u636E\u64CD\u4F5C","import_btn.index.shangChuan":"\u4E0A\u4F20","import_btn.index.shangChuanShuJu":"\u4E0A\u4F20\u6570\u636E","import_btn.index.jAVAS":"JavaScript\u811A\u672C","import_btn.index.uRLShangChuan":"URL\u4E0A\u4F20","import_btn.lnglat_import_btn.qingShuRuLianXu":"\u8BF7\u8F93\u5165\u8FDE\u7EED\u7684\u7ECF\u7EAC\u5EA6\u5E76\u7528\u7B26\u53F7\u9694\u5F00\uFF0C\u4F8B\u5982\uFF1A120.85,30.26;130.85,31.21","import_btn.lnglat_import_btn.shuJuNeiRong":"\u6570\u636E\u5185\u5BB9","import_btn.lnglat_import_btn.shuJuLeiXing":"\u6570\u636E\u7C7B\u578B","import_btn.lnglat_import_btn.lNGLA":"LngLat \u5BFC\u5165\u5931\u8D25","import_btn.lnglat_import_btn.qingShuRuJingWei":"\u8BF7\u8F93\u5165\u7ECF\u7EAC\u5EA6","import_btn.lnglat_import_btn.mian":"\u9762","import_btn.lnglat_import_btn.xian":"\u7EBF","import_btn.lnglat_import_btn.dian":"\u70B9","import_btn.url_upload.uRLDiZhi":"URL\u5730\u5740 :","import_btn.url_upload.shuJuLeiXing":"\u6570\u636E\u7C7B\u578B :","import_btn.url_upload.qingShuRuWenBen":"\u8BF7\u8F93\u5165\u6587\u672C\u5185\u5BB9","import_btn.url_upload.shuJuGeShiCuo":"\u6570\u636E\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u6570\u636E\u7C7B\u578B","app_header.constants.keYiTongGuoBiao":"\u53EF\u4EE5\u901A\u8FC7\u8868\u683C\u6765\u5C55\u793A\u4FEE\u6539\u5220\u9664GeoJSON \u6570\u636E\u4E2D\u7684properties\u5BF9\u8C61\u4E2D\u7684\u5B57\u6BB5","app_header.constants.biaoGe":"\u8868\u683C","app_header.constants.keYiTongGuoW":"\u53EF\u4EE5\u901A\u8FC7WKT\u7F16\u8F91\u5668\u4FEE\u6539 WKT \u6570\u636E","app_header.constants.wKTBianJi":"WKT\u7F16\u8F91\u5668","app_header.constants.keYiTongGuoBian":"\u53EF\u4EE5\u901A\u8FC7\u7F16\u8F91\u5668\u4FEE\u6539 GeoJSON \u6570\u636E","app_header.constants.gEOJS":"GeoJSON\u7F16\u8F91\u5668","app_header.constants.keXuanZeBuTong":"\u53EF\u9009\u62E9\u4E0D\u540C\u7684\u5730\u56FE\u7684\u5B98\u65B9\u56FE\u5C42\u914D\u7F6E","app_header.constants.guanFangTuCeng":"\u5B98\u65B9\u56FE\u5C42","app_header.constants.xuanZeBuTongZhu":"\u9009\u62E9\u4E0D\u540C\u4E3B\u9898\u8272\u6765\u4FEE\u6539\u5730\u56FE\u6E32\u67D3\u4E3B\u9898\u989C\u8272","app_header.constants.zhuTiSe":"\u4E3B\u9898\u8272","app_header.constants.xuanZeYanSeLai":"\u9009\u62E9\u989C\u8272\u6765\u4FEE\u6539\u5730\u56FE\u6E32\u67D3\u989C\u8272","app_header.constants.yanSeXuanZeQi":"\u989C\u8272\u9009\u62E9\u5668","app_header.constants.dianJiZiDongSuo":"\u70B9\u51FB\u81EA\u52A8\u7F29\u653E\u6309\u94AE \u5730\u56FE\u5C06\u81EA\u52A8\u7F29\u653E\u7684 GeoJSON \u6570\u636E\u4F4D\u7F6E","app_header.constants.ziDongSuoFang":"\u81EA\u52A8\u7F29\u653E","app_header.constants.keGenJuShuJu":"\u53EF\u6839\u636E\u6570\u636E\u4E2D\u7684properties\u6765\u7B5B\u9009\u9700\u8981\u6570\u636E","app_header.constants.shaiXuan":"\u7B5B\u9009","app_header.constants.dianJiQingChuAn":"\u70B9\u51FB\u6E05\u9664\u6309\u94AE GeoJSON \u6570\u636E\u5C06\u88AB\u8BF7\u7A7A \uFF08\u5DF2\u6E05\u7A7A\u72B6\u6001\u4E0B\u6E05\u7A7A\u6309\u94AE\u7F6E\u7070\uFF09","app_header.constants.qingChu":"\u6E05\u9664","app_header.constants.keYiJiHuoDi":"\u53EF\u4EE5\u6FC0\u6D3B\u5730\u56FE\u7ED8\u5236\u65B0\u589E GeoJSON \u5143\u7D20","app_header.constants.huiZhiPNG":"\u7ED8\u5236.png","app_header.constants.huiZhi":"\u7ED8\u5236","app_header.constants.souSuoChengShiHou":"\u641C\u7D22\u57CE\u5E02\u540E\u53EF\u5FEB\u901F\u5B9A\u4F4D\u5E76\u79FB\u52A8\u81F3\u5BF9\u5E94\u57CE\u5E02\u4E2D\u5FC3\u70B9","app_header.constants.chengShiChaXun":"\u57CE\u5E02\u67E5\u8BE2","app_header.constants.keYiKuaiSuXuan":"\u53EF\u4EE5\u5FEB\u901F\u9009\u62E9\u884C\u653F\u533A\u7684\u7701\u5E02\u53BF\u533A","app_header.constants.xingZhengQuXuanZe":"\u884C\u653F\u533A\u9009\u62E9\u5668","app_header.constants.dianJiKeQieHuan":"\u70B9\u51FB\u53EF\u5207\u6362\u4E0D\u540C\u7684\u4E3B\u9898\u914D\u8272","app_header.constants.zhuTi":"\u4E3B\u9898","app_header.constants.yongHuKeSheZhi":"\u7528\u6237\u53EF\u8BBE\u7F6E\u4E00\u4E9B\u521D\u59CB\u5316\u914D\u7F6E","app_header.constants.dianJiXiaZaiKe":"\u70B9\u51FB\u4E0B\u8F7D\u53EF\u5C06 GeoJSON \u6570\u636E\u4E0B\u8F7D\u4E3A\u6307\u5B9A\u6570\u636E\u683C\u5F0F","app_header.constants.shiYongCTR":"\u4F7F\u7528 Ctrl/Command + S \u5FEB\u6377\u952E\uFF0C\u6216\u70B9\u51FB\u4FDD\u5B58\u6309\u94AE\u6E32\u67D3\u6570\u636E\uFF08\u5DF2\u4FDD\u5B58\u72B6\u6001\u4E0B\u4FDD\u5B58\u6309\u94AE\u7F6E\u7070\uFF09","app_header.constants.baoCun":"\u4FDD\u5B58","app_header.constants.shangChuanPNG":"\u4E0A\u4F20.png","app_header.constants.shangChuanGEO":"\u4E0A\u4F20 GeoJSON \u6570\u636E","app_header.constants.diTuShangChaKan":"\u5730\u56FE\u4E0A\u67E5\u770B\u6E32\u67D3\u6548\u679C","app_header.constants.xuanRan":"\u6E32\u67D3","app_header.constants.bianJiQi":"\u7F16\u8F91\u5668","app_header.constants.quanGongNengShiYong":"\u5168\u529F\u80FD\u4F7F\u7528\u5F15\u5BFC","app_header.constants.pingTaiJiChuShi":"\u5E73\u53F0\u57FA\u7840\u4F7F\u7528\u5F15\u5BFC","app_header.constants.xiaZaiWKT":"\u4E0B\u8F7D WKT \u683C\u5F0F\u6570\u636E","app_header.constants.xiaZaiKML":"\u4E0B\u8F7D KML \u683C\u5F0F\u6570\u636E","app_header.constants.xiaZaiLNG":"\u4E0B\u8F7D LngLat \u683C\u5F0F\u6570\u636E","app_header.constants.xiaZaiGEO":"\u4E0B\u8F7D GeoJSON \u683C\u5F0F\u6570\u636E","app_header.constants.zuJianAPI":"\u7EC4\u4EF6API\u6587\u6863","app_header.constants.pingTaiShiYongWen":"\u5E73\u53F0\u4F7F\u7528\u6587\u6863","app_header.constants.issue":"\u63D0\u4EA4 Issue","app_header.index.an":"\u6697","app_header.index.liang":"\u4EAE","app_header.index.yinDao":"\u5F15\u5BFC","app_header.index.baoCunShuJu":"\u4FDD\u5B58\u6570\u636E","app_table.index.dangQianShuJuWu":"\u5F53\u524D\u6570\u636E\u65E0\u5B57\u6BB5","app_table.index.shanChu":"\u5220\u9664","app_table.index.shuJuShanChuCheng":"\u6570\u636E\u5220\u9664\u6210\u529F","app_table.index.caoZuo":"\u64CD\u4F5C","app_table.index.xuHao":"\u5E8F\u53F7","app_table.index.shanChuLie":"\u786E\u8BA4\u5220\u9664\u6B64\u5217\u6570\u636E\uFF1F","app_table.index.tianJiaLieZiDuan":"\u6DFB\u52A0\u5217\u5B57\u6BB5","app_table.index.ziDuanMing":"\u5B57\u6BB5\u540D:","app_table.index.qingShuRuLieZiDuan":"\u8BF7\u8F93\u5165\u5217\u5B57\u6BB5","geojson_editor.index.jiaoBenShuJuYou":"\u811A\u672C\u6570\u636E\u6709\u8BEF","geojson_editor.index.xinXi":"\u4FE1\u606F","geojson_editor.index.bengKui":"\u5D29\u6E83","geojson_editor.index.cuoWu":"\u9519\u8BEF","geojson_editor.index.jingGao":"\u8B66\u544A","geojson_editor.index.tongZhi":"\u901A\u77E5","geojson_editor.index.tiaoShi":"\u8C03\u8BD5","layer_popup.index.gengGaiHuiZhi":"\u66F4\u6539\u7ED8\u5236","layer_popup.index.mULTI":"Multi \u7C7B\u578B\u7684 GeoJSON \u4E0D\u652F\u6301\u7F16\u8F91","layer_popup.index.dangQianYuanSuWu":"\u5F53\u524D\u5143\u7D20\u65E0\u5B57\u6BB5","layer_popup.index.tianJiaZiDuan":"\u6DFB\u52A0\u5B57\u6BB5","map_content.index.zuoBiaoXi":"\u5730\u7406\u5750\u6807\u7CFB\uFF1A","administrative_select_control.index.xingZhengQuHuaLi":"\u884C\u653F\u533A\u5212\u5386\u53F2\u8BB0\u5F55","administrative_select_control.index.keXuanZeShengShi":"\u53EF\u9009\u62E9\u7701/\u5E02/\u53BF","administrative_select_control.index.weiLanShuJuQing":"\u56F4\u680F\u6570\u636E\u8BF7\u6C42\u5931\u8D25","auto_control.index.ziDongSuoFangZhi":"\u81EA\u52A8\u7F29\u653E\u81F3\u5F53\u524D\u5143\u7D20","clear_control.index.queRenQingKongSuo":"\u786E\u8BA4\u6E05\u7A7A\u6240\u6709\u6570\u636E\uFF1F","filter_form_list_control.index.shuJuGuoLu":"\u6570\u636E\u8FC7\u6EE4","filter_form_list_control.index.tianJiaShaiXuanTiao":"\u6DFB\u52A0\u7B5B\u9009\u6761\u4EF6","filter_form_list_control.index.qingXuanZeZiDuan":"\u8BF7\u9009\u62E9\u5B57\u6BB5","filter_form_list_control.index.huoZhe":"\u6216\u8005","filter_form_list_control.index.bingQie":"\u5E76\u4E14","filter_form_list_control.numberFilter.qingShuRuShaiXuan":"\u8BF7\u8F93\u5165\u7B5B\u9009\u503C","filter_form_list_control.numberFilter.qingXuanZeGuoLu":"\u8BF7\u9009\u62E9\u8FC7\u6EE4\u903B\u8F91","filter_form_list_control.numberFilter.quJian":"\u533A\u95F4","filter_form_list_control.stringFilter.qingXuanZeShaiXuan":"\u8BF7\u9009\u62E9\u7B5B\u9009\u9879","filter_form_list_control.stringFilter.buPiPei":"\u4E0D\u5339\u914D","filter_form_list_control.stringFilter.piPei":"\u5339\u914D","filter_form_list_control.stringFilter.buBaoHan":"\u4E0D\u5305\u542B","filter_form_list_control.stringFilter.baoHan":"\u5305\u542B","layer_color_control.index.changYongYanSe":"\u5E38\u7528\u989C\u8272","layer_color_control.index.tuCengYanSeXuan":"\u56FE\u5C42\u989C\u8272\u9009\u62E9\u5668","location_search_control.index.tianJiaZhiShuJu":"\u6DFB\u52A0\u81F3\u6570\u636E","location_search_control.location_search.qingShuRuYaoSou":"\u8BF7\u8F93\u5165\u8981\u641C\u7D22\u5730\u540D","official_layer_control.index.guGeWeiXingTu":"\u8C37\u6B4C\u9065\u611F\u5730\u56FE","official_layer_control.index.shiLiangDiTu":"\u77E2\u91CF\u5730\u56FE","save_map_options_control.index.baoCunDiTuZhuang":"\u4FDD\u5B58\u5730\u56FE\u72B6\u6001","save_map_options_control.index.diTuZhuangTaiBao":"\u5730\u56FE\u72B6\u6001\u4FDD\u5B58\u6210\u529F ","wkt_editor.index.shuRuWKT":"\u8F93\u5165WKT\u683C\u5F0F\u7684\u70B9\u3001\u7EBF\u3001\u9762\u90FD\u53EF\u8BC6\u522B\uFF0C\u591A\u4E2A\u6570\u636E\u8BF7\u4F7F;\u5206\u9694\uFF0C\u5982\uFF1APOINT(120.104013 30.262134);POINT(120.104033 30.262164)","pages.index.qingYongPCDuan":"\u8BF7\u7528PC\u7AEF\u6253\u5F00","recoil.feature.shuJuJiaZaiYou":"\u6570\u636E\u52A0\u8F7D\u6709\u8BEF","utils.index.qingJianChaUR":"\u8BF7\u68C0\u67E5url\u662F\u5426\u4E0E\u6570\u636E\u683C\u5F0F\u5339\u914D","utils.transform.weiShiBieJS":"\u672A\u8BC6\u522B JSON \u6570\u7EC4\u7C7B\u578B","utils.upload.wenJianJieXiShi":"\u6587\u4EF6\u89E3\u6790\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u6587\u4EF6\u683C\u5F0F\u3002","app_header.index.zhutiqiehuan":"\u4E3B\u9898\u5207\u6362","app_header.index.dingTalk":"\u9489\u9489\u7B54\u7591\u7FA4","app_table.index.dingWei":"\u5B9A\u4F4D","import_btn.file_upload.wenJian":"\u6587\u4EF6","import_btn.file_upload.ciZiDuanFeiDiLiZiDuan":"\u6B64\u5B57\u6BB5\u975E\u5730\u7406\u6570\u636E","import_btn.file_upload.dianJiHuoJiangWenJian":"\u70B9\u51FB\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u8FD9\u91CC\u3002","import_btn.file_upload.diLiZiDuanXuanZe":"\u5730\u7406\u5B57\u6BB5\u9009\u62E9","import_btn.file_upload.dangQianJinZhiChi":"\u5F53\u524D\u4EC5\u652F\u6301 WKT \u683C\u5F0F\u5B57\u6BB5\u6570\u636E \u548C geometry \u6570\u636E","layer_contextmenu_popup.fuZhiChengGong":"\u590D\u5236\u6210\u529F","layer_contextmenu_popup.fuZhi":"\u590D\u5236","map_control_group.sam.jiSuanWanCheng":"\u5730\u5757\u533A\u57DF\u8BC6\u522B\u5B8C\u6210,\u53EF\u5728\u7EA2\u8272\u533A\u57DF\u5185\u70B9\u51FB\u5730\u56FE\u9009\u53D6\u5730\u5757,\u518D\u6B21\u70B9\u51FB\u6309\u94AE\u5C06\u5173\u95ED\u5730\u5757\u667A\u80FD\u8BC6\u522B","map_control_group.sam.jiSuanShiBai":"\u5730\u5757\u8BC6\u533A\u57DF\u522B\u5931\u8D25\uFF0C\u8BF7\u8C03\u6574\u5730\u56FE\u5927\u5C0F\u91CD\u65B0\u8BC6\u522B\u5730\u5757\u533A\u57DF","map_control_group.sam.tuXingJieXiCuoWu":"\u5730\u5757\u89E3\u6790\u9519\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9","map_control_group.sam.qingZaiQuYuNei":"\u8BF7\u5728\u5730\u5757\u8FB9\u754C\u5185\u8FDB\u884C\u9009\u62E9","map_control_group.sam.zhiNengXuanZe":"\u5730\u5757\u667A\u80FD\u8BC6\u522B","map_control_group.sam.ziDongShiBie":"\u5730\u5757\u8BC6\u522B\u533A\u57DF\u8FB9\u754C","map_control_group.sam.zhiNengShiBieGuanBi":"\u5730\u5757\u667A\u80FD\u8BC6\u522B\u529F\u80FD\u5DF2\u5173\u95ED","map_control_group.sam.diKuaiShiBieShiBei":"\u5730\u5757\u667A\u80FD\u8BC6\u522B\u6A21\u578B\u52A0\u8F7D\u5931\u8D25","map_contorl_group.draw.draw":"\u5355\u51FB\u5F00\u59CB\u7ED8\u5236","map_contorl_group.draw.drawContinue":"\u5355\u51FB\u7EE7\u7EED\u7ED8\u5236","map_contorl_group.draw.drawFinish":"\u5355\u51FB\u7EE7\u7EED\u7ED8\u5236\uFF0C\u53CC\u51FB\u7ED3\u675F\u7ED8\u5236","map_contorl_group.draw.pontHover":"\u53EF\u62D6\u62FD\u8C03\u6574\u8282\u70B9\u4F4D\u7F6E","map_contorl_group.draw.midPointHover":"\u5355\u51FB\u5728\u8BE5\u4F4D\u7F6E\u65B0\u589E\u8282\u70B9","map_contorl_group.draw.lineHover":"\u53EF\u62D6\u62FD\u8C03\u6574\u56FE\u5F62\u4F4D\u7F6E","official_layer_control.index.mingChengChongFu":"\u540D\u79F0\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540D\u79F0","official_layer_control.index.shanChuDiTu":"\u662F\u5426\u5220\u9664\u5F53\u524D\u5E95\u56FE","official_layer_control.index.tianJiaDitu":"\u6DFB\u52A0\u74E6\u7247\u56FE\u5C42","official_layer_control.index.name":"\u540D\u79F0","official_layer_control.index.addName":"\u8BF7\u8F93\u5165\u540D\u79F0","official_layer_control.index.shiLiTuPian":"\u793A\u4F8B\u56FE\u7247","official_layer_control.index.tuCengDiZhi":"\u56FE\u5C42\u5730\u5740","official_layer_control.index.qiShuRutuCengDiZhi":"\u8BF7\u8F93\u5165\u56FE\u5C42\u5730\u5740","official_layer_control.index.tinJiaWaPian":"\u6DFB\u52A0\u74E6\u7247\u56FE\u5C42\u5730\u5740","official_layer_control.index.kongGe":"\u8F93\u5165\u4E0D\u80FD\u4E3A\u7A7A\u683C\uFF01","official_layer_control.index.shangchuan":"\u8BF7\u4E0A\u4F20\u56FE\u7247","text-layer-control_wenBenBiaoZhu":"\u6587\u672C\u6807\u6CE8\u56FE\u5C42\u914D\u7F6E","text-layer-control_shiFouZhanShiTuCeng":"\u662F\u5426\u5C55\u793A\u56FE\u5C42","text-layer-control_zhanShiZiDuan":"\u5C55\u793A\u5B57\u6BB5","text-layer-control_buXuan":"\u4E0D\u9009\u5219\u9ED8\u8BA4\u5C55\u793A\u5143\u7D20\u5E8F\u53F7","text-layer-control_wenBenTuCengPeiZhi":"\u6587\u672C\u56FE\u5C42\u914D\u7F6E","text-layer-control_description":"\u5F00\u542F\u6587\u672C\u56FE\u5C42\u914D\u7F6E\uFF0C\u53EF\u4EE5\u663E\u793A\u5F53\u524D\u6240\u6709\u6570\u636E\u7684\u5E8F\u53F7\uFF0C\u4E5F\u53EF\u4EE5\u901A\u8FC7\u591A\u9009\u6846\u5728\u6570\u636E\u4E2Dproperties\u5B57\u6BB5\u53BB\u9009\u62E9\u4E0D\u540C\u7684\u6570\u636E\u6765\u8FDB\u884C\u5C55\u793A","btn.setting_btn.mianJi":"\u7ED8\u5236\u65F6\u662F\u5426\u5C55\u793A\u9762\u79EF\u6587\u672C","btn.setting_btn.juLi":"\u7ED8\u5236\u65F6\u662F\u5426\u5C55\u793A\u8DDD\u79BB\u6587\u672C"};mt.ZP.use(pt.Z).use(ae.Db).init({fallbackLng:"zh-CN",interpolation:{escapeValue:!1},resources:{"zh-CN":{translation:Tt},"en-US":{translation:gt}}});var jt=[{lang:"zh-CN",name:"\u7B80\u4F53\u4E2D\u6587",antd:dt.Z},{lang:"en-US",name:"English",antd:ke.Z}],rt=null,Mt=o(68400),C=o.n(Mt),B=o(68479),Ie=o(9361),It,Ot,Bt,Lt,kt,Pt,Rt,At,Ne,de,fe,Fe=function(){var n=Ie.Z.useToken,i=n(),r=i.token,a=r.colorBorder,l=r.colorBgContainer,s=r.colorText;return{mapHeader:(0,B.iv)(It||(It=C()([` + padding: 0 16px; + height: 50px; + border-bottom: 1px solid `,`; + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + background: `,`; + z-index: 1; + .ant-btn { + border: 0; + } + `])),a,l),mapHeaderLogo:(0,B.iv)(Ot||(Ot=C()([` + display: flex; + align-items: center; + img { + width: auto; + height: 24px; + margin-right: 4px; + } + `]))),mapHeaderTitle:(0,B.iv)(Bt||(Bt=C()([` + font-size: 16px; + font-weight: bold; + margin-left: 4px; + margin-right: 16px; + color: `,`; + `])),s),mapHeaderLeft:(0,B.iv)(Lt||(Lt=C()([` + display: flex; + align-items: center; + `]))),mapHeaderRight:(0,B.iv)(kt||(kt=C()([` + display: flex; + align-items: center; + `]))),locale:(0,B.iv)(Pt||(Pt=C()([` + font-size: 16px; + `]))),localeIcon:(0,B.iv)(Rt||(Rt=C()([` + font-size: 16px; + `]))),upload:(0,B.iv)(At||(At=C()([` + height: 200px; + display: flex; + overflow: hidden; + flex-direction: column; + align-items: center; + justify-content: center; + `]))),uploadTitle:(0,B.iv)(Ne||(Ne=C()([` + font-size: 14px; + padding: 10px 6px 10px 0; + `]))),theme:(0,B.iv)(de||(de=C()([` + cursor: pointer; + padding: 0 !important; + width: 32px; + height: 32px; + display: flex; + align-items: center; + justify-content: center; + `]))),themeIcon:(0,B.iv)(fe||(fe=C()([` + font-size: 20px !important; + `])))}},Qe=Fe,xt=jt.map(function(h){return{key:h.lang,label:h.name}}),Et=function(){var n=(0,ae.$G)(),i=n.i18n,r=(0,K.Og)(),a=r.locale,l=r.setLocale,s=Qe(),u=function(d){var y=d.key;i.changeLanguage(y),l(y)};return(0,e.jsx)(Pe.Z,{menu:{items:xt,onClick:u,selectedKeys:[a],selectable:!0},placement:"bottom",children:(0,e.jsx)(U.ZP,{className:s.locale,icon:(0,e.jsx)(Be,{className:s.localeIcon,type:"icon-in"})})})},Jt=Et,cn=o(15009),Ee=o.n(cn),dn=o(19632),Le=o.n(dn),pn=o(99289),$e=o.n(pn),fn=o(16596),Ue=o(10154),Wt=o(39124),tn=o(11568),ne=o(31147),lt=o(78045),Ut=o(56550),nn=o(50599),_r=o(49677),En=o.n(_r),hr=o(15360),Dn=o(54397),On=o(96486),Pn=o(41545),vr=o(89597),mr=o.n(vr),Kt=o(66749),gr=o(57460),xr=o.n(gr),Ln=o(84105),An=function(n){return new Promise(function(i,r){var a=new FileReader;a.readAsText(n),a.onload=function(l){var s,u=(s=l.target)===null||s===void 0?void 0:s.result;i(u)},a.onerror=function(l){r(l)}})},wn=function(n,i,r){var a=JSON.parse(n);return{id:r||(0,Kt.Z)(r),metadata:{name:i},data:a,type:"local"}},yr=function(n,i,r){var a=JSON.parse(n);return W._9.check(a)?wn(n,i,r):{id:r||(0,Kt.Z)(r),metadata:{name:i},data:a,type:"local"}},br=function(){var h=$e()(Ee()().mark(function n(i,r,a){var l,s,u,f,d,y;return Ee()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return l=i.name,s=l.substring(l.lastIndexOf(".")+1),x.next=4,An(i);case 4:if(u=x.sent,s!=="json"){x.next=9;break}return x.abrupt("return",yr(u,r,a));case 9:if(s!=="geojson"){x.next=13;break}return x.abrupt("return",wn(u,r,a));case 13:if(s!=="kml"){x.next=21;break}return f=new DOMParser().parseFromString(u,"text/xml"),x.next=17,mr().kml(f,{style:!0});case 17:return d=x.sent,x.abrupt("return",{id:a||(0,Kt.Z)(a),metadata:{name:r},data:d,type:"local"});case 21:if(s!=="wkt"){x.next=24;break}return y=(0,he.Y)(u),x.abrupt("return",{id:a||(0,Kt.Z)(a),metadata:{name:r},data:y,type:"local"});case 24:case"end":return x.stop()}},n)}));return function(i,r,a){return h.apply(this,arguments)}}(),Cr=function(){var h=$e()(Ee()().mark(function n(i,r,a){var l,s;return Ee()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,An(i);case 2:return l=f.sent,s=xr().parse(l,{header:!0,skipEmptyLines:!0,dynamicTyping:!0}),f.abrupt("return",{id:a||(0,Kt.Z)(a),metadata:{name:r},data:s.data,type:"local",columns:s.meta.fields});case 5:case"end":return f.stop()}},n)}));return function(i,r,a){return h.apply(this,arguments)}}(),Sr=function(n){return new Promise(function(i,r){var a=new FileReader;a.readAsArrayBuffer(n),a.onload=function(l){var s,u=(s=l.target)===null||s===void 0?void 0:s.result;i(u)},a.onerror=function(l){r(l)}})},jr=function(n,i,r){var a;try{var l=(0,Ln.ij)(n,{type:"array",cellDates:!0}),s=l.Sheets[l.SheetNames[0]];Object.keys(s).forEach(function(f){var d=s[f];d.t==="d"&&(d.v=d.w)}),a=Ln.P6.sheet_to_json(s)}catch(f){throw f}var u=Object.keys(a[0]);return{id:r,metadata:{name:i},data:a,type:"local",columns:u}},Tr=function(){var h=$e()(Ee()().mark(function n(i,r,a){var l;return Ee()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,Sr(i);case 3:l=u.sent,u.next=9;break;case 6:throw u.prev=6,u.t0=u.catch(0),u.t0;case 9:return u.abrupt("return",jr(l,r,a));case 10:case"end":return u.stop()}},n,null,[[0,6]])}));return function(i,r,a){return h.apply(this,arguments)}}(),_n=function(n){var i=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON)(\sz)?\s?\(.*\)$/i,r=!1;return typeof n=="string"&&i.test(n)&&(r=!0),r},hn=function(n){try{var i=JSON.parse(n);return W.dw.check(i)}catch(r){return!1}},Er=function(){var h=$e()(Ee()().mark(function n(i,r){var a,l,s,u;return Ee()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(a=i.name,l=a.substring(0,a.lastIndexOf(".")),s=a.substring(a.lastIndexOf(".")+1),d.prev=3,!["geojson","json","kml","wkt"].includes(s)){d.next=10;break}return d.next=7,br(i,l,i.uid);case 7:u=d.sent,d.next=20;break;case 10:if(s!=="csv"){d.next=16;break}return d.next=13,Cr(i,l,i.uid);case 13:u=d.sent,d.next=20;break;case 16:if(!["xlsx","xls"].includes(s)){d.next=20;break}return d.next=19,Tr(i,l,i.uid);case 19:u=d.sent;case 20:d.next=25;break;case 22:return d.prev=22,d.t0=d.catch(3),d.abrupt("return",Promise.reject(r("utils.upload.wenJianJieXiShi")));case 25:return d.abrupt("return",u);case 26:case"end":return d.stop()}},n,null,[[3,22]])}));return function(i,r){return h.apply(this,arguments)}}(),Dr=Dn.Z.Dragger,Or=(0,_.forwardRef)(function(n,i){En()(n);var r=(0,_.useState)([]),a=c()(r,2),l=a[0],s=a[1],u=(0,_.useState)([]),f=c()(u,2),d=f[0],y=f[1],v=(0,_.useState)([]),x=c()(v,2),j=x[0],A=x[1],T=ne.Z.useForm(),w=c()(T,1),b=w[0],E=(0,ae.$G)(),D=E.t,S=Qe(),m=function(L){var H=L.file,Z=L.onSuccess,k=L.onError;Er(H,D).then(function(P){if(console.log(P),P!=null&&P.columns){for(var F=P.data[0],J=void 0,V=0,q=Object.keys(F);V":return i>h.value;case">=":return i>=h.value;default:if(Array.isArray(h.value)){var r=c()(h.value,2),a=r[0],l=r[1];return i>=a&&i<=l}}}function aa(h,n){var i=String(n[h.field]),r=h.value;switch(h.operator){case"NOT_IN":return!(r!=null&&r.includes(i));case"IN":return r==null?void 0:r.includes(i);case"LIKE":return(i==null?void 0:i.indexOf(r))>-1;default:return(i==null?void 0:i.indexOf(r))<=-1}}var ra=(0,$t.cn)({key:"filterFeature",default:[]});function oa(){var h=(0,K.SS)(),n=h.features,i=(0,K.L0)(),r=i.filters,a=(0,$t.Zl)(ra),l=(0,$t.sJ)(ra);return(0,_.useEffect)(function(){if((0,Qt.Z)(r)){a(Le()(n));return}var s=Le()(n),u=r.filter(function(y){return!ta(y)}),f=u.filter(function(y){return y.logic==="and"}),d=u.filter(function(y){return y.logic==="or"});(0,Qt.Z)(d)||(s=s.filter(function(y){var v=y.properties;return d.some(function(x){var j=x.type==="number"?na:aa;return j(x,v)})})),(0,Qt.Z)(f)||(s=s.filter(function(y){var v=y.properties;return f.every(function(x){var j=x.type==="number"?na:aa;return j(x,v)})})),a(s)},[n,r,a]),{features:l}}function xn(h,n){var i=document.createElement("canvas"),r=i.getContext("2d"),a=new Image(n.x,n.y);return a.crossOrigin="Anonymous",a.src="https://mdn.alipayobjects.com/huamei_nsuaz4/afts/img/A*770bQLV21hsAAAAAAAAAAAAADimPAQ/original",new Promise(function(l){a.onload=function(){i.width=a.width,i.height=a.height,r.imageSmoothingEnabled=!0,r.drawImage(a,0,0,a.width,a.height);for(var s=r.getImageData(0,0,i.width,i.height),u=s.data,f=0;f=10){var V=(0,bt.Z)(r);V.pop(),a(V)}}else y(null)},g=function(Z,k){return k.some(function(P){return P.label.toLowerCase().indexOf(Z.toLowerCase())>-1})},L=(0,_.useMemo)(function(){if(r.length){var H=r.map(function(Z){return{key:Z.value,label:(0,e.jsx)("div",{onClick:function(){E(JSON.parse(Z.value))},children:Z.label})}});return H}else return[{key:"undefined",label:(0,e.jsx)(mn.Z,{})}]},[r]);return(0,_.useEffect)(function(){if(b){var H=b[b.length-1];fetch("https://restapi.amap.com/v3/config/district?keywords=".concat(H,"&subdistrict=0&key=98d10f05a2da96697313a2ce35ebf1a2&extensions=all")).then(function(Z){return Z.json()}).then(function(Z){var k;if(Z.status==="1"&&(k=Z.districts)!==null&&k!==void 0&&k.length&&s){var P=Z.districts[0].center.split(",").map(function(V){return+V}),z=c()(P,2),R=z[0],F=z[1];s.setZoomAndCenter(9,[R,F]);var J=[];Z.districts.forEach(function(V){V.polyline.split("|").forEach(function(q){J.push(q.split(";").map(function($){return $.split(",").map(function(ve){return+ve})}))})}),y((0,Se.multiLineString)(J))}}).catch(function(){Ue.ZP.error(S("administrative_select_control.index.weiLanShuJuQing"))})}},[b]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(le.br,{position:"lefttop",children:(0,e.jsxs)("div",{style:{display:"flex"},children:[(0,e.jsx)("div",{id:"l7-editor-administrativeSelect",children:(0,e.jsx)(Eo.Z,{options:j,value:b,onChange:O,className:n.cascader,allowClear:!0,showSearch:{filter:g},placeholder:S("administrative_select_control.index.keXuanZeShengShi"),changeOnSelect:!0,style:{width:250},popupClassName:n.cascaderPopup,expandTrigger:"hover"})}),(0,e.jsx)(Pe.Z,{menu:{items:L},placement:"bottomRight",trigger:["click"],children:(0,e.jsx)(ue.Z,{title:S("administrative_select_control.index.xingZhengQuHuaLi"),placement:"right",children:(0,e.jsx)("div",{className:ge()([n.history,"l7-draw-control__btn"]),children:(0,e.jsx)(Be,{type:"icon-lishi",className:n.historyIcon})})})})]})}),(0,e.jsx)(le.Ie,p()({source:{data:(0,Se.featureCollection)(d?[d]:[])}},Oo))]})},Sa,ja,Ta,Ea,Da,Oa,Lo=function(){var n=Ie.Z.useToken,i=n(),r=i.token,a=r.colorBgContainer,l=r.colorBorder,s=r.colorTextDescription,u=r.colorText,f=r.boxShadow,d=r.colorIcon;return{L7EditorControl:(0,B.iv)(Sa||(Sa=C()([` + display: inline-flex; + align-items: center; + justify-content: center; + border-radius: 2px; + width: 28px; + height: 28px; + padding: 0; + text-align: center; + background: `,`; + box-shadow: `,` !important; + border-width: 0; + color: `,`; + outline: 0; + cursor: pointer; + &:hover { + background: `,`; + svg { + color: `,`; + } + } + `])),a,f,d,a,u),l7EditorIcon:(0,B.iv)(ja||(ja=C()([` + font-size: 16px; + border: none; + cursor: pointer; + color: `,`; + `])),d),zoom:(0,B.iv)(Ta||(Ta=C()([` + .l7-button-control { + color: `,`; + font-size: 14px; + background: `,` !important; + border-color: `,`; + + svg { + fill: `,` !important; + } + + &:hover { + svg { + fill: `,` !important; + } + } + } + .l7-button-control:first-child { + border-bottom: 1px solid `,`; + } + `])),s,a,l,s,u,l),scalesControl:(0,B.iv)(Ea||(Ea=C()([` + .l7-control-scale-line { + color: `,`; + background: `,` !important; + border-color: `,`; + } + `])),s,a,l),mouseLocatio:(0,B.iv)(Da||(Da=C()([` + color: `,` !important; + background: `,` !important; + border-color: `,`; + `])),s,a,l),fullScreen:(0,B.iv)(Oa||(Oa=C()([` + color: `,`; + background: `,` !important; + border-color: `,`; + + svg { + fill: `,` !important; + } + + &:hover { + svg { + fill: `,` !important; + } + } + `])),s,a,l,s,u)}},Xt=Lo,Ao=function(){var n=Xt(),i=(0,K.SS)(),r=i.bboxAutoFit,a=(0,ae.$G)(),l=a.t;return(0,e.jsx)(le.br,{position:"bottomright",children:(0,e.jsx)(ue.Z,{title:l("auto_control.index.ziDongSuoFangZhi"),placement:"left",children:(0,e.jsx)("button",{type:"button",id:"l7-editor-auto",className:n.L7EditorControl,onClick:function(){r()},children:(0,e.jsx)(Be,{type:"icon-suofang",className:n.l7EditorIcon})})})})},Pa,La,wo=function(){var n=Ie.Z.useToken,i=n(),r=i.token,a=r.colorBgContainer,l=r.boxShadow,s=r.colorIcon,u=r.colorText;return{clear:(0,B.iv)(Pa||(Pa=C()([` + width: 30px; + height: 30px; + line-height: 41px; + text-align: center; + border-radius: 2px; + background-color: `,`; + box-shadow: `,` !important; + cursor: pointer; + color: `,`; + &:hover { + color: `,`; + background: `,`; + } + `])),a,l,s,u,a),clearSvg:(0,B.iv)(La||(La=C()([` + font-size: 24px; + `])))}},Fo=wo,Zo=function(){var n=Fo(),i=(0,K.SS)(),r=i.saveEditorText,a=(0,ae.$G)(),l=a.t;return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(le.br,{position:"topright",children:(0,e.jsx)(rn.Z,{title:l("clear_control.index.queRenQingKongSuo"),onConfirm:function(){r((0,et.X)({content:{type:"FeatureCollection",features:[]}}))},children:(0,e.jsx)(ue.Z,{title:l("app_header.constants.qingChu"),placement:"bottom",children:(0,e.jsx)("div",{className:n.clear,id:"l7-editor-clear",children:(0,e.jsx)(Be,{type:"icon-qingkong",className:n.clearSvg})})})})})})},Mo=o(15937),Aa,Io=function(){var n=Ie.Z.useToken,i=n(),r=i.token,a=r.colorBgContainer,l=r.boxShadow,s=r.colorBorder,u=r.colorIcon,f=r.colorText;return{l7DrawControl:(0,B.iv)(Aa||(Aa=C()([` + .l7-draw-control { + display: flex; + flex-direction: column; + align-items: center; + margin-right: 0 !important; + box-shadow: `,` !important; + .l7-draw-control__btn { + color: `,`; + background-color: `,`; + border-right: none; + border-bottom: 1px solid `,`; + &:hover { + color: `,`; + } + } + } + `])),l,u,a,s,f)}},Bo=Io,ko=function(){var n=ea(),i=(0,le.$r)(),r=Bo(),a=(0,_.useState)(null),l=c()(a,2),s=l[0],u=l[1],f=(0,K.SS)(),d=f.setIsDraw,y=f.resetFeatures,v=f.features,x=f.revertCoord,j=(0,K.Og)(),A=j.layerColor,T=j.showDrawDistance,w=j.showDrawArea,b=(0,_.useMemo)(function(){return(0,bt.Z)(v.find(function(S){return S.properties[W.AQ.IsEdit]}))},[v]);(0,_.useEffect)(function(){var S={distanceOptions:T?{}:void 0,areaOptions:w?{}:void 0},m;if(i){var O;m=new ft.DrawControl(i,{position:"topleft",drawConfig:{point:!0,line:S,polygon:S,rect:S,circle:S},commonDrawOptions:{maxCount:1,style:(0,Oe.C2)(A),helper:n}}),u(m),i.addControl(m),m.on(ft.ControlEvent.DrawChange,function(L){d(!!L)});var g=document.querySelector(".l7-draw-control");g.style.marginTop=0,(O=document.querySelector("#l7-draw-content"))===null||O===void 0||O.appendChild(g)}return function(){m&&i.removeControl(m)}},[i,A]);var E=(0,_.useCallback)(function(S,m){m.properties=Dt()({},W.AQ.DrawType,S),s==null||s.clearDrawData(),s==null||s.setActiveType(null);var O=x([m]);y([].concat(Le()(v),Le()(O)))},[s,x,y,v]),D=(0,_.useCallback)(function(S,m){var O=m.properties[W.AQ.Index],g=Le()(v);g[O].properties[W.AQ.IsEdit]=!1,g[O].geometry=m.geometry,s==null||s.clearDrawData(),s==null||s.setActiveType(null);var L=x(g);y(Le()(L))},[v,s,x,y]);return(0,_.useEffect)(function(){var S=["point","line","polygon","rect","circle"],m=(0,Mo.Z)(S.map(function(O){return[O,{onAdd:function(L){return E(O,L)},onEdit:function(L){return D(O,L)}}]}));return S.forEach(function(O){var g=s==null?void 0:s.getTypeDraw(O);g==null||g.on(ft.DrawEvent.Add,m[O].onAdd),g==null||g.on(ft.DrawEvent.Edit,m[O].onEdit)}),function(){S.forEach(function(O){var g=s==null?void 0:s.getTypeDraw(O);g==null||g.off(ft.DrawEvent.Add,m[O].onAdd),g==null||g.off(ft.DrawEvent.Edit,m[O].onEdit)})}},[s,E]),(0,_.useEffect)(function(){if(b&&s){var S,m=(S=b.properties)===null||S===void 0?void 0:S[W.AQ.DrawType];b.properties.isActive=!0,s.setActiveType(m);var O=s.getTypeDraw(m);O==null||O.setData([b])}},[b,s]),(0,e.jsx)(le.br,{position:"topright",children:(0,e.jsx)("div",{style:{display:"flex"},id:"l7-editor-draw",children:(0,e.jsx)("div",{className:r.l7DrawControl,children:(0,e.jsx)("div",{id:"l7-draw-content"})})})})},Ro=ko,Jo=o(37724),No=o(14468),Cn=o(51042),Go=o(26024),zo=o(44230),Wo=o(53434),Uo=function(n){var i=n.name,r=n.index,a=n.form,l=(0,K.L0)(),s=l.setFilters,u=(0,K.SS)(),f=u.dataSource,d=(0,ae.$G)(),y=d.t,v=[{label:">",value:">"},{label:">=",value:">="},{label:"=",value:"="},{label:"<=",value:"<="},{label:"<",value:"<"},{label:y("filter_form_list_control.numberFilter.quJian"),value:"BETWEEN"}];return(0,e.jsxs)("div",{style:{display:"flex"},children:[(0,e.jsx)(ne.Z.Item,{name:[i,"operator"],children:(0,e.jsx)(Ce.Z,{style:{width:"100px",marginRight:"8px"},placeholder:y("filter_form_list_control.numberFilter.qingXuanZeGuoLu"),options:v,onChange:function(){var j=(0,bt.Z)(a.getFieldValue("filterFromList"));j.forEach(function(A,T){r===T&&(A.value=void 0)}),a.setFieldValue("filterFromList",j),s(j.map(function(A){var T=JSON.parse(A.field),w=T.field,b=T.type;return p()(p()({},A),{},{field:w,type:b})}))}})}),(0,e.jsx)(ne.Z.Item,{style:{width:150,marginBottom:0},shouldUpdate:function(j,A){return j.operator===A.operator},children:function(j){var A,T,w,b=j.getFieldsValue,E=b(),D=E.filterFromList,S=(A=JSON.parse(D[r].field))===null||A===void 0?void 0:A.field,m=f.find(function(Z){return(Z==null?void 0:Z.field)===S});if(D[r].operator==="BETWEEN"){var O,g,L,H;return(0,e.jsxs)("div",{children:[(0,e.jsx)(ne.Z.Item,{name:[i,"min"],style:{width:"70px"},children:(0,e.jsx)(Ht.Z,{placeholder:y("filter_form_list_control.numberFilter.qingShuRuShaiXuan"),style:{width:"100%"},min:(O=m==null?void 0:m.min)!==null&&O!==void 0?O:0,max:(g=m==null?void 0:m.max)!==null&&g!==void 0?g:0})}),(0,e.jsx)("span",{children:" - "}),(0,e.jsx)(ne.Z.Item,{name:[i,"max"],style:{width:"70px"},children:(0,e.jsx)(Ht.Z,{placeholder:y("filter_form_list_control.numberFilter.qingShuRuShaiXuan"),style:{width:"100%"},min:(L=m==null?void 0:m.min)!==null&&L!==void 0?L:0,max:(H=m==null?void 0:m.max)!==null&&H!==void 0?H:0})})]})}return(0,e.jsx)(ne.Z.Item,{name:[i,"value"],children:(0,e.jsx)(Ht.Z,{placeholder:y("filter_form_list_control.numberFilter.qingShuRuShaiXuan"),style:{width:"100%"},min:(T=m==null?void 0:m.min)!==null&&T!==void 0?T:0,max:(w=m==null?void 0:m.max)!==null&&w!==void 0?w:0})})}})]})},Ko=Uo,Ho=o(94207),Vo=o(85959),Qo=o(29795),$o=function(n){var i=n.name,r=n.index,a=n.form,l=(0,Qo.Z)(),s=l.setFilters,u=(0,Vo.Z)(),f=u.dataSource,d=(0,ae.$G)(),y=d.t,v=[{label:y("filter_form_list_control.stringFilter.baoHan"),value:"IN"},{label:y("filter_form_list_control.stringFilter.buBaoHan"),value:"NOT_IN"},{label:y("filter_form_list_control.stringFilter.piPei"),value:"LIKE"},{label:y("filter_form_list_control.stringFilter.buPiPei"),value:"NOT_LIKE"}];return(0,e.jsxs)("div",{style:{display:"flex"},children:[(0,e.jsx)(ne.Z.Item,{name:[i,"operator"],style:{width:"100px",marginRight:"8px"},children:(0,e.jsx)(Ce.Z,{placeholder:y("filter_form_list_control.numberFilter.qingXuanZeGuoLu"),options:v,onChange:function(){var j=(0,bt.Z)(a.getFieldValue("filterFromList"));j.forEach(function(A,T){r===T&&(A.value=void 0)}),a.setFieldValue("filterFromList",j),s(j.map(function(A){var T=JSON.parse(A.field),w=T.field,b=T.type;return p()(p()({},A),{},{field:w,type:b})}))}})}),(0,e.jsx)(ne.Z.Item,{shouldUpdate:function(j,A){return j.operator!==A.operator},style:{width:150,margin:0},children:function(j){var A,T,w=j.getFieldsValue,b=w(),E=b.filterFromList,D=(A=JSON.parse(E[r].field))===null||A===void 0?void 0:A.field,S=f.find(function(O){return(O==null?void 0:O.field)===D}),m=E[r].operator;return m==="LIKE"||m==="NOT_LIKE"?(0,e.jsx)(ne.Z.Item,{name:[i,"value"],children:(0,e.jsx)(yt.Z,{placeholder:y("filter_form_list_control.numberFilter.qingShuRuShaiXuan"),style:{width:"100%"},allowClear:!0})}):(0,e.jsx)(ne.Z.Item,{name:[i,"value"],children:(0,e.jsx)(Ce.Z,{placeholder:y("filter_form_list_control.stringFilter.qingXuanZeShaiXuan"),style:{width:"100%"},mode:"multiple",maxTagCount:1,children:((T=(0,Ho.Z)(S==null?void 0:S.value))!==null&&T!==void 0?T:[]).filter(function(O){return O!=="undefined"}).map(function(O){return(0,e.jsx)(Ce.Z.Option,{value:O,children:(0,e.jsx)(ue.Z,{title:O,children:O})},O)})})})}})]})},Xo=$o,wa,Fa,Yo=function(){var n=Ie.Z.useToken,i=n(),r=i.token,a=r.colorBgContainer,l=r.boxShadow;return{l7FilterPanel:(0,B.iv)(wa||(wa=C()([` + position: relative; + `]))),l7Filter:(0,B.iv)(Fa||(Fa=C()([` + display: flex; + background: `,`; + padding: 16px; + margin-right: 8px; + position: absolute; + right: 35px; + bottom: 0; + box-shadow: `,` !important; + .ant-form-item { + margin-bottom: 0; + } + .ant-btn { + margin-left: px; + } + `])),a,l)}},qo=Yo,Sn=Ce.Z.Option,ei=function(){var n=(0,K.SS)(),i=n.dataSource,r=(0,K.L0)(),a=r.setFilters,l=r.filters,s=(0,_.useState)(!1),u=c()(s,2),f=u[0],d=u[1],y=(0,ae.$G)(),v=y.t,x=ne.Z.useForm(),j=c()(x,1),A=j[0],T=qo(),w=Xt(),b=(0,_.useMemo)(function(){return!i.length},[i]),E=function(m,O){if((0,Qt.Z)(O.filterFromList)){a([]);return}var g=O.filterFromList.filter(function(L){return L}).map(function(L){var H=L.logic,Z=L.operator;if(L.field){var k=JSON.parse(L.field||""),P=k.field,z=k.type;return L.operator==="BETWEEN"&&L.min&&L.max?{logic:H,field:P,type:z,operator:Z,value:[L.min,L.max]}:(L.operator==="IN"||L.operator==="NO_IN")&&L.value?p()(p()({},L),{},{field:P,type:z,value:L.value.length?L.value:void 0}):p()(p()({},L),{},{field:P,type:z})}else return p()(p()({},L),{},{field:void 0,type:void 0})});a(g)},D=(0,_.useMemo)(function(){return l.filter(function(S){return!ta(S)}).find(function(S){return S})},[l]);return(0,e.jsxs)(le.br,{position:"bottomright",className:T.l7FilterPanel,style:{display:"flex"},children:[(0,e.jsx)("div",{className:T.l7Filter,style:{display:f?"block":"none"},children:(0,e.jsx)(ne.Z,{style:{width:"100%"},form:A,onValuesChange:(0,Wo.Z)(E,500),children:(0,e.jsx)(ne.Z.List,{name:"filterFromList",children:function(m,O){var g=O.add,L=O.remove;return(0,e.jsxs)(e.Fragment,{children:[m.map(function(H,Z){var k,P,z=H.name;return(0,e.jsxs)("div",{style:{display:"flex",marginBottom:8},children:[(0,e.jsx)(ne.Z.Item,{name:[z,"logic"],initialValue:"and",children:(0,e.jsxs)(Ce.Z,{style:{width:70,marginRight:"8px"},children:[(0,e.jsx)(Sn,{value:"and",children:v("filter_form_list_control.index.bingQie")}),(0,e.jsx)(Sn,{value:"or",children:v("filter_form_list_control.index.huoZhe")})]})}),(0,e.jsx)(ne.Z.Item,{name:[z,"field"],initialValue:JSON.stringify({field:(k=i[0])===null||k===void 0?void 0:k.field,type:(P=i[0])===null||P===void 0?void 0:P.type}),children:(0,e.jsx)(Ce.Z,{style:{width:130,marginRight:"8px"},placeholder:v("filter_form_list_control.index.qingXuanZeZiDuan"),onChange:function(){var F=(0,bt.Z)(A.getFieldValue("filterFromList"));F.forEach(function(J,V){Z===V&&(J.operator=void 0,J.value=void 0)}),A.setFieldValue("filterFromList",F),a(F.map(function(J){var V=JSON.parse(J.field),q=V.field,$=V.type;return p()(p()({},J),{},{field:q,type:$})}))},children:i.map(function(R){var F=R.field,J=R.type;return(0,e.jsxs)(Sn,{value:JSON.stringify({field:F,type:J}),children:[(0,e.jsx)("i",{style:{fontSize:20,marginRight:8,color:"#999"},children:J==="number"?(0,e.jsx)(Jo.Z,{}):(0,e.jsx)(No.Z,{})}),(0,e.jsx)(ue.Z,{title:F,children:F})]},F)})})}),(0,e.jsx)(ne.Z.Item,{shouldUpdate:function(F,J){return F.field===J.field},style:{margin:0},children:function(F){var J=F.getFieldsValue,V=J(),q=V.filterFromList;if(q[Z].field){var $=JSON.parse(q[Z].field),ve=$.type;return ve==="number"?(0,e.jsx)(Ko,{name:z,index:Z,form:A}):(0,e.jsx)(Xo,{name:z,index:Z,form:A})}}}),(0,e.jsx)(U.ZP,{type:"text",onClick:function(){L(z),a(A.getFieldValue("filterFromList"))},icon:(0,e.jsx)(vn.Z,{})})]},z)}),(0,e.jsx)(U.ZP,{type:"dashed",disabled:b,onClick:function(){g()},block:!0,icon:(0,e.jsx)(Cn.Z,{}),style:{width:500},children:v("filter_form_list_control.index.tianJiaShaiXuanTiao")})]})}})})}),(0,e.jsx)(ue.Z,{title:v("filter_form_list_control.index.shuJuGuoLu"),placement:"left",children:(0,e.jsx)("button",{type:"button",id:"l7-editor-filter",className:w.L7EditorControl,onClick:function(){d(!f)},children:D?(0,e.jsx)(zo.Z,{style:{color:"#597ef7"}}):(0,e.jsx)(Go.Z,{style:{lineHeight:"30px"}})})})]})},ti=ei,ni=o(87052),Za,ai=function(){var n=Ie.Z.useToken,i=n(),r=i.token,a=r.boxShadow;return{l7ButtonControl:(0,B.iv)(Za||(Za=C()([` + min-width: auto; + width: 28px; + height: 28px; + border: none; + box-shadow: `,`; + cursor: pointer; + border-radius: 2px; + .ant-color-picker-color-block { + width: 22px; + height: 22px; + border-radius: 2px; + } + `])),a)}},ri=ai,oi=function(){var n=(0,K.Og)(),i=n.layerColor,r=n.setLayerColor,a=(0,ae.$G)(),l=a.t,s=ri();return(0,e.jsx)(le.br,{position:"bottomright",children:(0,e.jsx)(ue.Z,{title:l("layer_color_control.index.tuCengYanSeXuan"),placement:"left",children:(0,e.jsx)("div",{id:"l7-editor-color",children:(0,e.jsx)(ni.Z,{value:i,className:ge()([s.l7ButtonControl]),onChange:function(f,d){r(d)},format:"rgb",presets:[{label:l("layer_color_control.index.changYongYanSe"),colors:["#F5222D","#FA8C16","#FADB14","#8BBB11","#52C41A","#13A8A8","#1677FF","#2F54EB","#722ED1","#EB2F96"]}]})})})})},ii=oi,Ma,Ia,Ba,li=function(){return{locationSearch:(0,B.iv)(Ma||(Ma=C()([` + min-width: 200px; + `]))),locationSearchName:(0,B.iv)(Ia||(Ia=C()([` + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + `]))),locationSearchTip:(0,B.iv)(Ba||(Ba=C()([` + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + color: #818181; + font-size: 12px; + `])))}},si=li;function ui(h,n){return"".concat(h,"?").concat(Object.entries(n).map(function(i){var r=c()(i,2),a=r[0],l=r[1];return"".concat(a,"=").concat(window.encodeURIComponent(String(l)))}).join("&"))}var ci=["searchParams","showDistrict","showAddress","onSearchFinish","onChange"],di=Ce.Z.Option,ka=function(n){var i=n.searchParams,r=n.showDistrict,a=n.showAddress,l=n.onSearchFinish,s=n.onChange,u=Mn()(n,ci),f=si(),d=(0,_.useState)([]),y=c()(d,2),v=y[0],x=y[1],j=(0,ae.$G)(),A=j.t;(0,_.useEffect)(function(){l==null||l(v)},[l,v]);var T=(0,bn.Z)(function(){var E=$e()(Ee()().mark(function D(S){var m,O,g,L;return Ee()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:if(S){Z.next=3;break}return x([]),Z.abrupt("return");case 3:return g=ui("https://restapi.amap.com/v3/assistant/inputtips",p()(p()({},i),{},{keywords:[].concat(Le()(((m=i.keywords)!==null&&m!==void 0?m:"").split("|")),[S]).filter(function(k){return!!k}).join("|")})),Z.next=6,fetch(g);case 6:return Z.next=8,Z.sent.json();case 8:L=Z.sent,x(((O=L==null?void 0:L.tips)!==null&&O!==void 0?O:[]).filter(function(k){return k.location&&k.location.length}).map(function(k){var P=k.location.split(","),z=c()(P,2),R=z[0],F=z[1];return k.longitude=+R,k.latitude=+F,k}));case 10:case"end":return Z.stop()}},D)}));return function(D){return E.apply(this,arguments)}}(),{wait:1e3}),w=T.run,b=(0,_.useCallback)(function(E){var D=E&&v.find(function(S){return S.name===E});s==null||s(E||void 0,D||void 0)},[s,v]);return(0,e.jsx)(Ce.Z,p()(p()({className:f.locationSearch,onSearch:w,onChange:b,placeholder:A("location_search_control.location_search.qingShuRuYaoSou"),optionLabelProp:"label"},u),{},{children:v.map(function(E){var D="".concat(r?E.district:"").concat(a?E.address:"");return(0,e.jsxs)(di,{value:E.name,label:E.name,children:[(0,e.jsx)("div",{title:E.name,className:f.locationSearchName,children:E.name}),D&&(0,e.jsx)("div",{title:D,className:f.locationSearchTip,children:D})]},E.id)})}))};ka.defaultProps={showSearch:!0,allowClear:!0,filterOption:!1,defaultActiveFirstOption:!1,showAddress:!0,showDistrict:!0};var pi=_.memo(function(){var h=(0,le.$r)(),n=(0,_.useState)(),i=c()(n,2),r=i[0],a=i[1],l=(0,_.useState)(""),s=c()(l,2),u=s[0],f=s[1],d=(0,K.SS)(),y=d.features,v=d.resetFeatures,x=(0,K.Og)(),j=x.layerColor,A=(0,_.useState)(),T=c()(A,2),w=T[0],b=T[1],E=(0,ae.$G)(),D=E.t,S=(0,_.useCallback)(function(){if(h){var m=h.getCenter(),O=m.lng,g=m.lat;f("".concat(O,",").concat(g))}},[h]);return(0,_.useEffect)(function(){return S(),h==null||h.on("moveend",S),h==null||h.on("zoomend",S),function(){h==null||h.off("moveend",S),h==null||h.off("zoomend",S)}},[h,S]),(0,on.Z)($e()(Ee()().mark(function m(){var O;return Ee()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return O=gn()(j).rgb().object(),L.t0=b,L.next=4,xn(O,{x:100,y:100});case 4:L.t1=L.sent,(0,L.t0)(L.t1);case 6:case"end":return L.stop()}},m)})),[j]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(le.br,{position:"lefttop",children:(0,e.jsx)("div",{id:"l7-editor-citySelect",style:{display:"flex"},children:(0,e.jsx)("div",{children:(0,e.jsx)("div",{children:(0,e.jsx)("div",{children:(0,e.jsx)(ka,{getPopupContainer:function(){return document.querySelector(".larkmap")},allowClear:!0,value:r==null?void 0:r.name,searchParams:{key:"98d10f05a2da96697313a2ce35ebf1a2",location:u},onChange:function(O,g){if(g){var L=h.getZoom();h.setZoomAndCenter(L>16?L:16,[g.longitude,g.latitude])}a(g)}})})})})})}),r&&(0,e.jsx)(le.Jx,{lngLat:{lng:r.longitude,lat:r.latitude},children:(0,e.jsx)(Ye.Z,{content:(0,e.jsxs)("div",{children:[(0,e.jsx)(U.ZP,{type:"primary",onClick:function(){var O=r.longitude,g=r.latitude;v([].concat(Le()(y),[(0,Se.point)([O,g],r)])),a(void 0)},children:D("location_search_control.index.tianJiaZhiShuJu")}),(0,e.jsx)(U.ZP,{danger:!0,style:{marginLeft:8},onClick:function(){a(void 0)},children:D("app_header.constants.qingChu")})]}),children:(0,e.jsx)("img",{style:{width:40,height:40},src:w==null?void 0:w.src})})})]})}),fi=pi,Ra,Ja,_i=function(){var n=Ie.Z.useToken,i=n(),r=i.token,a=r.colorText,l=r.colorBgContainer,s=r.boxShadow,u=r.colorTextDescription;return{mapAdministrative:(0,B.iv)(Ra||(Ra=C()([` + background: `,`; + color: `,`; + box-shadow: `,`; + `])),l,a,s),regionLocation:(0,B.iv)(Ja||(Ja=C()([` + background: `,` !important; + color: `,` !important; + padding: 2px 4px !important; + `])),l,u)}},hi=_i,vi=function(){var n=hi();return(0,e.jsx)(le.br,{className:ge()(["map-administrative-control",n.mapAdministrative]),position:"leftbottom",children:(0,e.jsx)(le.kp,{searchParams:{key:"98d10f05a2da96697313a2ce35ebf1a2"},className:n.regionLocation})})},Na,Ga,mi=function(){var n=Ie.Z.useToken,i=n(),r=i.token,a=r.colorTextDescription,l=r.colorBgContainer,s=r.colorPrimary,u=r.colorBorder,f=r.colorText,d=r.colorBgElevated,y=r.colorFillSecondary;return{mapTheme:(0,B.iv)(Na||(Na=C()([` + color: `,`; + background: `,` !important; + border-color: `,`; + + svg { + fill: `,` !important; + } + + &:hover { + svg { + fill: `,` !important; + } + } + `])),a,l,u,a,f),mapThemePopper:(0,B.iv)(Ga||(Ga=C()([` + *::-webkit-scrollbar { + width: 8px; + background-color: `,`; + } + *::-webkit-scrollbar-thumb { + background-color: `,`; + border-radius: 10px; + } + .l7-popper-content { + color: `,`; + background: `,`; + + .l7-select-control-item:hover { + box-shadow: 0 5px 12px 4px rgba(0, 0, 0, 0.09), + 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 2px -2px rgba(0, 0, 0, 0.16); + } + + .l7-select-control-item { + border: 1px solid `,`; + border-radius: 4px; + } + + .l7-select-control-item-active { + border: 1px solid `,`; + } + } + + &.l7-popper-right .l7-popper-arrow\xA0 { + border-right-color: `,`; + } + + &.l7-popper-left .l7-popper-arrow\xA0 { + border-left-color: `,`; + } + + &.l7-popper-bottom .l7-popper-arrow\xA0 { + border-bottom-color: `,`; + } + + &.l7-popper-top .l7-popper-arrow\xA0 { + border-top-color: `,`; + } + `])),d,y,f,l,u,s,d,d,d,d)}},gi=mi,xi=function(){var n=(0,K.Og)(),i=n.setMapOptions,r=gi();return(0,e.jsx)(le.w3,{className:ge()([r.mapTheme,"l7-editor-mapTheme"]),popperClassName:r.mapThemePopper,position:"bottomright",onSelectChange:function(l){i(function(s){return p()(p()({},s),{},{style:l})})}})},yi=xi,za=o(14313),bi=o(77123),Ci=o(88484),Si=o(3089),Wa,Ua,Ka,Ha,Va,Qa,$a,Xa,Ya,ji=function(){var n=Ie.Z.useToken,i=n(),r=i.token,a=r.colorBgElevated,l=r.colorBgContainer,s=r.colorText,u=r.colorIcon,f=r.boxShadow;return{mapTab:(0,B.iv)(Wa||(Wa=C()([` + background-color: `,`; + border-radius: 4px; + display: flex; + align-items: center; + box-shadow: `,`; + &:hover .add-map { + display: block; + } + .add-map { + display: none; + text-align: center; + &:hover { + display: block; + color: #1677ff; + } + } + `])),a,f),hideOfficeLayerBtn:(0,B.iv)(Ua||(Ua=C()([` + height: 127px; + width: 28px; + display: flex; + align-items: center; + justify-content: center; + background: `,`; + border-radius: 4px; + cursor: pointer; + font-size: 16px; + z-index: 2; + .anticon { + transition: all 0.2s; + } + color: `,`; + `])),a,u),amapInfo:(0,B.iv)(Ka||(Ka=C()([` + display: flex; + align-items: center; + padding: 10px; + cursor: pointer; + `]))),amapInfoItemImage:(0,B.iv)(Ha||(Ha=C()([` + width: 142px; + height: 80px; + `]))),amapInfoItem:(0,B.iv)(Va||(Va=C()([` + text-align: center; + margin-left: 10px; + object-fit: cover; + &:first-child { + margin-left: 0px; + } + box-sizing: border-box; + border-radius: 4px; + position: relative; + + &: hover .item-clear { + display: block; + } + + &: hover .item-edit { + display: block; + } + + .item-edit { + position: absolute; + right: 41px; + bottom: 30px; + display: none; + width: 25px; + height: 25px; + line-height: 25px; + text-align: center; + background: #fff; + border-radius: 4px; + cursor: pointer; + + &:hover { + color: #1677ff; + } + } + + .item-clear { + position: absolute; + right: 8px; + bottom: 30px; + display: none; + width: 25px; + height: 25px; + line-height: 25px; + text-align: center; + background: #fff; + border-radius: 4px; + cursor: pointer; + + &:hover { + color: #1677ff; + } + } + `]))),amapInfoItemTitle:(0,B.iv)(Qa||(Qa=C()([` + color: `,`; + `])),s),itemBorder:(0,B.iv)($a||($a=C()([` + border: 2px solid `,`; + `])),l),itemBorderActive:(0,B.iv)(Xa||(Xa=C()([` + border: solid 2px #1677ff; + `]))),addMapIcon:(0,B.iv)(Ya||(Ya=C()([` + border: dashed 1px rgb(217, 217, 217); + height: 103px; + width: 142px; + object-fit: cover; + border-radius: 4px; + line-height: 103px; + margin-left: 10px; + cursor: pointer; + &:hover { + border: dashed 1px #1677ff; + } + `])))}},Ti=ji,qa={labelCol:{span:4},wrapperCol:{span:16}},er={labelCol:{span:6},wrapperCol:{span:15}};function Ei(){var h=ne.Z.useForm(),n=c()(h,1),i=n[0],r=Ti(),a=(0,K.Og)(),l=a.layerType,s=a.setLayerType,u=a.customTiles,f=a.setCustomTiles,d=a.locale,y=(0,ae.$G)(),v=y.t,x=(0,_.useState)(l.length?l[0]:W.dY.VectorMap),j=c()(x,2),A=j[0],T=j[1],w=(0,_.useState)(!1),b=c()(w,2),E=b[0],D=b[1],S=(0,_.useState)(!1),m=c()(S,2),O=m[0],g=m[1],L=(0,_.useState)(-1),H=c()(L,2),Z=H[0],k=H[1],P=(0,_.useState)(null),z=c()(P,2),R=z[0],F=z[1],J=(0,_.useState)([]),V=c()(J,2),q=V[0],$=V[1],ve=(0,ye.Z)("hideOfficeLayer",{defaultValue:!0}),je=c()(ve,2),Ae=je[0],Ge=je[1],st=function(){i.submit()},Ke=[{type:W.dY.VectorMap,title:v("official_layer_control.index.shiLiangDiTu"),image:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*qdFDSbvIalgAAAAAAAAAAAAADmJ7AQ/original",layers:[]},{type:W.dY.GoogleSatellite,title:v("official_layer_control.index.guGeWeiXingTu"),image:"https://mdn.alipayobjects.com/huamei_k6sfo0/afts/img/A*zi2jSqqZ2-8AAAAAAAAAAAAADjWqAQ/original",layers:[W.ay,W.AF]}],Re=(0,_.useMemo)(function(){return u.length?[].concat(Ke,Le()(u)):Ke},[u,v]),_t=function(I){var M=new FileReader;return M.readAsDataURL(I),M.onload=function(){var G=M.result;F(G)},!1},wt=function(I){T(I.type),s(I.type===W.dY.VectorMap?[]:[I.type])},Ft=function(I){if(O){var M=(0,bt.Z)(u),G=Array.isArray(I.img)?I.img[0].url:"".concat(R);M[Z-2]={type:I.name,image:G,title:I.name,layers:I.urls},f(M),g(!1),k(-1)}else f(function(_e){return[].concat(Le()(_e),[{type:I.name,image:"".concat(R),title:I.name,layers:I.urls}])});g(!1),$([]),D(!1)},Nt=function(){D(!1),g(!1),$([]),k(-1),i.resetFields()},Gt=function(I,M){I==null||I.stopPropagation();var G=u.filter(function(_e){return _e.type!==M.type});M.type===A&&(T(W.dY.VectorMap),s([])),f(G)},Zt=function(I,M){var G=M.toLowerCase(),_e=[];if(O){var ce=(0,bt.Z)(Re);ce.splice(Z,1),_e=Le()(ce)}else _e=Re;var xe=_e.every(function(Je){return Je.title.toLowerCase()!==G});return xe?M&&M.trim()===""?Promise.reject(v("official_layer_control.index.kongGe")):Promise.resolve():Promise.reject(v("official_layer_control.index.mingChengChongFu"))},tt=function(I,M){var G=Promise.reject(v("official_layer_control.index.shangchuan"));return M.fileList?M.fileList.length?Promise.resolve():G:M.length?Promise.resolve():G},ht=function(I){var M=Le()(I.fileList);M=M.slice(-2),M=M.map(function(G){return G.response&&(G.url=G.response.url),G}),$(M)},zt=(0,_.useMemo)(function(){if(l.length){var oe=Re.find(function(I){return I.type===l[0]});return oe==null?void 0:oe.layers.map(function(I){return(0,e.jsx)(le.YY,{zIndex:1,id:oe.type===W.dY.GoogleSatellite&&I===W.ay?"googleTileMap":void 0,source:{data:I,parser:{type:"rasterTile",tileSize:256,zoomOffset:0}}})})}else return null},[l,Re]);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(le.br,{position:"bottomleft",children:[(0,e.jsxs)("div",{className:r.mapTab,id:"l7-editor-aMap",children:[(0,e.jsx)("div",{className:r.hideOfficeLayerBtn,onClick:function(){Ge(!Ae)},children:(0,e.jsx)(za.Z,{style:{transform:Ae?"rotate(-180deg)":void 0}})}),Ae&&(0,e.jsxs)("div",{className:r.amapInfo,children:[Re.map(function(oe,I){return(0,e.jsxs)("div",{className:ge()([r.amapInfoItem,oe.type===A?r.itemBorderActive:r.itemBorder,I===Re.length-1?"item-hover":""]),onClick:function(){wt(oe)},children:[I>1&&(0,e.jsx)(rn.Z,{title:v("official_layer_control.index.shanChuDiTu"),onConfirm:function(G){return Gt(G,oe)},onCancel:function(G){G==null||G.stopPropagation()},children:(0,e.jsx)("div",{className:"item-clear",onClick:function(G){G.stopPropagation()},children:(0,e.jsx)(vn.Z,{})})}),I>1&&(0,e.jsx)("div",{className:"item-edit",onClick:function(G){k(I),G.stopPropagation(),g(!0),D(!0),$([{uid:"-1",name:"".concat(oe.title),status:"done",url:oe.image}]),i.setFieldsValue({name:oe.title,urls:oe.layers,img:[{uid:"-1",name:"".concat(oe.title),status:"done",url:oe.image}]})},children:(0,e.jsx)(bi.Z,{})}),(0,e.jsx)("img",{src:oe.image,alt:"",className:r.amapInfoItemImage}),(0,e.jsx)("div",{className:r.amapInfoItemTitle,style:{marginTop:0},children:oe.title})]},oe.type)}),(0,e.jsx)("div",{className:"add-map",children:(0,e.jsx)("div",{onClick:function(){D(!0),i.resetFields()},children:(0,e.jsx)("div",{className:r.addMapIcon,children:(0,e.jsx)(Cn.Z,{})})})})]})]}),(0,e.jsx)(Wt.Z,{title:v("official_layer_control.index.tianJiaDitu"),open:E,destroyOnClose:!0,onOk:st,onCancel:Nt,width:600,children:(0,e.jsxs)(ne.Z,{form:i,initialValues:{urls:[""]},onFinish:Ft,children:[(0,e.jsx)(ne.Z.Item,p()(p()({},d==="zh-CN"?qa:er),{},{name:"name",label:v("official_layer_control.index.name"),rules:[{required:!0},{validator:Zt}],children:(0,e.jsx)(yt.Z,{placeholder:v("official_layer_control.index.addName"),style:{width:390}})})),(0,e.jsx)(ne.Z.Item,p()(p()({},d==="zh-CN"?qa:er),{},{name:"img",label:v("official_layer_control.index.shiLiTuPian"),rules:[{required:!0,validator:tt}],children:(0,e.jsx)(Dn.Z,{beforeUpload:_t,accept:".png,.jpg",maxCount:1,onChange:ht,fileList:q,onRemove:function(){$([])},children:(0,e.jsx)(U.ZP,{icon:(0,e.jsx)(Ci.Z,{}),children:v("import_btn.index.shangChuan")})})})),(0,e.jsx)(ne.Z.List,{name:"urls",children:function(I,M){var G=M.add,_e=M.remove;return(0,e.jsxs)(e.Fragment,{children:[I.map(function(ce,xe){return(0,e.jsxs)(Me.Z,{style:{display:"flex",marginBottom:8},align:"baseline",children:[(0,e.jsx)(ne.Z.Item,p()(p()({},ce),{},{label:xe===0?v("official_layer_control.index.tuCengDiZhi"):"",rules:[{required:!0,message:v("official_layer_control.index.qiShuRutuCengDiZhi")},{validator:Zt}],style:{marginLeft:d==="zh-CN"?xe===0?10:90:xe===0?18:134},children:(0,e.jsx)(yt.Z,{placeholder:W.ay,style:{width:390}})})),I.length>1?(0,e.jsx)(Si.Z,{onClick:function(){return _e(ce.name)}}):null]},ce.key)}),(0,e.jsx)(ne.Z.Item,{style:{textAlign:"center"},children:(0,e.jsx)(U.ZP,{type:"dashed",onClick:function(){return G()},icon:(0,e.jsx)(Cn.Z,{}),style:{width:390,marginLeft:d==="zh-CN"?20:104},children:v("official_layer_control.index.tinJiaWaPian")})})]})}})]})})]}),(0,e.jsx)("div",{children:zt})]})}var tr=o(31762),Di=o(75081),nr,Oi=function(){return{marker:(0,B.iv)(nr||(nr=C()([` + color: #fff; + background: #ff0000; + font-size: 12px; + padding: 6px; + `])))}},Pi=Oi,Li={shape:"line",size:3,color:"#ff0000",state:{active:!1},style:{opacity:1,lineType:"solid"},zIndex:100,animate:{interval:.6,trailLength:1.5,duration:4}},Ai=function(){var n=Pi(),i=Xt(),r=(0,_.useState)(null),a=c()(r,2),l=a[0],s=a[1],u=(0,K.SS)(),f=u.scene,d=u.features,y=u.resetFeatures,v=u.revertCoord,x=u.bboxAutoFit,j=(0,K.Og)(),A=j.wasmPath,T=(0,le.dN)(),w=(0,_.useState)(!1),b=c()(w,2),E=b[0],D=b[1],S=(0,_.useState)(void 0),m=c()(S,2),O=m[0],g=m[1],L=(0,_.useState)(void 0),H=c()(L,2),Z=H[0],k=H[1],P=(0,_.useState)(void 0),z=c()(P,2),R=z[0],F=z[1],J=(0,_.useState)(!1),V=c()(J,2),q=V[0],$=V[1],ve=(0,_.useState)(void 0),je=c()(ve,2),Ae=je[0],Ge=je[1],st=(0,_.useState)(void 0),Ke=c()(st,2),Re=Ke[0],_t=Ke[1],wt=(0,_.useState)({data:{type:"FeatureCollection",features:[]}}),Ft=c()(wt,2),Nt=Ft[0],Gt=Ft[1],Zt=(0,ae.$G)(),tt=Zt.t,ht=(0,_.useCallback)(function(oe){var I=[oe.lngLat.lng,oe.lngLat.lat];if(Re)if((0,Se.booleanPointInPolygon)((0,Se.point)(I),Re)){if(l){var M=l.lngLat2ImagePixel(I),G=[{x:M[0],y:M[1],clickType:1}],_e=1;l.predict(G).then(function(){var ce=$e()(Ee()().mark(function xe(Je){var Ze,ot,ze,ut;return Ee()().wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:return nt.next=2,l.exportGeoPolygon(Je,_e);case 2:Ze=nt.sent,ot=l.exportImageClip(Je),ze={feature:Ze.features,imageUrl:ot.src},(0,Se.booleanPointInPolygon)((0,Se.point)(I),ze==null?void 0:ze.feature[0])&&(ze==null?void 0:ze.feature[0].geometry.coordinates[0].length)>4?(ut=v(ze.feature),y([].concat(Le()(d),Le()(ut)))):Ue.ZP.warning(tt("map_control_group.sam.tuXingJieXiCuoWu"));case 6:case"end":return nt.stop()}},xe)}));return function(xe){return ce.apply(this,arguments)}}())}}else Ue.ZP.error(tt("map_control_group.sam.qingZaiQuYuNei"))},[Re,l,d,tt]),zt=function(){var oe=$e()(Ee()().mark(function I(){var M,G,_e,ce,xe,Je,Ze,ot,ze,ut,Ct,nt,at,Yt,qt,ln,jn,pr,en,sn,Tn,fr,un;return Ee()().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if($(!0),Xe.prev=1,!(!O||!l)){Xe.next=4;break}return Xe.abrupt("return");case 4:return G=O.layer.getSource(),_e=G==null||(M=G.tileset)===null||M===void 0?void 0:M.currentTiles,ce=1/0,xe=1/0,Je=-1/0,Ze=-1/0,_e==null||_e.forEach(function(St){ce=Math.min(ce,St.x),xe=Math.min(xe,St.y),Je=Math.max(Je,St.x),Ze=Math.max(Ze,St.y)}),ot=Math.ceil(f==null?void 0:f.getZoom()),ze=document.createElement("canvas"),ze.width=(Je-ce+1)*256,ze.height=(Ze-xe+1)*256,ut=ze.getContext("2d"),Ct=l.mapHelper,nt=[].concat(Le()(Ct.tileToLngLat(ce,Ze+1,ot)),Le()(Ct.tileToLngLat(Je+1,xe,ot))),_e==null||_e.forEach(function(St){St&&(ut==null||ut.drawImage(St.data,(St.x-ce)*256,(St.y-xe)*256,256,256))}),l.setGeoImage(ze.toDataURL(),{extent:nt,width:ze.width,height:ze.height}),at=ze.toDataURL("image/jpeg"),Yt=at.indexOf(","),qt=at==null?void 0:at.substring(Yt+1),ln="https://sam.lvisei.icu/api",jn=new FormData,jn.append("image_path",qt),Xe.next=28,fetch(ln,{body:jn,method:"post"});case 28:return Xe.next=30,Xe.sent.arrayBuffer();case 30:pr=Xe.sent;try{en=Ct.tileToLngLat(Je+1,xe,ot),sn=Ct.tileToLngLat(ce,Ze+1,ot),Tn=[sn[0],en[1]],fr=[en[0],sn[1]],un=(0,Se.polygon)([[en,Tn,sn,fr,en]]),Ge(Tn),_t(un),Gt({data:{type:"FeatureCollection",features:[un]}}),x([un]),l.setEmbedding(pr),Ue.ZP.success(tt("map_control_group.sam.jiSuanWanCheng"))}catch(St){console.log(St)}Xe.next=38;break;case 34:Xe.prev=34,Xe.t0=Xe.catch(1),Ue.ZP.error(tt("map_control_group.sam.jiSuanShiBai")),f==null||f.off("click",ht);case 38:return Xe.prev=38,$(!1),Xe.finish(38);case 41:case"end":return Xe.stop()}},I,null,[[1,34,38,41]])}));return function(){return oe.apply(this,arguments)}}();return(0,_.useEffect)(function(){var oe=new tr.XU({modelUrl:tr.AK,wasmPaths:A});oe.initModel().then(function(){s(oe)}).catch(function(){Ue.ZP.error(tt("map_control_group.sam.diKuaiShiBieShiBei"))})},[]),(0,_.useEffect)(function(){if(!(0,Qt.Z)(T)){var oe=T.find(function(G){return G.id==="googleTileMap"}),I=T.find(function(G){return G.id===W.d7.PolygonLayer}),M=T.find(function(G){return G.id==="hoverLayer"});F(M),k(I),g(oe)}},[T]),(0,_.useEffect)(function(){return Z&&(E?Z.on("unclick",ht):(Gt({data:{type:"FeatureCollection",features:[]}}),Ge(void 0),Z.off("unclick",ht))),function(){Z==null||Z.off("unclick",ht)}},[E,f,ht]),(0,_.useEffect)(function(){E&&l&&zt()},[E,l]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(le.br,{position:"bottomright",children:(0,e.jsx)(ue.Z,{title:tt("map_control_group.sam.zhiNengXuanZe"),placement:"left",children:(0,e.jsx)(Di.Z,{spinning:q,children:(0,e.jsx)("button",{type:"button",className:i.L7EditorControl,onClick:function(){l&&D(!E),E&&Ue.ZP.success(tt("map_control_group.sam.zhiNengShiBieGuanBi"))},children:(0,e.jsx)(Be,{type:"icon-zhinengshibie",style:{fontSize:20,color:E?"#1677ff":""},className:i.l7EditorIcon})})})})}),Ae&&(0,e.jsx)(le.Jx,{lngLat:{lng:Ae[0],lat:Ae[1]},anchor:"center",offsets:[54,-16],children:(0,e.jsx)("div",{className:n.marker,children:tt("map_control_group.sam.ziDongShiBie")})}),(0,e.jsx)(le.Ie,p()(p()({},Li),{},{source:Nt}))]})},ar,wi=function(){return{textLayerForm:(0,B.iv)(ar||(ar=C()([` + .ant-form-item { + margin-bottom: 12px !important; + } + `])))}},Fi=wi,Zi=function(){var n=Xt(),i=Fi(),r=(0,K.Og)(),a=r.showTextLayer,l=r.setShowTextLayer,s=r.textLayerFields,u=r.setTextLayerFields,f=(0,K.SS)(),d=f.features,y=(0,_.useState)([]),v=c()(y,2),x=v[0],j=v[1],A=(0,ae.$G)(),T=A.t,w=function(){var E=new Set;d.forEach(function(D){var S=D.properties;S&&Object.keys(S).forEach(function(m){E.add(m)})}),j(Array.from(E))};return(0,e.jsx)(le.br,{position:"bottomleft",children:(0,e.jsx)(Ye.Z,{title:T("text-layer-control_wenBenBiaoZhu"),overlayStyle:{width:300},content:(0,e.jsxs)(ne.Z,{size:"small",className:i.textLayerForm,children:[(0,e.jsx)(ne.Z.Item,{label:T("text-layer-control_shiFouZhanShiTuCeng"),children:(0,e.jsx)(an.Z,{value:a,onChange:l})}),(0,e.jsx)(ne.Z.Item,{label:T("text-layer-control_zhanShiZiDuan"),children:(0,e.jsx)(Ce.Z,{value:s,onChange:u,placeholder:T("text-layer-control_buXuan"),mode:"multiple",options:x.map(function(b){return{label:b,value:b}})})})]}),trigger:"click",onOpenChange:function(E){E&&w()},children:(0,e.jsx)(ue.Z,{placement:"left",overlay:T("text-layer-control_wenBenTuCengPeiZhi"),children:(0,e.jsx)("button",{className:n.L7EditorControl,id:"text-layer-control",children:(0,e.jsx)(Be,{type:"icon-wenbenkuang"})})})})})},rr={drawControl:!0,clearControl:!0,zoomControl:!0,scaleControl:!0,locationSearchControl:!0,mouseLocationControl:!0,filterControl:!0,officialLayerControl:!0,mapThemeControl:!0,geoLocateControl:!0,layerColorControl:!0,autoControl:!0,fullscreenControl:!0,administrativeSelectControl:!0,mapAdministrativeControl:!0,logoControl:!0,textLayerControl:!0},Mi=function(n){var i=n.mapControl,r=(0,K.Og)(),a=r.baseMap,l=r.layerType,s=Xt(),u=(0,_.useState)(rr),f=c()(u,2),d=f[0],y=f[1];return(0,_.useEffect)(function(){y(p()(p()({},rr),i))},[i]),(0,e.jsxs)(e.Fragment,{children:[d.logoControl&&(0,e.jsx)(le.OB,{position:"leftbottom"}),d.scaleControl&&(0,e.jsx)(le.jf,{position:"leftbottom",className:s.scalesControl}),d.mouseLocationControl&&(0,e.jsx)(le.CB,{position:"leftbottom",className:s.mouseLocatio}),d.drawControl&&(0,e.jsx)(Ro,{}),d.clearControl&&(0,e.jsx)(Zo,{}),d.zoomControl&&(0,e.jsx)(le.Ly,{className:s.zoom,showZoom:!0,position:"rightbottom"}),d.mapAdministrativeControl&&(0,e.jsx)(vi,{}),d.administrativeSelectControl&&(0,e.jsx)(Po,{}),d.locationSearchControl&&(0,e.jsx)(fi,{}),d.filterControl&&(0,e.jsx)(ti,{}),a==="Gaode"&&d.officialLayerControl&&(0,e.jsx)(Ei,{}),d.mapThemeControl&&(0,e.jsx)(yi,{}),d.geoLocateControl&&(0,e.jsx)(le.l_,{position:"topleft",className:s.fullScreen}),d.layerColorControl&&(0,e.jsx)(ii,{}),d.autoControl&&(0,e.jsx)(Ao,{}),d.fullscreenControl&&(0,e.jsx)(le.ot,{position:"bottomright",className:s.fullScreen}),l.includes(W.dY.GoogleSatellite)&&(0,e.jsx)(Ai,{}),d.textLayerControl&&(0,e.jsx)(Zi,{})]})},Ii=o(46312),or,ir,lr,sr,ur,Bi=function(){var n=Ie.Z.useToken,i=n(),r=i.token,a=r.colorBgContainer,l=r.boxShadow,s=r.colorBorderSecondary,u=r.colorInfoHover,f=r.colorIcon;return{resizePanel:(0,B.iv)(or||(or=C()([` + width: 100%; + height: calc(100% - 50px); + display: flex; + position: relative; + `]))),resizePanelLeft:(0,B.iv)(ir||(ir=C()([` + position: absolute; + left: 0; + top: 0; + bottom: 0; + overflow: hidden; + `]))),resizePanelRight:(0,B.iv)(lr||(lr=C()([` + position: relative; + border-left: 1px solid `,`; + box-shadow: `,`; + `])),s,l),resizePanelDragLine:(0,B.iv)(sr||(sr=C()([` + transition: all 0.5s; + cursor: move !important; + z-index: 100; + + &:hover, + &:focus { + background-color: `,`; + } + `])),u),resizePanelToggleBtn:(0,B.iv)(ur||(ur=C()([` + height: 60px; + width: 20px; + display: flex; + align-items: center; + justify-content: center; + background: `,`; + position: absolute; + top: calc(50% - 30px); + left: -20px; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + cursor: pointer; + z-index: 2; + .anticon { + transition: all 0.2s; + } + color: `,`; + `])),a,f)}},ki=Bi,Ri=function(n){var i,r=n.left,a=n.right,l=n.onFeatureChange,s=(0,K.Og)(),u=s.hideEditor,f=s.setHideEditor,d=s.rightPanelWidth,y=s.setRightWidth,v=(0,_.useState)(null),x=c()(v,2),j=x[0],A=x[1],T=c()(W.yc,2),w=T[0],b=T[1],E=(i=(0,Bn.Z)(j))!==null&&i!==void 0?i:{},D=E.width,S=D===void 0?0:D,m=(0,K.SS)(),O=m.features,g=ki(),L=function(k){var P,z=(P=j==null?void 0:j.getBoundingClientRect())!==null&&P!==void 0?P:{},R=z.left,F=R===void 0?0:R,J=100*(1-(k.clientX-F)/S);Jb&&(J=b),y(J)},H=(0,_.useMemo)(function(){return u?0:d},[u,d]);return(0,_.useEffect)(function(){l(O)},[O]),(0,e.jsxs)("div",{className:ge()([g.resizePanel,"l7-editor-content"]),ref:function(k){A(k)},children:[(0,e.jsx)("div",{className:ge()([g.resizePanelLeft,"l7-editor-content__left"]),style:{width:"".concat(100-H,"%")},children:r}),(0,e.jsxs)(Ii.e,{enable:{left:!0},style:{marginLeft:"".concat(100-H,"%")},size:{width:"".concat(H,"%"),height:"100%"},minWidth:"".concat(w/100*S,"px"),maxWidth:"".concat(b/100*S,"px"),className:ge()([g.resizePanelRight,"l7-editor-content__right"]),handleClasses:{left:g.resizePanelDragLine},handleStyles:{left:{width:6,left:-3}},defaultSize:{width:"".concat(H,"%"),height:"100%"},onResize:L,children:[a,(0,e.jsx)("div",{className:g.resizePanelToggleBtn,onClick:function(){f(!u)},children:(0,e.jsx)(za.Z,{style:{transform:u?"rotate(-180deg)":void 0}})})]})]})},Ji=o(29905),Vi=o(37382),He=o(22950),Ni=o(77598),Gi=o(28459),zi=o(69483),cr=o.n(zi),dr,Wi=function(){return{l7Editor:(0,B.iv)(dr||(dr=C()([` + width: 100%; + height: 100%; + position: relative; + overflow: hidden; + `])))}},Ui=Wi,Ki=function(n){var i=n.onFeatureChange,r=(0,ae.$G)(),a=r.i18n,l=r.t,s=(0,K.Og)(),u=s.theme,f=s.mapOptions,d=s.setMapOptions,y=s.locale,v=Ui(),x=(0,K.SS)(),j=x.saveEditorText,A=x.bboxAutoFit,T=x.scene;(0,Ni.Z)(function(){d(u==="dark"?p()(p()({},f),{},{style:"dark"}):p()(p()({},f),{},{style:"normal"}))},[u]),(0,_.useEffect)(function(){a.changeLanguage(y)},[]);var w=(0,_.useMemo)(function(){var b;return(b=jt.find(function(E){return E.lang===y}))===null||b===void 0?void 0:b.antd},[y]);return(0,on.Z)($e()(Ee()().mark(function b(){var E,D;return Ee()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,cr().getItem(W.Fe.EditorText);case 2:if(E=m.sent,E&&T&&!n.features)try{D=JSON.parse(E).features,A(D)}catch(O){Ue.ZP.error(l("import_btn.file_upload.qingJianChaShuJu"))}else T&&n.features&&A();case 4:case"end":return m.stop()}},b)})),[T]),(0,on.Z)($e()(Ee()().mark(function b(){var E;return Ee()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,cr().getItem(W.Fe.EditorText);case 2:E=S.sent,E&&!n.features&&j(E);case 4:case"end":return S.stop()}},b)})),[]),(0,e.jsx)(Gi.ZP,{locale:w,theme:{algorithm:u==="dark"?Ie.Z.darkAlgorithm:Ie.Z.defaultAlgorithm},children:(0,e.jsxs)("div",{className:ge()([v.l7Editor,"l7-editor"]),id:"l7-editor",children:[(0,e.jsx)(Mr,{toolbar:n.toolbar}),(0,e.jsx)(Ri,{onFeatureChange:function(E){i&&i(E)},left:(0,e.jsxs)(Rr,{children:[(0,e.jsx)(Mi,{mapControl:n.mapControl}),(0,e.jsx)(so,{}),(0,e.jsx)(ho,{}),(0,e.jsx)(ro,{})]}),right:(0,e.jsx)(So,{tabItems:n==null?void 0:n.tabItems,features:n==null?void 0:n.features})})]})})};$t.zl.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=!1;var Hi=function(n){var i=(0,ae.$G)(),r=i.t,a=(0,_.useMemo)(function(){return!/Mobi|Android|iPhone/i.test(navigator.userAgent)},[]),l=(0,_.useMemo)(function(){return function(s){var u,f,d,y,v,x,j,A,T,w,b,E,D,S,m,O,g=s.set;g(He.EB,(u=n==null?void 0:n.baseMap)!==null&&u!==void 0?u:"Gaode"),g(He.dR,(f=n==null?void 0:n.primaryColor)!==null&&f!==void 0?f:W.K6),g(He.Do,(d=n==null?void 0:n.rightPanelWidth)!==null&&d!==void 0?d:40),g(He.aQ,(y=n==null?void 0:n.mapOption)!==null&&y!==void 0?y:{style:"normal",maxZoom:24}),g(He.E1,!(n!=null&&n.autoFitBounds)),g(He.xZ,(v=n==null?void 0:n.popupTrigger)!==null&&v!==void 0?v:"click"),g(He.Uv,(x=n==null?void 0:n.activeTab)!==null&&x!==void 0?x:"geojson"),g(He.DJ,(j=n==null?void 0:n.officialLayers)!==null&&j!==void 0?j:[]),g(He.bK,(A=n==null?void 0:n.hidePanel)!==null&&A!==void 0?A:!1),g(He.XG,(T=n==null?void 0:n.theme)!==null&&T!==void 0?T:"light"),g(He.PY,(w=n==null?void 0:n.coordConvert)!==null&&w!==void 0?w:"GCJ02"),g(He.GR,(b=n==null?void 0:n.locale)!==null&&b!==void 0?b:"zh-CN"),g(He._u,(E=n==null?void 0:n.wasmPath)!==null&&E!==void 0?E:"/"),g(He.CZ,(D=n==null?void 0:n.showTextLayer)!==null&&D!==void 0?D:!1),g(He.Pl,(S=n==null?void 0:n.textLayerFields)!==null&&S!==void 0?S:void 0),g(He.Yf,(m=n.showDrawDistance)!==null&&m!==void 0?m:!1),g(He.lG,(O=n.showDrawArea)!==null&&O!==void 0?O:!1)}},[n]);return a?(0,e.jsx)($t.Wh,{initializeState:l,children:(0,e.jsx)(Ki,p()({},n))}):(0,e.jsx)(Ji.ZP,{status:"404",title:r("pages.index.qingYongPCDuan")})}},22950:function(we,se,o){"use strict";o.d(se,{CZ:function(){return it},DJ:function(){return Be},Do:function(){return Pe},E1:function(){return ge},EB:function(){return K},GR:function(){return ct},LY:function(){return me},PY:function(){return Ce},Pl:function(){return Se},Qn:function(){return re},Rl:function(){return ee},Uv:function(){return e},XG:function(){return De},Yf:function(){return _},Z3:function(){return qe},_u:function(){return Oe},aD:function(){return Te},aQ:function(){return Ye},bK:function(){return vt},bo:function(){return Me},dR:function(){return Ve},lG:function(){return ae},tJ:function(){return ye},xZ:function(){return W},zl:function(){return We}});var pe=o(69483),p=o.n(pe),N=o(4480),c=o(55375),te=function(he){return function(Q){var ie=Q.setSelf,X=Q.onSet,Y=localStorage.getItem(he);Y&&ie(JSON.parse(Y)),X(function(ke){ke instanceof N.nY?localStorage.removeItem(he):localStorage.setItem(he,JSON.stringify(ke))})}},be=function(he){return function(Q){var ie=Q.setSelf,X=Q.onSet;p().getItem(he).then(function(Y){Y&&ie(Y)}),X(function(Y){Y instanceof N.nY?p().removeItem(he):p().setItem(he,Y)})}},me=(0,N.cn)({key:"filter",default:[],dangerouslyAllowMutability:!0}),Te=(0,N.cn)({key:"isDraw",default:!1}),ye=(0,N.cn)({key:"savedText",default:""}),ee=(0,N.cn)({key:"features",default:[],dangerouslyAllowMutability:!0}),re=(0,N.cn)({key:"scene",default:null,dangerouslyAllowMutability:!0}),Me=(0,N.cn)({key:"editorText",default:JSON.stringify({type:"FeatureCollection",features:[]},null,2),effects:[be(c.Fe.EditorText)]}),ue=(0,N.cn)({key:"lnglatType"}),U=(0,N.cn)({key:"lnglatText",default:""}),Pe=(0,N.cn)({key:"rightPanelWidth",effects:[te(c.Fe.RightPanelWidth)]}),Ye=(0,N.cn)({key:"mapOptions",effects:[te(c.Fe.MapOptions)]}),Ve=(0,N.cn)({key:"layerColor",effects:[te(c.Fe.LayerColor)]}),vt=(0,N.cn)({key:"hideEditor",default:!1,effects:[te(c.Fe.HideEditor)]}),ge=(0,N.cn)({key:"autoFitBounds",effects:[te(c.Fe.AutoFitBounds)]}),_=(0,N.cn)({key:"showDrawDistance",default:!1,effects:[te(c.Fe.showDrawDistance)]}),ae=(0,N.cn)({key:"showDrawArea",default:!1,effects:[te(c.Fe.showDrawArea)]}),W=(0,N.cn)({key:"popupTrigger",effects:[te(c.Fe.PopupTrigger)]}),K=(0,N.cn)({key:"baseMap",effects:[te(c.Fe.BaseMap)]}),e=(0,N.cn)({key:"activeTab",default:"geojson",effects:[te(c.Fe.ActiveRightTabKey)]}),Be=(0,N.cn)({key:"layerType",default:[],effects:[te(c.Fe.officialLayers)]}),Ce=(0,N.cn)({key:"coordConvert",default:"GCJ02",effects:[te(c.Fe.Convert)]}),De=(0,N.cn)({key:"theme",default:"light",effects:[te(c.Fe.theme)]}),We=(0,N.cn)({key:"cityHistory",default:[],effects:[te(c.Fe.cityHistory)]}),it=(0,N.cn)({key:"showTextLayer",default:!0,effects:[te(c.Fe.showTextLayer)]}),Se=(0,N.cn)({key:"textLayerFields",default:void 0,effects:[te(c.Fe.textLayerFields)]}),qe=(0,N.cn)({key:"showTextLayer",default:[],effects:[te(c.Fe.customTiles)]}),ct=(0,N.cn)({key:"locale",default:"zh-CN",effects:[te(c.Fe.locale)]}),Oe=(0,N.cn)({key:"wasmPaths",effects:[te(c.Fe.wasmPath)]})},85959:function(we,se,o){"use strict";o.d(se,{Z:function(){return Be}});var pe=o(19632),p=o.n(pe),N=o(52677),c=o.n(N),te=o(9783),be=o.n(te),me=o(97857),Te=o.n(me),ye=o(5574),ee=o.n(ye),re=o(24928),Me=o(10154),ue=o(68652),U=o(16805),Pe=o(3729),Ye=o(90783),Ve=o(67294),vt=o(67421),ge=o(4480),_=o(55375),ae=o(11615),W=o(12510),K=o(22950),e=o(57874);function Be(){var Ce=(0,e.Z)(),De=Ce.baseMap,We=Ce.coordConvert,it=(0,ge.FV)(K.bo),Se=ee()(it,2),qe=Se[0],ct=Se[1],Oe=(0,ge.FV)(K.tJ),et=ee()(Oe,2),he=et[0],Q=et[1],ie=(0,ge.FV)(K.Rl),X=ee()(ie,2),Y=X[0],ke=X[1],dt=(0,ge.FV)(K.aD),mt=ee()(dt,2),pt=mt[0],gt=mt[1],Tt=(0,ge.FV)(K.Qn),jt=ee()(Tt,2),rt=jt[0],Mt=jt[1],C=(0,vt.$G)(),B=C.t,Ie=(0,Ve.useMemo)(function(){return qe!==he},[qe,he]),It=(0,Ve.useMemo)(function(){return(0,re.featureCollection)(Y)},[Y]),Ot=function(de){ke((0,ue.Z)(de).map(function(fe,Fe){var Qe;return fe.properties=Te()(Te()({},fe.properties),{},be()({},_.AQ.Index,Fe)),(Qe=fe.properties)!==null&&Qe!==void 0&&Qe[_.AQ.DrawType]||(fe.properties[_.AQ.DrawType]=function(){var xt=(0,re.getType)(fe);return/Point/.test(xt)?"point":/LineString/.test(xt)?"line":"polygon"}()),fe}))},Bt=function(de){var fe=JSON.stringify({type:"FeatureCollection",features:[]},null,2),Fe=[];if(qe||de)try{Fe=(0,ae.mr)(de!=null?de:qe,B),de&&ct(de),Q(de!=null?de:qe),Ot(Fe)}catch(Qe){Me.ZP.warning(B("recoil.feature.shuJuJiaZaiYou"))}else ct(fe),Q(fe);return Fe},Lt=function(de){var fe=(0,W.X)({content:(0,re.featureCollection)(de)});ct(fe),Q(fe),Ot(de)},kt=(0,Ve.useMemo)(function(){var Ne=Y.map(function(fe,Fe){var Qe=fe.properties;return Te()({__index:Fe+1},Qe)}),de=[];return Array.from(new Set((0,U.Z)(Y.map(function(fe){var Fe=fe.properties;return Object.keys(Fe)})))).forEach(function(fe){var Fe=c()(Ne[0][fe]);if(Fe==="string"||Fe==="boolean"){var Qe=Ne.map(function(Et){return String(Et[fe])});de.push({type:"string",field:fe,value:Qe})}else if(Fe==="number"){var xt=Ne.map(function(Et){return Et[fe]});de.push({type:Fe,field:fe,min:(0,Pe.Z)(xt),max:(0,Ye.Z)(xt)})}}),de},[Y]),Pt=(0,Ve.useCallback)(function(Ne){var de=p()(Ne);return We==="WGS84"&&De==="Gaode"?de=de.map(function(fe){return(0,ae.IQ)((0,ue.Z)(fe))}):We==="GCJ02"&&De==="Mapbox"&&(de=de.map(function(fe){return(0,ae.Jk)((0,ue.Z)(fe))})),de},[De,We]),Rt=(0,Ve.useCallback)(function(Ne){var de=p()(Ne);return We==="WGS84"&&De==="Gaode"?de=de.map(function(fe){return(0,ae.Jk)((0,ue.Z)(fe))}):We==="GCJ02"&&De==="Mapbox"&&(de=de.map(function(fe){return(0,ae.IQ)((0,ue.Z)(fe))})),de},[De,We]),At=(0,Ve.useCallback)(function(Ne){var de=Ne!=null?Ne:Y;if(rt&&de.length){var fe=(0,re.bbox)((0,re.featureCollection)(Pt(de))),Fe=ee()(fe,4),Qe=Fe[0],xt=Fe[1],Et=Fe[2],Jt=Fe[3];rt.fitBounds([[Qe,xt],[Et,Jt]])}},[Y,rt,Pt]);return{editorText:qe,setEditorText:ct,savedText:he,setSavedText:Q,features:Y,setFeatures:Ot,savable:Ie,saveEditorText:Bt,resetFeatures:Lt,dataSource:kt,bboxAutoFit:At,setIsDraw:gt,isDraw:pt,scene:rt,setScene:Mt,fc:It,transformCoord:Pt,revertCoord:Rt}}},29795:function(we,se,o){"use strict";o.d(se,{Z:function(){return te}});var pe=o(5574),p=o.n(pe),N=o(4480),c=o(22950);function te(){var be=(0,N.FV)(c.LY),me=p()(be,2),Te=me[0],ye=me[1];return{filters:Te,setFilters:ye}}},57874:function(we,se,o){"use strict";o.d(se,{Z:function(){return te}});var pe=o(5574),p=o.n(pe),N=o(4480),c=o(22950);function te(){var be=(0,N.FV)(c.Do),me=p()(be,2),Te=me[0],ye=me[1],ee=(0,N.FV)(c.aQ),re=p()(ee,2),Me=re[0],ue=re[1],U=(0,N.FV)(c.dR),Pe=p()(U,2),Ye=Pe[0],Ve=Pe[1],vt=(0,N.FV)(c.bK),ge=p()(vt,2),_=ge[0],ae=ge[1],W=(0,N.FV)(c.E1),K=p()(W,2),e=K[0],Be=K[1],Ce=(0,N.FV)(c.xZ),De=p()(Ce,2),We=De[0],it=De[1],Se=(0,N.FV)(c.EB),qe=p()(Se,2),ct=qe[0],Oe=qe[1],et=(0,N.FV)(c.Uv),he=p()(et,2),Q=he[0],ie=he[1],X=(0,N.FV)(c.DJ),Y=p()(X,2),ke=Y[0],dt=Y[1],mt=(0,N.FV)(c.PY),pt=p()(mt,2),gt=pt[0],Tt=pt[1],jt=(0,N.FV)(c.XG),rt=p()(jt,2),Mt=rt[0],C=rt[1],B=(0,N.FV)(c.zl),Ie=p()(B,2),It=Ie[0],Ot=Ie[1],Bt=(0,N.FV)(c.CZ),Lt=p()(Bt,2),kt=Lt[0],Pt=Lt[1],Rt=(0,N.FV)(c.Pl),At=p()(Rt,2),Ne=At[0],de=At[1],fe=(0,N.FV)(c.Z3),Fe=p()(fe,2),Qe=Fe[0],xt=Fe[1],Et=(0,N.FV)(c.GR),Jt=p()(Et,2),cn=Jt[0],Ee=Jt[1],dn=(0,N.FV)(c._u),Le=p()(dn,2),pn=Le[0],$e=Le[1],fn=(0,N.FV)(c.Yf),Ue=p()(fn,2),Wt=Ue[0],tn=Ue[1],ne=(0,N.FV)(c.lG),lt=p()(ne,2),Ut=lt[0],nn=lt[1];return{rightPanelWidth:Te,setRightWidth:ye,mapOptions:Me,setMapOptions:ue,layerColor:Ye,setLayerColor:Ve,hideEditor:_,setHideEditor:ae,popupTrigger:We,setPopupTrigger:it,baseMap:ct,setBaseMap:Oe,autoFitBounds:e,setAutoFitBounds:Be,activeTab:Q,setActiveTab:ie,layerType:ke,setLayerType:dt,coordConvert:gt,setCoordConvert:Tt,theme:Mt,setTheme:C,cityHistory:It,setCityHistory:Ot,showTextLayer:kt,setShowTextLayer:Pt,textLayerFields:Ne,setTextLayerFields:de,customTiles:Qe,setCustomTiles:xt,locale:cn,setLocale:Ee,wasmPath:pn,setWasmPath:$e,showDrawDistance:Wt,setShowDrawDistance:tn,showDrawArea:Ut,setShowDrawArea:nn}}},32865:function(we,se,o){"use strict";o.d(se,{SS:function(){return pe.Z},L0:function(){return p.Z},Og:function(){return N.Z}});var pe=o(85959),p=o(29795),N=o(57874),c=o(19632),te=o(5574),be=o(24928),me=o(67421),Te=o(4480),ye=o(55375),ee=o(22950);function re(){var Me=useRecoilState(lnglatTypeState),ue=_slicedToArray(Me,2),U=ue[0],Pe=ue[1],Ye=useTranslation(),Ve=Ye.t,vt=useRecoilState(lnglatTextState),ge=_slicedToArray(vt,2),_=ge[0],ae=ge[1],W=function(e){var Be=e.split(` +`).filter(function(De){return De}).map(function(De){return De.split(";").filter(function(We){return We}).map(function(We){return We.split(",").filter(function(it){return it}).map(function(it){return+it})})});if(LngLatVT.check(Be)){var Ce=[];return U==="Point"?Ce.push.apply(Ce,_toConsumableArray(Be.flat().map(function(De){return point(De)}))):U==="LingString"?Ce.push.apply(Ce,_toConsumableArray(Be.map(function(De){return lineString(De)}))):Ce.push.apply(Ce,_toConsumableArray(Be.map(function(De){return isEqual(first(De),last(De))||De.push(De[0]),polygon([De])}))),Ce}else throw new Error(Ve("import_btn.lnglat_import_btn.lNGLA"))};return{lngLatImportType:U,setLngLatImportType:Pe,lngLatText:_,setLngLatText:ae,importLngLatText:W}}},11615:function(we,se,o){"use strict";o.d(se,{fC:function(){return e},fN:function(){return Ye.f},Qp:function(){return Be},Yt:function(){return Ye.Y},Pp:function(){return vt},Di:function(){return it},Jk:function(){return ae},C2:function(){return We},oO:function(){return Se},bo:function(){return qe},gw:function(){return Oe},tI:function(){return ct},Ep:function(){return et},mr:function(){return Ce},IQ:function(){return _}});var pe=o(15009),p=o.n(pe),N=o(99289),c=o.n(N),te=o(97857),be=o.n(te),me=o(67135),Te=o(89597),ye=o.n(Te),ee=o(24928),re=o(10154),Me=o(27484),ue=o.n(Me),U=o(49360),Pe=o(55375),Ye=o(42649),Ve=o(935),vt=function(Q){var ie=(0,ee.length)(Q,{units:"meters"}),X=(0,Ve.Z)((0,ee.lineSliceAlong)(Q,0,ie/2,{units:"meters"}).geometry.coordinates);return(0,ee.point)(X)},ge=o(80520),_=function(Q){return Q.geometry.type.match(/polygon/i)&&(Q.geometry=JSON.parse(JSON.stringify(Q.geometry))),ge.Z.transform(Q,ge.Z.WGS84,ge.Z.GCJ02)},ae=function(Q){return Q.geometry.type.match(/polygon/i)&&(Q.geometry=JSON.parse(JSON.stringify(Q.geometry))),ge.Z.transform(Q,ge.Z.GCJ02,ge.Z.WGS84)},W=o(19632),K=o.n(W);function e(he){var Q=(0,ee.coordAll)(he).map(function(ie){return ie.join(",")}).join(";");return Q}function Be(he){var Q=he.split(` +`).filter(function(X){return X}).map(function(X){return X.split(";").filter(function(Y){return Y}).map(function(Y){return Y.split(",").filter(function(ke){return ke}).map(function(ke){return+ke})})});if(Pe.eG.check(Q)){var ie=[];return ie.push.apply(ie,K()(Q.flat().map(function(X){return(0,ee.point)(X)}))),ie}}var Ce=function(Q,ie){var X=JSON.parse(Q);if(Pe._9.check(X))return X.features;if(Array.isArray(X))return Pe.Iz.check(X)?X:Pe.xQ.check(X)?X.map(function(Y){return(0,ee.feature)(Y)}):(console.warn(ie("utils.transform.weiShiBieJS")),[]);if(Pe.u9.check(X))return[X];if(Pe.dw.check(X))return[(0,ee.feature)(X)]},De=function(Q,ie){var X=Color(Q).fade(ie);return"rgba(".concat(X.array().join(", "),")")},We=function(Q){var ie=(0,me.getSingleColorStyle)(Q);return Object.keys(ie).forEach(function(X){ie[X].options=be()(be()({},ie[X].options),{},{zIndex:Pe.QF})}),ie},it=function(Q,ie){var X=document.createElement("a");X.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(Q)),X.setAttribute("download","".concat(ue()().format("YYYY-MM-DD"),".").concat(ie)),X.style.display="none",document.body.appendChild(X),X.click()},Se=function(Q){var ie=new URLSearchParams(window.location.search);return ie.get(Q)},qe=function(){var he=c()(p()().mark(function Q(ie){var X,Y,ke,dt,mt,pt,gt,Tt,jt,rt=arguments;return p()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return X=rt.length>1&&rt[1]!==void 0?rt[1]:"GeoJSON",Y=rt.length>2?rt[2]:void 0,C.next=4,fetch(ie);case 4:if(ke=C.sent,X!=="GeoJSON"){C.next=18;break}return C.prev=6,C.next=9,ke.json();case 9:return dt=C.sent,C.abrupt("return",dt);case 13:throw C.prev=13,C.t0=C.catch(6),new Error(Y("utils.index.qingJianChaUR"));case 16:C.next=43;break;case 18:if(X!=="WKT"){C.next=30;break}return C.next=21,ke.text();case 21:if(mt=C.sent,pt=(0,Ye.Y)(mt),!Pe._9.check(pt)){C.next=27;break}return C.abrupt("return",pt);case 27:re.ZP.error(Y("utils.index.qingJianChaUR"));case 28:C.next=43;break;case 30:if(X!=="KML"){C.next=43;break}return C.next=33,ke.text();case 33:if(gt=C.sent,Tt=new DOMParser().parseFromString(gt,"text/xml"),!(Tt.getElementsByTagName("parsererror").length>0)){C.next=39;break}re.ZP.error(Y("utils.index.qingJianChaUR")),C.next=43;break;case 39:return C.next=41,ye().kml(Tt,{style:!0});case 41:return jt=C.sent,C.abrupt("return",jt);case 43:case"end":return C.stop()}},Q,null,[[6,13]])}));return function(ie){return he.apply(this,arguments)}}(),ct=function(Q){return!(0,U.Z)(Q)&&Q instanceof Promise},Oe=function(Q){var ie,X=(ie=Q.properties)===null||ie===void 0?void 0:ie[Pe.AQ.DrawType];if(X==="circle")return!0;var Y=(0,ee.center)(Q).geometry.coordinates,ke=(0,ee.coordAll)(Q).map(function(dt){return Math.round((0,ee.distance)(dt,Y,{units:"meters"}))});return Array.from(new Set(ke)).length===1},et=function(Q){var ie,X=(ie=Q.properties)===null||ie===void 0?void 0:ie[Pe.AQ.DrawType];if(X==="rect")return!0;var Y=(0,ee.coordAll)(Q);if(Y.length!==5)return!1;var ke=(0,ee.distance)(Y[0],Y[1],{units:"meters"}).toFixed(0),dt=(0,ee.distance)(Y[1],Y[2],{units:"meters"}).toFixed(0),mt=(0,ee.distance)(Y[2],Y[3],{units:"meters"}).toFixed(0),pt=(0,ee.distance)(Y[3],Y[4],{units:"meters"}).toFixed(0);if(ke===mt&&dt===pt){var gt=Math.round((0,ee.bearing)(Y[0],Y[3])-(0,ee.bearing)(Y[0],Y[1]));return gt===90||gt===270}return!1}},12510:function(we,se,o){"use strict";o.d(se,{X:function(){return te}});var pe=o(73945),p=o.n(pe),N=o(28182),c=o.n(N);function te(be){var me=be.content,Te=be.parser,ye=Te===void 0?"json":Te,ee=me;typeof me!="string"&&(ee=JSON.stringify(me,null,2));var re=p().format(ee,{parser:ye==="json"?ye:"babel",plugins:[c()]});return re}},42649:function(we,se,o){"use strict";o.d(se,{Y:function(){return te},f:function(){return c}});var pe=o(24928),p=o(41545),N=o.n(p);function c(be){return be.features.map(function(me){return(0,p.stringify)(me.geometry)}).join(";").replaceAll(" (","(").replaceAll(", ",",")}function te(be){var me=(0,pe.featureCollection)([]);return be.split(/[;\n]/g).forEach(function(Te){if(Te){var ye=(0,p.parse)(Te);ye&&me.features.push((0,pe.feature)(ye,{}))}}),me}},20067:function(){}}]); diff --git a/714.e4aa5179.async.js b/714.e4aa5179.async.js deleted file mode 100644 index 4b4b26c..0000000 --- a/714.e4aa5179.async.js +++ /dev/null @@ -1,640 +0,0 @@ -(self.webpackChunk_antv_l7_editor=self.webpackChunk_antv_l7_editor||[]).push([[714],{37382:function(){window._iconfont_svg_string_3567033='',function(Ze){var o=(o=document.getElementsByTagName("script"))[o.length-1],le=o.getAttribute("data-injectcss"),o=o.getAttribute("data-disable-injectsvg");if(!o){var fe,p,N,c,ae,be=function(q,re){re.parentNode.insertBefore(q,re)};if(le&&!Ze.__iconfont__svg__cssinject__){Ze.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(ge){console&&console.log(ge)}}fe=function(){var q,re=document.createElement("div");re.innerHTML=Ze._iconfont_svg_string_3567033,(re=re.getElementsByTagName("svg")[0])&&(re.setAttribute("aria-hidden","true"),re.style.position="absolute",re.style.width=0,re.style.height=0,re.style.overflow="hidden",re=re,(q=document.body).firstChild?be(re,q.firstChild):q.appendChild(re))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(fe,0):(p=function(){document.removeEventListener("DOMContentLoaded",p,!1),fe()},document.addEventListener("DOMContentLoaded",p,!1)):document.attachEvent&&(N=fe,c=Ze.document,ae=!1,Ee(),c.onreadystatechange=function(){c.readyState=="complete"&&(c.onreadystatechange=null,ve())})}function ve(){ae||(ae=!0,N())}function Ee(){try{c.documentElement.doScroll("left")}catch(ge){return void setTimeout(Ee,50)}ve()}}(window)},84731:function(Ze,le,o){"use strict";o.d(le,{B:function(){return c}});var fe=o(24928),p=o(78683),N=o(23978);function c(ae,be,ve){var Ee=ae.getWordUntilPosition(be),ge={startLineNumber:be.lineNumber,endLineNumber:be.lineNumber,startColumn:Ee.startColumn,endColumn:Ee.endColumn},q=[];if(ve==="turf")for(var re in fe){var Ie={label:re,kind:N.languages.CompletionItemKind.Function,documentation:fe[re].toString(),insertText:re,range:ge};q.push(Ie)}else q=p.Z.chain(p.Z).keys().map(function(ue){return{label:ue,kind:N.languages.CompletionItemKind.Function,insertText:ue,range:ge}}).value();return{suggestions:q}}},56550:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{i:function(){return GeoJsonEditor}});var _Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(97857),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(15009),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(99289),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5574),_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__),ahooks__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(36306),ahooks__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(58580),ahooks__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(78234),ahooks__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(77598),monaco_editor_esm_vs_editor_editor_api__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(23978),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(67294),react_i18next__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(67421),react_monaco_editor__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(2302),_recoil__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(32865),_utils__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(11615),_utils_prettier_text__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(12510),_editortool__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(84731),_styles__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(28804),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(85893),GeoJsonEditor=(0,react__WEBPACK_IMPORTED_MODULE_5__.forwardRef)(function(props,ref){var _useSize,_props$language=props.language,language=_props$language===void 0?"json":_props$language,_useGlobal=(0,_recoil__WEBPACK_IMPORTED_MODULE_8__.Og)(),theme=_useGlobal.theme,autoFitBounds=_useGlobal.autoFitBounds,_useFeature=(0,_recoil__WEBPACK_IMPORTED_MODULE_8__.SS)(),editorText=_useFeature.editorText,setEditorText=_useFeature.setEditorText,saveEditorText=_useFeature.saveEditorText,bboxAutoFit=_useFeature.bboxAutoFit,_useState=(0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(""),_useState2=_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState,2),scriptContent=_useState2[0],setScriptContent=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(null),_useState4=_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState3,2),container=_useState4[0],setContainer=_useState4[1],_ref=(_useSize=(0,ahooks__WEBPACK_IMPORTED_MODULE_14__.Z)(container))!==null&&_useSize!==void 0?_useSize:{},_ref$width=_ref.width,width=_ref$width===void 0?0:_ref$width,_ref$height=_ref.height,height=_ref$height===void 0?0:_ref$height,styles=(0,_styles__WEBPACK_IMPORTED_MODULE_12__.Z)(),_useState5=(0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(""),_useState6=_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState5,2),geoJonText=_useState6[0],setGeoJonText=_useState6[1],debouncedGeoJsonText=(0,ahooks__WEBPACK_IMPORTED_MODULE_15__.Z)(geoJonText,{wait:2e3}),_useTranslation=(0,react_i18next__WEBPACK_IMPORTED_MODULE_6__.$G)(),t=_useTranslation.t;monaco_editor_esm_vs_editor_editor_api__WEBPACK_IMPORTED_MODULE_4__.languages.registerDocumentFormattingEditProvider(language,{provideDocumentFormattingEdits:function(le){return[{range:le.getFullModelRange(),text:(0,_utils_prettier_text__WEBPACK_IMPORTED_MODULE_10__.X)({content:le.getValue(),parser:language})}]}}),(0,ahooks__WEBPACK_IMPORTED_MODULE_16__.Z)(function(){monaco_editor_esm_vs_editor_editor_api__WEBPACK_IMPORTED_MODULE_4__.editor.defineTheme("custome-theme",{base:"vs",inherit:!0,rules:[{token:t("geojson_editor.index.tiaoShi"),foreground:"959595"},{token:t("geojson_editor.index.tongZhi"),foreground:"00b4ff"},{token:t("geojson_editor.index.jingGao"),foreground:"fff000"},{token:t("geojson_editor.index.cuoWu"),foreground:"ff0000"},{token:t("geojson_editor.index.bengKui"),foreground:"c30209"},{token:t("geojson_editor.index.xinXi"),foreground:"ffffff"}],colors:{"editor.background":"#fafafa","editorLineNumber.foreground":"#222222","editor.lineHighlightBackground":"#f4f4f4"}}),monaco_editor_esm_vs_editor_editor_api__WEBPACK_IMPORTED_MODULE_4__.languages.registerCompletionItemProvider(language,{provideCompletionItems:function(le,o){return(0,_editortool__WEBPACK_IMPORTED_MODULE_11__.B)(le,o,"lodash")}}),monaco_editor_esm_vs_editor_editor_api__WEBPACK_IMPORTED_MODULE_4__.languages.registerCompletionItemProvider(language,{provideCompletionItems:function(le,o){return(0,_editortool__WEBPACK_IMPORTED_MODULE_11__.B)(le,o,"turf")}})});var monacoChange=function(le){if(language==="json"){setEditorText(le),setGeoJonText(le);return}setScriptContent==null||setScriptContent(le)};(0,react__WEBPACK_IMPORTED_MODULE_5__.useImperativeHandle)(ref,function(){return{getData:function getData(){return new Promise(function(){var _ref2=_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()(_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(resolve,reject){var geoData,funcResult,evalResult;return _Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(funcResult=new Function(scriptContent),!funcResult()){_context.next=5;break}geoData=funcResult(),_context.next=14;break;case 5:if(evalResult=eval(scriptContent),!(0,_utils__WEBPACK_IMPORTED_MODULE_9__.tI)(evalResult)){_context.next=12;break}return _context.next=9,evalResult;case 9:_context.t0=_context.sent,_context.next=13;break;case 12:_context.t0=evalResult;case 13:geoData=_context.t0;case 14:geoData?resolve(geoData):reject(t("geojson_editor.index.jiaoBenShuJuYou"));case 15:case"end":return _context.stop()}},_callee)}));return function(Ze,le){return _ref2.apply(this,arguments)}}())}}},[scriptContent,t]),(0,ahooks__WEBPACK_IMPORTED_MODULE_17__.Z)(function(){var Ze=saveEditorText();autoFitBounds&&bboxAutoFit(Ze)},[debouncedGeoJsonText]);var value=(0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(function(){return language==="javascript"?{}:{value:editorText}},[language,editorText]);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div",{ref:setContainer,className:styles.appEditor,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(react_monaco_editor__WEBPACK_IMPORTED_MODULE_7__.ZP,_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_Users_yanxiong_Desktop_l7_editor_node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({width,height,language},value),{},{onChange:monacoChange,theme:theme==="dark"?"vs-dark":"custome-theme",options:{selectOnLineNumbers:!0,tabIndex:2,tabSize:2,folding:!0,fontSize:13,mouseStyle:"text",foldingStrategy:"indentation",scrollBeyondLastLine:!1,foldingMaximumRegions:Number.MAX_SAFE_INTEGER,suggest:{showKeywords:!0}}}))})})},28804:function(Ze,le,o){"use strict";var fe=o(68400),p=o.n(fe),N=o(68479),c,ae=function(){return{appEditor:(0,N.iv)(c||(c=p()([` - width: 100%; - height: 100%; - position: relative; - .react-monaco-editor-container { - width: 100%; - height: 100%; - } - `])))}};le.Z=ae},55375:function(Ze,le,o){"use strict";o.d(le,{AF:function(){return Ie},AQ:function(){return ve},Fe:function(){return N},IZ:function(){return ge},Iz:function(){return fe.Iz},K6:function(){return be},QF:function(){return q},_9:function(){return fe._9},ay:function(){return re},d7:function(){return c},dY:function(){return ue},dw:function(){return fe.dw},eG:function(){return fe.eG},s3:function(){return Ee},u9:function(){return fe.u9},xQ:function(){return fe.xQ},yc:function(){return p}});var fe=o(50599),p=[20,80],N=function(G){return G.RightPanelWidth="RightPanelWidth",G.MapOptions="MapOptions",G.LayerColor="LayerColor",G.HideEditor="HideEditor",G.EditorText="EditorText",G.PopupTrigger="PopupTrigger",G.ActiveRightTabKey="ActiveRightTabKey",G.AutoFitBounds="AutoFitBounds",G.BaseMap="BaseMap",G.officialLayers="officialLayers",G.WktText="WktText",G.Convert="Convert",G.theme="theme",G.cityHistory="cityHistory",G.showTextLayer="showTextLayer",G.textLayerFields="textLayerFields",G.locale="locale",G.firstOpening="firstOpening",G.wasmPath="wasmPath",G.customTiles="customTiles",G}({}),c=function(G){return G.PointLayer="PointLayer",G.LineLayer="LineLayer",G.PolygonLayer="PolygonLayer",G}({}),ae="https://mdn.alipayobjects.com/huamei_baaa7a/afts/img/A*mvwjR5RwS9QAAAAAAAAAAAAADqSCAQ/original",be="#1677ff",ve={Index:Symbol("index"),DrawType:Symbol("drawType"),IsEdit:Symbol("isEdit")},Ee={token:"pk.eyJ1IjoibGl1dmlnb25nenVvc2hpIiwiYSI6ImNsaGs2czBrcTBvczUzbnFzOHU0dzk2ZWQifQ.hVvTgcbg_Ym-VQz36psLRg"},ge={token:"5ae4492ef912cbbc93034fea0e66ff2a"},q=100,re="https://gac-geo.googlecnapps.cn/maps/vt?lyrs=s&gl=CN&x={x}&y={y}&z={z}",Ie="https://gac-geo.googlecnapps.cn/maps/vt?lyrs=h&gl=CN&x={x}&y={y}&z={z}",ue=function(G){return G.GoogleSatellite="googleSatellite",G.VectorMap="vectorMap",G}({})},50599:function(Ze,le,o){"use strict";o.d(le,{Iz:function(){return Ee},_9:function(){return ge},dw:function(){return ae},eG:function(){return q},u9:function(){return ve},xQ:function(){return be}});var fe=o(5574),p=o.n(fe),N=o(17099),c=o.n(N),ae=c().shape({type:c().in(["Point","LineString","Polygon","MultiPoint","MultiLineString","MultiPolygon"]),coordinates:c().array}),be=c().arrayOf(ae),ve=c().shape({type:c().in(["Feature"]),properties:c().or([c().object,c().null,c().undefined]),geometry:ae}),Ee=c().arrayOf(ve),ge=c().shape({type:c().in(["FeatureCollection"]),features:c().arrayOf(ve)}),q=c().arrayOf(c().arrayOf(c().and([c().arrayOf(c().number),c().apply(function(re){if(re.length===2){var Ie=p()(re,2),ue=Ie[0],G=Ie[1];return ue>=-180&&ue<=180&&G<=90&&G>=-90}return!1})])))},39610:function(Ze,le,o){"use strict";o.r(le),o.d(le,{AppTable:function(){return Hn},GeoJsonEditor:function(){return ln.i},L7Editor:function(){return Hi},LngLatEditor:function(){return mo},WktEditor:function(){return da}});var fe=o(97857),p=o.n(fe),N=o(5574),c=o.n(N),ae=o(60219),be=o(75932),ve=o(78588),Ee=o(1210),ge=o(38854),q=o(65868),re=o(96074),Ie=o(78957),ue=o(61781),G=o(15867),Pe=o(83159),Ye=o(55241),He=o(93531),dt=o(94184),me=o.n(dt),h=o(67294),te=o(67421),J=o(55375),U=o(32865),e=o(85893),Re=function(n){return(0,e.jsx)("span",{id:n.id,role:"img",style:n.style,className:me()(["anticon",n.className]),children:(0,e.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false",className:"",children:(0,e.jsx)("use",{xlinkHref:"#".concat(n.type)})})})},Ce=o(34041),Le=Ce.Z.Option,ze=function(){var n=(0,U.Og)(),i=n.baseMap,r=n.setBaseMap,a=n.setMapOptions,l=n.mapOptions,s=n.theme,u=n.setCoordConvert,f=(0,te.$G)(),d=f.t,C=[{img:"https://mdn.alipayobjects.com/huamei_k6sfo0/afts/img/A*POJeRJzjdNAAAAAAAAAAAAAADjWqAQ/original",label:d("btn.setting_btn.gaoDe"),value:"Gaode"},{img:"https://mdn.alipayobjects.com/huamei_k6sfo0/afts/img/A*-G-sT4L_sNoAAAAAAAAAAAAADjWqAQ/original",label:"Mapbox",value:"Mapbox"}],_=function(E){r(E),a(p()(p()({},l),{},{style:s==="dark"?"dark":"normal"})),u(E==="Gaode"?"GCJ02":"WGS84"),E!==i&&location.reload()};return(0,e.jsx)(Ce.Z,{style:{width:"120px"},bordered:!1,defaultValue:i,onChange:_,children:C.map(function(b){return(0,e.jsx)(Le,{value:b.value,label:b.label,children:(0,e.jsxs)(Ie.Z,{children:[(0,e.jsx)("span",{style:{display:"flex"},children:(0,e.jsx)("img",{src:b.img,alt:"",style:{height:15,width:15}})}),(0,e.jsx)("span",{children:b.label})]})},b.value)})})},it=o(85060),Se=o(24928),qe=o(12816),lt=o.n(qe),ye=o(11615),Ne=o(12510),je=o(42649),X=function(){var n=(0,U.SS)(),i=n.editorText,r=n.fc,a=(0,te.$G)(),l=a.t,s=function(d){if(d==="GeoJson")(0,ye.Di)(JSON.stringify(r),"json");else if(d==="FormatGeoJson"){var C=(0,Ne.X)({content:r});(0,ye.Di)(C,"json")}else if(d==="LngLat")(0,ye.Di)((0,Se.coordAll)(r).map(function(b){return b.join(",")}).join(";"),"txt");else if(d==="KML"){var _=lt()(r);(0,ye.Di)(_,"kml")}else d==="WKT"?(0,ye.Di)((0,je.f)(r),"wkt"):(0,ye.Di)(i,"json")},u=[{key:"GeoJson",label:l("app_header.constants.xiaZaiGEO")},{key:"LngLat",label:l("app_header.constants.xiaZaiLNG")},{key:"KML",label:l("app_header.constants.xiaZaiKML")},{key:"WKT",label:l("app_header.constants.xiaZaiWKT")}];return(0,e.jsx)(Pe.Z,{menu:{items:u,onClick:function(d){var C=d.key;s(C)}},children:(0,e.jsx)(G.ZP,{id:"l7-editor-download",icon:(0,e.jsx)(it.Z,{}),children:l("btn.download_btn.xiaZai")})})},ne=X,Y=o(63783),se=function(){var m=(0,te.$G)(),n=m.t,i=function(l){l==="guide"?window.open("/guide"):l==="api"?window.open("/docs"):l==="issue"&&window.open("https://github.com/antvis/L7Editor/issues/new")},r=[{key:"guide",label:n("app_header.constants.pingTaiShiYongWen")},{key:"api",label:n("app_header.constants.zuJianAPI")},{key:"issue",label:n("app_header.constants.issue")}];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Pe.Z,{menu:{items:r,onClick:function(l){var s=l.key;i(s)}},placement:"bottom",children:(0,e.jsx)(G.ZP,{icon:(0,e.jsx)(Y.Z,{}),children:n("btn.handback_btn.bangZhu")})})})},We=o(18253),st=o(82925),pt=o(36609),ut=o(15059),ft={"btn.download_btn.xiaZai":"Download","btn.handback_btn.lianXiWoMen":"Contact Us","btn.handback_btn.bangZhu":"Help","btn.setting_btn.guanBi":"Close","btn.setting_btn.kaiQi":"Open","btn.setting_btn.shiFouZhanShiYuan":"Display serial number on layer","btn.setting_btn.gaoDe":"Gaode","btn.setting_btn.diTuDiTuQie":"Switch base map","btn.setting_btn.ziDongSuoFangZhi":"Auto zoom to all elements visible","btn.setting_btn.huaRu":"Mouse on","btn.setting_btn.dianJi":"Click","btn.setting_btn.tuCengQiPaoZhan":"Display mode of layer popup","btn.setting_btn.quXiao":"Cancel","btn.setting_btn.queRen":"Confirm","btn.setting_btn.sheZhi":"Setting","btn.setting_btn.diTuSheZhi":"Map Setting","import_btn.file_upload.jinZhiChiJS":"Only files with. json, .geojson, .wkt, .csv, .xlsx, .xls and. kml suffixes are supported","import_btn.file_upload.wenJianShangChuan":"File Upload","import_btn.file_upload.wenJianShangChuan2":"File upload:","import_btn.file_upload.qingJianChaShuJu":"Please check the data format","import_btn.file_upload.qingShanChuBaoCuo":"Please delete the error file","import_btn.file_upload.qingTianJiaWenJian":"Please add file","import_btn.file_upload.shuJuGeShiBu":"Data format mismatch","import_btn.index.zhuiJia":"Append","import_btn.index.fuGai":"Cover","import_btn.index.shuJuCaoZuo":"Data manipulation","import_btn.index.shangChuan":"Upload","import_btn.index.shangChuanShuJu":"Upload data","import_btn.index.jAVAS":"JavaScript script","import_btn.index.uRLShangChuan":"URL upload","import_btn.lnglat_import_btn.qingShuRuLianXu":"Please enter consecutive latitude and longitude separated by symbols, for example: 120.85,30.26;130.85,31.21","import_btn.lnglat_import_btn.shuJuNeiRong":"Data Content","import_btn.lnglat_import_btn.shuJuLeiXing":"Data Type","import_btn.lnglat_import_btn.lNGLA":"LngLat import failed","import_btn.lnglat_import_btn.qingShuRuJingWei":"Please enter latitude and longitude","import_btn.lnglat_import_btn.mian":"Polygon","import_btn.lnglat_import_btn.xian":"Line","import_btn.lnglat_import_btn.dian":"Point","import_btn.url_upload.uRLDiZhi":"URL:","import_btn.url_upload.shuJuLeiXing":"Data Type:","import_btn.url_upload.qingShuRuWenBen":"Please enter text content","import_btn.url_upload.shuJuGeShiCuo":"Data format error, please select the correct data type","app_header.constants.keYiTongGuoBiao":"Table can be used to display the fields in the properties object in the modification and deletion GeoJSON data.","app_header.constants.biaoGe":"Table","app_header.constants.keYiTongGuoW":"WKT data can be modified through the WKT editor","app_header.constants.wKTBianJi":"WKT Editor","app_header.constants.keYiTongGuoBian":"GeoJSON data can be modified by editor","app_header.constants.gEOJS":"GeoJSON Editor","app_header.constants.keXuanZeBuTong":"Choice of official layer configurations for different maps","app_header.constants.guanFangTuCeng":"Official Layer","app_header.constants.xuanZeBuTongZhu":"Select a different theme color to modify the map rendering theme color","app_header.constants.zhuTiSe":"Theme color","app_header.constants.xuanZeYanSeLai":"Select color to modify map rendering color","app_header.constants.yanSeXuanZeQi":"Color Picker","app_header.constants.dianJiZiDongSuo":"Click the Auto Zoom button to map the GeoJSON data location that will be automatically zoomed","app_header.constants.ziDongSuoFang":"Auto Zoom","app_header.constants.keGenJuShuJu":"You can filter the required data based on the properties in the data","app_header.constants.shaiXuan":"Filter","app_header.constants.dianJiQingChuAn":"Click the Clear button to GeoJSON the data will be empty (the Clear button will be grayed out in the Empty state)","app_header.constants.qingChu":"Clear","app_header.constants.keYiJiHuoDi":"Can activate new GeoJSON elements for mapping","app_header.constants.huiZhiPNG":"Draw. png","app_header.constants.huiZhi":"Draw","app_header.constants.souSuoChengShiHou":"After searching the city, you can quickly locate and move to the corresponding city center point.","app_header.constants.chengShiChaXun":"City Query","app_header.constants.keYiKuaiSuXuan":"Can quickly select the administrative region of the provinces, cities and counties","app_header.constants.xingZhengQuXuanZe":"Administrative Region Selector","app_header.constants.dianJiKeQieHuan":"Click to switch between different theme colors","app_header.constants.zhuTi":"Theme","app_header.constants.yongHuKeSheZhi":"User can set some initialization configuration","app_header.constants.dianJiXiaZaiKe":"Click Download to download the GeoJSON data to the specified data format","app_header.constants.shiYongCTR":"Use the Ctrl/Command S shortcut key, or click the save button to render data (the save button is grayed out in the saved state)","app_header.constants.baoCun":"Save","app_header.constants.shangChuanPNG":"Upload. png","app_header.constants.shangChuanGEO":"Upload GeoJSON data","app_header.constants.diTuShangChaKan":"View rendering effects on the map","app_header.constants.xuanRan":"Rendering","app_header.constants.bianJiQi":"Editor","app_header.constants.quanGongNengShiYong":"Full Guide","app_header.constants.pingTaiJiChuShi":"Basic Guide","app_header.constants.xiaZaiWKT":"Download WKT format data","app_header.constants.xiaZaiKML":"Download KML format data","app_header.constants.xiaZaiLNG":"Download LngLat format data","app_header.constants.xiaZaiGEO":"Download GeoJSON format data","app_header.constants.zuJianAPI":"Component API Documentation","app_header.constants.pingTaiShiYongWen":"Platform Usage Documentation","app_header.constants.issue":"Quick Issue","app_header.index.an":"Dark","app_header.index.liang":"Light","app_header.index.yinDao":"Guide","app_header.index.baoCunShuJu":"Save Data","app_table.index.dangQianShuJuWu":"No fields","app_table.index.shanChu":"Delete","app_table.index.shuJuShanChuCheng":"Data deleted successfully","app_table.index.caoZuo":"Operation","app_table.index.xuHao":"Serial number","app_table.index.shanChuLie":"Confirm to delete this column of data?","app_table.index.tianJiaLieZiDuan":"Add Column Field","app_table.index.ziDuanMing":"Field Name:","app_table.index.qingShuRuLieZiDuan":"Please enter a column field","geojson_editor.index.jiaoBenShuJuYou":"Wrong script data","geojson_editor.index.xinXi":"Information","geojson_editor.index.bengKui":"Crash","geojson_editor.index.cuoWu":"Error","geojson_editor.index.jingGao":"Warning","geojson_editor.index.tongZhi":"Notifications","geojson_editor.index.tiaoShi":"Debugging","layer_popup.index.gengGaiHuiZhi":"Edit","layer_popup.index.mULTI":"GeoJSON of type Multi does not support editing","layer_popup.index.dangQianYuanSuWu":"Current element has no fields","layer_popup.index.tianJiaZiDuan":"Add Field","map_content.index.zuoBiaoXi":"Geographic Coordinate System","administrative_select_control.index.xingZhengQuHuaLi":"Historical records of administrative divisions","administrative_select_control.index.keXuanZeShengShi":"Province/City/County","administrative_select_control.index.weiLanShuJuQing":"Fence data request failed","auto_control.index.ziDongSuoFangZhi":"Auto zoom to data","clear_control.index.queRenQingKongSuo":"Confirm to clear all data?","filter_form_list_control.index.shuJuGuoLu":"Data Filtering","filter_form_list_control.index.tianJiaShaiXuanTiao":"Add Filter Condition","filter_form_list_control.index.qingXuanZeZiDuan":"Please select a field","filter_form_list_control.index.huoZhe":"or","filter_form_list_control.index.bingQie":"and","filter_form_list_control.numberFilter.qingShuRuShaiXuan":"Please enter a filter value","filter_form_list_control.numberFilter.qingXuanZeGuoLu":"Please select filtering logic","filter_form_list_control.numberFilter.quJian":"Interval","filter_form_list_control.stringFilter.qingXuanZeShaiXuan":"Please select a filter","filter_form_list_control.stringFilter.buPiPei":"No match","filter_form_list_control.stringFilter.piPei":"Match","filter_form_list_control.stringFilter.buBaoHan":"No contain","filter_form_list_control.stringFilter.baoHan":"Contains","layer_color_control.index.changYongYanSe":"Common color","layer_color_control.index.tuCengYanSeXuan":"Layer Color Picker","location_search_control.index.tianJiaZhiShuJu":"Add to Data","location_search_control.location_search.qingShuRuYaoSou":"Please enter a place name to search","official_layer_control.index.guGeWeiXingTu":"Google Remote Sensing Maps","official_layer_control.index.shiLiangDiTu":"Vector Map","save_map_options_control.index.baoCunDiTuZhuang":"Save Map Status","save_map_options_control.index.diTuZhuangTaiBao":"Map status saved successfully","wkt_editor.index.shuRuWKT":"Points, lines and polygons in the input WKT format can be identified. Please use ; to separate multiple data, such\uFF1APOINT(120.104013 30.262134);POINT(120.104033 30.262164)","pages.index.qingYongPCDuan":"Please use PC","recoil.feature.shuJuJiaZaiYou":"Data loading error","utils.index.qingJianChaUR":"Please check whether the url matches the data format","utils.transform.weiShiBieJS":"Unrecognized JSON array type","utils.upload.wenJianJieXiShi":"File parsing failed, please check the file type.","app_header.index.zhutiqiehuan":"Theme change","app_header.index.dingTalk":"DingTalk Group","app_table.index.dingWei":"Location","import_btn.file_upload.wenJian":"File","import_btn.file_upload.ciZiDuanFeiDiLiZiDuan":"This field is not geographic field","import_btn.file_upload.dianJiHuoJiangWenJian":"Click or drag the file here.","import_btn.file_upload.diLiZiDuanXuanZe":"Geographical field selection","import_btn.file_upload.dangQianJinZhiChi":"only WKT and Geometry data are supported.","layer_contextmenu_popup.fuZhiChengGong":"Copy success","layer_contextmenu_popup.fuZhi":"Copy","map_control_group.sam.jiSuanWanCheng":"After the identification of the plot area is completed, click the map in the red area to select the plot, and click the button again to close the intelligent identification of the plot.","map_control_group.sam.jiSuanShiBai":"Failed to identify the area of the plot. Please resize the map and re-identify the plot area.","map_control_group.sam.tuXingJieXiCuoWu":"Parcel parsing error, please reselect","map_control_group.sam.qingZaiQuYuNei":"Please select within the parcel boundary","map_control_group.sam.zhiNengXuanZe":"Block intelligent identification","map_control_group.sam.ziDongShiBie":"Plot Identification Area Boundary","map_control_group.sam.zhiNengShiBieGuanBi":"Block intelligent identification function is turned off","map_control_group.sam.diKuaiShiBieShiBei":"\u5730\u5757\u667A\u80FD\u8BC6\u522B\u6A21\u578B\u52A0\u8F7D\u5931\u8D25","map_contorl_group.draw.draw":"Click to start drawing","map_contorl_group.draw.drawContinue":"Click to continue drawing","map_contorl_group.draw.drawFinish":"Click to continue drawing, double-click to end drawing","map_contorl_group.draw.pontHover":"Drag and Drop to Adjust Node Position","map_contorl_group.draw.midPointHover":"Click to add a node at this location","map_contorl_group.draw.lineHover":"Drag and Drop to Adjust Surface Position","official_layer_control.index.mingChengChongFu":"Duplicate name, please modify the name","official_layer_control.index.shanChuDiTu":"Delete current base map","official_layer_control.index.tianJiaDitu":"Add Tile Layer","official_layer_control.index.name":"name","official_layer_control.index.addName":"Please enter a name","official_layer_control.index.shiLiTuPian":"Sample Picture","official_layer_control.index.tuCengDiZhi":"Layer Address","official_layer_control.index.qiShuRutuCengDiZhi":"Please enter a layer address","official_layer_control.index.tinJiaWaPian":"Add Tile Layer Address","official_layer_control.index.kongGe":"Input cannot be a space!","official_layer_control.index.shangchuan":"Please upload pictures","text-layer-control_wenBenBiaoZhu":"Text callout layer configuration","text-layer-control_shiFouZhanShiTuCeng":"Show layer","text-layer-control_zhanShiZiDuan":"Show Fields","text-layer-control_buXuan":"If not selected, the element serial number will be displayed by default.","text-layer-control_wenBenTuCengPeiZhi":"Text Layer Configuration","text-layer-control_description":"Open the text layer configuration, you can display the serial number of all the current data, you can also use the multi-select box to properties fields in the data to select different data for display."},St={"btn.download_btn.xiaZai":"\u4E0B\u8F7D","btn.handback_btn.lianXiWoMen":"\u8054\u7CFB\u6211\u4EEC","btn.handback_btn.bangZhu":"\u5E2E\u52A9","btn.setting_btn.guanBi":"\u5173\u95ED","btn.setting_btn.kaiQi":"\u5F00\u542F","btn.setting_btn.shiFouZhanShiYuan":"\u662F\u5426\u5C55\u793A\u5143\u7D20\u5E8F\u53F7","btn.setting_btn.gaoDe":"\u9AD8\u5FB7","btn.setting_btn.diTuDiTuQie":"\u5730\u56FE\u5E95\u56FE\u5207\u6362","btn.setting_btn.ziDongSuoFangZhi":"\u81EA\u52A8\u7F29\u653E\u81F3\u6240\u6709\u5143\u7D20\u53EF\u89C1","btn.setting_btn.huaRu":"\u5212\u5165","btn.setting_btn.dianJi":"\u70B9\u51FB","btn.setting_btn.tuCengQiPaoZhan":"\u56FE\u5C42\u6C14\u6CE1\u5C55\u793A\u65B9\u5F0F","btn.setting_btn.quXiao":"\u53D6\u6D88","btn.setting_btn.queRen":"\u786E\u8BA4","btn.setting_btn.sheZhi":"\u8BBE\u7F6E","btn.setting_btn.diTuSheZhi":"\u5730\u56FE\u8BBE\u7F6E","import_btn.file_upload.jinZhiChiJS":"\u4EC5\u652F\u6301.json, .geojson, .wkt, .kml, .csv, .xlsx, .xls\u540E\u7F00\u7684\u6587\u4EF6","import_btn.file_upload.wenJianShangChuan":"\u6587\u4EF6\u4E0A\u4F20","import_btn.file_upload.wenJianShangChuan2":"\u6587\u4EF6\u4E0A\u4F20 :","import_btn.file_upload.qingJianChaShuJu":"\u8BF7\u68C0\u67E5\u6570\u636E\u683C\u5F0F","import_btn.file_upload.qingShanChuBaoCuo":"\u8BF7\u5220\u9664\u62A5\u9519\u6587\u4EF6","import_btn.file_upload.qingTianJiaWenJian":"\u8BF7\u6DFB\u52A0\u6587\u4EF6","import_btn.file_upload.shuJuGeShiBu":"\u6570\u636E\u683C\u5F0F\u4E0D\u5339\u914D","import_btn.index.zhuiJia":"\u8FFD\u52A0","import_btn.index.fuGai":"\u8986\u76D6","import_btn.index.shuJuCaoZuo":"\u6570\u636E\u64CD\u4F5C","import_btn.index.shangChuan":"\u4E0A\u4F20","import_btn.index.shangChuanShuJu":"\u4E0A\u4F20\u6570\u636E","import_btn.index.jAVAS":"JavaScript\u811A\u672C","import_btn.index.uRLShangChuan":"URL\u4E0A\u4F20","import_btn.lnglat_import_btn.qingShuRuLianXu":"\u8BF7\u8F93\u5165\u8FDE\u7EED\u7684\u7ECF\u7EAC\u5EA6\u5E76\u7528\u7B26\u53F7\u9694\u5F00\uFF0C\u4F8B\u5982\uFF1A120.85,30.26;130.85,31.21","import_btn.lnglat_import_btn.shuJuNeiRong":"\u6570\u636E\u5185\u5BB9","import_btn.lnglat_import_btn.shuJuLeiXing":"\u6570\u636E\u7C7B\u578B","import_btn.lnglat_import_btn.lNGLA":"LngLat \u5BFC\u5165\u5931\u8D25","import_btn.lnglat_import_btn.qingShuRuJingWei":"\u8BF7\u8F93\u5165\u7ECF\u7EAC\u5EA6","import_btn.lnglat_import_btn.mian":"\u9762","import_btn.lnglat_import_btn.xian":"\u7EBF","import_btn.lnglat_import_btn.dian":"\u70B9","import_btn.url_upload.uRLDiZhi":"URL\u5730\u5740 :","import_btn.url_upload.shuJuLeiXing":"\u6570\u636E\u7C7B\u578B :","import_btn.url_upload.qingShuRuWenBen":"\u8BF7\u8F93\u5165\u6587\u672C\u5185\u5BB9","import_btn.url_upload.shuJuGeShiCuo":"\u6570\u636E\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u6570\u636E\u7C7B\u578B","app_header.constants.keYiTongGuoBiao":"\u53EF\u4EE5\u901A\u8FC7\u8868\u683C\u6765\u5C55\u793A\u4FEE\u6539\u5220\u9664GeoJSON \u6570\u636E\u4E2D\u7684properties\u5BF9\u8C61\u4E2D\u7684\u5B57\u6BB5","app_header.constants.biaoGe":"\u8868\u683C","app_header.constants.keYiTongGuoW":"\u53EF\u4EE5\u901A\u8FC7WKT\u7F16\u8F91\u5668\u4FEE\u6539 WKT \u6570\u636E","app_header.constants.wKTBianJi":"WKT\u7F16\u8F91\u5668","app_header.constants.keYiTongGuoBian":"\u53EF\u4EE5\u901A\u8FC7\u7F16\u8F91\u5668\u4FEE\u6539 GeoJSON \u6570\u636E","app_header.constants.gEOJS":"GeoJSON\u7F16\u8F91\u5668","app_header.constants.keXuanZeBuTong":"\u53EF\u9009\u62E9\u4E0D\u540C\u7684\u5730\u56FE\u7684\u5B98\u65B9\u56FE\u5C42\u914D\u7F6E","app_header.constants.guanFangTuCeng":"\u5B98\u65B9\u56FE\u5C42","app_header.constants.xuanZeBuTongZhu":"\u9009\u62E9\u4E0D\u540C\u4E3B\u9898\u8272\u6765\u4FEE\u6539\u5730\u56FE\u6E32\u67D3\u4E3B\u9898\u989C\u8272","app_header.constants.zhuTiSe":"\u4E3B\u9898\u8272","app_header.constants.xuanZeYanSeLai":"\u9009\u62E9\u989C\u8272\u6765\u4FEE\u6539\u5730\u56FE\u6E32\u67D3\u989C\u8272","app_header.constants.yanSeXuanZeQi":"\u989C\u8272\u9009\u62E9\u5668","app_header.constants.dianJiZiDongSuo":"\u70B9\u51FB\u81EA\u52A8\u7F29\u653E\u6309\u94AE \u5730\u56FE\u5C06\u81EA\u52A8\u7F29\u653E\u7684 GeoJSON \u6570\u636E\u4F4D\u7F6E","app_header.constants.ziDongSuoFang":"\u81EA\u52A8\u7F29\u653E","app_header.constants.keGenJuShuJu":"\u53EF\u6839\u636E\u6570\u636E\u4E2D\u7684properties\u6765\u7B5B\u9009\u9700\u8981\u6570\u636E","app_header.constants.shaiXuan":"\u7B5B\u9009","app_header.constants.dianJiQingChuAn":"\u70B9\u51FB\u6E05\u9664\u6309\u94AE GeoJSON \u6570\u636E\u5C06\u88AB\u8BF7\u7A7A \uFF08\u5DF2\u6E05\u7A7A\u72B6\u6001\u4E0B\u6E05\u7A7A\u6309\u94AE\u7F6E\u7070\uFF09","app_header.constants.qingChu":"\u6E05\u9664","app_header.constants.keYiJiHuoDi":"\u53EF\u4EE5\u6FC0\u6D3B\u5730\u56FE\u7ED8\u5236\u65B0\u589E GeoJSON \u5143\u7D20","app_header.constants.huiZhiPNG":"\u7ED8\u5236.png","app_header.constants.huiZhi":"\u7ED8\u5236","app_header.constants.souSuoChengShiHou":"\u641C\u7D22\u57CE\u5E02\u540E\u53EF\u5FEB\u901F\u5B9A\u4F4D\u5E76\u79FB\u52A8\u81F3\u5BF9\u5E94\u57CE\u5E02\u4E2D\u5FC3\u70B9","app_header.constants.chengShiChaXun":"\u57CE\u5E02\u67E5\u8BE2","app_header.constants.keYiKuaiSuXuan":"\u53EF\u4EE5\u5FEB\u901F\u9009\u62E9\u884C\u653F\u533A\u7684\u7701\u5E02\u53BF\u533A","app_header.constants.xingZhengQuXuanZe":"\u884C\u653F\u533A\u9009\u62E9\u5668","app_header.constants.dianJiKeQieHuan":"\u70B9\u51FB\u53EF\u5207\u6362\u4E0D\u540C\u7684\u4E3B\u9898\u914D\u8272","app_header.constants.zhuTi":"\u4E3B\u9898","app_header.constants.yongHuKeSheZhi":"\u7528\u6237\u53EF\u8BBE\u7F6E\u4E00\u4E9B\u521D\u59CB\u5316\u914D\u7F6E","app_header.constants.dianJiXiaZaiKe":"\u70B9\u51FB\u4E0B\u8F7D\u53EF\u5C06 GeoJSON \u6570\u636E\u4E0B\u8F7D\u4E3A\u6307\u5B9A\u6570\u636E\u683C\u5F0F","app_header.constants.shiYongCTR":"\u4F7F\u7528 Ctrl/Command + S \u5FEB\u6377\u952E\uFF0C\u6216\u70B9\u51FB\u4FDD\u5B58\u6309\u94AE\u6E32\u67D3\u6570\u636E\uFF08\u5DF2\u4FDD\u5B58\u72B6\u6001\u4E0B\u4FDD\u5B58\u6309\u94AE\u7F6E\u7070\uFF09","app_header.constants.baoCun":"\u4FDD\u5B58","app_header.constants.shangChuanPNG":"\u4E0A\u4F20.png","app_header.constants.shangChuanGEO":"\u4E0A\u4F20 GeoJSON \u6570\u636E","app_header.constants.diTuShangChaKan":"\u5730\u56FE\u4E0A\u67E5\u770B\u6E32\u67D3\u6548\u679C","app_header.constants.xuanRan":"\u6E32\u67D3","app_header.constants.bianJiQi":"\u7F16\u8F91\u5668","app_header.constants.quanGongNengShiYong":"\u5168\u529F\u80FD\u4F7F\u7528\u5F15\u5BFC","app_header.constants.pingTaiJiChuShi":"\u5E73\u53F0\u57FA\u7840\u4F7F\u7528\u5F15\u5BFC","app_header.constants.xiaZaiWKT":"\u4E0B\u8F7D WKT \u683C\u5F0F\u6570\u636E","app_header.constants.xiaZaiKML":"\u4E0B\u8F7D KML \u683C\u5F0F\u6570\u636E","app_header.constants.xiaZaiLNG":"\u4E0B\u8F7D LngLat \u683C\u5F0F\u6570\u636E","app_header.constants.xiaZaiGEO":"\u4E0B\u8F7D GeoJSON \u683C\u5F0F\u6570\u636E","app_header.constants.zuJianAPI":"\u7EC4\u4EF6API\u6587\u6863","app_header.constants.pingTaiShiYongWen":"\u5E73\u53F0\u4F7F\u7528\u6587\u6863","app_header.constants.issue":"\u63D0\u4EA4 Issue","app_header.index.an":"\u6697","app_header.index.liang":"\u4EAE","app_header.index.yinDao":"\u5F15\u5BFC","app_header.index.baoCunShuJu":"\u4FDD\u5B58\u6570\u636E","app_table.index.dangQianShuJuWu":"\u5F53\u524D\u6570\u636E\u65E0\u5B57\u6BB5","app_table.index.shanChu":"\u5220\u9664","app_table.index.shuJuShanChuCheng":"\u6570\u636E\u5220\u9664\u6210\u529F","app_table.index.caoZuo":"\u64CD\u4F5C","app_table.index.xuHao":"\u5E8F\u53F7","app_table.index.shanChuLie":"\u786E\u8BA4\u5220\u9664\u6B64\u5217\u6570\u636E\uFF1F","app_table.index.tianJiaLieZiDuan":"\u6DFB\u52A0\u5217\u5B57\u6BB5","app_table.index.ziDuanMing":"\u5B57\u6BB5\u540D:","app_table.index.qingShuRuLieZiDuan":"\u8BF7\u8F93\u5165\u5217\u5B57\u6BB5","geojson_editor.index.jiaoBenShuJuYou":"\u811A\u672C\u6570\u636E\u6709\u8BEF","geojson_editor.index.xinXi":"\u4FE1\u606F","geojson_editor.index.bengKui":"\u5D29\u6E83","geojson_editor.index.cuoWu":"\u9519\u8BEF","geojson_editor.index.jingGao":"\u8B66\u544A","geojson_editor.index.tongZhi":"\u901A\u77E5","geojson_editor.index.tiaoShi":"\u8C03\u8BD5","layer_popup.index.gengGaiHuiZhi":"\u66F4\u6539\u7ED8\u5236","layer_popup.index.mULTI":"Multi \u7C7B\u578B\u7684 GeoJSON \u4E0D\u652F\u6301\u7F16\u8F91","layer_popup.index.dangQianYuanSuWu":"\u5F53\u524D\u5143\u7D20\u65E0\u5B57\u6BB5","layer_popup.index.tianJiaZiDuan":"\u6DFB\u52A0\u5B57\u6BB5","map_content.index.zuoBiaoXi":"\u5730\u7406\u5750\u6807\u7CFB\uFF1A","administrative_select_control.index.xingZhengQuHuaLi":"\u884C\u653F\u533A\u5212\u5386\u53F2\u8BB0\u5F55","administrative_select_control.index.keXuanZeShengShi":"\u53EF\u9009\u62E9\u7701/\u5E02/\u53BF","administrative_select_control.index.weiLanShuJuQing":"\u56F4\u680F\u6570\u636E\u8BF7\u6C42\u5931\u8D25","auto_control.index.ziDongSuoFangZhi":"\u81EA\u52A8\u7F29\u653E\u81F3\u5F53\u524D\u5143\u7D20","clear_control.index.queRenQingKongSuo":"\u786E\u8BA4\u6E05\u7A7A\u6240\u6709\u6570\u636E\uFF1F","filter_form_list_control.index.shuJuGuoLu":"\u6570\u636E\u8FC7\u6EE4","filter_form_list_control.index.tianJiaShaiXuanTiao":"\u6DFB\u52A0\u7B5B\u9009\u6761\u4EF6","filter_form_list_control.index.qingXuanZeZiDuan":"\u8BF7\u9009\u62E9\u5B57\u6BB5","filter_form_list_control.index.huoZhe":"\u6216\u8005","filter_form_list_control.index.bingQie":"\u5E76\u4E14","filter_form_list_control.numberFilter.qingShuRuShaiXuan":"\u8BF7\u8F93\u5165\u7B5B\u9009\u503C","filter_form_list_control.numberFilter.qingXuanZeGuoLu":"\u8BF7\u9009\u62E9\u8FC7\u6EE4\u903B\u8F91","filter_form_list_control.numberFilter.quJian":"\u533A\u95F4","filter_form_list_control.stringFilter.qingXuanZeShaiXuan":"\u8BF7\u9009\u62E9\u7B5B\u9009\u9879","filter_form_list_control.stringFilter.buPiPei":"\u4E0D\u5339\u914D","filter_form_list_control.stringFilter.piPei":"\u5339\u914D","filter_form_list_control.stringFilter.buBaoHan":"\u4E0D\u5305\u542B","filter_form_list_control.stringFilter.baoHan":"\u5305\u542B","layer_color_control.index.changYongYanSe":"\u5E38\u7528\u989C\u8272","layer_color_control.index.tuCengYanSeXuan":"\u56FE\u5C42\u989C\u8272\u9009\u62E9\u5668","location_search_control.index.tianJiaZhiShuJu":"\u6DFB\u52A0\u81F3\u6570\u636E","location_search_control.location_search.qingShuRuYaoSou":"\u8BF7\u8F93\u5165\u8981\u641C\u7D22\u5730\u540D","official_layer_control.index.guGeWeiXingTu":"\u8C37\u6B4C\u9065\u611F\u5730\u56FE","official_layer_control.index.shiLiangDiTu":"\u77E2\u91CF\u5730\u56FE","save_map_options_control.index.baoCunDiTuZhuang":"\u4FDD\u5B58\u5730\u56FE\u72B6\u6001","save_map_options_control.index.diTuZhuangTaiBao":"\u5730\u56FE\u72B6\u6001\u4FDD\u5B58\u6210\u529F ","wkt_editor.index.shuRuWKT":"\u8F93\u5165WKT\u683C\u5F0F\u7684\u70B9\u3001\u7EBF\u3001\u9762\u90FD\u53EF\u8BC6\u522B\uFF0C\u591A\u4E2A\u6570\u636E\u8BF7\u4F7F;\u5206\u9694\uFF0C\u5982\uFF1APOINT(120.104013 30.262134);POINT(120.104033 30.262164)","pages.index.qingYongPCDuan":"\u8BF7\u7528PC\u7AEF\u6253\u5F00","recoil.feature.shuJuJiaZaiYou":"\u6570\u636E\u52A0\u8F7D\u6709\u8BEF","utils.index.qingJianChaUR":"\u8BF7\u68C0\u67E5url\u662F\u5426\u4E0E\u6570\u636E\u683C\u5F0F\u5339\u914D","utils.transform.weiShiBieJS":"\u672A\u8BC6\u522B JSON \u6570\u7EC4\u7C7B\u578B","utils.upload.wenJianJieXiShi":"\u6587\u4EF6\u89E3\u6790\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u6587\u4EF6\u683C\u5F0F\u3002","app_header.index.zhutiqiehuan":"\u4E3B\u9898\u5207\u6362","app_header.index.dingTalk":"\u9489\u9489\u7B54\u7591\u7FA4","app_table.index.dingWei":"\u5B9A\u4F4D","import_btn.file_upload.wenJian":"\u6587\u4EF6","import_btn.file_upload.ciZiDuanFeiDiLiZiDuan":"\u6B64\u5B57\u6BB5\u975E\u5730\u7406\u6570\u636E","import_btn.file_upload.dianJiHuoJiangWenJian":"\u70B9\u51FB\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u8FD9\u91CC\u3002","import_btn.file_upload.diLiZiDuanXuanZe":"\u5730\u7406\u5B57\u6BB5\u9009\u62E9","import_btn.file_upload.dangQianJinZhiChi":"\u5F53\u524D\u4EC5\u652F\u6301 WKT \u683C\u5F0F\u5B57\u6BB5\u6570\u636E \u548C geometry \u6570\u636E","layer_contextmenu_popup.fuZhiChengGong":"\u590D\u5236\u6210\u529F","layer_contextmenu_popup.fuZhi":"\u590D\u5236","map_control_group.sam.jiSuanWanCheng":"\u5730\u5757\u533A\u57DF\u8BC6\u522B\u5B8C\u6210,\u53EF\u5728\u7EA2\u8272\u533A\u57DF\u5185\u70B9\u51FB\u5730\u56FE\u9009\u53D6\u5730\u5757,\u518D\u6B21\u70B9\u51FB\u6309\u94AE\u5C06\u5173\u95ED\u5730\u5757\u667A\u80FD\u8BC6\u522B","map_control_group.sam.jiSuanShiBai":"\u5730\u5757\u8BC6\u533A\u57DF\u522B\u5931\u8D25\uFF0C\u8BF7\u8C03\u6574\u5730\u56FE\u5927\u5C0F\u91CD\u65B0\u8BC6\u522B\u5730\u5757\u533A\u57DF","map_control_group.sam.tuXingJieXiCuoWu":"\u5730\u5757\u89E3\u6790\u9519\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9","map_control_group.sam.qingZaiQuYuNei":"\u8BF7\u5728\u5730\u5757\u8FB9\u754C\u5185\u8FDB\u884C\u9009\u62E9","map_control_group.sam.zhiNengXuanZe":"\u5730\u5757\u667A\u80FD\u8BC6\u522B","map_control_group.sam.ziDongShiBie":"\u5730\u5757\u8BC6\u522B\u533A\u57DF\u8FB9\u754C","map_control_group.sam.zhiNengShiBieGuanBi":"\u5730\u5757\u667A\u80FD\u8BC6\u522B\u529F\u80FD\u5DF2\u5173\u95ED","map_control_group.sam.diKuaiShiBieShiBei":"\u5730\u5757\u667A\u80FD\u8BC6\u522B\u6A21\u578B\u52A0\u8F7D\u5931\u8D25","map_contorl_group.draw.draw":"\u5355\u51FB\u5F00\u59CB\u7ED8\u5236","map_contorl_group.draw.drawContinue":"\u5355\u51FB\u7EE7\u7EED\u7ED8\u5236","map_contorl_group.draw.drawFinish":"\u5355\u51FB\u7EE7\u7EED\u7ED8\u5236\uFF0C\u53CC\u51FB\u7ED3\u675F\u7ED8\u5236","map_contorl_group.draw.pontHover":"\u53EF\u62D6\u62FD\u8C03\u6574\u8282\u70B9\u4F4D\u7F6E","map_contorl_group.draw.midPointHover":"\u5355\u51FB\u5728\u8BE5\u4F4D\u7F6E\u65B0\u589E\u8282\u70B9","map_contorl_group.draw.lineHover":"\u53EF\u62D6\u62FD\u8C03\u6574\u56FE\u5F62\u4F4D\u7F6E","official_layer_control.index.mingChengChongFu":"\u540D\u79F0\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540D\u79F0","official_layer_control.index.shanChuDiTu":"\u662F\u5426\u5220\u9664\u5F53\u524D\u5E95\u56FE","official_layer_control.index.tianJiaDitu":"\u6DFB\u52A0\u74E6\u7247\u56FE\u5C42","official_layer_control.index.name":"\u540D\u79F0","official_layer_control.index.addName":"\u8BF7\u8F93\u5165\u540D\u79F0","official_layer_control.index.shiLiTuPian":"\u793A\u4F8B\u56FE\u7247","official_layer_control.index.tuCengDiZhi":"\u56FE\u5C42\u5730\u5740","official_layer_control.index.qiShuRutuCengDiZhi":"\u8BF7\u8F93\u5165\u56FE\u5C42\u5730\u5740","official_layer_control.index.tinJiaWaPian":"\u6DFB\u52A0\u74E6\u7247\u56FE\u5C42\u5730\u5740","official_layer_control.index.kongGe":"\u8F93\u5165\u4E0D\u80FD\u4E3A\u7A7A\u683C\uFF01","official_layer_control.index.shangchuan":"\u8BF7\u4E0A\u4F20\u56FE\u7247","text-layer-control_wenBenBiaoZhu":"\u6587\u672C\u6807\u6CE8\u56FE\u5C42\u914D\u7F6E","text-layer-control_shiFouZhanShiTuCeng":"\u662F\u5426\u5C55\u793A\u56FE\u5C42","text-layer-control_zhanShiZiDuan":"\u5C55\u793A\u5B57\u6BB5","text-layer-control_buXuan":"\u4E0D\u9009\u5219\u9ED8\u8BA4\u5C55\u793A\u5143\u7D20\u5E8F\u53F7","text-layer-control_wenBenTuCengPeiZhi":"\u6587\u672C\u56FE\u5C42\u914D\u7F6E","text-layer-control_description":"\u5F00\u542F\u6587\u672C\u56FE\u5C42\u914D\u7F6E\uFF0C\u53EF\u4EE5\u663E\u793A\u5F53\u524D\u6240\u6709\u6570\u636E\u7684\u5E8F\u53F7\uFF0C\u4E5F\u53EF\u4EE5\u901A\u8FC7\u591A\u9009\u6846\u5728\u6570\u636E\u4E2Dproperties\u5B57\u6BB5\u53BB\u9009\u62E9\u4E0D\u540C\u7684\u6570\u636E\u6765\u8FDB\u884C\u5C55\u793A"};pt.ZP.use(ut.Z).use(te.Db).init({fallbackLng:"zh-CN",interpolation:{escapeValue:!1},resources:{"zh-CN":{translation:St},"en-US":{translation:ft}}});var bt=[{lang:"zh-CN",name:"\u7B80\u4F53\u4E2D\u6587",antd:st.Z},{lang:"en-US",name:"English",antd:We.Z}],nt=null,It=o(68400),T=o.n(It),M=o(68479),we=o(9361),wt,Lt,Bt,Zt,kt,Pt,Rt,Mt,Ge,de,_e,Me=function(){var n=we.Z.useToken,i=n(),r=i.token,a=r.colorBorder,l=r.colorBgContainer,s=r.colorText;return{mapHeader:(0,M.iv)(wt||(wt=T()([` - padding: 0 16px; - height: 50px; - border-bottom: 1px solid `,`; - display: flex; - flex-direction: row; - justify-content: space-between; - align-items: center; - background: `,`; - z-index: 1; - .ant-btn { - border: 0; - } - `])),a,l),mapHeaderLogo:(0,M.iv)(Lt||(Lt=T()([` - display: flex; - align-items: center; - img { - width: auto; - height: 24px; - margin-right: 4px; - } - `]))),mapHeaderTitle:(0,M.iv)(Bt||(Bt=T()([` - font-size: 16px; - font-weight: bold; - margin-left: 4px; - margin-right: 16px; - color: `,`; - `])),s),mapHeaderLeft:(0,M.iv)(Zt||(Zt=T()([` - display: flex; - align-items: center; - `]))),mapHeaderRight:(0,M.iv)(kt||(kt=T()([` - display: flex; - align-items: center; - `]))),locale:(0,M.iv)(Pt||(Pt=T()([` - font-size: 16px; - `]))),localeIcon:(0,M.iv)(Rt||(Rt=T()([` - font-size: 16px; - `]))),upload:(0,M.iv)(Mt||(Mt=T()([` - height: 200px; - display: flex; - overflow: hidden; - flex-direction: column; - align-items: center; - justify-content: center; - `]))),uploadTitle:(0,M.iv)(Ge||(Ge=T()([` - font-size: 14px; - padding: 10px 6px 10px 0; - `]))),theme:(0,M.iv)(de||(de=T()([` - cursor: pointer; - padding: 0 !important; - width: 32px; - height: 32px; - display: flex; - align-items: center; - justify-content: center; - `]))),themeIcon:(0,M.iv)(_e||(_e=T()([` - font-size: 20px !important; - `])))}},Ve=Me,_t=bt.map(function(m){return{key:m.lang,label:m.name}}),jt=function(){var n=(0,te.$G)(),i=n.i18n,r=(0,U.Og)(),a=r.locale,l=r.setLocale,s=Ve(),u=function(d){var C=d.key;i.changeLanguage(C),l(C)};return(0,e.jsx)(Pe.Z,{menu:{items:_t,onClick:u,selectedKeys:[a],selectable:!0},placement:"bottom",children:(0,e.jsx)(G.ZP,{className:s.locale,icon:(0,e.jsx)(Re,{className:s.localeIcon,type:"icon-in"})})})},Jt=jt,nn=o(15009),Oe=o.n(nn),an=o(19632),De=o.n(an),rn=o(99289),Qe=o.n(rn),fr=o(16596),et=o(10154),on=o(39124),xn=o(11568),oe=o(31147),Ct=o(78045),ln=o(56550),bn=o(50599),_r=o(49677),Cn=o.n(_r),hr=o(15360),Sn=o(54397),jn=o(96486),Tn=o(41545),vr=o(89597),mr=o.n(vr),Wt=o(66749),gr=o(57460),yr=o.n(gr),En=o(84105),On=function(n){return new Promise(function(i,r){var a=new FileReader;a.readAsText(n),a.onload=function(l){var s,u=(s=l.target)===null||s===void 0?void 0:s.result;i(u)},a.onerror=function(l){r(l)}})},Ln=function(n,i,r){var a=JSON.parse(n);return{id:r||(0,Wt.Z)(r),metadata:{name:i},data:a,type:"local"}},xr=function(n,i,r){var a=JSON.parse(n);return J._9.check(a)?Ln(n,i,r):{id:r||(0,Wt.Z)(r),metadata:{name:i},data:a,type:"local"}},br=function(){var m=Qe()(Oe()().mark(function n(i,r,a){var l,s,u,f,d,C;return Oe()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return l=i.name,s=l.substring(l.lastIndexOf(".")+1),b.next=4,On(i);case 4:if(u=b.sent,s!=="json"){b.next=9;break}return b.abrupt("return",xr(u,r,a));case 9:if(s!=="geojson"){b.next=13;break}return b.abrupt("return",Ln(u,r,a));case 13:if(s!=="kml"){b.next=21;break}return f=new DOMParser().parseFromString(u,"text/xml"),b.next=17,mr().kml(f,{style:!0});case 17:return d=b.sent,b.abrupt("return",{id:a||(0,Wt.Z)(a),metadata:{name:r},data:d,type:"local"});case 21:if(s!=="wkt"){b.next=24;break}return C=(0,je.Y)(u),b.abrupt("return",{id:a||(0,Wt.Z)(a),metadata:{name:r},data:C,type:"local"});case 24:case"end":return b.stop()}},n)}));return function(i,r,a){return m.apply(this,arguments)}}(),Cr=function(){var m=Qe()(Oe()().mark(function n(i,r,a){var l,s;return Oe()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,On(i);case 2:return l=f.sent,s=yr().parse(l,{header:!0,skipEmptyLines:!0,dynamicTyping:!0}),f.abrupt("return",{id:a||(0,Wt.Z)(a),metadata:{name:r},data:s.data,type:"local",columns:s.meta.fields});case 5:case"end":return f.stop()}},n)}));return function(i,r,a){return m.apply(this,arguments)}}(),Sr=function(n){return new Promise(function(i,r){var a=new FileReader;a.readAsArrayBuffer(n),a.onload=function(l){var s,u=(s=l.target)===null||s===void 0?void 0:s.result;i(u)},a.onerror=function(l){r(l)}})},jr=function(n,i,r){var a;try{var l=(0,En.ij)(n,{type:"array",cellDates:!0}),s=l.Sheets[l.SheetNames[0]];Object.keys(s).forEach(function(f){var d=s[f];d.t==="d"&&(d.v=d.w)}),a=En.P6.sheet_to_json(s)}catch(f){throw f}var u=Object.keys(a[0]);return{id:r,metadata:{name:i},data:a,type:"local",columns:u}},Tr=function(){var m=Qe()(Oe()().mark(function n(i,r,a){var l;return Oe()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,Sr(i);case 3:l=u.sent,u.next=9;break;case 6:throw u.prev=6,u.t0=u.catch(0),u.t0;case 9:return u.abrupt("return",jr(l,r,a));case 10:case"end":return u.stop()}},n,null,[[0,6]])}));return function(i,r,a){return m.apply(this,arguments)}}(),sn=function(n){var i=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON)(\sz)?\s?\(.*\)$/i,r=!1;return typeof n=="string"&&i.test(n)&&(r=!0),r},un=function(n){try{var i=JSON.parse(n);return J.dw.check(i)}catch(r){return!1}},Er=function(){var m=Qe()(Oe()().mark(function n(i,r){var a,l,s,u;return Oe()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(a=i.name,l=a.substring(0,a.lastIndexOf(".")),s=a.substring(a.lastIndexOf(".")+1),d.prev=3,!["geojson","json","kml","wkt"].includes(s)){d.next=10;break}return d.next=7,br(i,l,i.uid);case 7:u=d.sent,d.next=20;break;case 10:if(s!=="csv"){d.next=16;break}return d.next=13,Cr(i,l,i.uid);case 13:u=d.sent,d.next=20;break;case 16:if(!["xlsx","xls"].includes(s)){d.next=20;break}return d.next=19,Tr(i,l,i.uid);case 19:u=d.sent;case 20:d.next=25;break;case 22:return d.prev=22,d.t0=d.catch(3),d.abrupt("return",Promise.reject(r("utils.upload.wenJianJieXiShi")));case 25:return d.abrupt("return",u);case 26:case"end":return d.stop()}},n,null,[[3,22]])}));return function(i,r){return m.apply(this,arguments)}}(),Or=Sn.Z.Dragger,Lr=(0,h.forwardRef)(function(n,i){Cn()(n);var r=(0,h.useState)([]),a=c()(r,2),l=a[0],s=a[1],u=(0,h.useState)([]),f=c()(u,2),d=f[0],C=f[1],_=(0,h.useState)([]),b=c()(_,2),E=b[0],O=b[1],L=oe.Z.useForm(),D=c()(L,1),j=D[0],y=(0,te.$G)(),g=y.t,S=Ve(),v=function(P){var z=P.file,Z=P.onSuccess,R=P.onError;Er(z,g).then(function(x){if(console.log(x),x!=null&&x.columns){for(var w=x.data[0],I=void 0,K=0,ee=Object.keys(w);K":return i>m.value;case">=":return i>=m.value;default:if(Array.isArray(m.value)){var r=c()(m.value,2),a=r[0],l=r[1];return i>=a&&i<=l}}}function ea(m,n){var i=String(n[m.field]),r=m.value;switch(m.operator){case"NOT_IN":return!(r!=null&&r.includes(i));case"IN":return r==null?void 0:r.includes(i);case"LIKE":return(i==null?void 0:i.indexOf(r))>-1;default:return(i==null?void 0:i.indexOf(r))<=-1}}var ta=(0,Vt.cn)({key:"filterFeature",default:[]});function na(){var m=(0,U.SS)(),n=m.features,i=(0,U.L0)(),r=i.filters,a=(0,Vt.Zl)(ta),l=(0,Vt.sJ)(ta);return(0,h.useEffect)(function(){if((0,Ht.Z)(r)){a(De()(n));return}var s=De()(n),u=r.filter(function(C){return!Yn(C)}),f=u.filter(function(C){return C.logic==="and"}),d=u.filter(function(C){return C.logic==="or"});(0,Ht.Z)(d)||(s=s.filter(function(C){var _=C.properties;return d.some(function(b){var E=b.type==="number"?qn:ea;return E(b,_)})})),(0,Ht.Z)(f)||(s=s.filter(function(C){var _=C.properties;return f.every(function(b){var E=b.type==="number"?qn:ea;return E(b,_)})})),a(s)},[n,r,a]),{features:l}}function fn(m,n){var i=document.createElement("canvas"),r=i.getContext("2d"),a=new Image(n.x,n.y);return a.crossOrigin="Anonymous",a.src="https://mdn.alipayobjects.com/huamei_nsuaz4/afts/img/A*770bQLV21hsAAAAAAAAAAAAADimPAQ/original",new Promise(function(l){a.onload=function(){i.width=a.width,i.height=a.height,r.imageSmoothingEnabled=!0,r.drawImage(a,0,0,a.width,a.height);for(var s=r.getImageData(0,0,i.width,i.height),u=s.data,f=0;f=10){var K=(0,vt.Z)(r);K.pop(),a(K)}}else C(null)},W=function(Z,R){return R.some(function(x){return x.label.toLowerCase().indexOf(Z.toLowerCase())>-1})},P=(0,h.useMemo)(function(){if(r.length){var z=r.map(function(Z){return{key:Z.value,label:(0,e.jsx)("div",{onClick:function(){y(JSON.parse(Z.value))},children:Z.label})}});return z}else return[{key:"undefined",label:(0,e.jsx)(dn.Z,{})}]},[r]);return(0,h.useEffect)(function(){if(j){var z=j[j.length-1];fetch("https://restapi.amap.com/v3/config/district?keywords=".concat(z,"&subdistrict=0&key=98d10f05a2da96697313a2ce35ebf1a2&extensions=all")).then(function(Z){return Z.json()}).then(function(Z){var R;if(Z.status==="1"&&(R=Z.districts)!==null&&R!==void 0&&R.length&&s){var x=Z.districts[0].center.split(",").map(function(K){return+K}),F=c()(x,2),H=F[0],w=F[1];s.setZoomAndCenter(9,[H,w]);var I=[];Z.districts.forEach(function(K){K.polyline.split("|").forEach(function(ee){I.push(ee.split(";").map(function($){return $.split(",").map(function(pe){return+pe})}))})}),C((0,Se.multiLineString)(I))}}).catch(function(){et.ZP.error(S("administrative_select_control.index.weiLanShuJuQing"))})}},[j]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ie.br,{position:"lefttop",children:(0,e.jsxs)("div",{style:{display:"flex"},children:[(0,e.jsx)("div",{id:"l7-editor-administrativeSelect",children:(0,e.jsx)(Eo.Z,{options:E,value:j,onChange:k,className:n.cascader,allowClear:!0,showSearch:{filter:W},placeholder:S("administrative_select_control.index.keXuanZeShengShi"),changeOnSelect:!0,style:{width:250},popupClassName:n.cascaderPopup,expandTrigger:"hover"})}),(0,e.jsx)(Pe.Z,{menu:{items:P},placement:"bottomRight",trigger:["click"],children:(0,e.jsx)(ue.Z,{title:S("administrative_select_control.index.xingZhengQuHuaLi"),placement:"right",children:(0,e.jsx)("div",{className:me()([n.history,"l7-draw-control__btn"]),children:(0,e.jsx)(Re,{type:"icon-lishi",className:n.historyIcon})})})})]})}),(0,e.jsx)(ie.Ie,p()({source:{data:(0,Se.featureCollection)(d?[d]:[])}},Lo))]})},xa,ba,Ca,Sa,ja,Ta,Do=function(){var n=we.Z.useToken,i=n(),r=i.token,a=r.colorBgContainer,l=r.colorBorder,s=r.colorTextDescription,u=r.colorText,f=r.boxShadow,d=r.colorIcon;return{L7EditorControl:(0,M.iv)(xa||(xa=T()([` - display: inline-flex; - align-items: center; - justify-content: center; - border-radius: 2px; - width: 28px; - height: 28px; - padding: 0; - text-align: center; - background: `,`; - box-shadow: `,` !important; - border-width: 0; - color: `,`; - outline: 0; - cursor: pointer; - &:hover { - background: `,`; - svg { - color: `,`; - } - } - `])),a,f,d,a,u),l7EditorIcon:(0,M.iv)(ba||(ba=T()([` - font-size: 16px; - border: none; - cursor: pointer; - color: `,`; - `])),d),zoom:(0,M.iv)(Ca||(Ca=T()([` - .l7-button-control { - color: `,`; - font-size: 14px; - background: `,` !important; - border-color: `,`; - - svg { - fill: `,` !important; - } - - &:hover { - svg { - fill: `,` !important; - } - } - } - .l7-button-control:first-child { - border-bottom: 1px solid `,`; - } - `])),s,a,l,s,u,l),scalesControl:(0,M.iv)(Sa||(Sa=T()([` - .l7-control-scale-line { - color: `,`; - background: `,` !important; - border-color: `,`; - } - `])),s,a,l),mouseLocatio:(0,M.iv)(ja||(ja=T()([` - color: `,` !important; - background: `,` !important; - border-color: `,`; - `])),s,a,l),fullScreen:(0,M.iv)(Ta||(Ta=T()([` - color: `,`; - background: `,` !important; - border-color: `,`; - - svg { - fill: `,` !important; - } - - &:hover { - svg { - fill: `,` !important; - } - } - `])),s,a,l,s,u)}},Qt=Do,Ao=function(){var n=Qt(),i=(0,U.SS)(),r=i.bboxAutoFit,a=(0,te.$G)(),l=a.t;return(0,e.jsx)(ie.br,{position:"bottomright",children:(0,e.jsx)(ue.Z,{title:l("auto_control.index.ziDongSuoFangZhi"),placement:"left",children:(0,e.jsx)("button",{type:"button",id:"l7-editor-auto",className:n.L7EditorControl,onClick:function(){r()},children:(0,e.jsx)(Re,{type:"icon-suofang",className:n.l7EditorIcon})})})})},Ea,Oa,Fo=function(){var n=we.Z.useToken,i=n(),r=i.token,a=r.colorBgContainer,l=r.boxShadow,s=r.colorIcon,u=r.colorText;return{clear:(0,M.iv)(Ea||(Ea=T()([` - width: 30px; - height: 30px; - line-height: 41px; - text-align: center; - border-radius: 2px; - background-color: `,`; - box-shadow: `,` !important; - cursor: pointer; - color: `,`; - &:hover { - color: `,`; - background: `,`; - } - `])),a,l,s,u,a),clearSvg:(0,M.iv)(Oa||(Oa=T()([` - font-size: 24px; - `])))}},Zo=Fo,Mo=function(){var n=Zo(),i=(0,U.SS)(),r=i.saveEditorText,a=(0,te.$G)(),l=a.t;return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ie.br,{position:"topright",children:(0,e.jsx)(Xt.Z,{title:l("clear_control.index.queRenQingKongSuo"),onConfirm:function(){r((0,Ne.X)({content:{type:"FeatureCollection",features:[]}}))},children:(0,e.jsx)(ue.Z,{title:l("app_header.constants.qingChu"),placement:"bottom",children:(0,e.jsx)("div",{className:n.clear,id:"l7-editor-clear",children:(0,e.jsx)(Re,{type:"icon-qingkong",className:n.clearSvg})})})})})})},Io=o(15937),La,wo=function(){var n=we.Z.useToken,i=n(),r=i.token,a=r.colorBgContainer,l=r.boxShadow,s=r.colorBorder,u=r.colorIcon,f=r.colorText;return{l7DrawControl:(0,M.iv)(La||(La=T()([` - .l7-draw-control { - display: flex; - flex-direction: column; - align-items: center; - margin-right: 0 !important; - box-shadow: `,` !important; - .l7-draw-control__btn { - color: `,`; - background-color: `,`; - border-right: none; - border-bottom: 1px solid `,`; - &:hover { - color: `,`; - } - } - } - `])),l,u,a,s,f)}},Bo=wo,ko=function(){var n=Xn(),i=(0,ie.$r)(),r=Bo(),a=(0,h.useState)(null),l=c()(a,2),s=l[0],u=l[1],f=(0,U.SS)(),d=f.setIsDraw,C=f.resetFeatures,_=f.features,b=f.revertCoord,E=(0,U.Og)(),O=E.layerColor,L=(0,h.useMemo)(function(){return(0,vt.Z)(_.find(function(y){return y.properties[J.AQ.IsEdit]}))},[_]);(0,h.useEffect)(function(){var y;if(i){var g;y=new ct.DrawControl(i,{position:"topleft",drawConfig:{point:!0,line:!0,polygon:!0,rect:!0,circle:!0},commonDrawOptions:{maxCount:1,style:(0,ye.C2)(O),helper:n}}),u(y),i.addControl(y),y.on(ct.ControlEvent.DrawChange,function(v){d(!!v)});var S=document.querySelector(".l7-draw-control");S.style.marginTop=0,(g=document.querySelector("#l7-draw-content"))===null||g===void 0||g.appendChild(S)}return function(){y&&i.removeControl(y)}},[i,O]);var D=(0,h.useCallback)(function(y,g){g.properties=Tt()({},J.AQ.DrawType,y),s==null||s.clearDrawData(),s==null||s.setActiveType(null);var S=b([g]);C([].concat(De()(_),De()(S)))},[s,b,C,_]),j=(0,h.useCallback)(function(y,g){var S=g.properties[J.AQ.Index],v=De()(_);v[S].properties[J.AQ.IsEdit]=!1,v[S].geometry=g.geometry,s==null||s.clearDrawData(),s==null||s.setActiveType(null);var k=b(v);C(De()(k))},[_,s,b,C]);return(0,h.useEffect)(function(){var y=["point","line","polygon","rect","circle"],g=(0,Io.Z)(y.map(function(S){return[S,{onAdd:function(k){return D(S,k)},onEdit:function(k){return j(S,k)}}]}));return y.forEach(function(S){var v=s==null?void 0:s.getTypeDraw(S);v==null||v.on(ct.DrawEvent.Add,g[S].onAdd),v==null||v.on(ct.DrawEvent.Edit,g[S].onEdit)}),function(){y.forEach(function(S){var v=s==null?void 0:s.getTypeDraw(S);v==null||v.off(ct.DrawEvent.Add,g[S].onAdd),v==null||v.off(ct.DrawEvent.Edit,g[S].onEdit)})}},[s,D]),(0,h.useEffect)(function(){if(L&&s){var y,g=(y=L.properties)===null||y===void 0?void 0:y[J.AQ.DrawType];L.properties.isActive=!0,s.setActiveType(g);var S=s.getTypeDraw(g);S==null||S.setData([L])}},[L,s]),(0,e.jsx)(ie.br,{position:"topright",children:(0,e.jsx)("div",{style:{display:"flex"},id:"l7-editor-draw",children:(0,e.jsx)("div",{className:r.l7DrawControl,children:(0,e.jsx)("div",{id:"l7-draw-content"})})})})},Ro=ko,Jo=o(37724),No=o(14468),vn=o(51042),Go=o(26024),zo=o(44230),Wo=o(53434),Uo=function(n){var i=n.name,r=n.index,a=n.form,l=(0,U.L0)(),s=l.setFilters,u=(0,U.SS)(),f=u.dataSource,d=(0,te.$G)(),C=d.t,_=[{label:">",value:">"},{label:">=",value:">="},{label:"=",value:"="},{label:"<=",value:"<="},{label:"<",value:"<"},{label:C("filter_form_list_control.numberFilter.quJian"),value:"BETWEEN"}];return(0,e.jsxs)("div",{style:{display:"flex"},children:[(0,e.jsx)(oe.Z.Item,{name:[i,"operator"],children:(0,e.jsx)(Ce.Z,{style:{width:"100px",marginRight:"8px"},placeholder:C("filter_form_list_control.numberFilter.qingXuanZeGuoLu"),options:_,onChange:function(){var E=(0,vt.Z)(a.getFieldValue("filterFromList"));E.forEach(function(O,L){r===L&&(O.value=void 0)}),a.setFieldValue("filterFromList",E),s(E.map(function(O){var L=JSON.parse(O.field),D=L.field,j=L.type;return p()(p()({},O),{},{field:D,type:j})}))}})}),(0,e.jsx)(oe.Z.Item,{style:{width:150,marginBottom:0},shouldUpdate:function(E,O){return E.operator===O.operator},children:function(E){var O,L,D,j=E.getFieldsValue,y=j(),g=y.filterFromList,S=(O=JSON.parse(g[r].field))===null||O===void 0?void 0:O.field,v=f.find(function(Z){return(Z==null?void 0:Z.field)===S});if(g[r].operator==="BETWEEN"){var k,W,P,z;return(0,e.jsxs)("div",{children:[(0,e.jsx)(oe.Z.Item,{name:[i,"min"],style:{width:"70px"},children:(0,e.jsx)(Ut.Z,{placeholder:C("filter_form_list_control.numberFilter.qingShuRuShaiXuan"),style:{width:"100%"},min:(k=v==null?void 0:v.min)!==null&&k!==void 0?k:0,max:(W=v==null?void 0:v.max)!==null&&W!==void 0?W:0})}),(0,e.jsx)("span",{children:" - "}),(0,e.jsx)(oe.Z.Item,{name:[i,"max"],style:{width:"70px"},children:(0,e.jsx)(Ut.Z,{placeholder:C("filter_form_list_control.numberFilter.qingShuRuShaiXuan"),style:{width:"100%"},min:(P=v==null?void 0:v.min)!==null&&P!==void 0?P:0,max:(z=v==null?void 0:v.max)!==null&&z!==void 0?z:0})})]})}return(0,e.jsx)(oe.Z.Item,{name:[i,"value"],children:(0,e.jsx)(Ut.Z,{placeholder:C("filter_form_list_control.numberFilter.qingShuRuShaiXuan"),style:{width:"100%"},min:(L=v==null?void 0:v.min)!==null&&L!==void 0?L:0,max:(D=v==null?void 0:v.max)!==null&&D!==void 0?D:0})})}})]})},Ko=Uo,Ho=o(94207),Vo=o(85959),Qo=o(29795),$o=function(n){var i=n.name,r=n.index,a=n.form,l=(0,Qo.Z)(),s=l.setFilters,u=(0,Vo.Z)(),f=u.dataSource,d=(0,te.$G)(),C=d.t,_=[{label:C("filter_form_list_control.stringFilter.baoHan"),value:"IN"},{label:C("filter_form_list_control.stringFilter.buBaoHan"),value:"NOT_IN"},{label:C("filter_form_list_control.stringFilter.piPei"),value:"LIKE"},{label:C("filter_form_list_control.stringFilter.buPiPei"),value:"NOT_LIKE"}];return(0,e.jsxs)("div",{style:{display:"flex"},children:[(0,e.jsx)(oe.Z.Item,{name:[i,"operator"],style:{width:"100px",marginRight:"8px"},children:(0,e.jsx)(Ce.Z,{placeholder:C("filter_form_list_control.numberFilter.qingXuanZeGuoLu"),options:_,onChange:function(){var E=(0,vt.Z)(a.getFieldValue("filterFromList"));E.forEach(function(O,L){r===L&&(O.value=void 0)}),a.setFieldValue("filterFromList",E),s(E.map(function(O){var L=JSON.parse(O.field),D=L.field,j=L.type;return p()(p()({},O),{},{field:D,type:j})}))}})}),(0,e.jsx)(oe.Z.Item,{shouldUpdate:function(E,O){return E.operator!==O.operator},style:{width:150,margin:0},children:function(E){var O,L,D=E.getFieldsValue,j=D(),y=j.filterFromList,g=(O=JSON.parse(y[r].field))===null||O===void 0?void 0:O.field,S=f.find(function(k){return(k==null?void 0:k.field)===g}),v=y[r].operator;return v==="LIKE"||v==="NOT_LIKE"?(0,e.jsx)(oe.Z.Item,{name:[i,"value"],children:(0,e.jsx)(ht.Z,{placeholder:C("filter_form_list_control.numberFilter.qingShuRuShaiXuan"),style:{width:"100%"},allowClear:!0})}):(0,e.jsx)(oe.Z.Item,{name:[i,"value"],children:(0,e.jsx)(Ce.Z,{placeholder:C("filter_form_list_control.stringFilter.qingXuanZeShaiXuan"),style:{width:"100%"},mode:"multiple",maxTagCount:1,children:((L=(0,Ho.Z)(S==null?void 0:S.value))!==null&&L!==void 0?L:[]).filter(function(k){return k!=="undefined"}).map(function(k){return(0,e.jsx)(Ce.Z.Option,{value:k,children:(0,e.jsx)(ue.Z,{title:k,children:k})},k)})})})}})]})},Xo=$o,Pa,Da,Yo=function(){var n=we.Z.useToken,i=n(),r=i.token,a=r.colorBgContainer,l=r.boxShadow;return{l7FilterPanel:(0,M.iv)(Pa||(Pa=T()([` - position: relative; - `]))),l7Filter:(0,M.iv)(Da||(Da=T()([` - display: flex; - background: `,`; - padding: 16px; - margin-right: 8px; - position: absolute; - right: 35px; - bottom: 0; - box-shadow: `,` !important; - .ant-form-item { - margin-bottom: 0; - } - .ant-btn { - margin-left: px; - } - `])),a,l)}},qo=Yo,mn=Ce.Z.Option,ei=function(){var n=(0,U.SS)(),i=n.dataSource,r=(0,U.L0)(),a=r.setFilters,l=r.filters,s=(0,h.useState)(!1),u=c()(s,2),f=u[0],d=u[1],C=(0,te.$G)(),_=C.t,b=oe.Z.useForm(),E=c()(b,1),O=E[0],L=qo(),D=Qt(),j=(0,h.useMemo)(function(){return!i.length},[i]),y=function(v,k){if((0,Ht.Z)(k.filterFromList)){a([]);return}var W=k.filterFromList.filter(function(P){return P}).map(function(P){var z=P.logic,Z=P.operator;if(P.field){var R=JSON.parse(P.field||""),x=R.field,F=R.type;return P.operator==="BETWEEN"&&P.min&&P.max?{logic:z,field:x,type:F,operator:Z,value:[P.min,P.max]}:(P.operator==="IN"||P.operator==="NO_IN")&&P.value?p()(p()({},P),{},{field:x,type:F,value:P.value.length?P.value:void 0}):p()(p()({},P),{},{field:x,type:F})}else return p()(p()({},P),{},{field:void 0,type:void 0})});a(W)},g=(0,h.useMemo)(function(){return l.filter(function(S){return!Yn(S)}).find(function(S){return S})},[l]);return(0,e.jsxs)(ie.br,{position:"bottomright",className:L.l7FilterPanel,style:{display:"flex"},children:[(0,e.jsx)("div",{className:L.l7Filter,style:{display:f?"block":"none"},children:(0,e.jsx)(oe.Z,{style:{width:"100%"},form:O,onValuesChange:(0,Wo.Z)(y,500),children:(0,e.jsx)(oe.Z.List,{name:"filterFromList",children:function(v,k){var W=k.add,P=k.remove;return(0,e.jsxs)(e.Fragment,{children:[v.map(function(z,Z){var R,x,F=z.name;return(0,e.jsxs)("div",{style:{display:"flex",marginBottom:8},children:[(0,e.jsx)(oe.Z.Item,{name:[F,"logic"],initialValue:"and",children:(0,e.jsxs)(Ce.Z,{style:{width:70,marginRight:"8px"},children:[(0,e.jsx)(mn,{value:"and",children:_("filter_form_list_control.index.bingQie")}),(0,e.jsx)(mn,{value:"or",children:_("filter_form_list_control.index.huoZhe")})]})}),(0,e.jsx)(oe.Z.Item,{name:[F,"field"],initialValue:JSON.stringify({field:(R=i[0])===null||R===void 0?void 0:R.field,type:(x=i[0])===null||x===void 0?void 0:x.type}),children:(0,e.jsx)(Ce.Z,{style:{width:130,marginRight:"8px"},placeholder:_("filter_form_list_control.index.qingXuanZeZiDuan"),onChange:function(){var w=(0,vt.Z)(O.getFieldValue("filterFromList"));w.forEach(function(I,K){Z===K&&(I.operator=void 0,I.value=void 0)}),O.setFieldValue("filterFromList",w),a(w.map(function(I){var K=JSON.parse(I.field),ee=K.field,$=K.type;return p()(p()({},I),{},{field:ee,type:$})}))},children:i.map(function(H){var w=H.field,I=H.type;return(0,e.jsxs)(mn,{value:JSON.stringify({field:w,type:I}),children:[(0,e.jsx)("i",{style:{fontSize:20,marginRight:8,color:"#999"},children:I==="number"?(0,e.jsx)(Jo.Z,{}):(0,e.jsx)(No.Z,{})}),(0,e.jsx)(ue.Z,{title:w,children:w})]},w)})})}),(0,e.jsx)(oe.Z.Item,{shouldUpdate:function(w,I){return w.field===I.field},style:{margin:0},children:function(w){var I=w.getFieldsValue,K=I(),ee=K.filterFromList;if(ee[Z].field){var $=JSON.parse(ee[Z].field),pe=$.type;return pe==="number"?(0,e.jsx)(Ko,{name:F,index:Z,form:O}):(0,e.jsx)(Xo,{name:F,index:Z,form:O})}}}),(0,e.jsx)(G.ZP,{type:"text",onClick:function(){P(F),a(O.getFieldValue("filterFromList"))},icon:(0,e.jsx)(cn.Z,{})})]},F)}),(0,e.jsx)(G.ZP,{type:"dashed",disabled:j,onClick:function(){W()},block:!0,icon:(0,e.jsx)(vn.Z,{}),style:{width:500},children:_("filter_form_list_control.index.tianJiaShaiXuanTiao")})]})}})})}),(0,e.jsx)(ue.Z,{title:_("filter_form_list_control.index.shuJuGuoLu"),placement:"left",children:(0,e.jsx)("button",{type:"button",id:"l7-editor-filter",className:D.L7EditorControl,onClick:function(){d(!f)},children:g?(0,e.jsx)(zo.Z,{style:{color:"#597ef7"}}):(0,e.jsx)(Go.Z,{style:{lineHeight:"30px"}})})})]})},ti=ei,ni=o(87052),Aa,ai=function(){var n=we.Z.useToken,i=n(),r=i.token,a=r.boxShadow;return{l7ButtonControl:(0,M.iv)(Aa||(Aa=T()([` - min-width: auto; - width: 28px; - height: 28px; - border: none; - box-shadow: `,`; - cursor: pointer; - border-radius: 2px; - .ant-color-picker-color-block { - width: 22px; - height: 22px; - border-radius: 2px; - } - `])),a)}},ri=ai,oi=function(){var n=(0,U.Og)(),i=n.layerColor,r=n.setLayerColor,a=(0,te.$G)(),l=a.t,s=ri();return(0,e.jsx)(ie.br,{position:"bottomright",children:(0,e.jsx)(ue.Z,{title:l("layer_color_control.index.tuCengYanSeXuan"),placement:"left",children:(0,e.jsx)("div",{id:"l7-editor-color",children:(0,e.jsx)(ni.Z,{value:i,className:me()([s.l7ButtonControl]),onChange:function(f,d){r(d)},format:"rgb",presets:[{label:l("layer_color_control.index.changYongYanSe"),colors:["#F5222D","#FA8C16","#FADB14","#8BBB11","#52C41A","#13A8A8","#1677FF","#2F54EB","#722ED1","#EB2F96"]}]})})})})},ii=oi,Fa,Za,Ma,li=function(){return{locationSearch:(0,M.iv)(Fa||(Fa=T()([` - min-width: 200px; - `]))),locationSearchName:(0,M.iv)(Za||(Za=T()([` - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - `]))),locationSearchTip:(0,M.iv)(Ma||(Ma=T()([` - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - color: #818181; - font-size: 12px; - `])))}},si=li;function ui(m,n){return"".concat(m,"?").concat(Object.entries(n).map(function(i){var r=c()(i,2),a=r[0],l=r[1];return"".concat(a,"=").concat(window.encodeURIComponent(String(l)))}).join("&"))}var ci=["searchParams","showDistrict","showAddress","onSearchFinish","onChange"],di=Ce.Z.Option,Ia=function(n){var i=n.searchParams,r=n.showDistrict,a=n.showAddress,l=n.onSearchFinish,s=n.onChange,u=Fn()(n,ci),f=si(),d=(0,h.useState)([]),C=c()(d,2),_=C[0],b=C[1],E=(0,te.$G)(),O=E.t;(0,h.useEffect)(function(){l==null||l(_)},[l,_]);var L=(0,hn.Z)(function(){var y=Qe()(Oe()().mark(function g(S){var v,k,W,P;return Oe()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:if(S){Z.next=3;break}return b([]),Z.abrupt("return");case 3:return W=ui("https://restapi.amap.com/v3/assistant/inputtips",p()(p()({},i),{},{keywords:[].concat(De()(((v=i.keywords)!==null&&v!==void 0?v:"").split("|")),[S]).filter(function(R){return!!R}).join("|")})),Z.next=6,fetch(W);case 6:return Z.next=8,Z.sent.json();case 8:P=Z.sent,b(((k=P==null?void 0:P.tips)!==null&&k!==void 0?k:[]).filter(function(R){return R.location&&R.location.length}).map(function(R){var x=R.location.split(","),F=c()(x,2),H=F[0],w=F[1];return R.longitude=+H,R.latitude=+w,R}));case 10:case"end":return Z.stop()}},g)}));return function(g){return y.apply(this,arguments)}}(),{wait:1e3}),D=L.run,j=(0,h.useCallback)(function(y){var g=y&&_.find(function(S){return S.name===y});s==null||s(y||void 0,g||void 0)},[s,_]);return(0,e.jsx)(Ce.Z,p()(p()({className:f.locationSearch,onSearch:D,onChange:j,placeholder:O("location_search_control.location_search.qingShuRuYaoSou"),optionLabelProp:"label"},u),{},{children:_.map(function(y){var g="".concat(r?y.district:"").concat(a?y.address:"");return(0,e.jsxs)(di,{value:y.name,label:y.name,children:[(0,e.jsx)("div",{title:y.name,className:f.locationSearchName,children:y.name}),g&&(0,e.jsx)("div",{title:g,className:f.locationSearchTip,children:g})]},y.id)})}))};Ia.defaultProps={showSearch:!0,allowClear:!0,filterOption:!1,defaultActiveFirstOption:!1,showAddress:!0,showDistrict:!0};var pi=h.memo(function(){var m=(0,ie.$r)(),n=(0,h.useState)(),i=c()(n,2),r=i[0],a=i[1],l=(0,h.useState)(""),s=c()(l,2),u=s[0],f=s[1],d=(0,U.SS)(),C=d.features,_=d.resetFeatures,b=(0,U.Og)(),E=b.layerColor,O=(0,h.useState)(),L=c()(O,2),D=L[0],j=L[1],y=(0,te.$G)(),g=y.t,S=(0,h.useCallback)(function(){if(m){var v=m.getCenter(),k=v.lng,W=v.lat;f("".concat(k,",").concat(W))}},[m]);return(0,h.useEffect)(function(){return S(),m==null||m.on("moveend",S),m==null||m.on("zoomend",S),function(){m==null||m.off("moveend",S),m==null||m.off("zoomend",S)}},[m,S]),(0,Yt.Z)(Qe()(Oe()().mark(function v(){var k;return Oe()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return k=pn()(E).rgb().object(),P.t0=j,P.next=4,fn(k,{x:100,y:100});case 4:P.t1=P.sent,(0,P.t0)(P.t1);case 6:case"end":return P.stop()}},v)})),[E]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ie.br,{position:"lefttop",children:(0,e.jsx)("div",{id:"l7-editor-citySelect",style:{display:"flex"},children:(0,e.jsx)("div",{children:(0,e.jsx)("div",{children:(0,e.jsx)("div",{children:(0,e.jsx)(Ia,{getPopupContainer:function(){return document.querySelector(".larkmap")},allowClear:!0,value:r==null?void 0:r.name,searchParams:{key:"98d10f05a2da96697313a2ce35ebf1a2",location:u},onChange:function(k,W){if(W){var P=m.getZoom();m.setZoomAndCenter(P>16?P:16,[W.longitude,W.latitude])}a(W)}})})})})})}),r&&(0,e.jsx)(ie.Jx,{lngLat:{lng:r.longitude,lat:r.latitude},children:(0,e.jsx)(Ye.Z,{content:(0,e.jsxs)("div",{children:[(0,e.jsx)(G.ZP,{type:"primary",onClick:function(){var k=r.longitude,W=r.latitude;_([].concat(De()(C),[(0,Se.point)([k,W],r)])),a(void 0)},children:g("location_search_control.index.tianJiaZhiShuJu")}),(0,e.jsx)(G.ZP,{danger:!0,style:{marginLeft:8},onClick:function(){a(void 0)},children:g("app_header.constants.qingChu")})]}),children:(0,e.jsx)("img",{style:{width:40,height:40},src:D==null?void 0:D.src})})})]})}),fi=pi,wa,Ba,_i=function(){var n=we.Z.useToken,i=n(),r=i.token,a=r.colorText,l=r.colorBgContainer,s=r.boxShadow,u=r.colorTextDescription;return{mapAdministrative:(0,M.iv)(wa||(wa=T()([` - background: `,`; - color: `,`; - box-shadow: `,`; - `])),l,a,s),regionLocation:(0,M.iv)(Ba||(Ba=T()([` - background: `,` !important; - color: `,` !important; - padding: 2px 4px !important; - `])),l,u)}},hi=_i,vi=function(){var n=hi();return(0,e.jsx)(ie.br,{className:me()(["map-administrative-control",n.mapAdministrative]),position:"leftbottom",children:(0,e.jsx)(ie.kp,{searchParams:{key:"98d10f05a2da96697313a2ce35ebf1a2"},className:n.regionLocation})})},ka,Ra,mi=function(){var n=we.Z.useToken,i=n(),r=i.token,a=r.colorTextDescription,l=r.colorBgContainer,s=r.colorPrimary,u=r.colorBorder,f=r.colorText,d=r.colorBgElevated,C=r.colorFillSecondary;return{mapTheme:(0,M.iv)(ka||(ka=T()([` - color: `,`; - background: `,` !important; - border-color: `,`; - - svg { - fill: `,` !important; - } - - &:hover { - svg { - fill: `,` !important; - } - } - `])),a,l,u,a,f),mapThemePopper:(0,M.iv)(Ra||(Ra=T()([` - *::-webkit-scrollbar { - width: 8px; - background-color: `,`; - } - *::-webkit-scrollbar-thumb { - background-color: `,`; - border-radius: 10px; - } - .l7-popper-content { - color: `,`; - background: `,`; - - .l7-select-control-item:hover { - box-shadow: 0 5px 12px 4px rgba(0, 0, 0, 0.09), - 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 2px -2px rgba(0, 0, 0, 0.16); - } - - .l7-select-control-item { - border: 1px solid `,`; - border-radius: 4px; - } - - .l7-select-control-item-active { - border: 1px solid `,`; - } - } - - &.l7-popper-right .l7-popper-arrow\xA0 { - border-right-color: `,`; - } - - &.l7-popper-left .l7-popper-arrow\xA0 { - border-left-color: `,`; - } - - &.l7-popper-bottom .l7-popper-arrow\xA0 { - border-bottom-color: `,`; - } - - &.l7-popper-top .l7-popper-arrow\xA0 { - border-top-color: `,`; - } - `])),d,C,f,l,u,s,d,d,d,d)}},gi=mi,yi=function(){var n=(0,U.Og)(),i=n.setMapOptions,r=gi();return(0,e.jsx)(ie.w3,{className:me()([r.mapTheme,"l7-editor-mapTheme"]),popperClassName:r.mapThemePopper,position:"bottomright",onSelectChange:function(l){i(function(s){return p()(p()({},s),{},{style:l})})}})},xi=yi,Ja=o(14313),bi=o(77123),Ci=o(88484),Si=o(3089),Na,Ga,za,Wa,Ua,Ka,Ha,Va,Qa,ji=function(){var n=we.Z.useToken,i=n(),r=i.token,a=r.colorBgElevated,l=r.colorBgContainer,s=r.colorText,u=r.colorIcon,f=r.boxShadow;return{mapTab:(0,M.iv)(Na||(Na=T()([` - background-color: `,`; - border-radius: 4px; - display: flex; - align-items: center; - box-shadow: `,`; - &:hover .add-map { - display: block; - } - .add-map { - display: none; - text-align: center; - &:hover { - display: block; - color: #1677ff; - } - } - `])),a,f),hideOfficeLayerBtn:(0,M.iv)(Ga||(Ga=T()([` - height: 127px; - width: 28px; - display: flex; - align-items: center; - justify-content: center; - background: `,`; - border-radius: 4px; - cursor: pointer; - font-size: 16px; - z-index: 2; - .anticon { - transition: all 0.2s; - } - color: `,`; - `])),a,u),amapInfo:(0,M.iv)(za||(za=T()([` - display: flex; - align-items: center; - padding: 10px; - cursor: pointer; - `]))),amapInfoItemImage:(0,M.iv)(Wa||(Wa=T()([` - width: 142px; - height: 80px; - `]))),amapInfoItem:(0,M.iv)(Ua||(Ua=T()([` - text-align: center; - margin-left: 10px; - object-fit: cover; - &:first-child { - margin-left: 0px; - } - box-sizing: border-box; - border-radius: 4px; - position: relative; - - &: hover .item-clear { - display: block; - } - - &: hover .item-edit { - display: block; - } - - .item-edit { - position: absolute; - right: 41px; - bottom: 30px; - display: none; - width: 25px; - height: 25px; - line-height: 25px; - text-align: center; - background: #fff; - border-radius: 4px; - cursor: pointer; - - &:hover { - color: #1677ff; - } - } - - .item-clear { - position: absolute; - right: 8px; - bottom: 30px; - display: none; - width: 25px; - height: 25px; - line-height: 25px; - text-align: center; - background: #fff; - border-radius: 4px; - cursor: pointer; - - &:hover { - color: #1677ff; - } - } - `]))),amapInfoItemTitle:(0,M.iv)(Ka||(Ka=T()([` - color: `,`; - `])),s),itemBorder:(0,M.iv)(Ha||(Ha=T()([` - border: 2px solid `,`; - `])),l),itemBorderActive:(0,M.iv)(Va||(Va=T()([` - border: solid 2px #1677ff; - `]))),addMapIcon:(0,M.iv)(Qa||(Qa=T()([` - border: dashed 1px rgb(217, 217, 217); - height: 103px; - width: 142px; - object-fit: cover; - border-radius: 4px; - line-height: 103px; - margin-left: 10px; - cursor: pointer; - &:hover { - border: dashed 1px #1677ff; - } - `])))}},Ti=ji,$a={labelCol:{span:4},wrapperCol:{span:16}},Xa={labelCol:{span:6},wrapperCol:{span:15}};function Ei(){var m=oe.Z.useForm(),n=c()(m,1),i=n[0],r=Ti(),a=(0,U.Og)(),l=a.layerType,s=a.setLayerType,u=a.customTiles,f=a.setCustomTiles,d=a.locale,C=(0,te.$G)(),_=C.t,b=(0,h.useState)(l.length?l[0]:J.dY.VectorMap),E=c()(b,2),O=E[0],L=E[1],D=(0,h.useState)(!1),j=c()(D,2),y=j[0],g=j[1],S=(0,h.useState)(!1),v=c()(S,2),k=v[0],W=v[1],P=(0,h.useState)(-1),z=c()(P,2),Z=z[0],R=z[1],x=(0,h.useState)(null),F=c()(x,2),H=F[0],w=F[1],I=(0,h.useState)([]),K=c()(I,2),ee=K[0],$=K[1],pe=(0,ge.Z)("hideOfficeLayer",{defaultValue:!0}),xe=c()(pe,2),Ae=xe[0],Ue=xe[1],mt=function(){i.submit()},Be=[{type:J.dY.VectorMap,title:_("official_layer_control.index.shiLiangDiTu"),image:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*qdFDSbvIalgAAAAAAAAAAAAADmJ7AQ/original",layers:[]},{type:J.dY.GoogleSatellite,title:_("official_layer_control.index.guGeWeiXingTu"),image:"https://mdn.alipayobjects.com/huamei_k6sfo0/afts/img/A*zi2jSqqZ2-8AAAAAAAAAAAAADjWqAQ/original",layers:[J.ay,J.AF]}],Je=(0,h.useMemo)(function(){return u.length?[].concat(Be,De()(u)):Be},[u,_]),Dt=function(B){var Q=new FileReader;return Q.readAsDataURL(B),Q.onload=function(){var V=Q.result;w(V)},!1},Nt=function(B){L(B.type),s(B.type===J.dY.VectorMap?[]:[B.type])},Gt=function(B){if(k){var Q=(0,vt.Z)(u),V=Array.isArray(B.img)?B.img[0].url:"".concat(H);Q[Z-2]={type:B.name,image:V,title:B.name,layers:B.urls},f(Q),W(!1),R(-1)}else f(function(he){return[].concat(De()(he),[{type:B.name,image:"".concat(H),title:B.name,layers:B.urls}])});W(!1),$([]),g(!1)},zt=function(){g(!1),W(!1),$([]),R(-1),i.resetFields()},At=function(B,Q){B==null||B.stopPropagation();var V=u.filter(function(he){return he.type!==Q.type});Q.type===O&&(L(J.dY.VectorMap),s([])),f(V)},Et=function(B,Q){var V=Q.toLowerCase(),he=[];if(k){var Fe=(0,vt.Z)(Je);Fe.splice(Z,1),he=De()(Fe)}else he=Je;var Te=he.every(function(Ke){return Ke.title.toLowerCase()!==V});return Te?Q&&Q.trim()===""?Promise.reject(_("official_layer_control.index.kongGe")):Promise.resolve():Promise.reject(_("official_layer_control.index.mingChengChongFu"))},at=function(B,Q){var V=Promise.reject(_("official_layer_control.index.shangchuan"));return Q.fileList?Q.fileList.length?Promise.resolve():V:Q.length?Promise.resolve():V},Ot=function(B){var Q=De()(B.fileList);Q=Q.slice(-2),Q=Q.map(function(V){return V.response&&(V.url=V.response.url),V}),$(Q)},ce=(0,h.useMemo)(function(){if(l.length){var A=Je.find(function(B){return B.type===l[0]});return A==null?void 0:A.layers.map(function(B){return(0,e.jsx)(ie.YY,{zIndex:1,id:A.type===J.dY.GoogleSatellite&&B===J.ay?"googleTileMap":void 0,source:{data:B,parser:{type:"rasterTile",tileSize:256,zoomOffset:0}}})})}else return null},[l,Je]);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(ie.br,{position:"bottomleft",children:[(0,e.jsxs)("div",{className:r.mapTab,id:"l7-editor-aMap",children:[(0,e.jsx)("div",{className:r.hideOfficeLayerBtn,onClick:function(){Ue(!Ae)},children:(0,e.jsx)(Ja.Z,{style:{transform:Ae?"rotate(-180deg)":void 0}})}),Ae&&(0,e.jsxs)("div",{className:r.amapInfo,children:[Je.map(function(A,B){return(0,e.jsxs)("div",{className:me()([r.amapInfoItem,A.type===O?r.itemBorderActive:r.itemBorder,B===Je.length-1?"item-hover":""]),onClick:function(){Nt(A)},children:[B>1&&(0,e.jsx)(Xt.Z,{title:_("official_layer_control.index.shanChuDiTu"),onConfirm:function(V){return At(V,A)},onCancel:function(V){V==null||V.stopPropagation()},children:(0,e.jsx)("div",{className:"item-clear",onClick:function(V){V.stopPropagation()},children:(0,e.jsx)(cn.Z,{})})}),B>1&&(0,e.jsx)("div",{className:"item-edit",onClick:function(V){R(B),V.stopPropagation(),W(!0),g(!0),$([{uid:"-1",name:"".concat(A.title),status:"done",url:A.image}]),i.setFieldsValue({name:A.title,urls:A.layers,img:[{uid:"-1",name:"".concat(A.title),status:"done",url:A.image}]})},children:(0,e.jsx)(bi.Z,{})}),(0,e.jsx)("img",{src:A.image,alt:"",className:r.amapInfoItemImage}),(0,e.jsx)("div",{className:r.amapInfoItemTitle,style:{marginTop:0},children:A.title})]},A.type)}),(0,e.jsx)("div",{className:"add-map",children:(0,e.jsx)("div",{onClick:function(){g(!0),i.resetFields()},children:(0,e.jsx)("div",{className:r.addMapIcon,children:(0,e.jsx)(vn.Z,{})})})})]})]}),(0,e.jsx)(on.Z,{title:_("official_layer_control.index.tianJiaDitu"),open:y,destroyOnClose:!0,onOk:mt,onCancel:zt,width:600,children:(0,e.jsxs)(oe.Z,{form:i,initialValues:{urls:[""]},onFinish:Gt,children:[(0,e.jsx)(oe.Z.Item,p()(p()({},d==="zh-CN"?$a:Xa),{},{name:"name",label:_("official_layer_control.index.name"),rules:[{required:!0},{validator:Et}],children:(0,e.jsx)(ht.Z,{placeholder:_("official_layer_control.index.addName"),style:{width:390}})})),(0,e.jsx)(oe.Z.Item,p()(p()({},d==="zh-CN"?$a:Xa),{},{name:"img",label:_("official_layer_control.index.shiLiTuPian"),rules:[{required:!0,validator:at}],children:(0,e.jsx)(Sn.Z,{beforeUpload:Dt,accept:".png,.jpg",maxCount:1,onChange:Ot,fileList:ee,onRemove:function(){$([])},children:(0,e.jsx)(G.ZP,{icon:(0,e.jsx)(Ci.Z,{}),children:_("import_btn.index.shangChuan")})})})),(0,e.jsx)(oe.Z.List,{name:"urls",children:function(B,Q){var V=Q.add,he=Q.remove;return(0,e.jsxs)(e.Fragment,{children:[B.map(function(Fe,Te){return(0,e.jsxs)(Ie.Z,{style:{display:"flex",marginBottom:8},align:"baseline",children:[(0,e.jsx)(oe.Z.Item,p()(p()({},Fe),{},{label:Te===0?_("official_layer_control.index.tuCengDiZhi"):"",rules:[{required:!0,message:_("official_layer_control.index.qiShuRutuCengDiZhi")},{validator:Et}],style:{marginLeft:d==="zh-CN"?Te===0?10:90:Te===0?18:134},children:(0,e.jsx)(ht.Z,{placeholder:J.ay,style:{width:390}})})),B.length>1?(0,e.jsx)(Si.Z,{onClick:function(){return he(Fe.name)}}):null]},Fe.key)}),(0,e.jsx)(oe.Z.Item,{style:{textAlign:"center"},children:(0,e.jsx)(G.ZP,{type:"dashed",onClick:function(){return V()},icon:(0,e.jsx)(vn.Z,{}),style:{width:390,marginLeft:d==="zh-CN"?20:104},children:_("official_layer_control.index.tinJiaWaPian")})})]})}})]})})]}),(0,e.jsx)("div",{children:ce})]})}var Ya=o(31762),Oi=o(75081),qa,Li=function(){return{marker:(0,M.iv)(qa||(qa=T()([` - color: #fff; - background: #ff0000; - font-size: 12px; - padding: 6px; - `])))}},Pi=Li,Di={shape:"line",size:3,color:"#ff0000",state:{active:!1},style:{opacity:1,lineType:"solid"},zIndex:100,animate:{interval:.6,trailLength:1.5,duration:4}},Ai=function(){var n=Pi(),i=Qt(),r=(0,h.useState)(null),a=c()(r,2),l=a[0],s=a[1],u=(0,U.SS)(),f=u.scene,d=u.features,C=u.resetFeatures,_=u.revertCoord,b=u.bboxAutoFit,E=(0,U.Og)(),O=E.wasmPath,L=(0,ie.dN)(),D=(0,h.useState)(!1),j=c()(D,2),y=j[0],g=j[1],S=(0,h.useState)(void 0),v=c()(S,2),k=v[0],W=v[1],P=(0,h.useState)(void 0),z=c()(P,2),Z=z[0],R=z[1],x=(0,h.useState)(void 0),F=c()(x,2),H=F[0],w=F[1],I=(0,h.useState)(!1),K=c()(I,2),ee=K[0],$=K[1],pe=(0,h.useState)(void 0),xe=c()(pe,2),Ae=xe[0],Ue=xe[1],mt=(0,h.useState)(void 0),Be=c()(mt,2),Je=Be[0],Dt=Be[1],Nt=(0,h.useState)({data:{type:"FeatureCollection",features:[]}}),Gt=c()(Nt,2),zt=Gt[0],At=Gt[1],Et=(0,te.$G)(),at=Et.t,Ot=(0,h.useCallback)(function(A){var B=[A.lngLat.lng,A.lngLat.lat];if(Je)if((0,Se.booleanPointInPolygon)((0,Se.point)(B),Je)){if(l){var Q=l.lngLat2ImagePixel(B),V=[{x:Q[0],y:Q[1],clickType:1}],he=1;l.predict(V).then(function(){var Fe=Qe()(Oe()().mark(function Te(Ke){var gt,rt,ke,ot;return Oe()().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return yt.next=2,l.exportGeoPolygon(Ke,he);case 2:gt=yt.sent,rt=l.exportImageClip(Ke),ke={feature:gt.features,imageUrl:rt.src},(0,Se.booleanPointInPolygon)((0,Se.point)(B),ke==null?void 0:ke.feature[0])&&(ke==null?void 0:ke.feature[0].geometry.coordinates[0].length)>4?(ot=_(ke.feature),C([].concat(De()(d),De()(ot)))):et.ZP.warning(at("map_control_group.sam.tuXingJieXiCuoWu"));case 6:case"end":return yt.stop()}},Te)}));return function(Te){return Fe.apply(this,arguments)}}())}}else et.ZP.error(at("map_control_group.sam.qingZaiQuYuNei"))},[Je,l,d,at]),ce=function(){var A=Qe()(Oe()().mark(function B(){var Q,V,he,Fe,Te,Ke,gt,rt,ke,ot,$e,yt,Ft,qt,ur,cr,gn,dr,$t,en,yn,pr,tn;return Oe()().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if($(!0),Xe.prev=1,!(!k||!l)){Xe.next=4;break}return Xe.abrupt("return");case 4:return V=k.layer.getSource(),he=V==null||(Q=V.tileset)===null||Q===void 0?void 0:Q.currentTiles,Fe=1/0,Te=1/0,Ke=-1/0,gt=-1/0,he==null||he.forEach(function(xt){Fe=Math.min(Fe,xt.x),Te=Math.min(Te,xt.y),Ke=Math.max(Ke,xt.x),gt=Math.max(gt,xt.y)}),rt=Math.ceil(f==null?void 0:f.getZoom()),ke=document.createElement("canvas"),ke.width=(Ke-Fe+1)*256,ke.height=(gt-Te+1)*256,ot=ke.getContext("2d"),$e=l.mapHelper,yt=[].concat(De()($e.tileToLngLat(Fe,gt+1,rt)),De()($e.tileToLngLat(Ke+1,Te,rt))),he==null||he.forEach(function(xt){xt&&(ot==null||ot.drawImage(xt.data,(xt.x-Fe)*256,(xt.y-Te)*256,256,256))}),l.setGeoImage(ke.toDataURL(),{extent:yt,width:ke.width,height:ke.height}),Ft=ke.toDataURL("image/jpeg"),qt=Ft.indexOf(","),ur=Ft==null?void 0:Ft.substring(qt+1),cr="https://sam.lvisei.icu/api",gn=new FormData,gn.append("image_path",ur),Xe.next=28,fetch(cr,{body:gn,method:"post"});case 28:return Xe.next=30,Xe.sent.arrayBuffer();case 30:dr=Xe.sent;try{$t=$e.tileToLngLat(Ke+1,Te,rt),en=$e.tileToLngLat(Fe,gt+1,rt),yn=[en[0],$t[1]],pr=[$t[0],en[1]],tn=(0,Se.polygon)([[$t,yn,en,pr,$t]]),Ue(yn),Dt(tn),At({data:{type:"FeatureCollection",features:[tn]}}),b([tn]),l.setEmbedding(dr),et.ZP.success(at("map_control_group.sam.jiSuanWanCheng"))}catch(xt){console.log(xt)}Xe.next=38;break;case 34:Xe.prev=34,Xe.t0=Xe.catch(1),et.ZP.error(at("map_control_group.sam.jiSuanShiBai")),f==null||f.off("click",Ot);case 38:return Xe.prev=38,$(!1),Xe.finish(38);case 41:case"end":return Xe.stop()}},B,null,[[1,34,38,41]])}));return function(){return A.apply(this,arguments)}}();return(0,h.useEffect)(function(){var A=new Ya.XU({modelUrl:Ya.AK,wasmPaths:O});A.initModel().then(function(){s(A)}).catch(function(){et.ZP.error(at("map_control_group.sam.diKuaiShiBieShiBei"))})},[]),(0,h.useEffect)(function(){if(!(0,Ht.Z)(L)){var A=L.find(function(V){return V.id==="googleTileMap"}),B=L.find(function(V){return V.id===J.d7.PolygonLayer}),Q=L.find(function(V){return V.id==="hoverLayer"});w(Q),R(B),W(A)}},[L]),(0,h.useEffect)(function(){return Z&&(y?Z.on("unclick",Ot):(At({data:{type:"FeatureCollection",features:[]}}),Ue(void 0),Z.off("unclick",Ot))),function(){Z==null||Z.off("unclick",Ot)}},[y,f,Ot]),(0,h.useEffect)(function(){y&&l&&ce()},[y,l]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ie.br,{position:"bottomright",children:(0,e.jsx)(ue.Z,{title:at("map_control_group.sam.zhiNengXuanZe"),placement:"left",children:(0,e.jsx)(Oi.Z,{spinning:ee,children:(0,e.jsx)("button",{type:"button",className:i.L7EditorControl,onClick:function(){l&&g(!y),y&&et.ZP.success(at("map_control_group.sam.zhiNengShiBieGuanBi"))},children:(0,e.jsx)(Re,{type:"icon-zhinengshibie",style:{fontSize:20,color:y?"#1677ff":""},className:i.l7EditorIcon})})})})}),Ae&&(0,e.jsx)(ie.Jx,{lngLat:{lng:Ae[0],lat:Ae[1]},anchor:"center",offsets:[54,-16],children:(0,e.jsx)("div",{className:n.marker,children:at("map_control_group.sam.ziDongShiBie")})}),(0,e.jsx)(ie.Ie,p()(p()({},Di),{},{source:zt}))]})},er,Fi=function(){return{textLayerForm:(0,M.iv)(er||(er=T()([` - .ant-form-item { - margin-bottom: 12px !important; - } - `])))}},Zi=Fi,Mi=function(){var n=Qt(),i=Zi(),r=(0,U.Og)(),a=r.showTextLayer,l=r.setShowTextLayer,s=r.textLayerFields,u=r.setTextLayerFields,f=(0,U.SS)(),d=f.features,C=(0,h.useState)([]),_=c()(C,2),b=_[0],E=_[1],O=(0,te.$G)(),L=O.t,D=function(){var y=new Set;d.forEach(function(g){var S=g.properties;S&&Object.keys(S).forEach(function(v){y.add(v)})}),E(Array.from(y))};return(0,e.jsx)(ie.br,{position:"bottomleft",children:(0,e.jsx)(Ye.Z,{title:L("text-layer-control_wenBenBiaoZhu"),overlayStyle:{width:300},content:(0,e.jsxs)(oe.Z,{size:"small",className:i.textLayerForm,children:[(0,e.jsx)(oe.Z.Item,{label:L("text-layer-control_shiFouZhanShiTuCeng"),children:(0,e.jsx)(Pn.Z,{value:a,onChange:l})}),(0,e.jsx)(oe.Z.Item,{label:L("text-layer-control_zhanShiZiDuan"),children:(0,e.jsx)(Ce.Z,{value:s,onChange:u,placeholder:L("text-layer-control_buXuan"),mode:"multiple",options:b.map(function(j){return{label:j,value:j}})})})]}),trigger:"click",onOpenChange:function(y){y&&D()},children:(0,e.jsx)(ue.Z,{placement:"left",overlay:L("text-layer-control_wenBenTuCengPeiZhi"),children:(0,e.jsx)("button",{className:n.L7EditorControl,id:"text-layer-control",children:(0,e.jsx)(Re,{type:"icon-wenbenkuang"})})})})})},tr={drawControl:!0,clearControl:!0,zoomControl:!0,scaleControl:!0,locationSearchControl:!0,mouseLocationControl:!0,filterControl:!0,officialLayerControl:!0,mapThemeControl:!0,geoLocateControl:!0,layerColorControl:!0,autoControl:!0,fullscreenControl:!0,administrativeSelectControl:!0,mapAdministrativeControl:!0,logoControl:!0,textLayerControl:!0},Ii=function(n){var i=n.mapControl,r=(0,U.Og)(),a=r.baseMap,l=r.layerType,s=Qt(),u=(0,h.useState)(tr),f=c()(u,2),d=f[0],C=f[1];return(0,h.useEffect)(function(){C(p()(p()({},tr),i))},[i]),(0,e.jsxs)(e.Fragment,{children:[d.logoControl&&(0,e.jsx)(ie.OB,{position:"leftbottom"}),d.scaleControl&&(0,e.jsx)(ie.jf,{position:"leftbottom",className:s.scalesControl}),d.mouseLocationControl&&(0,e.jsx)(ie.CB,{position:"leftbottom",className:s.mouseLocatio}),d.drawControl&&(0,e.jsx)(Ro,{}),d.clearControl&&(0,e.jsx)(Mo,{}),d.zoomControl&&(0,e.jsx)(ie.Ly,{className:s.zoom,showZoom:!0,position:"rightbottom"}),d.mapAdministrativeControl&&(0,e.jsx)(vi,{}),d.administrativeSelectControl&&(0,e.jsx)(Po,{}),d.locationSearchControl&&(0,e.jsx)(fi,{}),d.filterControl&&(0,e.jsx)(ti,{}),a==="Gaode"&&d.officialLayerControl&&(0,e.jsx)(Ei,{}),d.mapThemeControl&&(0,e.jsx)(xi,{}),d.geoLocateControl&&(0,e.jsx)(ie.l_,{position:"topleft",className:s.fullScreen}),d.layerColorControl&&(0,e.jsx)(ii,{}),d.autoControl&&(0,e.jsx)(Ao,{}),d.fullscreenControl&&(0,e.jsx)(ie.ot,{position:"bottomright",className:s.fullScreen}),l.includes(J.dY.GoogleSatellite)&&(0,e.jsx)(Ai,{}),d.textLayerControl&&(0,e.jsx)(Mi,{})]})},wi=o(46312),nr,ar,rr,or,ir,Bi=function(){var n=we.Z.useToken,i=n(),r=i.token,a=r.colorBgContainer,l=r.boxShadow,s=r.colorBorderSecondary,u=r.colorInfoHover,f=r.colorIcon;return{resizePanel:(0,M.iv)(nr||(nr=T()([` - width: 100%; - height: calc(100% - 50px); - display: flex; - position: relative; - `]))),resizePanelLeft:(0,M.iv)(ar||(ar=T()([` - position: absolute; - left: 0; - top: 0; - bottom: 0; - overflow: hidden; - `]))),resizePanelRight:(0,M.iv)(rr||(rr=T()([` - position: relative; - border-left: 1px solid `,`; - box-shadow: `,`; - `])),s,l),resizePanelDragLine:(0,M.iv)(or||(or=T()([` - transition: all 0.5s; - cursor: move !important; - z-index: 100; - - &:hover, - &:focus { - background-color: `,`; - } - `])),u),resizePanelToggleBtn:(0,M.iv)(ir||(ir=T()([` - height: 60px; - width: 20px; - display: flex; - align-items: center; - justify-content: center; - background: `,`; - position: absolute; - top: calc(50% - 30px); - left: -20px; - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; - cursor: pointer; - z-index: 2; - .anticon { - transition: all 0.2s; - } - color: `,`; - `])),a,f)}},ki=Bi,Ri=function(n){var i,r=n.left,a=n.right,l=n.onFeatureChange,s=(0,U.Og)(),u=s.hideEditor,f=s.setHideEditor,d=s.rightPanelWidth,C=s.setRightWidth,_=(0,h.useState)(null),b=c()(_,2),E=b[0],O=b[1],L=c()(J.yc,2),D=L[0],j=L[1],y=(i=(0,Mn.Z)(E))!==null&&i!==void 0?i:{},g=y.width,S=g===void 0?0:g,v=(0,U.SS)(),k=v.features,W=ki(),P=function(R){var x,F=(x=E==null?void 0:E.getBoundingClientRect())!==null&&x!==void 0?x:{},H=F.left,w=H===void 0?0:H,I=100*(1-(R.clientX-w)/S);Ij&&(I=j),C(I)},z=(0,h.useMemo)(function(){return u?0:d},[u,d]);return(0,h.useEffect)(function(){l(k)},[k]),(0,e.jsxs)("div",{className:me()([W.resizePanel,"l7-editor-content"]),ref:function(R){O(R)},children:[(0,e.jsx)("div",{className:me()([W.resizePanelLeft,"l7-editor-content__left"]),style:{width:"".concat(100-z,"%")},children:r}),(0,e.jsxs)(wi.e,{enable:{left:!0},style:{marginLeft:"".concat(100-z,"%")},size:{width:"".concat(z,"%"),height:"100%"},minWidth:"".concat(D/100*S,"px"),maxWidth:"".concat(j/100*S,"px"),className:me()([W.resizePanelRight,"l7-editor-content__right"]),handleClasses:{left:W.resizePanelDragLine},handleStyles:{left:{width:6,left:-3}},defaultSize:{width:"".concat(z,"%"),height:"100%"},onResize:P,children:[a,(0,e.jsx)("div",{className:W.resizePanelToggleBtn,onClick:function(){f(!u)},children:(0,e.jsx)(Ja.Z,{style:{transform:u?"rotate(-180deg)":void 0}})})]})]})},Ji=o(29905),Vi=o(37382),tt=o(22950),Ni=o(77598),Gi=o(28459),zi=o(69483),lr=o.n(zi),sr,Wi=function(){return{l7Editor:(0,M.iv)(sr||(sr=T()([` - width: 100%; - height: 100%; - position: relative; - overflow: hidden; - `])))}},Ui=Wi,Ki=function(n){var i=n.onFeatureChange,r=(0,te.$G)(),a=r.i18n,l=r.t,s=(0,U.Og)(),u=s.theme,f=s.mapOptions,d=s.setMapOptions,C=s.locale,_=Ui(),b=(0,U.SS)(),E=b.saveEditorText,O=b.bboxAutoFit,L=b.scene;(0,Ni.Z)(function(){d(u==="dark"?p()(p()({},f),{},{style:"dark"}):p()(p()({},f),{},{style:"normal"}))},[u]),(0,h.useEffect)(function(){a.changeLanguage(C)},[]);var D=(0,h.useMemo)(function(){var j;return(j=bt.find(function(y){return y.lang===C}))===null||j===void 0?void 0:j.antd},[C]);return(0,Yt.Z)(Qe()(Oe()().mark(function j(){var y,g;return Oe()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,lr().getItem(J.Fe.EditorText);case 2:if(y=v.sent,y&&L&&!n.features)try{g=JSON.parse(y).features,O(g)}catch(k){et.ZP.error(l("import_btn.file_upload.qingJianChaShuJu"))}else L&&n.features&&O();case 4:case"end":return v.stop()}},j)})),[L]),(0,Yt.Z)(Qe()(Oe()().mark(function j(){var y;return Oe()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,lr().getItem(J.Fe.EditorText);case 2:y=S.sent,y&&!n.features&&E(y);case 4:case"end":return S.stop()}},j)})),[]),(0,e.jsx)(Gi.ZP,{locale:D,theme:{algorithm:u==="dark"?we.Z.darkAlgorithm:we.Z.defaultAlgorithm},children:(0,e.jsxs)("div",{className:me()([_.l7Editor,"l7-editor"]),id:"l7-editor",children:[(0,e.jsx)(Ir,{toolbar:n.toolbar}),(0,e.jsx)(Ri,{onFeatureChange:function(y){i&&i(y)},left:(0,e.jsxs)(Rr,{children:[(0,e.jsx)(Ii,{mapControl:n.mapControl}),(0,e.jsx)(so,{}),(0,e.jsx)(ho,{}),(0,e.jsx)(ro,{})]}),right:(0,e.jsx)(So,{tabItems:n==null?void 0:n.tabItems,features:n==null?void 0:n.features})})]})})};Vt.zl.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=!1;var Hi=function(n){var i=(0,te.$G)(),r=i.t,a=(0,h.useMemo)(function(){return!/Mobi|Android|iPhone/i.test(navigator.userAgent)},[]),l=(0,h.useMemo)(function(){return function(s){var u,f,d,C,_,b,E,O,L,D,j,y,g,S,v=s.set;v(tt.EB,(u=n==null?void 0:n.baseMap)!==null&&u!==void 0?u:"Gaode"),v(tt.dR,(f=n==null?void 0:n.primaryColor)!==null&&f!==void 0?f:J.K6),v(tt.Do,(d=n==null?void 0:n.rightPanelWidth)!==null&&d!==void 0?d:40),v(tt.aQ,(C=n==null?void 0:n.mapOption)!==null&&C!==void 0?C:{style:"normal",maxZoom:24}),v(tt.E1,!(n!=null&&n.autoFitBounds)),v(tt.xZ,(_=n==null?void 0:n.popupTrigger)!==null&&_!==void 0?_:"click"),v(tt.Uv,(b=n==null?void 0:n.activeTab)!==null&&b!==void 0?b:"geojson"),v(tt.DJ,(E=n==null?void 0:n.officialLayers)!==null&&E!==void 0?E:[]),v(tt.bK,(O=n==null?void 0:n.hidePanel)!==null&&O!==void 0?O:!1),v(tt.XG,(L=n==null?void 0:n.theme)!==null&&L!==void 0?L:"light"),v(tt.PY,(D=n==null?void 0:n.coordConvert)!==null&&D!==void 0?D:"GCJ02"),v(tt.GR,(j=n==null?void 0:n.locale)!==null&&j!==void 0?j:"zh-CN"),v(tt._u,(y=n==null?void 0:n.wasmPath)!==null&&y!==void 0?y:"/"),v(tt.CZ,(g=n==null?void 0:n.showTextLayer)!==null&&g!==void 0?g:!1),v(tt.Pl,(S=n==null?void 0:n.textLayerFields)!==null&&S!==void 0?S:void 0)}},[n]);return a?(0,e.jsx)(Vt.Wh,{initializeState:l,children:(0,e.jsx)(Ki,p()({},n))}):(0,e.jsx)(Ji.ZP,{status:"404",title:r("pages.index.qingYongPCDuan")})}},22950:function(Ze,le,o){"use strict";o.d(le,{CZ:function(){return Le},DJ:function(){return U},Do:function(){return Pe},E1:function(){return me},EB:function(){return te},GR:function(){return Se},LY:function(){return ve},PY:function(){return e},Pl:function(){return ze},Qn:function(){return re},Rl:function(){return q},Uv:function(){return J},XG:function(){return Re},Z3:function(){return it},_u:function(){return qe},aD:function(){return Ee},aQ:function(){return Ye},bK:function(){return dt},bo:function(){return Ie},dR:function(){return He},tJ:function(){return ge},xZ:function(){return h},zl:function(){return Ce}});var fe=o(69483),p=o.n(fe),N=o(4480),c=o(55375),ae=function(ye){return function(Ne){var je=Ne.setSelf,X=Ne.onSet,ne=localStorage.getItem(ye);ne&&je(JSON.parse(ne)),X(function(Y){Y instanceof N.nY?localStorage.removeItem(ye):localStorage.setItem(ye,JSON.stringify(Y))})}},be=function(ye){return function(Ne){var je=Ne.setSelf,X=Ne.onSet;p().getItem(ye).then(function(ne){ne&&je(ne)}),X(function(ne){ne instanceof N.nY?p().removeItem(ye):p().setItem(ye,ne)})}},ve=(0,N.cn)({key:"filter",default:[],dangerouslyAllowMutability:!0}),Ee=(0,N.cn)({key:"isDraw",default:!1}),ge=(0,N.cn)({key:"savedText",default:""}),q=(0,N.cn)({key:"features",default:[],dangerouslyAllowMutability:!0}),re=(0,N.cn)({key:"scene",default:null,dangerouslyAllowMutability:!0}),Ie=(0,N.cn)({key:"editorText",default:JSON.stringify({type:"FeatureCollection",features:[]},null,2),effects:[be(c.Fe.EditorText)]}),ue=(0,N.cn)({key:"lnglatType"}),G=(0,N.cn)({key:"lnglatText",default:""}),Pe=(0,N.cn)({key:"rightPanelWidth",effects:[ae(c.Fe.RightPanelWidth)]}),Ye=(0,N.cn)({key:"mapOptions",effects:[ae(c.Fe.MapOptions)]}),He=(0,N.cn)({key:"layerColor",effects:[ae(c.Fe.LayerColor)]}),dt=(0,N.cn)({key:"hideEditor",default:!1,effects:[ae(c.Fe.HideEditor)]}),me=(0,N.cn)({key:"autoFitBounds",effects:[ae(c.Fe.AutoFitBounds)]}),h=(0,N.cn)({key:"popupTrigger",effects:[ae(c.Fe.PopupTrigger)]}),te=(0,N.cn)({key:"baseMap",effects:[ae(c.Fe.BaseMap)]}),J=(0,N.cn)({key:"activeTab",default:"geojson",effects:[ae(c.Fe.ActiveRightTabKey)]}),U=(0,N.cn)({key:"layerType",default:[],effects:[ae(c.Fe.officialLayers)]}),e=(0,N.cn)({key:"coordConvert",default:"GCJ02",effects:[ae(c.Fe.Convert)]}),Re=(0,N.cn)({key:"theme",default:"light",effects:[ae(c.Fe.theme)]}),Ce=(0,N.cn)({key:"cityHistory",default:[],effects:[ae(c.Fe.cityHistory)]}),Le=(0,N.cn)({key:"showTextLayer",default:!0,effects:[ae(c.Fe.showTextLayer)]}),ze=(0,N.cn)({key:"textLayerFields",default:void 0,effects:[ae(c.Fe.textLayerFields)]}),it=(0,N.cn)({key:"showTextLayer",default:[],effects:[ae(c.Fe.customTiles)]}),Se=(0,N.cn)({key:"locale",default:"zh-CN",effects:[ae(c.Fe.locale)]}),qe=(0,N.cn)({key:"wasmPaths",effects:[ae(c.Fe.wasmPath)]})},85959:function(Ze,le,o){"use strict";o.d(le,{Z:function(){return Re}});var fe=o(19632),p=o.n(fe),N=o(52677),c=o.n(N),ae=o(9783),be=o.n(ae),ve=o(97857),Ee=o.n(ve),ge=o(5574),q=o.n(ge),re=o(24928),Ie=o(10154),ue=o(68652),G=o(16805),Pe=o(3729),Ye=o(90783),He=o(67294),dt=o(67421),me=o(4480),h=o(55375),te=o(11615),J=o(12510),U=o(22950),e=o(57874);function Re(){var Ce=(0,e.Z)(),Le=Ce.baseMap,ze=Ce.coordConvert,it=(0,me.FV)(U.bo),Se=q()(it,2),qe=Se[0],lt=Se[1],ye=(0,me.FV)(U.tJ),Ne=q()(ye,2),je=Ne[0],X=Ne[1],ne=(0,me.FV)(U.Rl),Y=q()(ne,2),se=Y[0],We=Y[1],st=(0,me.FV)(U.aD),pt=q()(st,2),ut=pt[0],ft=pt[1],St=(0,me.FV)(U.Qn),bt=q()(St,2),nt=bt[0],It=bt[1],T=(0,dt.$G)(),M=T.t,we=(0,He.useMemo)(function(){return qe!==je},[qe,je]),wt=(0,He.useMemo)(function(){return(0,re.featureCollection)(se)},[se]),Lt=function(de){We((0,ue.Z)(de).map(function(_e,Me){var Ve;return _e.properties=Ee()(Ee()({},_e.properties),{},be()({},h.AQ.Index,Me)),(Ve=_e.properties)!==null&&Ve!==void 0&&Ve[h.AQ.DrawType]||(_e.properties[h.AQ.DrawType]=function(){var _t=(0,re.getType)(_e);return/Point/.test(_t)?"point":/LineString/.test(_t)?"line":"polygon"}()),_e}))},Bt=function(de){var _e=JSON.stringify({type:"FeatureCollection",features:[]},null,2),Me=[];if(qe||de)try{Me=(0,te.mr)(de!=null?de:qe,M),de&<(de),X(de!=null?de:qe),Lt(Me)}catch(Ve){Ie.ZP.warning(M("recoil.feature.shuJuJiaZaiYou"))}else lt(_e),X(_e);return Me},Zt=function(de){var _e=(0,J.X)({content:(0,re.featureCollection)(de)});lt(_e),X(_e),Lt(de)},kt=(0,He.useMemo)(function(){var Ge=se.map(function(_e,Me){var Ve=_e.properties;return Ee()({__index:Me+1},Ve)}),de=[];return Array.from(new Set((0,G.Z)(se.map(function(_e){var Me=_e.properties;return Object.keys(Me)})))).forEach(function(_e){var Me=c()(Ge[0][_e]);if(Me==="string"||Me==="boolean"){var Ve=Ge.map(function(jt){return String(jt[_e])});de.push({type:"string",field:_e,value:Ve})}else if(Me==="number"){var _t=Ge.map(function(jt){return jt[_e]});de.push({type:Me,field:_e,min:(0,Pe.Z)(_t),max:(0,Ye.Z)(_t)})}}),de},[se]),Pt=(0,He.useCallback)(function(Ge){var de=p()(Ge);return ze==="WGS84"&&Le==="Gaode"?de=de.map(function(_e){return(0,te.IQ)((0,ue.Z)(_e))}):ze==="GCJ02"&&Le==="Mapbox"&&(de=de.map(function(_e){return(0,te.Jk)((0,ue.Z)(_e))})),de},[Le,ze]),Rt=(0,He.useCallback)(function(Ge){var de=p()(Ge);return ze==="WGS84"&&Le==="Gaode"?de=de.map(function(_e){return(0,te.Jk)((0,ue.Z)(_e))}):ze==="GCJ02"&&Le==="Mapbox"&&(de=de.map(function(_e){return(0,te.IQ)((0,ue.Z)(_e))})),de},[Le,ze]),Mt=(0,He.useCallback)(function(Ge){var de=Ge!=null?Ge:se;if(nt&&de.length){var _e=(0,re.bbox)((0,re.featureCollection)(Pt(de))),Me=q()(_e,4),Ve=Me[0],_t=Me[1],jt=Me[2],Jt=Me[3];nt.fitBounds([[Ve,_t],[jt,Jt]])}},[se,nt,Pt]);return{editorText:qe,setEditorText:lt,savedText:je,setSavedText:X,features:se,setFeatures:Lt,savable:we,saveEditorText:Bt,resetFeatures:Zt,dataSource:kt,bboxAutoFit:Mt,setIsDraw:ft,isDraw:ut,scene:nt,setScene:It,fc:wt,transformCoord:Pt,revertCoord:Rt}}},29795:function(Ze,le,o){"use strict";o.d(le,{Z:function(){return ae}});var fe=o(5574),p=o.n(fe),N=o(4480),c=o(22950);function ae(){var be=(0,N.FV)(c.LY),ve=p()(be,2),Ee=ve[0],ge=ve[1];return{filters:Ee,setFilters:ge}}},57874:function(Ze,le,o){"use strict";o.d(le,{Z:function(){return ae}});var fe=o(5574),p=o.n(fe),N=o(4480),c=o(22950);function ae(){var be=(0,N.FV)(c.Do),ve=p()(be,2),Ee=ve[0],ge=ve[1],q=(0,N.FV)(c.aQ),re=p()(q,2),Ie=re[0],ue=re[1],G=(0,N.FV)(c.dR),Pe=p()(G,2),Ye=Pe[0],He=Pe[1],dt=(0,N.FV)(c.bK),me=p()(dt,2),h=me[0],te=me[1],J=(0,N.FV)(c.E1),U=p()(J,2),e=U[0],Re=U[1],Ce=(0,N.FV)(c.xZ),Le=p()(Ce,2),ze=Le[0],it=Le[1],Se=(0,N.FV)(c.EB),qe=p()(Se,2),lt=qe[0],ye=qe[1],Ne=(0,N.FV)(c.Uv),je=p()(Ne,2),X=je[0],ne=je[1],Y=(0,N.FV)(c.DJ),se=p()(Y,2),We=se[0],st=se[1],pt=(0,N.FV)(c.PY),ut=p()(pt,2),ft=ut[0],St=ut[1],bt=(0,N.FV)(c.XG),nt=p()(bt,2),It=nt[0],T=nt[1],M=(0,N.FV)(c.zl),we=p()(M,2),wt=we[0],Lt=we[1],Bt=(0,N.FV)(c.CZ),Zt=p()(Bt,2),kt=Zt[0],Pt=Zt[1],Rt=(0,N.FV)(c.Pl),Mt=p()(Rt,2),Ge=Mt[0],de=Mt[1],_e=(0,N.FV)(c.Z3),Me=p()(_e,2),Ve=Me[0],_t=Me[1],jt=(0,N.FV)(c.GR),Jt=p()(jt,2),nn=Jt[0],Oe=Jt[1],an=(0,N.FV)(c._u),De=p()(an,2),rn=De[0],Qe=De[1];return{rightPanelWidth:Ee,setRightWidth:ge,mapOptions:Ie,setMapOptions:ue,layerColor:Ye,setLayerColor:He,hideEditor:h,setHideEditor:te,popupTrigger:ze,setPopupTrigger:it,baseMap:lt,setBaseMap:ye,autoFitBounds:e,setAutoFitBounds:Re,activeTab:X,setActiveTab:ne,layerType:We,setLayerType:st,coordConvert:ft,setCoordConvert:St,theme:It,setTheme:T,cityHistory:wt,setCityHistory:Lt,showTextLayer:kt,setShowTextLayer:Pt,textLayerFields:Ge,setTextLayerFields:de,customTiles:Ve,setCustomTiles:_t,locale:nn,setLocale:Oe,wasmPath:rn,setWasmPath:Qe}}},32865:function(Ze,le,o){"use strict";o.d(le,{SS:function(){return fe.Z},L0:function(){return p.Z},Og:function(){return N.Z}});var fe=o(85959),p=o(29795),N=o(57874),c=o(19632),ae=o(5574),be=o(24928),ve=o(67421),Ee=o(4480),ge=o(55375),q=o(22950);function re(){var Ie=useRecoilState(lnglatTypeState),ue=_slicedToArray(Ie,2),G=ue[0],Pe=ue[1],Ye=useTranslation(),He=Ye.t,dt=useRecoilState(lnglatTextState),me=_slicedToArray(dt,2),h=me[0],te=me[1],J=function(e){var Re=e.split(` -`).filter(function(Le){return Le}).map(function(Le){return Le.split(";").filter(function(ze){return ze}).map(function(ze){return ze.split(",").filter(function(it){return it}).map(function(it){return+it})})});if(LngLatVT.check(Re)){var Ce=[];return G==="Point"?Ce.push.apply(Ce,_toConsumableArray(Re.flat().map(function(Le){return point(Le)}))):G==="LingString"?Ce.push.apply(Ce,_toConsumableArray(Re.map(function(Le){return lineString(Le)}))):Ce.push.apply(Ce,_toConsumableArray(Re.map(function(Le){return isEqual(first(Le),last(Le))||Le.push(Le[0]),polygon([Le])}))),Ce}else throw new Error(He("import_btn.lnglat_import_btn.lNGLA"))};return{lngLatImportType:G,setLngLatImportType:Pe,lngLatText:h,setLngLatText:te,importLngLatText:J}}},11615:function(Ze,le,o){"use strict";o.d(le,{fC:function(){return e},fN:function(){return Ye.f},Qp:function(){return Re},Yt:function(){return Ye.Y},Pp:function(){return dt},Di:function(){return it},Jk:function(){return te},C2:function(){return ze},oO:function(){return Se},bo:function(){return qe},gw:function(){return ye},tI:function(){return lt},Ep:function(){return Ne},mr:function(){return Ce},IQ:function(){return h}});var fe=o(15009),p=o.n(fe),N=o(99289),c=o.n(N),ae=o(97857),be=o.n(ae),ve=o(67135),Ee=o(89597),ge=o.n(Ee),q=o(24928),re=o(10154),Ie=o(27484),ue=o.n(Ie),G=o(49360),Pe=o(55375),Ye=o(42649),He=o(935),dt=function(X){var ne=(0,q.length)(X,{units:"meters"}),Y=(0,He.Z)((0,q.lineSliceAlong)(X,0,ne/2,{units:"meters"}).geometry.coordinates);return(0,q.point)(Y)},me=o(80520),h=function(X){return X.geometry.type.match(/polygon/i)&&(X.geometry=JSON.parse(JSON.stringify(X.geometry))),me.Z.transform(X,me.Z.WGS84,me.Z.GCJ02)},te=function(X){return X.geometry.type.match(/polygon/i)&&(X.geometry=JSON.parse(JSON.stringify(X.geometry))),me.Z.transform(X,me.Z.GCJ02,me.Z.WGS84)},J=o(19632),U=o.n(J);function e(je){var X=(0,q.coordAll)(je).map(function(ne){return ne.join(",")}).join(";");return X}function Re(je){var X=je.split(` -`).filter(function(Y){return Y}).map(function(Y){return Y.split(";").filter(function(se){return se}).map(function(se){return se.split(",").filter(function(We){return We}).map(function(We){return+We})})});if(Pe.eG.check(X)){var ne=[];return ne.push.apply(ne,U()(X.flat().map(function(Y){return(0,q.point)(Y)}))),ne}}var Ce=function(X,ne){var Y=JSON.parse(X);if(Pe._9.check(Y))return Y.features;if(Array.isArray(Y))return Pe.Iz.check(Y)?Y:Pe.xQ.check(Y)?Y.map(function(se){return(0,q.feature)(se)}):(console.warn(ne("utils.transform.weiShiBieJS")),[]);if(Pe.u9.check(Y))return[Y];if(Pe.dw.check(Y))return[(0,q.feature)(Y)]},Le=function(X,ne){var Y=Color(X).fade(ne);return"rgba(".concat(Y.array().join(", "),")")},ze=function(X){var ne=(0,ve.getSingleColorStyle)(X);return Object.keys(ne).forEach(function(Y){ne[Y].options=be()(be()({},ne[Y].options),{},{zIndex:Pe.QF})}),ne},it=function(X,ne){var Y=document.createElement("a");Y.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(X)),Y.setAttribute("download","".concat(ue()().format("YYYY-MM-DD"),".").concat(ne)),Y.style.display="none",document.body.appendChild(Y),Y.click()},Se=function(X){var ne=new URLSearchParams(window.location.search);return ne.get(X)},qe=function(){var je=c()(p()().mark(function X(ne){var Y,se,We,st,pt,ut,ft,St,bt,nt=arguments;return p()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return Y=nt.length>1&&nt[1]!==void 0?nt[1]:"GeoJSON",se=nt.length>2?nt[2]:void 0,T.next=4,fetch(ne);case 4:if(We=T.sent,Y!=="GeoJSON"){T.next=18;break}return T.prev=6,T.next=9,We.json();case 9:return st=T.sent,T.abrupt("return",st);case 13:throw T.prev=13,T.t0=T.catch(6),new Error(se("utils.index.qingJianChaUR"));case 16:T.next=43;break;case 18:if(Y!=="WKT"){T.next=30;break}return T.next=21,We.text();case 21:if(pt=T.sent,ut=(0,Ye.Y)(pt),!Pe._9.check(ut)){T.next=27;break}return T.abrupt("return",ut);case 27:re.ZP.error(se("utils.index.qingJianChaUR"));case 28:T.next=43;break;case 30:if(Y!=="KML"){T.next=43;break}return T.next=33,We.text();case 33:if(ft=T.sent,St=new DOMParser().parseFromString(ft,"text/xml"),!(St.getElementsByTagName("parsererror").length>0)){T.next=39;break}re.ZP.error(se("utils.index.qingJianChaUR")),T.next=43;break;case 39:return T.next=41,ge().kml(St,{style:!0});case 41:return bt=T.sent,T.abrupt("return",bt);case 43:case"end":return T.stop()}},X,null,[[6,13]])}));return function(ne){return je.apply(this,arguments)}}(),lt=function(X){return!(0,G.Z)(X)&&X instanceof Promise},ye=function(X){var ne,Y=(ne=X.properties)===null||ne===void 0?void 0:ne[Pe.AQ.DrawType];if(Y==="circle")return!0;var se=(0,q.center)(X).geometry.coordinates,We=(0,q.coordAll)(X).map(function(st){return Math.round((0,q.distance)(st,se,{units:"meters"}))});return Array.from(new Set(We)).length===1},Ne=function(X){var ne,Y=(ne=X.properties)===null||ne===void 0?void 0:ne[Pe.AQ.DrawType];if(Y==="rect")return!0;var se=(0,q.coordAll)(X);if(se.length!==5)return!1;var We=(0,q.distance)(se[0],se[1],{units:"meters"}).toFixed(0),st=(0,q.distance)(se[1],se[2],{units:"meters"}).toFixed(0),pt=(0,q.distance)(se[2],se[3],{units:"meters"}).toFixed(0),ut=(0,q.distance)(se[3],se[4],{units:"meters"}).toFixed(0);if(We===pt&&st===ut){var ft=Math.round((0,q.bearing)(se[0],se[3])-(0,q.bearing)(se[0],se[1]));return ft===90||ft===270}return!1}},12510:function(Ze,le,o){"use strict";o.d(le,{X:function(){return ae}});var fe=o(73945),p=o.n(fe),N=o(28182),c=o.n(N);function ae(be){var ve=be.content,Ee=be.parser,ge=Ee===void 0?"json":Ee,q=ve;typeof ve!="string"&&(q=JSON.stringify(ve,null,2));var re=p().format(q,{parser:ge==="json"?ge:"babel",plugins:[c()]});return re}},42649:function(Ze,le,o){"use strict";o.d(le,{Y:function(){return ae},f:function(){return c}});var fe=o(24928),p=o(41545),N=o.n(p);function c(be){return be.features.map(function(ve){return(0,p.stringify)(ve.geometry)}).join(";").replaceAll(" (","(").replaceAll(", ",",")}function ae(be){var ve=(0,fe.featureCollection)([]);return be.split(/[;\n]/g).forEach(function(Ee){if(Ee){var ge=(0,p.parse)(Ee);ge&&ve.features.push((0,fe.feature)(ge,{}))}}),ve}},20067:function(){}}]); diff --git a/docs/index.html b/docs/index.html index 99f36cb..9962ffe 100644 --- a/docs/index.html +++ b/docs/index.html @@ -26,6 +26,6 @@
- + \ No newline at end of file diff --git a/docs__docs__index.md.6d3aadca.async.js b/docs__docs__index.md.6d3aadca.async.js new file mode 100644 index 0000000..2e00424 --- /dev/null +++ b/docs__docs__index.md.6d3aadca.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_antv_l7_editor=self.webpackChunk_antv_l7_editor||[]).push([[799],{97229:function(a,i,l){l.r(i);var x=l(2143),t=l(93359),j=l(19977),u=l(79376),s=l(24268),n=l(96057),o=l(85939),r=l(73847),v=l(67294),e=l(85893);function c(){var h=(0,r.eL)(),d=h.texts;return(0,e.jsx)(r.dY,{children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"markdown",children:[(0,e.jsxs)("h3",{id:"\u8BF4\u660E",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u8BF4\u660E",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u8BF4\u660E"]}),(0,e.jsx)("p",{children:d[0].value}),(0,e.jsx)("p",{children:(0,e.jsxs)("strong",{children:[d[1].value,(0,e.jsx)("code",{children:d[2].value}),d[3].value,(0,e.jsx)("code",{children:d[4].value}),d[5].value,(0,e.jsx)("code",{children:d[6].value}),d[7].value]})}),(0,e.jsxs)("h3",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]}),(0,e.jsx)("p",{children:d[8].value})]}),(0,e.jsx)(r.Dl,{demo:{id:"docs-docs-demo-docs"},previewerProps:{compact:!0,filename:"docs/docs/index.tsx"}}),(0,e.jsxs)("div",{className:"markdown",children:[(0,e.jsxs)("h3",{id:"api",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,e.jsxs)("h3",{id:"\u914D\u7F6E\u9879",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u914D\u7F6E\u9879",children:(0,e.jsx)("span",{className:"icon icon-link"})}),(0,e.jsx)("code",{children:d[9].value})]}),(0,e.jsx)("p",{children:d[10].value}),(0,e.jsxs)(n.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{children:d[11].value}),(0,e.jsx)("th",{children:d[12].value}),(0,e.jsx)("th",{children:d[13].value}),(0,e.jsx)("th",{children:d[14].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[15].value}),(0,e.jsx)("td",{children:d[16].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[17].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[18].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[19].value}),(0,e.jsxs)("td",{children:[d[20].value,(0,e.jsx)("a",{href:"https://larkmap.antv.antgroup.com/components/lark-map#mapoptions",children:d[21].value})]}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[22].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[23].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[24].value}),(0,e.jsx)("td",{children:d[25].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[26].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[27].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[28].value}),(0,e.jsx)("td",{children:d[29].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[30].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[31].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[32].value}),(0,e.jsx)("td",{children:d[33].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[34].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[35].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[36].value}),(0,e.jsx)("td",{children:d[37].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[38].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[39].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[40].value}),(0,e.jsx)("td",{children:d[41].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[42].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[43].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[44].value}),(0,e.jsx)("td",{children:d[45].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[46].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[47].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[48].value}),(0,e.jsx)("td",{children:d[49].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[50].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[51].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[52].value}),(0,e.jsx)("td",{children:d[53].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[54].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[55].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[56].value}),(0,e.jsx)("td",{children:d[57].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[58].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[59].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[60].value}),(0,e.jsx)("td",{children:d[61].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[62].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[63].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[64].value}),(0,e.jsx)("td",{children:d[65].value}),(0,e.jsx)("td",{children:(0,e.jsx)(r.rU,{to:"#mapcontrolprops",children:d[66].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[67].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[68].value}),(0,e.jsx)("td",{children:d[69].value}),(0,e.jsx)("td",{children:(0,e.jsx)(r.rU,{to:"#toolbarprops",children:d[70].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[71].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[72].value}),(0,e.jsx)("td",{children:d[73].value}),(0,e.jsx)("td",{children:(0,e.jsx)("a",{href:"https://ant-design.antgroup.com/components/tabs-cn#tabitemtype",children:d[74].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[75].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[76].value}),(0,e.jsx)("td",{children:d[77].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[78].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[79].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[80].value}),(0,e.jsx)("td",{children:d[81].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[82].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[83].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[84].value}),(0,e.jsx)("td",{children:d[85].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[86].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[87].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[88].value}),(0,e.jsx)("td",{children:d[89].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[90].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[91].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[92].value}),(0,e.jsx)("td",{children:d[93].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[94].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[95].value})})]})]})]}),(0,e.jsxs)("h4",{id:"tabitems",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#tabitems",children:(0,e.jsx)("span",{className:"icon icon-link"})}),(0,e.jsx)("code",{children:d[96].value})]}),(0,e.jsx)("p",{children:d[97].value}),(0,e.jsxs)("h4",{id:"\u7EC4\u4EF6",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u7EC4\u4EF6",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u7EC4\u4EF6"]}),(0,e.jsxs)("p",{children:[d[98].value,(0,e.jsx)("code",{children:d[99].value}),d[100].value]}),(0,e.jsxs)("h4",{id:"geojsoneditor",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#geojsoneditor",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"GeoJsonEditor"]}),(0,e.jsx)("p",{children:d[101].value}),(0,e.jsx)("p",{children:(0,e.jsx)("strong",{children:(0,e.jsx)("font",{color:"red",children:d[102].value})})}),(0,e.jsx)(s.Z,{lang:"ts",children:d[103].value}),(0,e.jsxs)("h4",{id:"wkteditor",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#wkteditor",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"WktEditor"]}),(0,e.jsx)("p",{children:d[104].value}),(0,e.jsxs)("h4",{id:"lnglateditor",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#lnglateditor",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"LngLatEditor"]}),(0,e.jsx)("p",{children:d[105].value}),(0,e.jsxs)("h4",{id:"apptable",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#apptable",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"AppTable"]}),(0,e.jsx)("p",{children:d[106].value}),(0,e.jsx)(s.Z,{lang:"js",children:d[107].value}),(0,e.jsxs)("h4",{id:"officiallayers",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#officiallayers",children:(0,e.jsx)("span",{className:"icon icon-link"})}),(0,e.jsx)("code",{children:d[108].value}),"\xB8"]}),(0,e.jsx)("p",{children:d[109].value}),(0,e.jsx)("p",{children:(0,e.jsx)("code",{children:d[110].value})}),(0,e.jsx)(s.Z,{lang:"js",children:d[111].value}),(0,e.jsxs)(n.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{children:d[112].value}),(0,e.jsx)("th",{children:d[113].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[114].value}),(0,e.jsx)("td",{children:d[115].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[116].value}),(0,e.jsx)("td",{children:d[117].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[118].value}),(0,e.jsx)("td",{children:d[119].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[120].value}),(0,e.jsx)("td",{children:d[121].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[122].value}),(0,e.jsx)("td",{children:d[123].value})]})]})]}),(0,e.jsxs)("h4",{id:"coordconvert",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#coordconvert",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"coordConvert"]}),(0,e.jsxs)(n.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{children:d[124].value}),(0,e.jsx)("th",{children:d[125].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[126].value}),(0,e.jsx)("td",{children:d[127].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[128].value}),(0,e.jsx)("td",{children:d[129].value})]})]})]}),(0,e.jsxs)("h4",{id:"mapcontrol",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#mapcontrol",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"mapControl"]}),(0,e.jsx)("p",{children:d[130].value}),(0,e.jsx)(s.Z,{lang:"js",children:d[131].value}),(0,e.jsxs)("h4",{id:"mapcontrolprops",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#mapcontrolprops",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"MapControlProps"]}),(0,e.jsxs)(n.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{children:d[132].value}),(0,e.jsx)("th",{children:d[133].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[134].value}),(0,e.jsx)("td",{children:d[135].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[136].value}),(0,e.jsx)("td",{children:d[137].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[138].value}),(0,e.jsx)("td",{children:d[139].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[140].value}),(0,e.jsx)("td",{children:d[141].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[142].value}),(0,e.jsx)("td",{children:d[143].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[144].value}),(0,e.jsx)("td",{children:d[145].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[146].value}),(0,e.jsx)("td",{children:d[147].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[148].value}),(0,e.jsx)("td",{children:d[149].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[150].value}),(0,e.jsx)("td",{children:d[151].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[152].value}),(0,e.jsx)("td",{children:d[153].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[154].value}),(0,e.jsx)("td",{children:d[155].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[156].value}),(0,e.jsx)("td",{children:d[157].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[158].value}),(0,e.jsx)("td",{children:d[159].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[160].value}),(0,e.jsx)("td",{children:d[161].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[162].value}),(0,e.jsx)("td",{children:d[163].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[164].value}),(0,e.jsx)("td",{children:d[165].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[166].value}),(0,e.jsx)("td",{children:d[167].value})]})]})]}),(0,e.jsxs)("h4",{id:"toolbar",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#toolbar",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"toolbar"]}),(0,e.jsx)("p",{children:d[168].value}),(0,e.jsx)(s.Z,{lang:"js",children:d[169].value}),(0,e.jsxs)("h4",{id:"toolbarprops",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#toolbarprops",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"ToolbarProps"]}),(0,e.jsxs)(n.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{children:d[170].value}),(0,e.jsx)("th",{children:d[171].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[172].value}),(0,e.jsx)("td",{children:d[173].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[174].value}),(0,e.jsx)("td",{children:d[175].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[176].value}),(0,e.jsx)("td",{children:d[177].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[178].value}),(0,e.jsx)("td",{children:d[179].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[180].value}),(0,e.jsx)("td",{children:d[181].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[182].value}),(0,e.jsx)("td",{children:d[183].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[184].value}),(0,e.jsx)("td",{children:d[185].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[186].value}),(0,e.jsx)("td",{children:d[187].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[188].value}),(0,e.jsx)("td",{children:d[189].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[190].value}),(0,e.jsx)("td",{children:d[191].value})]})]})]}),(0,e.jsxs)("h4",{id:"onfeaturechange",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#onfeaturechange",children:(0,e.jsx)("span",{className:"icon icon-link"})}),(0,e.jsx)("code",{children:d[192].value})]}),(0,e.jsx)("p",{children:d[193].value}),(0,e.jsx)(s.Z,{lang:"js",children:d[194].value})]})]})})}i.default=c}}]); diff --git a/docs__docs__index.md.f5762d12.async.js b/docs__docs__index.md.f5762d12.async.js deleted file mode 100644 index 5a4d203..0000000 --- a/docs__docs__index.md.f5762d12.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_antv_l7_editor=self.webpackChunk_antv_l7_editor||[]).push([[799],{97229:function(a,i,l){l.r(i);var x=l(2143),t=l(93359),j=l(19977),u=l(79376),s=l(24268),n=l(96057),o=l(85939),r=l(73847),v=l(67294),e=l(85893);function c(){var h=(0,r.eL)(),d=h.texts;return(0,e.jsx)(r.dY,{children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"markdown",children:[(0,e.jsxs)("h3",{id:"\u8BF4\u660E",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u8BF4\u660E",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u8BF4\u660E"]}),(0,e.jsx)("p",{children:d[0].value}),(0,e.jsx)("p",{children:(0,e.jsxs)("strong",{children:[d[1].value,(0,e.jsx)("code",{children:d[2].value}),d[3].value,(0,e.jsx)("code",{children:d[4].value}),d[5].value,(0,e.jsx)("code",{children:d[6].value}),d[7].value]})}),(0,e.jsxs)("h3",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]}),(0,e.jsx)("p",{children:d[8].value})]}),(0,e.jsx)(r.Dl,{demo:{id:"docs-docs-demo-docs"},previewerProps:{compact:!0,filename:"docs/docs/index.tsx"}}),(0,e.jsxs)("div",{className:"markdown",children:[(0,e.jsxs)("h3",{id:"api",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,e.jsxs)("h3",{id:"\u914D\u7F6E\u9879",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u914D\u7F6E\u9879",children:(0,e.jsx)("span",{className:"icon icon-link"})}),(0,e.jsx)("code",{children:d[9].value})]}),(0,e.jsx)("p",{children:d[10].value}),(0,e.jsxs)(n.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{children:d[11].value}),(0,e.jsx)("th",{children:d[12].value}),(0,e.jsx)("th",{children:d[13].value}),(0,e.jsx)("th",{children:d[14].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[15].value}),(0,e.jsx)("td",{children:d[16].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[17].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[18].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[19].value}),(0,e.jsxs)("td",{children:[d[20].value,(0,e.jsx)("a",{href:"https://larkmap.antv.antgroup.com/components/lark-map#mapoptions",children:d[21].value})]}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[22].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[23].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[24].value}),(0,e.jsx)("td",{children:d[25].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[26].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[27].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[28].value}),(0,e.jsx)("td",{children:d[29].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[30].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[31].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[32].value}),(0,e.jsx)("td",{children:d[33].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[34].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[35].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[36].value}),(0,e.jsx)("td",{children:d[37].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[38].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[39].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[40].value}),(0,e.jsx)("td",{children:d[41].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[42].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[43].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[44].value}),(0,e.jsx)("td",{children:d[45].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[46].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[47].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[48].value}),(0,e.jsx)("td",{children:d[49].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[50].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[51].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[52].value}),(0,e.jsx)("td",{children:d[53].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[54].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[55].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[56].value}),(0,e.jsx)("td",{children:d[57].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[58].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[59].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[60].value}),(0,e.jsx)("td",{children:d[61].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[62].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[63].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[64].value}),(0,e.jsx)("td",{children:d[65].value}),(0,e.jsx)("td",{children:(0,e.jsx)(r.rU,{to:"#mapcontrolprops",children:d[66].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[67].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[68].value}),(0,e.jsx)("td",{children:d[69].value}),(0,e.jsx)("td",{children:(0,e.jsx)(r.rU,{to:"#toolbarprops",children:d[70].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[71].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[72].value}),(0,e.jsx)("td",{children:d[73].value}),(0,e.jsx)("td",{children:(0,e.jsx)("a",{href:"https://ant-design.antgroup.com/components/tabs-cn#tabitemtype",children:d[74].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[75].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[76].value}),(0,e.jsx)("td",{children:d[77].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[78].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[79].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[80].value}),(0,e.jsx)("td",{children:d[81].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[82].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[83].value})})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[84].value}),(0,e.jsx)("td",{children:d[85].value}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[86].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[87].value})})]})]})]}),(0,e.jsxs)("h4",{id:"tabitems",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#tabitems",children:(0,e.jsx)("span",{className:"icon icon-link"})}),(0,e.jsx)("code",{children:d[88].value})]}),(0,e.jsx)("p",{children:d[89].value}),(0,e.jsxs)("h4",{id:"\u7EC4\u4EF6",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u7EC4\u4EF6",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u7EC4\u4EF6"]}),(0,e.jsxs)("p",{children:[d[90].value,(0,e.jsx)("code",{children:d[91].value}),d[92].value]}),(0,e.jsxs)("h4",{id:"geojsoneditor",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#geojsoneditor",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"GeoJsonEditor"]}),(0,e.jsx)("p",{children:d[93].value}),(0,e.jsx)("p",{children:(0,e.jsx)("strong",{children:(0,e.jsx)("font",{color:"red",children:d[94].value})})}),(0,e.jsx)(s.Z,{lang:"ts",children:d[95].value}),(0,e.jsxs)("h4",{id:"wkteditor",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#wkteditor",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"WktEditor"]}),(0,e.jsx)("p",{children:d[96].value}),(0,e.jsxs)("h4",{id:"lnglateditor",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#lnglateditor",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"LngLatEditor"]}),(0,e.jsx)("p",{children:d[97].value}),(0,e.jsxs)("h4",{id:"apptable",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#apptable",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"AppTable"]}),(0,e.jsx)("p",{children:d[98].value}),(0,e.jsx)(s.Z,{lang:"js",children:d[99].value}),(0,e.jsxs)("h4",{id:"officiallayers",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#officiallayers",children:(0,e.jsx)("span",{className:"icon icon-link"})}),(0,e.jsx)("code",{children:d[100].value}),"\xB8"]}),(0,e.jsx)("p",{children:d[101].value}),(0,e.jsx)("p",{children:(0,e.jsx)("code",{children:d[102].value})}),(0,e.jsx)(s.Z,{lang:"js",children:d[103].value}),(0,e.jsxs)(n.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{children:d[104].value}),(0,e.jsx)("th",{children:d[105].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[106].value}),(0,e.jsx)("td",{children:d[107].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[108].value}),(0,e.jsx)("td",{children:d[109].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[110].value}),(0,e.jsx)("td",{children:d[111].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[112].value}),(0,e.jsx)("td",{children:d[113].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[114].value}),(0,e.jsx)("td",{children:d[115].value})]})]})]}),(0,e.jsxs)("h4",{id:"coordconvert",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#coordconvert",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"coordConvert"]}),(0,e.jsxs)(n.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{children:d[116].value}),(0,e.jsx)("th",{children:d[117].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[118].value}),(0,e.jsx)("td",{children:d[119].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[120].value}),(0,e.jsx)("td",{children:d[121].value})]})]})]}),(0,e.jsxs)("h4",{id:"mapcontrol",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#mapcontrol",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"mapControl"]}),(0,e.jsx)("p",{children:d[122].value}),(0,e.jsx)(s.Z,{lang:"js",children:d[123].value}),(0,e.jsxs)("h4",{id:"mapcontrolprops",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#mapcontrolprops",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"MapControlProps"]}),(0,e.jsxs)(n.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{children:d[124].value}),(0,e.jsx)("th",{children:d[125].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[126].value}),(0,e.jsx)("td",{children:d[127].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[128].value}),(0,e.jsx)("td",{children:d[129].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[130].value}),(0,e.jsx)("td",{children:d[131].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[132].value}),(0,e.jsx)("td",{children:d[133].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[134].value}),(0,e.jsx)("td",{children:d[135].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[136].value}),(0,e.jsx)("td",{children:d[137].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[138].value}),(0,e.jsx)("td",{children:d[139].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[140].value}),(0,e.jsx)("td",{children:d[141].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[142].value}),(0,e.jsx)("td",{children:d[143].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[144].value}),(0,e.jsx)("td",{children:d[145].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[146].value}),(0,e.jsx)("td",{children:d[147].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[148].value}),(0,e.jsx)("td",{children:d[149].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[150].value}),(0,e.jsx)("td",{children:d[151].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[152].value}),(0,e.jsx)("td",{children:d[153].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[154].value}),(0,e.jsx)("td",{children:d[155].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[156].value}),(0,e.jsx)("td",{children:d[157].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[158].value}),(0,e.jsx)("td",{children:d[159].value})]})]})]}),(0,e.jsxs)("h4",{id:"toolbar",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#toolbar",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"toolbar"]}),(0,e.jsx)("p",{children:d[160].value}),(0,e.jsx)(s.Z,{lang:"js",children:d[161].value}),(0,e.jsxs)("h4",{id:"toolbarprops",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#toolbarprops",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"ToolbarProps"]}),(0,e.jsxs)(n.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{children:d[162].value}),(0,e.jsx)("th",{children:d[163].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[164].value}),(0,e.jsx)("td",{children:d[165].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[166].value}),(0,e.jsx)("td",{children:d[167].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[168].value}),(0,e.jsx)("td",{children:d[169].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[170].value}),(0,e.jsx)("td",{children:d[171].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[172].value}),(0,e.jsx)("td",{children:d[173].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[174].value}),(0,e.jsx)("td",{children:d[175].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[176].value}),(0,e.jsx)("td",{children:d[177].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[178].value}),(0,e.jsx)("td",{children:d[179].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[180].value}),(0,e.jsx)("td",{children:d[181].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:d[182].value}),(0,e.jsx)("td",{children:d[183].value})]})]})]}),(0,e.jsxs)("h4",{id:"onfeaturechange",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#onfeaturechange",children:(0,e.jsx)("span",{className:"icon icon-link"})}),(0,e.jsx)("code",{children:d[184].value})]}),(0,e.jsx)("p",{children:d[185].value}),(0,e.jsx)(s.Z,{lang:"js",children:d[186].value})]})]})})}i.default=c}}]); diff --git a/guide/index.html b/guide/index.html index 99f36cb..9962ffe 100644 --- a/guide/index.html +++ b/guide/index.html @@ -26,6 +26,6 @@
- + \ No newline at end of file diff --git a/index.html b/index.html index 99f36cb..9962ffe 100644 --- a/index.html +++ b/index.html @@ -26,6 +26,6 @@
- + \ No newline at end of file diff --git a/umi.722a868b.js b/umi.3303cf19.js similarity index 99% rename from umi.722a868b.js rename to umi.3303cf19.js index fc3f742..5dfcd2e 100644 --- a/umi.722a868b.js +++ b/umi.3303cf19.js @@ -41,7 +41,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ur(C,L){if(C){if(typeof C=="string")return pr(C,L);var k=Object.prototype.toString.call(C).slice(8,-1);if(k==="Object"&&C.constructor&&(k=C.constructor.name),k==="Map"||k==="Set")return Array.from(C);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return pr(C,L)}}function pr(C,L){(L==null||L>C.length)&&(L=C.length);for(var k=0,pe=new Array(L);kUn.length&&Je,Wn=Object.values(k).reduce(function(Ia,Da){return Da.path.startsWith(Nr.slice(1))&&((0,ae.qu)(Ia[0],"nav",Da.meta.frontmatter),da&&(0,ae.qu)(Ia[1],"nav.second",Da.meta.frontmatter)),Ia},[{},{}]),Jn=Rr(Wn,2),va=Jn[0],pa=Jn[1];if(da){var Na,eo,Va;(Na=va.title)!==null&&Na!==void 0||(va.title=Un.split("/").pop().replace(/^[a-z]/,function(Ia){return Ia.toUpperCase()}));var La=(eo=Qt[Un])!==null&&eo!==void 0?eo:Qt[Un]=Yr(va,bn,Un);(Va=La.children)!==null&&Va!==void 0||(La.children=[]),La.children.push(Yr(pa,bn,Nr,bn[0].children[0].link))}else Qt[Nr]=Yr(va,bn,Nr,bn[0].children[0].link);return Qt},{}));return ot.forEach(function(Qt,yr){var Ir;!Qt.link&&((Ir=Qt.children)===null||Ir===void 0?void 0:Ir.length)===1?ot[yr]=Qt.children[0]:Qt.children&&Qt.children.sort(ut)}),ot.sort(ut),Tt==="prepend"?ot.unshift.apply(ot,Ar(Bt)):Tt==="append"&&ot.push.apply(ot,Ar(Bt)),ot}),yt=Rr(st,1),_t=yt[0];return _t};function rn(C){"@babel/helpers - typeof";return rn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(L){return typeof L}:function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},rn(C)}function An(C,L){return Pr(C)||dn(C,L)||Cr(C,L)||Cn()}function Cn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cr(C,L){if(C){if(typeof C=="string")return nn(C,L);var k=Object.prototype.toString.call(C).slice(8,-1);if(k==="Object"&&C.constructor&&(k=C.constructor.name),k==="Map"||k==="Set")return Array.from(C);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return nn(C,L)}}function nn(C,L){(L==null||L>C.length)&&(L=C.length);for(var k=0,pe=new Array(L);kC.length)&&(L=C.length);for(var k=0,pe=new Array(L);k{var P=Object.create;var I=Object.defineProperty;var z=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames,R=Object.getOwnPropertySymbols,B=Object.getPrototypeOf,E=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var O=(e,t,i)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,M=(e,t)=>{for(var i in t||(t={}))E.call(t,i)&&O(e,i,t[i]);if(R)for(var i of R(t))L.call(t,i)&&O(e,i,t[i]);return e};var F=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var N=(e,t,i,h)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of D(t))!E.call(e,a)&&a!==i&&I(e,a,{get:()=>t[a],enumerable:!(h=z(t,a))||h.enumerable});return e};var W=(e,t,i)=>(i=e!=null?P(B(e)):{},N(t||!e||!e.__esModule?I(i,"default",{value:e,enumerable:!0}):i,e));var j=F((K,w)=>{w.exports=function(e){var t={};function i(h){if(t[h])return t[h].exports;var a=t[h]={exports:{},id:h,loaded:!1};return e[h].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}return i.m=e,i.c=t,i.p="",i(0)}([function(e,t,i){e.exports=i(1)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h=i(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return h.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return h.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return h.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return h.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=t.findAll=function(s){var n=s.autoEscape,g=s.caseSensitive,f=g===void 0?!1:g,p=s.findChunks,u=p===void 0?a:p,c=s.sanitize,v=s.searchWords,T=s.textToHighlight;return l({chunksToHighlight:h({chunks:u({autoEscape:n,caseSensitive:f,sanitize:c,searchWords:v,textToHighlight:T})}),totalLength:T?T.length:0})},h=t.combineChunks=function(s){var n=s.chunks;return n=n.sort(function(g,f){return g.start-f.start}).reduce(function(g,f){if(g.length===0)return[f];var p=g.pop();if(f.start<=p.end){var u=Math.max(p.end,f.end);g.push({highlight:!1,start:p.start,end:u})}else g.push(p,f);return g},[]),n},a=function(s){var n=s.autoEscape,g=s.caseSensitive,f=s.sanitize,p=f===void 0?d:f,u=s.searchWords,c=s.textToHighlight;return c=p(c),u.filter(function(v){return v}).reduce(function(v,T){T=p(T),n&&(T=r(T));for(var m=new RegExp(T,g?"g":"gi"),x=void 0;x=m.exec(c);){var S=x.index,$=m.lastIndex;$>S&&v.push({highlight:!1,start:S,end:$}),x.index===m.lastIndex&&m.lastIndex++}return v},[])};t.findChunks=a;var l=t.fillInChunks=function(s){var n=s.chunksToHighlight,g=s.totalLength,f=[],p=function(v,T,m){T-v>0&&f.push({start:v,end:T,highlight:m})};if(n.length===0)p(0,g,!1);else{var u=0;n.forEach(function(c){p(u,c.start,!1),p(c.start,c.end,!0),u=c.end}),p(u,g,!1)}return f};function d(o){return o}function r(o){return o.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,"\\\\$&")}}])});var C=W(j());var H="tab";function k(e,t,i,h,a){let l=a!==void 0;return h.reduce((r,o)=>(o.tocIndex===a&&(r[o.paraId]=(r[o.paraId]||"").concat(o.value)),r),[]).filter(Boolean).length||l?{rawTitle:e,title:t,link:i,paragraphs:h.reduce((r,o)=>{var s,n;return o.tocIndex===a&&((n=r[s=o.paraId])!=null||(r[s]=""),r[o.paraId]+=o.value),r},[]).filter(Boolean)}:null}function y(e){return[e.title,e.subtitle].filter(Boolean).join(" ")}function _(e,t,i){let h=[],a=Object.values(t).reduce((l,d)=>{var r,o;return d.asset&&((o=l[r=d.routeId])!=null||(l[r]=[]),l[d.routeId].push(d)),l},{});return Object.values(e).forEach(l=>{var d;if("meta"in l&&!("isLayout"in l)){let r=l.meta,o=l.path.replace(/^([^/])/,"/$1")||"/",s=i.find(u=>o===u.link||o.startsWith(`${u.activePath}/`)),n=(a[l.id]||[]).map(u=>{var c;return(c=u.asset)==null?void 0:c.id}),g=k("",y(r.frontmatter),o,r.texts),f=r.toc.reduce((u,c,v)=>{if(!n.includes(c.id)&&c.depth>=1){let T=y(r.frontmatter);c.depth!==1&&(T=`${T} - ${c.title}`),u.push(k(c.title,T,`${o}#${c.id}`,r.texts,v))}return u},[]),p=(r.tabs||[]).reduce((u,{key:c,meta:v})=>{let T=k("",`${y(r.frontmatter)} - ${v.frontmatter.title}`,`${o}?${H}=${c}`,v.texts);return T&&u.push(T),u.push(...v.toc.map((m,x)=>k(m.title,`${y(r.frontmatter)} - ${v.frontmatter.title} - ${m.title}`,`${o}?${H}=${c}#${m.id}`,v.texts,x))),u},[]);h.push({navTitle:s==null?void 0:s.title,navOrder:s?i.indexOf(s):1/0,title:y(r.frontmatter),link:o,sections:[...g?[g]:[],...f,...p],demos:((d=a[l.id])==null?void 0:d.map(u=>({link:`${o}#${u.asset.id}`,rawTitle:u.asset.title||"",title:u.asset.title||y(r.frontmatter),description:u.asset.description||"",keywords:u.asset.keywords||[]})))||[]})}}),h}function b(e="",t,i=1){let h=(0,C.findAll)({textToHighlight:e,searchWords:t,autoEscape:!0}),a={};return[h.map(({start:l,end:d,highlight:r},o)=>{let s={text:e.slice(l,d)};return o===0&&!r&&h.length>1&&s.text.length>20&&(s.text=`...${s.text.slice(-20)}`),r&&(s.highlighted=!0,a[t.find(n=>s.text.includes(n))]=i),s}),a]}function Y(e,t){let i=t.split(" "),h=new RegExp(t.replace(/[.*+?^${}()|[\\]\\\\]/g,"\\\\$&").replace(/\\s+/g,"|"),"i"),a={};return e.forEach(l=>{var o,s;let d=l.title,r=[];if(l.sections.forEach(n=>{for(let g of n.paragraphs)if(h.test(g)){let[f,p]=b(n.title,i,10),[u,c]=b(g,i);r.push({type:"content",link:n.link,priority:Object.values(M(M({},c),p)).reduce((v,T)=>v+T,0),highlightTitleTexts:f,highlightTexts:u,pageTitle:d});return}if(h.test(n.rawTitle)&&!h.test(l.title)){let[g,f]=b(n.title,i,10);r.push({type:"title",link:n.link,priority:Object.values(f).reduce((p,u)=>p+u,0),highlightTitleTexts:g,highlightTexts:b(n.paragraphs[0]||"",i)[0],pageTitle:d})}}),l.demos.forEach(n=>{if(h.test(n.rawTitle)||h.test(n.description)){let[g,f]=b(n.title,i,10),[p,u]=b(n.description,i);r.push({type:"demo",link:n.link,priority:Object.values(M(M({},u),f)).reduce((c,v)=>c+v,0),highlightTitleTexts:g,highlightTexts:p,pageTitle:d})}}),h.test(l.title)){let[n,g]=b(l.title,i,100);r.push({type:"page",link:l.link,priority:Object.values(g).reduce((f,p)=>f+p,0),highlightTitleTexts:n,highlightTexts:b(((o=l.sections[0])==null?void 0:o.paragraphs[0])||"",i)[0],pageTitle:d})}if(r.length){let n=l.navTitle||"$ROOT";(s=a[n])!=null||(a[n]={title:l.navTitle,priority:l.navOrder*1e3,hints:[]}),a[n].hints.push(...r)}}),Object.values(a).forEach(({hints:l})=>{l.sort((d,r)=>r.priority-d.priority)}),Object.values(a).sort((l,d)=>d.priority-l.priority)}var A;self.onmessage=({data:e})=>{switch(e.action){case"generate-metadata":A=_(e.args.routes,e.args.demos,e.args.nav);break;case"get-search-result":self.postMessage(Y(A,e.args.keywords));break;default:}};})();\n';function Tn(C){"@babel/helpers - typeof";return Tn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(L){return typeof L}:function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},Tn(C)}function an(C,L){var k=Object.keys(C);if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols(C);L&&(pe=pe.filter(function(Ue){return Object.getOwnPropertyDescriptor(C,Ue).enumerable})),k.push.apply(k,pe)}return k}function Rn(C){for(var L=1;LC.length)&&(L=C.length);for(var k=0,pe=new Array(L);k",paraId:1,tocIndex:0},{value:" \u4E4B\u524D\u8BF7\u4FDD\u8BC1\u73AF\u5883\u4E2D\u5DF2\u5B89\u88C5 ",paraId:1,tocIndex:0},{value:'"@antv/l7": "^2.0.0"',paraId:1,tocIndex:0},{value:" \u548C ",paraId:1,tocIndex:0},{value:'"antd": "^5.0.0"',paraId:1,tocIndex:0},{value:"\u3002",paraId:1,tocIndex:0},{value:"\u9ED8\u8BA4\u793A\u4F8B",paraId:2,tocIndex:1},{value:"\u914D\u7F6E\u9879",paraId:3},{value:"\u914D\u7F6E L7Editor \u521D\u59CB\u5316\u9ED8\u8BA4\u914D\u7F6E",paraId:4,tocIndex:3},{value:"\u5C5E\u6027",paraId:5,tocIndex:3},{value:"\u63CF\u8FF0",paraId:5,tocIndex:3},{value:"\u7C7B\u578B",paraId:5,tocIndex:3},{value:"\u9ED8\u8BA4\u503C",paraId:5,tocIndex:3},{value:"baseMap",paraId:5,tocIndex:3},{value:"\u5730\u56FE\u9009\u9879",paraId:5,tocIndex:3},{value:"\u2018Gaode\u2019\uFF5C'Mapbox'",paraId:5,tocIndex:3},{value:"Gaode",paraId:5,tocIndex:3},{value:"mapOption",paraId:5,tocIndex:3},{value:"\u5730\u56FE\u914D\u7F6E \u8BE6\u89C1 ",paraId:5,tocIndex:3},{value:"MapOptions",paraId:5,tocIndex:3},{value:"MapOptions",paraId:5,tocIndex:3},{value:"-",paraId:5,tocIndex:3},{value:"primaryColor",paraId:5,tocIndex:3},{value:"\u56FE\u5C42\u989C\u8272",paraId:5,tocIndex:3},{value:"string",paraId:5,tocIndex:3},{value:"#1677ff",paraId:5,tocIndex:3},{value:"rightPanelWidth",paraId:5,tocIndex:3},{value:"\u53F3\u4FA7\u8FB9\u680F\u5BBD\u5EA6",paraId:5,tocIndex:3},{value:"number",paraId:5,tocIndex:3},{value:"40",paraId:5,tocIndex:3},{value:"autoFitBounds",paraId:5,tocIndex:3},{value:"\u662F\u5426\u81EA\u52A8\u8C03\u6574\u8FB9\u754C",paraId:5,tocIndex:3},{value:"boolean",paraId:5,tocIndex:3},{value:"true",paraId:5,tocIndex:3},{value:"popupTrigger",paraId:5,tocIndex:3},{value:"\u56FE\u5C42 popup \u89E6\u53D1\u65B9\u5F0F",paraId:5,tocIndex:3},{value:"'click'\uFF5C'hover'",paraId:5,tocIndex:3},{value:"click",paraId:5,tocIndex:3},{value:"activeTab",paraId:5,tocIndex:3},{value:"\u4FA7\u9762\u677F\u5C55\u793A",paraId:5,tocIndex:3},{value:"'geojson'\uFF5C'table'\uFF5C'wkt' \uFF5C string",paraId:5,tocIndex:3},{value:"geojson",paraId:5,tocIndex:3},{value:"features",paraId:5,tocIndex:3},{value:"\u521D\u59CB\u5316\u6570\u636E",paraId:5,tocIndex:3},{value:" Feature[]",paraId:5,tocIndex:3},{value:"[]",paraId:5,tocIndex:3},{value:"officialLayers",paraId:5,tocIndex:3},{value:"\u5B98\u65B9\u56FE\u5C42\u9009\u62E9",paraId:5,tocIndex:3},{value:"string[]",paraId:5,tocIndex:3},{value:"[]",paraId:5,tocIndex:3},{value:"theme",paraId:5,tocIndex:3},{value:"\u4E3B\u9898\u914D\u7F6E",paraId:5,tocIndex:3},{value:"'light' \uFF5C 'dark'",paraId:5,tocIndex:3},{value:"'light'",paraId:5,tocIndex:3},{value:"locale",paraId:5,tocIndex:3},{value:"\u8BED\u8A00\u8BBE\u7F6E",paraId:5,tocIndex:3},{value:"'zh-CN' \uFF5C 'en-US'",paraId:5,tocIndex:3},{value:"'zh-CN'",paraId:5,tocIndex:3},{value:"coordConvert",paraId:5,tocIndex:3},{value:"\u6570\u636E\u8F6C\u6362",paraId:5,tocIndex:3},{value:"'GCJ02'\uFF5C'WGS84'",paraId:5,tocIndex:3},{value:"GCJ02",paraId:5,tocIndex:3},{value:"mapControl",paraId:5,tocIndex:3},{value:"\u63A7\u4EF6\u663E\u9690",paraId:5,tocIndex:3},{value:"MapControlProps",paraId:6,tocIndex:3},{value:"-",paraId:5,tocIndex:3},{value:"toolbar",paraId:5,tocIndex:3},{value:"\u5934\u90E8\u7EC4\u4EF6\u663E\u9690",paraId:5,tocIndex:3},{value:"ToolbarProps",paraId:7,tocIndex:3},{value:"-",paraId:5,tocIndex:3},{value:"tabItems",paraId:5,tocIndex:3},{value:"\u4FA7\u9762\u7248\u6807\u7B7E\u9875\u9009\u9879\u5361\u5185\u5BB9",paraId:5,tocIndex:3},{value:"TabItemType",paraId:5,tocIndex:3},{value:"-",paraId:5,tocIndex:3},{value:"showTextLayer",paraId:5,tocIndex:3},{value:"\u662F\u5426\u5C55\u793A\u5143\u7D20\u6587\u672C",paraId:5,tocIndex:3},{value:"boolean",paraId:5,tocIndex:3},{value:"false",paraId:5,tocIndex:3},{value:"textLayerFields",paraId:5,tocIndex:3},{value:"\u5C55\u793A\u5143\u7D20\u6587\u672C\u7684\u5B57\u6BB5\uFF0C\u4E0D\u9009\u5219\u5C55\u793A\u5143\u7D20\u5E8F\u53F7",paraId:5,tocIndex:3},{value:"string[] | undefined",paraId:5,tocIndex:3},{value:"undefined",paraId:5,tocIndex:3},{value:"wasmPath",paraId:5,tocIndex:3},{value:"sam \u7EC4\u4EF6\u7684 wasm \u8DEF\u5F84",paraId:5,tocIndex:3},{value:"string",paraId:5,tocIndex:3},{value:"\\",paraId:5,tocIndex:3},{value:"tabItems",paraId:3},{value:"\u4FA7\u9762\u7248\u6807\u7B7E\u9875\u9009\u9879\u5361\u5185\u5BB9\uFF0C\u53EF\u4EE5\u81EA\u5B9A\u4E49\u62D3\u5C55\u7EC4\u4EF6",paraId:8,tocIndex:4},{value:"\u642D\u914D",paraId:9,tocIndex:5},{value:"tabItems",paraId:9,tocIndex:5},{value:"\u4E00\u8D77\u4F7F\u7528\uFF0C\u7528\u6765\u5C55\u793A\u53F3\u4FA7\u9762\u677F\u529F\u80FD",paraId:9,tocIndex:5},{value:"GeoJSON \u6587\u672C\u7F16\u8F91\u5668\uFF0C\u53EF\u4EE5\u901A\u8FC7\u8F93\u5165 GeoJSON \u6570\u636E\u6765\u5B9E\u73B0\u6570\u636E\u5C55\u793A",paraId:10,tocIndex:6},{value:"\u8981\u4F7F\u7528\u8BE5\u7EC4\u4EF6\u5F97\u5728 webpack \u91CC\u9762\u914D\u7F6E \u4EE5\u4E0B\u8FD9\u6BB5\u4EE3\u7801 \u5426\u5219\u5C31\u4F1A\u5BFC\u81F4\u4EE3\u7801\u683C\u5F0F\u5316\u5931\u6548\uFF0C\u4EE3\u7801\u9AD8\u4EAE\u4E22\u5931",paraId:11,tocIndex:6},{value:`import MonacoEditorWebpackPlugin from 'monaco-editor-webpack-plugin'; +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ea(C,L){if(C){if(typeof C=="string")return la(C,L);var k=Object.prototype.toString.call(C).slice(8,-1);if(k==="Object"&&C.constructor&&(k=C.constructor.name),k==="Map"||k==="Set")return Array.from(C);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return la(C,L)}}function la(C,L){(L==null||L>C.length)&&(L=C.length);for(var k=0,pe=new Array(L);k",paraId:1,tocIndex:0},{value:" \u4E4B\u524D\u8BF7\u4FDD\u8BC1\u73AF\u5883\u4E2D\u5DF2\u5B89\u88C5 ",paraId:1,tocIndex:0},{value:'"@antv/l7": "^2.0.0"',paraId:1,tocIndex:0},{value:" \u548C ",paraId:1,tocIndex:0},{value:'"antd": "^5.0.0"',paraId:1,tocIndex:0},{value:"\u3002",paraId:1,tocIndex:0},{value:"\u9ED8\u8BA4\u793A\u4F8B",paraId:2,tocIndex:1},{value:"\u914D\u7F6E\u9879",paraId:3},{value:"\u914D\u7F6E L7Editor \u521D\u59CB\u5316\u9ED8\u8BA4\u914D\u7F6E",paraId:4,tocIndex:3},{value:"\u5C5E\u6027",paraId:5,tocIndex:3},{value:"\u63CF\u8FF0",paraId:5,tocIndex:3},{value:"\u7C7B\u578B",paraId:5,tocIndex:3},{value:"\u9ED8\u8BA4\u503C",paraId:5,tocIndex:3},{value:"baseMap",paraId:5,tocIndex:3},{value:"\u5730\u56FE\u9009\u9879",paraId:5,tocIndex:3},{value:"\u2018Gaode\u2019\uFF5C'Mapbox'",paraId:5,tocIndex:3},{value:"Gaode",paraId:5,tocIndex:3},{value:"mapOption",paraId:5,tocIndex:3},{value:"\u5730\u56FE\u914D\u7F6E \u8BE6\u89C1 ",paraId:5,tocIndex:3},{value:"MapOptions",paraId:5,tocIndex:3},{value:"MapOptions",paraId:5,tocIndex:3},{value:"-",paraId:5,tocIndex:3},{value:"primaryColor",paraId:5,tocIndex:3},{value:"\u56FE\u5C42\u989C\u8272",paraId:5,tocIndex:3},{value:"string",paraId:5,tocIndex:3},{value:"#1677ff",paraId:5,tocIndex:3},{value:"rightPanelWidth",paraId:5,tocIndex:3},{value:"\u53F3\u4FA7\u8FB9\u680F\u5BBD\u5EA6",paraId:5,tocIndex:3},{value:"number",paraId:5,tocIndex:3},{value:"40",paraId:5,tocIndex:3},{value:"autoFitBounds",paraId:5,tocIndex:3},{value:"\u662F\u5426\u81EA\u52A8\u8C03\u6574\u8FB9\u754C",paraId:5,tocIndex:3},{value:"boolean",paraId:5,tocIndex:3},{value:"true",paraId:5,tocIndex:3},{value:"popupTrigger",paraId:5,tocIndex:3},{value:"\u56FE\u5C42 popup \u89E6\u53D1\u65B9\u5F0F",paraId:5,tocIndex:3},{value:"'click'\uFF5C'hover'",paraId:5,tocIndex:3},{value:"click",paraId:5,tocIndex:3},{value:"activeTab",paraId:5,tocIndex:3},{value:"\u4FA7\u9762\u677F\u5C55\u793A",paraId:5,tocIndex:3},{value:"'geojson'\uFF5C'table'\uFF5C'wkt' \uFF5C string",paraId:5,tocIndex:3},{value:"geojson",paraId:5,tocIndex:3},{value:"features",paraId:5,tocIndex:3},{value:"\u521D\u59CB\u5316\u6570\u636E",paraId:5,tocIndex:3},{value:" Feature[]",paraId:5,tocIndex:3},{value:"[]",paraId:5,tocIndex:3},{value:"officialLayers",paraId:5,tocIndex:3},{value:"\u5B98\u65B9\u56FE\u5C42\u9009\u62E9",paraId:5,tocIndex:3},{value:"string[]",paraId:5,tocIndex:3},{value:"[]",paraId:5,tocIndex:3},{value:"theme",paraId:5,tocIndex:3},{value:"\u4E3B\u9898\u914D\u7F6E",paraId:5,tocIndex:3},{value:"'light' \uFF5C 'dark'",paraId:5,tocIndex:3},{value:"'light'",paraId:5,tocIndex:3},{value:"locale",paraId:5,tocIndex:3},{value:"\u8BED\u8A00\u8BBE\u7F6E",paraId:5,tocIndex:3},{value:"'zh-CN' \uFF5C 'en-US'",paraId:5,tocIndex:3},{value:"'zh-CN'",paraId:5,tocIndex:3},{value:"coordConvert",paraId:5,tocIndex:3},{value:"\u6570\u636E\u8F6C\u6362",paraId:5,tocIndex:3},{value:"'GCJ02'\uFF5C'WGS84'",paraId:5,tocIndex:3},{value:"GCJ02",paraId:5,tocIndex:3},{value:"mapControl",paraId:5,tocIndex:3},{value:"\u63A7\u4EF6\u663E\u9690",paraId:5,tocIndex:3},{value:"MapControlProps",paraId:6,tocIndex:3},{value:"-",paraId:5,tocIndex:3},{value:"toolbar",paraId:5,tocIndex:3},{value:"\u5934\u90E8\u7EC4\u4EF6\u663E\u9690",paraId:5,tocIndex:3},{value:"ToolbarProps",paraId:7,tocIndex:3},{value:"-",paraId:5,tocIndex:3},{value:"tabItems",paraId:5,tocIndex:3},{value:"\u4FA7\u9762\u7248\u6807\u7B7E\u9875\u9009\u9879\u5361\u5185\u5BB9",paraId:5,tocIndex:3},{value:"TabItemType",paraId:5,tocIndex:3},{value:"-",paraId:5,tocIndex:3},{value:"showTextLayer",paraId:5,tocIndex:3},{value:"\u662F\u5426\u5C55\u793A\u5143\u7D20\u6587\u672C",paraId:5,tocIndex:3},{value:"boolean",paraId:5,tocIndex:3},{value:"false",paraId:5,tocIndex:3},{value:"textLayerFields",paraId:5,tocIndex:3},{value:"\u5C55\u793A\u5143\u7D20\u6587\u672C\u7684\u5B57\u6BB5\uFF0C\u4E0D\u9009\u5219\u5C55\u793A\u5143\u7D20\u5E8F\u53F7",paraId:5,tocIndex:3},{value:"string[] | undefined",paraId:5,tocIndex:3},{value:"undefined",paraId:5,tocIndex:3},{value:"wasmPath",paraId:5,tocIndex:3},{value:"sam \u7EC4\u4EF6\u7684 wasm \u8DEF\u5F84",paraId:5,tocIndex:3},{value:"string",paraId:5,tocIndex:3},{value:"\\",paraId:5,tocIndex:3},{value:"showDrawDistance",paraId:5,tocIndex:3},{value:"\u7ED8\u5236\u65F6\u662F\u5426\u5C55\u793A\u8DDD\u79BB\u6587\u672C",paraId:5,tocIndex:3},{value:"boolean",paraId:5,tocIndex:3},{value:"false",paraId:5,tocIndex:3},{value:"showDrawArea",paraId:5,tocIndex:3},{value:"\u7ED8\u5236\u65F6\u662F\u5426\u5C55\u793A\u9762\u79EF\u6587\u672C",paraId:5,tocIndex:3},{value:"boolean",paraId:5,tocIndex:3},{value:"false",paraId:5,tocIndex:3},{value:"tabItems",paraId:3},{value:"\u4FA7\u9762\u7248\u6807\u7B7E\u9875\u9009\u9879\u5361\u5185\u5BB9\uFF0C\u53EF\u4EE5\u81EA\u5B9A\u4E49\u62D3\u5C55\u7EC4\u4EF6",paraId:8,tocIndex:4},{value:"\u642D\u914D",paraId:9,tocIndex:5},{value:"tabItems",paraId:9,tocIndex:5},{value:"\u4E00\u8D77\u4F7F\u7528\uFF0C\u7528\u6765\u5C55\u793A\u53F3\u4FA7\u9762\u677F\u529F\u80FD",paraId:9,tocIndex:5},{value:"GeoJSON \u6587\u672C\u7F16\u8F91\u5668\uFF0C\u53EF\u4EE5\u901A\u8FC7\u8F93\u5165 GeoJSON \u6570\u636E\u6765\u5B9E\u73B0\u6570\u636E\u5C55\u793A",paraId:10,tocIndex:6},{value:"\u8981\u4F7F\u7528\u8BE5\u7EC4\u4EF6\u5F97\u5728 webpack \u91CC\u9762\u914D\u7F6E \u4EE5\u4E0B\u8FD9\u6BB5\u4EE3\u7801 \u5426\u5219\u5C31\u4F1A\u5BFC\u81F4\u4EE3\u7801\u683C\u5F0F\u5316\u5931\u6548\uFF0C\u4EE3\u7801\u9AD8\u4EAE\u4E22\u5931",paraId:11,tocIndex:6},{value:`import MonacoEditorWebpackPlugin from 'monaco-editor-webpack-plugin'; chainWebpack: (config: any) => { config.plugin('monaco-editor').use(MonacoEditorWebpackPlugin, [ @@ -160,7 +160,7 @@ Error generating stack: `+R.message+` `+R.stack}return{value:t,source:r,stack:I}}function ps(t,r){try{console.error(r.value)}catch(i){setTimeout(function(){throw i})}}var Hc=typeof WeakMap=="function"?WeakMap:Map;function Rl(t,r,i){i=yo(-1,i),i.tag=3,i.payload={element:null};var d=r.value;return i.callback=function(){gu||(gu=!0,As=d),ps(t,r)},i}function Ml(t,r,i){i=yo(-1,i),i.tag=3;var d=t.type.getDerivedStateFromError;if(typeof d=="function"){var I=r.value;i.payload=function(){return d(I)},i.callback=function(){ps(t,r)}}var R=t.stateNode;return R!==null&&typeof R.componentDidCatch=="function"&&(i.callback=function(){ps(t,r),typeof d!="function"&&(Lo===null?Lo=new Set([this]):Lo.add(this));var q=r.stack;this.componentDidCatch(r.value,{componentStack:q!==null?q:""})}),i}function Nl(t,r,i){var d=t.pingCache;if(d===null){d=t.pingCache=new Hc;var I=new Set;d.set(r,I)}else I=d.get(r),I===void 0&&(I=new Set,d.set(r,I));I.has(i)||(I.add(i),t=rf.bind(null,t,r,i),r.then(t,t))}function Ll(t){do{var r;if((r=t.tag===13)&&(r=t.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return t;t=t.return}while(t!==null);return null}function Dl(t,r,i,d,I){return t.mode&1?(t.flags|=65536,t.lanes=I,t):(t===r?t.flags|=65536:(t.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(r=yo(-1,1),r.tag=2,Mo(i,r))),i.lanes|=1),t)}var jl,hs,kl,Bl;jl=function(t,r){for(var i=r.child;i!==null;){if(i.tag===5||i.tag===6)t.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},hs=function(){},kl=function(t,r,i,d){var I=t.memoizedProps;if(I!==d){t=r.stateNode,Go(ao.current);var R=null;switch(i){case"input":I=rt(t,I),d=rt(t,d),R=[];break;case"select":I=N({},I,{value:void 0}),d=N({},d,{value:void 0}),R=[];break;case"textarea":I=de(t,I),d=de(t,d),R=[];break;default:typeof I.onClick!="function"&&typeof d.onClick=="function"&&(t.onclick=Gi)}he(i,d);var q;i=null;for(qe in I)if(!d.hasOwnProperty(qe)&&I.hasOwnProperty(qe)&&I[qe]!=null)if(qe==="style"){var me=I[qe];for(q in me)me.hasOwnProperty(q)&&(i||(i={}),i[q]="")}else qe!=="dangerouslySetInnerHTML"&&qe!=="children"&&qe!=="suppressContentEditableWarning"&&qe!=="suppressHydrationWarning"&&qe!=="autoFocus"&&(u.hasOwnProperty(qe)?R||(R=[]):(R=R||[]).push(qe,null));for(qe in d){var Me=d[qe];if(me=I!=null?I[qe]:void 0,d.hasOwnProperty(qe)&&Me!==me&&(Me!=null||me!=null))if(qe==="style")if(me){for(q in me)!me.hasOwnProperty(q)||Me&&Me.hasOwnProperty(q)||(i||(i={}),i[q]="");for(q in Me)Me.hasOwnProperty(q)&&me[q]!==Me[q]&&(i||(i={}),i[q]=Me[q])}else i||(R||(R=[]),R.push(qe,i)),i=Me;else qe==="dangerouslySetInnerHTML"?(Me=Me?Me.__html:void 0,me=me?me.__html:void 0,Me!=null&&me!==Me&&(R=R||[]).push(qe,Me)):qe==="children"?typeof Me!="string"&&typeof Me!="number"||(R=R||[]).push(qe,""+Me):qe!=="suppressContentEditableWarning"&&qe!=="suppressHydrationWarning"&&(u.hasOwnProperty(qe)?(Me!=null&&qe==="onScroll"&&gn("scroll",t),R||me===Me||(R=[])):(R=R||[]).push(qe,Me))}i&&(R=R||[]).push("style",i);var qe=R;(r.updateQueue=qe)&&(r.flags|=4)}},Bl=function(t,r,i,d){i!==d&&(r.flags|=4)};function Fi(t,r){if(!Ln)switch(t.tailMode){case"hidden":r=t.tail;for(var i=null;r!==null;)r.alternate!==null&&(i=r),r=r.sibling;i===null?t.tail=null:i.sibling=null;break;case"collapsed":i=t.tail;for(var d=null;i!==null;)i.alternate!==null&&(d=i),i=i.sibling;d===null?r||t.tail===null?t.tail=null:t.tail.sibling=null:d.sibling=null}}function ya(t){var r=t.alternate!==null&&t.alternate.child===t.child,i=0,d=0;if(r)for(var I=t.child;I!==null;)i|=I.lanes|I.childLanes,d|=I.subtreeFlags&14680064,d|=I.flags&14680064,I.return=t,I=I.sibling;else for(I=t.child;I!==null;)i|=I.lanes|I.childLanes,d|=I.subtreeFlags,d|=I.flags,I.return=t,I=I.sibling;return t.subtreeFlags|=d,t.childLanes=i,r}function Zc(t,r,i){var d=r.pendingProps;switch(Xu(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ya(r),null;case 1:return Oa(r.type)&&Vi(),ya(r),null;case 3:return d=r.stateNode,mi(),On(Ta),On(ha),as(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(t===null||t.child===null)&&(Pi(r)?r.flags|=4:t===null||t.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,Xa!==null&&(Rs(Xa),Xa=null))),hs(t,r),ya(r),null;case 5:rs(r);var I=Go(Li.current);if(i=r.type,t!==null&&r.stateNode!=null)kl(t,r,i,d,I),t.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!d){if(r.stateNode===null)throw Error(n(166));return ya(r),null}if(t=Go(ao.current),Pi(r)){d=r.stateNode,i=r.type;var R=r.memoizedProps;switch(d[no]=r,d[Ai]=R,t=(r.mode&1)!==0,i){case"dialog":gn("cancel",d),gn("close",d);break;case"iframe":case"object":case"embed":gn("load",d);break;case"video":case"audio":for(I=0;I<\/script>",t=t.removeChild(t.firstChild)):typeof d.is=="string"?t=q.createElement(i,{is:d.is}):(t=q.createElement(i),i==="select"&&(q=t,d.multiple?q.multiple=!0:d.size&&(q.size=d.size))):t=q.createElementNS(t,i),t[no]=r,t[Ai]=d,jl(t,r,!1,!1),r.stateNode=t;e:{switch(q=Ie(i,d),i){case"dialog":gn("cancel",t),gn("close",t),I=d;break;case"iframe":case"object":case"embed":gn("load",t),I=d;break;case"video":case"audio":for(I=0;IEi&&(r.flags|=128,d=!0,Fi(R,!1),r.lanes=4194304)}else{if(!d)if(t=ou(q),t!==null){if(r.flags|=128,d=!0,i=t.updateQueue,i!==null&&(r.updateQueue=i,r.flags|=4),Fi(R,!0),R.tail===null&&R.tailMode==="hidden"&&!q.alternate&&!Ln)return ya(r),null}else 2*zt()-R.renderingStartTime>Ei&&i!==1073741824&&(r.flags|=128,d=!0,Fi(R,!1),r.lanes=4194304);R.isBackwards?(q.sibling=r.child,r.child=q):(i=R.last,i!==null?i.sibling=q:r.child=q,R.last=q)}return R.tail!==null?(r=R.tail,R.rendering=r,R.tail=r.sibling,R.renderingStartTime=zt(),r.sibling=null,i=kn.current,In(kn,d?i&1|2:i&1),r):(ya(r),null);case 22:case 23:return Ns(),d=r.memoizedState!==null,t!==null&&t.memoizedState!==null!==d&&(r.flags|=8192),d&&r.mode&1?Fa&1073741824&&(ya(r),r.subtreeFlags&6&&(r.flags|=8192)):ya(r),null;case 24:return null;case 25:return null}throw Error(n(156,r.tag))}var Wc=A.ReactCurrentOwner,Ca=!1;function ba(t,r,i,d){r.child=t===null?ul(r,null,i,d):hi(r,t.child,i,d)}function Fl(t,r,i,d,I){i=i.render;var R=r.ref;return fi(r,I),d=us(t,r,i,d,R,I),i=ss(),t!==null&&!Ca?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~I,So(t,r,I)):(Ln&&i&&Qu(r),r.flags|=1,ba(t,r,d,I),r.child)}function _l(t,r,i,d,I){if(t===null){var R=i.type;return typeof R=="function"&&!Ds(R)&&R.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(r.tag=15,r.type=R,Ul(t,r,R,d,I)):(t=Tu(i.type,null,d,r,r.mode,I),t.ref=r.ref,t.return=r,r.child=t)}if(R=t.child,!(t.lanes&I)){var q=R.memoizedProps;if(i=i.compare,i=i!==null?i:uo,i(q,d)&&t.ref===r.ref)return So(t,r,I)}return r.flags|=1,t=Bo(R,d),t.ref=r.ref,t.return=r,r.child=t}function Ul(t,r,i,d,I){if(t!==null){var R=t.memoizedProps;if(uo(R,d)&&t.ref===r.ref)if(Ca=!1,r.pendingProps=d=R,(t.lanes&I)!==0)t.flags&131072&&(Ca=!0);else return r.lanes=t.lanes,So(t,r,I)}return ms(t,r,i,d,I)}function $l(t,r,i){var d=r.pendingProps,I=d.children,R=t!==null?t.memoizedState:null;if(d.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},In(gi,Fa),Fa|=i;else if(i&1073741824)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=R!==null?R.baseLanes:i,In(gi,Fa),Fa|=d;else return t=R!==null?R.baseLanes|i:i,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:t,cachePool:null,transitions:null},r.updateQueue=null,In(gi,Fa),Fa|=t,null;else R!==null?(d=R.baseLanes|i,r.memoizedState=null):d=i,In(gi,Fa),Fa|=d;return ba(t,r,I,i),r.child}function zl(t,r){var i=r.ref;(t===null&&i!==null||t!==null&&t.ref!==i)&&(r.flags|=512,r.flags|=2097152)}function ms(t,r,i,d,I){var R=Oa(i)?Ho:ha.current;return R=li(r,R),fi(r,I),i=us(t,r,i,d,R,I),d=ss(),t!==null&&!Ca?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~I,So(t,r,I)):(Ln&&d&&Qu(r),r.flags|=1,ba(t,r,i,I),r.child)}function Hl(t,r,i,d,I){if(Oa(i)){var R=!0;Yi(r)}else R=!1;if(fi(r,I),r.stateNode===null)t!==null&&(t.alternate=null,r.alternate=null,r.flags|=2),qs(r,i,d),Yu(r,i,d,I),d=!0;else if(t===null){var q=r.stateNode,me=r.memoizedProps;q.props=me;var Me=q.context,qe=i.contextType;typeof qe=="object"&&qe!==null?qe=$a(qe):(qe=Oa(i)?Ho:ha.current,qe=li(r,qe));var Ot=i.getDerivedStateFromProps,Kt=typeof Ot=="function"||typeof q.getSnapshotBeforeUpdate=="function";Kt||typeof q.UNSAFE_componentWillReceiveProps!="function"&&typeof q.componentWillReceiveProps!="function"||(me!==d||Me!==qe)&&el(r,q,d,qe),Ro=!1;var vt=r.memoizedState;q.state=vt,eu(r,d,q,I),Me=r.memoizedState,me!==d||vt!==Me||Ta.current||Ro?(typeof Ot=="function"&&(Vu(r,i,Ot,d),Me=r.memoizedState),(me=Ro||Js(r,i,me,d,vt,Me,qe))?(Kt||typeof q.UNSAFE_componentWillMount!="function"&&typeof q.componentWillMount!="function"||(typeof q.componentWillMount=="function"&&q.componentWillMount(),typeof q.UNSAFE_componentWillMount=="function"&&q.UNSAFE_componentWillMount()),typeof q.componentDidMount=="function"&&(r.flags|=4194308)):(typeof q.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=d,r.memoizedState=Me),q.props=d,q.state=Me,q.context=qe,d=me):(typeof q.componentDidMount=="function"&&(r.flags|=4194308),d=!1)}else{q=r.stateNode,Vs(t,r),me=r.memoizedProps,qe=r.type===r.elementType?me:Ya(r.type,me),q.props=qe,Kt=r.pendingProps,vt=q.context,Me=i.contextType,typeof Me=="object"&&Me!==null?Me=$a(Me):(Me=Oa(i)?Ho:ha.current,Me=li(r,Me));var qt=i.getDerivedStateFromProps;(Ot=typeof qt=="function"||typeof q.getSnapshotBeforeUpdate=="function")||typeof q.UNSAFE_componentWillReceiveProps!="function"&&typeof q.componentWillReceiveProps!="function"||(me!==Kt||vt!==Me)&&el(r,q,d,Me),Ro=!1,vt=r.memoizedState,q.state=vt,eu(r,d,q,I);var Zt=r.memoizedState;me!==Kt||vt!==Zt||Ta.current||Ro?(typeof qt=="function"&&(Vu(r,i,qt,d),Zt=r.memoizedState),(qe=Ro||Js(r,i,qe,d,vt,Zt,Me)||!1)?(Ot||typeof q.UNSAFE_componentWillUpdate!="function"&&typeof q.componentWillUpdate!="function"||(typeof q.componentWillUpdate=="function"&&q.componentWillUpdate(d,Zt,Me),typeof q.UNSAFE_componentWillUpdate=="function"&&q.UNSAFE_componentWillUpdate(d,Zt,Me)),typeof q.componentDidUpdate=="function"&&(r.flags|=4),typeof q.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof q.componentDidUpdate!="function"||me===t.memoizedProps&&vt===t.memoizedState||(r.flags|=4),typeof q.getSnapshotBeforeUpdate!="function"||me===t.memoizedProps&&vt===t.memoizedState||(r.flags|=1024),r.memoizedProps=d,r.memoizedState=Zt),q.props=d,q.state=Zt,q.context=Me,d=qe):(typeof q.componentDidUpdate!="function"||me===t.memoizedProps&&vt===t.memoizedState||(r.flags|=4),typeof q.getSnapshotBeforeUpdate!="function"||me===t.memoizedProps&&vt===t.memoizedState||(r.flags|=1024),d=!1)}return ys(t,r,i,d,R,I)}function ys(t,r,i,d,I,R){zl(t,r);var q=(r.flags&128)!==0;if(!d&&!q)return I&&Gs(r,i,!1),So(t,r,R);d=r.stateNode,Wc.current=r;var me=q&&typeof i.getDerivedStateFromError!="function"?null:d.render();return r.flags|=1,t!==null&&q?(r.child=hi(r,t.child,null,R),r.child=hi(r,null,me,R)):ba(t,r,me,R),r.memoizedState=d.state,I&&Gs(r,i,!0),r.child}function Zl(t){var r=t.stateNode;r.pendingContext?Zs(t,r.pendingContext,r.pendingContext!==r.context):r.context&&Zs(t,r.context,!1),ts(t,r.containerInfo)}function Wl(t,r,i,d,I){return pi(),es(I),r.flags|=256,ba(t,r,i,d),r.child}var fu={dehydrated:null,treeContext:null,retryLane:0};function du(t){return{baseLanes:t,cachePool:null,transitions:null}}function Gl(t,r){return{baseLanes:t.baseLanes|r,cachePool:null,transitions:t.transitions}}function Kl(t,r,i){var d=r.pendingProps,I=kn.current,R=!1,q=(r.flags&128)!==0,me;if((me=q)||(me=t!==null&&t.memoizedState===null?!1:(I&2)!==0),me?(R=!0,r.flags&=-129):(t===null||t.memoizedState!==null)&&(I|=1),In(kn,I&1),t===null)return qu(r),t=r.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(r.mode&1?t.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(I=d.children,t=d.fallback,R?(d=r.mode,R=r.child,I={mode:"hidden",children:I},!(d&1)&&R!==null?(R.childLanes=0,R.pendingProps=I):R=Ou(I,d,0,null),t=Jo(t,d,i,null),R.return=r,t.return=r,R.sibling=t,r.child=R,r.child.memoizedState=du(i),r.memoizedState=fu,t):gs(r,I));if(I=t.memoizedState,I!==null){if(me=I.dehydrated,me!==null){if(q)return r.flags&256?(r.flags&=-257,vu(t,r,i,Error(n(422)))):r.memoizedState!==null?(r.child=t.child,r.flags|=128,null):(R=d.fallback,I=r.mode,d=Ou({mode:"visible",children:d.children},I,0,null),R=Jo(R,I,i,null),R.flags|=2,d.return=r,R.return=r,d.sibling=R,r.child=d,r.mode&1&&hi(r,t.child,null,i),r.child.memoizedState=du(i),r.memoizedState=fu,R);if(!(r.mode&1))r=vu(t,r,i,null);else if(me.data==="$!")r=vu(t,r,i,Error(n(419)));else if(d=(i&t.childLanes)!==0,Ca||d){if(d=ea,d!==null){switch(i&-i){case 4:R=2;break;case 16:R=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:R=32;break;case 536870912:R=268435456;break;default:R=0}d=R&(d.suspendedLanes|i)?0:R,d!==0&&d!==I.retryLane&&(I.retryLane=d,Ga(t,d,-1))}Ls(),r=vu(t,r,i,Error(n(421)))}else me.data==="$?"?(r.flags|=128,r.child=t.child,r=nf.bind(null,t),me._reactRetry=r,r=null):(i=I.treeContext,Aa=po(me.nextSibling),Ba=r,Ln=!0,Xa=null,i!==null&&(za[Ha++]=go,za[Ha++]=Eo,za[Ha++]=Zo,go=i.id,Eo=i.overflow,Zo=r),r=gs(r,r.pendingProps.children),r.flags|=4096);return r}return R?(d=Yl(t,r,d.children,d.fallback,i),R=r.child,I=t.child.memoizedState,R.memoizedState=I===null?du(i):Gl(I,i),R.childLanes=t.childLanes&~i,r.memoizedState=fu,d):(i=Vl(t,r,d.children,i),r.memoizedState=null,i)}return R?(d=Yl(t,r,d.children,d.fallback,i),R=r.child,I=t.child.memoizedState,R.memoizedState=I===null?du(i):Gl(I,i),R.childLanes=t.childLanes&~i,r.memoizedState=fu,d):(i=Vl(t,r,d.children,i),r.memoizedState=null,i)}function gs(t,r){return r=Ou({mode:"visible",children:r},t.mode,0,null),r.return=t,t.child=r}function Vl(t,r,i,d){var I=t.child;return t=I.sibling,i=Bo(I,{mode:"visible",children:i}),!(r.mode&1)&&(i.lanes=d),i.return=r,i.sibling=null,t!==null&&(d=r.deletions,d===null?(r.deletions=[t],r.flags|=16):d.push(t)),r.child=i}function Yl(t,r,i,d,I){var R=r.mode;t=t.child;var q=t.sibling,me={mode:"hidden",children:i};return!(R&1)&&r.child!==t?(i=r.child,i.childLanes=0,i.pendingProps=me,r.deletions=null):(i=Bo(t,me),i.subtreeFlags=t.subtreeFlags&14680064),q!==null?d=Bo(q,d):(d=Jo(d,R,I,null),d.flags|=2),d.return=r,i.return=r,i.sibling=d,r.child=i,d}function vu(t,r,i,d){return d!==null&&es(d),hi(r,t.child,null,i),t=gs(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function Ql(t,r,i){t.lanes|=r;var d=t.alternate;d!==null&&(d.lanes|=r),Gu(t.return,r,i)}function Es(t,r,i,d,I){var R=t.memoizedState;R===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:d,tail:i,tailMode:I}:(R.isBackwards=r,R.rendering=null,R.renderingStartTime=0,R.last=d,R.tail=i,R.tailMode=I)}function Xl(t,r,i){var d=r.pendingProps,I=d.revealOrder,R=d.tail;if(ba(t,r,d.children,i),d=kn.current,d&2)d=d&1|2,r.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=r.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Ql(t,i,r);else if(t.tag===19)Ql(t,i,r);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===r)break e;for(;t.sibling===null;){if(t.return===null||t.return===r)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}d&=1}if(In(kn,d),!(r.mode&1))r.memoizedState=null;else switch(I){case"forwards":for(i=r.child,I=null;i!==null;)t=i.alternate,t!==null&&ou(t)===null&&(I=i),i=i.sibling;i=I,i===null?(I=r.child,r.child=null):(I=i.sibling,i.sibling=null),Es(r,!1,I,i,R);break;case"backwards":for(i=null,I=r.child,r.child=null;I!==null;){if(t=I.alternate,t!==null&&ou(t)===null){r.child=I;break}t=I.sibling,I.sibling=i,i=I,I=t}Es(r,!0,i,null,R);break;case"together":Es(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function So(t,r,i){if(t!==null&&(r.dependencies=t.dependencies),Vo|=r.lanes,!(i&r.childLanes))return null;if(t!==null&&r.child!==t.child)throw Error(n(153));if(r.child!==null){for(t=r.child,i=Bo(t,t.pendingProps),r.child=i,i.return=r;t.sibling!==null;)t=t.sibling,i=i.sibling=Bo(t,t.pendingProps),i.return=r;i.sibling=null}return r.child}function Gc(t,r,i){switch(r.tag){case 3:Zl(r),pi();break;case 5:sl(r);break;case 1:Oa(r.type)&&Yi(r);break;case 4:ts(r,r.stateNode.containerInfo);break;case 10:var d=r.type._context,I=r.memoizedProps.value;In(Xi,d._currentValue),d._currentValue=I;break;case 13:if(d=r.memoizedState,d!==null)return d.dehydrated!==null?(In(kn,kn.current&1),r.flags|=128,null):i&r.child.childLanes?Kl(t,r,i):(In(kn,kn.current&1),t=So(t,r,i),t!==null?t.sibling:null);In(kn,kn.current&1);break;case 19:if(d=(i&r.childLanes)!==0,t.flags&128){if(d)return Xl(t,r,i);r.flags|=128}if(I=r.memoizedState,I!==null&&(I.rendering=null,I.tail=null,I.lastEffect=null),In(kn,kn.current),d)break;return null;case 22:case 23:return r.lanes=0,$l(t,r,i)}return So(t,r,i)}function Kc(t,r){switch(Xu(r),r.tag){case 1:return Oa(r.type)&&Vi(),t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 3:return mi(),On(Ta),On(ha),as(),t=r.flags,t&65536&&!(t&128)?(r.flags=t&-65537|128,r):null;case 5:return rs(r),null;case 13:if(On(kn),t=r.memoizedState,t!==null&&t.dehydrated!==null){if(r.alternate===null)throw Error(n(340));pi()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 19:return On(kn),null;case 4:return mi(),null;case 10:return Wu(r.type._context),null;case 22:case 23:return Ns(),null;case 24:return null;default:return null}}var pu=!1,ga=!1,Vc=typeof WeakSet=="function"?WeakSet:Set,rr=null;function yi(t,r){var i=t.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(d){zn(t,r,d)}else i.current=null}function Ss(t,r,i){try{i()}catch(d){zn(t,r,d)}}var Jl=!1;function Yc(t,r){if(ju=en,t=ln(),$n(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else e:{i=(i=t.ownerDocument)&&i.defaultView||window;var d=i.getSelection&&i.getSelection();if(d&&d.rangeCount!==0){i=d.anchorNode;var I=d.anchorOffset,R=d.focusNode;d=d.focusOffset;try{i.nodeType,R.nodeType}catch(sr){i=null;break e}var q=0,me=-1,Me=-1,qe=0,Ot=0,Kt=t,vt=null;t:for(;;){for(var qt;Kt!==i||I!==0&&Kt.nodeType!==3||(me=q+I),Kt!==R||d!==0&&Kt.nodeType!==3||(Me=q+d),Kt.nodeType===3&&(q+=Kt.nodeValue.length),(qt=Kt.firstChild)!==null;)vt=Kt,Kt=qt;for(;;){if(Kt===t)break t;if(vt===i&&++qe===I&&(me=q),vt===R&&++Ot===d&&(Me=q),(qt=Kt.nextSibling)!==null)break;Kt=vt,vt=Kt.parentNode}Kt=qt}i=me===-1||Me===-1?null:{start:me,end:Me}}else i=null}i=i||{start:0,end:0}}else i=null;for(ku={focusedElem:t,selectionRange:i},en=!1,rr=r;rr!==null;)if(r=rr,t=r.child,(r.subtreeFlags&1028)!==0&&t!==null)t.return=r,rr=t;else for(;rr!==null;){r=rr;try{var Zt=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(Zt!==null){var Or=Zt.memoizedProps,Hn=Zt.memoizedState,He=r.stateNode,je=He.getSnapshotBeforeUpdate(r.elementType===r.type?Or:Ya(r.type,Or),Hn);He.__reactInternalSnapshotBeforeUpdate=je}break;case 3:var Xe=r.stateNode.containerInfo;if(Xe.nodeType===1)Xe.textContent="";else if(Xe.nodeType===9){var Lt=Xe.body;Lt!=null&&(Lt.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(sr){zn(r,r.return,sr)}if(t=r.sibling,t!==null){t.return=r.return,rr=t;break}rr=r.return}return Zt=Jl,Jl=!1,Zt}function _i(t,r,i){var d=r.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var I=d=d.next;do{if((I.tag&t)===t){var R=I.destroy;I.destroy=void 0,R!==void 0&&Ss(r,i,R)}I=I.next}while(I!==d)}}function hu(t,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&t)===t){var d=i.create;i.destroy=d()}i=i.next}while(i!==r)}}function bs(t){var r=t.ref;if(r!==null){var i=t.stateNode;switch(t.tag){case 5:t=i;break;default:t=i}typeof r=="function"?r(t):r.current=t}}function ql(t){var r=t.alternate;r!==null&&(t.alternate=null,ql(r)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(r=t.stateNode,r!==null&&(delete r[no],delete r[Ai],delete r[Uu],delete r[Nc],delete r[Lc])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function ec(t){return t.tag===5||t.tag===3||t.tag===4}function tc(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||ec(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function xs(t,r,i){var d=t.tag;if(d===5||d===6)t=t.stateNode,r?i.nodeType===8?i.parentNode.insertBefore(t,r):i.insertBefore(t,r):(i.nodeType===8?(r=i.parentNode,r.insertBefore(t,i)):(r=i,r.appendChild(t)),i=i._reactRootContainer,i!=null||r.onclick!==null||(r.onclick=Gi));else if(d!==4&&(t=t.child,t!==null))for(xs(t,r,i),t=t.sibling;t!==null;)xs(t,r,i),t=t.sibling}function Is(t,r,i){var d=t.tag;if(d===5||d===6)t=t.stateNode,r?i.insertBefore(t,r):i.appendChild(t);else if(d!==4&&(t=t.child,t!==null))for(Is(t,r,i),t=t.sibling;t!==null;)Is(t,r,i),t=t.sibling}var ua=null,Ja=!1;function No(t,r,i){for(i=i.child;i!==null;)rc(t,r,i),i=i.sibling}function rc(t,r,i){if(Ae&&typeof Ae.onCommitFiberUnmount=="function")try{Ae.onCommitFiberUnmount(Hr,i)}catch(me){}switch(i.tag){case 5:ga||yi(i,r);case 6:var d=ua,I=Ja;ua=null,No(t,r,i),ua=d,Ja=I,ua!==null&&(Ja?(t=ua,i=i.stateNode,t.nodeType===8?t.parentNode.removeChild(i):t.removeChild(i)):ua.removeChild(i.stateNode));break;case 18:ua!==null&&(Ja?(t=ua,i=i.stateNode,t.nodeType===8?_u(t.parentNode,i):t.nodeType===1&&_u(t,i),Kr(t)):_u(ua,i.stateNode));break;case 4:d=ua,I=Ja,ua=i.stateNode.containerInfo,Ja=!0,No(t,r,i),ua=d,Ja=I;break;case 0:case 11:case 14:case 15:if(!ga&&(d=i.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){I=d=d.next;do{var R=I,q=R.destroy;R=R.tag,q!==void 0&&(R&2||R&4)&&Ss(i,r,q),I=I.next}while(I!==d)}No(t,r,i);break;case 1:if(!ga&&(yi(i,r),d=i.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=i.memoizedProps,d.state=i.memoizedState,d.componentWillUnmount()}catch(me){zn(i,r,me)}No(t,r,i);break;case 21:No(t,r,i);break;case 22:i.mode&1?(ga=(d=ga)||i.memoizedState!==null,No(t,r,i),ga=d):No(t,r,i);break;default:No(t,r,i)}}function nc(t){var r=t.updateQueue;if(r!==null){t.updateQueue=null;var i=t.stateNode;i===null&&(i=t.stateNode=new Vc),r.forEach(function(d){var I=af.bind(null,t,d);i.has(d)||(i.add(d),d.then(I,I))})}}function qa(t,r){var i=r.deletions;if(i!==null)for(var d=0;dI&&(I=q),d&=~R}if(d=I,d=zt()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*Xc(d/1960))-d,10t?16:t,Do===null)var d=!1;else{if(t=Do,Do=null,Su=0,Jr&6)throw Error(n(331));var I=Jr;for(Jr|=4,rr=t.current;rr!==null;){var R=rr,q=R.child;if(rr.flags&16){var me=R.deletions;if(me!==null){for(var Me=0;Mezt()-Os?Qo(t,0):Ts|=i),Ra(t,r)}function yc(t,r){r===0&&(t.mode&1?(r=De,De<<=1,!(De&130023424)&&(De=4194304)):r=1);var i=xa();t=Iu(t,r),t!==null&&(Pt(t,r,i),Ra(t,i))}function nf(t){var r=t.memoizedState,i=0;r!==null&&(i=r.retryLane),yc(t,i)}function af(t,r){var i=0;switch(t.tag){case 13:var d=t.stateNode,I=t.memoizedState;I!==null&&(i=I.retryLane);break;case 19:d=t.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(r),yc(t,i)}var gc;gc=function(t,r,i){if(t!==null)if(t.memoizedProps!==r.pendingProps||Ta.current)Ca=!0;else{if(!(t.lanes&i)&&!(r.flags&128))return Ca=!1,Gc(t,r,i);Ca=!!(t.flags&131072)}else Ca=!1,Ln&&r.flags&1048576&&tl(r,nu,r.index);switch(r.lanes=0,r.tag){case 2:var d=r.type;t!==null&&(t.alternate=null,r.alternate=null,r.flags|=2),t=r.pendingProps;var I=li(r,ha.current);fi(r,i),I=us(null,r,d,t,I,i);var R=ss();return r.flags|=1,typeof I=="object"&&I!==null&&typeof I.render=="function"&&I.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Oa(d)?(R=!0,Yi(r)):R=!1,r.memoizedState=I.state!==null&&I.state!==void 0?I.state:null,Ku(r),I.updater=tu,r.stateNode=I,I._reactInternals=r,Yu(r,d,t,i),r=ys(null,r,d,!0,R,i)):(r.tag=0,Ln&&R&&Qu(r),ba(null,r,I,i),r=r.child),r;case 16:d=r.elementType;e:{switch(t!==null&&(t.alternate=null,r.alternate=null,r.flags|=2),t=r.pendingProps,I=d._init,d=I(d._payload),r.type=d,I=r.tag=uf(d),t=Ya(d,t),I){case 0:r=ms(null,r,d,t,i);break e;case 1:r=Hl(null,r,d,t,i);break e;case 11:r=Fl(null,r,d,t,i);break e;case 14:r=_l(null,r,d,Ya(d.type,t),i);break e}throw Error(n(306,d,""))}return r;case 0:return d=r.type,I=r.pendingProps,I=r.elementType===d?I:Ya(d,I),ms(t,r,d,I,i);case 1:return d=r.type,I=r.pendingProps,I=r.elementType===d?I:Ya(d,I),Hl(t,r,d,I,i);case 3:e:{if(Zl(r),t===null)throw Error(n(387));d=r.pendingProps,R=r.memoizedState,I=R.element,Vs(t,r),eu(r,d,null,i);var q=r.memoizedState;if(d=q.element,R.isDehydrated)if(R={element:d,isDehydrated:!1,cache:q.cache,pendingSuspenseBoundaries:q.pendingSuspenseBoundaries,transitions:q.transitions},r.updateQueue.baseState=R,r.memoizedState=R,r.flags&256){I=Error(n(423)),r=Wl(t,r,d,i,I);break e}else if(d!==I){I=Error(n(424)),r=Wl(t,r,d,i,I);break e}else for(Aa=po(r.stateNode.containerInfo.firstChild),Ba=r,Ln=!0,Xa=null,i=ul(r,null,d,i),r.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(pi(),d===I){r=So(t,r,i);break e}ba(t,r,d,i)}r=r.child}return r;case 5:return sl(r),t===null&&qu(r),d=r.type,I=r.pendingProps,R=t!==null?t.memoizedProps:null,q=I.children,Bu(d,I)?q=null:R!==null&&Bu(d,R)&&(r.flags|=32),zl(t,r),ba(t,r,q,i),r.child;case 6:return t===null&&qu(r),null;case 13:return Kl(t,r,i);case 4:return ts(r,r.stateNode.containerInfo),d=r.pendingProps,t===null?r.child=hi(r,null,d,i):ba(t,r,d,i),r.child;case 11:return d=r.type,I=r.pendingProps,I=r.elementType===d?I:Ya(d,I),Fl(t,r,d,I,i);case 7:return ba(t,r,r.pendingProps,i),r.child;case 8:return ba(t,r,r.pendingProps.children,i),r.child;case 12:return ba(t,r,r.pendingProps.children,i),r.child;case 10:e:{if(d=r.type._context,I=r.pendingProps,R=r.memoizedProps,q=I.value,In(Xi,d._currentValue),d._currentValue=q,R!==null)if(Sa(R.value,q)){if(R.children===I.children&&!Ta.current){r=So(t,r,i);break e}}else for(R=r.child,R!==null&&(R.return=r);R!==null;){var me=R.dependencies;if(me!==null){q=R.child;for(var Me=me.firstContext;Me!==null;){if(Me.context===d){if(R.tag===1){Me=yo(-1,i&-i),Me.tag=2;var qe=R.updateQueue;if(qe!==null){qe=qe.shared;var Ot=qe.pending;Ot===null?Me.next=Me:(Me.next=Ot.next,Ot.next=Me),qe.pending=Me}}R.lanes|=i,Me=R.alternate,Me!==null&&(Me.lanes|=i),Gu(R.return,i,r),me.lanes|=i;break}Me=Me.next}}else if(R.tag===10)q=R.type===r.type?null:R.child;else if(R.tag===18){if(q=R.return,q===null)throw Error(n(341));q.lanes|=i,me=q.alternate,me!==null&&(me.lanes|=i),Gu(q,i,r),q=R.sibling}else q=R.child;if(q!==null)q.return=R;else for(q=R;q!==null;){if(q===r){q=null;break}if(R=q.sibling,R!==null){R.return=q.return,q=R;break}q=q.return}R=q}ba(t,r,I.children,i),r=r.child}return r;case 9:return I=r.type,d=r.pendingProps.children,fi(r,i),I=$a(I),d=d(I),r.flags|=1,ba(t,r,d,i),r.child;case 14:return d=r.type,I=Ya(d,r.pendingProps),I=Ya(d.type,I),_l(t,r,d,I,i);case 15:return Ul(t,r,r.type,r.pendingProps,i);case 17:return d=r.type,I=r.pendingProps,I=r.elementType===d?I:Ya(d,I),t!==null&&(t.alternate=null,r.alternate=null,r.flags|=2),r.tag=1,Oa(d)?(t=!0,Yi(r)):t=!1,fi(r,i),qs(r,d,I),Yu(r,d,I,i),ys(null,r,d,!0,t,i);case 19:return Xl(t,r,i);case 22:return $l(t,r,i)}throw Error(n(156,r.tag))};function Ec(t,r){return $t(t,r)}function of(t,r,i,d){this.tag=t,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ka(t,r,i,d){return new of(t,r,i,d)}function Ds(t){return t=t.prototype,!(!t||!t.isReactComponent)}function uf(t){if(typeof t=="function")return Ds(t)?1:0;if(t!=null){if(t=t.$$typeof,t===be)return 11;if(t===ve)return 14}return 2}function Bo(t,r){var i=t.alternate;return i===null?(i=Ka(t.tag,r,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i.alternate=t,t.alternate=i):(i.pendingProps=r,i.type=t.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=t.flags&14680064,i.childLanes=t.childLanes,i.lanes=t.lanes,i.child=t.child,i.memoizedProps=t.memoizedProps,i.memoizedState=t.memoizedState,i.updateQueue=t.updateQueue,r=t.dependencies,i.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i}function Tu(t,r,i,d,I,R){var q=2;if(d=t,typeof t=="function")Ds(t)&&(q=1);else if(typeof t=="string")q=5;else e:switch(t){case G:return Jo(i.children,I,R,r);case K:q=8,I|=8;break;case J:return t=Ka(12,i,r,I|2),t.elementType=J,t.lanes=R,t;case le:return t=Ka(13,i,r,I),t.elementType=le,t.lanes=R,t;case ue:return t=Ka(19,i,r,I),t.elementType=ue,t.lanes=R,t;case V:return Ou(i,I,R,r);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case ce:q=10;break e;case Se:q=9;break e;case be:q=11;break e;case ve:q=14;break e;case z:q=16,d=null;break e}throw Error(n(130,t==null?t:typeof t,""))}return r=Ka(q,i,r,I),r.elementType=t,r.type=d,r.lanes=R,r}function Jo(t,r,i,d){return t=Ka(7,t,d,r),t.lanes=i,t}function Ou(t,r,i,d){return t=Ka(22,t,d,r),t.elementType=V,t.lanes=i,t.stateNode={},t}function js(t,r,i){return t=Ka(6,t,null,r),t.lanes=i,t}function ks(t,r,i){return r=Ka(4,t.children!==null?t.children:[],t.key,r),r.lanes=i,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}function sf(t,r,i,d,I){this.tag=r,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Rt(0),this.expirationTimes=Rt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rt(0),this.identifierPrefix=d,this.onRecoverableError=I,this.mutableSourceEagerHydrationData=null}function Bs(t,r,i,d,I,R,q,me,Me){return t=new sf(t,r,i,me,Me),r===1?(r=1,R===!0&&(r|=8)):r=0,R=Ka(3,null,null,r),t.current=R,R.stateNode=t,R.memoizedState={element:d,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ku(R),t}function lf(t,r,i){var d=3=0||(fe[oe]=ae[oe]);return fe}var b={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},x={rel:["amphtml","canonical","alternate"]},P={type:["application/ld+json"]},O={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},D=Object.keys(b).map(function(ae){return b[ae]}),M={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},B=Object.keys(M).reduce(function(ae,Z){return ae[M[Z]]=Z,ae},{}),A=function(ae,Z){for(var oe=ae.length-1;oe>=0;oe-=1){var W=ae[oe];if(Object.prototype.hasOwnProperty.call(W,Z))return W[Z]}return null},j=function(ae){var Z=A(ae,b.TITLE),oe=A(ae,"titleTemplate");if(Array.isArray(Z)&&(Z=Z.join("")),oe&&Z)return oe.replace(/%s/g,function(){return Z});var W=A(ae,"defaultTitle");return Z||W||void 0},F=function(ae){return A(ae,"onChangeClientState")||function(){}},G=function(ae,Z){return Z.filter(function(oe){return oe[ae]!==void 0}).map(function(oe){return oe[ae]}).reduce(function(oe,W){return p({},oe,W)},{})},K=function(ae,Z){return Z.filter(function(oe){return oe[b.BASE]!==void 0}).map(function(oe){return oe[b.BASE]}).reverse().reduce(function(oe,W){if(!oe.length)for(var fe=Object.keys(W),te=0;te/g,">").replace(/"/g,""").replace(/'/g,"'")},z=function(ae){return Object.keys(ae).reduce(function(Z,oe){var W=ae[oe]!==void 0?oe+'="'+ae[oe]+'"':""+oe;return Z?Z+" "+W:W},"")},V=function(ae,Z){return Z===void 0&&(Z={}),Object.keys(ae).reduce(function(oe,W){return oe[M[W]||W]=ae[W],oe},Z)},Q=function(ae,Z){return Z.map(function(oe,W){var fe,te=((fe={key:W})["data-rh"]=!0,fe);return Object.keys(oe).forEach(function(se){var de=M[se]||se;de==="innerHTML"||de==="cssText"?te.dangerouslySetInnerHTML={__html:oe.innerHTML||oe.cssText}:te[de]=oe[se]}),o.createElement(ae,te)})},w=function(ae,Z,oe){switch(ae){case b.TITLE:return{toComponent:function(){return fe=Z.titleAttributes,(te={key:W=Z.title})["data-rh"]=!0,se=V(fe,te),[o.createElement(b.TITLE,se,W)];var W,fe,te,se},toString:function(){return function(W,fe,te,se){var de=z(te),Te=Se(fe);return de?"<"+W+' data-rh="true" '+de+">"+ve(Te,se)+"":"<"+W+' data-rh="true">'+ve(Te,se)+""}(ae,Z.title,Z.titleAttributes,oe)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return V(Z)},toString:function(){return z(Z)}};default:return{toComponent:function(){return Q(ae,Z)},toString:function(){return function(W,fe,te){return fe.reduce(function(se,de){var Te=Object.keys(de).filter(function(Qe){return!(Qe==="innerHTML"||Qe==="cssText")}).reduce(function(Qe,tt){var ct=de[tt]===void 0?tt:tt+'="'+ve(de[tt],te)+'"';return Qe?Qe+" "+ct:ct},""),Be=de.innerHTML||de.cssText||"",it=ue.indexOf(W)===-1;return se+"<"+W+' data-rh="true" '+Te+(it?"/>":">"+Be+"")},"")}(ae,Z,oe)}}}},N=function(ae){var Z=ae.baseTag,oe=ae.bodyAttributes,W=ae.encode,fe=ae.htmlAttributes,te=ae.noscriptTags,se=ae.styleTags,de=ae.title,Te=de===void 0?"":de,Be=ae.titleAttributes,it=ae.linkTags,Qe=ae.metaTags,tt=ae.scriptTags,ct={toComponent:function(){},toString:function(){return""}};if(ae.prioritizeSeoTags){var St=function(gt){var Mt=gt.linkTags,h=gt.scriptTags,_=gt.encode,re=be(gt.metaTags,O),ie=be(Mt,x),he=be(h,P);return{priorityMethods:{toComponent:function(){return[].concat(Q(b.META,re.priority),Q(b.LINK,ie.priority),Q(b.SCRIPT,he.priority))},toString:function(){return w(b.META,re.priority,_)+" "+w(b.LINK,ie.priority,_)+" "+w(b.SCRIPT,he.priority,_)}},metaTags:re.default,linkTags:ie.default,scriptTags:he.default}}(ae);ct=St.priorityMethods,it=St.linkTags,Qe=St.metaTags,tt=St.scriptTags}return{priority:ct,base:w(b.BASE,Z,W),bodyAttributes:w("bodyAttributes",oe,W),htmlAttributes:w("htmlAttributes",fe,W),link:w(b.LINK,it,W),meta:w(b.META,Qe,W),noscript:w(b.NOSCRIPT,te,W),script:w(b.SCRIPT,tt,W),style:w(b.STYLE,se,W),title:w(b.TITLE,{title:Te,titleAttributes:Be},W)}},Y=[],ne=function(ae,Z){var oe=this;Z===void 0&&(Z=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(W){oe.context.helmet=W},helmetInstances:{get:function(){return oe.canUseDOM?Y:oe.instances},add:function(W){(oe.canUseDOM?Y:oe.instances).push(W)},remove:function(W){var fe=(oe.canUseDOM?Y:oe.instances).indexOf(W);(oe.canUseDOM?Y:oe.instances).splice(fe,1)}}},this.context=ae,this.canUseDOM=Z,Z||(ae.helmet=N({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},H=o.createContext({}),T=n().shape({setHelmet:n().func,helmetInstances:n().shape({get:n().func,add:n().func,remove:n().func})}),$=typeof document!="undefined",U=function(ae){function Z(oe){var W;return(W=ae.call(this,oe)||this).helmetData=new ne(W.props.context,Z.canUseDOM),W}return g(Z,ae),Z.prototype.render=function(){return o.createElement(H.Provider,{value:this.helmetData.value},this.props.children)},Z}(o.Component);U.canUseDOM=$,U.propTypes={context:n().shape({helmet:n().shape()}),children:n().node.isRequired},U.defaultProps={context:{}},U.displayName="HelmetProvider";var X=function(ae,Z){var oe,W=document.head||document.querySelector(b.HEAD),fe=W.querySelectorAll(ae+"[data-rh]"),te=[].slice.call(fe),se=[];return Z&&Z.length&&Z.forEach(function(de){var Te=document.createElement(ae);for(var Be in de)Object.prototype.hasOwnProperty.call(de,Be)&&(Be==="innerHTML"?Te.innerHTML=de.innerHTML:Be==="cssText"?Te.styleSheet?Te.styleSheet.cssText=de.cssText:Te.appendChild(document.createTextNode(de.cssText)):Te.setAttribute(Be,de[Be]===void 0?"":de[Be]));Te.setAttribute("data-rh","true"),te.some(function(it,Qe){return oe=Qe,Te.isEqualNode(it)})?te.splice(oe,1):se.push(Te)}),te.forEach(function(de){return de.parentNode.removeChild(de)}),se.forEach(function(de){return W.appendChild(de)}),{oldTags:te,newTags:se}},ee=function(ae,Z){var oe=document.getElementsByTagName(ae)[0];if(oe){for(var W=oe.getAttribute("data-rh"),fe=W?W.split(","):[],te=[].concat(fe),se=Object.keys(Z),de=0;de=0;Qe-=1)oe.removeAttribute(te[Qe]);fe.length===te.length?oe.removeAttribute("data-rh"):oe.getAttribute("data-rh")!==se.join(",")&&oe.setAttribute("data-rh",se.join(","))}},we=function(ae,Z){var oe=ae.baseTag,W=ae.htmlAttributes,fe=ae.linkTags,te=ae.metaTags,se=ae.noscriptTags,de=ae.onChangeClientState,Te=ae.scriptTags,Be=ae.styleTags,it=ae.title,Qe=ae.titleAttributes;ee(b.BODY,ae.bodyAttributes),ee(b.HTML,W),function(gt,Mt){gt!==void 0&&document.title!==gt&&(document.title=Se(gt)),ee(b.TITLE,Mt)}(it,Qe);var tt={baseTag:X(b.BASE,oe),linkTags:X(b.LINK,fe),metaTags:X(b.META,te),noscriptTags:X(b.NOSCRIPT,se),scriptTags:X(b.SCRIPT,Te),styleTags:X(b.STYLE,Be)},ct={},St={};Object.keys(tt).forEach(function(gt){var Mt=tt[gt],h=Mt.newTags,_=Mt.oldTags;h.length&&(ct[gt]=h),_.length&&(St[gt]=tt[gt].oldTags)}),Z&&Z(),de(ae,ct,St)},Ne=null,Ze=function(ae){function Z(){for(var W,fe=arguments.length,te=new Array(fe),se=0;se elements are self-closing and can not contain children. Refer to our API for more information.")}},oe.flattenArrayTypeChildren=function(W){var fe,te=W.child,se=W.arrayTypeChildren;return p({},se,((fe={})[te.type]=[].concat(se[te.type]||[],[p({},W.newChildProps,this.mapNestedChildrenToProps(te,W.nestedChildren))]),fe))},oe.mapObjectTypeChildren=function(W){var fe,te,se=W.child,de=W.newProps,Te=W.newChildProps,Be=W.nestedChildren;switch(se.type){case b.TITLE:return p({},de,((fe={})[se.type]=Be,fe.titleAttributes=p({},Te),fe));case b.BODY:return p({},de,{bodyAttributes:p({},Te)});case b.HTML:return p({},de,{htmlAttributes:p({},Te)});default:return p({},de,((te={})[se.type]=p({},Te),te))}},oe.mapArrayTypeChildrenToProps=function(W,fe){var te=p({},fe);return Object.keys(W).forEach(function(se){var de;te=p({},te,((de={})[se]=W[se],de))}),te},oe.warnOnInvalidChildren=function(W,fe){return c()(D.some(function(te){return W.type===te}),typeof W.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+D.join(", ")+" are allowed. Helmet does not support rendering <"+W.type+"> elements. Refer to our API for more information."),c()(!fe||typeof fe=="string"||Array.isArray(fe)&&!fe.some(function(te){return typeof te!="string"}),"Helmet expects a string as a child of <"+W.type+">. Did you forget to wrap your children in braces? ( <"+W.type+">{``} ) Refer to our API for more information."),!0},oe.mapChildrenToProps=function(W,fe){var te=this,se={};return o.Children.forEach(W,function(de){if(de&&de.props){var Te=de.props,Be=Te.children,it=E(Te,We),Qe=Object.keys(it).reduce(function(ct,St){return ct[B[St]||St]=it[St],ct},{}),tt=de.type;switch(typeof tt=="symbol"?tt=tt.toString():te.warnOnInvalidChildren(de,Be),tt){case b.FRAGMENT:fe=te.mapChildrenToProps(Be,fe);break;case b.LINK:case b.META:case b.NOSCRIPT:case b.SCRIPT:case b.STYLE:se=te.flattenArrayTypeChildren({child:de,arrayTypeChildren:se,newChildProps:Qe,nestedChildren:Be});break;default:fe=te.mapObjectTypeChildren({child:de,newProps:fe,newChildProps:Qe,nestedChildren:Be})}}}),this.mapArrayTypeChildrenToProps(se,fe)},oe.render=function(){var W=this.props,fe=W.children,te=E(W,ze),se=p({},te),de=te.helmetData;return fe&&(se=this.mapChildrenToProps(fe,se)),!de||de instanceof ne||(de=new ne(de.context,de.instances)),de?o.createElement(Ze,p({},se,{context:de.value,helmetData:void 0})):o.createElement(H.Consumer,null,function(Te){return o.createElement(Ze,p({},se,{context:Te}))})},Z}(o.Component);rt.propTypes={base:n().object,bodyAttributes:n().object,children:n().oneOfType([n().arrayOf(n().node),n().node]),defaultTitle:n().string,defer:n().bool,encodeSpecialCharacters:n().bool,htmlAttributes:n().object,link:n().arrayOf(n().object),meta:n().arrayOf(n().object),noscript:n().arrayOf(n().object),onChangeClientState:n().func,script:n().arrayOf(n().object),style:n().arrayOf(n().object),title:n().string,titleAttributes:n().object,titleTemplate:n().string,prioritizeSeoTags:n().bool,helmetData:n().object},rt.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},rt.displayName="Helmet"},74806:function(l,v,e){"use strict";e.d(v,{_y:function(){return m},zt:function(){return y}});var o=e(67294),a=e(8679),n=e.n(a);function s(g){return g.displayName||g.name||"Component"}var u=typeof window!="undefined"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=o.createContext(null)):o.createContext(null),f=u.Consumer,c=u.Provider,y=c,m=u;function p(g,S){var E=S||{},b=E.intlPropName,x=b===void 0?"intl":b,P=E.forwardRef,O=P===void 0?!1:P,D=E.enforceContext,M=D===void 0?!0:D,B=function(A){return React.createElement(f,null,function(j){var F;M&&invariantIntlContext(j);var G=(F={},F[x]=j,F);return React.createElement(g,__assign({},A,G,{ref:O?A.forwardedRef:null}))})};return B.displayName="injectIntl(".concat(s(g),")"),B.WrappedComponent=g,O?hoistNonReactStatics(React.forwardRef(function(A,j){return React.createElement(B,__assign({},A,{forwardedRef:j}))}),g):hoistNonReactStatics(B,g)}},86896:function(l,v,e){"use strict";e.d(v,{Z:function(){return s}});var o=e(67294),a=e(74806),n=e(680);function s(){var u=o.useContext(a._y);return(0,n.lq)(u),u}},680:function(l,v,e){"use strict";e.d(v,{Z0:function(){return f},dt:function(){return c},lq:function(){return u},wU:function(){return y}});var o=e(97582),a=e(67294),n=e(25687),s=e(82644);function u(m){(0,n.kG)(m,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}var f=(0,o.pi)((0,o.pi)({},s.Z0),{textComponent:a.Fragment});function c(m){return function(p){return m(a.Children.toArray(p))}}function y(m,p){if(m===p)return!0;if(!m||!p)return!1;var g=Object.keys(m),S=Object.keys(p),E=g.length;if(S.length!==E)return!1;for(var b=0;b(se[Te]==null&&f(!1),se[Te])).replace(/\/*\*$/,de=>se["*"]==null?"":se["*"].replace(/^\/*/,"/"))}function g(te,se,de){de===void 0&&(de="/");let Te=typeof se=="string"?(0,o.cP)(se):se,Be=ue(Te.pathname||"/",de);if(Be==null)return null;let it=S(te);E(it);let Qe=null;for(let tt=0;Qe==null&&tt{let Qe={relativePath:Be.path||"",caseSensitive:Be.caseSensitive===!0,childrenIndex:it,route:Be};Qe.relativePath.startsWith("/")&&(Qe.relativePath.startsWith(Te)||f(!1),Qe.relativePath=Qe.relativePath.slice(Te.length));let tt=ve([Te,Qe.relativePath]),ct=de.concat(Qe);Be.children&&Be.children.length>0&&(Be.index===!0&&f(!1),S(Be.children,se,ct,tt)),!(Be.path==null&&!Be.index)&&se.push({path:tt,score:A(tt,Be.index),routesMeta:ct})}),se}function E(te){te.sort((se,de)=>se.score!==de.score?de.score-se.score:j(se.routesMeta.map(Te=>Te.childrenIndex),de.routesMeta.map(Te=>Te.childrenIndex)))}const b=/^:\w+$/,x=3,P=2,O=1,D=10,M=-2,B=te=>te==="*";function A(te,se){let de=te.split("/"),Te=de.length;return de.some(B)&&(Te+=M),se&&(Te+=P),de.filter(Be=>!B(Be)).reduce((Be,it)=>Be+(b.test(it)?x:it===""?O:D),Te)}function j(te,se){return te.length===se.length&&te.slice(0,-1).every((Te,Be)=>Te===se[Be])?te[te.length-1]-se[se.length-1]:0}function F(te,se){let{routesMeta:de}=te,Te={},Be="/",it=[];for(let Qe=0;Qe{if(gt==="*"){let h=tt[Mt]||"";Qe=it.slice(0,it.length-h.length).replace(/(.)\/+$/,"$1")}return St[gt]=J(tt[Mt]||"",gt),St},{}),pathname:it,pathnameBase:Qe,pattern:te}}function K(te,se,de){se===void 0&&(se=!1),de===void 0&&(de=!0);let Te=[],Be="^"+te.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(Qe,tt)=>(Te.push(tt),"([^\\/]+)"));return te.endsWith("*")?(Te.push("*"),Be+=te==="*"||te==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):Be+=de?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(Be,se?void 0:"i"),Te]}function J(te,se){try{return decodeURIComponent(te)}catch(de){return te}}function ce(te,se){se===void 0&&(se="/");let{pathname:de,search:Te="",hash:Be=""}=typeof te=="string"?(0,o.cP)(te):te;return{pathname:de?de.startsWith("/")?de:Se(de,se):se,search:V(Te),hash:Q(Be)}}function Se(te,se){let de=se.replace(/\/+$/,"").split("/");return te.split("/").forEach(Be=>{Be===".."?de.length>1&&de.pop():Be!=="."&&de.push(Be)}),de.length>1?de.join("/"):"/"}function be(te,se,de){let Te=typeof te=="string"?(0,o.cP)(te):te,Be=te===""||Te.pathname===""?"/":Te.pathname,it;if(Be==null)it=de;else{let tt=se.length-1;if(Be.startsWith("..")){let ct=Be.split("/");for(;ct[0]==="..";)ct.shift(),tt-=1;Te.pathname=ct.join("/")}it=tt>=0?se[tt]:"/"}let Qe=ce(Te,it);return Be&&Be!=="/"&&Be.endsWith("/")&&!Qe.pathname.endsWith("/")&&(Qe.pathname+="/"),Qe}function le(te){return te===""||te.pathname===""?"/":typeof te=="string"?(0,o.cP)(te).pathname:te.pathname}function ue(te,se){if(se==="/")return te;if(!te.toLowerCase().startsWith(se.toLowerCase()))return null;let de=te.charAt(se.length);return de&&de!=="/"?null:te.slice(se.length)||"/"}const ve=te=>te.join("/").replace(/\/\/+/g,"/"),z=te=>te.replace(/\/+$/,"").replace(/^\/*/,"/"),V=te=>!te||te==="?"?"":te.startsWith("?")?te:"?"+te,Q=te=>!te||te==="#"?"":te.startsWith("#")?te:"#"+te;function w(te){N()||f(!1);let{basename:se,navigator:de}=(0,a.useContext)(n),{hash:Te,pathname:Be,search:it}=we(te),Qe=Be;if(se!=="/"){let tt=le(te),ct=tt!=null&&tt.endsWith("/");Qe=Be==="/"?se+(ct?"/":""):ve([se,Be])}return de.createHref({pathname:Qe,search:it,hash:Te})}function N(){return(0,a.useContext)(s)!=null}function Y(){return N()||f(!1),(0,a.useContext)(s).location}function ne(){return useContext(s).navigationType}function H(te){N()||f(!1);let{pathname:se}=Y();return useMemo(()=>G(te,se),[se,te])}function T(){N()||f(!1);let{basename:te,navigator:se}=(0,a.useContext)(n),{matches:de}=(0,a.useContext)(u),{pathname:Te}=Y(),Be=JSON.stringify(de.map(tt=>tt.pathnameBase)),it=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{it.current=!0}),(0,a.useCallback)(function(tt,ct){if(ct===void 0&&(ct={}),!it.current)return;if(typeof tt=="number"){se.go(tt);return}let St=be(tt,JSON.parse(Be),Te);te!=="/"&&(St.pathname=ve([te,St.pathname])),(ct.replace?se.replace:se.push)(St,ct.state)},[te,se,Be,Te])}const $=(0,a.createContext)(null);function U(){return useContext($)}function X(te){let se=(0,a.useContext)(u).outlet;return se&&(0,a.createElement)($.Provider,{value:te},se)}function ee(){let{matches:te}=(0,a.useContext)(u),se=te[te.length-1];return se?se.params:{}}function we(te){let{matches:se}=(0,a.useContext)(u),{pathname:de}=Y(),Te=JSON.stringify(se.map(Be=>Be.pathnameBase));return(0,a.useMemo)(()=>be(te,JSON.parse(Te),de),[te,Te,de])}function Ne(te,se){N()||f(!1);let{matches:de}=(0,a.useContext)(u),Te=de[de.length-1],Be=Te?Te.params:{},it=Te?Te.pathname:"/",Qe=Te?Te.pathnameBase:"/",tt=Te&&Te.route,ct=Y(),St;if(se){var gt;let re=typeof se=="string"?(0,o.cP)(se):se;Qe==="/"||(gt=re.pathname)!=null&>.startsWith(Qe)||f(!1),St=re}else St=ct;let Mt=St.pathname||"/",h=Qe==="/"?Mt:Mt.slice(Qe.length)||"/",_=g(te,{pathname:h});return Ze(_&&_.map(re=>Object.assign({},re,{params:Object.assign({},Be,re.params),pathname:ve([Qe,re.pathname]),pathnameBase:re.pathnameBase==="/"?Qe:ve([Qe,re.pathnameBase])})),de)}function Ze(te,se){return se===void 0&&(se=[]),te==null?null:te.reduceRight((de,Te,Be)=>(0,a.createElement)(u.Provider,{children:Te.route.element!==void 0?Te.route.element:de,value:{outlet:de,matches:se.concat(te.slice(0,Be+1))}}),null)}function We(te){let{basename:se,children:de,initialEntries:Te,initialIndex:Be}=te,it=useRef();it.current==null&&(it.current=createMemoryHistory({initialEntries:Te,initialIndex:Be}));let Qe=it.current,[tt,ct]=useState({action:Qe.action,location:Qe.location});return useLayoutEffect(()=>Qe.listen(ct),[Qe]),createElement(Z,{basename:se,children:de,location:tt.location,navigationType:tt.action,navigator:Qe})}function ze(te){let{to:se,replace:de,state:Te}=te;N()||f(!1);let Be=T();return(0,a.useEffect)(()=>{Be(se,{replace:de,state:Te})}),null}function rt(te){return X(te.context)}function ae(te){f(!1)}function Z(te){let{basename:se="/",children:de=null,location:Te,navigationType:Be=o.aU.Pop,navigator:it,static:Qe=!1}=te;N()&&f(!1);let tt=z(se),ct=(0,a.useMemo)(()=>({basename:tt,navigator:it,static:Qe}),[tt,it,Qe]);typeof Te=="string"&&(Te=(0,o.cP)(Te));let{pathname:St="/",search:gt="",hash:Mt="",state:h=null,key:_="default"}=Te,re=(0,a.useMemo)(()=>{let ie=ue(St,tt);return ie==null?null:{pathname:ie,search:gt,hash:Mt,state:h,key:_}},[tt,St,gt,Mt,h,_]);return re==null?null:(0,a.createElement)(n.Provider,{value:ct},(0,a.createElement)(s.Provider,{children:de,value:{location:re,navigationType:Be}}))}function oe(te){let{children:se,location:de}=te;return Ne(W(se),de)}function W(te){let se=[];return Children.forEach(te,de=>{if(!isValidElement(de))return;if(de.type===Fragment){se.push.apply(se,W(de.props.children));return}de.type!==ae&&f(!1);let Te={caseSensitive:de.props.caseSensitive,element:de.props.element,index:de.props.index,path:de.props.path};de.props.children&&(Te.children=W(de.props.children)),se.push(Te)}),se}function fe(te){return Ze(te)}},75251:function(l,v,e){"use strict";var o=e(67294),a=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,u=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,f={key:!0,ref:!0,__self:!0,__source:!0};function c(y,m,p){var g,S={},E=null,b=null;p!==void 0&&(E=""+p),m.key!==void 0&&(E=""+m.key),m.ref!==void 0&&(b=m.ref);for(g in m)s.call(m,g)&&!f.hasOwnProperty(g)&&(S[g]=m[g]);if(y&&y.defaultProps)for(g in m=y.defaultProps,m)S[g]===void 0&&(S[g]=m[g]);return{$$typeof:a,type:y,key:E,ref:b,props:S,_owner:u.current}}v.Fragment=n,v.jsx=c,v.jsxs=c},72408:function(l,v){"use strict";var e=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),f=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.iterator;function S(w){return w===null||typeof w!="object"?null:(w=g&&w[g]||w["@@iterator"],typeof w=="function"?w:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,x={};function P(w,N,Y){this.props=w,this.context=N,this.refs=x,this.updater=Y||E}P.prototype.isReactComponent={},P.prototype.setState=function(w,N){if(typeof w!="object"&&typeof w!="function"&&w!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,w,N,"setState")},P.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};function O(){}O.prototype=P.prototype;function D(w,N,Y){this.props=w,this.context=N,this.refs=x,this.updater=Y||E}var M=D.prototype=new O;M.constructor=D,b(M,P.prototype),M.isPureReactComponent=!0;var B=Array.isArray,A=Object.prototype.hasOwnProperty,j={current:null},F={key:!0,ref:!0,__self:!0,__source:!0};function G(w,N,Y){var ne,H={},T=null,$=null;if(N!=null)for(ne in N.ref!==void 0&&($=N.ref),N.key!==void 0&&(T=""+N.key),N)A.call(N,ne)&&!F.hasOwnProperty(ne)&&(H[ne]=N[ne]);var U=arguments.length-2;if(U===1)H.children=Y;else if(10},le.prototype.connect_=function(){!a||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),m?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},le.prototype.disconnect_=function(){!a||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},le.prototype.onTransitionEnd_=function(ue){var ve=ue.propertyName,z=ve===void 0?"":ve,V=y.some(function(Q){return!!~z.indexOf(Q)});V&&this.refresh()},le.getInstance=function(){return this.instance_||(this.instance_=new le),this.instance_},le.instance_=null,le}(),g=function(le,ue){for(var ve=0,z=Object.keys(ue);ve0},le}(),ce=typeof WeakMap!="undefined"?new WeakMap:new o,Se=function(){function le(ue){if(!(this instanceof le))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var ve=p.getInstance(),z=new J(ue,ve,this);ce.set(this,z)}return le}();["observe","unobserve","disconnect"].forEach(function(le){Se.prototype[le]=function(){var ue;return(ue=ce.get(this))[le].apply(ue,arguments)}});var be=function(){return typeof n.ResizeObserver!="undefined"?n.ResizeObserver:Se}();v.Z=be},60053:function(l,v){"use strict";function e(z,V){var Q=z.length;z.push(V);e:for(;0>>1,N=z[w];if(0>>1;wn(H,Q))Tn($,H)?(z[w]=$,z[T]=Q,w=T):(z[w]=H,z[ne]=Q,w=ne);else if(Tn($,Q))z[w]=$,z[T]=Q,w=T;else break e}}return V}function n(z,V){var Q=z.sortIndex-V.sortIndex;return Q!==0?Q:z.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;v.unstable_now=function(){return s.now()}}else{var u=Date,f=u.now();v.unstable_now=function(){return u.now()-f}}var c=[],y=[],m=1,p=null,g=3,S=!1,E=!1,b=!1,x=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function D(z){for(var V=o(y);V!==null;){if(V.callback===null)a(y);else if(V.startTime<=z)a(y),V.sortIndex=V.expirationTime,e(c,V);else break;V=o(y)}}function M(z){if(b=!1,D(z),!E)if(o(c)!==null)E=!0,ue(B);else{var V=o(y);V!==null&&ve(M,V.startTime-z)}}function B(z,V){E=!1,b&&(b=!1,P(F),F=-1),S=!0;var Q=g;try{for(D(V),p=o(c);p!==null&&(!(p.expirationTime>V)||z&&!J());){var w=p.callback;if(typeof w=="function"){p.callback=null,g=p.priorityLevel;var N=w(p.expirationTime<=V);V=v.unstable_now(),typeof N=="function"?p.callback=N:p===o(c)&&a(c),D(V)}else a(c);p=o(c)}if(p!==null)var Y=!0;else{var ne=o(y);ne!==null&&ve(M,ne.startTime-V),Y=!1}return Y}finally{p=null,g=Q,S=!1}}var A=!1,j=null,F=-1,G=5,K=-1;function J(){return!(v.unstable_now()-Kz||125w?(z.sortIndex=Q,e(y,z),o(c)===null&&z===o(y)&&(b?(P(F),F=-1):b=!0,ve(M,Q-w))):(z.sortIndex=N,e(c,z),E||S||(E=!0,ue(B))),z},v.unstable_shouldYield=J,v.unstable_wrapCallback=function(z){var V=g;return function(){var Q=g;g=V;try{return z.apply(this,arguments)}finally{g=Q}}}},63840:function(l,v,e){"use strict";l.exports=e(60053)},96774:function(l){l.exports=function(e,o,a,n){var s=a?a.call(n,e,o):void 0;if(s!==void 0)return!!s;if(e===o)return!0;if(typeof e!="object"||!e||typeof o!="object"||!o)return!1;var u=Object.keys(e),f=Object.keys(o);if(u.length!==f.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(o),y=0;ye.length)&&(o=e.length);for(var a=0,n=new Array(o);a=0;--ne){var H=this.tryEntries[ne],T=H.completion;if(H.tryLoc==="root")return Y("end");if(H.tryLoc<=this.prev){var $=f.call(H,"catchLoc"),U=f.call(H,"finallyLoc");if($&&U){if(this.prev=0;--Y){var ne=this.tryEntries[Y];if(ne.tryLoc<=this.prev&&f.call(ne,"finallyLoc")&&this.prev=0;--N){var Y=this.tryEntries[N];if(Y.finallyLoc===w)return this.complete(Y.completion,Y.afterLoc),ve(Y),M}},catch:function(w){for(var N=this.tryEntries.length-1;N>=0;--N){var Y=this.tryEntries[N];if(Y.tryLoc===w){var ne=Y.completion;if(ne.type==="throw"){var H=ne.arg;ve(Y)}return H}}throw new Error("illegal catch attempt")},delegateYield:function(w,N,Y){return this.delegate={iterator:V(w),resultName:N,nextLoc:Y},this.method==="next"&&(this.arg=n),M}},s}l.exports=a,l.exports.__esModule=!0,l.exports.default=l.exports},5574:function(l,v,e){var o=e(82187),a=e(73964),n=e(96263),s=e(69094);function u(f,c){return o(f)||a(f,c)||n(f,c)||s()}l.exports=u,l.exports.__esModule=!0,l.exports.default=l.exports},66518:function(l,v,e){var o=e(52677).default;function a(n,s){if(o(n)!=="object"||n===null)return n;var u=n[Symbol.toPrimitive];if(u!==void 0){var f=u.call(n,s||"default");if(o(f)!=="object")return f;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(n)}l.exports=a,l.exports.__esModule=!0,l.exports.default=l.exports},51883:function(l,v,e){var o=e(52677).default,a=e(66518);function n(s){var u=a(s,"string");return o(u)==="symbol"?u:String(u)}l.exports=n,l.exports.__esModule=!0,l.exports.default=l.exports},52677:function(l){function v(e){"@babel/helpers - typeof";return l.exports=v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},l.exports.__esModule=!0,l.exports.default=l.exports,v(e)}l.exports=v,l.exports.__esModule=!0,l.exports.default=l.exports},96263:function(l,v,e){var o=e(37923);function a(n,s){if(n){if(typeof n=="string")return o(n,s);var u=Object.prototype.toString.call(n).slice(8,-1);if(u==="Object"&&n.constructor&&(u=n.constructor.name),u==="Map"||u==="Set")return Array.from(n);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return o(n,s)}}l.exports=a,l.exports.__esModule=!0,l.exports.default=l.exports},30907:function(l,v,e){"use strict";e.d(v,{Z:function(){return o}});function o(a,n){(n==null||n>a.length)&&(n=a.length);for(var s=0,u=new Array(n);s=0)&&(u[c]=n[c]);return u}function a(n,s){if(n==null)return{};var u=o(n,s),f,c;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(n);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(n,f)&&(u[f]=n[f])}return u}},82963:function(l,v,e){"use strict";e.d(v,{Z:function(){return n}});var o=e(71002),a=e(97326);function n(s,u){if(u&&((0,o.Z)(u)==="object"||typeof u=="function"))return u;if(u!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(s)}},89611:function(l,v,e){"use strict";e.d(v,{Z:function(){return o}});function o(a,n){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,f){return u.__proto__=f,u},o(a,n)}},97685:function(l,v,e){"use strict";e.d(v,{Z:function(){return u}});var o=e(83878);function a(f,c){var y=f==null?null:typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var m,p,g,S,E=[],b=!0,x=!1;try{if(g=(y=y.call(f)).next,c===0){if(Object(y)!==y)return;b=!1}else for(;!(b=(m=g.call(y)).done)&&(E.push(m.value),E.length!==c);b=!0);}catch(P){x=!0,p=P}finally{try{if(!b&&y.return!=null&&(S=y.return(),Object(S)!==S))return}finally{if(x)throw p}}return E}}var n=e(40181),s=e(25267);function u(f,c){return(0,o.Z)(f)||a(f,c)||(0,n.Z)(f,c)||(0,s.Z)()}},74902:function(l,v,e){"use strict";e.d(v,{Z:function(){return f}});var o=e(30907);function a(c){if(Array.isArray(c))return(0,o.Z)(c)}var n=e(59199),s=e(40181);function u(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(c){return a(c)||(0,n.Z)(c)||(0,s.Z)(c)||u()}},83997:function(l,v,e){"use strict";e.d(v,{Z:function(){return n}});var o=e(71002);function a(s,u){if((0,o.Z)(s)!="object"||!s)return s;var f=s[Symbol.toPrimitive];if(f!==void 0){var c=f.call(s,u||"default");if((0,o.Z)(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(s)}function n(s){var u=a(s,"string");return(0,o.Z)(u)=="symbol"?u:String(u)}},71002:function(l,v,e){"use strict";e.d(v,{Z:function(){return o}});function o(a){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o(a)}},40181:function(l,v,e){"use strict";e.d(v,{Z:function(){return a}});var o=e(30907);function a(n,s){if(n){if(typeof n=="string")return(0,o.Z)(n,s);var u=Object.prototype.toString.call(n).slice(8,-1);if(u==="Object"&&n.constructor&&(u=n.constructor.name),u==="Map"||u==="Set")return Array.from(n);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return(0,o.Z)(n,s)}}},58096:function(l,v,e){"use strict";e.d(v,{Z:function(){return o}});function o(){return o=Object.assign?Object.assign.bind():function(a){for(var n=1;n=0)&&(u[c]=n[c]);return u}function a(n,s){if(n==null)return{};var u=o(n,s),f,c;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(n);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(n,f)&&(u[f]=n[f])}return u}},97582:function(l,v,e){"use strict";e.d(v,{CR:function(){return O},Jh:function(){return E},XA:function(){return P},ZT:function(){return a},_T:function(){return s},ev:function(){return B},mG:function(){return S},pi:function(){return n},pr:function(){return M}});var o=function(w,N){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Y,ne){Y.__proto__=ne}||function(Y,ne){for(var H in ne)Object.prototype.hasOwnProperty.call(ne,H)&&(Y[H]=ne[H])},o(w,N)};function a(w,N){if(typeof N!="function"&&N!==null)throw new TypeError("Class extends value "+String(N)+" is not a constructor or null");o(w,N);function Y(){this.constructor=w}w.prototype=N===null?Object.create(N):(Y.prototype=N.prototype,new Y)}var n=function(){return n=Object.assign||function(N){for(var Y,ne=1,H=arguments.length;ne=0;U--)($=w[U])&&(T=(H<3?$(T):H>3?$(N,Y,T):$(N,Y))||T);return H>3&&T&&Object.defineProperty(N,Y,T),T}function f(w,N){return function(Y,ne){N(Y,ne,w)}}function c(w,N,Y,ne,H,T){function $(Z){if(Z!==void 0&&typeof Z!="function")throw new TypeError("Function expected");return Z}for(var U=ne.kind,X=U==="getter"?"get":U==="setter"?"set":"value",ee=!N&&w?ne.static?w:w.prototype:null,we=N||(ee?Object.getOwnPropertyDescriptor(ee,ne.name):{}),Ne,Ze=!1,We=Y.length-1;We>=0;We--){var ze={};for(var rt in ne)ze[rt]=rt==="access"?{}:ne[rt];for(var rt in ne.access)ze.access[rt]=ne.access[rt];ze.addInitializer=function(Z){if(Ze)throw new TypeError("Cannot add initializers after decoration has completed");T.push($(Z||null))};var ae=(0,Y[We])(U==="accessor"?{get:we.get,set:we.set}:we[X],ze);if(U==="accessor"){if(ae===void 0)continue;if(ae===null||typeof ae!="object")throw new TypeError("Object expected");(Ne=$(ae.get))&&(we.get=Ne),(Ne=$(ae.set))&&(we.set=Ne),(Ne=$(ae.init))&&H.unshift(Ne)}else(Ne=$(ae))&&(U==="field"?H.unshift(Ne):we[X]=Ne)}ee&&Object.defineProperty(ee,ne.name,we),Ze=!0}function y(w,N,Y){for(var ne=arguments.length>2,H=0;H0&&T[T.length-1])&&(ee[0]===6||ee[0]===2)){Y=0;continue}if(ee[0]===3&&(!T||ee[1]>T[0]&&ee[1]=w.length&&(w=void 0),{value:w&&w[ne++],done:!w}}};throw new TypeError(N?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(w,N){var Y=typeof Symbol=="function"&&w[Symbol.iterator];if(!Y)return w;var ne=Y.call(w),H,T=[],$;try{for(;(N===void 0||N-- >0)&&!(H=ne.next()).done;)T.push(H.value)}catch(U){$={error:U}}finally{try{H&&!H.done&&(Y=ne.return)&&Y.call(ne)}finally{if($)throw $.error}}return T}function D(){for(var w=[],N=0;N1||U(Ze,We)})})}function U(Ze,We){try{X(ne[Ze](We))}catch(ze){Ne(T[0][3],ze)}}function X(Ze){Ze.value instanceof A?Promise.resolve(Ze.value.v).then(ee,we):Ne(T[0][2],Ze)}function ee(Ze){U("next",Ze)}function we(Ze){U("throw",Ze)}function Ne(Ze,We){Ze(We),T.shift(),T.length&&U(T[0][0],T[0][1])}}function F(w){var N,Y;return N={},ne("next"),ne("throw",function(H){throw H}),ne("return"),N[Symbol.iterator]=function(){return this},N;function ne(H,T){N[H]=w[H]?function($){return(Y=!Y)?{value:A(w[H]($)),done:!1}:T?T($):$}:T}}function G(w){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var N=w[Symbol.asyncIterator],Y;return N?N.call(w):(w=typeof P=="function"?P(w):w[Symbol.iterator](),Y={},ne("next"),ne("throw"),ne("return"),Y[Symbol.asyncIterator]=function(){return this},Y);function ne(T){Y[T]=w[T]&&function($){return new Promise(function(U,X){$=w[T]($),H(U,X,$.done,$.value)})}}function H(T,$,U,X){Promise.resolve(X).then(function(ee){T({value:ee,done:U})},$)}}function K(w,N){return Object.defineProperty?Object.defineProperty(w,"raw",{value:N}):w.raw=N,w}var J=Object.create?function(w,N){Object.defineProperty(w,"default",{enumerable:!0,value:N})}:function(w,N){w.default=N};function ce(w){if(w&&w.__esModule)return w;var N={};if(w!=null)for(var Y in w)Y!=="default"&&Object.prototype.hasOwnProperty.call(w,Y)&&b(N,w,Y);return J(N,w),N}function Se(w){return w&&w.__esModule?w:{default:w}}function be(w,N,Y,ne){if(Y==="a"&&!ne)throw new TypeError("Private accessor was defined without a getter");if(typeof N=="function"?w!==N||!ne:!N.has(w))throw new TypeError("Cannot read private member from an object whose class did not declare it");return Y==="m"?ne:Y==="a"?ne.call(w):ne?ne.value:N.get(w)}function le(w,N,Y,ne,H){if(ne==="m")throw new TypeError("Private method is not writable");if(ne==="a"&&!H)throw new TypeError("Private accessor was defined without a setter");if(typeof N=="function"?w!==N||!H:!N.has(w))throw new TypeError("Cannot write private member to an object whose class did not declare it");return ne==="a"?H.call(w,Y):H?H.value=Y:N.set(w,Y),Y}function ue(w,N){if(N===null||typeof N!="object"&&typeof N!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof w=="function"?N===w:w.has(N)}function ve(w,N,Y){if(N!=null){if(typeof N!="object"&&typeof N!="function")throw new TypeError("Object expected.");var ne;if(Y){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ne=N[Symbol.asyncDispose]}if(ne===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ne=N[Symbol.dispose]}if(typeof ne!="function")throw new TypeError("Object not disposable.");w.stack.push({value:N,dispose:ne,async:Y})}else Y&&w.stack.push({async:!0});return N}var z=typeof SuppressedError=="function"?SuppressedError:function(w,N,Y){var ne=new Error(Y);return ne.name="SuppressedError",ne.error=w,ne.suppressed=N,ne};function V(w){function N(ne){w.error=w.hasError?new z(ne,w.error,"An error was suppressed during disposal."):ne,w.hasError=!0}function Y(){for(;w.stack.length;){var ne=w.stack.pop();try{var H=ne.dispose&&ne.dispose.call(ne.value);if(ne.async)return Promise.resolve(H).then(Y,function(T){return N(T),Y()})}catch(T){N(T)}}if(w.hasError)throw w.error}return Y()}var Q={__extends:a,__assign:n,__rest:s,__decorate:u,__param:f,__metadata:g,__awaiter:S,__generator:E,__createBinding:b,__exportStar:x,__values:P,__read:O,__spread:D,__spreadArrays:M,__spreadArray:B,__await:A,__asyncGenerator:j,__asyncDelegator:F,__asyncValues:G,__makeTemplateObject:K,__importStar:ce,__importDefault:Se,__classPrivateFieldGet:be,__classPrivateFieldSet:le,__classPrivateFieldIn:ue,__addDisposableResource:ve,__disposeResources:V}}},__webpack_module_cache__={};function __webpack_require__(l){var v=__webpack_module_cache__[l];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[l]={id:l,loaded:!1,exports:{}};return __webpack_modules__[l].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(l){var v=l&&l.__esModule?function(){return l.default}:function(){return l};return __webpack_require__.d(v,{a:v}),v}}(),function(){var l=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,o){if(o&1&&(e=this(e)),o&8||typeof e=="object"&&e&&(o&4&&e.__esModule||o&16&&typeof e.then=="function"))return e;var a=Object.create(null);__webpack_require__.r(a);var n={};v=v||[null,l({}),l([]),l(l)];for(var s=o&2&&e;typeof s=="object"&&!~v.indexOf(s);s=l(s))Object.getOwnPropertyNames(s).forEach(function(u){n[u]=function(){return e[u]}});return n.default=function(){return e},__webpack_require__.d(a,n),a}}(),function(){__webpack_require__.d=function(l,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(l,e)&&Object.defineProperty(l,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(l){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](l,v),v},[]))}}(),function(){__webpack_require__.u=function(l){return""+({9:"nm__dumi__dist__client__pages__Demo__index",65:"nm__dumi__dist__client__pages__404",433:"demos",519:"nm__dumi__theme-default__layouts__DocLayout__index",799:"docs__docs__index.md",825:"docs__guide__index.md",923:"dumi__tmp-production__dumi__theme__ContextWrapper",935:"docs__index.md"}[l]||l)+"."+{9:"d2f92971",15:"213ac7cc",65:"106310ea",236:"cc9b5cb9",288:"bb94633b",433:"b66d9ad7",519:"a7b47917",593:"2b909bc9",647:"0ef323fe",665:"846888af",714:"e4aa5179",799:"f5762d12",825:"f2d2557c",923:"95dc036c",935:"3509782a"}[l]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(l){return""+({9:"nm__dumi__dist__client__pages__Demo__index",65:"nm__dumi__dist__client__pages__404",433:"demos",799:"docs__docs__index.md",825:"docs__guide__index.md",935:"docs__index.md"}[l]||l)+"."+{9:"578aa5c0",65:"8b85f2d9",236:"674197f2",433:"ba4fa715",647:"dec64465",799:"778c6473",825:"778c6473",935:"778c6473"}[l]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(l){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.o=function(l,v){return Object.prototype.hasOwnProperty.call(l,v)}}(),function(){var l={},v="@antv/l7-editor:";__webpack_require__.l=function(e,o,a,n){if(l[e]){l[e].push(o);return}var s,u;if(a!==void 0)for(var f=document.getElementsByTagName("script"),c=0;c=0)&&(u[c]=n[c]);return u}function a(n,s){if(n==null)return{};var u=o(n,s),f,c;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(n);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(n,f)&&(u[f]=n[f])}return u}},97582:function(l,v,e){"use strict";e.d(v,{CR:function(){return O},Jh:function(){return E},XA:function(){return P},ZT:function(){return a},_T:function(){return s},ev:function(){return B},mG:function(){return S},pi:function(){return n},pr:function(){return M}});var o=function(w,N){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Y,ne){Y.__proto__=ne}||function(Y,ne){for(var H in ne)Object.prototype.hasOwnProperty.call(ne,H)&&(Y[H]=ne[H])},o(w,N)};function a(w,N){if(typeof N!="function"&&N!==null)throw new TypeError("Class extends value "+String(N)+" is not a constructor or null");o(w,N);function Y(){this.constructor=w}w.prototype=N===null?Object.create(N):(Y.prototype=N.prototype,new Y)}var n=function(){return n=Object.assign||function(N){for(var Y,ne=1,H=arguments.length;ne=0;U--)($=w[U])&&(T=(H<3?$(T):H>3?$(N,Y,T):$(N,Y))||T);return H>3&&T&&Object.defineProperty(N,Y,T),T}function f(w,N){return function(Y,ne){N(Y,ne,w)}}function c(w,N,Y,ne,H,T){function $(Z){if(Z!==void 0&&typeof Z!="function")throw new TypeError("Function expected");return Z}for(var U=ne.kind,X=U==="getter"?"get":U==="setter"?"set":"value",ee=!N&&w?ne.static?w:w.prototype:null,we=N||(ee?Object.getOwnPropertyDescriptor(ee,ne.name):{}),Ne,Ze=!1,We=Y.length-1;We>=0;We--){var ze={};for(var rt in ne)ze[rt]=rt==="access"?{}:ne[rt];for(var rt in ne.access)ze.access[rt]=ne.access[rt];ze.addInitializer=function(Z){if(Ze)throw new TypeError("Cannot add initializers after decoration has completed");T.push($(Z||null))};var ae=(0,Y[We])(U==="accessor"?{get:we.get,set:we.set}:we[X],ze);if(U==="accessor"){if(ae===void 0)continue;if(ae===null||typeof ae!="object")throw new TypeError("Object expected");(Ne=$(ae.get))&&(we.get=Ne),(Ne=$(ae.set))&&(we.set=Ne),(Ne=$(ae.init))&&H.unshift(Ne)}else(Ne=$(ae))&&(U==="field"?H.unshift(Ne):we[X]=Ne)}ee&&Object.defineProperty(ee,ne.name,we),Ze=!0}function y(w,N,Y){for(var ne=arguments.length>2,H=0;H0&&T[T.length-1])&&(ee[0]===6||ee[0]===2)){Y=0;continue}if(ee[0]===3&&(!T||ee[1]>T[0]&&ee[1]=w.length&&(w=void 0),{value:w&&w[ne++],done:!w}}};throw new TypeError(N?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(w,N){var Y=typeof Symbol=="function"&&w[Symbol.iterator];if(!Y)return w;var ne=Y.call(w),H,T=[],$;try{for(;(N===void 0||N-- >0)&&!(H=ne.next()).done;)T.push(H.value)}catch(U){$={error:U}}finally{try{H&&!H.done&&(Y=ne.return)&&Y.call(ne)}finally{if($)throw $.error}}return T}function D(){for(var w=[],N=0;N1||U(Ze,We)})})}function U(Ze,We){try{X(ne[Ze](We))}catch(ze){Ne(T[0][3],ze)}}function X(Ze){Ze.value instanceof A?Promise.resolve(Ze.value.v).then(ee,we):Ne(T[0][2],Ze)}function ee(Ze){U("next",Ze)}function we(Ze){U("throw",Ze)}function Ne(Ze,We){Ze(We),T.shift(),T.length&&U(T[0][0],T[0][1])}}function F(w){var N,Y;return N={},ne("next"),ne("throw",function(H){throw H}),ne("return"),N[Symbol.iterator]=function(){return this},N;function ne(H,T){N[H]=w[H]?function($){return(Y=!Y)?{value:A(w[H]($)),done:!1}:T?T($):$}:T}}function G(w){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var N=w[Symbol.asyncIterator],Y;return N?N.call(w):(w=typeof P=="function"?P(w):w[Symbol.iterator](),Y={},ne("next"),ne("throw"),ne("return"),Y[Symbol.asyncIterator]=function(){return this},Y);function ne(T){Y[T]=w[T]&&function($){return new Promise(function(U,X){$=w[T]($),H(U,X,$.done,$.value)})}}function H(T,$,U,X){Promise.resolve(X).then(function(ee){T({value:ee,done:U})},$)}}function K(w,N){return Object.defineProperty?Object.defineProperty(w,"raw",{value:N}):w.raw=N,w}var J=Object.create?function(w,N){Object.defineProperty(w,"default",{enumerable:!0,value:N})}:function(w,N){w.default=N};function ce(w){if(w&&w.__esModule)return w;var N={};if(w!=null)for(var Y in w)Y!=="default"&&Object.prototype.hasOwnProperty.call(w,Y)&&b(N,w,Y);return J(N,w),N}function Se(w){return w&&w.__esModule?w:{default:w}}function be(w,N,Y,ne){if(Y==="a"&&!ne)throw new TypeError("Private accessor was defined without a getter");if(typeof N=="function"?w!==N||!ne:!N.has(w))throw new TypeError("Cannot read private member from an object whose class did not declare it");return Y==="m"?ne:Y==="a"?ne.call(w):ne?ne.value:N.get(w)}function le(w,N,Y,ne,H){if(ne==="m")throw new TypeError("Private method is not writable");if(ne==="a"&&!H)throw new TypeError("Private accessor was defined without a setter");if(typeof N=="function"?w!==N||!H:!N.has(w))throw new TypeError("Cannot write private member to an object whose class did not declare it");return ne==="a"?H.call(w,Y):H?H.value=Y:N.set(w,Y),Y}function ue(w,N){if(N===null||typeof N!="object"&&typeof N!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof w=="function"?N===w:w.has(N)}function ve(w,N,Y){if(N!=null){if(typeof N!="object"&&typeof N!="function")throw new TypeError("Object expected.");var ne;if(Y){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ne=N[Symbol.asyncDispose]}if(ne===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ne=N[Symbol.dispose]}if(typeof ne!="function")throw new TypeError("Object not disposable.");w.stack.push({value:N,dispose:ne,async:Y})}else Y&&w.stack.push({async:!0});return N}var z=typeof SuppressedError=="function"?SuppressedError:function(w,N,Y){var ne=new Error(Y);return ne.name="SuppressedError",ne.error=w,ne.suppressed=N,ne};function V(w){function N(ne){w.error=w.hasError?new z(ne,w.error,"An error was suppressed during disposal."):ne,w.hasError=!0}function Y(){for(;w.stack.length;){var ne=w.stack.pop();try{var H=ne.dispose&&ne.dispose.call(ne.value);if(ne.async)return Promise.resolve(H).then(Y,function(T){return N(T),Y()})}catch(T){N(T)}}if(w.hasError)throw w.error}return Y()}var Q={__extends:a,__assign:n,__rest:s,__decorate:u,__param:f,__metadata:g,__awaiter:S,__generator:E,__createBinding:b,__exportStar:x,__values:P,__read:O,__spread:D,__spreadArrays:M,__spreadArray:B,__await:A,__asyncGenerator:j,__asyncDelegator:F,__asyncValues:G,__makeTemplateObject:K,__importStar:ce,__importDefault:Se,__classPrivateFieldGet:be,__classPrivateFieldSet:le,__classPrivateFieldIn:ue,__addDisposableResource:ve,__disposeResources:V}}},__webpack_module_cache__={};function __webpack_require__(l){var v=__webpack_module_cache__[l];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[l]={id:l,loaded:!1,exports:{}};return __webpack_modules__[l].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(l){var v=l&&l.__esModule?function(){return l.default}:function(){return l};return __webpack_require__.d(v,{a:v}),v}}(),function(){var l=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,o){if(o&1&&(e=this(e)),o&8||typeof e=="object"&&e&&(o&4&&e.__esModule||o&16&&typeof e.then=="function"))return e;var a=Object.create(null);__webpack_require__.r(a);var n={};v=v||[null,l({}),l([]),l(l)];for(var s=o&2&&e;typeof s=="object"&&!~v.indexOf(s);s=l(s))Object.getOwnPropertyNames(s).forEach(function(u){n[u]=function(){return e[u]}});return n.default=function(){return e},__webpack_require__.d(a,n),a}}(),function(){__webpack_require__.d=function(l,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(l,e)&&Object.defineProperty(l,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(l){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](l,v),v},[]))}}(),function(){__webpack_require__.u=function(l){return""+({9:"nm__dumi__dist__client__pages__Demo__index",65:"nm__dumi__dist__client__pages__404",433:"demos",519:"nm__dumi__theme-default__layouts__DocLayout__index",799:"docs__docs__index.md",825:"docs__guide__index.md",923:"dumi__tmp-production__dumi__theme__ContextWrapper",935:"docs__index.md"}[l]||l)+"."+{9:"d2f92971",15:"213ac7cc",65:"106310ea",236:"cc9b5cb9",288:"bb94633b",433:"b66d9ad7",519:"a7b47917",593:"2b909bc9",647:"0ef323fe",665:"846888af",714:"c4bafb86",799:"6d3aadca",825:"f2d2557c",923:"95dc036c",935:"3509782a"}[l]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(l){return""+({9:"nm__dumi__dist__client__pages__Demo__index",65:"nm__dumi__dist__client__pages__404",433:"demos",799:"docs__docs__index.md",825:"docs__guide__index.md",935:"docs__index.md"}[l]||l)+"."+{9:"578aa5c0",65:"8b85f2d9",236:"674197f2",433:"ba4fa715",647:"dec64465",799:"778c6473",825:"778c6473",935:"778c6473"}[l]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(l){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.o=function(l,v){return Object.prototype.hasOwnProperty.call(l,v)}}(),function(){var l={},v="@antv/l7-editor:";__webpack_require__.l=function(e,o,a,n){if(l[e]){l[e].push(o);return}var s,u;if(a!==void 0)for(var f=document.getElementsByTagName("script"),c=0;cmt.length)&&(dt=mt.length);for(var Ut=0,mr=new Array(dt);Ut0&&arguments[0]!==void 0?arguments[0]:"";return mt.endsWith("/")?mt:"".concat(mt,"/")}var mn=__webpack_require__(49647),Un=__webpack_require__(58096),da=__webpack_require__(59918),Wn=["redirect"];function Jn(mt){var dt=mt.routesById,Ut=mt.parentId,mr=mt.routeComponents;return Object.keys(dt).filter(function(Lr){return dt[Lr].parentId===Ut}).map(function(Lr){var fn=pa(Ve({route:dt[Lr],routeComponent:mr[Lr],loadingComponent:mt.loadingComponent,reactRouter5Compat:mt.reactRouter5Compat},mt.reactRouter5Compat&&{hasChildren:Object.keys(dt).filter(function(jn){return dt[jn].parentId===Lr}).length>0})),xn=Jn({routesById:dt,routeComponents:mr,parentId:fn.id,loadingComponent:mt.loadingComponent,reactRouter5Compat:mt.reactRouter5Compat});return xn.length>0&&(fn.children=xn,fn.routes=xn),fn})}function va(mt){var dt=(0,yr.UO)(),Ut=Ve(Ve({},mt),{},{to:(0,yr.Gn)(mt.to,dt)});return ot.createElement(yr.Fg,(0,Un.Z)({replace:!0},Ut))}function pa(mt){var dt=mt.route,Ut=dt.redirect,mr=(0,mn.Z)(dt,Wn),Lr=mt.reactRouter5Compat?eo:Va;return Ve({element:Ut?ot.createElement(va,{to:Ut}):ot.createElement(da.X.Provider,{value:{route:mt.route}},ot.createElement(Lr,{loader:ot.memo(mt.routeComponent),loadingComponent:mt.loadingComponent||Na,hasChildren:mt.hasChildren}))},mr)}function Na(){return ot.createElement("div",null)}function eo(mt){var dt=(0,da.Q)(),Ut=dt.route,mr=(0,Ir.Ov)(),Lr=mr.history,fn=mr.clientRoutes,xn=(0,yr.UO)(),jn={params:xn,isExact:!0,path:Ut.path,url:Lr.location.pathname},wa=mt.loader;return ot.createElement(ot.Suspense,{fallback:ot.createElement(mt.loadingComponent,null)},ot.createElement(wa,{location:Lr.location,match:jn,history:Lr,params:xn,route:Ut,routes:fn},mt.hasChildren&&ot.createElement(yr.j3,null)))}function Va(mt){var dt=mt.loader;return ot.createElement(ot.Suspense,{fallback:ot.createElement(mt.loadingComponent,null)},ot.createElement(dt,null))}var La=null;function Ia(){return La}function Da(mt){var dt=mt.history,Ut=ot.useState({action:dt.action,location:dt.location}),mr=Tt(Ut,2),Lr=mr[0],fn=mr[1];return(0,ot.useLayoutEffect)(function(){return dt.listen(fn)},[dt]),(0,ot.useLayoutEffect)(function(){function xn(jn){mt.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:mt.routes,clientRoutes:mt.clientRoutes,location:jn.location,action:jn.action,basename:mt.basename,isFirst:!!jn.isFirst}})}return xn({location:Lr.location,action:Lr.action,isFirst:!0}),dt.listen(xn)},[dt,mt.routes,mt.clientRoutes]),ot.createElement(yr.F0,{navigator:dt,location:Lr.location,basename:mt.basename},mt.children)}function qo(){var mt=(0,Ir.Ov)(),dt=mt.clientRoutes;return(0,yr.V$)(dt)}var bi=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],xi=function(dt,Ut){var mr=dt.basename||"/",Lr=Jn({routesById:dt.routes,routeComponents:dt.routeComponents,loadingComponent:dt.loadingComponent,reactRouter5Compat:dt.reactRouter5Compat});dt.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Lr}});for(var fn=ot.createElement(Da,{basename:mr,pluginManager:dt.pluginManager,routes:dt.routes,clientRoutes:Lr,history:dt.history},Ut),xn=0,jn=bi;xn1&&location.pathname.endsWith("/")&&history.replaceState({},"",location.pathname.slice(0,-1)+location.search+location.hash),function(){var mt=typeof navigator!="undefined"&&navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&localStorage.getItem("dumi:prefers-color")||"light",dt=window.matchMedia("(prefers-color-scheme: dark)").matches,Ut=["light","dark","auto"];document.documentElement.setAttribute("data-prefers-color",mt===Ut[2]?dt?Ut[1]:Ut[0]:Ut.indexOf(mt)>-1?mt:Ut[0])}(),_a(),window.g_umi={version:"4.0.89"},(0,C.rl)((0,hr.We)())})()})(); diff --git a/~demos/:id/index.html b/~demos/:id/index.html index 99f36cb..9962ffe 100644 --- a/~demos/:id/index.html +++ b/~demos/:id/index.html @@ -26,6 +26,6 @@
- + \ No newline at end of file diff --git a/~demos/docs-demo-components/index.html b/~demos/docs-demo-components/index.html index 99f36cb..9962ffe 100644 --- a/~demos/docs-demo-components/index.html +++ b/~demos/docs-demo-components/index.html @@ -26,6 +26,6 @@
- + \ No newline at end of file diff --git a/~demos/docs-docs-demo-docs/index.html b/~demos/docs-docs-demo-docs/index.html index 99f36cb..9962ffe 100644 --- a/~demos/docs-docs-demo-docs/index.html +++ b/~demos/docs-docs-demo-docs/index.html @@ -26,6 +26,6 @@
- + \ No newline at end of file