@macallumharvey/first-test-wet 2.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/WetButton.d.ts +1 -1
- package/dist/first-test-wet.cjs.development.js +5 -0
- package/dist/first-test-wet.cjs.development.js.map +1 -1
- package/dist/first-test-wet.cjs.production.min.js +1 -1
- package/dist/first-test-wet.cjs.production.min.js.map +1 -1
- package/dist/first-test-wet.esm.js +5 -1
- package/dist/first-test-wet.esm.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/WetButton.tsx +1 -1
- package/src/WetModal.tsx +1 -0
- package/src/index.tsx +1 -0
- package/src/theme-wet-boew/assets/favicon-mobile.png +0 -0
- package/src/theme-wet-boew/assets/favicon.ico +0 -0
- package/src/theme-wet-boew/assets/logo.png +0 -0
- package/src/theme-wet-boew/assets/logo.svg +14 -0
- package/src/theme-wet-boew/css/ie8-theme.css +17370 -0
- package/src/theme-wet-boew/css/ie8-theme.min.css +193 -0
- package/src/{wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.js → theme-wet-boew/css/ie8-wet-boew.css} +12 -10
- package/src/{wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js → theme-wet-boew/css/ie8-wet-boew.min.css} +7 -7
- package/src/theme-wet-boew/css/theme.css +11357 -0
- package/src/theme-wet-boew/css/theme.min.css +6 -0
- package/src/{wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.js → theme-wet-boew/css/wet-boew.css} +12 -10
- package/src/{wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js → theme-wet-boew/css/wet-boew.min.css} +6 -7
- package/src/theme-wet-boew/payload.json +66 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/mediacontrols.html +32 -33
- package/src/wet-boew/assets/sprites_share.png +0 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/noscript.css +112 -112
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/noscript.min.css +5 -5
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/datalist.css +32 -32
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/datepicker.css +47 -47
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/details.css +28 -28
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/mathml.css +16 -16
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/meter.css +24 -24
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/progress.css +8 -8
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/slider.css +229 -229
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.svg +287 -287
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/additional-methods.js +1511 -1511
- package/src/wet-boew/js/deps/additional-methods.min.js +9 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/geomap-lib.js +3758 -3770
- package/src/wet-boew/js/deps/geomap-lib.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.dataTables.js +15345 -15733
- package/src/wet-boew/js/deps/jquery.dataTables.min.js +4 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.flot.canvas.js +345 -345
- package/src/wet-boew/js/deps/jquery.flot.canvas.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.flot.js +3168 -3168
- package/src/wet-boew/js/deps/jquery.flot.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.flot.orderBars.js +282 -282
- package/src/wet-boew/js/deps/jquery.flot.orderBars.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.flot.pie.js +820 -820
- package/src/wet-boew/js/deps/jquery.flot.pie.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.magnific-popup.js +2060 -2060
- package/src/wet-boew/js/deps/jquery.magnific-popup.min.js +4 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.validate.js +1660 -1660
- package/src/wet-boew/js/deps/jquery.validate.min.js +9 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/json-patch.js +314 -314
- package/src/wet-boew/js/deps/json-patch.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jsonpointer.js +349 -349
- package/src/wet-boew/js/deps/jsonpointer.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-apollo.js +53 -53
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-basic.js +49 -49
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-clj.js +64 -64
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-css.js +160 -160
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-dart.js +92 -92
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-erlang.js +94 -94
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-go.js +59 -59
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-hs.js +102 -102
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lasso.js +67 -67
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lisp.js +95 -95
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-llvm.js +63 -63
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-logtalk.js +50 -50
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lua.js +60 -60
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-matlab.js +183 -183
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-matlab.min.js +1 -1
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-ml.js +57 -57
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-mumps.js +140 -140
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-n.js +67 -67
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-pascal.js +49 -49
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-proto.js +37 -37
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-r.js +59 -59
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-rd.js +50 -50
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-rust.js +81 -81
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-scala.js +56 -56
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-sql.js +59 -59
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-swift.js +60 -60
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-tcl.js +63 -63
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-tex.js +49 -49
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-vb.js +67 -67
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-vhdl.js +51 -51
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-wiki.js +55 -55
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-xq.js +71 -71
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-yaml.js +45 -45
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/ol.js +1008 -1008
- package/src/wet-boew/js/deps/ol.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/prettify.js +1742 -1742
- package/src/wet-boew/js/deps/prettify.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/proj4.js +2 -2
- package/src/wet-boew/js/deps/proj4.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/run_prettify.js +1998 -1998
- package/src/wet-boew/js/deps/run_prettify.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/tableparser.js +2216 -2216
- package/src/wet-boew/js/deps/tableparser.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/unorm.js +452 -452
- package/src/wet-boew/js/deps/unorm.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/af.js +246 -254
- package/src/wet-boew/js/i18n/af.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/ar.js +284 -292
- package/src/wet-boew/js/i18n/ar.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/bg.js +284 -292
- package/src/wet-boew/js/i18n/bg.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/cs.js +285 -293
- package/src/wet-boew/js/i18n/cs.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/de.js +354 -362
- package/src/wet-boew/js/i18n/de.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/el.js +284 -292
- package/src/wet-boew/js/i18n/el.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/en.js +246 -254
- package/src/wet-boew/js/i18n/en.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/es.js +287 -295
- package/src/wet-boew/js/i18n/es.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/et.js +282 -290
- package/src/wet-boew/js/i18n/et.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/fr.js +313 -321
- package/src/wet-boew/js/i18n/fr.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/hi.js +246 -254
- package/src/wet-boew/js/i18n/hi.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/hu.js +284 -292
- package/src/wet-boew/js/i18n/hu.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/hy.js +246 -254
- package/src/wet-boew/js/i18n/hy.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/id.js +283 -291
- package/src/wet-boew/js/i18n/id.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/is.js +282 -290
- package/src/wet-boew/js/i18n/is.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/it.js +311 -319
- package/src/wet-boew/js/i18n/it.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/iu.js +246 -254
- package/src/wet-boew/js/i18n/iu.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/ja.js +285 -293
- package/src/wet-boew/js/i18n/ja.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/ko.js +284 -292
- package/src/wet-boew/js/i18n/ko.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/lt.js +284 -292
- package/src/wet-boew/js/i18n/lt.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/lv.js +284 -292
- package/src/wet-boew/js/i18n/lv.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/nl.js +318 -326
- package/src/wet-boew/js/i18n/nl.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/pl.js +287 -295
- package/src/wet-boew/js/i18n/pl.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/pt-BR.js +246 -254
- package/src/wet-boew/js/i18n/pt-BR.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/pt.js +270 -278
- package/src/wet-boew/js/i18n/pt.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/ru.js +284 -292
- package/src/wet-boew/js/i18n/ru.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/sk.js +282 -290
- package/src/wet-boew/js/i18n/sk.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/sq.js +246 -254
- package/src/wet-boew/js/i18n/sq.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/th.js +284 -292
- package/src/wet-boew/js/i18n/th.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/tr.js +286 -294
- package/src/wet-boew/js/i18n/tr.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/uk.js +284 -292
- package/src/wet-boew/js/i18n/uk.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/vi.js +284 -292
- package/src/wet-boew/js/i18n/vi.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/zh-Hans.js +246 -254
- package/src/wet-boew/js/i18n/zh-Hans.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/zh.js +285 -293
- package/src/wet-boew/js/i18n/zh.min.js +7 -0
- package/src/wet-boew/js/ie8-wet-boew.js +3992 -0
- package/src/wet-boew/js/ie8-wet-boew.min.js +7 -0
- package/src/wet-boew/js/ie8-wet-boew2.js +15294 -0
- package/src/wet-boew/js/ie8-wet-boew2.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/jquery/2.2.4/jquery.js +9814 -9814
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/jquery/2.2.4/jquery.min.js +4 -4
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/datalist.js +423 -419
- package/src/wet-boew/js/polyfills/datalist.min.js +8 -0
- package/src/wet-boew/js/polyfills/datalist.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/datalist_dynamic.js +50 -50
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/datalist_dynamic.min.js +7 -7
- package/src/wet-boew/js/polyfills/datalist_dynamic.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/datepicker.js +338 -338
- package/src/wet-boew/js/polyfills/datepicker.min.js +8 -0
- package/src/wet-boew/js/polyfills/datepicker.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/details.js +126 -126
- package/src/wet-boew/js/polyfills/details.min.js +8 -0
- package/src/wet-boew/js/polyfills/details.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/jawsariafixes.js +47 -47
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/jawsariafixes.min.js +15 -15
- package/src/wet-boew/js/polyfills/jawsariafixes.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/meter.js +140 -140
- package/src/wet-boew/js/polyfills/meter.min.js +8 -0
- package/src/wet-boew/js/polyfills/meter.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/mobile.js +783 -784
- package/src/wet-boew/js/polyfills/mobile.min.js +8 -0
- package/src/wet-boew/js/polyfills/mobile.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/progress.js +107 -107
- package/src/wet-boew/js/polyfills/progress.min.js +8 -0
- package/src/wet-boew/js/polyfills/progress.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/slider.js +1343 -1343
- package/src/wet-boew/js/polyfills/slider.min.js +9 -0
- package/src/wet-boew/js/polyfills/slider.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/slider_wrapper.js +73 -73
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/slider_wrapper.min.js +7 -7
- package/src/wet-boew/js/polyfills/slider_wrapper.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/svg.js +29 -29
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/svg.min.js +7 -7
- package/src/wet-boew/js/polyfills/svg.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/test.js +603 -603
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/test.min.js +7 -7
- package/src/wet-boew/js/polyfills/test.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/wet-boew.js +17714 -20264
- package/src/wet-boew/js/wet-boew.min.js +9 -0
- package/src/wet-boew/js/wet-boew.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/payload.json +1721 -1721
- package/src/wet-boew-cdn-4.0.81.1/Licence-fr.txt +0 -1
- package/src/wet-boew-cdn-4.0.81.1/License-en.txt +0 -1
- package/src/wet-boew-cdn-4.0.81.1/assets/sprites_share.png +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/additional-methods.min.js +0 -9
- package/src/wet-boew-cdn-4.0.81.1/js/deps/geomap-lib.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.dataTables.min.js +0 -4
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.canvas.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.orderBars.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.pie.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.magnific-popup.min.js +0 -4
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.validate.min.js +0 -9
- package/src/wet-boew-cdn-4.0.81.1/js/deps/json-patch.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jsonpointer.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/ol.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/prettify.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/proj4.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/run_prettify.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/tableparser.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/unorm.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/af.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ar.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/bg.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/cs.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/de.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/el.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/en.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/es.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/et.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/fr.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/hi.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/hu.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/hy.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/id.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/is.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/it.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/iu.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ja.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ko.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/lt.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/lv.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/nl.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/pl.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt-BR.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ru.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/sk.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/sq.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/th.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/tr.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/uk.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/vi.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh-Hans.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js +0 -8
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js +0 -8
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js +0 -8
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js +0 -8
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js +0 -8
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js +0 -8
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js +0 -9
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js +0 -9
- package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/package.json +0 -15
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/cloud-popup-relative.png +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/fd-slider-sprite.png +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/loading.png +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/zoom-minus-mini.png +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/zoom-plus-mini.png +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/zoom-world-mini.png +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/datalist.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/datepicker.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/details.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/mathml.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/meter.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/progress.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/slider.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.eot +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.ttf +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.woff2 +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/mml-chtml.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-apollo.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-basic.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-clj.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-css.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-dart.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-erlang.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-go.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-hs.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lasso.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lisp.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-llvm.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-logtalk.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lua.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-ml.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-mumps.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-n.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-pascal.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-proto.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-r.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-rd.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-rust.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-scala.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-sql.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-swift.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-tcl.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-tex.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-vb.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-vhdl.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-wiki.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-xq.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-yaml.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/jquery/2.2.4/jquery.min.map +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
!function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define([],e):t.ol=e()}(this,function(){var e,o,n={},s=this;function t(t,e){var o,i=t.split("."),r=n||s;i[0]in r||!r.execScript||r.execScript("var "+i[0]);for(;i.length&&(o=i.shift());)i.length||void 0===e?r=r[o]||(r[o]={}):r[o]=e}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t}function p(){}function B(t){return t.ao||(t.ao=++r)}var r=0;function a(t){this.message="Assertion failed. See https://openlayers.org/en/v3.20.1/doc/errors/#"+t+" for details.",this.code=t,this.name="AssertionError"}function O(t,e){if(!t)throw new a(e)}function v(t,e,o){return Math.min(Math.max(t,e),o)}i(a,Error);var h="cosh"in Math?Math.cosh:function(t){return((t=Math.exp(t))+1/t)/2};function m(t,e,o,i,r,n){var s,p=r-o,a=n-i;return 0==p&&0==a||(1<(s=((t-o)*p+(e-i)*a)/(p*p+a*a))?(o=r,i=n):0<s&&(o+=p*s,i+=a*s)),f(t,e,o,i)}function f(t,e,o,i){return(t=o-t)*t+(e=i-e)*e}function d(t){return t*Math.PI/180}function j(t,e){t%=e;return t*e<0?t+e:t}function y(t,e,o){return t+o*(e-t)}function b(t){return t}function w(t,e,o){this.center=t,this.resolution=e,this.rotation=o}var L="function"==typeof Object.assign?Object.assign:function(t,e){if(!t||!t)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(t),i=1,r=arguments.length;i<r;++i){var n=arguments[i];if(null!=n)for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s])}return o};function l(t){for(var e in t)delete t[e]}function x(t){var e,o=[];for(e in t)o.push(t[e]);return o}function U(t){for(var e in t)return!1;return!e}function u(i){return i.yg=function(t){var e=i.listener,o=i.xg||i.target;return i.zg&&E(i),e.call(o,t)}}function c(t,e,o,i){for(var r,n=0,s=t.length;n<s;++n)if((r=t[n]).listener===e&&r.xg===o)return i&&(r.deleteIndex=n),r}function g(t,e){t=t.eb;return t?t[e]:void 0}function S(t){return t.eb||(t.eb={})}function M(t,e){var o=g(t,e);if(o){for(var i=0,r=o.length;i<r;++i)t.removeEventListener(e,o[i].yg),l(o[i]);o.length=0,(o=t.eb)&&(delete o[e],0===Object.keys(o).length&&delete t.eb)}}function P(t,e,o,i,r){var n=S(t),s=n[e];return(n=c(s=s||(n[e]=[]),o,i,!1))?r||(n.zg=!1):(n={xg:i,zg:!!r,listener:o,target:t,type:e},t.addEventListener(e,u(n)),s.push(n)),n}function T(t,e,o,i){return P(t,e,o,i,!0)}function A(t,e,o,i){(t=g(t,e))&&(o=c(t,o,i,!0))&&E(o)}function E(t){var e,o;t&&t.target&&(t.target.removeEventListener(t.type,t.yg),(e=g(t.target,t.type))&&(-1!==(o="deleteIndex"in t?t.deleteIndex:e.indexOf(t))&&e.splice(o,1),0===e.length&&M(t.target,t.type)),l(t))}function C(t){for(var e in S(t))M(t,e)}function R(){}function N(t){t.zb||(t.zb=!0,t.oa())}function I(t){this.type=t,this.target=null}function F(t){t.stopPropagation()}function k(){this.Qa={},this.va={},this.ra={}}function D(t,e){return e?e in t.ra:0<Object.keys(t.ra).length}function G(){k.call(this),this.g=0}function K(t){if(Array.isArray(t))for(var e=0,o=t.length;e<o;++e)E(t[e]);else E(t)}function X(t){G.call(this),B(this),this.H={},void 0!==t&&this.I(t)}R.prototype.zb=!1,R.prototype.oa=p,I.prototype.preventDefault=I.prototype.stopPropagation=function(){this.xo=!0},i(k,R),k.prototype.addEventListener=function(t,e){var o=this.ra[t];-1===(o=o||(this.ra[t]=[])).indexOf(e)&&o.push(e)},k.prototype.b=function(t){var e="string"==typeof t?new I(t):t;t=e.type;var o,i=(e.target=this).ra[t];if(i){t in this.va||(this.va[t]=0,this.Qa[t]=0),++this.va[t];for(var r=0,n=i.length;r<n;++r)if(!1===i[r].call(this,e)||e.xo){o=!1;break}if(--this.va[t],0===this.va[t]){for(e=this.Qa[t],delete this.Qa[t];e--;)this.removeEventListener(t,p);delete this.va[t]}return o}},k.prototype.oa=function(){C(this)},k.prototype.removeEventListener=function(t,e){var o=this.ra[t];o&&(e=o.indexOf(e),t in this.Qa?(o[e]=p,++this.Qa[t]):(o.splice(e,1),0===o.length&&delete this.ra[t]))},i(G,k),(Ey=G.prototype).s=function(){++this.g,this.b("change")},Ey.M=function(){return this.g},Ey.J=function(t,e,o){if(Array.isArray(t)){for(var i=t.length,r=Array(i),n=0;n<i;++n)r[n]=P(this,t[n],e,o);return r}return P(this,t,e,o)},Ey.N=function(t,e,o){if(Array.isArray(t)){for(var i=t.length,r=Array(i),n=0;n<i;++n)r[n]=T(this,t[n],e,o);return r}return T(this,t,e,o)},Ey.K=function(t,e,o){if(Array.isArray(t))for(var i=0,r=t.length;i<r;++i)A(this,t[i],e,o);else A(this,t,e,o)},Ey.O=K,i(X,G);var V={};function W(t){return V.hasOwnProperty(t)?V[t]:V[t]="change:"+t}function z(t,e,o){var i=W(e);t.b(new Y(i,e,o)),i=H,t.b(new Y(i,e,o))}(Ey=X.prototype).get=function(t){var e;return this.H.hasOwnProperty(t)&&(e=this.H[t]),e},Ey.S=function(){return Object.keys(this.H)},Ey.R=function(){return L({},this.H)},Ey.set=function(t,e,o){o?this.H[t]=e:(o=this.H[t])!==(this.H[t]=e)&&z(this,t,o)},Ey.I=function(t,e){for(var o in t)this.set(o,t[o],e)},Ey.T=function(t,e){var o;t in this.H&&(o=this.H[t],delete this.H[t],e||z(this,t,o))};var H="propertychange";function Y(t,e,o){I.call(this,t),this.key=e,this.oldValue=o}function Z(t,e){return e<t?1:t<e?-1:0}function q(t,e){return 0<=t.indexOf(e)}function J(t,e,o){var i=t.length;if(t[0]<=e)return 0;if(!(e<=t[i-1]))if(0<o){for(o=1;o<i;++o)if(t[o]<e)return o-1}else if(o<0){for(o=1;o<i;++o)if(t[o]<=e)return o}else for(o=1;o<i;++o){if(t[o]==e)return o;if(t[o]<e)return t[o-1]-e<e-t[o]?o-1:o}return i-1}function _(t,e){for(var o=Array.isArray(e)?e:[e],i=o.length,r=0;r<i;r++)t[t.length]=o[r]}function $(t,e){for(var o,i=t.length>>>0,r=0;r<i;r++)if(e(o=t[r],r,t))return o;return null}function Q(t,e){var o=t.length;if(o===e.length){for(var i=0;i<o;i++)if(t[i]!==e[i])return;return 1}}function tt(t){for(var o=Ps,e=t.length,i=Array(t.length),r=0;r<e;r++)i[r]={index:r,value:t[r]};for(i.sort(function(t,e){return o(t.value,e.value)||t.index-e.index}),r=0;r<t.length;r++)t[r]=i[r].value}function et(o,i){var r;return o.every(function(t,e){return!i(t,r=e,o)})?-1:r}function ot(t){if(void 0!==t)return 0}function it(t,e){if(void 0!==t)return t+e}function rt(t,e){e=void 0!==e?t.toFixed(e):""+t,t=e.indexOf(".");return 2<(t=-1===t?e.length:t)?e:Array(3-t).join("0")+e}function nt(t){t=(""+t).split(".");for(var e=["1","3"],o=0;o<Math.max(t.length,e.length);o++){var i=parseInt(t[o]||"0",10),r=parseInt(e[o]||"0",10);if(r<i)return 1;if(i<r)return-1}return 0}function st(t,e){return t[0]+=e[0],t[1]+=e[1],t}function pt(t,e){var o=t[0],i=t[1],r=e[0],n=e[1],s=r[0],r=r[1],p=n[0],t=p-s,e=(n=n[1])-r;return(o=0==t&&0==e?0:(t*(o-s)+e*(i-r))/(t*t+e*e||0))<=0||(1<=o?(s=p,r=n):(s+=o*t,r+=o*e)),[s,r]}function at(t,e,o){t=j(t+180,360)-180;var i=Math.abs(3600*t);return Math.floor(i/3600)+"° "+rt(Math.floor(i/60%60))+"′ "+rt(i%60,o||0)+"″ "+e.charAt(t<0?1:0)}function ht(t,e,o){return t?e.replace("{x}",t[0].toFixed(o)).replace("{y}",t[1].toFixed(o)):""}function lt(t,e){for(var o=!0,i=t.length-1;0<=i;--i)if(t[i]!=e[i]){o=!1;break}return o}function ut(t,e){var o=Math.cos(e),i=Math.sin(e),e=t[1]*o+t[0]*i;return t[0]=t[0]*o-t[1]*i,t[1]=e,t}function ct(t,e){t[0]*=e,t[1]*=e}function yt(t,e){var o=t[0]-e[0],e=t[1]-e[1];return o*o+e*e}function ft(t,e){return yt(t,pt(t,e))}function gt(t,e){return ht(t,"{x}, {y}",e)}function dt(t){return Math.pow(t,3)}function vt(t){return 1-dt(1-t)}function bt(t){return 3*t*t-2*t*t*t}function mt(t){return t}function wt(t){return t<.5?bt(2*t):1-bt(2*(t-.5))}function xt(t){for(var e=jt(),o=0,i=t.length;o<i;++o)kt(e,t[o]);return e}function St(t,e,o){return o?(o[0]=t[0]-e,o[1]=t[1]-e,o[2]=t[2]+e,o[3]=t[3]+e,o):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function Mt(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function Pt(t,e,o){return(e=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*e+(t=o<t[1]?t[1]-o:t[3]<o?o-t[3]:0)*t}function Tt(t,e){return Et(t,e[0],e[1])}function At(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function Et(t,e,o){return t[0]<=e&&e<=t[2]&&t[1]<=o&&o<=t[3]}function Ct(t,e){var o=t[1],i=t[2],r=t[3],n=e[0],s=e[1],e=0;return n<t[0]?e|=16:i<n&&(e|=4),s<o?e|=8:r<s&&(e|=2),0===e&&(e=1),e}function jt(){return[1/0,1/0,-1/0,-1/0]}function Lt(t,e,o,i,r){return r?(r[0]=t,r[1]=e,r[2]=o,r[3]=i,r):[t,e,o,i]}function Rt(t,e){var o=t[0],t=t[1];return Lt(o,t,o,t,e)}function Nt(t,e,o,i,r){return Ot(r=Lt(1/0,1/0,-1/0,-1/0,r),t,e,o,i)}function It(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function Ft(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function kt(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function Ot(t,e,o,i,r){for(;o<i;o+=r){var n=t,s=e[o],p=e[o+1];n[0]=Math.min(n[0],s),n[1]=Math.min(n[1],p),n[2]=Math.max(n[2],s),n[3]=Math.max(n[3],p)}return t}function Dt(t,e,o){var i;return((i=e.call(o,Ut(t)))||(i=e.call(o,Gt(t)))||(i=e.call(o,Ht(t)))||!!(i=e.call(o,zt(t))))&&i}function Bt(t){var e=0;return qt(t)||(e=Yt(t)*Vt(t)),e}function Ut(t){return[t[0],t[1]]}function Gt(t){return[t[2],t[1]]}function Kt(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function Xt(t,e,o,i,r){var n=e*i[0]/2;i=e*i[1]/2,e=Math.cos(o);var s=Math.sin(o);o=n*e,n*=s,e*=i;var p=i*s,a=t[0],h=t[1];t=a-o+p,i=a-o-p,s=a+o-p,o=a+o+p;var p=h-n-e,a=h-n+e,l=h+n+e,n=h+n-e;return Lt(Math.min(t,i,s,o),Math.min(p,a,l,n),Math.max(t,i,s,o),Math.max(p,a,l,n),r)}function Vt(t){return t[3]-t[1]}function Wt(t,e,o){return o=o||jt(),Zt(t,e)&&(o[0]=(t[0]>e[0]?t:e)[0],o[1]=(t[1]>e[1]?t:e)[1],o[2]=(t[2]<e[2]?t:e)[2],o[3]=(t[3]<e[3]?t:e)[3]),o}function zt(t){return[t[0],t[3]]}function Ht(t){return[t[2],t[3]]}function Yt(t){return t[2]-t[0]}function Zt(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function qt(t){return t[2]<t[0]||t[3]<t[1]}function Jt(t,e){var o=(t[2]-t[0])/2*(e-1),e=(t[3]-t[1])/2*(e-1);t[0]-=o,t[2]+=o,t[1]-=e,t[3]+=e}function _t(t,e,o){e(t=[t[0],t[1],t[0],t[3],t[2],t[1],t[2],t[3]],t,2);var i=[t[0],t[2],t[4],t[6]],r=[t[1],t[3],t[5],t[7]];return Lt(e=Math.min.apply(null,i),t=Math.min.apply(null,r),Math.max.apply(null,i),Math.max.apply(null,r),o)}function $t(){return!0}function Qt(){return!1}function te(t){this.radius=t}i(Y,I),te.prototype.a=function(t){for(var e=0,o=t.length,i=t[o-1][0],r=t[o-1][1],n=0;n<o;n++)var s=t[n][0],p=t[n][1],e=e+d(s-i)*(2+Math.sin(d(r))+Math.sin(d(p))),i=s,r=p;return e*this.radius*this.radius/2},te.prototype.b=function(t,e){var o=d(t[1]),i=d(e[1]),r=(i-o)/2,t=d(e[0]-t[0])/2,o=Math.sin(r)*Math.sin(r)+Math.sin(t)*Math.sin(t)*Math.cos(o)*Math.cos(i);return 2*this.radius*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))},te.prototype.offset=function(t,e,o){var i=d(t[1]);e/=this.radius;var r=Math.asin(Math.sin(i)*Math.cos(e)+Math.cos(i)*Math.sin(e)*Math.cos(o));return[180*(d(t[0])+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(i),Math.cos(e)-Math.sin(i)*Math.sin(r)))/Math.PI,180*r/Math.PI]};var ee=new te(6370997),oe={};oe.degrees=2*Math.PI*ee.radius/360,oe.ft=.3048,oe.m=1,oe["us-ft"]=1200/3937;var ie=null;function re(t){this.hb=t.code,this.c=t.units,this.f=void 0!==t.extent?t.extent:null,this.i=void 0!==t.worldExtent?t.worldExtent:null,this.b=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.g=void 0!==t.global&&t.global,this.a=!(!this.g||!this.f),this.l=t.getPointResolution,this.j=null,this.o=t.metersPerUnit;var e=t.code,o=ie||window.proj4;"function"!=typeof o||void 0!==(e=o.defs(e))&&(void 0!==e.axis&&void 0===t.axisOrientation&&(this.b=e.axis),void 0===t.metersPerUnit&&(this.o=e.to_meter),void 0===t.units&&(this.c=e.units))}(Ey=re.prototype).Zj=function(){return this.hb},Ey.G=function(){return this.f},Ey.Eb=function(){return this.c},Ey.ic=function(){return this.o||oe[this.c]},Ey.Jk=function(){return this.i},Ey.rl=function(){return this.g},Ey.hp=function(t){this.g=t,this.a=!(!t||!this.f)},Ey.Sm=function(t){this.f=t,this.a=!(!this.g||!t)},Ey.op=function(t){this.i=t},Ey.gp=function(t){this.l=t};var ne={},se={};function pe(t,e,o){t=t.hb,e=e.hb,t in se||(se[t]={}),se[t][e]=o}function ae(t,e){var o;return t in se&&e in se[t]&&(o=se[t][e]),o}function he(t,e,o){var i=t.l;return i?e=i(e,o):"degrees"!=t.Eb()&&(e=(i=be(t,ge("EPSG:4326")))(e=[o[0]-e/2,o[1],o[0]+e/2,o[1],o[0],o[1]-e/2,o[0],o[1]+e/2],e,2),e=(ee.b(e.slice(0,2),e.slice(2,4))+ee.b(e.slice(4,6),e.slice(6,8)))/2,void 0!==(t=t.ic())&&(e/=t)),e}function le(t){var e;e=[],t.forEach(function(t){e.push(ue(t))}),t.forEach(function(e){t.forEach(function(t){e!==t&&pe(e,t,we)})})}function ue(t){pe(ne[t.hb]=t,t,we)}function ce(t){return t?"string"==typeof t?ge(t):t:ge("EPSG:3857")}function ye(t,e,o,i){pe(t=ge(t),e=ge(e),fe(o)),pe(e,t,fe(i))}function fe(s){return function(t,e,o){var i,r,n=t.length;for(o=void 0!==o?o:2,e=void 0!==e?e:Array(n),r=0;r<n;r+=o)for(i=s([t[r],t[r+1]]),e[r]=i[0],e[r+1]=i[1],i=o-1;2<=i;--i)e[r+i]=t[r+i];return e}}function ge(t){var e,o=null;return t instanceof re?o=t:"string"==typeof t&&(o=ne[t]||null,e=ie||window.proj4,o||"function"!=typeof e||void 0===e.defs(t)||ue(o=new re({code:t}))),o}function de(t,e){if(t===e)return!0;var o=t.Eb()===e.Eb();return(t.hb===e.hb||be(t,e)===we)&&o}function ve(t,e){return be(ge(t),ge(e))}function be(t,e){var o,i,r,n=t.hb,s=e.hb,p=ae(n,s);return p||"function"==typeof(o=ie||window.proj4)&&(i=o.defs(n),r=o.defs(s),void 0!==i&&void 0!==r&&(i===r?le([e,t]):ye(e,t,(p=o(s,n)).forward,p.inverse),p=ae(n,s))),p=p||me}function me(t,e){if(void 0!==e&&t!==e){for(var o=0,i=t.length;o<i;++o)e[o]=t[o];t=e}return t}function we(t,e){var o;if(void 0!==e){o=0;for(var i=t.length;o<i;++o)e[o]=t[o];o=e}else o=t.slice();return o}function xe(t,e,o){return ve(e,o)(t,void 0,t.length)}function Se(t,e,o){return _t(t,e=ve(e,o))}function Me(){X.call(this),this.v=jt(),this.u=-1,this.i={},this.o=this.j=0}function Pe(t,e,o,i,r,n){for(var s=n||[],p=0;e<o;e+=i){var a=t[e],h=t[e+1];s[p++]=r[0]*a+r[2]*h+r[4],s[p++]=r[1]*a+r[3]*h+r[5]}return n&&s.length!=p&&(s.length=p),s}function Te(t,e,o,i,r,n){for(var s,p=n||[],a=0,h=0;h<e;h+=o)for(p[a++]=t[h]+i,p[a++]=t[h+1]+r,s=h+2;s<h+o;++s)p[a++]=t[s];return n&&p.length!=a&&(p.length=a),p}function Ae(){Me.call(this),this.ka="XY",this.a=2,this.B=null}function Ee(t){var e;return"XY"==t?e=2:"XYZ"==t||"XYM"==t?e=3:"XYZM"==t&&(e=4),e}function Ce(t,e,o){t.a=Ee(e),t.ka=e,t.B=o}function je(t,e,o,i){if(e)o=Ee(e);else{for(e=0;e<i;++e){if(0===o.length)return t.ka="XY",void(t.a=2);o=o[0]}var r;2==(o=o.length)?r="XY":3==o?r="XYZ":4==o&&(r="XYZM"),e=r}t.ka=e,t.a=o}function Le(t,e,o,i){for(var r=0,n=t[o-i],s=t[o-i+1];e<o;e+=i)var p=t[e],a=t[e+1],r=r+(s*p-n*a),n=p,s=a;return r/2}function Re(t,e,o,i){for(var r=0,n=0,s=o.length;n<s;++n){var p=o[n],r=r+Le(t,e,p,i);e=p}return r}function Ne(t,e,o,i,r,n,s){var p=t[e],a=t[e+1],h=t[o]-p,l=t[o+1]-a;if(0!=h||0!=l)if(1<(n=((r-p)*h+(n-a)*l)/(h*h+l*l)))e=o;else if(0<n){for(r=0;r<i;++r)s[r]=y(t[e+r],t[o+r],n);return void(s.length=i)}for(r=0;r<i;++r)s[r]=t[e+r];s.length=i}function Ie(t,e,o,i,r){var n=t[e],s=t[e+1];for(e+=i;e<o;e+=i){var p=t[e],a=t[e+1];r<(n=f(n,s,p,a))&&(r=n),n=p,s=a}return r}function Fe(t,e,o,i,r){for(var n=0,s=o.length;n<s;++n){var p=o[n];r=Ie(t,e,p,i,r),e=p}return r}function ke(t,e,o,i,r,n,s,p,a,h,l){if(e==o)return h;var u;if(0===r){if((u=f(s,p,t[e],t[e+1]))<h){for(l=0;l<i;++l)a[l]=t[e+l];return a.length=i,u}return h}for(var c=l||[NaN,NaN],y=e+i;y<o;)if(Ne(t,y-i,y,i,s,p,c),(u=f(s,p,c[0],c[1]))<h){for(h=u,l=0;l<i;++l)a[l]=c[l];y+=a.length=i}else y+=i*Math.max((Math.sqrt(u)-Math.sqrt(h))/r|0,1);if(n&&(Ne(t,o-i,e,i,s,p,c),(u=f(s,p,c[0],c[1]))<h)){for(h=u,l=0;l<i;++l)a[l]=c[l];a.length=i}return h}function Oe(t,e,o,i,r,n,s,p,a,h,l){var u,c;for(l=l||[NaN,NaN],u=0,c=o.length;u<c;++u){var y=o[u];h=ke(t,e,y,i,r,n,s,p,a,h,l),e=y}return h}function De(t,e){for(var o=0,i=0,r=e.length;i<r;++i)t[o++]=e[i];return o}function Be(t,e,o,i){for(var r=0,n=o.length;r<n;++r)for(var s=o[r],p=0;p<i;++p)t[e++]=s[p];return e}function Ue(t,e,o,i,r){r=r||[];for(var n=0,s=0,p=o.length;s<p;++s)e=Be(t,e,o[s],i),r[n++]=e;return r.length=n,r}function Ge(t,e,o,i,r){r=void 0!==r?r:[];for(var n=0;e<o;e+=i)r[n++]=t.slice(e,e+i);return r.length=n,r}function Ke(t,e,o,i,r){r=void 0!==r?r:[];for(var n=0,s=0,p=o.length;s<p;++s){var a=o[s];r[n++]=Ge(t,e,a,i,r[n]),e=a}return r.length=n,r}function Xe(t,e,o,i,r,n,s){var p=(o-e)/i;if(p<3){for(;e<o;e+=i)n[s++]=t[e],n[s++]=t[e+1];return s}var a=Array(p);a[0]=1,a[p-1]=1,o=[e,o-i];for(var h=0;0<o.length;){for(var l=o.pop(),u=o.pop(),c=0,y=t[u],f=t[u+1],g=t[l],d=t[l+1],v=u+i;v<l;v+=i){var b=m(t[v],t[v+1],y,f,g,d);c<b&&(h=v,c=b)}r<c&&(a[(h-e)/i]=1,u+i<h&&o.push(u,h),h+i<l&&o.push(h,l))}for(v=0;v<p;++v)a[v]&&(n[s++]=t[e+v*i],n[s++]=t[e+v*i+1]);return s}function Ve(t,e,o,i,r,n,s,p){for(var a=0,h=o.length;a<h;++a){var l=o[a];t:{var u=t,c=l,y=i,f=r,g=n;if(e!=c){var d,v,b=f*Math.round(u[e]/f),m=f*Math.round(u[e+1]/f);e+=y,g[s++]=b,g[s++]=m;do{if(d=f*Math.round(u[e]/f),v=f*Math.round(u[e+1]/f),(e+=y)==c){g[s++]=d,g[s++]=v;break t}}while(d==b&&v==m);for(;e<c;){var w,x,S,M,P=f*Math.round(u[e]/f),T=f*Math.round(u[e+1]/f);e+=y,P==d&&T==v||((w=d-b)*(M=T-m)==(x=v-m)*(S=P-b)&&(w<0&&S<w||w==S||0<w&&w<S)&&(x<0&&M<x||x==M||0<x&&x<M)||(b=g[s++]=d,m=g[s++]=v),d=P,v=T)}g[s++]=d,g[s++]=v}}p.push(s),e=l}return s}function We(t,e){Ae.call(this),this.c=this.l=-1,this.qa(t,e)}function ze(t,e,o){Ce(t,e,o),t.s()}function He(t,e){Ae.call(this),this.qa(t,e)}function Ye(t,e,o,i,r,n){for(var s=0,p=t[o-i],a=t[o-i+1];e<o;e+=i){var h=t[e],l=t[e+1];a<=n?n<l&&0<(h-p)*(n-a)-(r-p)*(l-a)&&s++:l<=n&&(h-p)*(n-a)-(r-p)*(l-a)<0&&s--,p=h,a=l}return 0!==s}function Ze(t,e,o,i,r,n){if(0===o.length||!Ye(t,e,o[0],i,r,n))return!1;var s;for(e=1,s=o.length;e<s;++e)if(Ye(t,o[e-1],o[e],i,r,n))return!1;return!0}function qe(t,e,o,i,r,n,s){for(var p,a,h=r[n+1],l=[],u=o[0],c=t[u-i],y=t[u-i+1],f=e;f<u;f+=i)a=t[f],p=t[f+1],(h<=y&&p<=h||y<=h&&h<=p)&&(c=(h-y)/(p-y)*(a-c)+c,l.push(c)),c=a,y=p;for(u=NaN,y=-1/0,l.sort(Z),c=l[0],f=1,p=l.length;f<p;++f){a=l[f];var g=Math.abs(a-c);y<g&&(Ze(t,e,o,i,c=(c+a)/2,h)&&(u=c,y=g)),c=a}return isNaN(u)&&(u=r[n]),s?(s.push(u,h),s):[u,h]}function Je(t,e,o,i,r,n){for(var s,p=[t[e],t[e+1]],a=[];e+i<o;e+=i){if(a[0]=t[e+i],a[1]=t[e+i+1],s=r.call(n,p,a))return s;p[0]=a[0],p[1]=a[1]}return!1}function _e(t,e,o,i,l){var r=Ot(jt(),t,e,o,i);return!!Zt(l,r)&&(!!(At(l,r)||r[0]>=l[0]&&r[2]<=l[2]||r[1]>=l[1]&&r[3]<=l[3])||Je(t,e,o,i,function(t,e){var o,i,r,n,s,p=!1,a=Ct(l,t),h=Ct(l,e);return 1===a||1===h?p=!0:(o=l[0],i=l[1],r=l[2],n=l[3],s=e[0],t=((e=e[1])-t[1])/(s-t[0]),2&h&&!(2&a)&&(p=o<=(p=s-(e-n)/t)&&p<=r),p||!(4&h)||4&a||(p=i<=(p=e-(s-r)*t)&&p<=n),p||!(8&h)||8&a||(p=o<=(p=s-(e-i)/t)&&p<=r),p||!(16&h)||16&a||(p=i<=(p=e-(s-o)*t)&&p<=n)),p}))}function $e(t,e,o,i,r){var n=o[0];if(!(_e(t,e,n,i,r)||Ye(t,e,n,i,r[0],r[1])||Ye(t,e,n,i,r[0],r[3])||Ye(t,e,n,i,r[2],r[1])||Ye(t,e,n,i,r[2],r[3])))return!1;if(1===o.length)return!0;for(e=1,n=o.length;e<n;++e)if(function(e,o,i,r,t){return!Dt(t,function(t){return!Ye(e,o,i,r,t[0],t[1])})}(t,o[e-1],o[e],i,r))return!1;return!0}function Qe(t,e,o,i){for(var r=0,n=t[o-i],s=t[o-i+1];e<o;e+=i)var p=t[e],a=t[e+1],r=r+(p-n)*(a+s),n=p,s=a;return 0<r}function to(t,e,o,i){var r,n,s=0;for(i=void 0!==i&&i,r=0,n=e.length;r<n;++r){var p=e[r],s=Qe(t,s,p,o);if(0===r){if(i&&s||!i&&!s)return}else if(i&&!s||!i&&s)return;s=p}return 1}function eo(t,e,o,i,r){var n,s;for(r=void 0!==r&&r,n=0,s=o.length;n<s;++n){var p=o[n],a=Qe(t,e,p,i);if(0===n?r&&a||!r&&!a:r&&!a||!r&&a)for(var a=t,h=p,l=i;e<h-l;){for(var u=0;u<l;++u){var c=a[e+u];a[e+u]=a[h-l+u],a[h-l+u]=c}e+=l,h-=l}e=p}return e}function oo(t,e,o,i){for(var r=0,n=0,s=e.length;n<s;++n)r=eo(t,r,e[n],o,i);return r}function io(t,e){Ae.call(this),this.c=[],this.A=-1,this.C=null,this.P=this.D=this.L=-1,this.l=null,this.qa(t,e)}function ro(t){var e;return t.A!=t.g&&(e=Kt(t.G()),t.C=qe(t.Vb(),0,t.c,t.a,e,0),t.A=t.g),t.C}function no(t,e,o,i){var r,n=i||32;for(i=[],r=0;r<n;++r)_(i,t.offset(e,o,2*Math.PI*r/n));return i.push(i[0],i[1]),(t=new io(null)).da("XY",i,[i.length]),t}function so(t){var e=t[0],o=t[1],i=t[2],e=[e,o,e,t=t[3],i,t,i,o,e,o];return(o=new io(null)).da("XY",e,[e.length]),o}function po(t,e,o){for(var i=e||32,r=t.pa(),n=new io(null,e=t.ka),i=r*(i+1),r=Array(i),s=0;s<i;s++)r[s]=0;return n.da(e,r,[r.length]),ao(n,t.Fd(),t.qe(),o),n}function ao(t,e,o,i){var r=t.ia(),n=t.ka,s=t.pa(),p=t.Kb(),a=r.length/s-1;i=i||0;for(var h,l,u=0;u<=a;++u)l=u*s,h=i+2*j(u,a)*Math.PI/a,r[l]=e[0]+o*Math.cos(h),r[1+l]=e[1]+o*Math.sin(h);t.da(n,r,p)}function ho(t){X.call(this),t=t||{},this.i=[0,0],this.f=[],this.Pe=this.Pe.bind(this);var e={};e[bo]=void 0!==t.center?t.center:null,this.o=ce(t.projection);var o,i,r,n,s,p,a,h,l,u,c,y=void 0!==t.minZoom?t.minZoom:0,f=void 0!==t.maxZoom?t.maxZoom:28,g=void 0!==t.zoomFactor?t.zoomFactor:2;f=void 0!==t.resolutions?(r=(f=t.resolutions)[0],l=f[f.length-1],a=f,function(t,e,o){if(void 0!==t)return(t=v((t=J(a,t,o))+e,0,a.length-1))!=(e=Math.floor(t))&&e<a.length-1?a[e]/Math.pow(a[e]/a[e+1],t-e):a[e]}):(i=(o=((l=(r=ce(t.projection)).G())?Math.max(Yt(l),Vt(l)):360*oe.degrees/r.ic())/256/Math.pow(2,0))/Math.pow(2,28),void 0!==(r=t.maxResolution)?y=0:r=o/Math.pow(g,y),void 0===(l=t.minResolution)&&(l=void 0!==t.maxZoom?void 0!==t.maxResolution?r/Math.pow(g,f):o/Math.pow(g,f):i),f=y+Math.floor(Math.log(r/l)/Math.log(g)),l=r/Math.pow(g,f-y),n=g,s=r,p=f-y,function(t,e,o){if(void 0!==t)return t=Math.max(Math.floor(Math.log(s/t)/Math.log(n)+(-o/2+.5))+e,0),void 0!==p&&(t=Math.min(t,p)),s/Math.pow(n,t)}),this.a=r,this.j=l,this.A=g,this.c=t.resolutions,this.l=y,y=void 0!==t.extent?(h=t.extent,function(t){if(t)return[v(t[0],h[0],h[2]),v(t[1],h[1],h[3])]}):b,g=void 0===t.enableRotation||t.enableRotation?void 0===(g=t.constrainRotation)||!0===g?(c=d(5),function(t,e){if(void 0!==t)return Math.abs(t+e)<=c?0:t+e}):!1!==g&&"number"==typeof g?(l=g,u=2*Math.PI/l,function(t,e){if(void 0!==t)return Math.floor((t+e)/u+.5)*u}):it:ot,this.u=new w(y,f,g),void 0!==t.resolution?e[mo]=t.resolution:void 0!==t.zoom&&(e[mo]=this.constrainResolution(this.a,t.zoom-this.l)),e[wo]=void 0!==t.rotation?t.rotation:0,this.I(e)}function lo(t){vo(t,xo,-yo(t)[xo]);for(var e=0,o=t.f.length;e<o;++e){var i=t.f[e];i[0].Vc&&i[0].Vc(!1)}t.f.length=0}function uo(t,e,o){var i,r=t.fb();return void 0!==r&&(ut(i=[r[0]-o[0],r[1]-o[1]],e-t.Ra()),st(i,o)),i}function co(t,e,o){var i,r=t.fb();return t=t.Oa(),void 0!==r&&void 0!==t&&(i=[o[0]-e*(o[0]-r[0])/t,o[1]-e*(o[1]-r[1])/t]),i}function yo(t,e){return void 0!==e?(e[0]=t.i[0],e[1]=t.i[1],e):t.i.slice()}function fo(t,e){return Math.max(Yt(t)/e[0],Vt(t)/e[1])}function go(t){return t.fb()&&void 0!==t.Oa()}function vo(t,e,o){t.i[e]+=o,t.s()}i(Me,X),(Ey=Me.prototype).Cb=function(t,e){e=e||[NaN,NaN];return this.Ab(t[0],t[1],e,1/0),e},Ey.mb=function(t){return this.Hc(t[0],t[1])},Ey.Hc=Qt,Ey.G=function(t){this.u!=this.g&&(this.v=this.Yd(this.v),this.u=this.g);var e=this.v;return t?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3]):t=e,t},Ey.Jb=function(t){return this.Bd(t*t)},Ey.ob=function(t,e){return this.sc(ve(t,e)),this},i(Ae,Me),(Ey=Ae.prototype).Hc=Qt,Ey.Yd=function(t){return Nt(this.B,0,this.B.length,this.a,t)},Ey.Rb=function(){return this.B.slice(0,this.a)},Ey.ia=function(){return this.B},Ey.Sb=function(){return this.B.slice(this.B.length-this.a)},Ey.Tb=function(){return this.ka},Ey.Bd=function(t){if(this.o!=this.g&&(l(this.i),this.j=0,this.o=this.g),t<0||0!==this.j&&t<=this.j)return this;var e=t.toString();if(this.i.hasOwnProperty(e))return this.i[e];var o=this.$c(t);return o.ia().length<this.B.length?this.i[e]=o:(this.j=t,this)},Ey.$c=function(){return this},Ey.pa=function(){return this.a},Ey.sc=function(t){this.B&&(t(this.B,this.B,this.a),this.s())},Ey.rotate=function(t,e){var o=this.ia();if(o){for(var i=o.length,r=this.pa(),n=o||[],s=Math.cos(t),p=Math.sin(t),a=e[0],h=e[1],l=0,u=0;u<i;u+=r){var c=o[u]-a,y=o[u+1]-h;for(n[l++]=a+c*s-y*p,n[l++]=h+c*p+y*s,c=u+2;c<u+r;++c)n[l++]=o[c]}o&&n.length!=l&&(n.length=l),this.s()}},Ey.scale=function(t,e,o){var i=e;if(void 0===i&&(i=t),p=(p=o)||Kt(this.G()),o=this.ia()){e=o.length;for(var r=this.pa(),n=o||[],s=p[0],p=p[1],a=0,h=0;h<e;h+=r){var l=o[h]-s,u=o[h+1]-p;for(n[a++]=s+t*l,n[a++]=p+i*u,l=h+2;l<h+r;++l)n[a++]=o[l]}o&&n.length!=a&&(n.length=a),this.s()}},Ey.translate=function(t,e){var o=this.ia();o&&(Te(o,o.length,this.pa(),t,e,o),this.s())},i(We,Ae),(Ey=We.prototype).clone=function(){var t=new We(null);return ze(t,this.ka,this.B.slice()),t},Ey.Ab=function(t,e,o,i){return i<Pt(this.G(),t,e)?i:(this.c!=this.g&&(this.l=Math.sqrt(Ie(this.B,0,this.B.length,this.a,0)),this.c=this.g),ke(this.B,0,this.B.length,this.a,this.l,!0,t,e,o,i))},Ey.rm=function(){return Le(this.B,0,this.B.length,this.a)},Ey.$=function(){return Ge(this.B,0,this.B.length,this.a)},Ey.$c=function(t){var e=[];return e.length=Xe(this.B,0,this.B.length,this.a,t,e,0),ze(t=new We(null),"XY",e),t},Ey.Y=function(){return"LinearRing"},Ey.qa=function(t,e){t?(je(this,e,t,1),this.B||(this.B=[]),this.B.length=Be(this.B,0,t,this.a),this.s()):ze(this,"XY",null)},i(He,Ae),(Ey=He.prototype).clone=function(){var t=new He(null);return t.da(this.ka,this.B.slice()),t},Ey.Ab=function(t,e,o,i){var r=this.B;if((t=f(t,e,r[0],r[1]))<i){for(i=this.a,e=0;e<i;++e)o[e]=r[e];return o.length=i,t}return i},Ey.$=function(){return this.B?this.B.slice():[]},Ey.Yd=function(t){return Rt(this.B,t)},Ey.Y=function(){return"Point"},Ey.Ta=function(t){return Et(t,this.B[0],this.B[1])},Ey.qa=function(t,e){t?(je(this,e,t,0),this.B||(this.B=[]),this.B.length=De(this.B,t),this.s()):this.da("XY",null)},Ey.da=function(t,e){Ce(this,t,e),this.s()},i(io,Ae),(Ey=io.prototype).Fj=function(t){this.B?_(this.B,t.ia()):this.B=t.ia().slice(),this.c.push(this.B.length),this.s()},Ey.clone=function(){var t=new io(null);return t.da(this.ka,this.B.slice(),this.c.slice()),t},Ey.Ab=function(t,e,o,i){return i<Pt(this.G(),t,e)?i:(this.D!=this.g&&(this.L=Math.sqrt(Fe(this.B,0,this.c,this.a,0)),this.D=this.g),Oe(this.B,0,this.c,this.a,this.L,!0,t,e,o,i))},Ey.Hc=function(t,e){return Ze(this.Vb(),0,this.c,this.a,t,e)},Ey.um=function(){return Re(this.Vb(),0,this.c,this.a)},Ey.$=function(t){var e;return void 0!==t?eo(e=this.Vb().slice(),0,this.c,this.a,t):e=this.B,Ke(e,0,this.c,this.a)},Ey.Kb=function(){return this.c},Ey.ik=function(){return new He(ro(this))},Ey.nk=function(){return this.c.length},Ey.Qg=function(t){if(t<0||this.c.length<=t)return null;var e=new We(null);return ze(e,this.ka,this.B.slice(0===t?0:this.c[t-1],this.c[t])),e},Ey.Zc=function(){for(var t=this.ka,e=this.B,o=this.c,i=[],r=0,n=0,s=o.length;n<s;++n){var p=o[n],a=new We(null);ze(a,t,e.slice(r,p)),i.push(a),r=p}return i},Ey.Vb=function(){var t;return this.P!=this.g&&(to(t=this.B,this.c,this.a)?this.l=t:(this.l=t.slice(),this.l.length=eo(this.l,0,this.c,this.a)),this.P=this.g),this.l},Ey.$c=function(t){var e=[],o=[];return e.length=Ve(this.B,0,this.c,this.a,Math.sqrt(t),e,0,o),(t=new io(null)).da("XY",e,o),t},Ey.Y=function(){return"Polygon"},Ey.Ta=function(t){return $e(this.Vb(),0,this.c,this.a,t)},Ey.qa=function(t,e){t?(je(this,e,t,2),this.B||(this.B=[]),t=Ue(this.B,0,t,this.a,this.c),this.B.length=0===t.length?0:t[t.length-1],this.s()):this.da("XY",null,this.c)},Ey.da=function(t,e,o){Ce(this,t,e),this.c=o,this.s()},i(ho,X),(Ey=ho.prototype).animate=function(t){var e,o=Date.now(),i=this.fb().slice(),r=this.Oa(),n=this.Ra(),s=arguments.length;1<s&&"function"==typeof arguments[s-1]&&(e=arguments[s-1],--s);for(var p=[],a=0;a<s;++a){var h=arguments[a],l={start:o,complete:!1,anchor:h.anchor,duration:void 0!==h.duration?h.duration:1e3,easing:h.easing||bt};h.center&&(l.fg=i,l.hg=h.center,i=l.hg),void 0!==h.zoom?(l.Me=r,l.Ne=this.constrainResolution(this.a,h.zoom-this.l,0),r=l.Ne):h.resolution&&(l.Me=r,l.Ne=h.resolution,r=l.Ne),void 0!==h.rotation&&(l.gg=n,l.Hi=h.rotation,n=l.Hi),l.Vc=e,o+=l.duration,p.push(l)}this.f.push(p),vo(this,xo,1),this.Pe()},Ey.Pe=function(){if(void 0!==this.v&&(cancelAnimationFrame(this.v),this.v=void 0),0<yo(this)[xo]){for(var t=Date.now(),e=!1,o=this.f.length-1;0<=o;--o){for(var i=this.f[o],r=!0,n=0,s=i.length;n<s;++n){var p=i[n];if(!p.complete){var a,h,e=t-p.start;if(1<=(e=0<p.duration?e/p.duration:1)?(p.complete=!0,e=1):r=!1,e=p.easing(e),p.fg&&(a=p.fg[0],h=p.fg[1],this.set(bo,[a+e*(p.hg[0]-a),h+e*(p.hg[1]-h)])),p.Me&&(a=p.Me+e*(p.Ne-p.Me),p.anchor&&this.set(bo,co(this,a,p.anchor)),this.set(mo,a)),void 0!==p.gg&&(e=p.gg+e*(p.Hi-p.gg),p.anchor&&this.set(bo,uo(this,e,p.anchor)),this.set(wo,e)),e=!0,!p.complete)break}}r&&(this.f[o]=null,vo(this,xo,-1),(i=i[0].Vc)&&i(!0))}this.f=this.f.filter(Boolean),e&&void 0===this.v&&(this.v=requestAnimationFrame(this.Pe))}},Ey.Zd=function(t){return this.u.center(t)},Ey.constrainResolution=function(t,e,o){return this.u.resolution(t,e||0,o||0)},Ey.constrainRotation=function(t,e){return this.u.rotation(t,e||0)},Ey.fb=function(){return this.get(bo)},Ey.Uc=function(t){var e=this.fb();O(e,1);var o=this.Oa();O(void 0!==o,2);var i=this.Ra();return O(void 0!==i,3),Xt(e,o,i,t)},Ey.Zl=function(){return this.a},Ey.$l=function(){return this.j},Ey.am=function(){return this.o},Ey.Oa=function(){return this.get(mo)},Ey.bm=function(){return this.c},Ey.Ra=function(){return this.get(wo)},Ey.W=function(){var t=this.fb(),e=this.o,o=this.Oa(),i=this.Ra();return{center:t.slice(),projection:void 0!==e?e:null,resolution:o,rotation:i}},Ey.Kk=function(){var t=this.Oa();if(void 0!==t&&t>=this.j&&t<=this.a){var e,o,i=this.l||0;if(this.c){if(i+=o=J(this.c,t,1),o==this.c.length-1)return i;o=(e=this.c[o])/this.c[o+1]}else e=this.a,o=this.A;i+=Math.log(e/t)/Math.log(o)}return i},Ey.lf=function(t,e,o){t instanceof Ae||(O(Array.isArray(t),24),O(!qt(t),25),t=so(t));var i=void 0!==(o=o||{}).padding?o.padding:[0,0,0,0],r=void 0===o.constrainResolution||o.constrainResolution,n=void 0!==o.nearest&&o.nearest,s=void 0!==o.minResolution?o.minResolution:void 0!==o.maxZoom?this.constrainResolution(this.a,o.maxZoom-this.l,0):0,p=t.ia(),a=this.Ra(),h=Math.cos(-a),a=Math.sin(-a),l=1/0,u=1/0,c=-1/0,y=-1/0;t=t.pa();for(var f=0,g=p.length;f<g;f+=t)var d=p[f]*h-p[f+1]*a,v=p[f]*a+p[f+1]*h,l=Math.min(l,d),u=Math.min(u,v),c=Math.max(c,d),y=Math.max(y,v);e=fo([l,u,c,y],[e[0]-i[1]-i[3],e[1]-i[0]-i[2]]),e=isNaN(e)?s:Math.max(e,s),r&&(s=this.constrainResolution(e,0,0),!n&&s<e&&(s=this.constrainResolution(s,-1,0)),e=s),a=-a,h=[(n=(l+c)/2+(i[1]-i[3])/2*e)*h-(i=(u+y)/2+(i[0]-i[2])/2*e)*a,i*h+n*a],void 0!==o.duration?this.animate({resolution:e,center:h,duration:o.duration,easing:o.easing}):(this.Oc(e),this.Mb(h))},Ey.Kj=function(t,e,o){var i=this.Ra(),r=Math.cos(-i),i=Math.sin(-i),n=t[0]*r-t[1]*i;t=t[1]*r+t[0]*i;var s=this.Oa(),n=n+(e[0]/2-o[0])*s;t+=(o[1]-e[1]/2)*s,i=-i,this.Mb([n*r-t*i,t*r+n*i])},Ey.rotate=function(t,e){void 0!==e&&(e=uo(this,t,e),this.Mb(e)),this.pe(t)},Ey.Mb=function(t){this.set(bo,t),0<yo(this)[xo]&&lo(this)},Ey.Oc=function(t){this.set(mo,t),0<yo(this)[xo]&&lo(this)},Ey.pe=function(t){this.set(wo,t),0<yo(this)[xo]&&lo(this)},Ey.pp=function(t){t=this.constrainResolution(this.a,t-this.l,0),this.Oc(t)};var bo="center",mo="resolution",wo="rotation",xo=0;function So(t,e,o,i){this.ea=t,this.ca=e,this.ga=o,this.ja=i}function Mo(t,e,o){return t.ea<=e&&e<=t.ca&&t.ga<=o&&o<=t.ja}function Po(t,e){return t.ea<=e.ca&&t.ca>=e.ea&&t.ga<=e.ja&&t.ja>=e.ga}function To(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]+2*e,o[1]=t[1]+2*e,o}function Ao(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]*e+.5|0,o[1]=t[1]*e+.5|0,o}function Eo(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:e[0]=e[1]=t,e)}function Co(t,e,o,i){return void 0!==i?(i[0]=t,i[1]=e,i[2]=o,i):[t,e,o]}function jo(t){var o,i;this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.b=t.resolutions,O((o=this.b,i=function(t,e){return e-t}||Z,o.every(function(t,e){if(0===e)return!0;t=i(o[e-1],t);return!(0<t||0===t)})),17),this.maxZoom=this.b.length-1,this.g=void 0!==t.origin?t.origin:null,this.f=null,void 0!==t.origins&&(this.f=t.origins,O(this.f.length==this.b.length,20));var e=t.extent;void 0===e||this.g||this.f||(this.g=zt(e)),O(!this.g&&this.f||this.g&&!this.f,18),this.c=null,void 0!==t.tileSizes&&(this.c=t.tileSizes,O(this.c.length==this.b.length,19)),this.i=void 0!==t.tileSize?t.tileSize:this.c?null:256,O(!this.i&&this.c||this.i&&!this.c,22),this.v=void 0!==e?e:null,this.a=null,this.j=[0,0],void 0!==t.sizes?this.a=t.sizes.map(function(t){return new So(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1))},this):e&&function(t,e){for(var o=t.b.length,i=Array(o),r=t.minZoom;r<o;++r)i[r]=Fo(t,e,r);t.a=i}(this,e)}var Lo=[0,0,0];function Ro(t,e,o,i,r){for(r=t.Na(e,r),e=e[0]-1;e>=t.minZoom;){if(o.call(null,e,Fo(t,r,e,i)))return!0;--e}return!1}function No(t,e,o,i){return e[0]<t.maxZoom?(i=t.Na(e,i),Fo(t,i,e[0]+1,o)):null}function Io(t,e,o,i){Oo(t,e[0],e[1],o,!1,Lo);var r=Lo[1],n=Lo[2];return Oo(t,e[2],e[3],o,!0,Lo),t=Lo[1],e=Lo[2],void 0!==i?(i.ea=r,i.ca=t,i.ga=n,i.ja=e):i=new So(r,t,n,e),i}function Fo(t,e,o,i){return o=t.Ha(o),Io(t,e,o,i)}function ko(t,e){var o=t.Kc(e[0]),i=t.Ha(e[0]),t=Eo(t.Za(e[0]),t.j);return[o[0]+(e[1]+.5)*t[0]*i,o[1]+(e[2]+.5)*t[1]*i]}function Oo(t,e,o,i,r,n){var s=t.Ec(i),p=i/t.Ha(s),a=t.Kc(s);return t=Eo(t.Za(s),t.j),e=p*Math.floor((e-a[0])/i+(r?.5:0))/t[0],o=p*Math.floor((o-a[1])/i+(r?0:.5))/t[1],o=r?(e=Math.ceil(e)-1,Math.ceil(o)-1):(e=Math.floor(e),Math.floor(o)),Co(s,e,o,n)}function Do(t){var e,o=t.j;return o||(e=Uo(o=Go(t),void 0,void 0),o=new jo({extent:o,origin:zt(o),resolutions:e,tileSize:void 0}),t.j=o),o}function Bo(t){var e={};return L(e,void 0!==t?t:{}),void 0===e.extent&&(e.extent=ge("EPSG:3857").G()),e.resolutions=Uo(e.extent,e.maxZoom,e.tileSize),delete e.maxZoom,new jo(e)}function Uo(t,e,o){e=void 0!==e?e:42;var i=Vt(t);for(t=Yt(t),o=Eo(void 0!==o?o:256),o=Math.max(t/o[0],i/o[1]),e+=1,i=Array(e),t=0;t<e;++t)i[t]=o/Math.pow(2,t);return i}function Go(t){var e=(t=ge(t)).G();return e||(e=Lt(-(t=180*oe.degrees/t.ic()),-t,t,t)),e}function Ko(t){this.b=t.html,this.a=t.tileRanges||null}function Xo(t){X.call(this),this.a=t||[],Vo(this)}function Vo(t){t.set(Wo,t.a.length)}(Ey=jo.prototype).Hg=function(t,e,o){for(var i=(t=Fo(this,t,e)).ea,r=t.ca;i<=r;++i)for(var n=t.ga,s=t.ja;n<=s;++n)o([e,i,n])},Ey.G=function(){return this.v},Ey.Rg=function(){return this.maxZoom},Ey.Sg=function(){return this.minZoom},Ey.Kc=function(t){return this.g||this.f[t]},Ey.Ha=function(t){return this.b[t]},Ey.Wh=function(){return this.b},Ey.Na=function(t,e){var o=this.Kc(t[0]),i=this.Ha(t[0]),r=Eo(this.Za(t[0]),this.j),n=o[0]+t[1]*r[0]*i;return Lt(n,o=o[1]+t[2]*r[1]*i,n+r[0]*i,o+r[1]*i,e)},Ey.fe=function(t,e,o){return Oo(this,t[0],t[1],e,!1,o)},Ey.wf=function(t,e,o){return e=this.Ha(e),Oo(this,t[0],t[1],e,!1,o)},Ey.Za=function(t){return this.i||this.c[t]},Ey.Ec=function(t,e){return v(J(this.b,t,e||0),this.minZoom,this.maxZoom)},Ko.prototype.g=function(){return this.b},i(Xo,X),(Ey=Xo.prototype).clear=function(){for(;0<this.Ub();)this.pop()},Ey.Bf=function(t){for(var e=0,o=t.length;e<o;++e)this.push(t[e]);return this},Ey.forEach=function(t,e){this.a.forEach(t,e)},Ey.Il=function(){return this.a},Ey.item=function(t){return this.a[t]},Ey.Ub=function(){return this.get(Wo)},Ey.ke=function(t,e){this.a.splice(t,0,e),Vo(this),this.b(new Yo(zo,e))},Ey.pop=function(){return this.Zf(this.Ub()-1)},Ey.push=function(t){var e=this.Ub();return this.ke(e,t),this.Ub()},Ey.remove=function(t){for(var e=this.a,o=0,i=e.length;o<i;++o)if(e[o]===t)return this.Zf(o)},Ey.Zf=function(t){var e=this.a[t];return this.a.splice(t,1),Vo(this),this.b(new Yo(Ho,e)),e},Ey.ep=function(t,e){var o=this.Ub();if(t<o)o=this.a[t],this.a[t]=e,this.b(new Yo(Ho,o)),this.b(new Yo(zo,e));else{for(;o<t;++o)this.ke(o,void 0);this.ke(t,e)}};var Wo="length",zo="add",Ho="remove";function Yo(t,e){I.call(this,t),this.element=e}i(Yo,I);var Zo=/^#(?:[0-9a-f]{3}){1,2}$/i,qo=/^([a-z]*)$/i;function Jo(t){return Array.isArray(t)?t:ti(t)}function _o(t){var e,o,i;return"string"!=typeof t&&((e=t[0])!=(0|e)&&(e=e+.5|0),(o=t[1])!=(0|o)&&(o=o+.5|0),(i=t[2])!=(0|i)&&(i=i+.5|0),t="rgba("+e+","+o+","+i+","+(void 0===t[3]?1:t[3])+")"),t}var $o,Qo,ti=($o={},Qo=0,function(t){var e,o,i;if($o.hasOwnProperty(t))i=$o[t];else{if(1024<=Qo)for(var r in i=0,$o)0==(3&i++)&&(delete $o[r],--Qo);i=t,qo.exec(i)&&((r=document.createElement("div")).style.color=i,document.body.appendChild(r),i=getComputedStyle(r).color,document.body.removeChild(r)),Zo.exec(i)?(O(3==(o=i.length-1)||6==o,54),e=3==o?1:2,o=parseInt(i.substr(1+0*e,e),16),r=parseInt(i.substr(1+e,e),16),i=parseInt(i.substr(1+2*e,e),16),1==e&&(o=(o<<4)+o,r=(r<<4)+r,i=(i<<4)+i),o=[o,r,i,1]):0==i.indexOf("rgba(")?o=ei(i=i.slice(5,-1).split(",").map(Number)):0==i.indexOf("rgb(")?((i=i.slice(4,-1).split(",").map(Number)).push(1),o=ei(i)):O(!1,14),i=o,$o[t]=i,++Qo}return i});function ei(t){var e=[];return e[0]=v(t[0]+.5|0,0,255),e[1]=v(t[1]+.5|0,0,255),e[2]=v(t[2]+.5|0,0,255),e[3]=v(t[3],0,1),e}function oi(t){return"string"==typeof t||t instanceof CanvasPattern||t instanceof CanvasGradient?t:_o(t)}function ii(t,e){var o=document.createElement("CANVAS");return t&&(o.width=t),e&&(o.height=e),o.getContext("2d")}function ri(t,e){var o=e.parentNode;o&&o.replaceChild(t,e)}function ni(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function si(t,e,o){I.call(this,t),this.map=e,this.frameState=void 0!==o?o:null}function pi(t){X.call(this),this.element=t.element||null,this.a=this.P=null,this.v=[],this.render=t.render||p,t.target&&this.c(t.target)}function ai(t){t=t||{},this.L=document.createElement("UL"),this.u=document.createElement("LI"),this.L.appendChild(this.u),this.u.style.display="none",this.f=void 0===t.collapsed||t.collapsed,this.l=void 0===t.collapsible||t.collapsible,this.l||(this.f=!1);var e=void 0!==t.className?t.className:"ol-attribution",o=void 0!==t.tipLabel?t.tipLabel:"Attributions",i=void 0!==t.collapseLabel?t.collapseLabel:"»";"string"==typeof i?(this.A=document.createElement("span"),this.A.textContent=i):this.A=i,"string"==typeof(i=void 0!==t.label?t.label:"i")?(this.C=document.createElement("span"),this.C.textContent=i):this.C=i;var r=this.l&&!this.f?this.A:this.C;(i=document.createElement("button")).setAttribute("type","button"),i.title=o,i.appendChild(r),P(i,"click",this.em,this),(o=document.createElement("div")).className=e+" ol-unselectable ol-control"+(this.f&&this.l?" ol-collapsed":"")+(this.l?"":" ol-uncollapsible"),o.appendChild(this.L),o.appendChild(i),pi.call(this,{element:o,render:t.render||hi,target:t.target}),this.D=!0,this.o={},this.j={},this.U={}}function hi(t){if(t=t.frameState){for(var e,o,i,r,n,s,p,a,h,l,u,c,y=t.layerStatesArray,f=L({},t.attributions),g={},d={},v=t.viewState.projection,b=0,m=y.length;b<m;b++)if((r=y[b].layer.la())&&(a=B(r).toString(),p=r.j))for(e=0,o=p.length;e<o;e++)if(n=p[e],s=B(n).toString(),!(s in f)){if(i=t.usedTiles[a]){var w=r.Db(v);t:{var x=v;if((h=n).a){var S=void 0;for(S in i)if(S in h.a)for(var M,P=i[S],T=0,A=h.a[S].length;T<A;++T){if(Po(M=h.a[S][T],P)){h=!0;break t}var E=Fo(w,Go(x),parseInt(S,10)),C=E.ca-E.ea+1;if((P.ea<E.ea||P.ca>E.ca)&&(Po(M,new So(j(P.ea,C),j(P.ca,C),P.ga,P.ja))||P.ca-P.ea+1>C&&Po(M,E))){h=!0;break t}}h=!1}else h=!0}}else h=!1;h?(s in g&&delete g[s],(h=n.b)in d||(d[h]=!0,f[s]=n)):g[s]=n}for(l in b=(m=[f,g])[0],m=m[1],this.o)l in b?(this.j[l]||(this.o[l].style.display="",this.j[l]=!0),delete b[l]):l in m?(this.j[l]&&(this.o[l].style.display="none",delete this.j[l]),delete m[l]):(ni(this.o[l]),delete this.o[l],delete this.j[l]);for(l in b)e=document.createElement("LI"),e.innerHTML=b[l].b,this.L.appendChild(e),this.o[l]=e,this.j[l]=!0;for(l in m)e=document.createElement("LI"),e.innerHTML=m[l].b,e.style.display="none",this.L.appendChild(e),this.o[l]=e;for(u in l=!U(this.j)||!U(t.logos),this.D!=l&&(this.element.style.display=l?"":"none",this.D=l),l&&U(this.j)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only"),t=t.logos,l=this.U)u in t||(ni(l[u]),delete l[u]);for(c in t)m=t[c],m instanceof HTMLElement&&(this.u.appendChild(m),l[c]=m),c in l||(u=new Image,u.src=c,""===m?b=u:(b=document.createElement("a"),b.href=m,b.appendChild(u)),this.u.appendChild(b),l[c]=b);this.u.style.display=U(t)?"none":""}else this.D&&(this.element.style.display="none",this.D=!1)}function li(t){t.element.classList.toggle("ol-collapsed"),t.f?ri(t.A,t.C):ri(t.C,t.A),t.f=!t.f}function ui(t){t=t||{},this.f=void 0!==t.className?t.className:"ol-full-screen";var e=void 0!==t.label?t.label:"⤢";this.l="string"==typeof e?document.createTextNode(e):e,e=void 0!==t.labelActive?t.labelActive:"×",this.o="string"==typeof e?document.createTextNode(e):e;var o=t.tipLabel||"Toggle full-screen";(e=document.createElement("button")).className=this.f+"-"+yi(),e.setAttribute("type","button"),e.title=o,e.appendChild(this.l),P(e,"click",this.C,this),(o=document.createElement("div")).className=this.f+" ol-unselectable ol-control "+(ci()?"":"ol-unsupported"),o.appendChild(e),pi.call(this,{element:o,target:t.target}),this.A=void 0!==t.keys&&t.keys,this.j=t.source}function ci(){var t=document.body;return t.webkitRequestFullscreen||t.mozRequestFullScreen&&document.mozFullScreenEnabled||t.msRequestFullscreen&&document.msFullscreenEnabled||t.requestFullscreen&&document.fullscreenEnabled}function yi(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)}function fi(t){t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen&&t.webkitRequestFullscreen()}i(si,I),i(pi,X),pi.prototype.oa=function(){ni(this.element),X.prototype.oa.call(this)},pi.prototype.i=function(){return this.a},pi.prototype.setMap=function(t){this.a&&ni(this.element);for(var e=0,o=this.v.length;e<o;++e)E(this.v[e]);this.v.length=0,(this.a=t)&&((this.P||t.u).appendChild(this.element),this.render!==p&&this.v.push(P(t,"postrender",this.render,this)),t.render())},pi.prototype.c=function(t){this.P="string"==typeof t?document.getElementById(t):t},i(ai,pi),(Ey=ai.prototype).em=function(t){t.preventDefault(),li(this)},Ey.dm=function(){return this.l},Ey.gm=function(t){this.l!==t&&(this.l=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.f&&li(this))},Ey.fm=function(t){this.l&&this.f!==t&&li(this)},Ey.cm=function(){return this.f},i(ui,pi),ui.prototype.C=function(t){t.preventDefault(),ci()&&(t=this.a)&&(yi()?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():(t=this.j?"string"==typeof this.j?document.getElementById(this.j):this.j:t.Cc(),this.A?t.mozRequestFullScreenWithKeys?t.mozRequestFullScreenWithKeys():t.webkitRequestFullscreen?t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):fi(t):fi(t)))},ui.prototype.u=function(){var t=this.element.firstElementChild,e=this.a;yi()?(t.className=this.f+"-true",ri(this.o,this.l)):(t.className=this.f+"-false",ri(this.l,this.o)),e&&e.ld()},ui.prototype.setMap=function(t){pi.prototype.setMap.call(this,t),t&&this.v.push(P(document,di(),this.u,this))};var gi,di=function(){var t;return gi||((t=document.body).webkitRequestFullscreen?gi="webkitfullscreenchange":t.mozRequestFullScreen?gi="mozfullscreenchange":t.msRequestFullscreen?gi="MSFullscreenChange":t.requestFullscreen&&(gi="fullscreenchange")),gi};function vi(t){var e=void 0!==(t=t||{}).className?t.className:"ol-rotate",o=void 0!==t.label?t.label:"⇧";this.f=null,"string"==typeof o?(this.f=document.createElement("span"),this.f.className="ol-compass",this.f.textContent=o):(this.f=o,this.f.classList.add("ol-compass"));var i=t.tipLabel||"Reset rotation";(o=document.createElement("button")).className=e+"-reset",o.setAttribute("type","button"),o.title=i,o.appendChild(this.f),P(o,"click",vi.prototype.A,this),(i=document.createElement("div")).className=e+" ol-unselectable ol-control",i.appendChild(o),e=t.render||bi,this.l=t.resetNorth||void 0,pi.call(this,{element:i,render:e,target:t.target}),this.o=void 0!==t.duration?t.duration:250,this.j=void 0===t.autoHide||t.autoHide,this.u=void 0,this.j&&this.element.classList.add("ol-hidden")}function bi(t){var e,o;(t=t.frameState)&&((t=t.viewState.rotation)!=this.u&&(e="rotate("+t+"rad)",this.j&&((o=this.element.classList.contains("ol-hidden"))||0!==t?o&&0!==t&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")),this.f.style.msTransform=e,this.f.style.webkitTransform=e,this.f.style.transform=e),this.u=t)}function mi(t){var e=void 0!==(t=t||{}).className?t.className:"ol-zoom",o=void 0!==t.delta?t.delta:1,i=void 0!==t.zoomInLabel?t.zoomInLabel:"+",r=void 0!==t.zoomOutLabel?t.zoomOutLabel:"−",n=void 0!==t.zoomInTipLabel?t.zoomInTipLabel:"Zoom in",s=void 0!==t.zoomOutTipLabel?t.zoomOutTipLabel:"Zoom out",p=document.createElement("button");p.className=e+"-in",p.setAttribute("type","button"),p.title=n,p.appendChild("string"==typeof i?document.createTextNode(i):i),P(p,"click",mi.prototype.j.bind(this,o)),(i=document.createElement("button")).className=e+"-out",i.setAttribute("type","button"),i.title=s,i.appendChild("string"==typeof r?document.createTextNode(r):r),P(i,"click",mi.prototype.j.bind(this,-o)),(o=document.createElement("div")).className=e+" ol-unselectable ol-control",o.appendChild(p),o.appendChild(i),pi.call(this,{element:o,target:t.target}),this.f=void 0!==t.duration?t.duration:250}function wi(t){t=t||{};var e=new Xo;return void 0!==t.zoom&&!t.zoom||e.push(new mi(t.zoomOptions)),void 0!==t.rotate&&!t.rotate||e.push(new vi(t.rotateOptions)),void 0!==t.attribution&&!t.attribution||e.push(new ai(t.attributionOptions)),e}function xi(t){t=t||{};var e=document.createElement("DIV");e.className=void 0!==t.className?t.className:"ol-mouse-position",pi.call(this,{element:e,render:t.render||Si,target:t.target}),P(this,W(Pi),this.hm,this),t.coordinateFormat&&this.oi(t.coordinateFormat),t.projection&&this.sh(ge(t.projection)),this.u=void 0!==t.undefinedHTML?t.undefinedHTML:"",this.o=e.innerHTML,this.l=this.j=this.f=null}function Si(t){(t=t.frameState)?this.f!=t.viewState.projection&&(this.f=t.viewState.projection,this.j=null):this.f=null,Mi(this,this.l)}function Mi(t,e){var o,i=t.u;e&&t.f&&(t.j||(o=t.rh(),t.j=o?be(t.f,o):me),(o=t.a.Sa(e))&&(t.j(o,o),i=(i=t.Lg())?i(o):o.toString())),t.o&&i==t.o||(t.element.innerHTML=i,t.o=i)}i(vi,pi),vi.prototype.A=function(t){t.preventDefault(),void 0!==this.l?this.l():(t=this.a.aa())&&void 0!==t.Ra()&&(0<this.o?t.animate({rotation:0,duration:this.o,easing:vt}):t.pe(0))},i(mi,pi),mi.prototype.j=function(t,e){e.preventDefault();var o=this.a.aa();!o||(e=o.Oa())&&(e=o.constrainResolution(e,t),0<this.f?(0<yo(o)[xo]&&lo(o),o.animate({resolution:e,duration:this.f,easing:vt})):o.Oc(e))},i(xi,pi),(Ey=xi.prototype).hm=function(){this.j=null},Ey.Lg=function(){return this.get(Ti)},Ey.rh=function(){return this.get(Pi)},Ey.$k=function(t){this.l=this.a.ce(t),Mi(this,this.l)},Ey.al=function(){Mi(this,null),this.l=null},Ey.setMap=function(t){pi.prototype.setMap.call(this,t),t&&(t=t.f,this.v.push(P(t,"mousemove",this.$k,this),P(t,"mouseout",this.al,this)))},Ey.oi=function(t){this.set(Ti,t)},Ey.sh=function(t){this.set(Pi,t)};var Pi="projection",Ti="coordinateFormat";function Ai(t,e,o,i,r){si.call(this,t,e,r),this.originalEvent=o,this.pixel=e.ce(o),this.coordinate=e.Sa(this.pixel),this.dragging=void 0!==i&&i}i(Ai,si),Ai.prototype.preventDefault=function(){si.prototype.preventDefault.call(this),this.originalEvent.preventDefault()},Ai.prototype.stopPropagation=function(){si.prototype.stopPropagation.call(this),this.originalEvent.stopPropagation()};var Ei={Np:"singleclick",Cp:"click",Dp:"dblclick",Gp:"pointerdrag",Jp:"pointermove",Fp:"pointerdown",Mp:"pointerup",Lp:"pointerover",Kp:"pointerout",Hp:"pointerenter",Ip:"pointerleave",Ep:"pointercancel"};function Ci(t,e,o,i,r){Ai.call(this,t,e,o.b,i,r),this.b=o}i(Ci,Ai);var ji=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function Li(t,e){for(var o,i=ji.length,r=0;r<i;++r)try{if(o=t.getContext(ji[r],e))return o}catch(t){}return null}var Ri,Ni,Ii="undefined"!=typeof navigator?navigator.userAgent.toLowerCase():"",Fi=-1!==Ii.indexOf("firefox"),ki=-1!==Ii.indexOf("safari")&&-1==Ii.indexOf("chrom"),Oi=-1!==Ii.indexOf("webkit")&&-1==Ii.indexOf("edge"),Di=-1!==Ii.indexOf("macintosh"),Bi=window.devicePixelRatio||1,Ui=!1,Gi=function(){if(!("HTMLCanvasElement"in window))return!1;try{var t=document.createElement("CANVAS").getContext("2d");return!!t&&(void 0!==t.setLineDash&&(Ui=!0),!0)}catch(t){return!1}}(),Ki="DeviceOrientationEvent"in window,Xi="geolocation"in navigator,Vi="ontouchstart"in window,Wi="PointerEvent"in window,zi=!!navigator.msPointerEnabled,Hi=!1,Yi=[];if("WebGLRenderingContext"in window)try{var Zi=Li(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Zi&&(Hi=!0,Ni=Zi.getParameter(Zi.MAX_TEXTURE_SIZE),Yi=Zi.getSupportedExtensions())}catch(t){}function qi(t,e){this.b=t,this.c=e}function Ji(t){qi.call(this,t,{mousedown:this.tl,mousemove:this.ul,mouseup:this.xl,mouseover:this.wl,mouseout:this.vl}),this.a=t.g,this.g=[]}function _i(t,e){for(var o,i=t.g,r=e.clientX,n=e.clientY,s=0,p=i.length;s<p&&(o=i[s]);s++){var a=Math.abs(n-o[1]);if(Math.abs(r-o[0])<=25&&a<=25)return 1}}function $i(t){var e=hr(t,t),o=e.preventDefault;return e.preventDefault=function(){t.preventDefault(),o()},e.pointerId=1,e.isPrimary=!0,e.pointerType="mouse",e}function Qi(t){qi.call(this,t,{MSPointerDown:this.Cl,MSPointerMove:this.Dl,MSPointerUp:this.Gl,MSPointerOut:this.El,MSPointerOver:this.Fl,MSPointerCancel:this.Bl,MSGotPointerCapture:this.zl,MSLostPointerCapture:this.Al}),this.a=t.g,this.g=["","unavailable","touch","pen","mouse"]}function tr(t,e){var o=e;return"number"==typeof e.pointerType&&((o=hr(e,e)).pointerType=t.g[e.pointerType]),o}function er(t){qi.call(this,t,{pointerdown:this.po,pointermove:this.qo,pointerup:this.to,pointerout:this.ro,pointerover:this.so,pointercancel:this.oo,gotpointercapture:this.Lk,lostpointercapture:this.sl})}function or(t,e,o){var i;I.call(this,t),this.b=e,t=o||{},this.buttons=function(t){if(t.buttons||ir)t=t.buttons;else switch(t.which){case 1:t=1;break;case 2:t=4;break;case 3:t=2;break;default:t=0}return t}(t),this.pressure=(i=t,o=this.buttons,i.pressure||(o?.5:0)),this.bubbles="bubbles"in t&&t.bubbles,this.cancelable="cancelable"in t&&t.cancelable,this.view="view"in t?t.view:null,this.detail="detail"in t?t.detail:null,this.screenX="screenX"in t?t.screenX:0,this.screenY="screenY"in t?t.screenY:0,this.clientX="clientX"in t?t.clientX:0,this.clientY="clientY"in t?t.clientY:0,this.button="button"in t?t.button:0,this.relatedTarget="relatedTarget"in t?t.relatedTarget:null,this.pointerId="pointerId"in t?t.pointerId:0,this.width="width"in t?t.width:0,this.height="height"in t?t.height:0,this.pointerType="pointerType"in t?t.pointerType:"",this.isPrimary="isPrimary"in t&&t.isPrimary,e.preventDefault&&(this.preventDefault=function(){e.preventDefault()})}Ri=Hi,o=Yi,e=Ni,i(Ji,qi),(Ey=Ji.prototype).tl=function(t){var e;_i(this,t)||(1..toString()in this.a&&(e=$i(t),yr(this.b,"pointercancel",e,t),delete this.a[1..toString()]),e=$i(t),this.a[1..toString()]=t,yr(this.b,"pointerdown",e,t))},Ey.ul=function(t){var e;_i(this,t)||(e=$i(t),yr(this.b,"pointermove",e,t))},Ey.xl=function(t){var e;_i(this,t)||(e=this.a[1..toString()])&&e.button===t.button&&(e=$i(t),yr(this.b,"pointerup",e,t),delete this.a[1..toString()])},Ey.wl=function(t){var e;_i(this,t)||(e=$i(t),cr(this.b,e,t))},Ey.vl=function(t){var e;_i(this,t)||(e=$i(t),ur(this.b,e,t))},i(Qi,qi),(Ey=Qi.prototype).Cl=function(t){this.a[t.pointerId.toString()]=t;var e=tr(this,t);yr(this.b,"pointerdown",e,t)},Ey.Dl=function(t){var e=tr(this,t);yr(this.b,"pointermove",e,t)},Ey.Gl=function(t){var e=tr(this,t);yr(this.b,"pointerup",e,t),delete this.a[t.pointerId.toString()]},Ey.El=function(t){var e=tr(this,t);ur(this.b,e,t)},Ey.Fl=function(t){var e=tr(this,t);cr(this.b,e,t)},Ey.Bl=function(t){var e=tr(this,t);yr(this.b,"pointercancel",e,t),delete this.a[t.pointerId.toString()]},Ey.Al=function(t){this.b.b(new or("lostpointercapture",t,t))},Ey.zl=function(t){this.b.b(new or("gotpointercapture",t,t))},i(er,qi),(Ey=er.prototype).po=function(t){fr(this.b,t)},Ey.qo=function(t){fr(this.b,t)},Ey.to=function(t){fr(this.b,t)},Ey.ro=function(t){fr(this.b,t)},Ey.so=function(t){fr(this.b,t)},Ey.oo=function(t){fr(this.b,t)},Ey.sl=function(t){fr(this.b,t)},Ey.Lk=function(t){fr(this.b,t)},i(or,I);var ir=!1;try{ir=1===new MouseEvent("click",{buttons:1}).buttons}catch(t){}function rr(t,e){qi.call(this,t,{touchstart:this.up,touchmove:this.tp,touchend:this.sp,touchcancel:this.rp}),this.a=t.g,this.j=e,this.g=void 0,this.i=0,this.f=void 0}function nr(t,e,o){function i(){e.preventDefault()}for(var r,n,s,p=Array.prototype.slice.call(e.changedTouches),a=p.length,h=0;h<a;++h)r=t,n=e,s=p[h],(n=hr(n,s)).pointerId=s.identifier+2,n.bubbles=!0,n.cancelable=!0,n.detail=r.i,n.button=0,n.buttons=1,n.width=s.webkitRadiusX||s.radiusX||0,n.height=s.webkitRadiusY||s.radiusY||0,n.pressure=s.webkitForce||s.force||.5,n.isPrimary=r.g===s.identifier,n.pointerType="touch",n.clientX=s.clientX,n.clientY=s.clientY,n.screenX=s.screenX,n.screenY=s.screenY,(n=n).preventDefault=i,o.call(t,e,n)}function sr(t,e){var o,i=t.j.g,e=e.changedTouches[0];t.g===e.identifier&&(o=[e.clientX,e.clientY],i.push(o),setTimeout(function(){var t=i.indexOf(o);-1<t&&i.splice(t,1)},2500))}function pr(t){k.call(this),this.i=t,this.g={},this.c={},this.a=[],Wi?ar(this,new er(this)):zi?ar(this,new Qi(this)):(ar(this,t=new Ji(this)),Vi&&ar(this,new rr(this,t))),t=this.a.length;for(var e,o,i=0;i<t;i++)e=this.a[i],o=this,Object.keys(e.c).forEach(function(t){P(this.i,t,this.f,this)},o)}function ar(t,o){var e=Object.keys(o.c);e&&(e.forEach(function(t){var e=o.c[t];e&&(this.c[t]=e.bind(o))},t),t.a.push(o))}function hr(t,e){for(var o,i={},r=0,n=gr.length;r<n;r++)i[o=gr[r][0]]=t[o]||e[o]||gr[r][1];return i}function lr(t,e,o){e.bubbles=!1,yr(t,"pointerleave",e,o)}function ur(t,e,o){t.out(e,o);var i=e.target,r=e.relatedTarget;i&&r&&i.contains(r)||lr(t,e,o)}function cr(t,e,o){e.bubbles=!0,yr(t,"pointerover",e,o);var i=e.target,r=e.relatedTarget;i&&r&&i.contains(r)||(e.bubbles=!1,yr(t,"pointerenter",e,o))}function yr(t,e,o,i){t.b(new or(e,i,o))}function fr(t,e){t.b(new or(e.type,e,e))}i(rr,qi),(Ey=rr.prototype).mi=function(){this.i=0,this.f=void 0},Ey.up=function(t){var e=t.touches,o=Object.keys(this.a),i=o.length;if(i>=e.length){for(var r=[],n=0;n<i;++n){var s,p=o[n],a=this.a[p];if(!(s=1==p))t:{s=e.length;for(var h=0;h<s;h++)if(e[h].identifier===p-2){s=!0;break t}s=!1}s||r.push(a.out)}for(n=0;n<r.length;++n)this.ef(t,r[n])}e=t.changedTouches[0],(0===(o=Object.keys(this.a).length)||1===o&&1..toString()in this.a)&&(this.g=e.identifier,void 0!==this.f&&clearTimeout(this.f)),sr(this,t),this.i++,nr(this,t,this.ko)},Ey.ko=function(t,e){this.a[e.pointerId]={target:e.target,out:e,Xh:e.target};var o=this.b;e.bubbles=!0,yr(o,"pointerover",e,t),o=this.b,e.bubbles=!1,yr(o,"pointerenter",e,t),yr(this.b,"pointerdown",e,t)},Ey.tp=function(t){t.preventDefault(),nr(this,t,this.yl)},Ey.yl=function(t,e){var o,i,r=this.a[e.pointerId];r&&(o=r.out,i=r.Xh,yr(this.b,"pointermove",e,t),o&&i!==e.target&&(o.relatedTarget=e.target,e.relatedTarget=i,o.target=i,e.target?(ur(this.b,o,t),cr(this.b,e,t)):(e.target=i,e.relatedTarget=null,this.ef(t,e))),r.out=e,r.Xh=e.target)},Ey.sp=function(t){sr(this,t),nr(this,t,this.vp)},Ey.vp=function(t,e){yr(this.b,"pointerup",e,t),this.b.out(e,t),lr(this.b,e,t),delete this.a[e.pointerId],e.isPrimary&&(this.g=void 0,this.f=setTimeout(this.mi.bind(this),200))},Ey.rp=function(t){nr(this,t,this.ef)},Ey.ef=function(t,e){yr(this.b,"pointercancel",e,t),this.b.out(e,t),lr(this.b,e,t),delete this.a[e.pointerId],e.isPrimary&&(this.g=void 0,this.f=setTimeout(this.mi.bind(this),200))},i(pr,k),pr.prototype.f=function(t){var e=this.c[t.type];e&&e(t)},pr.prototype.out=function(t,e){t.bubbles=!0,yr(this,"pointerout",t,e)};var gr=[["bubbles",!(pr.prototype.oa=function(){for(var t,e,o=this.a.length,i=0;i<o;i++)t=this.a[i],e=this,Object.keys(t.c).forEach(function(t){A(this.i,t,this.f,this)},e);k.prototype.oa.call(this)})],["cancelable",!1],["view",null],["detail",null],["screenX",0],["screenY",0],["clientX",0],["clientY",0],["ctrlKey",!1],["altKey",!1],["shiftKey",!1],["metaKey",!1],["button",0],["relatedTarget",null],["buttons",0],["pointerId",0],["width",0],["height",0],["pressure",0],["tiltX",0],["tiltY",0],["pointerType",""],["hwTimestamp",0],["isPrimary",!1],["type",""],["target",null],["currentTarget",null],["which",0]];function dr(t){k.call(this),this.f=t,this.j=0,this.l=!1,this.c=[],this.g=null,t=this.f.f,this.u=0,this.H={},this.i=new pr(t),this.a=null,this.o=P(this.i,"pointerdown",this.cl,this),this.v=P(this.i,"pointermove",this.So,this)}function vr(t,e){"pointerup"==e.type||"pointercancel"==e.type?delete t.H[e.pointerId]:"pointerdown"==e.type&&(t.H[e.pointerId]=!0),t.u=Object.keys(t.H).length}function br(t,e){k.call(this),this.Ca=t,this.state=e,this.a=null,this.key=""}function mr(t){if(!t.a)return t;var e=t.a;do{if(e.W()==wr)return e}while(e=e.a);return t}i(dr,k),(Ey=dr.prototype).$g=function(t){vr(this,t);var e,o=new Ci("pointerup",this.f,t);this.b(o),this.l||0!==t.button||(e=(o=this).g,t=new Ci("click",o.f,e),o.b(t),0!==o.j?(clearTimeout(o.j),o.j=0,t=new Ci("dblclick",o.f,e),o.b(t)):o.j=setTimeout(function(){this.j=0;var t=new Ci("singleclick",this.f,e);this.b(t)}.bind(o),250)),0===this.u&&(this.c.forEach(E),this.c.length=0,this.l=!1,this.g=null,N(this.a),this.a=null)},Ey.cl=function(t){vr(this,t);var e=new Ci("pointerdown",this.f,t);this.b(e),this.g=t,0===this.c.length&&(this.a=new pr(document),this.c.push(P(this.a,"pointermove",this.Vl,this),P(this.a,"pointerup",this.$g,this),P(this.i,"pointercancel",this.$g,this)))},Ey.Vl=function(t){var e;t.clientX==this.g.clientX&&t.clientY==this.g.clientY||(this.l=!0,e=new Ci("pointerdrag",this.f,t,this.l),this.b(e)),t.preventDefault()},Ey.So=function(t){this.b(new Ci(t.type,this.f,t,!(!this.g||t.clientX==this.g.clientX&&t.clientY==this.g.clientY)))},Ey.oa=function(){this.v&&(E(this.v),this.v=null),this.o&&(E(this.o),this.o=null),this.c.forEach(E),this.c.length=0,this.a&&(N(this.a),this.a=null),this.i&&(N(this.i),this.i=null),k.prototype.oa.call(this)},i(br,k),br.prototype.s=function(){this.b("change")},br.prototype.bb=function(){return this.key+"/"+this.Ca},br.prototype.c=function(){return this.Ca},br.prototype.W=function(){return this.state};var wr=2;function xr(t,e){this.o=t,this.f=e,this.b=[],this.g=[],this.a={}}function Sr(t){var e=t.b,o=t.g,i=e[0];return 1==e.length?(e.length=0,o.length=0):(e[0]=e.pop(),o[0]=o.pop(),Mr(t,0)),e=t.f(i),delete t.a[e],i}function Mr(t,e){for(var o=t.b,i=t.g,r=o.length,n=o[e],s=i[e],p=e;e<r>>1;){var a=2*e+1,h=2*e+2,a=h<r&&i[h]<i[a]?h:a;o[e]=o[a],i[e]=i[a],e=a}o[e]=n,i[e]=s,Pr(t,p,e)}function Pr(t,e,o){var i=t.b;t=t.g;for(var r=i[o],n=t[o];e<o;){var s=o-1>>1;if(!(t[s]>n))break;i[o]=i[s],t[o]=t[s],o=s}i[o]=r,t[o]=n}function Tr(t){for(var e,o,i=t.o,r=t.b,n=t.g,s=0,p=r.length,a=0;a<p;++a)1/0==(o=i(e=r[a]))?delete t.a[t.f(e)]:(n[s]=o,r[s++]=e);for(r.length=s,n.length=s,i=(t.b.length>>1)-1;0<=i;i--)Mr(t,i)}function Ar(e,t){xr.call(this,function(t){return e.apply(null,t)},function(t){return t[0].bb()}),this.v=t,this.j=0,this.i={}}function Er(t,e,o){for(var i,r,n=0;t.j<e&&n<o&&0<t.b.length;)r=(i=Sr(t)[0]).bb(),0!==i.W()||r in t.i||(t.i[r]=!0,++t.j,++n,i.load())}function Cr(t,e,o){this.c=t,this.f=e,this.i=o,this.b=[],this.a=this.g=0}function jr(t){X.call(this),this.v=null,this.Ea(!0),this.handleEvent=t.handleEvent}function Lr(t,e,o,i){var r,n;void 0!==e&&(r=t.Ra(),n=t.fb(),void 0!==r&&n&&0<i?t.animate({rotation:e,anchor:o,duration:i,easing:vt}):t.rotate(e,o))}function Rr(t,e,o,i){var r=t.Oa();e=t.constrainResolution(r,e,0),Nr(t,e,o,i)}function Nr(t,e,o,i){var r,n;e&&(r=t.Oa(),n=t.fb(),void 0!==r&&n&&e!==r&&i?t.animate({resolution:e,anchor:o,duration:i,easing:vt}):(o&&(o=co(t,e,o),t.Mb(o)),t.Oc(e)))}xr.prototype.clear=function(){this.b.length=0,this.g.length=0,l(this.a)},xr.prototype.c=function(t){O(!(this.f(t)in this.a),31);var e=this.o(t);return 1/0!=e&&(this.b.push(t),this.g.push(e),this.a[this.f(t)]=!0,Pr(this,0,this.b.length-1),!0)},i(Ar,xr),Ar.prototype.c=function(t){var e=xr.prototype.c.call(this,t);return e&&P(t[0],"change",this.l,this),e},Ar.prototype.l=function(t){var e=(t=t.target).W();e!==wr&&3!==e&&4!==e&&5!==e||(A(t,"change",this.l,this),(t=t.bb())in this.i&&(delete this.i[t],--this.j),this.v())},i(jr,X),jr.prototype.f=function(){return this.get(Ir)},jr.prototype.c=function(){return this.v},jr.prototype.Ea=function(t){this.set(Ir,t)},jr.prototype.setMap=function(t){this.v=t};var Ir="active";function Fr(t){t=t||{},this.a=t.delta||1,jr.call(this,{handleEvent:kr}),this.i=void 0!==t.duration?t.duration:250}function kr(t){var e=!1,o=t.originalEvent;return"dblclick"==t.type&&(e=t.coordinate,o=o.shiftKey?-this.a:this.a,Rr(t.map.aa(),o,e,this.i),t.preventDefault(),e=!0),!e}function Or(t){return(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey}function Dr(t){return 0==(t=t.originalEvent).button&&!(Oi&&Di&&t.ctrlKey)}function Br(t){return"pointermove"==t.type}function Ur(t){return"singleclick"==t.type}function Gr(t){return!(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey}function Kr(t){return!(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey}function Xr(t){return"INPUT"!==(t=t.originalEvent.target.tagName)&&"SELECT"!==t&&"TEXTAREA"!==t}function Vr(t){return O(t.b,56),"mouse"==t.b.pointerType}function Wr(t){return(t=t.b).isPrimary&&0===t.button}function zr(t){jr.call(this,{handleEvent:(t=t||{}).handleEvent||Yr}),this.Ve=t.handleDownEvent||Qt,this.bf=t.handleDragEvent||p,this.cf=t.handleMoveEvent||p,this.df=t.handleUpEvent||Qt,this.A=!1,this.Z={},this.l=[]}function Hr(t){for(var e=t.length,o=0,i=0,r=0;r<e;r++)o+=t[r].clientX,i+=t[r].clientY;return[o/e,i/e]}function Yr(t){if(!(t instanceof Ci))return!0;var e=!1,o=t.type;return"pointerdown"!==o&&"pointerdrag"!==o&&"pointerup"!==o||(o=t.b,"pointerup"==t.type?delete this.Z[o.pointerId]:("pointerdown"==t.type||o.pointerId in this.Z)&&(this.Z[o.pointerId]=o),this.l=x(this.Z)),this.A&&("pointerdrag"==t.type?this.bf(t):"pointerup"==t.type&&(this.A=this.df(t))),"pointerdown"==t.type?(this.A=t=this.Ve(t),e=this.Qc(t)):"pointermove"==t.type&&this.cf(t),!e}function Zr(t){zr.call(this,{handleDownEvent:_r,handleDragEvent:qr,handleUpEvent:Jr}),t=t||{},this.a=t.kinetic,this.i=null,this.o=t.condition||Gr,this.j=!1}function qr(t){var e,o,i=Hr(this.l);this.a&&this.a.b.push(i[0],i[1],Date.now()),this.i&&(ct(o=[o=this.i[0]-i[0],i[1]-this.i[1]],(e=(t=t.map.aa()).W()).resolution),ut(o,e.rotation),st(o,e.center),o=t.Zd(o),t.Mb(o)),this.i=i}function Jr(t){var e,o=t.map;if(t=o.aa(),0!==this.l.length)return!(this.i=null);if(e=!this.j&&this.a)if((e=this.a).b.length<6)e=!1;else{var i=Date.now()-e.i,r=e.b.length-3;if(e.b[r+2]<i)e=!1;else{for(var n=r-3;0<n&&e.b[n+2]>i;)n-=3;var i=e.b[r+2]-e.b[n+2],s=e.b[r]-e.b[n],r=e.b[r+1]-e.b[n+1];e.g=Math.atan2(r,s),e.a=Math.sqrt(s*s+r*r)/i,e=e.a>e.f}}return e&&(e=((e=this.a).f-e.a)/e.c,r=this.a.g,n=t.fb(),n=o.Ga(n),o=o.Sa([n[0]-e*Math.cos(r),n[1]-e*Math.sin(r)]),t.animate({center:t.Zd(o),duration:500,easing:vt})),vo(t,1,-1),!1}function _r(t){if(0<this.l.length&&this.o(t)){var e=t.map.aa();return this.i=null,this.A||vo(e,1,1),e.Mb(t.frameState.viewState.center),this.a&&((t=this.a).b.length=0,t.g=0,t.a=0),this.j=1<this.l.length,!0}return!1}function $r(t){t=t||{},zr.call(this,{handleDownEvent:en,handleDragEvent:Qr,handleUpEvent:tn}),this.i=t.condition||Or,this.a=void 0,this.j=void 0!==t.duration?t.duration:250}function Qr(t){var e,o,i;Vr(t)&&(e=(o=t.map).nb(),t=t.pixel,e=Math.atan2(e[1]/2-t[1],t[0]-e[0]/2),void 0!==this.a&&(t=e-this.a,i=(o=o.aa()).Ra(),Lr(o,i-t)),this.a=e)}function tn(t){if(!Vr(t))return!0;vo(t=t.map.aa(),1,-1);var e=t.Ra(),o=this.j,e=t.constrainRotation(e,0);return Lr(t,e,void 0,o),!1}function en(t){return!!(Vr(t)&&Dr(t)&&this.i(t))&&(vo(t.map.aa(),1,1),!(this.a=void 0))}function on(t){this.f=null,this.a=document.createElement("div"),this.a.style.position="absolute",this.a.className="ol-box "+t,this.g=this.c=this.b=null}function rn(t){var e=t.c,o=t.g;(t=t.a.style).left=Math.min(e[0],o[0])+"px",t.top=Math.min(e[1],o[1])+"px",t.width=Math.abs(o[0]-e[0])+"px",t.height=Math.abs(o[1]-e[1])+"px"}function nn(t){var e=t.c,o=t.g;(e=[e,[e[0],o[1]],o,[o[0],e[1]]].map(t.b.Sa,t.b))[4]=e[0].slice(),t.f?t.f.qa([e]):t.f=new io([e])}function sn(t){zr.call(this,{handleDownEvent:ln,handleDragEvent:an,handleUpEvent:hn}),t=t||{},this.a=new on(t.className||"ol-dragbox"),this.i=null,this.u=t.condition||$t,this.o=t.boxEndCondition||pn}function pn(t,e,o){return 64<=(t=o[0]-e[0])*t+(e=o[1]-e[1])*e}function an(t){var e,o;Vr(t)&&(e=this.a,o=t.pixel,e.c=this.i,e.g=o,nn(e),rn(e),this.b(new fn(cn,t.coordinate,t)))}function hn(t){return!Vr(t)||(this.a.setMap(null),this.o(t,this.i,t.pixel)&&(this.j(t),this.b(new fn(yn,t.coordinate,t))),!1)}function ln(t){if(Vr(t)&&Dr(t)&&this.u(t)){this.i=t.pixel,this.a.setMap(t.map);var e=this.a,o=this.i;return e.c=this.i,e.g=o,nn(e),rn(e),this.b(new fn(un,t.coordinate,t)),!0}return!1}i(Fr,jr),i(zr,jr),zr.prototype.Qc=function(t){return t},i(Zr,zr),Zr.prototype.Qc=Qt,i($r,zr),$r.prototype.Qc=Qt,i(on,R),on.prototype.oa=function(){this.setMap(null)},on.prototype.setMap=function(t){var e;this.b&&(this.b.A.removeChild(this.a),(e=this.a.style).left=e.top=e.width=e.height="inherit"),(this.b=t)&&this.b.A.appendChild(this.a)},on.prototype.V=function(){return this.f},i(sn,zr),sn.prototype.V=function(){return this.a.V()},sn.prototype.j=p;var un="boxstart",cn="boxdrag",yn="boxend";function fn(t,e,o){I.call(this,t),this.coordinate=e,this.mapBrowserEvent=o}function gn(t){var e=(t=t||{}).condition||Kr;this.C=void 0!==t.duration?t.duration:200,this.D=void 0!==t.out&&t.out,sn.call(this,{condition:e,className:t.className||"ol-dragzoom"})}function dn(t){jr.call(this,{handleEvent:vn}),t=t||{},this.a=function(t){return Gr(t)&&Xr(t)},this.i=void 0!==t.condition?t.condition:this.a,this.j=void 0!==t.duration?t.duration:100,this.l=void 0!==t.pixelDelta?t.pixelDelta:128}function vn(t){var e,o,i,r,n=!1;return"keydown"==t.type&&(e=t.originalEvent.keyCode,!this.i(t)||40!=e&&37!=e&&39!=e&&38!=e||(o=(n=t.map.aa()).Oa()*this.l,r=i=0,40==e?r=-o:37==e?i=-o:39==e?i=o:r=o,ut(o=[i,r],n.Ra()),e=this.j,(i=n.fb())&&(o=n.Zd([i[0]+o[0],i[1]+o[1]]),e?n.animate({duration:e,easing:mt,center:o}):n.Mb(o)),t.preventDefault(),n=!0)),!n}function bn(t){jr.call(this,{handleEvent:mn}),t=t||{},this.i=t.condition||Xr,this.a=t.delta||1,this.j=void 0!==t.duration?t.duration:100}function mn(t){var e,o=!1;return"keydown"!=t.type&&"keypress"!=t.type||(e=t.originalEvent.charCode,!this.i(t)||43!=e&&45!=e||(o=43==e?this.a:-this.a,Rr(e=t.map.aa(),o,void 0,this.j),t.preventDefault(),o=!0)),!o}function wn(t){jr.call(this,{handleEvent:xn}),t=t||{},this.j=0,this.L=void 0!==t.duration?t.duration:250,this.U=void 0!==t.timeout?t.timeout:80,this.A=void 0===t.useAnchor||t.useAnchor,this.a=null,this.o=this.l=this.u=this.i=void 0}function xn(t){if("wheel"!==(o=t.type)&&"mousewheel"!==o)return!0;t.preventDefault();var e,o=t.map,i=t.originalEvent;if(this.A&&(this.a=t.coordinate),"wheel"==t.type?(e=i.deltaY,Fi&&i.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(e/=Bi),i.deltaMode===WheelEvent.DOM_DELTA_LINE&&(e*=40)):"mousewheel"==t.type&&(e=-i.wheelDeltaY,ki&&(e/=3)),0===e)return!1;if(t=Date.now(),void 0===this.i&&(this.i=t),(!this.l||400<t-this.i)&&(this.l=Math.abs(e)<4?Sn:Mn),this.l!==Sn)return this.j+=e,t=Math.max(this.U-(t-this.i),0),clearTimeout(this.u),this.u=setTimeout(this.D.bind(this,o),t),!1;o=o.aa(),this.o?clearTimeout(this.o):vo(o,1,1),this.o=setTimeout(this.C.bind(this),400),e=o.Oa()*Math.pow(2,e/300);var r,i=o.j,n=o.a,s=0;return e<i?(e=Math.max(e,i/1.5),s=1):n<e&&(e=Math.min(e,1.5*n),s=-1),this.a&&(r=co(o,e,this.a),o.Mb(r)),o.Oc(e),0<s?o.animate({resolution:i,easing:vt,anchor:this.a,duration:500}):s<0&&o.animate({resolution:n,easing:vt,anchor:this.a,duration:500}),this.i=t,!1}i(fn,I),i(gn,sn),gn.prototype.j=function(){var t=(r=this.v).aa(),e=r.nb(),o=this.V().G();if(this.D){for(var i=t.Uc(e),o=[r.Ga(Ut(o)),r.Ga(Ht(o))],r=Lt(1/0,1/0,-1/0,-1/0,void 0),n=0,s=o.length;n<s;++n)kt(r,o[n]);Jt(i,1/fo(r,e)),o=i}e=t.constrainResolution(fo(o,e)),t.animate({resolution:e,center:Kt(o),duration:this.C,easing:vt})},i(dn,jr),i(bn,jr),i(wn,jr),wn.prototype.C=function(){this.o=void 0,vo(this.v.aa(),1,-1)},wn.prototype.D=function(t){0<yo(t=t.aa())[xo]&&lo(t),Rr(t,-v(this.j,-1,1),this.a,this.L),this.l=void 0,this.j=0,this.a=null,this.u=this.i=void 0},wn.prototype.P=function(t){(this.A=t)||(this.a=null)};var Sn="trackpad",Mn="wheel";function Pn(t){zr.call(this,{handleDownEvent:En,handleDragEvent:Tn,handleUpEvent:An}),t=t||{},this.i=null,this.j=void 0,this.a=!1,this.o=0,this.C=void 0!==t.threshold?t.threshold:.3,this.u=void 0!==t.duration?t.duration:250}function Tn(t){var e=0,o=this.l[0],i=this.l[1],o=Math.atan2(i.clientY-o.clientY,i.clientX-o.clientX);void 0!==this.j&&(e=o-this.j,this.o+=e,!this.a&&Math.abs(this.o)>this.C&&(this.a=!0)),this.j=o,o=(t=t.map).f.getBoundingClientRect(),(i=Hr(this.l))[0]-=o.left,i[1]-=o.top,this.i=t.Sa(i),this.a&&(i=(o=t.aa()).Ra(),t.render(),Lr(o,i+e,this.i))}function An(t){var e,o,i;return!(this.l.length<2)||(vo(t=t.map.aa(),1,-1),this.a&&(i=t.Ra(),e=this.i,o=this.u,i=t.constrainRotation(i,0),Lr(t,i,e,o)),!1)}function En(t){return 2<=this.l.length&&(t=t.map,this.i=null,this.j=void 0,this.a=!1,this.o=0,this.A||vo(t.aa(),1,1),!0)}function Cn(t){zr.call(this,{handleDownEvent:Rn,handleDragEvent:jn,handleUpEvent:Ln}),t=t||{},this.o=t.constrainResolution||!1,this.i=null,this.u=void 0!==t.duration?t.duration:400,this.a=void 0,this.j=1}function jn(t){var e=1,o=this.l[0],i=this.l[1],r=o.clientX-i.clientX,o=o.clientY-i.clientY,r=Math.sqrt(r*r+o*o);void 0!==this.a&&(e=this.a/r),this.a=r,1!=e&&(this.j=e);var o=(r=(t=t.map).aa()).Oa(),i=t.f.getBoundingClientRect(),n=Hr(this.l);n[0]-=i.left,n[1]-=i.top,this.i=t.Sa(n),t.render(),Nr(r,o*e,this.i)}function Ln(t){var e,o,i;return!(this.l.length<2)||(vo(t=t.map.aa(),1,-1),this.o&&(i=t.Oa(),e=this.i,o=this.u,i=t.constrainResolution(i,0,this.j-1),Nr(t,i,e,o)),!1)}function Rn(t){return 2<=this.l.length&&(t=t.map,this.i=null,this.a=void 0,this.j=1,this.A||vo(t.aa(),1,1),!0)}function Nn(t){t=t||{};var e=new Xo,o=new Cr(-.005,.05,100);return void 0!==t.altShiftDragRotate&&!t.altShiftDragRotate||e.push(new $r),void 0!==t.doubleClickZoom&&!t.doubleClickZoom||e.push(new Fr({delta:t.zoomDelta,duration:t.zoomDuration})),void 0!==t.dragPan&&!t.dragPan||e.push(new Zr({kinetic:o})),void 0!==t.pinchRotate&&!t.pinchRotate||e.push(new Pn),void 0!==t.pinchZoom&&!t.pinchZoom||e.push(new Cn({duration:t.zoomDuration})),void 0!==t.keyboard&&!t.keyboard||(e.push(new dn),e.push(new bn({delta:t.zoomDelta,duration:t.zoomDuration}))),void 0!==t.mouseWheelZoom&&!t.mouseWheelZoom||e.push(new wn({duration:t.zoomDuration})),void 0!==t.shiftDragZoom&&!t.shiftDragZoom||e.push(new gn({duration:t.zoomDuration})),e}function In(t){X.call(this);var e=L({},t);e[kn]=void 0!==t.opacity?t.opacity:1,e[On]=void 0===t.visible||t.visible,e[Bn]=void 0!==t.zIndex?t.zIndex:0,e[Un]=void 0!==t.maxResolution?t.maxResolution:1/0,e[Gn]=void 0!==t.minResolution?t.minResolution:0,this.I(e),this.a={layer:this,me:!0}}function Fn(t){return t.a.opacity=v(t.Yb(),0,1),t.a.Ei=t.uf(),t.a.visible=t.Fb(),t.a.extent=t.G(),t.a.zIndex=t.Zb(),t.a.maxResolution=t.Wb(),t.a.minResolution=Math.max(t.Xb(),0),t.a}i(Pn,zr),Pn.prototype.Qc=Qt,i(Cn,zr),Cn.prototype.Qc=Qt,i(In,X),(Ey=In.prototype).G=function(){return this.get(Dn)},Ey.Wb=function(){return this.get(Un)},Ey.Xb=function(){return this.get(Gn)},Ey.Yb=function(){return this.get(kn)},Ey.Fb=function(){return this.get(On)},Ey.Zb=function(){return this.get(Bn)},Ey.kc=function(t){this.set(Dn,t)},Ey.pc=function(t){this.set(Un,t)},Ey.qc=function(t){this.set(Gn,t)},Ey.lc=function(t){this.set(kn,t)},Ey.mc=function(t){this.set(On,t)},Ey.nc=function(t){this.set(Bn,t)};var kn="opacity",On="visible",Dn="extent",Bn="zIndex",Un="maxResolution",Gn="minResolution";function Kn(t){var e=t||{};delete(t=L({},e)).layers,e=e.layers,In.call(this,t),this.c=[],this.f={},P(this,W(Xn),this.Wk,this),e?Array.isArray(e)?e=new Xo(e.slice()):O(e instanceof Xo,43):e=new Xo,this.yh(e)}i(Kn,In),(Ey=Kn.prototype).ie=function(){this.Fb()&&this.s()},Ey.Wk=function(){this.c.forEach(E),this.c.length=0;var t=this.cd();for(o in this.c.push(P(t,zo,this.Vk,this),P(t,Ho,this.Xk,this)),this.f)this.f[o].forEach(E);l(this.f);for(var e,o=0,i=(t=t.a).length;o<i;o++)e=t[o],this.f[B(e).toString()]=[P(e,H,this.ie,this),P(e,"change",this.ie,this)];this.s()},Ey.Vk=function(t){var e=B(t=t.element).toString();this.f[e]=[P(t,H,this.ie,this),P(t,"change",this.ie,this)],this.s()},Ey.Xk=function(t){t=B(t.element).toString(),this.f[t].forEach(E),delete this.f[t],this.s()},Ey.cd=function(){return this.get(Xn)},Ey.yh=function(t){this.set(Xn,t)},Ey.sf=function(t){var e,o,i=void 0!==t?t:[],r=i.length;for(this.cd().forEach(function(t){t.sf(i)}),t=Fn(this),e=i.length;r<e;r++)(o=i[r]).opacity*=t.opacity,o.visible=o.visible&&t.visible,o.maxResolution=Math.min(o.maxResolution,t.maxResolution),o.minResolution=Math.max(o.minResolution,t.minResolution),void 0!==t.extent&&(o.extent=void 0!==o.extent?Wt(o.extent,t.extent):t.extent);return i},Ey.uf=function(){return"ready"};var Xn="layers";function Vn(t){re.call(this,{code:t,units:"m",extent:zn,global:!0,worldExtent:Hn,getPointResolution:function(t,e){return t/h(e[1]/6378137)}})}i(Vn,re);var Wn=6378137*Math.PI,zn=[-Wn,-Wn,Wn,Wn],Hn=[-180,-85,180,85],Yn="EPSG:3857 EPSG:102100 EPSG:102113 EPSG:900913 urn:ogc:def:crs:EPSG:6.18:3:3857 urn:ogc:def:crs:EPSG::3857 http://www.opengis.net/gml/srs/epsg.xml#3857".split(" ").map(function(t){return new Vn(t)});function Zn(t,e,o){var i=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(i));for(var r=0;r<i;r+=o){e[r]=Wn*t[r]/180;var n=6378137*Math.log(Math.tan(Math.PI*(t[r+1]+90)/360));Wn<n?n=Wn:n<-Wn&&(n=-Wn),e[r+1]=n}return e}function qn(t,e,o){var i=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(i));for(var r=0;r<i;r+=o)e[r]=180*t[r]/Wn,e[r+1]=360*Math.atan(Math.exp(t[r+1]/6378137))/Math.PI-90;return e}var Jn=new te(6378137);function _n(t,e){re.call(this,{code:t,units:"degrees",extent:$n,axisOrientation:e,global:!0,metersPerUnit:Qn,worldExtent:$n})}i(_n,re);var $n=[-180,-90,180,90],Qn=Math.PI*Jn.radius/180,ts=[new _n("CRS:84"),new _n("EPSG:4326","neu"),new _n("urn:ogc:def:crs:EPSG::4326","neu"),new _n("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new _n("urn:ogc:def:crs:OGC:1.3:CRS84"),new _n("urn:ogc:def:crs:OGC:2:84"),new _n("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new _n("urn:x-ogc:def:crs:EPSG:4326","neu")];function es(){var t,o,i;le(Yn),le(ts),t=Yn,o=Zn,i=qn,ts.forEach(function(e){t.forEach(function(t){pe(e,t,o),pe(t,e,i)})})}function os(t,e,o,i,r){I.call(this,t),this.vectorContext=e,this.frameState=o,this.context=i,this.glContext=r}function is(t){var e=L({},t);delete e.source,In.call(this,e),this.A=this.v=this.o=null,t.map&&this.setMap(t.map),P(this,W("source"),this.il,this),this.Pc(t.source||null)}function rs(t,e){return t.visible&&e>=t.minResolution&&e<t.maxResolution}function ns(){this.b={},this.a=0}i(os,I),i(is,In),(Ey=is.prototype).sf=function(t){return(t=t||[]).push(Fn(this)),t},Ey.la=function(){return this.get("source")||null},Ey.uf=function(){var t=this.la();return t?t.W():"undefined"},Ey.Rm=function(){this.s()},Ey.il=function(){this.A&&(E(this.A),this.A=null);var t=this.la();t&&(this.A=P(t,"change",this.Rm,this)),this.s()},Ey.setMap=function(t){this.o&&(E(this.o),this.o=null),t||this.s(),this.v&&(E(this.v),this.v=null),t&&(this.o=P(t,"precompose",function(t){var e=Fn(this);e.me=!1,e.zIndex=1/0,t.frameState.layerStatesArray.push(e),t.frameState.layerStates[B(this)]=e},this),this.v=P(this,"change",t.render,t),this.s())},Ey.Pc=function(t){this.set("source",t)},ns.prototype.clear=function(){this.b={},this.a=0},ns.prototype.get=function(t,e,o){return(t=e+":"+t+":"+(o?_o(o):"null"))in this.b?this.b[t]:null},ns.prototype.set=function(t,e,o,i){this.b[e+":"+t+":"+(o?_o(o):"null")]=i,++this.a};var ss=new ns,ps=Array(6);function as(){return[1,0,0,1,0,0]}function hs(t){return us(t,1,0,0,1,0,0)}function ls(t,e){var o=t[0],i=t[1],r=t[2],n=t[3],s=t[4],p=t[5],a=e[0],h=e[1],l=e[2],u=e[3],c=e[4],e=e[5];return t[0]=o*a+r*h,t[1]=i*a+n*h,t[2]=o*l+r*u,t[3]=i*l+n*u,t[4]=o*c+r*e+s,t[5]=i*c+n*e+p,t}function us(t,e,o,i,r,n,s){return t[0]=e,t[1]=o,t[2]=i,t[3]=r,t[4]=n,t[5]=s,t}function cs(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function ys(t,e){var o=e[0],i=e[1];return e[0]=t[0]*o+t[2]*i+t[4],e[1]=t[1]*o+t[3]*i+t[5],e}function fs(t,e){var o=Math.cos(e),e=Math.sin(e);ls(t,us(ps,o,e,-e,o,0,0))}function gs(t,e,o){return ls(t,us(ps,e,0,0,o,0,0))}function ds(t,e,o){ls(t,us(ps,1,0,0,1,e,o))}function vs(t,e,o,i,r,n,s,p){var a=Math.sin(n);return n=Math.cos(n),t[0]=i*n,t[1]=r*a,t[2]=-i*a,t[3]=r*n,t[4]=s*i*n-p*i*a+e,t[5]=s*r*a+p*r*n+o,t}function bs(t){var e=t[0]*t[3]-t[1]*t[2];O(0!=e,32);var o=t[0],i=t[1],r=t[2],n=t[3],s=t[4],p=t[5];return t[0]=n/e,t[1]=-i/e,t[2]=-r/e,t[3]=o/e,t[4]=(r*p-n*s)/e,t[5]=-(o*p-i*s)/e,t}function ms(t,e){this.l=e,this.f={},this.v={}}function ws(t){var e=t.viewState,o=t.coordinateToPixelTransform,i=t.pixelToCoordinateTransform;vs(o,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),bs(cs(i,o))}function xs(){if(32<ss.a){var t,e,o=0;for(t in ss.b)e=ss.b[t],0!=(3&o++)||D(e)||(delete ss.b[t],--ss.a)}}function Ss(t,e){var o=B(e).toString();if(o in t.f)return t.f[o];e=t.Ag(e);return t.f[o]=e,t.v[o]=P(e,"change",t.Uk,t),e}function Ms(t,e){for(var o in t.f)if(!(o in e.layerStates)){e.postRenderFunctions.push(t.Yo.bind(t));break}}function Ps(t,e){return t.zIndex-e.zIndex}function Ts(t){is.call(this,t||{})}function As(t){var e=L({},t=t||{});delete e.preload,delete e.useInterimTilesOnError,is.call(this,e),this.l(void 0!==t.preload?t.preload:0),this.C(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError)}i(ms,R),(Ey=ms.prototype).oa=function(){for(var t in this.f)N(this.f[t])},Ey.Ba=function(t,r,e,n,s,o,i){function p(t,e){var o=B(t).toString(),i=r.layerStates[B(e)].me;if(!(o in r.skippedFeatureUids)||i)return n.call(s,t,i?e:null)}var a,h,l=(c=r.viewState).resolution,u=c.projection,c=t;for(u.a&&(h=Yt(u=u.G()),((f=t[0])<u[0]||f>u[2])&&(c=[f+h*Math.ceil((u[0]-f)/h),t[1]])),h=(u=r.layerStatesArray).length-1;0<=h;--h){var y=u[h],f=y.layer;if(rs(y,l)&&o.call(i,f)&&(y=Ss(this,f),f.la()&&(a=y.Ba(f.la().D?c:t,r,e,p,s)),a))return a}},Ey.Ch=function(t,e,o,i,r){return void 0!==this.Ba(t,e,o,$t,this,i,r)},Ey.Uk=function(){this.l.render()},Ey.ag=p,Ey.Yo=function(t,e){for(var o in this.f){var i,r;e&&o in e.layerStates||(i=o,r=this.f[i],delete this.f[i],E(this.v[i]),delete this.v[i],N(r))}},i(Ts,is),i(As,is),As.prototype.f=function(){return this.get(Es)},As.prototype.l=function(t){this.set(Es,t)},As.prototype.c=function(){return this.get(Cs)},As.prototype.C=function(t){this.set(Cs,t)};var Es="preload",Cs="useInterimTilesOnError";function js(t,e,o,i,r){k.call(this),this.j=r,this.extent=t,this.f=o,this.resolution=e,this.state=i}function Ls(t,e,o,i,r,n,s){js.call(this,t,e,o,Rs,i),this.o=r,this.g=new Image,null!==n&&(this.g.crossOrigin=n),this.i={},this.c=null,this.state=Rs,this.l=s}i(js,k),js.prototype.s=function(){this.b("change")},js.prototype.G=function(){return this.extent},js.prototype.W=function(){return this.state},i(Ls,js),Ls.prototype.a=function(t){return void 0===t?this.g:(t=B(t))in this.i?this.i[t]:(e=U(this.i)?this.g:this.g.cloneNode(!1),this.i[t]=e);var e},Ls.prototype.v=function(){this.state=Fs,this.c.forEach(E),this.c=null,this.s()},Ls.prototype.H=function(){void 0===this.resolution&&(this.resolution=Vt(this.extent)/this.g.height),this.state=Is,this.c.forEach(E),this.c=null,this.s()},Ls.prototype.load=function(){this.state!=Rs&&this.state!=Fs||(this.state=Ns,this.s(),this.c=[T(this.g,"error",this.v,this),T(this.g,"load",this.H,this)],this.l(this,this.o))};var Rs=0,Ns=1,Is=2,Fs=3,ks=[0,0,0,1],Os=[],Ds=[0,0,0,1];function Bs(t,e,o,i){0!==e&&(t.translate(o,i),t.rotate(e),t.translate(-o,-i))}function Us(t){this.l=t.opacity,this.H=t.rotateWithView,this.o=t.rotation,this.i=t.scale,this.u=t.snapToPixel}function Gs(t){this.C=this.A=this.j=null,this.f=void 0!==t.fill?t.fill:null,this.P=[0,0],this.b=t.points,this.a=void 0!==t.radius?t.radius:t.radius1,this.c=void 0!==t.radius2?t.radius2:this.a,this.v=void 0!==t.angle?t.angle:0,this.g=void 0!==t.stroke?t.stroke:null,this.L=this.va=this.U=this.ra=null,this.D=t.atlasManager,Ks(this,this.D),Us.call(this,{opacity:1,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView,rotation:void 0!==t.rotation?t.rotation:0,scale:1,snapToPixel:void 0===t.snapToPixel||t.snapToPixel})}function Ks(t,e){var o,i,r="",n="",s=0,p=null,a=0;t.g&&(i=oi(t.g.b),void 0===(a=t.g.f)&&(a=1),p=t.g.g,Ui||(p=null),void 0===(n=t.g.i)&&(n="round"),void 0===(r=t.g.c)&&(r="round"),void 0===(s=t.g.j)&&(s=10));var h=2*(t.a+a)+1,r={strokeStyle:i,Fi:a,size:h,lineCap:r,lineDash:p,lineJoin:n,miterLimit:s};void 0===e?(n=ii(h,h),t.A=n.canvas,o=h=t.A.width,t.Eg(r,n,0,0),t.L=[r.size,r.size],t.f?t.C=t.A:(n=ii(r.size,r.size),t.C=n.canvas,t.Dg(r,n,0,0))):(h=Math.round(h),(n=!t.f)&&(o=t.Dg.bind(t,r)),s=t.g?(void 0===(s=t.g).a&&(s.a="s",s.a=s.b?"string"==typeof s.b?s.a+s.b:s.a+B(s.b).toString():s.a+"-",s.a+=","+(void 0!==s.c?s.c.toString():"-")+","+(s.g?s.g.toString():"-")+","+(void 0!==s.i?s.i:"-")+","+(void 0!==s.j?s.j.toString():"-")+","+(void 0!==s.f?s.f.toString():"-")),s.a):"-",p=t.f?(void 0===(p=t.f).a&&(p.a=p.b instanceof CanvasPattern||p.b instanceof CanvasGradient?B(p.b).toString():"f"+(p.b?_o(p.b):"-")),p.a):"-",t.j&&s==t.j[1]&&p==t.j[2]&&t.a==t.j[3]&&t.c==t.j[4]&&t.v==t.j[5]&&t.b==t.j[6]||(t.j=["r"+s+p+(void 0!==t.a?t.a.toString():"-")+(void 0!==t.c?t.c.toString():"-")+(void 0!==t.v?t.v.toString():"-")+(void 0!==t.b?t.b.toString():"-"),s,p,t.a,t.c,t.v,t.b]),r=e.add(t.j[0],h,h,t.Eg.bind(t,r),o),t.A=r.image,t.P=[r.offsetX,r.offsetY],o=r.image.width,n?(t.C=r.yf,t.L=[r.yf.width,r.yf.height]):(t.C=t.A,t.L=[o,o])),t.ra=[h/2,h/2],t.U=[h,h],t.va=[o,o]}function Xs(t){Gs.call(this,{points:1/0,fill:(t=t||{}).fill,radius:t.radius,snapToPixel:t.snapToPixel,stroke:t.stroke,atlasManager:t.atlasManager})}function Vs(t){t=t||{},this.b=void 0!==t.color?t.color:null,this.a=void 0}function Ws(t){t=t||{},this.b=void 0!==t.color?t.color:null,this.c=t.lineCap,this.g=void 0!==t.lineDash?t.lineDash:null,this.i=t.lineJoin,this.j=t.miterLimit,this.f=t.width,this.a=void 0}function zs(t){t=t||{},this.i=null,this.c=Js,void 0!==t.geometry&&this.Pa(t.geometry),this.f=void 0!==t.fill?t.fill:null,this.a=void 0!==t.image?t.image:null,this.g=void 0!==t.stroke?t.stroke:null,this.j=void 0!==t.text?t.text:null,this.b=t.zIndex}function Hs(t){var e;return"function"!=typeof t&&(e=Array.isArray(t)?t:(O(t instanceof zs,41),[t]),t=function(){return e}),t}(Ey=Us.prototype).ye=function(){return this.l},Ey.ze=function(){return this.H},Ey.Ae=function(){return this.o},Ey.Be=function(){return this.i},Ey.ee=function(){return this.u},Ey.dd=function(t){this.l=t},Ey.Ce=function(t){this.o=t},Ey.ed=function(t){this.i=t},i(Gs,Us),(Ey=Gs.prototype).clone=function(){var t=new Gs({fill:this.f?this.f.clone():void 0,points:this.c!==this.a?this.b/2:this.b,radius:this.a,radius2:this.c,angle:this.v,snapToPixel:this.u,stroke:this.g?this.g.clone():void 0,rotation:this.o,rotateWithView:this.H,atlasManager:this.D});return t.dd(this.l),t.ed(this.i),t},Ey.Ac=function(){return this.ra},Ey.Nh=function(){return this.v},Ey.Oh=function(){return this.f},Ey.Lf=function(){return this.C},Ey.Ic=function(){return this.A},Ey.de=function(){return this.va},Ey.xe=function(){return Is},Ey.Jc=function(){return this.P},Ey.Ph=function(){return this.b},Ey.Qh=function(){return this.a},Ey.Vg=function(){return this.c},Ey.ac=function(){return this.U},Ey.Rh=function(){return this.g},Ey.eh=p,Ey.load=p,Ey.Ii=p,Ey.Eg=function(t,e,o,i){var r;if(e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),1/0===this.b)e.arc(t.size/2,t.size/2,this.a,0,2*Math.PI,!0);else for(this.c!==this.a&&(this.b*=2),o=0;o<=this.b;o++)i=2*o*Math.PI/this.b-Math.PI/2+this.v,r=0==o%2?this.a:this.c,e.lineTo(t.size/2+r*Math.cos(i),t.size/2+r*Math.sin(i));this.f&&(e.fillStyle=oi(this.f.b),e.fill()),this.g&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.Fi,t.lineDash&&e.setLineDash(t.lineDash),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},Ey.Dg=function(t,e,o,i){var r;if(e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),1/0===this.b)e.arc(t.size/2,t.size/2,this.a,0,2*Math.PI,!0);else for(this.c!==this.a&&(this.b*=2),o=0;o<=this.b;o++)r=2*o*Math.PI/this.b-Math.PI/2+this.v,i=0==o%2?this.a:this.c,e.lineTo(t.size/2+i*Math.cos(r),t.size/2+i*Math.sin(r));e.fillStyle=ks,e.fill(),this.g&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.Fi,t.lineDash&&e.setLineDash(t.lineDash),e.stroke()),e.closePath()},i(Xs,Gs),Xs.prototype.clone=function(){var t=new Xs({fill:this.f?this.f.clone():void 0,stroke:this.g?this.g.clone():void 0,radius:this.a,snapToPixel:this.u,atlasManager:this.D});return t.dd(this.l),t.ed(this.i),t},Xs.prototype.Qa=function(t){this.a=t,Ks(this,this.D)},Vs.prototype.clone=function(){var t=this.b;return new Vs({color:t&&t.slice?t.slice():t||void 0})},Vs.prototype.g=function(){return this.b},Vs.prototype.f=function(t){this.b=t,this.a=void 0},(Ey=Ws.prototype).clone=function(){var t=this.b;return new Ws({color:t&&t.slice?t.slice():t||void 0,lineCap:this.c,lineDash:this.g?this.g.slice():void 0,lineJoin:this.i,miterLimit:this.j,width:this.f})},Ey.In=function(){return this.b},Ey.kk=function(){return this.c},Ey.Jn=function(){return this.g},Ey.lk=function(){return this.i},Ey.rk=function(){return this.j},Ey.Kn=function(){return this.f},Ey.Ln=function(t){this.b=t,this.a=void 0},Ey.ip=function(t){this.c=t,this.a=void 0},Ey.setLineDash=function(t){this.g=t,this.a=void 0},Ey.jp=function(t){this.i=t,this.a=void 0},Ey.kp=function(t){this.j=t,this.a=void 0},Ey.np=function(t){this.f=t,this.a=void 0},(Ey=zs.prototype).clone=function(){var t=this.V();return t&&t.clone&&(t=t.clone()),new zs({geometry:t,fill:this.f?this.f.clone():void 0,image:this.a?this.a.clone():void 0,stroke:this.g?this.g.clone():void 0,text:this.Ka()?this.Ka().clone():void 0,zIndex:this.b})},Ey.V=function(){return this.i},Ey.fk=function(){return this.c},Ey.Mn=function(){return this.f},Ey.Qn=function(t){this.f=t},Ey.Nn=function(){return this.a},Ey.Rn=function(t){this.a=t},Ey.On=function(){return this.g},Ey.Sn=function(t){this.g=t},Ey.Ka=function(){return this.j},Ey.Tn=function(t){this.j=t},Ey.Pn=function(){return this.b},Ey.Pa=function(e){"function"==typeof e?this.c=e:"string"==typeof e?this.c=function(t){return t.get(e)}:e?e&&(this.c=function(){return e}):this.c=Js,this.i=e},Ey.Un=function(t){this.b=t};var Ys=null;function Zs(){var t,e;return Ys||(t=new Vs({color:"rgba(255,255,255,0.4)"}),e=new Ws({color:"#3399CC",width:1.25}),Ys=[new zs({image:new Xs({fill:t,stroke:e,radius:5}),fill:t,stroke:e})]),Ys}function qs(){var t={},e=[255,255,255,1],o=[0,153,255,1];return t.Polygon=[new zs({fill:new Vs({color:[255,255,255,.5]})})],t.MultiPolygon=t.Polygon,t.LineString=[new zs({stroke:new Ws({color:e,width:5})}),new zs({stroke:new Ws({color:o,width:3})})],t.MultiLineString=t.LineString,t.Circle=t.Polygon.concat(t.LineString),t.Point=[new zs({image:new Xs({radius:6,fill:new Vs({color:o}),stroke:new Ws({color:e,width:1.5})}),zIndex:1/0})],t.MultiPoint=t.Point,t.GeometryCollection=t.Polygon.concat(t.LineString,t.Point),t}function Js(t){return t.V()}function _s(t){var e=L({},t=t||{});delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,is.call(this,e),this.i=void 0!==t.renderBuffer?t.renderBuffer:100,this.C=null,this.j=void 0,this.l(t.style),this.Z=void 0!==t.updateWhileAnimating&&t.updateWhileAnimating,this.fa=void 0!==t.updateWhileInteracting&&t.updateWhileInteracting}function $s(t){var e=L({},t=t||{});delete e.preload,delete e.useInterimTilesOnError,_s.call(this,e),this.P(t.preload||0),this.U(t.useInterimTilesOnError||!0),O(null==t.renderMode||t.renderMode==ep||t.renderMode==op||t.renderMode==ip,28),this.u=t.renderMode||op}i(_s,is),_s.prototype.D=function(){return this.C},_s.prototype.L=function(){return this.j},_s.prototype.l=function(t){this.C=void 0!==t?t:Zs,this.j=null===t?void 0:Hs(this.C),this.s()},i($s,_s),$s.prototype.f=function(){return this.get(Qs)},$s.prototype.c=function(){return this.get(tp)},$s.prototype.P=function(t){this.set(Es,t)},$s.prototype.U=function(t){this.set(Cs,t)};var Qs="preload",tp="useInterimTilesOnError",ep="image",op="hybrid",ip="vector";function rp(){}function np(t,e,o,i,r){this.f=t,this.A=e,this.c=o,this.C=i,this.fc=r,this.i=this.b=this.a=this.Z=this.Qa=this.U=null,this.fa=this.eb=this.H=this.ra=this.L=this.D=0,this.sa=!1,this.j=this.zb=0,this.na=!1,this.va=0,this.g="",this.xa=this.Fa=0,this.Ja=!1,this.o=this.Ua=0,this.P=this.v=this.l=null,this.u=[],this.Ob=as()}function sp(t,e,o){if(t.i){e=Pe(e,0,o,2,t.C,t.u),o=t.f;var i=t.Ob,r=o.globalAlpha;1!=t.H&&(o.globalAlpha=r*t.H);var n,s,p=t.zb;for(t.sa&&(p+=t.fc),n=0,s=e.length;n<s;n+=2){var a,h,l=e[n]-t.D,u=e[n+1]-t.L;t.na&&(l=Math.round(l),u=Math.round(u)),0===p&&1==t.j||(vs(i,a=l+t.D,h=u+t.L,t.j,t.j,p,-a,-h),o.setTransform.apply(o,i)),o.drawImage(t.i,t.eb,t.fa,t.va,t.ra,l,u,t.va,t.ra)}0===p&&1==t.j||o.setTransform(1,0,0,1,0,0),1!=t.H&&(o.globalAlpha=r)}}function pp(t,e,o,i){var r=0;if(t.P&&""!==t.g){t.l&&lp(t,t.l),t.v&&up(t,t.v);var n=t.P,s=t.f;for((a=t.Z)?(a.font!=n.font&&(a.font=s.font=n.font),a.textAlign!=n.textAlign&&(a.textAlign=s.textAlign=n.textAlign),a.textBaseline!=n.textBaseline&&(a.textBaseline=s.textBaseline=n.textBaseline)):(s.font=n.font,s.textAlign=n.textAlign,s.textBaseline=n.textBaseline,t.Z={font:n.font,textAlign:n.textAlign,textBaseline:n.textBaseline}),e=Pe(e,r,o,i,t.C,t.u),n=t.f,s=t.Ua,t.Ja&&(s+=t.fc);r<o;r+=i){var p,a=e[r]+t.Fa,h=e[r+1]+t.xa;0===s&&1==t.o||(p=vs(t.Ob,a,h,t.o,t.o,s,-a,-h),n.setTransform.apply(n,p)),t.v&&n.strokeText(t.g,a,h),t.l&&n.fillText(t.g,a,h)}0===s&&1==t.o||n.setTransform(1,0,0,1,0,0)}}function ap(t,e,o,i,r,n){var s=t.f;for(t=Pe(e,o,i,r,t.C,t.u),s.moveTo(t[0],t[1]),e=t.length,n&&(e-=2),o=2;o<e;o+=2)s.lineTo(t[o],t[o+1]);return n&&s.closePath(),i}function hp(t,e,o,i,r){for(var n=0,s=i.length;n<s;++n)o=ap(t,e,o,i[n],r,!0);return o}function lp(t,e){var o=t.f,i=t.U;i?i.fillStyle!=e.fillStyle&&(i.fillStyle=o.fillStyle=e.fillStyle):(o.fillStyle=e.fillStyle,t.U={fillStyle:e.fillStyle})}function up(t,e){var o=t.f,i=t.Qa;i?(i.lineCap!=e.lineCap&&(i.lineCap=o.lineCap=e.lineCap),Ui&&!Q(i.lineDash,e.lineDash)&&o.setLineDash(i.lineDash=e.lineDash),i.lineJoin!=e.lineJoin&&(i.lineJoin=o.lineJoin=e.lineJoin),i.lineWidth!=e.lineWidth&&(i.lineWidth=o.lineWidth=e.lineWidth),i.miterLimit!=e.miterLimit&&(i.miterLimit=o.miterLimit=e.miterLimit),i.strokeStyle!=e.strokeStyle&&(i.strokeStyle=o.strokeStyle=e.strokeStyle)):(o.lineCap=e.lineCap,Ui&&o.setLineDash(e.lineDash),o.lineJoin=e.lineJoin,o.lineWidth=e.lineWidth,o.miterLimit=e.miterLimit,o.strokeStyle=e.strokeStyle,t.Qa={lineCap:e.lineCap,lineDash:e.lineDash,lineJoin:e.lineJoin,lineWidth:e.lineWidth,miterLimit:e.miterLimit,strokeStyle:e.strokeStyle})}function cp(t){G.call(this),this.a=t}function yp(t,e){var o=e.W();return o!=Is&&o!=Fs&&P(e,"change",t.Fa,t),o==Rs&&(e.load(),o=e.W()),o==Is}function fp(t){var e=t.a;e.Fb()&&"ready"==e.uf()&&t.s()}function gp(t,e){e.Ih()&&t.postRenderFunctions.push(function(t,e,o){e=B(t).toString(),t.Wc(o.viewState.projection,o.usedTiles[e])}.bind(null,e))}function dp(t,e){if(e)for(var o,i=0,r=e.length;i<r;++i)t[B(o=e[i]).toString()]=o}function vp(t,e){e=e.L;void 0!==e&&("string"==typeof e?t.logos[e]="":e&&(O("string"==typeof e.href,44),O("string"==typeof e.src,45),t.logos[e.src]=e.href))}function bp(t,e,o,i){e=B(e).toString(),o=o.toString(),e in t?o in t[e]?(t=t[e][o],i.ea<t.ea&&(t.ea=i.ea),i.ca>t.ca&&(t.ca=i.ca),i.ga<t.ga&&(t.ga=i.ga),i.ja>t.ja&&(t.ja=i.ja)):t[e][o]=i:(t[e]={},t[e][o]=i)}function mp(t,e,o,i,r,n,s,p,a,h){var l=B(e).toString();l in t.wantedTiles||(t.wantedTiles[l]={});var u=t.wantedTiles[l];t=t.tileQueue;for(var c,y,f,g,d,v=o.minZoom,b=s;v<=b;--b)for(y=Fo(o,n,b,y),f=o.Ha(b),g=y.ea;g<=y.ca;++g)for(d=y.ga;d<=y.ja;++d)s-b<=p?(0==(c=e.Dc(b,g,d,i,r)).W()&&(u[c.bb()]=!0,c.bb()in t.a||t.c([c,l,ko(o,c.Ca),f])),void 0!==a&&a.call(h,c)):e.ig(b,g,d,r)}function wp(t){cp.call(this,t),this.xa=as()}function xp(t,e,o){var i=e.pixelRatio,r=e.size[0]*i,n=e.size[1]*i,s=e.viewState.rotation,p=zt(o),a=Ht(o),h=Gt(o);o=Ut(o),ys(e.coordinateToPixelTransform,p),ys(e.coordinateToPixelTransform,a),ys(e.coordinateToPixelTransform,h),ys(e.coordinateToPixelTransform,o),t.save(),Bs(t,-s,r/2,n/2),t.beginPath(),t.moveTo(p[0]*i,p[1]*i),t.lineTo(a[0]*i,a[1]*i),t.lineTo(h[0]*i,h[1]*i),t.lineTo(o[0]*i,o[1]*i),t.clip(),Bs(t,s,r/2,n/2)}function Sp(t,e,o,i,r){var n,s,p,a=t.a;D(a,e)&&(n=i.size[0]*i.pixelRatio,s=i.size[1]*i.pixelRatio,Bs(o,-(p=i.viewState.rotation),n/2,s/2),t=void 0!==r?r:Mp(t,i,0),a.b(new os(e,new np(o,i.pixelRatio,i.extent,t,i.viewState.rotation),i,o,null)),Bs(o,p,n/2,s/2))}function Mp(t,e,o){var i=e.viewState,r=e.pixelRatio,n=r/i.resolution;return vs(t.xa,r*e.size[0]/2,r*e.size[1]/2,n,-n,-i.rotation,-i.center[0]+o,-i.center[1])}function Pp(t){wp.call(this,t),this.u=as(),this.i=null}function Tp(t){Pp.call(this,t),this.f=null,this.j=as()}function Ap(t){Pp.call(this,t),this.L=ii(),this.j=null,this.f=[],this.H=jt(),this.Ua=new So(0,0,0,0),this.U=as(),this.na=0}function Ep(){}function Cp(t,e,o,i){this.zb=t,this.Qa=e,this.overlaps=i,this.c=0,this.resolution=o,this.va=this.ra=null,this.a=[],this.coordinates=[],this.Z=as(),this.b=[],this.eb=[],this.sa=as(),this.fa=as()}function jp(t,e,o,i,r,n,s){var p=t.coordinates.length,a=t.mf();s&&(o+=r),s=[e[o],e[o+1]];for(var h,l,u=[NaN,NaN],c=!0,y=o+r;y<i;y+=r)u[0]=e[y],u[1]=e[y+1],c=(l=Ct(a,u))!==h?(c&&(t.coordinates[p++]=s[0],t.coordinates[p++]=s[1]),t.coordinates[p++]=u[0],t.coordinates[p++]=u[1],!1):1!==l||(t.coordinates[p++]=u[0],t.coordinates[p++]=u[1],!1),s[0]=u[0],s[1]=u[1],h=l;return(n&&c||y===o+r)&&(t.coordinates[p++]=s[0],t.coordinates[p++]=s[1]),p}function Lp(t,e){t.ra=[0,e,0],t.a.push(t.ra),t.va=[0,e,0],t.b.push(t.va)}function Rp(t,e,o){var i;t.U&&(i=ys(t.Z,t.U.slice()),e.translate(i[0],i[1]),e.rotate(o)),e.fill(),t.U&&e.setTransform.apply(e,t.fa)}function Np(t,e,o,i,r,n,s,p,a){var h;Q(i,t.Z)?h=t.eb:(h=Pe(t.coordinates,0,t.coordinates.length,2,i,t.eb),cs(t.Z,i)),i=!U(n);for(var l,u,c,y,f,g,d,v=0,b=s.length,m=0,w=t.sa,x=t.fa,S=0,M=0,P=t.a!=s||t.overlaps?0:200;v<b;)switch((N=s[v])[0]){case 0:m=N[1],i&&n[B(m).toString()]||!m.V()?v=N[2]:void 0===a||Zt(a,m.V().G())?++v:v=N[2]+1;break;case 1:P<S&&(Rp(t,e,r),S=0),P<M&&(e.stroke(),M=0),S||M||e.beginPath(),++v;break;case 2:l=h[m=N[1]],N=h[m+1],c=h[m+2]-l,m=h[m+3]-N,m=Math.sqrt(c*c+m*m),e.moveTo(l+m,N),e.arc(l,N,m,0,2*Math.PI,!0),++v;break;case 3:e.closePath(),++v;break;case 4:m=N[1],l=N[2],f=N[3],g=N[4]*o,d=N[5]*o;var T=N[6],A=N[7],E=N[8],C=N[9];I=N[10],c=N[11],y=N[12];var j=N[13],L=N[14];for(I&&(c+=r);m<l;m+=2){var R,N=h[m]-g,I=h[m+1]-d;j&&(N=Math.round(N),I=Math.round(I)),1==y&&0===c||(vs(w,R=N+g,F=I+d,y,y,c,-R,-F),e.setTransform.apply(e,w)),R=e.globalAlpha,1!=A&&(e.globalAlpha=R*A);var F=L+E>f.width?f.width-E:L,k=T+C>f.height?f.height-C:T;e.drawImage(f,E,C,F,k,N,I,F*o,k*o),1!=A&&(e.globalAlpha=R),1==y&&0===c||e.setTransform.apply(e,x)}++v;break;case 5:for(m=N[1],l=N[2],d=N[3],T=N[4]*o,A=N[5]*o,c=N[6],y=N[7]*o,f=N[8],g=N[9],(I=N[10])&&(c+=r);m<l;m+=2){for(N=h[m]+T,I=h[m+1]+A,1==y&&0===c||(vs(w,N,I,y,y,c,-N,-I),e.setTransform.apply(e,w)),1<(C=(E=d.split("\n")).length)?I-=(C-1)/2*(j=Math.round(1.5*e.measureText("M").width)):j=0,L=0;L<C;L++)R=E[L],g&&e.strokeText(R,N,I),f&&e.fillText(R,N,I),I+=j;1==y&&0===c||e.setTransform.apply(e,x)}++v;break;case 6:if(void 0!==p&&(m=p(m=N[1])))return m;++v;break;case 7:P?S++:Rp(t,e,r),++v;break;case 8:for(m=N[1],l=N[2],N=h[m],y=(I=h[m+1])+.5|0,(c=N+.5|0)===u&&y===D||(e.moveTo(N,I),u=c,D=y),m+=2;m<l;m+=2)c=(N=h[m])+.5|0,y=(I=h[m+1])+.5|0,m!=l-2&&c===u&&y===D||(e.lineTo(N,I),u=c,D=y);++v;break;case 9:t.U=N[2],S&&(Rp(t,e,r),S=0),e.fillStyle=N[1],++v;break;case 10:u=void 0===N[7]||N[7];var O=N[8],D=N[2];M&&(e.stroke(),M=0),e.strokeStyle=N[1],e.lineWidth=u?D*o:D,e.lineCap=N[3],e.lineJoin=N[4],e.miterLimit=N[5],Ui&&(D=N[6],u&&o!==O&&(D=D.map(function(t){return t*o/O}),N[6]=D,N[8]=o),e.setLineDash(D)),D=u=NaN,++v;break;case 11:e.font=N[1],e.textAlign=N[2],e.textBaseline=N[3],++v;break;case 12:P?M++:e.stroke(),++v;break;default:++v}S&&Rp(t,e,r),M&&e.stroke()}function Ip(t){var e=t.b;e.reverse();for(var o,i,r=e.length,n=-1,s=0;s<r;++s)if(6==(i=(o=e[s])[0]))n=s;else if(0==i){for(o[2]=s,o=t.b,i=s;n<i;){var p=o[n];o[n]=o[i],o[i]=p,++n,--i}n=-1}}function Fp(t,e){t.ra[2]=t.a.length,t.ra=null,t.va[2]=t.b.length,t.va=null;e=[6,e];t.a.push(e),t.b.push(e)}function kp(t,e,o,i){Cp.call(this,t,e,o,i),this.l=this.P=null,this.L=this.D=this.C=this.A=this.u=this.H=this.v=this.o=this.j=this.i=this.g=void 0}function Op(t,e,o,i){Cp.call(this,t,e,o,i),this.i=null,this.g={wd:void 0,rd:void 0,sd:null,td:void 0,ud:void 0,vd:void 0,Af:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function Dp(t,e,o,i,r){var n=[8,n=t.coordinates.length,e=jp(t,e,o,i,r,!1,!1)];return t.a.push(n),t.b.push(n),i}function Bp(t){var e=t.g,o=e.strokeStyle,i=e.lineCap,r=e.lineDash,n=e.lineJoin,s=e.lineWidth,p=e.miterLimit;e.wd==o&&e.rd==i&&Q(e.sd,r)&&e.td==n&&e.ud==s&&e.vd==p||(e.Af!=t.coordinates.length&&(t.a.push([12]),e.Af=t.coordinates.length),t.a.push([10,o,s,i,n,p,r,!0,1],[1]),e.wd=o,e.rd=i,e.sd=r,e.td=n,e.ud=s,e.vd=p)}function Up(t,e,o,i){Cp.call(this,t,e,o,i),this.i=null,this.g={Bg:void 0,wd:void 0,rd:void 0,sd:null,td:void 0,ud:void 0,vd:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function Gp(t,e,o,i,r){var n=void 0!==(s=t.g).fillStyle,s=null!=s.strokeStyle,p=i.length,a=[1];for(t.a.push(a),t.b.push(a),a=0;a<p;++a){var h=i[a];o=[8,t.coordinates.length,o=jp(t,e,o,h,r,!0,!s)],t.a.push(o),t.b.push(o),s&&(o=[3],t.a.push(o),t.b.push(o)),o=h}return e=[7],t.b.push(e),n&&t.a.push(e),s&&(n=[12],t.a.push(n),t.b.push(n)),o}function Kp(t,e){var o,i=t.g,r=i.fillStyle,n=i.strokeStyle,s=i.lineCap,p=i.lineDash,a=i.lineJoin,h=i.lineWidth,l=i.miterLimit;void 0===r||"string"==typeof r&&i.Bg==r||(o=[9,r],"string"!=typeof r&&(r=e.G(),o.push([r[0],r[3]])),t.a.push(o),i.Bg=i.fillStyle),void 0===n||i.wd==n&&i.rd==s&&Q(i.sd,p)&&i.td==a&&i.ud==h&&i.vd==l||(t.a.push([10,n,h,s,a,l,p,!0,1]),i.wd=n,i.rd=s,i.sd=p,i.td=a,i.ud=h,i.vd=l)}function Xp(t,e,o,i){Cp.call(this,t,e,o,i),this.L=this.D=this.C=null,this.l="",this.v=this.o=0,this.H=void 0,this.A=this.u=0,this.j=this.i=this.g=null}function Vp(t,e,o,i,r){var n,s,p;""!==t.l&&t.j&&(t.g||t.i)&&(t.g&&(n=t.g,(s=t.C)&&s.fillStyle==n.fillStyle||(p=[9,n.fillStyle],t.a.push(p),t.b.push(p),s?s.fillStyle=n.fillStyle:t.C={fillStyle:n.fillStyle})),t.i&&(n=t.i,(s=t.D)&&s.lineCap==n.lineCap&&s.lineDash==n.lineDash&&s.lineJoin==n.lineJoin&&s.lineWidth==n.lineWidth&&s.miterLimit==n.miterLimit&&s.strokeStyle==n.strokeStyle||(p=[10,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,!1,1],t.a.push(p),t.b.push(p),s?(s.lineCap=n.lineCap,s.lineDash=n.lineDash,s.lineJoin=n.lineJoin,s.lineWidth=n.lineWidth,s.miterLimit=n.miterLimit,s.strokeStyle=n.strokeStyle):t.D={lineCap:n.lineCap,lineDash:n.lineDash,lineJoin:n.lineJoin,lineWidth:n.lineWidth,miterLimit:n.miterLimit,strokeStyle:n.strokeStyle})),n=t.j,(s=t.L)&&s.font==n.font&&s.textAlign==n.textAlign&&s.textBaseline==n.textBaseline||(p=[11,n.font,n.textAlign,n.textBaseline],t.a.push(p),t.b.push(p),s?(s.font=n.font,s.textAlign=n.textAlign,s.textBaseline=n.textBaseline):t.L={font:n.font,textAlign:n.textAlign,textBaseline:n.textBaseline}),Lp(t,r),e=[5,n=t.coordinates.length,e=jp(t,e,0,o,i,!1,!1),t.l,t.o,t.v,t.u,t.A,!!t.g,!!t.i,t.H],t.a.push(e),t.b.push(e),Fp(t,r))}i(np,rp),(Ey=np.prototype).hc=function(t){var e,o,i;Zt(this.c,t.G())&&((this.a||this.b)&&(this.a&&lp(this,this.a),this.b&&up(this,this.b),e=this.C,o=this.u,o=(e=(i=t.ia())?Pe(i,0,i.length,t.pa(),e,o):null)[2]-e[0],i=e[3]-e[1],o=Math.sqrt(o*o+i*i),(i=this.f).beginPath(),i.arc(e[0],e[1],o,0,2*Math.PI),this.a&&i.fill(),this.b&&i.stroke()),""!==this.g&&pp(this,t.Fd(),2,2))},Ey.Gd=function(t){this.Ma(t.f,t.g),this.dc(t.a),this.$b(t.Ka())},Ey.tc=function(t){switch(t.Y()){case"Point":this.xc(t);break;case"LineString":this.Pb(t);break;case"Polygon":this.yc(t);break;case"MultiPoint":this.vc(t);break;case"MultiLineString":this.uc(t);break;case"MultiPolygon":this.wc(t);break;case"GeometryCollection":this.kf(t);break;case"Circle":this.hc(t)}},Ey.jf=function(t,e){t=(0,e.c)(t);t&&Zt(this.c,t.G())&&(this.Gd(e),this.tc(t))},Ey.kf=function(t){for(var e=0,o=(t=t.f).length;e<o;++e)this.tc(t[e])},Ey.xc=function(t){var e=t.ia();t=t.pa(),this.i&&sp(this,e,e.length),""!==this.g&&pp(this,e,e.length,t)},Ey.vc=function(t){var e=t.ia();t=t.pa(),this.i&&sp(this,e,e.length),""!==this.g&&pp(this,e,e.length,t)},Ey.Pb=function(t){var e,o;Zt(this.c,t.G())&&(this.b&&(up(this,this.b),e=this.f,o=t.ia(),e.beginPath(),ap(this,o,0,o.length,t.pa(),!1),e.stroke()),""!==this.g&&pp(this,t=yc(t),2,2))},Ey.uc=function(t){var e=t.G();if(Zt(this.c,e)){if(this.b){up(this,this.b);var o,i,e=this.f,r=t.ia(),n=0,s=t.Kb(),p=t.pa();for(e.beginPath(),o=0,i=s.length;o<i;++o)n=ap(this,r,n,s[o],p,!1);e.stroke()}""!==this.g&&pp(this,t=gc(t),t.length,2)}},Ey.yc=function(t){var e;Zt(this.c,t.G())&&((this.b||this.a)&&(this.a&&lp(this,this.a),this.b&&up(this,this.b),(e=this.f).beginPath(),hp(this,t.Vb(),0,t.Kb(),t.pa()),this.a&&e.fill(),this.b&&e.stroke()),""!==this.g&&pp(this,t=ro(t),2,2))},Ey.wc=function(t){if(Zt(this.c,t.G())){if(this.b||this.a){this.a&&lp(this,this.a),this.b&&up(this,this.b);var e,o,i=this.f,r=wc(t),n=0,s=t.c,p=t.pa();for(i.beginPath(),e=0,o=s.length;e<o;++e)n=hp(this,r,n,s[e],p);this.a&&i.fill(),this.b&&i.stroke()}""!==this.g&&pp(this,t=mc(t),t.length,2)}},Ey.Ma=function(t,e){var o,i,r,n;t?(o=t.b,this.a={fillStyle:oi(o||ks)}):this.a=null,e?(o=e.b,i=e.c,r=e.g,n=e.i,t=e.f,e=e.j,this.b={lineCap:void 0!==i?i:"round",lineDash:r||Os,lineJoin:void 0!==n?n:"round",lineWidth:this.A*(void 0!==t?t:1),miterLimit:void 0!==e?e:10,strokeStyle:oi(o||Ds)}):this.b=null},Ey.dc=function(t){var e,o,i,r;t?(e=t.Ac(),o=t.Ic(1),i=t.Jc(),r=t.ac(),this.D=e[0],this.L=e[1],this.ra=r[1],this.i=o,this.H=t.l,this.eb=i[0],this.fa=i[1],this.sa=t.H,this.zb=t.o,this.j=t.i,this.na=t.u,this.va=r[0]):this.i=null},Ey.$b=function(t){var e,o,i,r,n,s,p,a;t?((e=t.b)?(e=e.b,this.l={fillStyle:oi(e||ks)}):this.l=null,(s=t.f)?(e=s.b,o=s.c,i=s.g,r=s.i,n=s.f,s=s.j,this.v={lineCap:void 0!==o?o:"round",lineDash:i||Os,lineJoin:void 0!==r?r:"round",lineWidth:void 0!==n?n:1,miterLimit:void 0!==s?s:10,strokeStyle:oi(e||Ds)}):this.v=null,e=t.g,o=t.c,i=t.i,r=t.v,n=t.j,s=t.a,p=t.Ka(),a=t.l,t=t.o,this.P={font:void 0!==e?e:"10px sans-serif",textAlign:void 0!==a?a:"center",textBaseline:void 0!==t?t:"middle"},this.g=void 0!==p?p:"",this.Fa=void 0!==o?this.A*o:0,this.xa=void 0!==i?this.A*i:0,this.Ja=void 0!==r&&r,this.Ua=void 0!==n?n:0,this.o=this.A*(void 0!==s?s:1)):this.g=""},i(cp,G),cp.prototype.Ba=p,cp.prototype.te=Qt,cp.prototype.hf=function(o,i,r){return function(e,t){return Yw(o,i,e,t,function(t){r[e]||(r[e]={}),r[e][t.Ca.toString()]=t})}},cp.prototype.Fa=function(t){t.target.W()===Is&&fp(this)},i(wp,cp),wp.prototype.C=function(t,e,o,i){if(this.Ba(t,e,0,$t,this))return o.call(i,this.a,null)},wp.prototype.v=function(t,e,o,i){Sp(this,"postcompose",t,e,i)},i(Pp,wp),Pp.prototype.D=function(t,e,o){Sp(this,"precompose",o,t,void 0);var i,r,n,s=this.l();s&&((i=void 0!==(r=e.extent))&&xp(o,t,r),r=this.P(),n=o.globalAlpha,o.globalAlpha=e.opacity,o.drawImage(s,0,0,+s.width,+s.height,Math.round(r[4]),Math.round(r[5]),Math.round(s.width*r[0]),Math.round(s.height*r[3])),o.globalAlpha=n,i&&o.restore()),this.v(o,t,e)},Pp.prototype.Ba=function(t,e,o,i,r){var n=this.a;return n.la().Ba(t,e.viewState.resolution,e.viewState.rotation,o,e.skippedFeatureUids,function(t){return i.call(r,t,n)})},Pp.prototype.C=function(t,e,o,i){if(this.l()){if(this.a.la().Ba!==p)return wp.prototype.C.apply(this,arguments);var r=ys(this.u,t.slice());return ct(r,e.viewState.resolution/this.c),this.i||(this.i=ii(1,1)),this.i.clearRect(0,0,1,1),this.i.drawImage(this.l(),r[0],r[1],1,1,0,0,1,1),0<(r=this.i.getImageData(0,0,1,1).data)[3]?o.call(i,this.a,r):void 0}},i(Tp,Pp),Tp.prototype.l=function(){return this.f?this.f.a():null},Tp.prototype.P=function(){return this.j},Tp.prototype.o=function(t,e){var o,i=t.pixelRatio,r=t.size,n=t.viewState,s=n.center,p=n.resolution,a=this.a.la(),h=t.viewHints,l=t.extent;return void 0!==e.extent&&(l=Wt(l,e.extent)),h[xo]||h[1]||qt(l)||(n=a.U(l,p,i,n.projection))&&yp(this,n)&&(this.f=n,this.c=p),this.f&&(h=(n=this.f).G(),e=i*(l=n.resolution)/(p*(o=n.f)),h=vs(this.j,i*r[0]/2,i*r[1]/2,e,e,0,o*(h[0]-s[0])/l,o*(s[1]-h[3])/l),vs(this.u,i*r[0]/2-h[4],i*r[1]/2-h[5],i/p,-i/p,0,-s[0],-s[1]),dp(t.attributions,n.j),vp(t,a)),!!this.f},i(Ap,Pp),Ap.prototype.o=function(t,e){var o=t.pixelRatio,i=t.size,r=(s=t.viewState).projection,n=s.resolution,s=s.center,p=this.a,a=p.la(),h=a.g,l=a.Db(r),u=l.Ec(n,this.na),c=l.Ha(u),y=t.extent;if(void 0!==e.extent&&(y=Wt(y,e.extent)),qt(y))return!1;var f=Io(l,y,c),g=l.Kc(u),d=l.Ha(u),v=Eo(l.Za(u),l.j);d=Lt(g[0]+f.ea*v[0]*d,g[1]+f.ga*v[1]*d,g[0]+(f.ca+1)*v[0]*d,g[1]+(f.ja+1)*v[1]*d,void 0),g=a.jb(o),(v={})[u]={};for(var b,m,w=this.hf(a,r,v),x=p.c(),S=this.H,M=this.Ua,P=!1,T=f.ea;T<=f.ca;++T)for(m=f.ga;m<=f.ja;++m)(R=(b=a.Dc(u,T,m,o,r)).W())==wr||4==R||3==R&&!x?R==wr&&(v[u][b.Ca.toString()]=b,P||-1!=this.f.indexOf(b)||(P=!0)):Ro(l,(b=mr(b)).Ca,w,M,S)||(b=No(l,b.Ca,M,S))&&w(u+1,b);if(T=t.viewHints,!(this.c&&16<Date.now()-t.time&&(T[xo]||T[1])||!P&&this.j&&It(this.j,d)&&this.Ja==h)){b=a.Dd(u,o,r),T=(f.ca-f.ea+1)*b[0],b=(f.ja-f.ga+1)*b[0],m=(P=this.L).canvas,w=a.tf(r),m.width!=T||m.height!=b?(m.width=T,m.height=b):P.clearRect(0,0,T,b),this.f.length=0,(x=Object.keys(v).map(Number)).sort(Z);for(var A,E,C,j,L,R=0,N=x.length;R<N;++R)for(var I in T=x[R],M=a.Dd(T,o,r),A=(b=l.Ha(T))/c,E=g*a.qf(r),C=v[T])b=C[I],m=l.Na(b.Ca,S),T=(m[0]-d[0])/c*g,m=(d[3]-m[3])/c*g,j=M[0]*A,L=M[1]*A,w||P.clearRect(T,m,j,L),this.A(b,t,e,T,m,j,L,E),this.f.push(b);this.Ja=h,this.c=c,this.j=d}return I=o/g*this.c/n,I=vs(this.U,o*i[0]/2,o*i[1]/2,I,I,0,g*(this.j[0]-s[0])/this.c,g*(s[1]-this.j[3])/this.c),vs(this.u,o*i[0]/2-I[4],o*i[1]/2-I[5],o/n,-o/n,0,-s[0],-s[1]),bp(t.usedTiles,a,u,f),mp(t,a,l,o,r,y,u,p.f()),gp(t,a),vp(t,a),0<this.f.length},Ap.prototype.A=function(t,e,o,i,r,n,s,p){(t=t.ub())&&this.L.drawImage(t,p,p,t.width-2*p,t.height-2*p,i,r,n,s)},Ap.prototype.l=function(){return this.L.canvas},Ap.prototype.P=function(){return this.U},i(Cp,rp),Cp.prototype.f=function(t,e,o,i,r){Np(this,t,e,o,i,r,this.a,void 0,void 0)},Cp.prototype.se=p,Cp.prototype.mf=function(){return this.Qa},i(kp,Cp),kp.prototype.xc=function(t,e){var o,i;this.l&&(Lp(this,e),i=t.ia(),o=this.coordinates.length,i=jp(this,i,0,i.length,t.pa(),!1,!1),this.a.push([4,o,i,this.l,this.g,this.i,this.j,this.o,this.v,this.H,this.u,this.A,this.C,this.D,this.L]),this.b.push([4,o,i,this.P,this.g,this.i,this.j,this.o,this.v,this.H,this.u,this.A,this.C,this.D,this.L]),Fp(this,e))},kp.prototype.vc=function(t,e){var o,i;this.l&&(Lp(this,e),i=t.ia(),o=this.coordinates.length,i=jp(this,i,0,i.length,t.pa(),!1,!1),this.a.push([4,o,i,this.l,this.g,this.i,this.j,this.o,this.v,this.H,this.u,this.A,this.C,this.D,this.L]),this.b.push([4,o,i,this.P,this.g,this.i,this.j,this.o,this.v,this.H,this.u,this.A,this.C,this.D,this.L]),Fp(this,e))},kp.prototype.se=function(){Ip(this),this.i=this.g=void 0,this.l=this.P=null,this.L=this.D=this.A=this.u=this.H=this.v=this.o=this.C=this.j=void 0},kp.prototype.dc=function(t){var e=t.Ac(),o=t.ac(),i=t.Lf(1),r=t.Ic(1),n=t.Jc();this.g=e[0],this.i=e[1],this.P=i,this.l=r,this.j=o[1],this.o=t.l,this.v=n[0],this.H=n[1],this.u=t.H,this.A=t.o,this.C=t.i,this.D=t.u,this.L=o[0]},i(Op,Cp),(Ey=Op.prototype).mf=function(){return this.i||(this.i=Mt(this.Qa),0<this.c&&St(this.i,this.resolution*(this.c+1)/2,this.i)),this.i},Ey.Pb=function(t,e){var o=this.g,i=o.lineWidth;void 0!==o.strokeStyle&&void 0!==i&&(Bp(this),Lp(this,e),this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,!0,1],[1]),Dp(this,o=t.ia(),0,o.length,t.pa()),this.b.push([12]),Fp(this,e))},Ey.uc=function(t,e){var o=(i=this.g).lineWidth;if(void 0!==i.strokeStyle&&void 0!==o){Bp(this),Lp(this,e),this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash,!0,1],[1]);for(var i=t.Kb(),o=t.ia(),r=t.pa(),n=0,s=0,p=i.length;s<p;++s)n=Dp(this,o,n,i[s],r);this.b.push([12]),Fp(this,e)}},Ey.se=function(){this.g.Af!=this.coordinates.length&&this.a.push([12]),Ip(this),this.g=null},Ey.Ma=function(t,e){var o=e.b;this.g.strokeStyle=oi(o||Ds),o=e.c,this.g.lineCap=void 0!==o?o:"round",o=e.g,this.g.lineDash=o||Os,o=e.i,this.g.lineJoin=void 0!==o?o:"round",o=e.f,this.g.lineWidth=void 0!==o?o:1,o=e.j,this.g.miterLimit=void 0!==o?o:10,this.g.lineWidth>this.c&&(this.c=this.g.lineWidth,this.i=null)},i(Up,Cp),(Ey=Up.prototype).hc=function(t,e){var o,i=this.g,r=i.strokeStyle;void 0===i.fillStyle&&void 0===r||(Kp(this,t),Lp(this,e),this.b.push([9,_o(ks)]),void 0!==i.strokeStyle&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash,!0,1]),o=t.ia(),r=this.coordinates.length,jp(this,o,0,o.length,t.pa(),!1,!1),o=[1],r=[2,r],this.a.push(o,r),this.b.push(o,r),r=[7],this.b.push(r),void 0!==i.fillStyle&&this.a.push(r),void 0!==i.strokeStyle&&(i=[12],this.a.push(i),this.b.push(i)),Fp(this,e))},Ey.yc=function(t,e){var o=this.g;Kp(this,t),Lp(this,e),this.b.push([9,_o(ks)]),void 0!==o.strokeStyle&&this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,!0,1]);o=t.Kb();Gp(this,t.Vb(),0,o,t.pa()),Fp(this,e)},Ey.wc=function(t,e){var o=(i=this.g).strokeStyle;if(void 0!==i.fillStyle||void 0!==o){Kp(this,t),Lp(this,e),this.b.push([9,_o(ks)]),void 0!==i.strokeStyle&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash,!0,1]);for(var i=t.c,o=wc(t),r=t.pa(),n=0,s=0,p=i.length;s<p;++s)n=Gp(this,o,n,i[s],r);Fp(this,e)}},Ey.se=function(){Ip(this),this.g=null;var t=this.zb;if(0!==t)for(var e=this.coordinates,o=0,i=e.length;o<i;++o)e[o]=t*Math.round(e[o]/t)},Ey.mf=function(){return this.i||(this.i=Mt(this.Qa),0<this.c&&St(this.i,this.resolution*(this.c+1)/2,this.i)),this.i},Ey.Ma=function(t,e){var o,i=this.g;t?(o=t.b,i.fillStyle=oi(o||ks)):i.fillStyle=void 0,e?(o=e.b,i.strokeStyle=oi(o||Ds),o=e.c,i.lineCap=void 0!==o?o:"round",o=e.g,i.lineDash=o?o.slice():Os,o=e.i,i.lineJoin=void 0!==o?o:"round",o=e.f,i.lineWidth=void 0!==o?o:1,o=e.j,i.miterLimit=void 0!==o?o:10,i.lineWidth>this.c&&(this.c=i.lineWidth,this.i=null)):(i.strokeStyle=void 0,i.lineCap=void 0,i.lineDash=null,i.lineJoin=void 0,i.lineWidth=void 0,i.miterLimit=void 0)},i(Xp,Cp),Xp.prototype.$b=function(t){var e,o,i,r,n,s,p,a,h;t?((o=t.b)?(o=oi((o=o.b)||ks),this.g?this.g.fillStyle=o:this.g={fillStyle:o}):this.g=null,(s=t.f)?(o=s.b,i=s.c,r=s.g,p=s.i,n=s.f,s=s.j,i=void 0!==i?i:"round",r=r?r.slice():Os,p=void 0!==p?p:"round",n=void 0!==n?n:1,s=void 0!==s?s:10,o=oi(o||Ds),this.i?((a=this.i).lineCap=i,a.lineDash=r,a.lineJoin=p,a.lineWidth=n,a.miterLimit=s,a.strokeStyle=o):this.i={lineCap:i,lineDash:r,lineJoin:p,lineWidth:n,miterLimit:s,strokeStyle:o}):this.i=null,e=t.g,o=t.c,i=t.i,r=t.v,n=t.j,s=t.a,p=t.Ka(),a=t.l,h=t.o,t=void 0!==e?e:"10px sans-serif",a=void 0!==a?a:"center",h=void 0!==h?h:"middle",this.j?((e=this.j).font=t,e.textAlign=a,e.textBaseline=h):this.j={font:t,textAlign:a,textBaseline:h},this.l=void 0!==p?p:"",this.o=void 0!==o?o:0,this.v=void 0!==i?i:0,this.H=void 0!==r&&r,this.u=void 0!==n?n:0,this.A=void 0!==s?s:1):this.l=""};var Wp=["Polygon","Circle","LineString","Image","Text"];function zp(t,e,o,i,r){this.H=t,this.c=e,this.o=i,this.v=o,this.i=r,this.a={},this.j=ii(1,1),this.l=as()}i(zp,Ep);var Hp={0:[[!0]]};function Yp(t,e,o){var i,r=Math.floor(t.length/2);if(r<=e)for(i=r;i<e;i++)t[i][o]=!0;else if(e<r)for(i=e+1;i<r;i++)t[i][o]=!0}function Zp(t){for(var e in t.a){var o,i=t.a[e];for(o in i)i[o].se()}}function qp(t,e){var o=t.c,i=o[0],r=o[1],t=o[2];return Pe(i=[i,r,i,o=o[3],t,o,t,r],0,8,2,e,i),i}zp.prototype.Ba=function(t,e,o,i,r,n){var s,p=2*(i=Math.round(i))+1,a=vs(this.l,i+.5,i+.5,1/e,-1/e,-o,-t[0],-t[1]),h=this.j;h.canvas.width!==p||h.canvas.height!==p?(h.canvas.width=p,h.canvas.height=p):h.clearRect(0,0,p,p),void 0!==this.i&&(kt(s=jt(),t),St(s,e*(this.i+i),s));var l=function(t){if(void 0!==Hp[t])return Hp[t];for(var e=2*t+1,o=Array(e),i=0;i<e;i++)o[i]=Array(e);for(var e=t,r=i=0;i<=e;)Yp(o,t+e,t+i),Yp(o,t+i,t+e),Yp(o,t-i,t+e),Yp(o,t-e,t+i),Yp(o,t-e,t-i),Yp(o,t-i,t-e),Yp(o,t+i,t-e),Yp(o,t+e,t-i),0<2*((r+=1+2*++i)-e)+1&&(r+=1-2*--e);return Hp[t]=o}(i);return function(t,e,o,i,r,n,s){var p,a,h,l,u,c=Object.keys(t.a).map(Number);for(c.sort(function(t,e){return e-t}),p=0,a=c.length;p<a;++p)for(l=t.a[c[p].toString()],h=Wp.length-1;0<=h;--h)if(void 0!==(u=l[Wp[h]])&&(u=Np(u,e,1,o,i,r,u.b,n,s)))return u}(this,h,a,o,r,function(t){for(var e=h.getImageData(0,0,p,p).data,o=0;o<p;o++)for(var i=0;i<p;i++)if(l[o][i]&&0<e[4*(i*p+o)+3])return(t=n(t))?t:void h.clearRect(0,0,p,p)},s)},zp.prototype.b=function(t,e){var o=void 0!==t?t.toString():"0",t=this.a[o];return void 0===t&&(t={},this.a[o]=t),void 0===(o=t[e])&&(o=new Jp[e](this.H,this.c,this.v,this.o),t[e]=o),o},zp.prototype.g=function(){return U(this.a)},zp.prototype.f=function(t,e,o,i,r,n){var s=Object.keys(this.a).map(Number);s.sort(Z);var p=qp(this,o);t.save(),t.beginPath(),t.moveTo(p[0],p[1]),t.lineTo(p[2],p[3]),t.lineTo(p[4],p[5]),t.lineTo(p[6],p[7]),t.clip(),n=n||Wp;for(var a,h,l,u,p=0,c=s.length;p<c;++p)for(l=this.a[s[p].toString()],a=0,h=n.length;a<h;++a)void 0!==(u=l[n[a]])&&u.f(t,e,o,i,r);t.restore()};var Jp={Circle:Up,Image:kp,LineString:Op,Polygon:Up,Text:Xp};function _p(t,e){return B(t)-B(e)}function $p(t,e){e=.5*t/e;return e*e}function Qp(t,e,o,i,r,n){var s,p,a=!1;return(s=o.a)&&((p=s.xe())==Is||p==Fs?s.Ii(r,n):(p==Rs&&s.load(),s.eh(r,n),a=!0)),(r=(0,o.c)(e))&&(i=r.Bd(i),(0,ta[i.Y()])(t,i,o,e)),a}var ta={Point:function(t,e,o,i){var r=o.a;if(r){if(r.xe()!=Is)return;var n=t.b(o.b,"Image");n.dc(r),n.xc(e,i)}(r=o.Ka())&&((t=t.b(o.b,"Text")).$b(r),Vp(t,e.ia(),2,2,i))},LineString:function(t,e,o,i){var r,n=o.g;n&&((r=t.b(o.b,"LineString")).Ma(null,n),r.Pb(e,i)),(n=o.Ka())&&((t=t.b(o.b,"Text")).$b(n),Vp(t,yc(e),2,2,i))},Polygon:function(t,e,o,i){var r,n=o.f,s=o.g;(n||s)&&((r=t.b(o.b,"Polygon")).Ma(n,s),r.yc(e,i)),(n=o.Ka())&&((t=t.b(o.b,"Text")).$b(n),Vp(t,ro(e),2,2,i))},MultiPoint:function(t,e,o,i){var r=o.a;if(r){if(r.xe()!=Is)return;var n=t.b(o.b,"Image");n.dc(r),n.vc(e,i)}(r=o.Ka())&&((t=t.b(o.b,"Text")).$b(r),Vp(t,o=e.ia(),o.length,e.pa(),i))},MultiLineString:function(t,e,o,i){var r,n=o.g;n&&((r=t.b(o.b,"LineString")).Ma(null,n),r.uc(e,i)),(n=o.Ka())&&((t=t.b(o.b,"Text")).$b(n),Vp(t,e=gc(e),e.length,2,i))},MultiPolygon:function(t,e,o,i){var r,n=o.f,s=o.g;(s||n)&&((r=t.b(o.b,"Polygon")).Ma(n,s),r.wc(e,i)),(n=o.Ka())&&((t=t.b(o.b,"Text")).$b(n),Vp(t,e=mc(e),e.length,2,i))},GeometryCollection:function(t,e,o,i){for(var r=0,n=(e=e.f).length;r<n;++r)(0,ta[e[r].Y()])(t,e[r],o,i)},Circle:function(t,e,o,i){var r,n=o.f,s=o.g;(n||s)&&((r=t.b(o.b,"Circle")).Ma(n,s),r.hc(e,i)),(n=o.Ka())&&((t=t.b(o.b,"Text")).$b(n),Vp(t,e.Fd(),2,2,i))}};function ea(t){wp.call(this,t),this.f=!1,this.u=-1,this.H=NaN,this.j=jt(),this.c=this.l=null,this.i=ii()}function oa(t){Ap.call(this,t),this.Z=!1,this.sa=as(),this.na=t.u==ip?1:0}i(ea,wp),ea.prototype.D=function(t,e,o){var i=t.extent,r=t.pixelRatio,n=e.me?t.skippedFeatureUids:{},s=(p=t.viewState).projection,p=p.rotation,a=s.G(),h=this.a.la(),l=Mp(this,t,0);Sp(this,"precompose",o,t,l);var u=e.extent,c=void 0!==u;if(c&&xp(o,t,u),(u=this.c)&&!u.g()){var y,f=0,g=0,d=(y=D(this.a,"render")?(y=o.canvas.width,d=o.canvas.height,p&&(f=((v=Math.round(Math.sqrt(y*y+d*d)))-y)/2,g=(v-d)/2,y=d=v),this.i.canvas.width=y,this.i.canvas.height=d,this.i):o).globalAlpha;y.globalAlpha=e.opacity,y!=o&&y.translate(f,g);var v=t.size[0]*r,b=t.size[1]*r;if(Bs(y,-p,v/2,b/2),u.f(y,r,l,p,n),h.D&&s.a&&!At(a,i)){for(var s=i[0],h=Yt(a),m=0;s<a[0];)l=Mp(this,t,l=h*--m),u.f(y,r,l,p,n),s+=h;for(m=0,s=i[2];s>a[2];)l=Mp(this,t,l=h*++m),u.f(y,r,l,p,n),s-=h;l=Mp(this,t,0)}Bs(y,p,v/2,b/2),y!=o&&(Sp(this,"render",y,t,l),o.drawImage(y.canvas,-f,-g),y.translate(-f,-g)),y.globalAlpha=d}c&&o.restore(),this.v(o,t,e,l)},ea.prototype.Ba=function(t,e,o,i,r){if(this.c){var n=this.a,s={};return this.c.Ba(t,e.viewState.resolution,e.viewState.rotation,o,{},function(t){var e=B(t).toString();if(!(e in s))return s[e]=!0,i.call(r,t,n)})}},ea.prototype.A=function(){fp(this)},ea.prototype.o=function(t){function e(t){var e,o=t.Gc();if(o?e=o.call(t,h):(o=n.j)&&(e=o(t,h)),e){if(e){if(o=!1,Array.isArray(e))for(var i=0,r=e.length;i<r;++i)o=Qp(y,t,e[i],$p(h,l),this.A,this)||o;else o=Qp(y,t,e,$p(h,l),this.A,this)||o;t=o}else t=!1;this.f=this.f||t}}var n=this.a,o=n.la();dp(t.attributions,o.j),vp(t,o);var i=t.viewHints[xo],r=t.viewHints[1],s=n.Z,p=n.fa;if(!this.f&&!s&&i||!p&&r)return!0;var a=t.extent,i=(p=t.viewState).projection,h=p.resolution,l=t.pixelRatio,r=n.g,u=n.i;if(void 0===(s=n.get("renderOrder"))&&(s=_p),a=St(a,u*h),u=p.projection.G(),o.D&&p.projection.a&&!At(u,t.extent)&&(t=Math.max(Yt(a)/2,Yt(u)),a[0]=u[0]-t,a[2]=u[2]+t),!this.f&&this.H==h&&this.u==r&&this.l==s&&At(this.j,a))return!0;this.c=null,this.f=!1;var c,y=new zp(.5*h/l,a,h,o.xa,n.i);return o.Ed(a,h,i),s?(c=[],o.Qb(a,function(t){c.push(t)},this),c.sort(s),c.forEach(e,this)):o.Qb(a,e,this),Zp(y),this.H=h,this.u=r,this.l=s,this.j=a,this.c=y,!0},i(oa,Ap);var ia={image:Wp,hybrid:["Polygon","LineString"]},ra={hybrid:["Image","Text"],vector:Wp};function na(t,e){ms.call(this,0,e),this.g=ii(),this.b=this.g.canvas,this.b.style.width="100%",this.b.style.height="100%",this.b.className="ol-unselectable",t.insertBefore(this.b,t.childNodes[0]||null),this.a=!0,this.c=as()}function sa(t,e,o){var i,r,n,s,p,a=t.l,h=t.g;D(a,e)&&(i=o.extent,r=o.pixelRatio,n=o.viewState.rotation,s=o.viewState,p=o.pixelRatio/s.resolution,t=vs(t.c,t.b.width/2,t.b.height/2,p,-p,-s.rotation,-s.center[0],-s.center[1]),a.b(new os(e,new np(h,r,i,t,n),o,h,null)))}oa.prototype.A=function(t,e,o,i,r,n,s,p){var a,h,l,u,c,y,f,g,d,v,b=t;!function(t,e,o){function i(t){var e;if((o=t.Gc())?e=o.call(t,d):(o=p.j)&&(e=o(t,d)),e){Array.isArray(e)||(e=[e]);var o=b,i=v;if(e){var r=!1;if(Array.isArray(e))for(var n=0,s=e.length;n<s;++n)r=Qp(i,t,e[n],o,this.fa,this)||r;else r=Qp(i,t,e,o,this.fa,this)||r;t=r}else t=!1;this.Z=this.Z||t,a.xd=a.xd||t}}var p=t.a,r=o.pixelRatio;o=o.viewState.projection;var n=p.g,s=p.get("renderOrder")||null,a=e.g;if(a.xd||a.li!=n||a.bg!=s){a.jd=null,a.xd=!1;var h,l,u,c=p.la(),y=c.tileGrid,f=e.Ca,g=e.j,d=y.Ha(f[0]);"tile-pixels"==g.Eb()?(h=u=c.jb(),h=[0,0,(y=Eo(y.Za(f[0])))[0]*h,y[1]*h]):(u=d,h=y.Na(f),de(o,g)||(l=!0,e.Ff(o))),a.xd=!1;var v=new zp(0,h,u,c.i,p.i),b=$p(u,r);for(e=e.i,s&&s!==a.bg&&e.sort(s),c=0,u=e.length;c<u;++c)r=e[c],l&&r.V().ob(g,o),i.call(t,r);Zp(v),a.li=n,a.bg=s,a.jd=v,a.resolution=NaN}}(this,b,e),this.a.u!=ip&&(a=b,h=e,v=this.a,b=a.g,y=v.g,(l=ia[v.u])&&b.cg!==y&&(b.cg=y,u=a.Ca,c=a.Ca[0],y=h.pixelRatio,g=(f=v.la()).tileGrid,d=f.jb(),v=hs(this.sa),"tile-pixels"==a.j.Eb()?gs(v,u=y/d,u):(d=y/(d=g.Ha(c)),u=g.Na(u,this.H),gs(v,d,-d),ds(v,-u[0],-u[3])),a=a.f,h=f.Dd(c,y,h.viewState.projection),a.canvas.width=h[0],a.canvas.height=h[1],b.jd.f(a,y,v,0,{},l))),Ap.prototype.A.apply(this,arguments)},oa.prototype.Ba=function(t,e,o,i,r){var n=e.viewState.resolution;e=e.viewState.rotation,o=null==o?0:o;for(var s,p,a,h,l=this.a,u={},c=this.f,y=l.la(),f=y.tileGrid,g=0,d=c.length;g<d;++g)p=(h=c[g]).Ca,Tt(St(a=y.tileGrid.Na(p,this.H),o*n),t)&&(p="tile-pixels"===h.j.Eb()?(a=zt(a),n=y.jb(),p=f.Ha(p[0])/n,[(t[0]-a[0])/p,(a[1]-t[1])/p]):t,h=h.g.jd,s=s||h.Ba(p,n,e,o,{},function(t){var e=B(t).toString();if(!(e in u))return u[e]=!0,i.call(r,t,l)}));return s},oa.prototype.fa=function(){fp(this)},oa.prototype.v=function(t,e,o){var i=ra[this.a.u];if(i)for(var r=e.pixelRatio,n=e.viewState.rotation,s=e.size,p=Math.round(r*s[0]/2),s=Math.round(r*s[1]/2),a=this.f,h=[],l=[],u=a.length-1;0<=u;--u){var c,y,f,g,d,v,b=a[u],m=b;for(v=e,v="tile-pixels"==m.j.Eb()?(g=(c=this.a.la()).tileGrid,d=m.Ca,c=g.Ha(d[0])/c.jb(),m=v.viewState,y=v.pixelRatio,f=m.resolution/y,d=g.Na(d,this.H),g=m.center,d=zt(d),v=v.size,vs(this.sa,Math.round(y*v[0]/2),Math.round(y*v[1]/2),c/f,c/f,m.rotation,(d[0]-g[0])/c,(g[1]-d[1])/c)):Mp(this,v,0),c=qp(b.g.jd,v),m=b.Ca[0],t.save(),t.globalAlpha=o.opacity,Bs(t,-n,p,s),y=0,f=h.length;y<f;++y)g=h[y],m<l[y]&&(t.beginPath(),t.moveTo(c[0],c[1]),t.lineTo(c[2],c[3]),t.lineTo(c[4],c[5]),t.lineTo(c[6],c[7]),t.moveTo(g[6],g[7]),t.lineTo(g[4],g[5]),t.lineTo(g[2],g[3]),t.lineTo(g[0],g[1]),t.clip());b.g.jd.f(t,r,v,n,{},i),t.restore(),h.push(c),l.push(m)}Ap.prototype.v.apply(this,arguments)},i(na,ms),na.prototype.Ag=function(t){return t instanceof Ts?new Tp(t):t instanceof As?new Ap(t):t instanceof $s?new oa(t):t instanceof _s?new ea(t):null},na.prototype.Y=function(){return"canvas"},na.prototype.ag=function(t){if(t){var e=this.g,o=t.pixelRatio,i=Math.round(t.size[0]*o),o=Math.round(t.size[1]*o);this.b.width!=i||this.b.height!=o?(this.b.width=i,this.b.height=o):e.clearRect(0,0,i,o);var r=t.viewState.rotation;ws(t),sa(this,"precompose",t);var n=t.layerStatesArray;tt(n),Bs(e,r,i/2,o/2);for(var s,p,a=t.viewState.resolution,h=0,l=n.length;h<l;++h)s=Ss(this,s=(p=n[h]).layer),rs(p,a)&&"ready"==p.Ei&&s.o(t,p)&&s.D(t,p,e);Bs(e,-r,i/2,o/2),sa(this,"postcompose",t),this.a||(this.b.style.display="",this.a=!0),Ms(this,t),t.postRenderFunctions.push(xs)}else this.a&&(this.b.style.display="none",this.a=!1)},na.prototype.Bh=function(t,e,o,i,r,n){var s,p=e.viewState.resolution,a=e.layerStatesArray,h=a.length;for(t=ys(e.pixelToCoordinateTransform,t.slice()),--h;0<=h;--h){var l=(s=a[h]).layer;if(rs(s,p)&&r.call(n,l)&&(s=Ss(this,l).C(t,e,o,i)))return s}};var pa=[0,0,0,1],aa=[],ha=[0,0,0,1];function la(t,e,o,i,r,n){return(t=(o-t)*(n-e)-(r-t)*(i-e))<=ua&&-ua<=t?void 0:0<t}var ua=Number.EPSILON||2220446049250313e-31;function ca(t){this.b=t}function ya(t){this.b=t}function fa(t){this.b=t}function ga(){this.b="precision mediump float;varying vec2 a;varying vec2 b;varying float c;varying float d;uniform float m;uniform vec4 n;uniform vec4 o;uniform vec2 p;void main(void){vec2 windowCenter=vec2((a.x+1.0)/2.0*p.x*d,(a.y+1.0)/2.0*p.y*d);vec2 windowOffset=vec2((b.x+1.0)/2.0*p.x*d,(b.y+1.0)/2.0*p.y*d);float radius=length(windowCenter-windowOffset);float dist=length(windowCenter-gl_FragCoord.xy);if(dist>radius+c){if(o.a==0.0){gl_FragColor=n;}else{gl_FragColor=o;}gl_FragColor.a=gl_FragColor.a-(dist-(radius+c));}else if(n.a==0.0){gl_FragColor=o;if(dist<radius-c){gl_FragColor.a=gl_FragColor.a-(radius-c-dist);}} else{gl_FragColor=n;float strokeDist=radius-c;float antialias=2.0*d;if(dist>strokeDist){gl_FragColor=o;}else if(dist>=strokeDist-antialias){float step=smoothstep(strokeDist-antialias,strokeDist,dist);gl_FragColor=mix(n,o,step);}} gl_FragColor.a=gl_FragColor.a*m;if(gl_FragColor.a<=0.0){discard;}}"}i(ya,ca),ya.prototype.Y=function(){return 35632},i(fa,ca),fa.prototype.Y=function(){return 35633},i(ga,ya);var da=new ga;function va(){this.b="varying vec2 a;varying vec2 b;varying float c;varying float d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;void main(void){mat4 offsetMatrix=i*j;a=vec4(h*vec4(e,0.0,1.0)).xy;d=l;float lineWidth=k*l;c=lineWidth/2.0;if(lineWidth==0.0){lineWidth=2.0*l;}vec2 offset;float radius=g+3.0*l;if(f==0.0){offset=vec2(-1.0,1.0);}else if(f==1.0){offset=vec2(-1.0,-1.0);}else if(f==2.0){offset=vec2(1.0,-1.0);}else{offset=vec2(1.0,1.0);}gl_Position=h*vec4(e+offset*radius,0.0,1.0)+offsetMatrix*vec4(offset*lineWidth,0.0,0.0);b=vec4(h*vec4(e.x+g,e.y,0.0,1.0)).xy;if(distance(a,b)>20000.0){gl_Position=vec4(a,0.0,1.0);}}"}i(va,fa);var ba=new va;function ma(t,e){this.D=t.getUniformLocation(e,"n"),this.L=t.getUniformLocation(e,"k"),this.f=t.getUniformLocation(e,"j"),this.c=t.getUniformLocation(e,"i"),this.a=t.getUniformLocation(e,"m"),this.ra=t.getUniformLocation(e,"l"),this.g=t.getUniformLocation(e,"h"),this.va=t.getUniformLocation(e,"p"),this.P=t.getUniformLocation(e,"o"),this.j=t.getAttribLocation(e,"f"),this.b=t.getAttribLocation(e,"e"),this.u=t.getAttribLocation(e,"g")}function wa(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function xa(t,e){return t[0]=e[0],t[1]=e[1],t[4]=e[2],t[5]=e[3],t[12]=e[4],t[13]=e[5],t}function Sa(t,e){this.origin=Kt(e),this.Ua=as(),this.xa=as(),this.Ja=as(),this.na=wa(),this.b=[],this.o=null,this.g=[],this.i=[],this.a=[],this.v=null,this.j=void 0}function Ma(t,e,o,i){t.drawElements(4,i-o,e.i?5125:5123,o*(e.i?4:2))}function Pa(t){this.b=void 0!==t?t:[],this.a=Ta}i(Sa,rp),Sa.prototype.f=function(t,e,o,i,r,n,s,p,a,h,l){var u,c,y,f,g,d,v,b,m=t.b;this.j&&(u=m.isEnabled(m.STENCIL_TEST),c=m.getParameter(m.STENCIL_FUNC),y=m.getParameter(m.STENCIL_VALUE_MASK),f=m.getParameter(m.STENCIL_REF),g=m.getParameter(m.STENCIL_WRITEMASK),d=m.getParameter(m.STENCIL_FAIL),v=m.getParameter(m.STENCIL_PASS_DEPTH_PASS),b=m.getParameter(m.STENCIL_PASS_DEPTH_FAIL),m.enable(m.STENCIL_TEST),m.clear(m.STENCIL_BUFFER_BIT),m.stencilMask(255),m.stencilFunc(m.ALWAYS,1,255),m.stencilOp(m.KEEP,m.KEEP,m.REPLACE),this.j.f(t,e,o,i,r,n,s,p,a,h,l),m.stencilMask(0),m.stencilFunc(m.NOTEQUAL,1,255)),Fa(t,34962,this.v),Fa(t,34963,this.o),n=this.Ke(m,t,r,n);var w,x=hs(this.Ua);return gs(x,2/(o*r[0]),2/(o*r[1])),fs(x,-i),ds(x,-(e[0]-this.origin[0]),-(e[1]-this.origin[1])),gs(e=hs(this.Ja),2/r[0],2/r[1]),r=hs(this.xa),0!==i&&fs(r,-i),m.uniformMatrix4fv(n.g,!1,xa(this.na,x)),m.uniformMatrix4fv(n.c,!1,xa(this.na,e)),m.uniformMatrix4fv(n.f,!1,xa(this.na,r)),m.uniform1f(n.a,s),void 0===a?this.yd(m,t,p,!1):w=t=h?this.$d(m,t,p,a,l):(m.clear(m.COLOR_BUFFER_BIT|m.DEPTH_BUFFER_BIT),this.yd(m,t,p,!0),(t=a(null))?t:void 0),this.Le(m,n),this.j&&(u||m.disable(m.STENCIL_TEST),m.clear(m.STENCIL_BUFFER_BIT),m.stencilFunc(c,f,y),m.stencilMask(g),m.stencilOp(d,b,v)),w};var Ta=35044;function Aa(t,e){Sa.call(this,0,e),this.H=null,this.l=[],this.u=[],this.A=0,this.c={fillColor:null,strokeColor:null,lineDash:null,lineWidth:void 0,s:!1}}function Ea(t,e,o,i){e.uniform4fv(t.H.P,o),e.uniform1f(t.H.L,i)}function Ca(){this.b="precision mediump float;varying vec2 a;varying float b;uniform float k;uniform sampler2D l;void main(void){vec4 texColor=texture2D(l,a);gl_FragColor.rgb=texColor.rgb;float alpha=texColor.a*b*k;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}i(Aa,Sa),(Ey=Aa.prototype).hc=function(t,e){var o=t.qe(),i=t.pa();if(o){this.g.push(this.b.length),this.i.push(e),this.c.s&&(this.u.push(this.b.length),this.c.s=!1),this.A=o;for(var o=Te(o=t.ia(),2,i,-this.origin[0],-this.origin[1]),r=this.a.length,n=this.b.length,s=r/4,p=0;p<2;p+=i)this.a[r++]=o[p],this.a[r++]=o[p+1],this.a[r++]=0,this.a[r++]=this.A,this.a[r++]=o[p],this.a[r++]=o[p+1],this.a[r++]=1,this.a[r++]=this.A,this.a[r++]=o[p],this.a[r++]=o[p+1],this.a[r++]=2,this.a[r++]=this.A,this.a[r++]=o[p],this.a[r++]=o[p+1],this.a[r++]=3,this.a[r++]=this.A,this.b[n++]=s,this.b[n++]=s+1,this.b[n++]=s+2,this.b[n++]=s+2,this.b[n++]=s+3,this.b[n++]=s,s+=4}else this.c.s&&(this.l.pop(),this.l.length&&(i=this.l[this.l.length-1],this.c.fillColor=i[0],this.c.strokeColor=i[1],this.c.lineWidth=i[2],this.c.s=!1))},Ey.vb=function(){this.v=new Pa(this.a),this.o=new Pa(this.b),this.g.push(this.b.length),0===this.u.length&&0<this.l.length&&(this.l=[]),this.b=this.a=null},Ey.wb=function(t){var e=this.v,o=this.o;return function(){ka(t,e),ka(t,o)}},Ey.Ke=function(t,e,o,i){var r,n=Ba(e,da,ba);return this.H?r=this.H:this.H=r=new ma(t,n),e.Lc(n),t.enableVertexAttribArray(r.b),t.vertexAttribPointer(r.b,2,5126,!1,16,0),t.enableVertexAttribArray(r.j),t.vertexAttribPointer(r.j,1,5126,!1,16,8),t.enableVertexAttribArray(r.u),t.vertexAttribPointer(r.u,1,5126,!1,16,12),t.uniform2fv(r.va,o),t.uniform1f(r.ra,i),r},Ey.Le=function(t,e){t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.j),t.disableVertexAttribArray(e.u)},Ey.yd=function(t,e,o){if(U(o)){var i=this.g[this.g.length-1];for(o=this.u.length-1;0<=o;--o)a=this.u[o],p=this.l[o],t.uniform4fv(this.H.D,p[0]),Ea(this,t,p[1],p[2]),Ma(t,e,a,i),i=a}else for(var r,n,s=this.g.length-2,p=i=this.g[s+1],a=this.u.length-1;0<=a;--a){for(r=this.l[a],t.uniform4fv(this.H.D,r[0]),Ea(this,t,r[1],r[2]),r=this.u[a];0<=s&&this.g[s]>=r;)n=this.g[s],o[B(this.i[s]).toString()]&&(i!==p&&Ma(t,e,i,p),p=n),s--,i=n;i!==p&&Ma(t,e,i,p),i=p=r}},Ey.$d=function(t,e,o,i,r){for(var n,s,p,a=this.g.length-2,h=this.g[a+1],l=this.u.length-1;0<=l;--l)for(n=this.l[l],t.uniform4fv(this.H.D,n[0]),Ea(this,t,n[1],n[2]),s=this.u[l];0<=a&&this.g[a]>=s;){if(n=this.g[a],void 0===o[B(p=this.i[a]).toString()]&&p.V()&&(void 0===r||Zt(r,p.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Ma(t,e,n,h),h=i(p)))return h;a--,h=n}},Ey.Ma=function(t,e){var o,i=e?(o=e.g,this.c.lineDash=o||aa,o=!((o=e.b)instanceof CanvasGradient||o instanceof CanvasPattern)&&Jo(o).map(function(t,e){return 3!=e?t/255:t})||ha,void 0!==(i=e.f)?i:1):(o=[0,0,0,0],0),t=!((t=t?t.b:[0,0,0,0])instanceof CanvasGradient||t instanceof CanvasPattern)&&Jo(t).map(function(t,e){return 3!=e?t/255:t})||pa;this.c.strokeColor&&Q(this.c.strokeColor,o)&&this.c.fillColor&&Q(this.c.fillColor,t)&&this.c.lineWidth===i||(this.c.s=!0,this.c.fillColor=t,this.c.strokeColor=o,this.c.lineWidth=i,this.l.push([t,o,i]))},i(Ca,ya);var ja=new Ca;function La(){this.b="varying vec2 a;varying float b;attribute vec2 c;attribute vec2 d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;void main(void){mat4 offsetMatrix=i;if(g==1.0){offsetMatrix=i*j;}vec4 offsets=offsetMatrix*vec4(e,0.0,0.0);gl_Position=h*vec4(c,0.0,1.0)+offsets;a=d;b=f;}"}i(La,fa);var Ra=new La;function Na(t,e){this.f=t.getUniformLocation(e,"j"),this.c=t.getUniformLocation(e,"i"),this.a=t.getUniformLocation(e,"k"),this.g=t.getUniformLocation(e,"h"),this.v=t.getAttribLocation(e,"e"),this.H=t.getAttribLocation(e,"f"),this.b=t.getAttribLocation(e,"c"),this.A=t.getAttribLocation(e,"g"),this.C=t.getAttribLocation(e,"d")}function Ia(t,e){this.j=t,this.b=e,this.a={},this.f={},this.g={},this.o=this.v=this.c=this.l=null,(this.i=q(o,"OES_element_index_uint"))&&e.getExtension("OES_element_index_uint"),P(this.j,"webglcontextlost",this.co,this),P(this.j,"webglcontextrestored",this.eo,this)}function Fa(t,e,o){var i,r,n=t.b,s=o.b,p=String(B(o));p in t.a?n.bindBuffer(e,t.a[p].buffer):(i=n.createBuffer(),n.bindBuffer(e,i),34962==e?r=new Float32Array(s):34963==e&&(r=new(t.i?Uint32Array:Uint16Array)(s)),n.bufferData(e,r,o.a),t.a[p]={gc:o,buffer:i})}function ka(t,e){var o=t.b,i=String(B(e)),e=t.a[i];o.isContextLost()||o.deleteBuffer(e.buffer),delete t.a[i]}function Oa(t){var e,o,i,r;return t.c||(o=(e=t.b).createFramebuffer(),e.bindFramebuffer(e.FRAMEBUFFER,o),i=Ga(e,1,1),r=e.createRenderbuffer(),e.bindRenderbuffer(e.RENDERBUFFER,r),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,1,1),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,i,0),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,r),e.bindTexture(e.TEXTURE_2D,null),e.bindRenderbuffer(e.RENDERBUFFER,null),e.bindFramebuffer(e.FRAMEBUFFER,null),t.c=o,t.v=i,t.o=r),t.c}function Da(t,e){var o=String(B(e));if(o in t.f)return t.f[o];var i=t.b,r=i.createShader(e.Y());return i.shaderSource(r,e.b),i.compileShader(r),t.f[o]=r}function Ba(t,e,o){var i=B(e)+"/"+B(o);if(i in t.g)return t.g[i];var r=t.b,n=r.createProgram();return r.attachShader(n,Da(t,e)),r.attachShader(n,Da(t,o)),r.linkProgram(n),t.g[i]=n}function Ua(t,e,o){var i=t.createTexture();return t.bindTexture(t.TEXTURE_2D,i),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),void 0!==e&&t.texParameteri(3553,10242,e),void 0!==o&&t.texParameteri(3553,10243,o),i}function Ga(t,e,o){var i=Ua(t,void 0,void 0);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,e,o,0,t.RGBA,t.UNSIGNED_BYTE,null),i}function Ka(t,e){var o=Ua(t,33071,33071);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,e),o}function Xa(t,e){Sa.call(this,0,e),this.D=this.C=void 0,this.A=[],this.H=[],this.ra=void 0,this.l=[],this.c=[],this.P=this.va=void 0,this.L=null,this.sa=this.fa=this.eb=this.Z=this.Qa=this.U=void 0,this.Fa=[],this.u=[],this.zb=void 0}function Va(t,e,o,i){for(var r,n,s,p,a,h=t.C,l=t.D,u=t.ra,c=t.va,y=t.P,f=t.U,g=t.Qa,d=t.Z,v=t.eb?1:0,b=-t.fa,m=t.sa,w=t.zb,x=Math.cos(b),b=Math.sin(b),S=t.b.length,M=t.a.length,P=0;P<o;P+=i)p=e[P]-t.origin[0],a=e[P+1]-t.origin[1],r=M/8,n=-m*h,s=-m*(u-l),t.a[M++]=p,t.a[M++]=a,t.a[M++]=n*x-s*b,t.a[M++]=n*b+s*x,t.a[M++]=g/y,t.a[M++]=(d+u)/c,t.a[M++]=f,t.a[M++]=v,n=m*(w-h),s=-m*(u-l),t.a[M++]=p,t.a[M++]=a,t.a[M++]=n*x-s*b,t.a[M++]=n*b+s*x,t.a[M++]=(g+w)/y,t.a[M++]=(d+u)/c,t.a[M++]=f,t.a[M++]=v,n=m*(w-h),s=m*l,t.a[M++]=p,t.a[M++]=a,t.a[M++]=n*x-s*b,t.a[M++]=n*b+s*x,t.a[M++]=(g+w)/y,t.a[M++]=d/c,t.a[M++]=f,t.a[M++]=v,n=-m*h,s=m*l,t.a[M++]=p,t.a[M++]=a,t.a[M++]=n*x-s*b,t.a[M++]=n*b+s*x,t.a[M++]=g/y,t.a[M++]=d/c,t.a[M++]=f,t.a[M++]=v,t.b[S++]=r,t.b[S++]=1+r,t.b[S++]=2+r,t.b[S++]=r,t.b[S++]=2+r,t.b[S++]=3+r}function Wa(t,e,o,i){for(var r,n,s=e.length,p=0;p<s;++p)(n=B(r=e[p]).toString())in o?r=o[n]:(r=Ka(i,r),o[n]=r),t[p]=r}function za(t,e,o){var i=e-o;return t[0]===t[i]&&t[1]===t[1+i]&&3<+e/o&&!!Le(t,0,e,o)}function Ha(){this.b="precision mediump float;varying float a;varying vec2 b;varying float c;uniform float m;uniform vec4 n;uniform vec2 o;uniform float p;void main(void){if(a>0.0){vec2 windowCoords=vec2((b.x+1.0)/2.0*o.x*p,(b.y+1.0)/2.0*o.y*p);if(length(windowCoords-gl_FragCoord.xy)>c*p){discard;}} gl_FragColor=n;float alpha=n.a*m;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}i(Ia,R),(Ey=Ia.prototype).oa=function(){C(this.j);var t=this.b;if(!t.isContextLost()){for(var e in this.a)t.deleteBuffer(this.a[e].buffer);for(e in this.g)t.deleteProgram(this.g[e]);for(e in this.f)t.deleteShader(this.f[e]);t.deleteFramebuffer(this.c),t.deleteRenderbuffer(this.o),t.deleteTexture(this.v)}},Ey.bo=function(){return this.b},Ey.co=function(){l(this.a),l(this.f),l(this.g),this.o=this.v=this.c=this.l=null},Ey.eo=function(){},Ey.Lc=function(t){return t!=this.l&&(this.b.useProgram(t),this.l=t,!0)},i(Xa,Sa),(Ey=Xa.prototype).wb=function(o){var i=this.v,r=this.o,n=this.Fa,s=this.u,p=o.b;return function(){if(!p.isContextLost()){for(var t=0,e=n.length;t<e;++t)p.deleteTexture(n[t]);for(t=0,e=s.length;t<e;++t)p.deleteTexture(s[t])}ka(o,i),ka(o,r)}},Ey.vc=function(t,e){this.g.push(this.b.length),this.i.push(e);e=t.ia();Va(this,e,e.length,t.pa())},Ey.xc=function(t,e){this.g.push(this.b.length),this.i.push(e);e=t.ia();Va(this,e,e.length,t.pa())},Ey.vb=function(t){t=t.b,this.A.push(this.b.length),this.H.push(this.b.length),this.v=new Pa(this.a),this.o=new Pa(this.b);var e={};Wa(this.Fa,this.l,e,t),Wa(this.u,this.c,e,t),this.ra=this.D=this.C=void 0,this.c=this.l=null,this.P=this.va=void 0,this.b=null,this.sa=this.fa=this.eb=this.Z=this.Qa=this.U=void 0,this.a=null,this.zb=void 0},Ey.Ke=function(t,e){var o,i=Ba(e,ja,Ra);return this.L?o=this.L:this.L=o=new Na(t,i),e.Lc(i),t.enableVertexAttribArray(o.b),t.vertexAttribPointer(o.b,2,5126,!1,32,0),t.enableVertexAttribArray(o.v),t.vertexAttribPointer(o.v,2,5126,!1,32,8),t.enableVertexAttribArray(o.C),t.vertexAttribPointer(o.C,2,5126,!1,32,16),t.enableVertexAttribArray(o.H),t.vertexAttribPointer(o.H,1,5126,!1,32,24),t.enableVertexAttribArray(o.A),t.vertexAttribPointer(o.A,1,5126,!1,32,28),o},Ey.Le=function(t,e){t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.v),t.disableVertexAttribArray(e.C),t.disableVertexAttribArray(e.H),t.disableVertexAttribArray(e.A)},Ey.yd=function(t,e,o,i){var r,n,s=i?this.u:this.Fa;if(i=i?this.H:this.A,U(o))for(o=0,r=s.length,n=0;o<r;++o){t.bindTexture(3553,s[o]);var p=i[o];Ma(t,e,n,p),n=p}else for(n=r=0,p=s.length;n<p;++n){t.bindTexture(3553,s[n]);for(var a=0<n?i[n-1]:0,h=i[n],l=a;r<this.g.length&&this.g[r]<=h;){a=void 0!==o[B(this.i[r]).toString()]?(l!==a&&Ma(t,e,l,a),l=r===this.g.length-1?h:this.g[r+1]):r===this.g.length-1?h:this.g[r+1];r++}l!==a&&Ma(t,e,l,a)}},Ey.$d=function(t,e,o,i,r){for(var n,s,p,a,h=this.g.length-1,l=this.u.length-1;0<=l;--l)for(t.bindTexture(3553,this.u[l]),n=0<l?this.H[l-1]:0,p=this.H[l];0<=h&&this.g[h]>=n;){if(s=this.g[h],void 0===o[B(a=this.i[h]).toString()]&&a.V()&&(void 0===r||Zt(r,a.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Ma(t,e,s,p),p=i(a)))return p;p=s,h--}},Ey.dc=function(t){var e=t.Ac(),o=t.Ic(1),i=t.de(),r=t.Lf(1),n=t.l,s=t.Jc(),p=t.H,a=t.o,h=t.ac();t=t.i,0===this.l.length?this.l.push(o):B(this.l[this.l.length-1])!=B(o)&&(this.A.push(this.b.length),this.l.push(o)),0===this.c.length?this.c.push(r):B(this.c[this.c.length-1])!=B(r)&&(this.H.push(this.b.length),this.c.push(r)),this.C=e[0],this.D=e[1],this.ra=h[1],this.va=i[1],this.P=i[0],this.U=n,this.Qa=s[0],this.Z=s[1],this.fa=a,this.eb=p,this.sa=t,this.zb=h[0]},i(Ha,ya);var Ya=new Ha;function Za(){this.b="varying float a;varying vec2 b;varying float c;attribute vec2 d;attribute vec2 e;attribute vec2 f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;bool nearlyEquals(in float value,in float ref){float epsilon=0.000000000001;return value>=ref-epsilon&&value<=ref+epsilon;}void alongNormal(out vec2 offset,in vec2 nextP,in float turnDir,in float direction){vec2 dirVect=nextP-e;vec2 normal=normalize(vec2(-turnDir*dirVect.y,turnDir*dirVect.x));offset=k/2.0*normal*direction;}void miterUp(out vec2 offset,out float round,in bool isRound,in float direction){float halfWidth=k/2.0;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=f-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;round=0.0;if(isRound){round=1.0;}else if(miterLength>l+k){offset=halfWidth*tmpNormal*direction;}} bool miterDown(out vec2 offset,in vec4 projPos,in mat4 offsetMatrix,in float direction){bool degenerate=false;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=d-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));vec2 longOffset,shortOffset,longVertex;vec4 shortProjVertex;float halfWidth=k/2.0;if(length(f-e)>length(d-e)){longOffset=tmpNormal*direction*halfWidth;shortOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=f;shortProjVertex=h*vec4(d,0.0,1.0);}else{shortOffset=tmpNormal*direction*halfWidth;longOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=d;shortProjVertex=h*vec4(f,0.0,1.0);}vec4 p1=h*vec4(longVertex,0.0,1.0)+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p2=projPos+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p3=shortProjVertex+offsetMatrix*vec4(-shortOffset,0.0,0.0);vec4 p4=shortProjVertex+offsetMatrix*vec4(shortOffset,0.0,0.0);float denom=(p4.y-p3.y)*(p2.x-p1.x)-(p4.x-p3.x)*(p2.y-p1.y);float firstU=((p4.x-p3.x)*(p1.y-p3.y)-(p4.y-p3.y)*(p1.x-p3.x))/denom;float secondU=((p2.x-p1.x)*(p1.y-p3.y)-(p2.y-p1.y)*(p1.x-p3.x))/denom;float epsilon=0.000000000001;if(firstU>epsilon&&firstU<1.0-epsilon&&secondU>epsilon&&secondU<1.0-epsilon){shortProjVertex.x=p1.x+firstU*(p2.x-p1.x);shortProjVertex.y=p1.y+firstU*(p2.y-p1.y);offset=shortProjVertex.xy;degenerate=true;}else{float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;}return degenerate;}void squareCap(out vec2 offset,out float round,in bool isRound,in vec2 nextP,in float turnDir,in float direction){round=0.0;vec2 dirVect=e-nextP;vec2 firstNormal=normalize(dirVect);vec2 secondNormal=vec2(turnDir*firstNormal.y*direction,-turnDir*firstNormal.x*direction);vec2 hypotenuse=normalize(firstNormal-secondNormal);vec2 normal=vec2(turnDir*hypotenuse.y*direction,-turnDir*hypotenuse.x*direction);float length=sqrt(c*c*2.0);offset=normal*length;if(isRound){round=1.0;}} void main(void){bool degenerate=false;float direction=float(sign(g));mat4 offsetMatrix=i*j;vec2 offset;vec4 projPos=h*vec4(e,0.0,1.0);bool round=nearlyEquals(mod(g,2.0),0.0);a=0.0;c=k/2.0;b=projPos.xy;if(nearlyEquals(mod(g,3.0),0.0)||nearlyEquals(mod(g,17.0),0.0)){alongNormal(offset,f,1.0,direction);}else if(nearlyEquals(mod(g,5.0),0.0)||nearlyEquals(mod(g,13.0),0.0)){alongNormal(offset,d,-1.0,direction);}else if(nearlyEquals(mod(g,23.0),0.0)){miterUp(offset,a,round,direction);}else if(nearlyEquals(mod(g,19.0),0.0)){degenerate=miterDown(offset,projPos,offsetMatrix,direction);}else if(nearlyEquals(mod(g,7.0),0.0)){squareCap(offset,a,round,f,1.0,direction);}else if(nearlyEquals(mod(g,11.0),0.0)){squareCap(offset,a,round,d,-1.0,direction);}if(!degenerate){vec4 offsets=offsetMatrix*vec4(offset,0.0,0.0);gl_Position=projPos+offsets;}else{gl_Position=vec4(offset,0.0,1.0);}}"}i(Za,fa);var qa=new Za;function Ja(t,e){this.D=t.getUniformLocation(e,"n"),this.L=t.getUniformLocation(e,"k"),this.P=t.getUniformLocation(e,"l"),this.f=t.getUniformLocation(e,"j"),this.c=t.getUniformLocation(e,"i"),this.a=t.getUniformLocation(e,"m"),this.ra=t.getUniformLocation(e,"p"),this.g=t.getUniformLocation(e,"h"),this.va=t.getUniformLocation(e,"o"),this.i=t.getAttribLocation(e,"g"),this.l=t.getAttribLocation(e,"d"),this.o=t.getAttribLocation(e,"f"),this.b=t.getAttribLocation(e,"e")}function _a(t,e){Sa.call(this,0,e),this.H=null,this.u=[],this.l=[],this.c={strokeColor:null,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0,s:!1}}function $a(t,e,o,i){for(var r,n,s,p,a,h,l=t.a.length,u=t.b.length,c="bevel"===t.c.lineJoin?0:"miter"===t.c.lineJoin?1:2,y="butt"===t.c.lineCap?0:"square"===t.c.lineCap?1:2,f=za(e,o,i),g=u,d=1,v=0;v<o;v+=i){if(s=l/7,p=a,a=h||[e[v],e[v+1]],0===v){if(h=[e[v+i],e[v+i+1]],+o==2*i&&Q(a,h))break;if(!f){y&&(l=Qa(t,[0,0],a,h,7*d*y,l),l=Qa(t,[0,0],a,h,7*-d*y,l),t.b[u++]=s+2,t.b[u++]=s,t.b[u++]=s+1,t.b[u++]=s+1,t.b[u++]=s+3,t.b[u++]=s+2),l=Qa(t,[0,0],a,h,3*d*(y||1),l),g=(l=Qa(t,[0,0],a,h,3*-d*(y||1),l))/7-1;continue}p=[e[o-2*i],e[o-2*i+1]],r=h}else{if(v===o-i){f?h=r:(l=Qa(t,p=p||[0,0],a,[0,0],5*d*(y||1),l),l=Qa(t,p,a,[0,0],5*-d*(y||1),l),t.b[u++]=s,t.b[u++]=g-1,t.b[u++]=g,t.b[u++]=g,t.b[u++]=s+1,t.b[u++]=s,y&&(l=Qa(t,p,a,[0,0],11*d*y,l),l=Qa(t,p,a,[0,0],11*-d*y,l),t.b[u++]=s+2,t.b[u++]=s,t.b[u++]=s+1,t.b[u++]=s+1,t.b[u++]=s+3,t.b[u++]=s+2));break}h=[e[v+i],e[v+i+1]]}l=Qa(t,p,a,h,13*(n=la(p[0],p[1],a[0],a[1],h[0],h[1])?-1:1)*(c||1),l),l=Qa(t,p,a,h,17*n*(c||1),l),l=Qa(t,p,a,h,19*-n*(c||1),l),0<v&&(t.b[u++]=s,t.b[u++]=g-1,t.b[u++]=g,t.b[u++]=s+2,t.b[u++]=s,t.b[u++]=0<d*n?g:g-1),t.b[u++]=s,t.b[u++]=s+2,t.b[u++]=s+1,g=s+2,d=n,c&&(l=Qa(t,p,a,h,23*n*c,l),t.b[u++]=s+1,t.b[u++]=s+3,t.b[u++]=s)}f&&(s=s||l/7,l=Qa(t,p,a,h,13*(n=Qe([p[0],p[1],a[0],a[1],h[0],h[1]],0,6,2)?1:-1)*(c||1),l),Qa(t,p,a,h,19*-n*(c||1),l),t.b[u++]=s,t.b[u++]=g-1,t.b[u++]=g,t.b[u++]=s+1,t.b[u++]=s,t.b[u++]=0<d*n?g:g-1)}function Qa(t,e,o,i,r,n){return t.a[n++]=e[0],t.a[n++]=e[1],t.a[n++]=o[0],t.a[n++]=o[1],t.a[n++]=i[0],t.a[n++]=i[1],t.a[n++]=r,n}function th(t,e,o){return!((e-=0)<2*o)&&(e!==2*o||!Q([t[0],t[1]],[t[0+o],t[o+1]]))}function eh(t,e,o,i){var r;if(za(e,e.length,i)||(e.push(e[0]),e.push(e[1])),$a(t,e,e.length,i),o.length)for(e=0,r=o.length;e<r;++e)za(o[e],o[e].length,i)||(o[e].push(o[e][0]),o[e].push(o[e][1])),$a(t,o[e],o[e].length,i)}function oh(t,e,o){o=void 0===o?t.b.length:o,t.g.push(o),t.i.push(e),t.c.s&&(t.l.push(o),t.c.s=!1)}function ih(t,e,o,i,r){e.uniform4fv(t.H.D,o),e.uniform1f(t.H.L,i),e.uniform1f(t.H.P,r)}function rh(){this.b="precision mediump float;uniform vec4 e;uniform float f;void main(void){gl_FragColor=e;float alpha=e.a*f;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}i(_a,Sa),(Ey=_a.prototype).Pb=function(t,e){var o=t.ia(),t=t.pa();th(o,o.length,t)&&(o=Te(o,o.length,t,-this.origin[0],-this.origin[1]),this.c.s&&(this.l.push(this.b.length),this.c.s=!1),this.g.push(this.b.length),this.i.push(e),$a(this,o,o.length,t))},Ey.uc=function(t,e){for(var o=this.b.length,i=t.Yc(),r=0,n=i.length;r<n;++r){var s=i[r].ia(),p=i[r].pa();th(s,s.length,p)&&$a(this,s=Te(s,s.length,p,-this.origin[0],-this.origin[1]),s.length,p)}this.b.length>o&&(this.g.push(o),this.i.push(e),this.c.s&&(this.l.push(o),this.c.s=!1))},Ey.vb=function(){this.v=new Pa(this.a),this.o=new Pa(this.b),this.g.push(this.b.length),0===this.l.length&&0<this.u.length&&(this.u=[]),this.b=this.a=null},Ey.wb=function(t){var e=this.v,o=this.o;return function(){ka(t,e),ka(t,o)}},Ey.Ke=function(t,e,o,i){var r,n=Ba(e,Ya,qa);return this.H?r=this.H:this.H=r=new Ja(t,n),e.Lc(n),t.enableVertexAttribArray(r.l),t.vertexAttribPointer(r.l,2,5126,!1,28,0),t.enableVertexAttribArray(r.b),t.vertexAttribPointer(r.b,2,5126,!1,28,8),t.enableVertexAttribArray(r.o),t.vertexAttribPointer(r.o,2,5126,!1,28,16),t.enableVertexAttribArray(r.i),t.vertexAttribPointer(r.i,1,5126,!1,28,24),t.uniform2fv(r.va,o),t.uniform1f(r.ra,i),r},Ey.Le=function(t,e){t.disableVertexAttribArray(e.l),t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.o),t.disableVertexAttribArray(e.i)},Ey.yd=function(t,e,o,i){var r=t.getParameter(t.DEPTH_FUNC),n=t.getParameter(t.DEPTH_WRITEMASK);if(i||(t.enable(t.DEPTH_TEST),t.depthMask(!0),t.depthFunc(t.NOTEQUAL)),U(o)){var s=this.g[this.g.length-1];for(o=this.l.length-1;0<=o;--o)u=this.l[o],ih(this,t,(l=this.u[o])[0],l[1],l[2]),Ma(t,e,u,s),t.clear(t.DEPTH_BUFFER_BIT),s=u}else for(var p,a,h=this.g.length-2,l=s=this.g[h+1],u=this.l.length-1;0<=u;--u){for(ih(this,t,(p=this.u[u])[0],p[1],p[2]),p=this.l[u];0<=h&&this.g[h]>=p;)a=this.g[h],o[B(this.i[h]).toString()]&&(s!==l&&(Ma(t,e,s,l),t.clear(t.DEPTH_BUFFER_BIT)),l=a),h--,s=a;s!==l&&(Ma(t,e,s,l),t.clear(t.DEPTH_BUFFER_BIT)),s=l=p}i||(t.disable(t.DEPTH_TEST),t.clear(t.DEPTH_BUFFER_BIT),t.depthMask(n),t.depthFunc(r))},Ey.$d=function(t,e,o,i,r){for(var n,s,p,a=this.g.length-2,h=this.g[a+1],l=this.l.length-1;0<=l;--l)for(ih(this,t,(n=this.u[l])[0],n[1],n[2]),s=this.l[l];0<=a&&this.g[a]>=s;){if(n=this.g[a],void 0===o[B(p=this.i[a]).toString()]&&p.V()&&(void 0===r||Zt(r,p.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Ma(t,e,n,h),h=i(p)))return h;a--,h=n}},Ey.Ma=function(t,e){var o=e.c;this.c.lineCap=void 0!==o?o:"round",o=e.g,this.c.lineDash=o||aa,o=e.i,this.c.lineJoin=void 0!==o?o:"round",o=!((o=e.b)instanceof CanvasGradient||o instanceof CanvasPattern)&&Jo(o).map(function(t,e){return 3!=e?t/255:t})||ha;var i=void 0!==(i=e.f)?i:1,e=void 0!==(e=e.j)?e:10;this.c.strokeColor&&Q(this.c.strokeColor,o)&&this.c.lineWidth===i&&this.c.miterLimit===e||(this.c.s=!0,this.c.strokeColor=o,this.c.lineWidth=i,this.c.miterLimit=e,this.u.push([o,i,e]))},i(rh,ya);var nh=new rh;function sh(){this.b="attribute vec2 a;uniform mat4 b;uniform mat4 c;uniform mat4 d;void main(void){gl_Position=b*vec4(a,0.0,1.0);}"}i(sh,fa);var ph,ah,hh,lh,uh,ch,yh=new sh;function fh(t,e){this.D=t.getUniformLocation(e,"e"),this.f=t.getUniformLocation(e,"d"),this.c=t.getUniformLocation(e,"c"),this.a=t.getUniformLocation(e,"f"),this.g=t.getUniformLocation(e,"b"),this.b=t.getAttribLocation(e,"a")}function gh(t){this.b=this.a=this.g=void 0,this.c=void 0===t||t,this.f=0}function dh(t){var e,o,i=t.b;i&&(e=i.next,o=i.pb,e&&(e.pb=o),o&&(o.next=e),t.b=e||o,t.g===t.a?(t.b=void 0,t.g=void 0,t.a=void 0):t.g===i?t.g=t.b:t.a===i&&(t.a=o?t.b.pb:t.b),t.f--)}function vh(t){if(t.b=t.g,t.b)return t.b.data}function bh(t){if(t.b&&t.b.next)return t.b=t.b.next,t.b.data}function mh(t){if(t.b&&t.b.next)return t.b.next.data}function wh(t){if(t.b&&t.b.pb)return t.b=t.b.pb,t.b.data}function xh(t){if(t.b&&t.b.pb)return t.b.pb.data}function Sh(t){if(t.b)return t.b.data}function Mh(t){this.b=ph(t),this.a={}}function Ph(t,e,o){var i=t.a[B(o)];It([i.ea,i.ga,i.ca,i.ja],e)||(t.remove(o),t.Da(e,o))}function Th(t){return t.b.all().map(function(t){return t.value})}function Ah(t,e){return t.b.search({ea:e[0],ga:e[1],ca:e[2],ja:e[3]}).map(function(t){return t.value})}function Eh(t,e,o,i){return Ch(Ah(t,e),o,i)}function Ch(t,e,o){for(var i,r=0,n=t.length;r<n&&!(i=e.call(o,t[r]));r++);return i}function jh(t,e){Sa.call(this,0,e),this.j=new _a(0,e),this.H=null,this.u=[],this.c=[],this.l={fillColor:null,s:!1}}function Lh(t,e,o,i){var r=new gh,n=new Mh;if(e=Rh(t,e,i,r,n,!0),o.length){for(var s=[],p=0,a=o.length;p<a;++p){var h={list:new gh,ca:void 0};s.push(h),h.ca=Rh(t,o[p],i,h.list,n,!1)}for(s.sort(function(t,e){return e.ca-t.ca}),p=0;p<s.length;++p)!function(t,e,o,i,r){Nh(t,r,!0);for(var n=vh(t);n.X.x!==e;)n=bh(t);e=n.X,i={x:i,y:e.y,$a:-1};var s,p,a,h,l=1/0;for(a=Gh({ba:e,X:i},r,!0),s=0,p=a.length;s<p;++s){var u,c,y=a[s];void 0===y.ba.qb&&(u=Kh(e,i,y.ba,y.X,!0),(c=Math.abs(e.x-u[0]))<l&&(l=c,h={x:u[0],y:u[1],$a:-1},n=y))}if(1/0!==l){if(a=n.X,0<l&&(n=Uh(e,h,n.X,r)).length)for(h=1/0,s=0,p=n.length;s<p;++s)l=n[s],((y=Math.atan2(e.y-l.y,i.x-l.x))<h||y===h&&l.x<a.x)&&(h=y,a=l);for(n=vh(o);n.X!==a;)n=bh(o);i={x:e.x,y:e.y,$a:e.$a,qb:void 0},s={x:n.X.x,y:n.X.y,$a:n.X.$a,qb:void 0},mh(t).ba=i,Dh(e,n.X,t,r),Dh(s,i,t,r),n.X=s,t.c&&t.b&&(t.g=t.b,t.a=t.b.pb),o.concat(t)}}(s[p].list,s[p].ca,r,e,n)}Nh(r,n,!1),function t(e,o,i){for(var r=!1,n=kh(o,i);3<o.f;)if(n){if(!Ih(e,o,i,n,r)&&!Nh(o,i,r)&&!Fh(e,o,i,!0))break}else if(!Ih(e,o,i,n,r)&&!Nh(o,i,r)&&!Fh(e,o,i)){if(!(n=kh(o,i))){n=e,s=p=vh(r=o);do{if((a=Gh(s,i)).length){for(p=a[0],a=Kh(s.ba,s.X,p.ba,p.X),a=Oh(n,a[0],a[1],n.a.length/2),h=new gh,l=new Mh,Dh(a,s.X,h,l),s.X=a,Ph(i,[Math.min(s.ba.x,a.x),Math.min(s.ba.y,a.y),Math.max(s.ba.x,a.x),Math.max(s.ba.y,a.y)],s),s=bh(r);s!==p;)Dh(s.ba,s.X,h,l),i.remove(s),dh(r),s=Sh(r);Dh(p.ba,a,h,l),p.ba=a,Ph(i,[Math.min(p.X.x,a.x),Math.min(p.X.y,a.y),Math.max(p.X.x,a.x),Math.max(p.X.y,a.y)],p),Nh(r,i,!1),t(n,r,i),Nh(h,l,!1),t(n,h,l);break}}while((s=bh(r))!==p);break}for(var r=o,s=2*r.f,p=Array(s),a=vh(r),h=a,l=0;p[l++]=h.ba.x,p[l++]=h.ba.y,h=bh(r),h!==a;);r=!Qe(p,0,s,2),Nh(o,i,r)}3===o.f&&(n=e.b.length,e.b[n++]=xh(o).ba.$a,e.b[n++]=Sh(o).ba.$a,e.b[n++]=mh(o).ba.$a)}(t,r,n)}function Rh(t,e,o,i,r,n){var s,p,a,h,l,u=t.a.length/2,c=[],y=[];if(n===Qe(e,0,e.length,o))for(h=a=Oh(t,e[0],e[1],u++),n=e[0],s=o,p=e.length;s<p;s+=o)l=Oh(t,e[s],e[s+1],u++),y.push(Dh(h,l,i)),c.push([Math.min(h.x,l.x),Math.min(h.y,l.y),Math.max(h.x,l.x),Math.max(h.y,l.y)]),n=e[s]>n?e[s]:n,h=l;else for(h=a=Oh(t,e[s=e.length-o],e[s+1],u++),n=e[s],s-=o,p=0;p<=s;s-=o)l=Oh(t,e[s],e[s+1],u++),y.push(Dh(h,l,i)),c.push([Math.min(h.x,l.x),Math.min(h.y,l.y),Math.max(h.x,l.x),Math.max(h.y,l.y)]),n=e[s]>n?e[s]:n,h=l;return y.push(Dh(l,a,i)),c.push([Math.min(h.x,l.x),Math.min(h.y,l.y),Math.max(h.x,l.x),Math.max(h.y,l.y)]),r.load(c,y),n}function Nh(t,e,o){var i=vh(t),r=i,n=bh(t),s=!1;do{var p=o?la(n.X.x,n.X.y,r.X.x,r.X.y,r.ba.x,r.ba.y):la(r.ba.x,r.ba.y,r.X.x,r.X.y,n.X.x,n.X.y)}while(void 0===p?(Bh(r,n,t,e),s=!0,n===i&&(i=mh(t)),n=r,wh(t)):r.X.qb!==p&&(r.X.qb=p,s=!0),r=n,n=bh(t),r!==i);return s}function Ih(t,e,o,i,r){var n=t.b.length,s=vh(e),p=xh(e),a=s,h=bh(e),l=mh(e),u=!1;do{var c,y=a.ba,f=a.X,g=h.X}while(!1===f.qb&&(c=r?Xh(l.X,g,f,y,p.ba):Xh(p.ba,y,f,g,l.X),!i&&0!==Gh({ba:y,X:g},o).length||!c||0!==Uh(y,f,g,o,!0).length||!i&&!1!==y.qb&&!1!==g.qb&&Qe([p.ba.x,p.ba.y,y.x,y.y,f.x,f.y,g.x,g.y,l.X.x,l.X.y],0,10,2)!==!r||(t.b[n++]=y.$a,t.b[n++]=f.$a,t.b[n++]=g.$a,Bh(a,h,e,o),h===s&&(s=l),u=!0)),p=xh(e),a=Sh(e),h=bh(e),l=mh(e),a!==s&&3<e.f);return u}function Fh(t,e,o,i){var r=vh(e);bh(e);var n=r,s=bh(e),p=!1;do{var a=Kh(n.ba,n.X,s.ba,s.X,i);if(a){var h,p=t.b.length,l=t.a.length/2,u=wh(e);if(dh(e),o.remove(u),h=u===r,i?(h=a[0]===n.ba.x&&a[1]===n.ba.y?(wh(e),a=n.ba,s.ba=a,o.remove(n),h||n===r):(a=s.X,n.X=a,o.remove(s),h||s===r),dh(e)):(a=Oh(t,a[0],a[1],l),n.X=a,s.ba=a,Ph(o,[Math.min(n.ba.x,n.X.x),Math.min(n.ba.y,n.X.y),Math.max(n.ba.x,n.X.x),Math.max(n.ba.y,n.X.y)],n),Ph(o,[Math.min(s.ba.x,s.X.x),Math.min(s.ba.y,s.X.y),Math.max(s.ba.x,s.X.x),Math.max(s.ba.y,s.X.y)],s)),t.b[p++]=u.ba.$a,t.b[p++]=u.X.$a,t.b[p++]=a.$a,p=!0,h)break}}while(n=xh(e),s=bh(e),n!==r);return p}function kh(t,e){var o=vh(t),i=o;do{if(Gh(i,e).length)return!1}while((i=bh(t))!==o);return!0}function Oh(t,e,o,i){var r=t.a.length;return{x:t.a[r++]=e,y:t.a[+r]=o,$a:i,qb:void 0}}function Dh(t,e,o,i){var r,n={ba:t,X:e},s={pb:void 0,next:void 0,data:n},p=o.b;return p?(r=p.next,s.pb=p,s.next=r,p.next=s,r&&(r.pb=s),p===o.a&&(o.a=s)):(o.g=s,o.a=s,o.c&&((s.next=s).pb=s)),o.b=s,o.f++,i&&i.Da([Math.min(t.x,e.x),Math.min(t.y,e.y),Math.max(t.x,e.x),Math.max(t.y,e.y)],n),n}function Bh(t,e,o,i){Sh(o)===e&&(dh(o),t.X=e.X,i.remove(e),Ph(i,[Math.min(t.ba.x,t.X.x),Math.min(t.ba.y,t.X.y),Math.max(t.ba.x,t.X.x),Math.max(t.ba.y,t.X.y)],t))}function Uh(t,e,o,i,r){var n,s,p,a=[],h=Ah(i,[Math.min(t.x,e.x,o.x),Math.min(t.y,e.y,o.y),Math.max(t.x,e.x,o.x),Math.max(t.y,e.y,o.y)]);for(i=0,n=h.length;i<n;++i)for(s in h[i])p=h[i][s],"object"!=typeof p||r&&!p.qb||p.x===t.x&&p.y===t.y||p.x===e.x&&p.y===e.y||p.x===o.x&&p.y===o.y||-1!==a.indexOf(p)||!Ye([t.x,t.y,e.x,e.y,o.x,o.y],0,6,2,p.x,p.y)||a.push(p);return a}function Gh(t,e,o){for(var i=t.ba,r=t.X,n=[],s=0,p=(e=Ah(e,[Math.min(i.x,r.x),Math.min(i.y,r.y),Math.max(i.x,r.x),Math.max(i.y,r.y)])).length;s<p;++s){var a=e[s];t!==a&&(o||a.ba!==r||a.X!==i)&&Kh(i,r,a.ba,a.X,o)&&n.push(a)}return n}function Kh(t,e,o,i,r){var n=(i.y-o.y)*(e.x-t.x)-(i.x-o.x)*(e.y-t.y);if(0!=n&&(i=((i.x-o.x)*(t.y-o.y)-(i.y-o.y)*(t.x-o.x))/n,o=((e.x-t.x)*(t.y-o.y)-(e.y-t.y)*(t.x-o.x))/n,!r&&ua<i&&i<1-ua&&ua<o&&o<1-ua||r&&0<=i&&i<=1&&0<=o&&o<=1))return[t.x+i*(e.x-t.x),t.y+i*(e.y-t.y)]}function Xh(t,e,o,i,r){if(void 0===e.qb||void 0===i.qb)return!1;var n=(o.x-i.x)*(e.y-i.y)>(o.y-i.y)*(e.x-i.x);return r=(r.x-i.x)*(e.y-i.y)<(r.y-i.y)*(e.x-i.x),t=(t.x-e.x)*(i.y-e.y)>(t.y-e.y)*(i.x-e.x),o=(o.x-e.x)*(i.y-e.y)<(o.y-e.y)*(i.x-e.x),e=e.qb?o||t:o&&t,(i.qb?r||n:r&&n)&&e}function Vh(){}function Wh(t,e,o){this.i=e,this.j=t,this.c=o,this.a={}}function zh(t,e){var o,i=[];for(o in t.a){var r,n=t.a[o];for(r in n)i.push(n[r].wb(e))}return function(){for(var t,e=i.length,o=0;o<e;o++)t=i[o].apply(this,arguments);return t}}function Hh(t,e,o,i,r,n,s,p,a,h,l){var u,c,y,f,g,d=Yh,v=Object.keys(t.a).map(Number);for(v.sort(function(t,e){return e-t}),u=0,c=v.length;u<c;++u)for(f=t.a[v[u].toString()],y=Wp.length-1;0<=y;--y)if(void 0!==(g=f[Wp[y]])&&(g=g.f(e,o,i,r,d,n,s,p,a,h,l)))return g}gh.prototype.concat=function(t){var e;t.b&&(this.b?(e=this.b.next,this.b.next=t.g,t.g.pb=this.b,e.pb=t.a,t.a.next=e,this.f+=t.f):(this.b=t.b,this.g=t.g,this.a=t.a,this.f=t.f),t.b=void 0,t.g=void 0,t.a=void 0,t.f=0)},ch={ma:uh={}},function(t){"object"==typeof uh&&void 0!==ch?ch.ma=t():("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Tp=t()}(function(){return function i(r,n,s){function p(o,t){if(!n[o]){if(!r[o]){var e="function"==typeof require&&require;if(!t&&e)return e(o,!0);if(a)return a(o,!0);throw(e=Error("Cannot find module '"+o+"'")).code="MODULE_NOT_FOUND",e}e=n[o]={ma:{}},r[o][0].call(e.ma,function(t){var e=r[o][1][t];return p(e||t)},e,e.ma,i,r,n,s)}return n[o].ma}for(var a="function"==typeof require&&require,t=0;t<s.length;t++)p(s[t]);return p}({1:[function(t,e){function l(t,e,o){var i=t[e];t[e]=t[o],t[o]=i}function u(t,e){return t<e?-1:e<t?1:0}e.ma=function t(e,o,i,r,n){for(i=i||0,r=r||e.length-1,n=n||u;i<r;){var s,p,a,h;for(600<r-i&&(s=r-i+1,p=o-i+1,h=Math.log(s),a=.5*Math.exp(2*h/3),h=.5*Math.sqrt(h*a*(s-a)/s)*(p-s/2<0?-1:1),t(e,o,Math.max(i,Math.floor(o-p*a/s+h)),Math.min(r,Math.floor(o+(s-p)*a/s+h)),n)),s=e[o],a=r,l(e,p=i,o),0<n(e[r],s)&&l(e,i,r);p<a;){for(l(e,p,a),p++,a--;n(e[p],s)<0;)p++;for(;0<n(e[a],s);)a--}0===n(e[i],s)?l(e,i,a):l(e,++a,r),a<=o&&(i=a+1),o<=a&&(r=a-1)}}},{}],2:[function(t,e){function o(t,e){if(!(this instanceof o))return new o(t,e);this.af=Math.max(4,t||9),this.rg=Math.max(2,Math.ceil(.4*this.af)),e&&this.vj(e),this.clear()}function l(t,e){u(t,0,t.children.length,e,t)}function u(t,e,o,i,r){(r=r||d(null)).ea=1/0,r.ga=1/0,r.ca=-1/0,r.ja=-1/0;for(var n;e<o;e++)n=t.children[e],h(r,t.ab?i(n):n);return r}function h(t,e){t.ea=Math.min(t.ea,e.ea),t.ga=Math.min(t.ga,e.ga),t.ca=Math.max(t.ca,e.ca),t.ja=Math.max(t.ja,e.ja)}function n(t,e){return t.ea-e.ea}function s(t,e){return t.ga-e.ga}function c(t){return(t.ca-t.ea)*(t.ja-t.ga)}function y(t){return t.ca-t.ea+(t.ja-t.ga)}function f(t,e){return t.ea<=e.ea&&t.ga<=e.ga&&e.ca<=t.ca&&e.ja<=t.ja}function g(t,e){return e.ea<=t.ca&&e.ga<=t.ja&&e.ca>=t.ea&&e.ja>=t.ga}function d(t){return{children:t,height:1,ab:!0,ea:1/0,ga:1/0,ca:-1/0,ja:-1/0}}function v(t,e,o,i,r){for(var n,s=[e,o];s.length;)(o=s.pop())-(e=s.pop())<=i||(n=e+Math.ceil((o-e)/i/2)*i,p(t,n,e,o,r),s.push(e,n,n,o))}e.ma=o;var p=t("quickselect");o.prototype={all:function(){return this.mg(this.data,[])},search:function(t){var e=this.data,o=[],i=this.tb;if(!g(t,e))return o;for(var r,n,s,p,a=[];e;){for(r=0,n=e.children.length;r<n;r++)s=e.children[r],g(t,p=e.ab?i(s):s)&&(e.ab?o.push(s):f(t,p)?this.mg(s,o):a.push(s));e=a.pop()}return o},load:function(t){if(!t||!t.length)return this;if(t.length<this.rg){for(var e=0,o=t.length;e<o;e++)this.Da(t[e]);return this}return t=this.og(t.slice(),0,t.length-1,0),this.data.children.length?this.data.height===t.height?this.tg(this.data,t):(this.data.height<t.height&&(e=this.data,this.data=t,t=e),this.qg(t,this.data.height-t.height-1,!0)):this.data=t,this},Da:function(t){return t&&this.qg(t,this.data.height-1),this},clear:function(){return this.data=d([]),this},remove:function(t,e){if(!t)return this;for(var o,i,r,n,s=this.data,p=this.tb(t),a=[],h=[];s||a.length;){if(s||(s=a.pop(),i=a[a.length-1],o=h.pop(),n=!0),s.ab){t:{r=t;var l=s.children,u=e;if(u){for(var c=0;c<l.length;c++)if(u(r,l[c])){r=c;break t}r=-1}else r=l.indexOf(r)}if(-1!==r){s.children.splice(r,1),a.push(s),this.tj(a);break}}n||s.ab||!f(s,p)?i?(o++,s=i.children[o],n=!1):s=null:(a.push(s),h.push(o),o=0,s=(i=s).children[0])}return this},tb:function(t){return t},ff:n,gf:s,toJSON:function(){return this.data},mg:function(t,e){for(var o=[];t;)t.ab?e.push.apply(e,t.children):o.push.apply(o,t.children),t=o.pop();return e},og:function(t,e,o,i){var r,n,s,p,a=o-e+1,h=this.af;if(a<=h)return l(r=d(t.slice(e,o+1)),this.tb),r;for(i||(i=Math.ceil(Math.log(a)/Math.log(h)),h=Math.ceil(a/Math.pow(h,i-1))),(r=d([])).ab=!1,r.height=i,v(t,e,o,h=(a=Math.ceil(a/h))*Math.ceil(Math.sqrt(h)),this.ff);e<=o;e+=h)for(v(t,e,s=Math.min(e+h-1,o),a,this.gf),n=e;n<=s;n+=a)p=Math.min(n+a-1,s),r.children.push(this.og(t,n,p,i-1));return l(r,this.tb),r},sj:function(t,e,o,i){for(var r,n,s,p,a,h,l,u;i.push(e),!e.ab&&i.length-1!==o;){for(l=u=1/0,r=0,n=e.children.length;r<n;r++)a=c(s=e.children[r]),(h=(Math.max(s.ca,t.ca)-Math.min(s.ea,t.ea))*(Math.max(s.ja,t.ja)-Math.min(s.ga,t.ga))-a)<u?(u=h,l=a<l?a:l,p=s):h===u&&a<l&&(l=a,p=s);e=p||e.children[0]}return e},qg:function(t,e,o){var i=this.tb;o=o?t:i(t);var i=[],r=this.sj(o,this.data,e,i);for(r.children.push(t),h(r,o);0<=e&&i[e].children.length>this.af;)this.Aj(i,e),e--;this.pj(o,i,e)},Aj:function(t,e){var o=t[e],i=o.children.length,r=this.rg;this.qj(o,r,i),i=this.rj(o,r,i),(i=d(o.children.splice(i,o.children.length-i))).height=o.height,i.ab=o.ab,l(o,this.tb),l(i,this.tb),e?t[e-1].children.push(i):this.tg(o,i)},tg:function(t,e){this.data=d([t,e]),this.data.height=t.height+1,this.data.ab=!1,l(this.data,this.tb)},rj:function(t,e,o){for(var i,r,n,s,p,a=s=1/0,h=e;h<=o-e;h++)i=u(t,0,h,this.tb),r=u(t,h,o,this.tb),n=Math.max(0,Math.min(i.ca,r.ca)-Math.max(i.ea,r.ea))*Math.max(0,Math.min(i.ja,r.ja)-Math.max(i.ga,r.ga)),i=c(i)+c(r),n<a?(a=n,p=h,s=i<s?i:s):n===a&&i<s&&(s=i,p=h);return p},qj:function(t,e,o){var i=t.ab?this.ff:n,r=t.ab?this.gf:s;this.ng(t,e,o,i)<(e=this.ng(t,e,o,r))&&t.children.sort(i)},ng:function(t,e,o,i){t.children.sort(i);for(var r,n=u(t,0,e,i=this.tb),s=u(t,o-e,o,i),p=y(n)+y(s),a=e;a<o-e;a++)r=t.children[a],h(n,t.ab?i(r):r),p+=y(n);for(a=o-e-1;e<=a;a--)r=t.children[a],h(s,t.ab?i(r):r),p+=y(s);return p},pj:function(t,e,o){for(;0<=o;o--)h(e[o],t)},tj:function(t){for(var e,o=t.length-1;0<=o;o--)0===t[o].children.length?0<o?(e=t[o-1].children).splice(e.indexOf(t[o]),1):this.clear():l(t[o],this.tb)},vj:function(t){var e=["return a"," - b",";"];this.ff=new Function("a","b",e.join(t[0])),this.gf=new Function("a","b",e.join(t[1])),this.tb=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}},{quickselect:1}]},{},[2])(2)}),ph=ch.ma,(Ey=Mh.prototype).Da=function(t,e){t={ea:t[0],ga:t[1],ca:t[2],ja:t[3],value:e};this.b.Da(t),this.a[B(e)]=t},Ey.load=function(t,e){for(var o=Array(e.length),i=0,r=e.length;i<r;i++){var n=t[i],s=e[i],n={ea:n[0],ga:n[1],ca:n[2],ja:n[3],value:s};o[i]=n,this.a[B(s)]=n}this.b.load(o)},Ey.remove=function(t){t=B(t);var e=this.a[t];return delete this.a[t],null!==this.b.remove(e)},Ey.forEach=function(t,e){return Ch(Th(this),t,e)},Ey.clear=function(){this.b.clear(),this.a={}},Ey.G=function(){var t=this.b.data;return[t.ea,t.ga,t.ca,t.ja]},i(jh,Sa),(Ey=jh.prototype).wc=function(t,e){for(var o=t.Ad(),i=t.pa(),r=this.b.length,t=this.j.b.length,n=0,s=o.length;n<s;++n){var p=o[n].Zc();if(0<p.length){for(var a,h=Te(h=p[0].ia(),h.length,i,-this.origin[0],-this.origin[1]),l=[],u=1,c=p.length;u<c;++u)a=Te(a=p[u].ia(),a.length,i,-this.origin[0],-this.origin[1]),l.push(a);eh(this.j,h,l,i),Lh(this,h,l,i)}}this.b.length>r&&(this.g.push(r),this.i.push(e),this.l.s&&(this.c.push(r),this.l.s=!1)),this.j.b.length>t&&oh(this.j,e,t)},Ey.yc=function(t,e){var o=t.Zc(),i=t.pa();if(0<o.length){this.g.push(this.b.length),this.i.push(e),this.l.s&&(this.c.push(this.b.length),this.l.s=!1),oh(this.j,e);for(var r,e=Te(e=o[0].ia(),e.length,i,-this.origin[0],-this.origin[1]),n=[],s=1,p=o.length;s<p;++s)r=Te(r=o[s].ia(),r.length,i,-this.origin[0],-this.origin[1]),n.push(r);eh(this.j,e,n,i),Lh(this,e,n,i)}},Ey.vb=function(t){this.v=new Pa(this.a),this.o=new Pa(this.b),this.g.push(this.b.length),this.j.vb(t),0===this.c.length&&0<this.u.length&&(this.u=[]),this.b=this.a=null},Ey.wb=function(t){var e=this.v,o=this.o,i=this.j.wb(t);return function(){ka(t,e),ka(t,o),i()}},Ey.Ke=function(t,e){var o,i=Ba(e,nh,yh);return this.H?o=this.H:this.H=o=new fh(t,i),e.Lc(i),t.enableVertexAttribArray(o.b),t.vertexAttribPointer(o.b,2,5126,!1,8,0),o},Ey.Le=function(t,e){t.disableVertexAttribArray(e.b)},Ey.yd=function(t,e,o,i){var r=t.getParameter(t.DEPTH_FUNC),n=t.getParameter(t.DEPTH_WRITEMASK);if(i||(t.enable(t.DEPTH_TEST),t.depthMask(!0),t.depthFunc(t.NOTEQUAL)),U(o)){var s=this.g[this.g.length-1];for(o=this.c.length-1;0<=o;--o)u=this.c[o],l=this.u[o],t.uniform4fv(this.H.D,l),Ma(t,e,u,s),s=u}else for(var p,a,h=this.g.length-2,l=s=this.g[h+1],u=this.c.length-1;0<=u;--u){for(p=this.u[u],t.uniform4fv(this.H.D,p),p=this.c[u];0<=h&&this.g[h]>=p;)a=this.g[h],o[B(this.i[h]).toString()]&&(s!==l&&(Ma(t,e,s,l),t.clear(t.DEPTH_BUFFER_BIT)),l=a),h--,s=a;s!==l&&(Ma(t,e,s,l),t.clear(t.DEPTH_BUFFER_BIT)),s=l=p}i||(t.disable(t.DEPTH_TEST),t.clear(t.DEPTH_BUFFER_BIT),t.depthMask(n),t.depthFunc(r))},Ey.$d=function(t,e,o,i,r){for(var n,s,p,a=this.g.length-2,h=this.g[a+1],l=this.c.length-1;0<=l;--l)for(n=this.u[l],t.uniform4fv(this.H.D,n),s=this.c[l];0<=a&&this.g[a]>=s;){if(n=this.g[a],void 0===o[B(p=this.i[a]).toString()]&&p.V()&&(void 0===r||Zt(r,p.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Ma(t,e,n,h),h=i(p)))return h;a--,h=n}},Ey.Ma=function(t,e){t=!((t=t?t.b:[0,0,0,0])instanceof CanvasGradient||t instanceof CanvasPattern)&&Jo(t).map(function(t,e){return 3!=e?t/255:t})||pa;this.l.fillColor&&Q(t,this.l.fillColor)||(this.l.fillColor=t,this.l.s=!0,this.u.push(t)),e?this.j.Ma(null,e):this.j.Ma(null,new Ws({color:[0,0,0,0],lineWidth:0}))},Vh.prototype.f=function(){},i(Wh,Ep),Wh.prototype.b=function(t,e){var o=void 0!==t?t.toString():"0",t=this.a[o];return void 0===t&&(t={},this.a[o]=t),void 0===(o=t[e])&&(o=new Zh[e](this.j,this.i),t[e]=o),o},Wh.prototype.g=function(){return U(this.a)},Wh.prototype.f=function(t,e,o,i,r,n,s,p){var a,h,l,u,c,y,f=Object.keys(this.a).map(Number);for(f.sort(Z),a=0,h=f.length;a<h;++a)for(c=this.a[f[a].toString()],l=0,u=Wp.length;l<u;++l)void 0!==(y=c[Wp[l]])&&y.f(t,e,o,i,r,n,s,p,void 0,!1)},Wh.prototype.Ba=function(t,e,o,i,r,n,s,p,a,h){var l,u=e.b;return u.bindFramebuffer(u.FRAMEBUFFER,Oa(e)),void 0!==this.c&&(l=St(Rt(t),i*this.c)),Hh(this,e,t,i,r,s,p,a,function(t){var e=new Uint8Array(4);if(u.readPixels(0,0,1,1,u.RGBA,u.UNSIGNED_BYTE,e),0<e[3]&&(t=h(t)))return t},!0,l)};var Yh=[1,1],Zh={Circle:Aa,Image:Xa,LineString:_a,Polygon:jh,Text:Vh};function qh(t,e,o,i,r,n,s){this.b=t,this.g=e,this.a=n,this.f=s,this.j=r,this.i=i,this.c=o,this.l=this.o=this.v=null}function Jh(){this.b="precision mediump float;varying vec2 a;uniform float f;uniform sampler2D g;void main(void){vec4 texColor=texture2D(g,a);gl_FragColor.rgb=texColor.rgb;gl_FragColor.a=texColor.a*f;}"}i(qh,rp),(Ey=qh.prototype).Gd=function(t){this.Ma(t.f,t.g),this.dc(t.a)},Ey.tc=function(t){switch(t.Y()){case"Point":this.xc(t,null);break;case"LineString":this.Pb(t,null);break;case"Polygon":this.yc(t,null);break;case"MultiPoint":this.vc(t,null);break;case"MultiLineString":this.uc(t,null);break;case"MultiPolygon":this.wc(t,null);break;case"GeometryCollection":this.kf(t,null);break;case"Circle":this.hc(t,null)}},Ey.jf=function(t,e){t=(0,e.c)(t);t&&Zt(this.a,t.G())&&(this.Gd(e),this.tc(t))},Ey.kf=function(t){for(var e=0,o=(t=t.f).length;e<o;++e)this.tc(t[e])},Ey.xc=function(t,e){var o=this.b,i=new Wh(1,this.a).b(0,"Image");i.dc(this.v),i.xc(t,e),i.vb(o),i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1),i.wb(o)()},Ey.vc=function(t,e){var o=this.b,i=new Wh(1,this.a).b(0,"Image");i.dc(this.v),i.vc(t,e),i.vb(o),i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1),i.wb(o)()},Ey.Pb=function(t,e){var o=this.b,i=new Wh(1,this.a).b(0,"LineString");i.Ma(null,this.l),i.Pb(t,e),i.vb(o),i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1),i.wb(o)()},Ey.uc=function(t,e){var o=this.b,i=new Wh(1,this.a).b(0,"LineString");i.Ma(null,this.l),i.uc(t,e),i.vb(o),i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1),i.wb(o)()},Ey.yc=function(t,e){var o=this.b,i=new Wh(1,this.a).b(0,"Polygon");i.Ma(this.o,this.l),i.yc(t,e),i.vb(o),i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1),i.wb(o)()},Ey.wc=function(t,e){var o=this.b,i=new Wh(1,this.a).b(0,"Polygon");i.Ma(this.o,this.l),i.wc(t,e),i.vb(o),i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1),i.wb(o)()},Ey.hc=function(t,e){var o=this.b,i=new Wh(1,this.a).b(0,"Circle");i.Ma(this.o,this.l),i.hc(t,e),i.vb(o),i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1),i.wb(o)()},Ey.dc=function(t){this.v=t},Ey.Ma=function(t,e){this.o=t,this.l=e},i(Jh,ya);var _h=new Jh;function $h(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position=e*vec4(b,0.,1.);a=(d*vec4(c,0.,1.)).st;}"}i($h,fa);var Qh=new $h;function tl(t,e){this.g=t.getUniformLocation(e,"f"),this.f=t.getUniformLocation(e,"e"),this.i=t.getUniformLocation(e,"d"),this.c=t.getUniformLocation(e,"g"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function el(t,e){cp.call(this,e),this.f=t,this.U=new Pa([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]),this.i=this.yb=null,this.j=void 0,this.v=as(),this.u=as(),this.C=wa(),this.H=null}function ol(t,e,o,i){var r;D(t=t.a,e)&&(r=i.viewState,t.b(new os(e,new qh(o,r.center,r.resolution,r.rotation,i.size,i.extent,i.pixelRatio),i,null,o)))}function il(t,e,o,i,r,n){this.c=void 0!==n?n:null,js.call(this,t,e,o,void 0!==n?Rs:Is,i),this.g=r}i(el,cp),el.prototype.Dh=function(t,e,o){ol(this,"precompose",o,t),Fa(o,34962,this.U);var i,r=o.b,n=Ba(o,_h,Qh);this.H?i=this.H:this.H=i=new tl(r,n),o.Lc(n)&&(r.enableVertexAttribArray(i.b),r.vertexAttribPointer(i.b,2,5126,!1,16,0),r.enableVertexAttribArray(i.a),r.vertexAttribPointer(i.a,2,5126,!1,16,8),r.uniform1i(i.c,0)),r.uniformMatrix4fv(i.i,!1,xa(this.C,this.v)),r.uniformMatrix4fv(i.f,!1,xa(this.C,this.u)),r.uniform1f(i.g,e.opacity),r.bindTexture(3553,this.yb),r.drawArrays(5,0,4),ol(this,"postcompose",o,t)},el.prototype.If=function(){this.i=this.yb=null,this.j=void 0},i(il,js),il.prototype.i=function(t){this.state=t?Fs:Is,this.s()},il.prototype.load=function(){this.state==Rs&&(this.state=Ns,this.s(),this.c(this.i.bind(this)))},il.prototype.a=function(){return this.g};var rl,nl=-1<navigator.userAgent.indexOf("OPR"),Ii=-1<navigator.userAgent.indexOf("Edge");function sl(t,e,o,i){var r=xe(o,e,t);return o=he(e,i,o),void 0!==(e=e.ic())&&(o*=e),void 0!==(e=t.ic())&&(o/=e),t=he(t,o,r)/o,isFinite(t)&&0<t&&(o/=t),o}function pl(t,e,o,i){t=o-t,e=i-e;var r=Math.sqrt(t*t+e*e);return[Math.round(o+t/r),Math.round(i+e/r)]}function al(t,e,g,d,o,v,i,r,n,s,p){var b=ii(Math.round(g*t),Math.round(g*e));if(0===n.length)return b.canvas;b.scale(g,g);var m=jt();n.forEach(function(t){Ft(m,t.extent)});var w=ii(Math.round(g*Yt(m)/d),Math.round(g*Vt(m)/d)),a=g/d;n.forEach(function(t){w.drawImage(t.image,s,s,t.image.width-2*s,t.image.height-2*s,(t.extent[0]-m[0])*a,-(t.extent[3]-m[3])*a,Yt(t.extent)*a,Vt(t.extent)*a)});var x=zt(i);return r.f.forEach(function(t){var e=t.source,o=t.target,i=e[1][0],r=e[1][1],n=e[2][0],s=e[2][1];t=(o[0][0]-x[0])/v;var p=-(o[0][1]-x[1])/v,a=(o[1][0]-x[0])/v,h=-(o[1][1]-x[1])/v,l=(o[2][0]-x[0])/v,u=-(o[2][1]-x[1])/v;t:{for(r=(i=[[i=i-(o=e[0][0]),r=r-(e=e[0][1]),0,0,a-t],[n=n-o,s=s-e,0,0,l-t],[0,0,i,r,h-p],[0,0,n,s,u-p]]).length,n=0;n<r;n++){for(var s=n,c=Math.abs(i[n][n]),y=n+1;y<r;y++){var f=Math.abs(i[y][n]);c<f&&(c=f,s=y)}if(0===c){i=null;break t}for(c=i[s],i[s]=i[n],i[n]=c,s=n+1;s<r;s++)for(c=-i[s][n]/i[n][n],y=n;y<r+1;y++)i[s][y]=n==y?0:i[s][y]+c*i[n][y]}for(n=Array(r),s=r-1;0<=s;s--)for(n[s]=i[s][r]/i[s][s],c=s-1;0<=c;c--)i[c][r]-=i[c][s]*n[s];i=n}i&&(b.save(),b.beginPath(),rl?(r=pl(n=(t+a+l)/3,s=(p+h+u)/3,t,p),a=pl(n,s,a,h),l=pl(n,s,l,u),b.moveTo(a[0],a[1]),b.lineTo(r[0],r[1]),b.lineTo(l[0],l[1])):(b.moveTo(a,h),b.lineTo(t,p),b.lineTo(l,u)),b.clip(),b.transform(i[0],i[2],i[1],i[3],t,p),b.translate(m[0]-o,m[3]-e),b.scale(d/g,-d/g),b.drawImage(w.canvas,0,0),b.restore())}),p&&(b.save(),b.strokeStyle="black",b.lineWidth=1,r.f.forEach(function(t){t=((n=t.target)[0][0]-x[0])/v;var e=-(n[0][1]-x[1])/v,o=(n[1][0]-x[0])/v,i=-(n[1][1]-x[1])/v,r=(n[2][0]-x[0])/v,n=-(n[2][1]-x[1])/v;b.beginPath(),b.moveTo(o,i),b.lineTo(t,e),b.lineTo(r,n),b.closePath(),b.stroke()}),b.restore()),b.canvas}function hl(t,e,o,i,r){this.g=t,this.c=e;var n={},s=ve(this.c,this.g);this.a=function(t){var e=t[0]+"/"+t[1];return n[e]||(n[e]=s(t)),n[e]},this.i=i,this.v=r*r,this.f=[],this.l=!1,this.o=this.g.a&&!!i&&!!this.g.G()&&Yt(i)==Yt(this.g.G()),this.b=this.g.G()?Yt(this.g.G()):null,this.j=this.c.G()?Yt(this.c.G()):null,t=zt(o),e=Ht(o),i=Gt(o),o=Ut(o),r=this.a(t);var p,a=this.a(e),h=this.a(i),l=this.a(o);!function t(e,o,i,r,n,s,p,a,h,l){var u=xt([s,p,a,h]),c=e.b?Yt(u)/e.b:null,y=e.b,f=e.g.a&&.5<c&&c<1,g=!1;{var d;0<l&&(e.c.g&&e.j&&(d=xt([o,i,r,n]),g|=.25<Yt(d)/e.j),!f&&e.g.g&&c&&(g|=.25<c))}if(g||!e.i||Zt(u,e.i)){if(!(g||isFinite(s[0])&&isFinite(s[1])&&isFinite(p[0])&&isFinite(p[1])&&isFinite(a[0])&&isFinite(a[1])&&isFinite(h[0])&&isFinite(h[1]))){if(!(0<l))return;g=!0}if(0<l&&(g||(u=e.a([(o[0]+r[0])/2,(o[1]+r[1])/2]),y=f?(j(s[0],y)+j(a[0],y))/2-j(u[0],y):(s[0]+a[0])/2-u[0],u=(s[1]+a[1])/2-u[1],g=y*y+u*u>e.v),g))Math.abs(o[0]-r[0])<=Math.abs(o[1]-r[1])?(f=[(i[0]+r[0])/2,(i[1]+r[1])/2],y=e.a(f),u=[(n[0]+o[0])/2,(n[1]+o[1])/2],c=e.a(u),t(e,o,i,f,u,s,p,y,c,l-1),t(e,u,f,r,n,c,y,a,h,l-1)):(f=[(o[0]+i[0])/2,(o[1]+i[1])/2],y=e.a(f),u=[(r[0]+n[0])/2,(r[1]+n[1])/2],c=e.a(u),t(e,o,f,u,n,s,y,c,h,l-1),t(e,f,i,r,u,y,p,a,c,l-1));else{if(f){if(!e.o)return;e.l=!0}e.f.push({source:[s,a,h],target:[o,r,n]}),e.f.push({source:[s,p,a],target:[o,i,r]})}}}(this,t,e,i,o,r,a,h,l,10),this.l&&(p=1/0,this.f.forEach(function(t){p=Math.min(p,t.source[0][0],t.source[1][0],t.source[2][0])}),this.f.forEach(function(t){var e;Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-p>this.b/2&&((e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]])[0][0]-p>this.b/2&&(e[0][0]-=this.b),e[1][0]-p>this.b/2&&(e[1][0]-=this.b),e[2][0]-p>this.b/2&&(e[2][0]-=this.b),Math.max(e[0][0],e[1][0],e[2][0])-Math.min(e[0][0],e[1][0],e[2][0])<this.b/2&&(t.source=e))},this)),n={}}function ll(t){var e=jt();return t.f.forEach(function(t){t=t.source,kt(e,t[0]),kt(e,t[1]),kt(e,t[2])}),e}function ul(t,e,o,i,r,n){this.H=e,this.v=t.G();var s=(p=e.G())?Wt(o,p):o,p=sl(t,e,Kt(s),i);this.l=new hl(t,e,s,this.v,.5*p),this.c=i,this.g=o,t=ll(this.l),this.o=(this.xb=n(t,p,r))?this.xb.f:1,this.Md=this.i=null,r=Is,n=[],this.xb&&(r=Rs,n=this.xb.j),js.call(this,o,i,this.o,r,n)}function cl(t){X.call(this),this.f=ge(t.projection),this.j=yl(t.attributions),this.L=t.logo,this.Fa=void 0!==t.state?t.state:"ready",this.D=void 0!==t.wrapX&&t.wrapX}function yl(t){if("string"==typeof t)return[new Ko({html:t})];if(t instanceof Ko)return[t];if(Array.isArray(t)){for(var e=t.length,o=Array(e),i=0;i<e;i++){var r=t[i];o[i]="string"==typeof r?new Ko({html:r}):r}return o}return null}function fl(t,e){t.Fa=e,t.s()}function gl(t){cl.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,state:t.state}),this.A=void 0!==t.resolutions?t.resolutions:null,this.a=null,this.sa=0}function dl(t,e){return t.A&&(e=t.A[J(t.A,e,0)]),e}function vl(t,e){t.a().src=e}function bl(t,e){I.call(this,t),this.image=e}rl=!(!navigator.userAgent.match("CriOS")&&"chrome"in window&&"Google Inc."===navigator.vendor&&0==nl&&0==Ii),i(ul,js),ul.prototype.oa=function(){this.state==Ns&&(E(this.Md),this.Md=null),js.prototype.oa.call(this)},ul.prototype.a=function(){return this.i},ul.prototype.Ld=function(){var t=this.xb.W();t==Is&&(this.i=al(Yt(this.g)/this.c,Vt(this.g)/this.c,this.o,this.xb.resolution,0,this.c,this.g,this.l,[{extent:this.xb.G(),image:this.xb.a()}],0)),this.state=t,this.s()},ul.prototype.load=function(){var t;this.state==Rs&&(this.state=Ns,this.s(),(t=this.xb.W())==Is||t==Fs?this.Ld():(this.Md=P(this.xb,"change",function(){var t=this.xb.W();t!=Is&&t!=Fs||(E(this.Md),this.Md=null,this.Ld())},this),this.xb.load()))},i(cl,X),(Ey=cl.prototype).Ba=p,Ey.za=function(){return this.j},Ey.ya=function(){return this.L},Ey.Aa=function(){return this.f},Ey.W=function(){return this.Fa},Ey.wa=function(){this.s()},Ey.ua=function(t){this.j=yl(t),this.s()},i(gl,cl),gl.prototype.U=function(t,e,o,i){var r=this.f;if(r&&i&&!de(r,i)){if(this.a){if(this.sa==this.g&&de(this.a.H,i)&&this.a.resolution==e&&this.a.f==o&&It(this.a.G(),t))return this.a;N(this.a),this.a=null}return this.a=new ul(r,i,t,e,o,function(t,e,o){return this.Xc(t,e,o,r)}.bind(this)),this.sa=this.g,this.a}return r&&(i=r),this.Xc(t,e,o,i)},gl.prototype.o=function(t){switch((t=t.target).W()){case Ns:this.b(new bl(ml,t));break;case Is:this.b(new bl(wl,t));break;case Fs:this.b(new bl(xl,t))}},i(bl,I);var ml="imageloadstart",wl="imageloadend",xl="imageloaderror";function Sl(t){gl.call(this,{attributions:t.attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions,state:t.state}),this.fa=t.canvasFunction,this.P=null,this.Z=0,this.na=void 0!==t.ratio?t.ratio:1.5}function Ml(t){this.c=t.source,this.Ja=as(),this.i=ii(),this.l=[0,0],this.xa=null==t.renderBuffer?100:t.renderBuffer,this.u=null,Sl.call(this,{attributions:t.attributions,canvasFunction:this.Jj.bind(this),logo:t.logo,projection:t.projection,ratio:t.ratio,resolutions:t.resolutions,state:this.c.W()}),this.C=null,this.v=void 0,this.Fh(t.style),P(this.c,"change",this.kn,this)}function Pl(t,e){el.call(this,t,e),this.o=this.l=this.c=null}function Tl(){this.b="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}i(Sl,gl),Sl.prototype.Xc=function(t,e,o,i){e=dl(this,e);var r=this.P;return r&&this.Z==this.g&&r.resolution==e&&r.f==o&&At(r.G(),t)||(Jt(t=t.slice(),this.na),(i=this.fa(t,e,o,[Yt(t)/e*o,Vt(t)/e*o],i))&&(r=new il(t,e,o,this.j,i)),this.P=r,this.Z=this.g),r},i(Ml,Sl),(Ey=Ml.prototype).Jj=function(t,n,s,e,o){var p=new zp(.5*n/s,t,n,this.c.xa,this.xa);this.c.Ed(t,n,o);var i,r,a=!1;return this.c.Qb(t,function(t){var e,o;if(!(e=a))if((e=t.Gc())?o=e.call(t,n):this.v&&(o=this.v(t,n)),o){var i,r=!1;for(Array.isArray(o)||(o=[o]),e=0,i=o.length;e<i;++e)r=Qp(p,t,o[e],$p(n,s),this.jn,this)||r;e=r}else e=!1;a=e},this),Zp(p),a?null:(this.l[0]!=e[0]||this.l[1]!=e[1]?(this.i.canvas.width=e[0],this.i.canvas.height=e[1],this.l[0]=e[0],this.l[1]=e[1]):this.i.clearRect(0,0,e[0],e[1]),i=this,r=Kt(t),o=e,e=s/(e=n),t=vs(i.Ja,o[0]/2,o[1]/2,e,-e,0,-r[0],-r[1]),p.f(this.i,s,t,0,{}),this.u=p,this.i.canvas)},Ey.Ba=function(t,e,o,i,r,n){if(this.u){var s={};return this.u.Ba(t,e,0,i,r,function(t){var e=B(t).toString();if(!(e in s))return s[e]=!0,n(t)})}},Ey.fn=function(){return this.c},Ey.gn=function(){return this.C},Ey.hn=function(){return this.v},Ey.jn=function(){this.s()},Ey.kn=function(){fl(this,this.c.W())},Ey.Fh=function(t){this.C=void 0!==t?t:Zs,this.v=t?Hs(this.C):void 0,this.s()},i(Pl,el),Pl.prototype.Ba=function(t,e,o,i,r){var n=this.a;return n.la().Ba(t,e.viewState.resolution,e.viewState.rotation,o,e.skippedFeatureUids,function(t){return i.call(r,t,n)})},Pl.prototype.Jf=function(t,e){var o,i,r=this.f.g,n=t.pixelRatio,s=t.viewState,p=s.center,a=s.resolution,h=s.rotation,l=this.c,u=this.yb,c=this.a.la(),y=t.viewHints,f=t.extent;return void 0!==e.extent&&(f=Wt(f,e.extent)),y[xo]||y[1]||qt(f)||(s=c.U(f,a,n,s.projection))&&yp(this,s)&&(o=this,i=(i=l=s).a(),u=Ka(o.f.g,i),this.yb&&t.postRenderFunctions.push(function(t,e){t.isContextLost()||t.deleteTexture(e)}.bind(null,r,this.yb))),l&&(r=this.f.c.j,f=this,s=r.width,o=r.height,i=n,r=p,p=a,a=h,h=l.G(),s*=p,o*=p,hs(f=f.u),gs(f,2*i/s,2*i/o),fs(f,-a),ds(f,h[0]-r[0],h[1]-r[1]),gs(f,(h[2]-h[0])/2,(h[3]-h[1])/2),ds(f,1,1),this.o=null,hs(n=this.v),gs(n,1,-1),ds(n,0,-1),this.c=l,this.yb=u,dp(t.attributions,l.j),vp(t,c)),!!l},Pl.prototype.te=function(t,e){return void 0!==this.Ba(t,e,0,$t,this)},Pl.prototype.Hf=function(t,e,o,i){if(this.c&&this.c.a())if(this.a.la()instanceof Ml){var r=ys(e.pixelToCoordinateTransform,t.slice());if(this.Ba(r,e,0,$t,this))return o.call(i,this.a,null)}else{var n,s,r=[this.c.a().width,this.c.a().height];if(this.o||(n=e.size,ds(e=as(),-1,-1),gs(e,2/n[0],2/n[1]),ds(e,0,n[1]),gs(e,1,-1),n=bs(this.u.slice()),ds(s=as(),0,r[1]),gs(s,1,-1),gs(s,r[0]/2,r[1]/2),ds(s,1,1),ls(s,n),ls(s,e),this.o=s),!((t=ys(this.o,t.slice()))[0]<0||t[0]>r[0]||t[1]<0||t[1]>r[1])&&(this.l||(this.l=ii(1,1)),this.l.clearRect(0,0,1,1),this.l.drawImage(this.c.a(),t[0],t[1],1,1,0,0,1,1),0<(r=this.l.getImageData(0,0,1,1).data)[3]))return o.call(i,this.a,r)}},i(Tl,ya);var Al=new Tl;function El(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform vec4 d;void main(void){gl_Position=vec4(b*d.xy+d.zw,0.,1.);a=c;}"}i(El,fa);var Cl=new El;function jl(t,e){this.g=t.getUniformLocation(e,"e"),this.f=t.getUniformLocation(e,"d"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function Ll(t,e){el.call(this,t,e),this.L=Al,this.Z=Cl,this.c=null,this.D=new Pa([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]),this.A=this.l=null,this.o=-1,this.P=[0,0]}function Rl(t,e){el.call(this,t,e),this.o=!1,this.P=-1,this.L=NaN,this.A=jt(),this.l=this.c=this.D=null}function Nl(){this.f=0,this.b={},this.g=this.a=null}function Il(t,e){ms.call(this,0,e),this.b=document.createElement("CANVAS"),this.b.style.width="100%",this.b.style.height="100%",this.b.className="ol-unselectable",t.insertBefore(this.b,t.childNodes[0]||null),this.u=this.A=0,this.C=ii(),this.o=!0,this.g=Li(this.b,{antialias:!0,depth:!0,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0}),this.c=new Ia(this.b,this.g),P(this.b,"webglcontextlost",this.Um,this),P(this.b,"webglcontextrestored",this.Vm,this),this.a=new Nl,this.H=null,this.j=new xr(function(t){var e=t[1];t=t[2];var o=e[0]-this.H[0],e=e[1]-this.H[1];return 65536*Math.log(t)+Math.sqrt(o*o+e*e)/t}.bind(this),function(t){return t[0].bb()}),this.D=function(){var t;return 0!==this.j.b.length&&(Tr(this.j),Fl(this,(t=Sr(this.j))[0],t[3],t[4])),!1}.bind(this),this.i=0,Ol(this)}function Fl(t,e,o,i){var r,n,s,p=t.g,a=e.bb();t.a.b.hasOwnProperty(a)?(t=t.a.get(a),p.bindTexture(3553,t.yb),9729!=t.gh&&(p.texParameteri(3553,10240,9729),t.gh=9729),9729!=t.ih&&(p.texParameteri(3553,10241,9729),t.ih=9729)):(r=p.createTexture(),p.bindTexture(3553,r),0<i?(n=t.C.canvas,s=t.C,t.A!==o[0]||t.u!==o[1]?(n.width=o[0],n.height=o[1],t.A=o[0],t.u=o[1]):s.clearRect(0,0,o[0],o[1]),s.drawImage(e.ub(),i,i,o[0],o[1],0,0,o[0],o[1]),p.texImage2D(3553,0,6408,6408,5121,n)):p.texImage2D(3553,0,6408,6408,5121,e.ub()),p.texParameteri(3553,10240,9729),p.texParameteri(3553,10241,9729),p.texParameteri(3553,10242,33071),p.texParameteri(3553,10243,33071),t.a.set(a,{yb:r,gh:9729,ih:9729}))}function kl(t,e,o){var i,r=t.l;D(r,e)&&(t=t.c,i=o.viewState,r.b(new os(e,new qh(t,i.center,i.resolution,i.rotation,o.size,o.extent,o.pixelRatio),o,null,t)))}function Ol(t){(t=t.g).activeTexture(33984),t.blendFuncSeparate(770,771,1,771),t.disable(2884),t.disable(2929),t.disable(3089),t.disable(2960)}i(Ll,el),(Ey=Ll.prototype).oa=function(){ka(this.f.c,this.D),el.prototype.oa.call(this)},Ey.hf=function(e,i,r){var n=this.f;return function(o,t){return Yw(e,i,o,t,function(t){var e=n.a.b.hasOwnProperty(t.bb());return e&&(r[o]||(r[o]={}),r[o][t.Ca.toString()]=t),e})}},Ey.If=function(){el.prototype.If.call(this),this.c=null},Ey.Jf=function(t,e,o){var i,r,n,s,p,a=this.f,h=o.b,l=t.viewState,u=l.projection,c=this.a,y=c.la(),f=y.Db(u),g=f.Ec(l.resolution),d=f.Ha(g),v=y.Dd(g,t.pixelRatio,u),b=v[0]/Eo(f.Za(g),this.P)[0],m=d/b,w=y.jb(b)*y.qf(u),x=l.center,S=t.extent,M=Io(f,S,d);if(this.l&&(s=this.l,p=M,s.ea==p.ea&&s.ga==p.ga&&s.ca==p.ca&&s.ja==p.ja)&&this.o==y.g)m=this.A;else{var P=[M.ca-M.ea+1,M.ja-M.ga+1],P=m*(L=(O(0<(n=Math.max(P[0]*v[0],P[1]*v[1])),29),Math.pow(2,Math.ceil(Math.log(n)/Math.LN2)))),T=f.Kc(g),m=[R=T[0]+M.ea*v[0]*m,m=T[1]+M.ga*v[1]*m,R+P,m+P];i=t,r=L,p=(s=this).f.g,void 0===s.j||s.j!=r?(i.postRenderFunctions.push(function(t,e,o){t.isContextLost()||(t.deleteFramebuffer(e),t.deleteTexture(o))}.bind(null,p,s.i,s.yb)),i=Ga(p,r,r),n=p.createFramebuffer(),p.bindFramebuffer(36160,n),p.framebufferTexture2D(36160,36064,3553,i,0),s.yb=i,s.i=n,s.j=r):p.bindFramebuffer(36160,s.i),h.viewport(0,0,L,L),h.clearColor(0,0,0,0),h.clear(16384),h.disable(3042),L=Ba(o,this.L,this.Z),o.Lc(L),this.c||(this.c=new jl(h,L)),Fa(o,34962,this.D),h.enableVertexAttribArray(this.c.b),h.vertexAttribPointer(this.c.b,2,5126,!1,16,0),h.enableVertexAttribArray(this.c.a),h.vertexAttribPointer(this.c.a,2,5126,!1,16,8),h.uniform1i(this.c.g,0),(o={})[g]={};for(var A,E,C=this.hf(y,u,o),j=c.c(),L=!0,R=jt(),N=new So(0,0,0,0),I=M.ea;I<=M.ca;++I)for(E=M.ga;E<=M.ja;++E)if(T=y.Dc(g,I,E,b,u),void 0===e.extent||Zt(A=f.Na(T.Ca,R),e.extent)){if((A=(A=T.W())==wr||4==A||3==A&&!j)||(T=mr(T)),(A=T.W())==wr){if(a.a.b.hasOwnProperty(T.bb())){o[g][T.Ca.toString()]=T;continue}}else if(4==A||3==A&&!j)continue;L=!1,(A=Ro(f,T.Ca,C,N,R))||(T=No(f,T.Ca,N,R))&&C(g+1,T)}(e=Object.keys(o).map(Number)).sort(Z);for(var F,C=new Float32Array(4),j=0,N=e.length;j<N;++j)for(F in I=o[e[j]])T=I[F],A=f.Na(T.Ca,R),C[0]=2*(A[2]-A[0])/P,C[1]=2*(A[3]-A[1])/P,C[2]=2*(A[0]-m[0])/P-1,C[3]=2*(A[1]-m[1])/P-1,h.uniform4fv(this.c.f,C),Fl(a,T,v,w*b),h.drawArrays(5,0,4);L?(this.l=M,this.A=m,this.o=y.g):(this.A=this.l=null,this.o=-1,t.animate=!0)}bp(t.usedTiles,y,g,M);var k=a.j;return mp(t,y,f,b,u,S,g,c.f(),function(t){t.W()!=wr||a.a.b.hasOwnProperty(t.bb())||t.bb()in k.a||k.c([t,ko(f,t.Ca),f.Ha(t.Ca[0]),v,w*b])},this),gp(t,y),vp(t,y),hs(h=this.v),ds(h,(Math.round(x[0]/d)*d-m[0])/(m[2]-m[0]),(Math.round(x[1]/d)*d-m[1])/(m[3]-m[1])),0!==l.rotation&&fs(h,l.rotation),gs(h,t.size[0]*l.resolution/(m[2]-m[0]),t.size[1]*l.resolution/(m[3]-m[1])),ds(h,-.5,-.5),!0},Ey.Hf=function(t,e,o,i){if(this.i){t=[(t=ys(this.v,[t[0]/e.size[0],(e.size[1]-t[1])/e.size[1]].slice()))[0]*this.j,t[1]*this.j],(e=this.f.c.b).bindFramebuffer(e.FRAMEBUFFER,this.i);var r=new Uint8Array(4);if(e.readPixels(t[0],t[1],1,1,e.RGBA,e.UNSIGNED_BYTE,r),0<r[3])return o.call(i,this.a,r)}},i(Rl,el),(Ey=Rl.prototype).Dh=function(t,e,o){this.l=e;var i=t.viewState,r=this.c,n=t.size,s=t.pixelRatio,p=this.f.g;r&&!r.g()&&(p.enable(p.SCISSOR_TEST),p.scissor(0,0,n[0]*s,n[1]*s),r.f(o,i.center,i.resolution,i.rotation,n,s,e.opacity,e.me?t.skippedFeatureUids:{}),p.disable(p.SCISSOR_TEST))},Ey.oa=function(){var t=this.c;t&&(zh(t,this.f.c)(),this.c=null),el.prototype.oa.call(this)},Ey.Ba=function(t,e,o,i,r){if(this.c&&this.l){o=e.viewState;var n=this.a,s={};return this.c.Ba(t,this.f.c,o.center,o.resolution,o.rotation,e.size,e.pixelRatio,this.l.opacity,{},function(t){var e=B(t).toString();if(!(e in s))return s[e]=!0,i.call(r,t,n)})}},Ey.te=function(t,e){if(this.c&&this.l){var o=e.viewState;return i=this.c,r=t,n=this.f.c,s=o.resolution,p=o.rotation,t=e.pixelRatio,o=this.l.opacity,e=e.skippedFeatureUids,(a=n.b).bindFramebuffer(a.FRAMEBUFFER,Oa(n)),void 0!==Hh(i,n,r,s,p,t,o,e,function(){var t=new Uint8Array(4);return a.readPixels(0,0,1,1,a.RGBA,a.UNSIGNED_BYTE,t),0<t[3]},!1)}var i,r,n,s,p,a;return!1},Ey.Hf=function(t,e,o,i){if(t=ys(e.pixelToCoordinateTransform,t.slice()),this.te(t,e))return o.call(i,this.a,null)},Ey.Eh=function(){fp(this)},Ey.Jf=function(t,e,o){function i(t){var e,o=t.Gc();if(o?e=o.call(t,h):(o=r.j)&&(e=o(t,h)),e){if(e){if(o=!1,Array.isArray(e))for(var i=e.length-1;0<=i;--i)o=Qp(y,t,e[i],$p(h,l),this.Eh,this)||o;else o=Qp(y,t,e,$p(h,l),this.Eh,this)||o;t=o}else t=!1;this.o=this.o||t}}var r=this.a;e=r.la(),dp(t.attributions,e.j),vp(t,e);var n=t.viewHints[xo],s=t.viewHints[1],p=r.Z,a=r.fa;if(!this.o&&!p&&n||!a&&s)return!0;var s=t.extent,n=(p=t.viewState).projection,h=p.resolution,l=t.pixelRatio,p=r.g,u=r.i;if(void 0===(a=r.get("renderOrder"))&&(a=_p),s=St(s,u*h),!this.o&&this.L==h&&this.P==p&&this.D==a&&At(this.A,s))return!0;this.c&&t.postRenderFunctions.push(zh(this.c,o)),this.o=!1;var c,y=new Wh(.5*h/l,s,r.i);return e.Ed(s,h,n),a?(c=[],e.Qb(s,function(t){c.push(t)},this),c.sort(a),c.forEach(i,this)):e.Qb(s,i,this),function(t,e){for(var o in t.a){var i,r=t.a[o];for(i in r)r[i].vb(e)}}(y,o),this.L=h,this.P=p,this.D=a,this.A=s,this.c=y,!0},(Ey=Nl.prototype).clear=function(){this.f=0,this.b={},this.g=this.a=null},Ey.forEach=function(t,e){for(var o=this.a;o;)t.call(e,o.Rc,o.jc,this),o=o.Gb},Ey.get=function(t){return O(void 0!==(t=this.b[t]),15),t===this.g?t.Rc:(t===this.a?(this.a=this.a.Gb,this.a.fd=null):(t.Gb.fd=t.fd,t.fd.Gb=t.Gb),t.Gb=null,t.fd=this.g,(this.g=this.g.Gb=t).Rc)},Ey.pop=function(){var t=this.a;return delete this.b[t.jc],t.Gb&&(t.Gb.fd=null),this.a=t.Gb,this.a||(this.g=null),--this.f,t.Rc},Ey.replace=function(t,e){this.get(t),this.b[t].Rc=e},Ey.set=function(t,e){O(!(t in this.b),16);e={jc:t,Gb:null,fd:this.g,Rc:e};this.g?this.g.Gb=e:this.a=e,this.g=e,this.b[t]=e,++this.f},i(Il,ms),(Ey=Il.prototype).Ag=function(t){return t instanceof Ts?new Pl(this,t):t instanceof As?new Ll(this,t):t instanceof _s?new Rl(this,t):null},Ey.oa=function(){var e=this.g;e.isContextLost()||this.a.forEach(function(t){t&&e.deleteTexture(t.yb)}),N(this.c),ms.prototype.oa.call(this)},Ey.Nj=function(t,e){for(var o,i=this.g;1024<this.a.f-this.i;){if(o=this.a.a.Rc)i.deleteTexture(o.yb);else{if(+this.a.a.jc==e.index)break;--this.i}this.a.pop()}},Ey.Y=function(){return"webgl"},Ey.Um=function(t){for(var e in t.preventDefault(),this.a.clear(),this.i=0,t=this.f)t[e].If()},Ey.Vm=function(){Ol(this),this.l.render()},Ey.ag=function(t){var e=this.c,o=this.g;if(o.isContextLost())return!1;if(!t)return this.o&&(this.b.style.display="none",this.o=!1),!1;this.H=t.focus,this.a.set((-t.index).toString(),null),++this.i,kl(this,"precompose",t);var i=[],r=t.layerStatesArray;tt(r);for(var n,s=t.viewState.resolution,p=0,a=r.length;p<a;++p)rs(n=r[p],s)&&"ready"==n.Ei&&(Ss(this,n.layer).Jf(t,n,e)&&i.push(n));for(r=t.size[0]*t.pixelRatio,s=t.size[1]*t.pixelRatio,this.b.width==r&&this.b.height==s||(this.b.width=r,this.b.height=s),o.bindFramebuffer(36160,null),o.clearColor(0,0,0,0),o.clear(16384),o.enable(3042),o.viewport(0,0,this.b.width,this.b.height),p=0,a=i.length;p<a;++p)Ss(this,(n=i[p]).layer).Dh(t,n,e);this.o||(this.b.style.display="",this.o=!0),ws(t),1024<this.a.f-this.i&&t.postRenderFunctions.push(this.Nj.bind(this)),0!==this.j.b.length&&(t.postRenderFunctions.push(this.D),t.animate=!0),kl(this,"postcompose",t),Ms(this,t),t.postRenderFunctions.push(xs)},Ey.Ba=function(t,e,o,i,r,n,s){var p;if(this.g.isContextLost())return!1;for(var a=e.viewState,h=e.layerStatesArray,l=h.length-1;0<=l;--l){var u=(p=h[l]).layer;if(rs(p,a.resolution)&&n.call(s,u)&&(p=Ss(this,u).Ba(t,e,o,i,r)))return p}},Ey.Ch=function(t,e,o,i,r){if(o=!1,this.g.isContextLost())return!1;for(var n=e.viewState,s=e.layerStatesArray,p=s.length-1;0<=p;--p){var a=s[p],h=a.layer;if(rs(a,n.resolution)&&i.call(r,h)&&(o=Ss(this,h).te(t,e)))return!0}return o},Ey.Bh=function(t,e,o,i,r){if(this.g.isContextLost())return!1;for(var n,s=e.viewState,p=e.layerStatesArray,a=p.length-1;0<=a;--a){var h=(n=p[a]).layer;if(rs(n,s.resolution)&&r.call(i,h)&&(n=Ss(this,h).Hf(t,e,o,i)))return n}};var Dl=["canvas","webgl"];function Bl(t){X.call(this);var e=function(t){var e=null;void 0!==t.keyboardEventTarget&&(e="string"==typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);var o={},i={};void 0===t.logo||"boolean"==typeof t.logo&&t.logo?i["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAHGAAABxgEXwfpGAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAhNQTFRF////AP//AICAgP//AFVVQECA////K1VVSbbbYL/fJ05idsTYJFtbbcjbJllmZszWWMTOIFhoHlNiZszTa9DdUcHNHlNlV8XRIVdiasrUHlZjIVZjaMnVH1RlIFRkH1RkH1ZlasvYasvXVsPQH1VkacnVa8vWIVZjIFRjVMPQa8rXIVVkXsXRsNveIFVkIFZlIVVj3eDeh6GmbMvXH1ZkIFRka8rWbMvXIFVkIFVjIFVkbMvWH1VjbMvWIFVlbcvWIFVla8vVIFVkbMvWbMvVH1VkbMvWIFVlbcvWIFVkbcvVbMvWjNPbIFVkU8LPwMzNIFVkbczWIFVkbsvWbMvXIFVkRnB8bcvW2+TkW8XRIFVkIlZlJVloJlpoKlxrLl9tMmJwOWd0Omh1RXF8TneCT3iDUHiDU8LPVMLPVcLPVcPQVsPPVsPQV8PQWMTQWsTQW8TQXMXSXsXRX4SNX8bSYMfTYcfTYsfTY8jUZcfSZsnUaIqTacrVasrVa8jTa8rWbI2VbMvWbcvWdJObdcvUdszUd8vVeJaee87Yfc3WgJyjhqGnitDYjaarldPZnrK2oNbborW5o9bbo9fbpLa6q9ndrL3ArtndscDDutzfu8fJwN7gwt7gxc/QyuHhy+HizeHi0NfX0+Pj19zb1+Tj2uXk29/e3uLg3+Lh3+bl4uXj4ufl4+fl5Ofl5ufl5ujm5+jmySDnBAAAAFp0Uk5TAAECAgMEBAYHCA0NDg4UGRogIiMmKSssLzU7PkJJT1JTVFliY2hrdHZ3foSFhYeJjY2QkpugqbG1tre5w8zQ09XY3uXn6+zx8vT09vf4+Pj5+fr6/P39/f3+gz7SsAAAAVVJREFUOMtjYKA7EBDnwCPLrObS1BRiLoJLnte6CQy8FLHLCzs2QUG4FjZ5GbcmBDDjxJBXDWxCBrb8aM4zbkIDzpLYnAcE9VXlJSWlZRU13koIeW57mGx5XjoMZEUqwxWYQaQbSzLSkYGfKFSe0QMsX5WbjgY0YS4MBplemI4BdGBW+DQ11eZiymfqQuXZIjqwyadPNoSZ4L+0FVM6e+oGI6g8a9iKNT3o8kVzNkzRg5lgl7p4wyRUL9Yt2jAxVh6mQCogae6GmflI8p0r13VFWTHBQ0rWPW7ahgWVcPm+9cuLoyy4kCJDzCm6d8PSFoh0zvQNC5OjDJhQopPPJqph1doJBUD5tnkbZiUEqaCnB3bTqLTFG1bPn71kw4b+GFdpLElKIzRxxgYgWNYc5SCENVHKeUaltHdXx0dZ8uBI1hJ2UUDgq82CM2MwKeibqAvSO7MCABq0wXEPiqWEAAAAAElFTkSuQmCC"]="https://openlayers.org/":"string"==typeof(p=t.logo)?i[p]="":p instanceof HTMLElement?i[B(p).toString()]=p:p&&(O("string"==typeof p.href,44),O("string"==typeof p.src,45),i[p.src]=p.href);p=t.layers instanceof Kn?t.layers:new Kn({layers:t.layers}),o[Ul]=p,o[Kl]=t.target,o[Xl]=void 0!==t.view?t.view:new ho;var r,n,s,p=ms;for(void 0!==t.renderer?(Array.isArray(t.renderer)?r=t.renderer:"string"==typeof t.renderer?r=[t.renderer]:O(!1,46),0<=r.indexOf("dom")&&(r=r.concat(Dl))):r=Dl,n=0,s=r.length;n<s;++n){var a=r[n];if("canvas"==a){if(Gi){p=na;break}}else if("webgl"==a&&Ri){p=Il;break}}return r=void 0!==t.controls?Array.isArray(t.controls)?new Xo(t.controls.slice()):(O(t.controls instanceof Xo,47),t.controls):wi(),n=void 0!==t.interactions?Array.isArray(t.interactions)?new Xo(t.interactions.slice()):(O(t.interactions instanceof Xo,48),t.interactions):Nn(),t=void 0!==t.overlays?Array.isArray(t.overlays)?new Xo(t.overlays.slice()):(O(t.overlays instanceof Xo,49),t.overlays):new Xo,{controls:r,interactions:n,keyboardEventTarget:e,logos:i,overlays:t,ap:p,values:o}}(t);this.Xe=void 0!==t.loadTilesWhileAnimating&&t.loadTilesWhileAnimating,this.Ve=void 0!==t.loadTilesWhileInteracting&&t.loadTilesWhileInteracting,this.cf=void 0!==t.pixelRatio?t.pixelRatio:Bi,this.bf=e.logos,this.sa=function(){this.i=void 0,this.Zo.call(this,Date.now())}.bind(this),this.Ob=as(),this.df=as(),this.fc=0,this.a=null,this.Ua=jt(),this.D=this.L=this.P=null,this.f=document.createElement("DIV"),this.f.className="ol-viewport"+(Vi?" ol-touch":""),this.f.style.position="relative",this.f.style.overflow="hidden",this.f.style.width="100%",this.f.style.height="100%",this.f.style.msTouchAction="none",this.f.style.touchAction="none",this.A=document.createElement("DIV"),this.A.className="ol-overlaycontainer",this.f.appendChild(this.A),this.u=document.createElement("DIV"),this.u.className="ol-overlaycontainer-stopevent";for(var o,i=0,r=(t="click dblclick mousedown touchstart mspointerdown pointerdown mousewheel wheel".split(" ")).length;i<r;++i)P(this.u,t[i],F);for(o in this.f.appendChild(this.u),this.Fa=new dr(this),Ei)P(this.Fa,Ei[o],this.Zg,this);this.na=e.keyboardEventTarget,this.v=null,P(this.f,"wheel",this.ad,this),P(this.f,"mousewheel",this.ad,this),this.l=e.controls,this.j=e.interactions,this.o=e.overlays,this.Mf={},this.C=new e.ap(this.f,this),this.U=null,this.Z=[],this.Ja=[],this.xa=new Ar(this.Gk.bind(this),this.kl.bind(this)),this.fa={},P(this,W(Ul),this.Tk,this),P(this,W(Xl),this.ll,this),P(this,W(Gl),this.hl,this),P(this,W(Kl),this.jl,this),this.I(e.values),this.l.forEach(function(t){t.setMap(this)},this),P(this.l,zo,function(t){t.element.setMap(this)},this),P(this.l,Ho,function(t){t.element.setMap(null)},this),this.j.forEach(function(t){t.setMap(this)},this),P(this.j,zo,function(t){t.element.setMap(this)},this),P(this.j,Ho,function(t){t.element.setMap(null)},this),this.o.forEach(this.wg,this),P(this.o,zo,function(t){this.wg(t.element)},this),P(this.o,Ho,function(t){var e=t.element.i;void 0!==e&&delete this.Mf[e.toString()],t.element.setMap(null)},this)}i(Bl,X),(Ey=Bl.prototype).Bj=function(t){this.l.push(t)},Ey.Cj=function(t){this.j.push(t)},Ey.ug=function(t){this.Bc().cd().push(t)},Ey.vg=function(t){this.o.push(t)},Ey.wg=function(t){var e=t.i;void 0!==e&&(this.Mf[e.toString()]=t),t.setMap(this)},Ey.Ij=function(t){this.render(),Array.prototype.push.apply(this.Z,arguments)},Ey.oa=function(){N(this.Fa),N(this.C),A(this.f,"wheel",this.ad,this),A(this.f,"mousewheel",this.ad,this),void 0!==this.c&&(window.removeEventListener("resize",this.c,!1),this.c=void 0),this.i&&(cancelAnimationFrame(this.i),this.i=void 0),this.ph(null),X.prototype.oa.call(this)},Ey.ae=function(t,e,o){if(this.a)return t=this.Sa(t),o=void 0!==o?o:{},this.C.Ba(t,this.a,void 0!==o.hitTolerance?o.hitTolerance*this.a.pixelRatio:0,e,null,void 0!==o.layerFilter?o.layerFilter:$t,null)},Ey.Wl=function(t,e,o,i,r){if(this.a)return this.C.Bh(t,this.a,e,void 0!==o?o:null,void 0!==i?i:$t,void 0!==r?r:null)},Ey.ml=function(t,e){if(!this.a)return!1;t=this.Sa(t);return e=void 0!==e?e:{},this.C.Ch(t,this.a,void 0!==e.hitTolerance?e.hitTolerance*this.a.pixelRatio:0,void 0!==e.layerFilter?e.layerFilter:$t,null)},Ey.ck=function(t){return this.Sa(this.ce(t))},Ey.ce=function(t){var e=this.f.getBoundingClientRect();return[(t=t.changedTouches?t.changedTouches[0]:t).clientX-e.left,t.clientY-e.top]},Ey.vf=function(){return this.get(Kl)},Ey.Cc=function(){var t=this.vf();return void 0!==t?"string"==typeof t?document.getElementById(t):t:null},Ey.Sa=function(t){var e=this.a;return e?ys(e.pixelToCoordinateTransform,t.slice()):null},Ey.ak=function(){return this.l},Ey.vk=function(){return this.o},Ey.uk=function(t){return void 0!==(t=this.Mf[t.toString()])?t:null},Ey.hk=function(){return this.j},Ey.Bc=function(){return this.get(Ul)},Ey.oh=function(){return this.Bc().cd()},Ey.Ga=function(t){var e=this.a;return e?ys(e.coordinateToPixelTransform,t.slice(0,2)):null},Ey.nb=function(){return this.get(Gl)},Ey.aa=function(){return this.get(Xl)},Ey.Ik=function(){return this.f},Ey.Gk=function(t,e,o,i){var r=this.a;return r&&e in r.wantedTiles&&r.wantedTiles[e][t.bb()]?(t=o[0]-r.focus[0],o=o[1]-r.focus[1],65536*Math.log(i)+Math.sqrt(t*t+o*o)/i):1/0},Ey.ad=function(t,e){t=new Ai(e||t.type,this,t);this.Zg(t)},Ey.Zg=function(t){if(this.a){this.U=t.coordinate,t.frameState=this.a;var e,o=this.j.a;if(!1!==this.b(t))for(e=o.length-1;0<=e;e--){var i=o[e];if(i.f()&&!i.handleEvent(t))break}}},Ey.fl=function(){var t,e,o,i=this.a,r=this.xa;for(0!==r.b.length&&(e=t=16,i&&((o=i.viewHints)[xo]&&(t=this.Xe?8:0,e=2),o[1]&&(t=this.Ve?8:0,e=2)),r.j<t&&(Tr(r),Er(r,t,e))),t=0,e=(r=this.Ja).length;t<e;++t)r[t](this,i);r.length=0},Ey.hl=function(){this.render()},Ey.jl=function(){var t;if(this.vf()&&(t=this.Cc()),this.v){for(var e=0,o=this.v.length;e<o;++e)E(this.v[e]);this.v=null}t?(t.appendChild(this.f),t=this.na||t,this.v=[P(t,"keydown",this.ad,this),P(t,"keypress",this.ad,this)],this.c||(this.c=this.ld.bind(this),window.addEventListener("resize",this.c,!1))):(ni(this.f),void 0!==this.c&&(window.removeEventListener("resize",this.c,!1),this.c=void 0)),this.ld()},Ey.kl=function(){this.render()},Ey.bh=function(){this.render()},Ey.ll=function(){this.P&&(E(this.P),this.P=null),this.L&&(E(this.L),this.L=null);var t=this.aa();t&&(this.P=P(t,H,this.bh,this),this.L=P(t,"change",this.bh,this)),this.render()},Ey.Tk=function(){this.D&&(this.D.forEach(E),this.D=null);var t=this.Bc();t&&(this.D=[P(t,H,this.render,this),P(t,"change",this.render,this)]),this.render()},Ey.$o=function(){this.i&&cancelAnimationFrame(this.i),this.sa()},Ey.render=function(){void 0===this.i&&(this.i=requestAnimationFrame(this.sa))},Ey.To=function(t){return this.l.remove(t)},Ey.Uo=function(t){return this.j.remove(t)},Ey.Wo=function(t){return this.Bc().cd().remove(t)},Ey.Xo=function(t){return this.o.remove(t)},Ey.Zo=function(t){var e,o=this.nb(),i=this.aa(),r=jt(),n=null;if(void 0!==o&&0<o[0]&&0<o[1]&&i&&go(i)){for(var n=yo(i,this.a?this.a.viewHints:void 0),s=this.Bc().sf(),p={},a=0,h=s.length;a<h;++a)p[B(s[a].layer)]=s[a];e=i.W(),n={animate:!1,attributions:{},coordinateToPixelTransform:this.Ob,extent:r,focus:this.U||e.center,index:this.fc++,layerStates:p,layerStatesArray:s,logos:L({},this.bf),pixelRatio:this.cf,pixelToCoordinateTransform:this.df,postRenderFunctions:[],size:o,skippedFeatureUids:this.fa,tileQueue:this.xa,time:t,usedTiles:{},viewState:e,viewHints:n,wantedTiles:{}}}if(n){for(a=o=0,h=(t=this.Z).length;a<h;++a)(i=t[a])(this,n)&&(t[o++]=i);t.length=o,n.extent=Xt(e.center,e.resolution,e.rotation,n.size,r)}this.a=n,this.C.ag(n),n&&(n.animate&&this.render(),Array.prototype.push.apply(this.Ja,n.postRenderFunctions),0!==this.Z.length||n.viewHints[xo]||n.viewHints[1]||It(n.extent,this.Ua)||(this.b(new si("moveend",this,n)),Mt(n.extent,this.Ua))),this.b(new si("postrender",this,n)),setTimeout(this.fl.bind(this),0)},Ey.vi=function(t){this.set(Ul,t)},Ey.eg=function(t){this.set(Gl,t)},Ey.ph=function(t){this.set(Kl,t)},Ey.mp=function(t){this.set(Xl,t)},Ey.Di=function(t){t=B(t).toString(),this.fa[t]=!0,this.render()},Ey.ld=function(){var t,e=this.Cc();e?(t=getComputedStyle(e),this.eg([e.offsetWidth-parseFloat(t.borderLeftWidth)-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight)-parseFloat(t.borderRightWidth),e.offsetHeight-parseFloat(t.borderTopWidth)-parseFloat(t.paddingTop)-parseFloat(t.paddingBottom)-parseFloat(t.borderBottomWidth)])):this.eg(void 0)},Ey.Ji=function(t){t=B(t).toString(),delete this.fa[t],this.render()};var Ul="layergroup",Gl="size",Kl="target",Xl="view";function Vl(t){X.call(this),this.i=t.id,this.o=void 0===t.insertFirst||t.insertFirst,this.v=void 0===t.stopEvent||t.stopEvent,this.f=document.createElement("DIV"),this.f.className="ol-overlay-container",this.f.style.position="absolute",this.autoPan=void 0!==t.autoPan&&t.autoPan,this.j=t.autoPanAnimation||{},this.l=void 0!==t.autoPanMargin?t.autoPanMargin:20,this.a={Xd:"",le:"",Je:"",Oe:"",visible:!0},this.c=null,P(this,W(ou),this.Ok,this),P(this,W(iu),this.Yk,this),P(this,W(ru),this.bl,this),P(this,W(nu),this.dl,this),P(this,W(su),this.el,this),void 0!==t.element&&this.pi(t.element),this.xi(void 0!==t.offset?t.offset:[0,0]),this.Ai(void 0!==t.positioning?t.positioning:Ql),void 0!==t.position&&this.Ef(t.position)}function Wl(t,e){var o=t.getBoundingClientRect(),t=o.left+window.pageXOffset;return[t,o=o.top+window.pageYOffset,t+e[0],o+e[1]]}function zl(t,e){t.a.visible!==e&&(t.f.style.display=e?"":"none",t.a.visible=e)}function Hl(t){var e,o,i,r,n=t.oe(),s=t.qh();void 0!==n&&n.a&&void 0!==s?(s=n.Ga(s),e=n.nb(),n=t.f.style,r=t.Tg(),o=t.Ug(),i=r[0],r=r[1],o==ql||o==$l||o==eu?(""!==t.a.le&&(t.a.le=n.left=""),i=Math.round(e[0]-s[0]-i)+"px",t.a.Je!=i&&(t.a.Je=n.right=i)):(""!==t.a.Je&&(t.a.Je=n.right=""),o!=Zl&&o!=_l&&o!=tu||(i-=t.f.offsetWidth/2),i=Math.round(s[0]+i)+"px",t.a.le!=i&&(t.a.le=n.left=i)),o==Yl||o==Zl||o==ql?(""!==t.a.Oe&&(t.a.Oe=n.top=""),s=Math.round(e[1]-s[1]-r)+"px",t.a.Xd!=s&&(t.a.Xd=n.bottom=s)):(""!==t.a.Xd&&(t.a.Xd=n.bottom=""),o!=Jl&&o!=_l&&o!=$l||(r-=t.f.offsetHeight/2),s=Math.round(s[1]+r)+"px",t.a.Oe!=s&&(t.a.Oe=n.top=s)),zl(t,!0)):zl(t,!1)}es(),i(Vl,X),(Ey=Vl.prototype).be=function(){return this.get(ou)},Ey.Xl=function(){return this.i},Ey.oe=function(){return this.get(iu)},Ey.Tg=function(){return this.get(ru)},Ey.qh=function(){return this.get(nu)},Ey.Ug=function(){return this.get(su)},Ey.Ok=function(){for(var t=this.f;t.lastChild;)t.removeChild(t.lastChild);(t=this.be())&&this.f.appendChild(t)},Ey.Yk=function(){this.c&&(ni(this.f),E(this.c),this.c=null);var t=this.oe();t&&(this.c=P(t,"postrender",this.render,this),Hl(this),t=this.v?t.u:t.A,this.o?t.insertBefore(this.f,t.childNodes[0]||null):t.appendChild(this.f))},Ey.render=function(){Hl(this)},Ey.bl=function(){Hl(this)},Ey.dl=function(){var t,e,o,i,r,n,s;Hl(this),void 0===this.get(nu)||!this.autoPan||void 0!==(t=this.oe())&&t.Cc()&&(e=Wl(t.Cc(),t.nb()),o=(s=this.be()).offsetWidth,r=s.currentStyle||getComputedStyle(s),o+=parseInt(r.marginLeft,10)+parseInt(r.marginRight,10),r=s.offsetHeight,i=s.currentStyle||getComputedStyle(s),n=Wl(s,[o,r=r+(parseInt(i.marginTop,10)+parseInt(i.marginBottom,10))]),s=this.l,At(e,n)||(o=n[0]-e[0],r=e[2]-n[2],i=n[1]-e[1],n=e[3]-n[3],e=[0,0],o<0?e[0]=o-s:r<0&&(e[0]=Math.abs(r)+s),i<0?e[1]=i-s:n<0&&(e[1]=Math.abs(n)+s),0===e[0]&&0===e[1])||(s=t.aa().fb(),e=[(s=t.Ga(s))[0]+e[0],s[1]+e[1]],t.aa().animate({center:t.Sa(e),duration:this.j.duration,easing:this.j.easing})))},Ey.el=function(){Hl(this)},Ey.pi=function(t){this.set(ou,t)},Ey.setMap=function(t){this.set(iu,t)},Ey.xi=function(t){this.set(ru,t)},Ey.Ef=function(t){this.set(nu,t)},Ey.Ai=function(t){this.set(su,t)};var Yl="bottom-left",Zl="bottom-center",ql="bottom-right",Jl="center-left",_l="center-center",$l="center-right",Ql="top-left",tu="top-center",eu="top-right",ou="element",iu="map",ru="offset",nu="position",su="positioning";function pu(t){t=t||{},this.j=void 0===t.collapsed||t.collapsed,this.l=void 0===t.collapsible||t.collapsible,this.l||(this.j=!1);var e=void 0!==t.className?t.className:"ol-overviewmap",o=void 0!==t.tipLabel?t.tipLabel:"Overview map",i=void 0!==t.collapseLabel?t.collapseLabel:"«";"string"==typeof i?(this.o=document.createElement("span"),this.o.textContent=i):this.o=i,"string"==typeof(i=void 0!==t.label?t.label:"»")?(this.u=document.createElement("span"),this.u.textContent=i):this.u=i;var r=this.l&&!this.j?this.o:this.u;(i=document.createElement("button")).setAttribute("type","button"),i.title=o,i.appendChild(r),P(i,"click",this.km,this),(o=document.createElement("DIV")).className="ol-overviewmap-map";var n=this.f=new Bl({controls:new Xo,interactions:new Xo,target:o,view:t.view});t.layers&&t.layers.forEach(function(t){n.ug(t)},this),(r=document.createElement("DIV")).className="ol-overviewmap-box",r.style.boxSizing="border-box",this.A=new Vl({position:[0,0],positioning:Yl,element:r}),this.f.vg(this.A),(r=document.createElement("div")).className=e+" ol-unselectable ol-control"+(this.j&&this.l?" ol-collapsed":"")+(this.l?"":" ol-uncollapsible"),r.appendChild(o),r.appendChild(i),pi.call(this,{element:r,render:t.render||au,target:t.target})}function au(){var t,e,o,i,r=this.a,n=this.f;r.a&&n.a&&(t=r.nb(),r=r.aa().Uc(t),i=n.nb(),t=n.aa().Uc(i),e=n.Ga(zt(r)),o=n.Ga(Gt(r)),n=Math.abs(e[0]-o[0]),e=Math.abs(e[1]-o[1]),o=i[0],i=i[1],n<.1*o||e<.1*i||.75*o<n||.75*i<e?hu(this):At(t,r)||(r=this.f,t=this.a.aa(),r.aa().Mb(t.fb()))),lu(this)}function hu(t){var e=t.a;t=t.f;var o=e.nb(),e=e.aa().Uc(o),o=t.nb();t=t.aa(),Jt(e,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2))),t.lf(e,o)}function lu(t){var e,o,i,r,n,s,p=t.a,a=t.f;p.a&&a.a&&(i=p.nb(),r=p.aa(),n=a.aa(),a=r.Ra(),p=t.A,e=t.A.be(),o=r.Uc(i),i=n.Oa(),r=Ut(o),n=Ht(o),(t=t.a.aa().fb())&&(ut(s=[r[0]-t[0],r[1]-t[1]],a),st(s,t)),p.Ef(s),e&&(e.style.width=Math.abs((r[0]-n[0])/i)+"px",e.style.height=Math.abs((n[1]-r[1])/i)+"px"))}function uu(t){t.element.classList.toggle("ol-collapsed"),t.j?ri(t.o,t.u):ri(t.u,t.o),t.j=!t.j;var e=t.f;t.j||e.a||(e.ld(),hu(t),T(e,"postrender",function(){lu(this)},t))}function cu(t){var e=void 0!==(t=t||{}).className?t.className:"ol-scale-line";this.l=document.createElement("DIV"),this.l.className=e+"-inner",this.f=document.createElement("DIV"),this.f.className=e+" ol-unselectable",this.f.appendChild(this.l),this.u=null,this.o=void 0!==t.minWidth?t.minWidth:64,this.j=!1,this.C=void 0,this.A="",pi.call(this,{element:this.f,render:t.render||fu,target:t.target}),P(this,W(du),this.L,this),this.D(t.units||wu)}i(pu,pi),(Ey=pu.prototype).setMap=function(t){var e=this.a;t!==e&&((e=e&&e.aa())&&A(e,W(wo),this.je,this),pi.prototype.setMap.call(this,t),t&&(this.v.push(P(t,H,this.Zk,this)),0===this.f.oh().Ub()&&this.f.vi(t.Bc()),t=t.aa()))&&(P(t,W(wo),this.je,this),go(t)&&(this.f.ld(),hu(this)))},Ey.Zk=function(t){t.key===Xl&&((t=t.oldValue)&&A(t,W(wo),this.je,this),P(t=this.a.aa(),W(wo),this.je,this))},Ey.je=function(){this.f.aa().pe(this.a.aa().Ra())},Ey.km=function(t){t.preventDefault(),uu(this)},Ey.jm=function(){return this.l},Ey.mm=function(t){this.l!==t&&(this.l=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.j&&uu(this))},Ey.lm=function(t){this.l&&this.j!==t&&uu(this)},Ey.im=function(){return this.j},Ey.wk=function(){return this.f},i(cu,pi);var yu=[1,2,5];function fu(t){(t=t.frameState)?this.u=t.viewState:this.u=null,gu(this)}function gu(t){if(o=t.u){var e=(i=o.projection).ic(),o=he(i,o.resolution,o.center)*e,e=t.o*o,i="";(n=t.Eb())==vu?(o/=i=oe.degrees,e<i/60?(i="″",o*=3600):e<i?(i="′",o*=60):i="°"):n==bu?e<.9144?(i="in",o/=.0254):e<1609.344?(i="ft",o/=.3048):(i="mi",o/=1609.344):n==mu?(o/=1852,i="nm"):n==wu?e<1?(i="mm",o*=1e3):e<1e3?i="m":(i="km",o/=1e3):n==xu?e<.9144?(i="in",o*=39.37):e<1609.344?(i="ft",o/=.30480061):(i="mi",o/=1609.3472):O(!1,33);for(var r,n=3*Math.floor(Math.log(t.o*o)/Math.log(10));;){if(r=yu[(n%3+3)%3]*Math.pow(10,Math.floor(n/3)),e=Math.round(r/o),isNaN(e))return t.f.style.display="none",void(t.j=!1);if(e>=t.o)break;++n}o=r+" "+i,t.A!=o&&(t.l.innerHTML=o,t.A=o),t.C!=e&&(t.l.style.width=e+"px",t.C=e),t.j||(t.f.style.display="",t.j=!0)}else t.j&&(t.f.style.display="none",t.j=!1)}cu.prototype.Eb=function(){return this.get(du)},cu.prototype.L=function(){gu(this)},cu.prototype.D=function(t){this.set(du,t)};var du="units",vu="degrees",bu="imperial",mu="nautical",wu="metric",xu="us";function Su(t){t=t||{},this.f=void 0,this.j=Mu,this.u=[],this.C=this.o=0,this.U=null,this.fa=!1,this.Z=void 0!==t.duration?t.duration:200;var e=void 0!==t.className?t.className:"ol-zoomslider",o=document.createElement("button");o.setAttribute("type","button"),o.className=e+"-thumb ol-unselectable";var i=document.createElement("div");i.className=e+" ol-unselectable ol-control",i.appendChild(o),this.l=new pr(i),P(this.l,"pointerdown",this.Nk,this),P(this.l,"pointermove",this.Xg,this),P(this.l,"pointerup",this.Yg,this),P(i,"click",this.Mk,this),P(o,"click",F),pi.call(this,{element:i,render:t.render||Pu})}i(Su,pi),Su.prototype.oa=function(){N(this.l),pi.prototype.oa.call(this)};var Mu=0;function Pu(t){var e,o,i,r,n;t.frameState&&(this.fa||(e=(r=this.element).offsetWidth,o=r.offsetHeight,n=r.firstElementChild,i=getComputedStyle(n),r=n.offsetWidth+parseFloat(i.marginRight)+parseFloat(i.marginLeft),n=n.offsetHeight+parseFloat(i.marginTop)+parseFloat(i.marginBottom),this.U=[r,n],o<e?(this.j=1,this.C=e-r):(this.j=Mu,this.o=o-n),this.fa=!0),(t=t.frameState.viewState.resolution)!==this.f&&(this.f=t,Tu(this,t)))}function Tu(t,e){var o,i,r=1-(r=t.a.aa(),o=r.a,i=Math.log(o/r.j)/Math.log(2),function(t){return Math.log(o/t)/Math.log(2)/i}(e)),e=t.element.firstElementChild;1==t.j?e.style.left=t.C*r+"px":e.style.top=t.o*r+"px"}function Au(t,e){return t=t.a.aa(),o=t.a,i=Math.log(o/t.j)/Math.log(2),function(t){return o/Math.pow(2,t*i)}(1-e);var o,i}function Eu(t){t=t||{},this.f=t.extent||null;var e=void 0!==t.className?t.className:"ol-zoom-extent",o=void 0!==t.label?t.label:"E",i=void 0!==t.tipLabel?t.tipLabel:"Fit to extent",r=document.createElement("button");r.setAttribute("type","button"),r.title=i,r.appendChild("string"==typeof o?document.createTextNode(o):o),P(r,"click",this.j,this),(o=document.createElement("div")).className=e+" ol-unselectable ol-control",o.appendChild(r),pi.call(this,{element:o,target:t.target})}function Cu(t){X.call(this),t=t||{},this.a=null,P(this,W(Iu),this.Kl,this),this.Cf(void 0!==t.tracking&&t.tracking)}(Ey=Su.prototype).setMap=function(t){pi.prototype.setMap.call(this,t),t&&t.render()},Ey.Mk=function(t){var e=this.a.aa();t=Au(this,v(1===this.j?(t.offsetX-this.U[0]/2)/this.C:(t.offsetY-this.U[1]/2)/this.o,0,1)),e.animate({resolution:e.constrainResolution(t),duration:this.Z,easing:vt})},Ey.Nk=function(t){var e;this.A||t.b.target!==this.element.firstElementChild||(vo(this.a.aa(),1,1),this.D=t.clientX,this.L=t.clientY,this.A=!0,0!==this.u.length)||(t=this.Xg,e=this.Yg,this.u.push(P(document,"mousemove",t,this),P(document,"touchmove",t,this),P(document,"pointermove",t,this),P(document,"mouseup",e,this),P(document,"touchend",e,this),P(document,"pointerup",e,this)))},Ey.Xg=function(t){var e;this.A&&(e=this.element.firstElementChild,this.f=Au(this,v(1===this.j?(t.clientX-this.D+parseInt(e.style.left,10))/this.C:(t.clientY-this.L+parseInt(e.style.top,10))/this.o,0,1)),this.a.aa().Oc(this.f),Tu(this,this.f),this.D=t.clientX,this.L=t.clientY)},Ey.Yg=function(){var t;this.A&&(vo(t=this.a.aa(),1,-1),t.animate({resolution:t.constrainResolution(this.f),duration:this.Z,easing:vt}),this.A=!1,this.L=this.D=void 0,this.u.forEach(E),this.u.length=0)},i(Eu,pi),Eu.prototype.j=function(t){t.preventDefault(),t=(o=this.a).aa();var e=this.f||t.o.G(),o=o.nb();t.lf(e,o)},i(Cu,X),(Ey=Cu.prototype).oa=function(){this.Cf(!1),X.prototype.oa.call(this)},Ey.io=function(t){var e;null!==t.alpha&&(e=d(t.alpha),this.set(ju,e),"boolean"==typeof t.absolute&&t.absolute?this.set(Nu,e):"number"==typeof t.webkitCompassHeading&&-1!=t.webkitCompassAccuracy&&this.set(Nu,d(t.webkitCompassHeading))),null!==t.beta&&this.set(Lu,d(t.beta)),null!==t.gamma&&this.set(Ru,d(t.gamma)),this.s()},Ey.Vj=function(){return this.get(ju)},Ey.Yj=function(){return this.get(Lu)},Ey.ek=function(){return this.get(Ru)},Ey.Jl=function(){return this.get(Nu)},Ey.kh=function(){return this.get(Iu)},Ey.Kl=function(){var t;Ki&&((t=this.kh())&&!this.a?this.a=P(window,"deviceorientation",this.io,this):t||null===this.a||(E(this.a),this.a=null))},Ey.Cf=function(t){this.set(Iu,t)};var ju="alpha",Lu="beta",Ru="gamma",Nu="heading",Iu="tracking";function Fu(t){X.call(this),this.f=void 0,this.a="geometry",this.i=null,this.j=void 0,this.c=null,P(this,W(this.a),this.he,this),void 0!==t&&(t instanceof Me||!t?this.Pa(t):this.I(t))}i(Fu,X),(Ey=Fu.prototype).clone=function(){var t=new Fu(this.R());t.Nc(this.a);var e=this.V();return e&&t.Pa(e.clone()),(e=this.i)&&t.Df(e),t},Ey.V=function(){return this.get(this.a)},Ey.Ll=function(){return this.f},Ey.gk=function(){return this.a},Ey.Ml=function(){return this.i},Ey.Gc=function(){return this.j},Ey.Nl=function(){this.s()},Ey.he=function(){this.c&&(E(this.c),this.c=null);var t=this.V();t&&(this.c=P(t,"change",this.Nl,this)),this.s()},Ey.Pa=function(t){this.set(this.a,t)},Ey.Df=function(t){this.j=(this.i=t)?function(t){{var e;"function"!=typeof t&&(e=Array.isArray(t)?t:(O(t instanceof zs,41),[t]),t=function(){return e})}return t}(t):void 0,this.s()},Ey.cc=function(t){this.f=t,this.s()},Ey.Nc=function(t){A(this,W(this.a),this.he,this),this.a=t,P(this,W(this.a),this.he,this),this.he()};var ku=document.implementation.createDocument("","",null);function Ou(t,e){return ku.createElementNS(t,e)}function Du(t,e){return function t(e,o,i){if(e.nodeType==Node.CDATA_SECTION_NODE||e.nodeType==Node.TEXT_NODE)o?i.push(String(e.nodeValue).replace(/(\r\n|\r|\n)/g,"")):i.push(e.nodeValue);else for(e=e.firstChild;e;e=e.nextSibling)t(e,o,i);return i}(t,e,[]).join("")}function Bu(t){return t instanceof Document}function Uu(t){return t instanceof Node}function Gu(t){return(new DOMParser).parseFromString(t,"application/xml")}function Ku(o,i){return function(t,e){t=o.call(i,t,e);void 0!==t&&_(e[e.length-1],t)}}function Xu(o,i){return function(t,e){t=o.call(void 0!==i?i:this,t,e);void 0!==t&&e[e.length-1].push(t)}}function Vu(o,i){return function(t,e){t=o.call(void 0!==i?i:this,t,e);void 0!==t&&(e[e.length-1]=t)}}function Wu(i){return function(t,e){var o=i.call(this,t,e);void 0!==o&&(e=e[e.length-1],((t=t.localName)in e?e[t]:e[t]=[]).push(o))}}function zu(i,r){return function(t,e){var o=i.call(this,t,e);void 0!==o&&(e[e.length-1][void 0!==r?r:t.localName]=o)}}function Hu(i,r){return function(t,e,o){i.call(void 0!==r?r:this,t,e,o),o[o.length-1].node.appendChild(t)}}function Yu(r){var n,s;return function(t,e,o){var i;n||(n={},(i={})[t.localName]=r,n[t.namespaceURI]=i,s=Zu(t.localName)),tc(n,s,e,o)}}function Zu(i,r){return function(t,e,o){return t=e[e.length-1].node,void 0===(e=i)&&(e=o),void 0===(o=r)&&(o=t.namespaceURI),Ou(o,e)}}var qu=Zu();function Ju(t,e){for(var o=e.length,i=Array(o),r=0;r<o;++r)i[r]=t[e[r]];return i}function _u(t,e,o){var i,r;for(o=void 0!==o?o:{},i=0,r=t.length;i<r;++i)o[t[i]]=e;return o}function $u(t,e,o,i){for(e=e.firstElementChild;e;e=e.nextElementSibling){var r=t[e.namespaceURI];void 0!==r&&(r=r[e.localName])&&r.call(i,e,o)}}function Qu(t,e,o,i,r){return i.push(t),$u(e,o,i,r),i.pop()}function tc(t,e,o,i,r,n){for(var s,p,a=(void 0!==r?r:o).length,h=0;h<a;++h)void 0!==(s=o[h])&&(void 0!==(p=e.call(n,s,i,void 0!==r?r[h]:void 0))&&t[p.namespaceURI][p.localName].call(n,p,s,i))}function ec(t,e,o,i,r,n,s){r.push(t),tc(e,o,i,r,n,s),r.pop()}function oc(r,n,s,p){return function(t,e,o){var i=new XMLHttpRequest;i.open("GET","function"==typeof r?r(t,e,o):r,!0),"arraybuffer"==n.Y()&&(i.responseType="arraybuffer"),i.onload=function(){var t,e;!i.status||200<=i.status&&i.status<300?("json"==(t=n.Y())||"text"==t?e=i.responseText:"xml"==t?(e=i.responseXML)||(e=Gu(i.responseText)):"arraybuffer"==t&&(e=i.response),e?s.call(this,n.La(e,{featureProjection:o}),n.Wa(e)):p.call(this)):p.call(this)}.bind(this),i.send()}}function ic(t,e){return oc(t,e,function(t){this.Tc(t)},p)}function rc(){this.j=this.defaultDataProjection=null}function nc(t,e,o){var i;return o&&(i={dataProjection:o.dataProjection||t.Wa(e),featureProjection:o.featureProjection}),sc(t,i)}function sc(t,e){return L({dataProjection:t.defaultDataProjection,featureProjection:t.j},e)}function pc(t,e,o){var i,r=o?ge(o.featureProjection):null,n=o?ge(o.dataProjection):null,r=r&&n&&!de(r,n)?t instanceof Me?(e?t.clone():t).ob(e?r:n,e?n:r):Se(e?t.slice():t,e?r:n,e?n:r):t;return e&&o&&o.decimals&&(i=Math.pow(10,o.decimals),t=function(t){for(var e=0,o=t.length;e<o;++e)t[e]=Math.round(t[e]*i)/i;return t},Array.isArray(r)?t(r):r.sc(t)),r}function ac(){rc.call(this)}function hc(t){return"string"==typeof t?(t=JSON.parse(t))?t:null:null!==t?t:null}function lc(t,e,o,i,r,n){var s=NaN,p=NaN;if(0!==(a=(o-e)/i))if(1==a)s=t[e],p=t[e+1];else if(2==a)s=(1-r)*t[e]+r*t[e+i],p=(1-r)*t[e+1]+r*t[e+i+1];else{for(var p=t[e],a=t[e+1],h=0,s=[0],l=e+i;l<o;l+=i){var u=t[l],c=t[l+1],h=h+Math.sqrt((u-p)*(u-p)+(c-a)*(c-a));s.push(h),p=u,a=c}for(o=r*h,a=0,h=s.length,l=!1;a<h;)(p=+Z(s[r=a+(h-a>>1)],o))<0?a=r+1:(h=r,l=!p);p=(r=l?a:~a)<0?(o=(o-s[-r-2])/(s[-r-1]-s[-r-2]),s=y(t[e+=(-r-2)*i],t[e+i],o),y(t[e+1],t[e+i+1],o)):(s=t[e+r*i],t[e+r*i+1])}return n?(n[0]=s,n[1]=p,n):[s,p]}function uc(t,e,o,i,r,n){if(o==e)return null;if(r<t[e+i-1])return n?((o=t.slice(e,e+i))[i-1]=r,o):null;if(t[o-1]<r)return n?((o=t.slice(o-i,o))[i-1]=r,o):null;if(r==t[e+i-1])return t.slice(e,e+i);for(e/=i,o/=i;e<o;)r<t[((n=e+o>>1)+1)*i-1]?o=n:e=n+1;if(r==(o=t[e*i-1]))return t.slice((e-1)*i,(e-1)*i+i);var s;for(n=(r-o)/(t[(e+1)*i-1]-o),o=[],s=0;s<i-1;++s)o.push(y(t[(e-1)*i+s],t[e*i+s],n));return o.push(r),o}function cc(t,e){Ae.call(this),this.c=null,this.A=this.C=this.l=-1,this.qa(t,e)}function yc(t){return t.l!=t.g&&(t.c=t.Kg(.5,t.c),t.l=t.g),t.c}function fc(t,e){Ae.call(this),this.c=[],this.l=this.A=-1,this.qa(t,e)}function gc(t){var e,o,i=[],r=t.B,n=0,s=t.c;for(t=t.a,e=0,o=s.length;e<o;++e){var p=s[e];_(i,n=lc(r,n,p,t,.5)),n=p}return i}function dc(t,e){for(var o=t.ka,i=[],r=[],n=0,s=e.length;n<s;++n){var p=e[n];0===n&&(o=p.ka),_(i,p.ia()),r.push(i.length)}t.da(o,i,r)}function vc(t,e){Ae.call(this),this.qa(t,e)}function bc(t,e){Ae.call(this),this.c=[],this.A=-1,this.C=null,this.P=this.D=this.L=-1,this.l=null,this.qa(t,e)}function mc(t){if(t.A!=t.g){var e=t.B,o=t.c,i=t.a,r=0,n=[];for(h=0,a=o.length;h<a;++h){var s=o[h],r=Nt(e,r,s[0],i);n.push((r[0]+r[2])/2,(r[1]+r[3])/2),r=s[s.length-1]}for(e=wc(t),o=t.c,i=t.a,a=[],s=h=0,r=o.length;s<r;++s)var p=o[s],a=qe(e,h,p,i,n,2*s,a),h=p[p.length-1];t.C=a,t.A=t.g}return t.C}function wc(t){if(t.P!=t.g){var e=t.B;t:{for(var o,i=0,r=(o=t.c).length;i<r;++i)if(!to(e,o[i],t.a,void 0)){o=!1;break t}o=!0}o?t.l=e:(t.l=e.slice(),t.l.length=oo(t.l,t.c,t.a)),t.P=t.g}return t.l}function xc(t,e,o,i){Ce(t,e,o),t.c=i,t.s()}function Sc(t,e){for(var o=t.ka,i=[],r=[],n=0,s=e.length;n<s;++n){var p=e[n];0===n&&(o=p.ka);for(var a,h=i.length,l=0,u=(a=p.Kb()).length;l<u;++l)a[l]+=h;_(i,p.ia()),r.push(a)}xc(t,o,i,r)}function Mc(t){t=t||{},rc.call(this),this.b=t.geometryName}function Pc(t,e){if(!t)return null;if("number"==typeof t.x&&"number"==typeof t.y)n="Point";else if(t.points)n="MultiPoint";else if(t.paths)n=1===t.paths.length?"LineString":"MultiLineString";else if(t.rings){for(var o=t.rings,i=Tc(t),r=[],n=[],s=0,p=o.length;s<p;++s){var a=function o(t){return t.reduce(function(t,e){return Array.isArray(e)?t.concat(o(e)):t.concat(e)},[])}(o[s]);Qe(a,0,a.length,i.length)?r.push([o[s]]):n.push(o[s])}for(;n.length;){for(o=n.shift(),i=!1,s=r.length-1;0<=s;s--)if(At(new We(r[s][0]).G(),new We(o).G())){r[s].push(o),i=!0;break}i||r.push([o.reverse()])}t=L({},t),1===r.length?(n="Polygon",t.rings=r[0]):(n="MultiPolygon",t.rings=r)}return pc((0,Ec[n])(t),!1,e)}function Tc(t){var e="XY";return!0===t.hasZ&&!0===t.hasM?e="XYZM":!0===t.hasZ?e="XYZ":!0===t.hasM&&(e="XYM"),e}function Ac(t){return{hasZ:"XYZ"===(t=t.ka)||"XYZM"===t,hasM:"XYM"===t||"XYZM"===t}}i(ac,rc),(Ey=ac.prototype).Y=function(){return"json"},Ey.bc=function(t,e){return this.gd(hc(t),nc(this,t,e))},Ey.La=function(t,e){return this.Sf(hc(t),nc(this,t,e))},Ey.hd=function(t,e){return this.ci(hc(t),nc(this,t,e))},Ey.Wa=function(t){return this.ii(hc(t))},Ey.Od=function(t,e){return JSON.stringify(this.md(t,e))},Ey.ec=function(t,e){return JSON.stringify(this.Se(t,e))},Ey.od=function(t,e){return JSON.stringify(this.Te(t,e))},i(cc,Ae),(Ey=cc.prototype).Dj=function(t){this.B?_(this.B,t):this.B=t.slice(),this.s()},Ey.clone=function(){var t=new cc(null);return t.da(this.ka,this.B.slice()),t},Ey.Ab=function(t,e,o,i){return i<Pt(this.G(),t,e)?i:(this.A!=this.g&&(this.C=Math.sqrt(Ie(this.B,0,this.B.length,this.a,0)),this.A=this.g),ke(this.B,0,this.B.length,this.a,this.C,!1,t,e,o,i))},Ey.Sj=function(t,e){return Je(this.B,0,this.B.length,this.a,t,e)},Ey.pm=function(t,e){return"XYM"!=this.ka&&"XYZM"!=this.ka?null:uc(this.B,0,this.B.length,this.a,t,void 0!==e&&e)},Ey.$=function(){return Ge(this.B,0,this.B.length,this.a)},Ey.Kg=function(t,e){return lc(this.B,0,this.B.length,this.a,t,e)},Ey.qm=function(){for(var t=this.B,e=this.a,o=t[0],i=t[1],r=0,n=0+e;n<this.B.length;n+=e)var s=t[n],p=t[n+1],r=r+Math.sqrt((s-o)*(s-o)+(p-i)*(p-i)),o=s,i=p;return r},Ey.$c=function(t){var e=[];return e.length=Xe(this.B,0,this.B.length,this.a,t,e,0),(t=new cc(null)).da("XY",e),t},Ey.Y=function(){return"LineString"},Ey.Ta=function(t){return _e(this.B,0,this.B.length,this.a,t)},Ey.qa=function(t,e){t?(je(this,e,t,1),this.B||(this.B=[]),this.B.length=Be(this.B,0,t,this.a),this.s()):this.da("XY",null)},Ey.da=function(t,e){Ce(this,t,e),this.s()},i(fc,Ae),(Ey=fc.prototype).Ej=function(t){this.B?_(this.B,t.ia().slice()):this.B=t.ia().slice(),this.c.push(this.B.length),this.s()},Ey.clone=function(){var t=new fc(null);return t.da(this.ka,this.B.slice(),this.c.slice()),t},Ey.Ab=function(t,e,o,i){return i<Pt(this.G(),t,e)?i:(this.l!=this.g&&(this.A=Math.sqrt(Fe(this.B,0,this.c,this.a,0)),this.l=this.g),Oe(this.B,0,this.c,this.a,this.A,!1,t,e,o,i))},Ey.sm=function(t,e,o){return"XYM"!=this.ka&&"XYZM"!=this.ka||0===this.B.length?null:function(t,e,o,i,r,n){var s=0;if(n)return uc(t,s,e[e.length-1],o,i,r);if(i<t[o-1])return r?((t=t.slice(0,o))[o-1]=i,t):null;if(t[t.length-1]<i)return r?((t=t.slice(t.length-o))[o-1]=i,t):null;for(r=0,n=e.length;r<n;++r){var p=e[r];if(s!=p){if(i<t[s+o-1])break;if(i<=t[p-1])return uc(t,s,p,o,i,!1);s=p}}return null}(this.B,this.c,this.a,t,void 0!==e&&e,void 0!==o&&o)},Ey.$=function(){return Ke(this.B,0,this.c,this.a)},Ey.Kb=function(){return this.c},Ey.mk=function(t){if(t<0||this.c.length<=t)return null;var e=new cc(null);return e.da(this.ka,this.B.slice(0===t?0:this.c[t-1],this.c[t])),e},Ey.Yc=function(){for(var t=this.B,e=this.c,o=this.ka,i=[],r=0,n=0,s=e.length;n<s;++n){var p=e[n],a=new cc(null);a.da(o,t.slice(r,p)),i.push(a),r=p}return i},Ey.$c=function(t){for(var e=[],o=[],i=this.B,r=this.c,n=this.a,s=0,p=0,a=0,h=r.length;a<h;++a){var l=r[a],p=Xe(i,s,l,n,t,e,p);o.push(p),s=l}return e.length=p,(t=new fc(null)).da("XY",e,o),t},Ey.Y=function(){return"MultiLineString"},Ey.Ta=function(t){t:{for(var e=this.B,o=this.c,i=this.a,r=0,n=0,s=o.length;n<s;++n){if(_e(e,r,o[n],i,t)){t=!0;break t}r=o[n]}t=!1}return t},Ey.qa=function(t,e){t?(je(this,e,t,2),this.B||(this.B=[]),t=Ue(this.B,0,t,this.a,this.c),this.B.length=0===t.length?0:t[t.length-1],this.s()):this.da("XY",null,this.c)},Ey.da=function(t,e,o){Ce(this,t,e),this.c=o,this.s()},i(vc,Ae),(Ey=vc.prototype).Gj=function(t){this.B?_(this.B,t.ia()):this.B=t.ia().slice(),this.s()},Ey.clone=function(){var t=new vc(null);return t.da(this.ka,this.B.slice()),t},Ey.Ab=function(t,e,o,i){if(i<Pt(this.G(),t,e))return i;for(var r,n=this.B,s=this.a,p=0,a=n.length;p<a;p+=s)if((r=f(t,e,n[p],n[p+1]))<i){for(i=r,r=0;r<s;++r)o[r]=n[p+r];o.length=s}return i},Ey.$=function(){return Ge(this.B,0,this.B.length,this.a)},Ey.yk=function(t){var e=this.B?this.B.length/this.a:0;return t<0||e<=t?null:((e=new He(null)).da(this.ka,this.B.slice(t*this.a,(t+1)*this.a)),e)},Ey.re=function(){for(var t=this.B,e=this.ka,o=this.a,i=[],r=0,n=t.length;r<n;r+=o){var s=new He(null);s.da(e,t.slice(r,r+o)),i.push(s)}return i},Ey.Y=function(){return"MultiPoint"},Ey.Ta=function(t){for(var e=this.B,o=this.a,i=0,r=e.length;i<r;i+=o)if(Et(t,e[i],e[i+1]))return!0;return!1},Ey.qa=function(t,e){t?(je(this,e,t,1),this.B||(this.B=[]),this.B.length=Be(this.B,0,t,this.a),this.s()):this.da("XY",null)},Ey.da=function(t,e){Ce(this,t,e),this.s()},i(bc,Ae),(Ey=bc.prototype).Hj=function(t){if(this.B){var e,o,i=this.B.length;for(_(this.B,t.ia()),e=0,o=(t=t.Kb().slice()).length;e<o;++e)t[e]+=i}else this.B=t.ia().slice(),t=t.Kb().slice(),this.c.push();this.c.push(t),this.s()},Ey.clone=function(){for(var t=new bc(null),e=this.c.length,o=Array(e),i=0;i<e;++i)o[i]=this.c[i].slice();return xc(t,this.ka,this.B.slice(),o),t},Ey.Ab=function(t,e,o,i){if(i<Pt(this.G(),t,e))return i;if(this.D!=this.g){for(var r=this.c,n=0,s=0,p=0,a=r.length;p<a;++p)var h=r[p],s=Fe(this.B,n,h,this.a,s),n=h[h.length-1];this.L=Math.sqrt(s),this.D=this.g}r=wc(this),n=this.c,s=this.a,p=this.L;for(var h=[NaN,NaN],l=a=0,u=n.length;l<u;++l){var c=n[l];i=Oe(r,a,c,s,p,!0,t,e,o,i,h),a=c[c.length-1]}return i},Ey.Hc=function(t,e){var o;t:{o=wc(this);var i=this.c,r=this.a,n=0;if(0!==i.length)for(var s=0,p=i.length;s<p;++s){var a=i[s];if(Ze(o,n,a,r,t,e)){o=!0;break t}n=a[a.length-1]}o=!1}return o},Ey.tm=function(){for(var t=wc(this),e=this.c,o=0,i=0,r=0,n=e.length;r<n;++r)var s=e[r],i=i+Re(t,o,s,this.a),o=s[s.length-1];return i},Ey.$=function(t){var e;void 0!==t?oo(e=wc(this).slice(),this.c,this.a,t):e=this.B,t=e,e=this.c;for(var o=this.a,i=0,r=[],n=0,s=0,p=e.length;s<p;++s){var a=e[s];r[n++]=Ke(t,i,a,o,r[n]),i=a[a.length-1]}return r.length=n,r},Ey.jk=function(){var t=new vc(null);return t.da("XY",mc(this).slice()),t},Ey.$c=function(t){var e=[],o=[],i=this.B,r=this.c,n=this.a;t=Math.sqrt(t);for(var s=0,p=0,a=0,h=r.length;a<h;++a){var l=r[a],u=[],p=Ve(i,s,l,n,t,e,p,u);o.push(u),s=l[l.length-1]}return e.length=p,xc(i=new bc(null),"XY",e,o),i},Ey.zk=function(t){if(t<0||this.c.length<=t)return null;var e=0===t?0:(e=this.c[t-1])[e.length-1],o=(t=this.c[t].slice())[t.length-1];if(0!==e)for(var i=0,r=t.length;i<r;++i)t[i]-=e;return(i=new io(null)).da(this.ka,this.B.slice(e,o),t),i},Ey.Ad=function(){for(var t,e,o=this.ka,i=this.B,r=this.c,n=[],s=0,p=0,a=r.length;p<a;++p){var h=r[p].slice(),l=h[h.length-1];if(0!==s)for(t=0,e=h.length;t<e;++t)h[t]-=s;(t=new io(null)).da(o,i.slice(s,l),h),n.push(t),s=l}return n},Ey.Y=function(){return"MultiPolygon"},Ey.Ta=function(t){t:{for(var e=wc(this),o=this.c,i=this.a,r=0,n=0,s=o.length;n<s;++n){var p=o[n];if($e(e,r,p,i,t)){t=!0;break t}r=p[p.length-1]}t=!1}return t},Ey.qa=function(t,e){if(t){je(this,e,t,3),this.B||(this.B=[]);for(var o=this.B,i=this.a,r=0,n=(n=this.c)||[],s=0,p=0,a=t.length;p<a;++p)r=Ue(o,r,t[p],i,n[s]),r=(n[s++]=r)[r.length-1];n.length=s,0===n.length?this.B.length=0:(o=n[n.length-1],this.B.length=0===o.length?0:o[o.length-1]),this.s()}else xc(this,"XY",null,this.c)},i(Mc,ac);var Ec={Point:function(t){return void 0!==t.m&&void 0!==t.z?new He([t.x,t.y,t.z,t.m],"XYZM"):void 0!==t.z?new He([t.x,t.y,t.z],"XYZ"):void 0!==t.m?new He([t.x,t.y,t.m],"XYM"):new He([t.x,t.y])},LineString:function(t){return new cc(t.paths[0],Tc(t))},Polygon:function(t){return new io(t.rings,Tc(t))},MultiPoint:function(t){return new vc(t.points,Tc(t))},MultiLineString:function(t){return new fc(t.paths,Tc(t))},MultiPolygon:function(t){return new bc(t.rings,Tc(t))}},Cc={Point:function(t){var e,o=t.$();return"XYZ"===(t=t.ka)?e={x:o[0],y:o[1],z:o[2]}:"XYM"===t?e={x:o[0],y:o[1],m:o[2]}:"XYZM"===t?e={x:o[0],y:o[1],z:o[2],m:o[3]}:"XY"===t?e={x:o[0],y:o[1]}:O(!1,34),e},LineString:function(t){var e=Ac(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:[t.$()]}},Polygon:function(t){var e=Ac(t);return{hasZ:e.hasZ,hasM:e.hasM,rings:t.$(!1)}},MultiPoint:function(t){var e=Ac(t);return{hasZ:e.hasZ,hasM:e.hasM,points:t.$()}},MultiLineString:function(t){var e=Ac(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:t.$()}},MultiPolygon:function(t){var e=Ac(t);t=t.$(!1);for(var o=[],i=0;i<t.length;i++)for(var r=t[i].length-1;0<=r;r--)o.push(t[i][r]);return{hasZ:e.hasZ,hasM:e.hasM,rings:o}}};function jc(t,e){return(0,Cc[t.Y()])(pc(t,!0,e),e)}function Lc(t){this.Nb=t}function Rc(t){this.Nb=t}function Nc(t,e,o){this.Nb=t,this.b=e,this.a=o}function Ic(t,e){Nc.call(this,"And",t,e)}function Fc(t,e,o){this.Nb="BBOX",this.geometryName=t,this.extent=e,this.srsName=o}function kc(t,e){this.Nb=t,this.b=e}function Oc(t,e,o,i){kc.call(this,t,e),this.g=o,this.a=i}function Dc(t,e,o){Oc.call(this,"PropertyIsEqualTo",t,e,o)}function Bc(t,e){Oc.call(this,"PropertyIsGreaterThan",t,e)}function Uc(t,e){Oc.call(this,"PropertyIsGreaterThanOrEqualTo",t,e)}function Gc(t,e,o,i){this.Nb=t,this.geometryName=e||"the_geom",this.geometry=o,this.srsName=i}function Kc(t,e,o){Gc.call(this,"Intersects",t,e,o)}function Xc(t,e,o){kc.call(this,"PropertyIsBetween",t),this.a=e,this.g=o}function Vc(t,e,o,i,r,n){kc.call(this,"PropertyIsLike",t),this.f=e,this.i=void 0!==o?o:"*",this.c=void 0!==i?i:".",this.g=void 0!==r?r:"!",this.a=n}function Wc(t){kc.call(this,"PropertyIsNull",t)}function zc(t,e){Oc.call(this,"PropertyIsLessThan",t,e)}function Hc(t,e){Oc.call(this,"PropertyIsLessThanOrEqualTo",t,e)}function Yc(t){this.Nb="Not",this.condition=t}function Zc(t,e,o){Oc.call(this,"PropertyIsNotEqualTo",t,e,o)}function qc(t,e){Nc.call(this,"Or",t,e)}function Jc(t,e,o){Gc.call(this,"Within",t,e,o)}function _c(t,e){return new Ic(t,e)}function $c(t,e,o){return new Fc(t,e,o)}function Qc(t){Me.call(this),this.f=t||null,oy(this)}function ty(t){for(var e=[],o=0,i=t.length;o<i;++o)e.push(t[o].clone());return e}function ey(t){var e,o;if(t.f)for(e=0,o=t.f.length;e<o;++e)A(t.f[e],"change",t.s,t)}function oy(t){var e,o;if(t.f)for(e=0,o=t.f.length;e<o;++e)P(t.f[e],"change",t.s,t)}function iy(t){t=t||{},rc.call(this),this.defaultDataProjection=ge(t.defaultDataProjection||"EPSG:4326"),t.featureProjection&&(this.j=ge(t.featureProjection)),this.b=t.geometryName}function ry(t,e){return t?pc((0,sy[t.type])(t),!1,e):null}function ny(t,e){return(0,py[t.Y()])(pc(t,!0,e),e)}(Ey=Mc.prototype).gd=function(t,e){var o=Pc(t.geometry,e),i=new Fu;return this.b&&i.Nc(this.b),i.Pa(o),e&&e.zf&&t.attributes[e.zf]&&i.cc(t.attributes[e.zf]),t.attributes&&i.I(t.attributes),i},Ey.Sf=function(t,e){var o=e||{};if(t.features){var i,r,n=[],s=t.features;for(o.zf=t.objectIdFieldName,i=0,r=s.length;i<r;++i)n.push(this.gd(s[i],o));return n}return[this.gd(t,o)]},Ey.ci=Pc,Ey.ii=function(t){return t.spatialReference&&t.spatialReference.wkid?ge("EPSG:"+t.spatialReference.wkid):null},Ey.Te=function(t,e){return jc(t,sc(this,e))},Ey.md=function(t,e){e=sc(this,e);var o={},i=t.V();return i&&(o.geometry=jc(i,e)),delete(i=t.R())[t.a],o.attributes=U(i)?{}:i,e&&e.featureProjection&&(o.spatialReference={wkid:ge(e.featureProjection).hb.split(":").pop()}),o},Ey.Se=function(t,e){e=sc(this,e);for(var o=[],i=0,r=t.length;i<r;++i)o.push(this.md(t[i],e));return{features:o}},i(Rc,Lc),i(Nc,Rc),i(Ic,Nc),i(Fc,Lc),i(kc,Lc),i(Oc,kc),i(Dc,Oc),i(Bc,Oc),i(Uc,Oc),i(Gc,Lc),i(Kc,Gc),i(Xc,kc),i(Vc,kc),i(Wc,kc),i(zc,Oc),i(Hc,Oc),i(Yc,Rc),i(Zc,Oc),i(qc,Nc),i(Jc,Gc),i(Qc,Me),(Ey=Qc.prototype).clone=function(){var t=new Qc(null);return t.ti(this.f),t},Ey.Ab=function(t,e,o,i){if(i<Pt(this.G(),t,e))return i;for(var r=this.f,n=0,s=r.length;n<s;++n)i=r[n].Ab(t,e,o,i);return i},Ey.Hc=function(t,e){for(var o=this.f,i=0,r=o.length;i<r;++i)if(o[i].Hc(t,e))return!0;return!1},Ey.Yd=function(t){Lt(1/0,1/0,-1/0,-1/0,t);for(var e=this.f,o=0,i=e.length;o<i;++o)Ft(t,e[o].G());return t},Ey.pf=function(){return ty(this.f)},Ey.Bd=function(t){if(this.o!=this.g&&(l(this.i),this.j=0,this.o=this.g),t<0||0!==this.j&&t<this.j)return this;var e=t.toString();if(this.i.hasOwnProperty(e))return this.i[e];for(var o=[],i=this.f,r=!1,n=0,s=i.length;n<s;++n){var p=i[n],a=p.Bd(t);o.push(a),a!==p&&(r=!0)}return r?(ey(t=new Qc(null)),t.f=o,oy(t),t.s(),this.i[e]=t):(this.j=t,this)},Ey.Y=function(){return"GeometryCollection"},Ey.Ta=function(t){for(var e=this.f,o=0,i=e.length;o<i;++o)if(e[o].Ta(t))return!0;return!1},Ey.rotate=function(t,e){for(var o=this.f,i=0,r=o.length;i<r;++i)o[i].rotate(t,e);this.s()},Ey.scale=function(t,e,o){o=o||Kt(this.G());for(var i=this.f,r=0,n=i.length;r<n;++r)i[r].scale(t,e,o);this.s()},Ey.ti=function(t){t=ty(t),ey(this),this.f=t,oy(this),this.s()},Ey.sc=function(t){for(var e=this.f,o=0,i=e.length;o<i;++o)e[o].sc(t);this.s()},Ey.translate=function(t,e){for(var o=this.f,i=0,r=o.length;i<r;++i)o[i].translate(t,e);this.s()},Ey.oa=function(){ey(this),Me.prototype.oa.call(this)},i(iy,ac);var sy={Point:function(t){return new He(t.coordinates)},LineString:function(t){return new cc(t.coordinates)},Polygon:function(t){return new io(t.coordinates)},MultiPoint:function(t){return new vc(t.coordinates)},MultiLineString:function(t){return new fc(t.coordinates)},MultiPolygon:function(t){return new bc(t.coordinates)},GeometryCollection:function(t,e){return new Qc(t.geometries.map(function(t){return ry(t,e)}))}},py={Point:function(t){return{type:"Point",coordinates:t.$()}},LineString:function(t){return{type:"LineString",coordinates:t.$()}},Polygon:function(t,e){var o;return e&&(o=e.rightHanded),{type:"Polygon",coordinates:t.$(o)}},MultiPoint:function(t){return{type:"MultiPoint",coordinates:t.$()}},MultiLineString:function(t){return{type:"MultiLineString",coordinates:t.$()}},MultiPolygon:function(t,e){var o;return e&&(o=e.rightHanded),{type:"MultiPolygon",coordinates:t.$(o)}},GeometryCollection:function(t,o){return{type:"GeometryCollection",geometries:t.f.map(function(t){var e=L({},o);return delete e.featureProjection,ny(t,e)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};function ay(){this.f=new XMLSerializer,rc.call(this)}function hy(t,e,o){return 0<(t=ly(t,e,o)).length?t[0]:null}function ly(t,e,o){var i=[];for(e=e.firstChild;e;e=e.nextSibling)e.nodeType==Node.ELEMENT_NODE&&_(i,t.oc(e,o));return i}function uy(t){t=t||{},this.featureType=t.featureType,this.featureNS=t.featureNS,this.srsName=t.srsName,this.schemaLocation="",this.b={},this.b["http://www.opengis.net/gml"]={featureMember:Vu(uy.prototype.Id),featureMembers:Vu(uy.prototype.Id)},ay.call(this)}(Ey=iy.prototype).gd=function(t,e){var o="Feature"===t.type?t:{type:"Feature",geometry:t},t=ry(o.geometry,e),e=new Fu;return this.b&&e.Nc(this.b),e.Pa(t),void 0!==o.id&&e.cc(o.id),o.properties&&e.I(o.properties),e},Ey.Sf=function(t,e){var o;if("FeatureCollection"===t.type){o=[];for(var i=t.features,r=0,n=i.length;r<n;++r)o.push(this.gd(i[r],e))}else o=[this.gd(t,e)];return o},Ey.ci=ry,Ey.ii=function(t){var e;return(t=t.crs)?"name"==t.type?e=ge(t.properties.name):"EPSG"==t.type?e=ge("EPSG:"+t.properties.code):O(!1,36):e=this.defaultDataProjection,e},Ey.md=function(t,e){e=sc(this,e);var o={type:"Feature"},i=t.f;return void 0!==i&&(o.id=i),(i=t.V())?o.geometry=ny(i,e):o.geometry=null,delete(i=t.R())[t.a],U(i)?o.properties=null:o.properties=i,o},Ey.Se=function(t,e){e=sc(this,e);for(var o=[],i=0,r=t.length;i<r;++i)o.push(this.md(t[i],e));return{type:"FeatureCollection",features:o}},Ey.Te=function(t,e){return ny(t,sc(this,e))},i(ay,rc),(Ey=ay.prototype).Y=function(){return"xml"},Ey.bc=function(t,e){return Bu(t)?hy(this,t,e):Uu(t)?this.ai(t,e):"string"!=typeof t?null:hy(this,Gu(t),e)},Ey.La=function(t,e){return Bu(t)?ly(this,t,e):Uu(t)?this.oc(t,e):"string"!=typeof t?[]:ly(this,Gu(t),e)},Ey.hd=function(t,e){if(Bu(t))return this.u(t,e);if(Uu(t)){var o=this.Ee(t,[nc(this,t,e||{})]);return o||null}return"string"==typeof t?(o=Gu(t),this.u(o,e)):null},Ey.Wa=function(t){return Bu(t)?this.Xf(t):Uu(t)?this.He(t):"string"==typeof t?(t=Gu(t),this.Xf(t)):null},Ey.Xf=function(){return this.defaultDataProjection},Ey.He=function(){return this.defaultDataProjection},Ey.Od=function(t,e){e=this.C(t,e);return this.f.serializeToString(e)},Ey.ec=function(t,e){e=this.a(t,e);return this.f.serializeToString(e)},Ey.od=function(t,e){e=this.H(t,e);return this.f.serializeToString(e)},i(uy,ay);var cy=/^[\s\xa0]*$/;function yy(t){return fy(t=Du(t,!1))}function fy(t){if(t=/^\s*(true|1)|(false|0)\s*$/.exec(t))return void 0!==t[1]||!1}function gy(t){return t=Du(t,!1),t=Date.parse(t),isNaN(t)?void 0:t/1e3}function dy(t){return vy(t=Du(t,!1))}function vy(t){if(t=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(t))return parseFloat(t[1])}function by(t){return my(t=Du(t,!1))}function my(t){if(t=/^\s*(\d+)\s*$/.exec(t))return parseInt(t[1],10)}function wy(t){return Du(t,!1).trim()}function xy(t,e){Py(t,e?"1":"0")}function Sy(t,e){t.appendChild(ku.createTextNode(e.toPrecision()))}function My(t,e){t.appendChild(ku.createTextNode(e.toString()))}function Py(t,e){t.appendChild(ku.createTextNode(e))}function Ty(t){uy.call(this,t=t||{}),this.v=void 0!==t.surface&&t.surface,this.i=void 0!==t.curve&&t.curve,this.l=void 0===t.multiCurve||t.multiCurve,this.o=void 0===t.multiSurface||t.multiSurface,this.schemaLocation=t.schemaLocation||"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}function Ay(t,e,o){o=o[o.length-1].srsName;for(var i,r=(e=e.$()).length,n=Array(r),s=0;s<r;++s){i=e[s];var p=s,a="enu";o&&(a=ge(o).b),n[p]="en"===a.substr(0,2)?i[0]+" "+i[1]:i[1]+" "+i[0]}Py(t,n.join(" "))}(Ey=uy.prototype).Id=function(t,e){var o=t.localName,i=null;if("FeatureCollection"==o)i="http://www.opengis.net/wfs"===t.namespaceURI?Qu([],this.b,t,e,this):Qu(null,this.b,t,e,this);else if("featureMembers"==o||"featureMember"==o){var r,n,s=(f=e[0]).featureType,p=f.featureNS;if(!s&&t.childNodes){for(s=[],p={},r=0,n=t.childNodes.length;r<n;++r)if(1===(c=t.childNodes[r]).nodeType){var a=c.nodeName.split(":").pop();if(-1===s.indexOf(a)){var h,l="",u=0,c=c.namespaceURI;for(h in p){if(p[h]===c){l=h;break}++u}l||(p[l="p"+u]=c),s.push(l+":"+a)}}"featureMember"!=o&&(f.featureType=s,f.featureNS=p)}"string"==typeof p&&(r=p,(p={}).p0=r);var y,f={},s=Array.isArray(s)?s:[s];for(y in p){for(a={},r=0,n=s.length;r<n;++r)(-1===s[r].indexOf(":")?"p0":s[r].split(":")[0])===y&&(a[s[r].split(":").pop()]=("featureMembers"==o?Xu:Vu)(this.Rf,this));f[p[y]]=a}i=Qu("featureMember"==o?void 0:[],f,t,e)}return null===i&&(i=[]),i},Ey.Ee=function(t,e){var o=e[0];o.srsName=t.firstElementChild.getAttribute("srsName");e=Qu(null,this.lg,t,e,this);if(e)return pc(e,!1,o)},Ey.Rf=function(t,e){var o;(o=t.getAttribute("fid"))||(o=t.getAttributeNS("http://www.opengis.net/gml","id")||"");for(var i,r={},n=t.firstElementChild;n;n=n.nextElementSibling){var s,p=n.localName;0===n.childNodes.length||1===n.childNodes.length&&(3===n.firstChild.nodeType||4===n.firstChild.nodeType)?(s=Du(n,!1),cy.test(s)&&(s=void 0),r[p]=s):("boundedBy"!==p&&(i=p),r[p]=this.Ee(n,e))}return n=new Fu(r),i&&n.Nc(i),o&&n.cc(o),n},Ey.hi=function(t,e){t=this.De(t,e);if(t){e=new He(null);return e.da("XYZ",t),e}},Ey.fi=function(t,e){e=Qu([],this.cj,t,e,this);if(e)return new vc(e)},Ey.ei=function(t,e){t=Qu([],this.bj,t,e,this);if(t){e=new fc(null);return dc(e,t),e}},Ey.gi=function(t,e){t=Qu([],this.dj,t,e,this);if(t){e=new bc(null);return Sc(e,t),e}},Ey.Yh=function(t,e){$u(this.gj,t,e,this)},Ey.dh=function(t,e){$u(this.$i,t,e,this)},Ey.Zh=function(t,e){$u(this.hj,t,e,this)},Ey.Fe=function(t,e){t=this.De(t,e);if(t){e=new cc(null);return e.da("XYZ",t),e}},Ey.Do=function(t,e){e=Qu(null,this.Qd,t,e,this);if(e)return e},Ey.di=function(t,e){t=this.De(t,e);if(t){e=new We(null);return ze(e,"XYZ",t),e}},Ey.Ge=function(t,e){var o=Qu([null],this.We,t,e,this);if(o&&o[0]){for(var e=new io(null),i=o[0],r=[i.length],n=1,s=o.length;n<s;++n)_(i,o[n]),r.push(i.length);return e.da("XYZ",i,r),e}},Ey.De=function(t,e){return Qu(null,this.Qd,t,e,this)},Ey.cj={"http://www.opengis.net/gml":{pointMember:Xu(uy.prototype.Yh),pointMembers:Xu(uy.prototype.Yh)}},Ey.bj={"http://www.opengis.net/gml":{lineStringMember:Xu(uy.prototype.dh),lineStringMembers:Xu(uy.prototype.dh)}},Ey.dj={"http://www.opengis.net/gml":{polygonMember:Xu(uy.prototype.Zh),polygonMembers:Xu(uy.prototype.Zh)}},Ey.gj={"http://www.opengis.net/gml":{Point:Xu(uy.prototype.De)}},Ey.$i={"http://www.opengis.net/gml":{LineString:Xu(uy.prototype.Fe)}},Ey.hj={"http://www.opengis.net/gml":{Polygon:Xu(uy.prototype.Ge)}},Ey.Rd={"http://www.opengis.net/gml":{LinearRing:Vu(uy.prototype.Do)}},Ey.oc=function(t,e){var o={featureType:this.featureType,featureNS:this.featureNS};return e&&L(o,nc(this,t,e)),this.Id(t,[o])||[]},Ey.He=function(t){return ge(this.srsName||t.firstElementChild.getAttribute("srsName"))},i(Ty,uy),(Ey=Ty.prototype).Ho=function(t,e){t=Qu([],this.aj,t,e,this);if(t){e=new fc(null);return dc(e,t),e}},Ey.Io=function(t,e){t=Qu([],this.ej,t,e,this);if(t){e=new bc(null);return Sc(e,t),e}},Ey.Cg=function(t,e){$u(this.Xi,t,e,this)},Ey.Gi=function(t,e){$u(this.lj,t,e,this)},Ey.Lo=function(t,e){return Qu([null],this.fj,t,e,this)},Ey.Oo=function(t,e){return Qu([null],this.kj,t,e,this)},Ey.Mo=function(t,e){return Qu([null],this.We,t,e,this)},Ey.Go=function(t,e){return Qu([null],this.Qd,t,e,this)},Ey.ql=function(t,e){t=Qu(void 0,this.Rd,t,e,this);t&&e[e.length-1].push(t)},Ey.Oj=function(t,e){t=Qu(void 0,this.Rd,t,e,this);t&&(e[e.length-1][0]=t)},Ey.ji=function(t,e){var o=Qu([null],this.mj,t,e,this);if(o&&o[0]){for(var e=new io(null),i=o[0],r=[i.length],n=1,s=o.length;n<s;++n)_(i,o[n]),r.push(i.length);return e.da("XYZ",i,r),e}},Ey.$h=function(t,e){t=Qu([null],this.Yi,t,e,this);if(t){e=new cc(null);return e.da("XYZ",t),e}},Ey.Co=function(t,e){e=Qu([null],this.Zi,t,e,this);return Lt(e[1][0],e[1][1],e[2][0],e[2][1])},Ey.Eo=function(t,e){for(var o,i=Du(t,!1),r=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,n=[];o=r.exec(i);)n.push(parseFloat(o[1])),i=i.substr(o[0].length);if(""===i){if(r="enu",(i=e[0].srsName)&&(r=ge(i).b),"neu"===r)for(i=0,r=n.length;i<r;i+=3)o=n[i],n[i]=n[i+1],n[i+1]=o;return 2==(i=n.length)&&n.push(0),0===i?void 0:n}},Ey.Vf=function(t,e){var o=Du(t,!1).replace(/^\s*|\s*$/g,""),i=e[0].srsName,r=t.parentNode.getAttribute("srsDimension"),n="enu";i&&(n=ge(i).b),o=o.split(/\s+/),i=2,t.getAttribute("srsDimension")?i=my(t.getAttribute("srsDimension")):t.getAttribute("dimension")?i=my(t.getAttribute("dimension")):r&&(i=my(r));for(var s,p,a=[],h=0,l=o.length;h<l;h+=i)r=parseFloat(o[h]),s=parseFloat(o[h+1]),p=3===i?parseFloat(o[h+2]):0,"en"===n.substr(0,2)?a.push(r,s,p):a.push(s,r,p);return a},Ey.Qd={"http://www.opengis.net/gml":{pos:Vu(Ty.prototype.Eo),posList:Vu(Ty.prototype.Vf)}},Ey.We={"http://www.opengis.net/gml":{interior:Ty.prototype.ql,exterior:Ty.prototype.Oj}},Ey.lg={"http://www.opengis.net/gml":{Point:Vu(uy.prototype.hi),MultiPoint:Vu(uy.prototype.fi),LineString:Vu(uy.prototype.Fe),MultiLineString:Vu(uy.prototype.ei),LinearRing:Vu(uy.prototype.di),Polygon:Vu(uy.prototype.Ge),MultiPolygon:Vu(uy.prototype.gi),Surface:Vu(Ty.prototype.ji),MultiSurface:Vu(Ty.prototype.Io),Curve:Vu(Ty.prototype.$h),MultiCurve:Vu(Ty.prototype.Ho),Envelope:Vu(Ty.prototype.Co)}},Ey.aj={"http://www.opengis.net/gml":{curveMember:Xu(Ty.prototype.Cg),curveMembers:Xu(Ty.prototype.Cg)}},Ey.ej={"http://www.opengis.net/gml":{surfaceMember:Xu(Ty.prototype.Gi),surfaceMembers:Xu(Ty.prototype.Gi)}},Ey.Xi={"http://www.opengis.net/gml":{LineString:Xu(uy.prototype.Fe),Curve:Xu(Ty.prototype.$h)}},Ey.lj={"http://www.opengis.net/gml":{Polygon:Xu(uy.prototype.Ge),Surface:Xu(Ty.prototype.ji)}},Ey.mj={"http://www.opengis.net/gml":{patches:Vu(Ty.prototype.Lo)}},Ey.Yi={"http://www.opengis.net/gml":{segments:Vu(Ty.prototype.Oo)}},Ey.Zi={"http://www.opengis.net/gml":{lowerCorner:Xu(Ty.prototype.Vf),upperCorner:Xu(Ty.prototype.Vf)}},Ey.fj={"http://www.opengis.net/gml":{PolygonPatch:Vu(Ty.prototype.Mo)}},Ey.kj={"http://www.opengis.net/gml":{LineStringSegment:Vu(Ty.prototype.Go)}},Ey.Ti=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),i=Ou(t.namespaceURI,"pos"),t.appendChild(i),t="enu",(o=o[o.length-1].srsName)&&(t=ge(o).b),e=e.$(),Py(i,"en"===t.substr(0,2)?e[0]+" "+e[1]:e[1]+" "+e[0])};var Ey,Cy={"http://www.opengis.net/gml":{lowerCorner:Hu(Py),upperCorner:Hu(Py)}};(Ey=Ty.prototype).zp=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),ec({node:t},Cy,qu,[e[0]+" "+e[1],e[2]+" "+e[3]],o,["lowerCorner","upperCorner"],this)},Ey.Qi=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),i=Ou(t.namespaceURI,"posList"),t.appendChild(i),Ay(i,e,o)},Ey.jj=function(t,e){var o=e[e.length-1],i=o.node,e=o.exteriorWritten;return void 0===e&&(o.exteriorWritten=!0),Ou(i.namespaceURI,void 0!==e?"interior":"exterior")},Ey.Ue=function(t,e,o){var i=o[o.length-1].srsName;"PolygonPatch"!==t.nodeName&&i&&t.setAttribute("srsName",i),"Polygon"===t.nodeName||"PolygonPatch"===t.nodeName?(e=e.Zc(),ec({node:t,srsName:i},Ny,this.jj,e,o,void 0,this)):"Surface"===t.nodeName&&(i=Ou(t.namespaceURI,"patches"),t.appendChild(i),t=Ou(i.namespaceURI,"PolygonPatch"),i.appendChild(t),this.Ue(t,e,o))},Ey.Qe=function(t,e,o){var i=o[o.length-1].srsName;"LineStringSegment"!==t.nodeName&&i&&t.setAttribute("srsName",i),"LineString"===t.nodeName||"LineStringSegment"===t.nodeName?(i=Ou(t.namespaceURI,"posList"),t.appendChild(i),Ay(i,e,o)):"Curve"===t.nodeName&&(i=Ou(t.namespaceURI,"segments"),t.appendChild(i),t=Ou(i.namespaceURI,"LineStringSegment"),i.appendChild(t),this.Qe(t,e,o))},Ey.Si=function(t,e,o){var i=(r=o[o.length-1]).srsName,r=r.surface;i&&t.setAttribute("srsName",i),e=e.Ad(),ec({node:t,srsName:i,surface:r},jy,this.c,e,o,void 0,this)},Ey.Ap=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),e=e.re(),ec({node:t,srsName:i},Ly,Zu("pointMember"),e,o,void 0,this)},Ey.Ri=function(t,e,o){var i=(r=o[o.length-1]).srsName,r=r.curve;i&&t.setAttribute("srsName",i),e=e.Yc(),ec({node:t,srsName:i,curve:r},Ry,this.c,e,o,void 0,this)},Ey.Ui=function(t,e,o){var i=Ou(t.namespaceURI,"LinearRing");t.appendChild(i),this.Qi(i,e,o)},Ey.Vi=function(t,e,o){var i=this.g(e,o);i&&(t.appendChild(i),this.Ue(i,e,o))},Ey.Bp=function(t,e,o){var i=Ou(t.namespaceURI,"Point");t.appendChild(i),this.Ti(i,e,o)},Ey.Pi=function(t,e,o){var i=this.g(e,o);i&&(t.appendChild(i),this.Qe(i,e,o))},Ey.pd=function(t,e,o){var i=o[o.length-1],r=L({},i);r.node=t,i=Array.isArray(e)?i.dataProjection?Se(e,i.featureProjection,i.dataProjection):e:pc(e,!0,i),ec(r,Iy,this.g,[i],o,void 0,this)},Ey.Ni=function(t,e,o){var i=e.f;i&&t.setAttribute("fid",i);var r=(i=o[o.length-1]).featureNS,n=e.a;i.Mc||(i.Mc={},i.Mc[r]={});var s=e.R();e=[];var p,a=[];for(p in s){var h=s[p];null!==h&&(e.push(p),a.push(h),p==n||h instanceof Me?p in i.Mc[r]||(i.Mc[r][p]=Hu(this.pd,this)):p in i.Mc[r]||(i.Mc[r][p]=Hu(Py)))}(p=L({},i)).node=t,ec(p,i.Mc,Zu(void 0,r),a,o,e)};var jy={"http://www.opengis.net/gml":{surfaceMember:Hu(Ty.prototype.Vi),polygonMember:Hu(Ty.prototype.Vi)}},Ly={"http://www.opengis.net/gml":{pointMember:Hu(Ty.prototype.Bp)}},Ry={"http://www.opengis.net/gml":{lineStringMember:Hu(Ty.prototype.Pi),curveMember:Hu(Ty.prototype.Pi)}},Ny={"http://www.opengis.net/gml":{exterior:Hu(Ty.prototype.Ui),interior:Hu(Ty.prototype.Ui)}},Iy={"http://www.opengis.net/gml":{Curve:Hu(Ty.prototype.Qe),MultiCurve:Hu(Ty.prototype.Ri),Point:Hu(Ty.prototype.Ti),MultiPoint:Hu(Ty.prototype.Ap),LineString:Hu(Ty.prototype.Qe),MultiLineString:Hu(Ty.prototype.Ri),LinearRing:Hu(Ty.prototype.Qi),Polygon:Hu(Ty.prototype.Ue),MultiPolygon:Hu(Ty.prototype.Si),Surface:Hu(Ty.prototype.Ue),MultiSurface:Hu(Ty.prototype.Si),Envelope:Hu(Ty.prototype.zp)}},Fy={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};function ky(t){uy.call(this,t=t||{}),this.b["http://www.opengis.net/gml"].featureMember=Xu(uy.prototype.Id),this.schemaLocation=t.schemaLocation||"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}function Oy(t){t=t||{},ay.call(this),this.defaultDataProjection=ge("EPSG:4326"),this.b=t.readExtensions}Ty.prototype.c=function(t,e){return Ou("http://www.opengis.net/gml",Fy[e[e.length-1].node.nodeName])},Ty.prototype.g=function(t,e){var o,i=(n=e[e.length-1]).multiSurface,r=n.surface,e=n.curve,n=n.multiCurve;return Array.isArray(t)?o="Envelope":"MultiPolygon"===(o=t.Y())&&!0===i?o="MultiSurface":"Polygon"===o&&!0===r?o="Surface":"LineString"===o&&!0===e?o="Curve":"MultiLineString"===o&&!0===n&&(o="MultiCurve"),Ou("http://www.opengis.net/gml",o)},Ty.prototype.H=function(t,e){e=sc(this,e);var o=Ou("http://www.opengis.net/gml","geom"),i={node:o,srsName:this.srsName,curve:this.i,surface:this.v,multiSurface:this.o,multiCurve:this.l};return e&&L(i,e),this.pd(o,t,[i]),o},Ty.prototype.a=function(t,e){e=sc(this,e);var o=Ou("http://www.opengis.net/gml","featureMembers");o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var i={srsName:this.srsName,curve:this.i,surface:this.v,multiSurface:this.o,multiCurve:this.l,featureNS:this.featureNS,featureType:this.featureType};e&&L(i,e);var r=(i=[i])[i.length-1],n=r.featureType,s=r.featureNS,e={};return e[s]={},e[s][n]=Hu(this.Ni,this),(r=L({},r)).node=o,ec(r,e,Zu(n,s),t,i),o},i(ky,uy),(Ey=ky.prototype).bi=function(t,e){var o=Du(t,!1).replace(/^\s*|\s*$/g,""),i=e[0].srsName,r=t.parentNode.getAttribute("srsDimension"),n="enu";(i=i&&ge(i))&&(n=i.b),o=o.split(/[\s,]+/),i=2,t.getAttribute("srsDimension")?i=my(t.getAttribute("srsDimension")):t.getAttribute("dimension")?i=my(t.getAttribute("dimension")):r&&(i=my(r));for(var s,p,a=[],h=0,l=o.length;h<l;h+=i)r=parseFloat(o[h]),s=parseFloat(o[h+1]),p=3===i?parseFloat(o[h+2]):0,"en"===n.substr(0,2)?a.push(r,s,p):a.push(s,r,p);return a},Ey.Ao=function(t,e){e=Qu([null],this.Wi,t,e,this);return Lt(e[1][0],e[1][1],e[1][3],e[1][4])},Ey.ol=function(t,e){t=Qu(void 0,this.Rd,t,e,this);t&&e[e.length-1].push(t)},Ey.jo=function(t,e){t=Qu(void 0,this.Rd,t,e,this);t&&(e[e.length-1][0]=t)},Ey.Qd={"http://www.opengis.net/gml":{coordinates:Vu(ky.prototype.bi)}},Ey.We={"http://www.opengis.net/gml":{innerBoundaryIs:ky.prototype.ol,outerBoundaryIs:ky.prototype.jo}},Ey.Wi={"http://www.opengis.net/gml":{coordinates:Xu(ky.prototype.bi)}},Ey.lg={"http://www.opengis.net/gml":{Point:Vu(uy.prototype.hi),MultiPoint:Vu(uy.prototype.fi),LineString:Vu(uy.prototype.Fe),MultiLineString:Vu(uy.prototype.ei),LinearRing:Vu(uy.prototype.di),Polygon:Vu(uy.prototype.Ge),MultiPolygon:Vu(uy.prototype.gi),Box:Vu(ky.prototype.Ao)}},i(Oy,ay);var Dy=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function By(t,e,o,i){return t.push(parseFloat(o.getAttribute("lon")),parseFloat(o.getAttribute("lat"))),"ele"in i?(t.push(i.ele),delete i.ele,e.hasZ=!0):t.push(0),"time"in i?(t.push(i.time),delete i.time,e.hasM=!0):t.push(0),t}function Uy(t,e,o){var i="XY",r=2;if(t.hasZ&&t.hasM?(i="XYZM",r=4):t.hasZ?(i="XYZ",r=3):t.hasM&&(i="XYM",r=3),4!==r){for(var n=0,s=e.length/4;n<s;n++)e[n*r]=e[4*n],e[n*r+1]=e[4*n+1],t.hasZ&&(e[n*r+2]=e[4*n+2]),t.hasM&&(e[n*r+2]=e[4*n+3]);if(e.length=e.length/4*r,o)for(n=0,s=o.length;n<s;n++)o[n]=o[n]/4*r}return i}function Gy(t,e){var o=e[e.length-1],i=t.getAttribute("href");null!==i&&(o.link=i),$u(Yy,t,e)}function Ky(t,e){e[e.length-1].extensionsNode_=t}function Xy(t,e){var o=e[0],i=Qu({flatCoordinates:[],layoutOptions:{}},Zy,t,e);if(i){var r=i.flatCoordinates;delete i.flatCoordinates;t=i.layoutOptions;delete i.layoutOptions;t=Uy(t,r),e=new cc(null);return e.da(t,r),pc(e,!1,o),(o=new Fu(e)).I(i),o}}function Vy(t,e){var o=e[0],i=Qu({flatCoordinates:[],ends:[],layoutOptions:{}},Jy,t,e);if(i){var r=i.flatCoordinates;delete i.flatCoordinates;var n=i.ends;delete i.ends;t=i.layoutOptions;delete i.layoutOptions;t=Uy(t,r,n),e=new fc(null);return e.da(t,r,n),pc(e,!1,o),(o=new Fu(e)).I(i),o}}function Wy(t,e){var o=e[0],i=Qu({},Qy,t,e);if(i){e={},t=By([],e,t,i);return pc(t=new He(t,e=Uy(e,t)),!1,o),(o=new Fu(t)).I(i),o}}var zy={rte:Xy,trk:Vy,wpt:Wy},Hy=_u(Dy,{rte:Xu(Xy),trk:Xu(Vy),wpt:Xu(Wy)}),Yy=_u(Dy,{text:zu(wy,"linkText"),type:zu(wy,"linkType")}),Zy=_u(Dy,{name:zu(wy),cmt:zu(wy),desc:zu(wy),src:zu(wy),link:Gy,number:zu(by),extensions:Ky,type:zu(wy),rtept:function(t,e){var o=Qu({},qy,t,e);o&&By((e=e[e.length-1]).flatCoordinates,e.layoutOptions,t,o)}}),qy=_u(Dy,{ele:zu(dy),time:zu(gy)}),Jy=_u(Dy,{name:zu(wy),cmt:zu(wy),desc:zu(wy),src:zu(wy),link:Gy,number:zu(by),type:zu(wy),extensions:Ky,trkseg:function(t,e){var o=e[e.length-1];$u(_y,t,e),o.ends.push(o.flatCoordinates.length)}}),_y=_u(Dy,{trkpt:function(t,e){var o=Qu({},$y,t,e);o&&By((e=e[e.length-1]).flatCoordinates,e.layoutOptions,t,o)}}),$y=_u(Dy,{ele:zu(dy),time:zu(gy)}),Qy=_u(Dy,{ele:zu(dy),time:zu(gy),magvar:zu(dy),geoidheight:zu(dy),name:zu(wy),cmt:zu(wy),desc:zu(wy),src:zu(wy),link:Gy,sym:zu(wy),type:zu(wy),fix:zu(wy),sat:zu(by),hdop:zu(dy),vdop:zu(dy),pdop:zu(dy),ageofdgpsdata:zu(dy),dgpsid:zu(by),extensions:Ky});function tf(t,e){for(var o=0,i=(e=e||[]).length;o<i;++o){var r,n=e[o];t.b&&(r=n.get("extensionsNode_")||null,t.b(n,r)),n.set("extensionsNode_",void 0)}}function ef(t,e,o){t.setAttribute("href",e),e=o[o.length-1].properties,ec({node:t},nf,qu,[e.linkText,e.linkType],o,rf)}function of(t,e,o){var i=o[o.length-1],r=i.node.namespaceURI,n=i.properties;switch(t.setAttributeNS(null,"lat",e[1]),t.setAttributeNS(null,"lon",e[0]),i.geometryLayout){case"XYZM":0!==e[3]&&(n.time=e[3]);case"XYZ":0!==e[2]&&(n.ele=e[2]);break;case"XYM":0!==e[2]&&(n.time=e[2])}i=Ju(n,e=("rtept"==t.nodeName?af:yf)[r]),ec({node:t,properties:n},ff,qu,i,o,e)}Oy.prototype.ai=function(t,e){if(!q(Dy,t.namespaceURI))return null;var o=zy[t.localName];return(o=o&&o(t,[nc(this,t,e)]))?(tf(this,[o]),o):null},Oy.prototype.oc=function(t,e){if(!q(Dy,t.namespaceURI))return[];if("gpx"==t.localName){e=Qu([],Hy,t,[nc(this,t,e)]);if(e)return tf(this,e),e}return[]};var rf=["text","type"],nf=_u(Dy,{text:Hu(Py),type:Hu(Py)}),sf=_u(Dy,"name cmt desc src link number type rtept".split(" ")),pf=_u(Dy,{name:Hu(Py),cmt:Hu(Py),desc:Hu(Py),src:Hu(Py),link:Hu(ef),number:Hu(My),type:Hu(Py),rtept:Yu(Hu(of))}),af=_u(Dy,["ele","time"]),hf=_u(Dy,"name cmt desc src link number type trkseg".split(" ")),lf=_u(Dy,{name:Hu(Py),cmt:Hu(Py),desc:Hu(Py),src:Hu(Py),link:Hu(ef),number:Hu(My),type:Hu(Py),trkseg:Yu(Hu(function(t,e,o){ec({node:t,geometryLayout:e.ka,properties:{}},cf,uf,e.$(),o)}))}),uf=Zu("trkpt"),cf=_u(Dy,{trkpt:Hu(of)}),yf=_u(Dy,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),ff=_u(Dy,{ele:Hu(Sy),time:Hu(function(t,e){e=new Date(1e3*e);t.appendChild(ku.createTextNode(e.getUTCFullYear()+"-"+rt(e.getUTCMonth()+1)+"-"+rt(e.getUTCDate())+"T"+rt(e.getUTCHours())+":"+rt(e.getUTCMinutes())+":"+rt(e.getUTCSeconds())+"Z"))}),magvar:Hu(Sy),geoidheight:Hu(Sy),name:Hu(Py),cmt:Hu(Py),desc:Hu(Py),src:Hu(Py),link:Hu(ef),sym:Hu(Py),type:Hu(Py),fix:Hu(Py),sat:Hu(My),hdop:Hu(Sy),vdop:Hu(Sy),pdop:Hu(Sy),ageofdgpsdata:Hu(Sy),dgpsid:Hu(My)}),gf={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function df(t,e){t=t.V();if(t=t&&gf[t.Y()])return Ou(e[e.length-1].node.namespaceURI,t)}var vf=_u(Dy,{rte:Hu(function(t,e,o){var i=o[0],r=e.R();t={node:t,properties:r},(e=e.V())&&(e=pc(e,!0,i),t.geometryLayout=e.ka,r.rtept=e.$()),r=Ju(r,i=sf[o[o.length-1].node.namespaceURI]),ec(t,pf,qu,r,o,i)}),trk:Hu(function(t,e,o){var i=o[0],r=e.R();t={node:t,properties:r},(e=e.V())&&(e=pc(e,!0,i),r.trkseg=e.Yc()),r=Ju(r,i=hf[o[o.length-1].node.namespaceURI]),ec(t,lf,qu,r,o,i)}),wpt:Hu(function(t,e,o){var i=o[0],r=o[o.length-1];r.properties=e.R(),(e=e.V())&&(e=pc(e,!0,i),r.geometryLayout=e.ka,of(t,e.$(),o))})});function bf(){rc.call(this)}function mf(t){return"string"==typeof t?t:""}function wf(t){t=t||{},rc.call(this),this.defaultDataProjection=ge("EPSG:4326"),this.b=t.altitudeMode||Ef}Oy.prototype.a=function(t,e){e=sc(this,e);var o=Ou("http://www.topografix.com/GPX/1/1","gpx");return o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"),o.setAttribute("version","1.1"),o.setAttribute("creator","OpenLayers 3"),ec({node:o},vf,df,t,[e]),o},i(bf,rc),(Ey=bf.prototype).Y=function(){return"text"},Ey.bc=function(t,e){return this.Hd(mf(t),sc(this,e))},Ey.La=function(t,e){return this.Tf(mf(t),sc(this,e))},Ey.hd=function(t,e){return this.Jd(mf(t),sc(this,e))},Ey.Wa=function(){return this.defaultDataProjection},Ey.Od=function(t,e){return this.Re(t,sc(this,e))},Ey.ec=function(t,e){return this.Oi(t,sc(this,e))},Ey.od=function(t,e){return this.Pd(t,sc(this,e))},i(wf,bf);var xf=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,Sf=/^H.([A-Z]{3}).*?:(.*)/,Mf=/^HFDTE(\d{2})(\d{2})(\d{2})/,Pf=/\r\n|\r|\n/;wf.prototype.Hd=function(t,e){for(var o=this.b,i=t.split(Pf),r={},n=[],s=2e3,p=0,a=1,h=-1,l=0,u=i.length;l<u;++l){var c,y,f,g,d,v=i[l];"B"==v.charAt(0)?(c=xf.exec(v))&&(v=parseInt(c[1],10),y=parseInt(c[2],10),f=parseInt(c[3],10),g=parseInt(c[4],10)+parseInt(c[5],10)/6e4,"S"==c[6]&&(g=-g),d=parseInt(c[7],10)+parseInt(c[8],10)/6e4,"W"==c[9]&&(d=-d),n.push(d,g),o!=Ef&&n.push(o==Af?parseInt(c[11],10):o==Tf?parseInt(c[12],10):0),(c=Date.UTC(s,p,a,v,y,f))<h&&(c=Date.UTC(s,p,a+1,v,y,f)),n.push(c/1e3),h=c):"H"==v.charAt(0)&&((c=Mf.exec(v))?(a=parseInt(c[1],10),p=parseInt(c[2],10)-1,s=2e3+parseInt(c[3],10)):(c=Sf.exec(v))&&(r[c[1]]=c[2].trim()))}return 0===n.length?null:((i=new cc(null)).da(o==Ef?"XYM":"XYZM",n),(o=new Fu(pc(i,!1,e))).I(r),o)},wf.prototype.Tf=function(t,e){e=this.Hd(t,e);return e?[e]:[]};var Tf="barometric",Af="gps",Ef="none";function Cf(t,e,o,i,r,n){k.call(this),this.l=null,this.a=t||new Image,null!==i&&(this.a.crossOrigin=i),this.c=n?document.createElement("CANVAS"):null,this.j=n,this.i=null,this.f=r,this.g=o,this.o=e,this.v=!1,this.f==Is&&jf(this)}function jf(e){var t=ii(1,1);try{t.drawImage(e.a,0,0),t.getImageData(0,0,1,1)}catch(t){e.v=!0}}function Lf(t){t=t||{},this.c=void 0!==t.anchor?t.anchor:[.5,.5],this.j=null,this.a=void 0!==t.anchorOrigin?t.anchorOrigin:qf,this.C=void 0!==t.anchorXUnits?t.anchorXUnits:Hf,this.D=void 0!==t.anchorYUnits?t.anchorYUnits:Hf,this.ra=void 0!==t.crossOrigin?t.crossOrigin:null;var e=void 0!==t.img?t.img:null,o=void 0!==t.imgSize?t.imgSize:null,i=t.src;O(!(void 0!==i&&e),4),O(!e||e&&o,5),void 0!==i&&0!==i.length||!e||(i=e.src||B(e).toString()),O(void 0!==i&&0<i.length,6);var r=void 0!==t.src?Rs:Is;this.f=void 0!==t.color?Jo(t.color):null;var n=this.ra,s=this.f,p=ss.get(i,n,s);p||(p=new Cf(e,i,o,n,r,s),ss.set(i,n,s,p)),this.b=p,this.L=void 0!==t.offset?t.offset:[0,0],this.g=void 0!==t.offsetOrigin?t.offsetOrigin:qf,this.v=null,this.A=void 0!==t.size?t.size:null,Us.call(this,{opacity:void 0!==t.opacity?t.opacity:1,rotation:void 0!==t.rotation?t.rotation:0,scale:void 0!==t.scale?t.scale:1,snapToPixel:void 0===t.snapToPixel||t.snapToPixel,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView})}i(Cf,k),Cf.prototype.H=function(){this.f=Fs,this.i.forEach(E),this.i=null,this.b("change")},Cf.prototype.u=function(){if(this.f=Is,this.g&&(this.a.width=this.g[0],this.a.height=this.g[1]),this.g=[this.a.width,this.a.height],this.i.forEach(E),this.i=null,jf(this),!this.v&&null!==this.j){this.c.width=this.a.width,this.c.height=this.a.height;var t=this.c.getContext("2d");t.drawImage(this.a,0,0);for(var e=t.getImageData(0,0,this.a.width,this.a.height),o=e.data,i=this.j[0]/255,r=this.j[1]/255,n=this.j[2]/255,s=0,p=o.length;s<p;s+=4)o[s]*=i,o[s+1]*=r,o[s+2]*=n;t.putImageData(e,0,0)}this.b("change")},Cf.prototype.load=function(){if(this.f==Rs){this.f=Ns,this.i=[T(this.a,"error",this.H,this),T(this.a,"load",this.u,this)];try{this.a.src=this.o}catch(t){this.H()}}},i(Lf,Us),(Ey=Lf.prototype).clone=function(){var t,e,o=this.Ic(1);return this.b.f===Is&&("IMG"===o.tagName.toUpperCase()?t=o.cloneNode(!0):(e=(t=document.createElement("canvas")).getContext("2d"),t.width=o.width,t.height=o.height,e.drawImage(o,0,0))),new Lf({anchor:this.c.slice(),anchorOrigin:this.a,anchorXUnits:this.C,anchorYUnits:this.D,crossOrigin:this.ra,color:this.f&&this.f.slice?this.f.slice():this.f||void 0,img:t||void 0,imgSize:t?this.b.g.slice():void 0,src:t?void 0:this.b.o,offset:this.L.slice(),offsetOrigin:this.g,size:null!==this.A?this.A.slice():void 0,opacity:this.l,scale:this.i,snapToPixel:this.u,rotation:this.o,rotateWithView:this.H})},Ey.Ac=function(){if(this.j)return this.j;var t=this.c,e=this.ac();if(this.C==Hf||this.D==Hf){if(!e)return null;t=this.c.slice(),this.C==Hf&&(t[0]*=e[0]),this.D==Hf&&(t[1]*=e[1])}if(this.a!=qf){if(!e)return null;t===this.c&&(t=this.c.slice()),this.a!=Jf&&this.a!=Zf||(t[0]=-t[0]+e[0]),this.a!=Yf&&this.a!=Zf||(t[1]=-t[1]+e[1])}return this.j=t},Ey.Gn=function(){return this.f},Ey.Ic=function(){var t=this.b;return t.c||t.a},Ey.de=function(){return this.b.g},Ey.xe=function(){return this.b.f},Ey.Lf=function(){var t,e,o,i=this.b;return i.l||(i.v?((o=ii(t=i.g[0],e=i.g[1])).fillRect(0,0,t,e),i.l=o.canvas):i.l=i.a),i.l},Ey.Jc=function(){if(this.v)return this.v;var t=this.L;if(this.g!=qf){var e=this.ac(),o=this.b.g;if(!e||!o)return null;t=t.slice(),this.g!=Jf&&this.g!=Zf||(t[0]=o[0]-e[0]-t[0]),this.g!=Yf&&this.g!=Zf||(t[1]=o[1]-e[1]-t[1])}return this.v=t},Ey.Hn=function(){return this.b.o},Ey.ac=function(){return this.A||this.b.g},Ey.eh=function(t,e){return P(this.b,"change",t,e)},Ey.load=function(){this.b.load()},Ey.Ii=function(t,e){A(this.b,"change",t,e)};var Rf,Nf,If,Ff,kf,Of,Df,Bf,Uf,Gf,Kf,Xf,Vf,Wf,zf,Hf="fraction",Yf="bottom-left",Zf="bottom-right",qf="top-left",Jf="top-right";function _f(t){t=t||{},this.g=t.font,this.j=t.rotation,this.v=t.rotateWithView,this.a=t.scale,this.H=t.text,this.l=t.textAlign,this.o=t.textBaseline,this.b=void 0!==t.fill?t.fill:new Vs({color:"#333"}),this.f=void 0!==t.stroke?t.stroke:null,this.c=void 0!==t.offsetX?t.offsetX:0,this.i=void 0!==t.offsetY?t.offsetY:0}function $f(t){t=t||{},ay.call(this),Rf||(If=new Vs({color:Nf=[255,255,255,1]}),Of=kf="pixels",Gf=new Lf({anchor:Ff=[20,2],anchorOrigin:Yf,anchorXUnits:kf,anchorYUnits:Of,crossOrigin:"anonymous",rotation:0,scale:Uf=.5,size:Df=[64,64],src:Bf="https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),Kf="NO_IMAGE",Xf=new Ws({color:Nf,width:1}),Vf=new Ws({color:[51,51,51,1],width:2}),Wf=new _f({font:"bold 16px Helvetica",fill:If,stroke:Vf,scale:.8}),zf=new zs({fill:If,image:Gf,text:Wf,stroke:Xf,zIndex:0}),Rf=[zf]),this.defaultDataProjection=ge("EPSG:4326"),this.g=t.defaultStyle||Rf,this.c=void 0===t.extractStyles||t.extractStyles,this.l=void 0===t.writeStyles||t.writeStyles,this.b={},this.i=void 0===t.showPointNames||t.showPointNames}(Ey=_f.prototype).clone=function(){return new _f({font:this.g,rotation:this.j,rotateWithView:this.v,scale:this.a,text:this.Ka(),textAlign:this.l,textBaseline:this.o,fill:this.b?this.b.clone():void 0,stroke:this.f?this.f.clone():void 0,offsetX:this.c,offsetY:this.i})},Ey.dk=function(){return this.g},Ey.sk=function(){return this.c},Ey.tk=function(){return this.i},Ey.Vn=function(){return this.b},Ey.Wn=function(){return this.v},Ey.Xn=function(){return this.j},Ey.Yn=function(){return this.a},Ey.Zn=function(){return this.f},Ey.Ka=function(){return this.H},Ey.Dk=function(){return this.l},Ey.Ek=function(){return this.o},Ey.si=function(t){this.g=t},Ey.yi=function(t){this.c=t},Ey.zi=function(t){this.i=t},Ey.Sh=function(t){this.b=t},Ey.$n=function(t){this.j=t},Ey.Th=function(t){this.a=t},Ey.Uh=function(t){this.f=t},Ey.Vh=function(t){this.H=t},Ey.Bi=function(t){this.l=t},Ey.lp=function(t){this.o=t},i($f,ay);var Qf=["http://www.google.com/kml/ext/2.2"],tg=[null,"http://earth.google.com/kml/2.0","http://earth.google.com/kml/2.1","http://earth.google.com/kml/2.2","http://www.opengis.net/kml/2.2"],eg={fraction:Hf,pixels:"pixels"};function og(t,e){var o,i=[0,0],r="start";return t.a&&(null===(o=t.a.de())&&(o=Df),2==o.length&&(r=t.a.i,i[0]=r*o[0]/2,i[1]=-r*o[1]/2,r="left")),null!==t.Ka()?((o=(t=t.Ka()).clone()).si(t.g||Wf.g),o.Th(t.a||Wf.a),o.Sh(t.b||Wf.b),o.Uh(t.f||Vf)):o=Wf.clone(),o.Vh(e),o.yi(i[0]),o.zi(i[1]),o.Bi(r),new zs({text:o})}function ig(i,r,n,s,p){return function(){var t=p,e="";if(t&&this.V()&&(t="Point"===this.V().Y()),t&&(e=this.get("name"),t=t&&e),i)return t?(t=og(i[0],e),i.concat(t)):i;if(r){var o=function t(e,o,i){return Array.isArray(e)?e:"string"==typeof e?(!(e in i)&&"#"+e in i&&(e="#"+e),t(i[e],o,i)):o}(r,n,s);return t?(t=og(o[0],e),o.concat(t)):o}return t?(t=og(n[0],e),n.concat(t)):n}}function rg(t){if(t=Du(t,!1),t=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(t))return t=t[1],[parseInt(t.substr(6,2),16),parseInt(t.substr(4,2),16),parseInt(t.substr(2,2),16),parseInt(t.substr(0,2),16)/255]}function ng(t){t=Du(t,!1);for(var e,o=[],i=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i;e=i.exec(t);)o.push(parseFloat(e[1]),parseFloat(e[2]),e[3]?parseFloat(e[3]):0),t=t.substr(e[0].length);return""!==t?void 0:o}function sg(t){var e=Du(t,!1).trim();return t.baseURI?new URL(e,t.baseURI).href:e}function pg(t){return dy(t)}function ag(t,e){return Qu(null,Tg,t,e)}function hg(t,e){if(i=Qu({B:[],Mi:[]},Eg,t,e)){for(var o=i.B,i=i.Mi,r=0,n=Math.min(o.length,i.length);r<n;++r)o[4*r+3]=i[r];return(i=new cc(null)).da("XYZM",o),i}}function lg(t,e){var o=Qu({},Pg,t,e),t=Qu(null,Cg,t,e);if(t){e=new cc(null);return e.da("XYZ",t),e.I(o),e}}function ug(t,e){var o=Qu({},Pg,t,e),t=Qu(null,Cg,t,e);if(t){e=new io(null);return e.da("XYZ",t,[t.length]),e.I(o),e}}function cg(t,e){var o=Qu([],Fg,t,e);if(!o)return null;if(0===o.length)return new Qc(o);for(var i,r=!0,n=o[0].Y(),s=1,p=o.length;s<p;++s)if(o[s].Y()!=n){r=!1;break}if(r)if("Point"==n){for(r=(i=o[0]).ka,n=i.ia(),s=1,p=o.length;s<p;++s)_(n,o[s].ia());(i=new vc(null)).da(r,n),dg(i,o)}else"LineString"==n?(dc(i=new fc(null),o),dg(i,o)):"Polygon"==n?(Sc(i=new bc(null),o),dg(i,o)):"GeometryCollection"==n?i=new Qc(o):O(!1,37);else i=new Qc(o);return i}function yg(t,e){var o=Qu({},Pg,t,e),t=Qu(null,Cg,t,e);if(t){e=new He(null);return e.da("XYZ",t),e.I(o),e}}function fg(t,e){var o=Qu({},Pg,t,e),i=Qu([null],Ag,t,e);if(i&&i[0]){for(var e=new io(null),r=i[0],n=[r.length],s=1,p=i.length;s<p;++s)_(r,i[s]),n.push(r.length);return e.da("XYZ",r,n),e.I(o),e}}function gg(t,e){var o=Qu({},Vg,t,e);if(!o)return null;var i="fillStyle"in o?o.fillStyle:If,r=o.fill;void 0===r||r||(i=null),(r="imageStyle"in o?o.imageStyle:Gf)==Kf&&(r=void 0);t="textStyle"in o?o.textStyle:Wf,e="strokeStyle"in o?o.strokeStyle:Xf;return void 0===(o=o.outline)||o||(e=null),[new zs({fill:i,image:r,stroke:e,text:t,zIndex:void 0})]}function dg(t,e){for(var o,i,r=e.length,n=Array(e.length),s=Array(e.length),p=i=!1,a=0;a<r;++a)o=e[a],n[a]=o.get("extrude"),s[a]=o.get("altitudeMode"),p=p||void 0!==n[a],i=i||s[a];p&&t.set("extrude",n),i&&t.set("altitudeMode",s)}function vg(t,e){$u(wg,t,e)}function bg(t,e){$u(xg,t,e)}var mg=_u(tg,{displayName:zu(wy),value:zu(wy)}),wg=_u(tg,{Data:function(t,e){var o=t.getAttribute("name");$u(mg,t,e);e=e[e.length-1];null!==o?e[o]=e.value:null!==e.displayName&&(e[e.displayName]=e.value)},SchemaData:function(t,e){$u(Xg,t,e)}}),xg=_u(tg,{LatLonAltBox:function(t,e){t=Qu({},Sg,t,e);t&&((e=e[e.length-1]).extent=[parseFloat(t.west),parseFloat(t.south),parseFloat(t.east),parseFloat(t.north)],e.altitudeMode=t.altitudeMode,e.minAltitude=parseFloat(t.minAltitude),e.maxAltitude=parseFloat(t.maxAltitude))},Lod:function(t,e){t=Qu({},Mg,t,e);t&&((e=e[e.length-1]).minLodPixels=parseFloat(t.minLodPixels),e.maxLodPixels=parseFloat(t.maxLodPixels),e.minFadeExtent=parseFloat(t.minFadeExtent),e.maxFadeExtent=parseFloat(t.maxFadeExtent))}}),Sg=_u(tg,{altitudeMode:zu(wy),minAltitude:zu(dy),maxAltitude:zu(dy),north:zu(dy),south:zu(dy),east:zu(dy),west:zu(dy)}),Mg=_u(tg,{minLodPixels:zu(dy),maxLodPixels:zu(dy),minFadeExtent:zu(dy),maxFadeExtent:zu(dy)}),Pg=_u(tg,{extrude:zu(yy),altitudeMode:zu(wy)}),Tg=_u(tg,{coordinates:Vu(ng)}),Ag=_u(tg,{innerBoundaryIs:function(t,e){t=Qu(void 0,Rg,t,e);t&&e[e.length-1].push(t)},outerBoundaryIs:function(t,e){t=Qu(void 0,Bg,t,e);t&&(e[e.length-1][0]=t)}}),Eg=_u(tg,{when:function(t,e){e=e[e.length-1].Mi,t=Du(t,!1),t=Date.parse(t);e.push(isNaN(t)?0:t)}},_u(Qf,{coord:function(t,e){e=e[e.length-1].B,t=Du(t,!1);(t=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(t))?e.push(parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3]),0):e.push(0,0,0,0)}})),Cg=_u(tg,{coordinates:Vu(ng)}),jg=_u(tg,{href:zu(sg)},_u(Qf,{x:zu(dy),y:zu(dy),w:zu(dy),h:zu(dy)})),Lg=_u(tg,{Icon:zu(function(t,e){e=Qu({},jg,t,e);return e||null}),heading:zu(dy),hotSpot:zu(function(t){var e=t.getAttribute("xunits"),o=t.getAttribute("yunits");return{x:parseFloat(t.getAttribute("x")),jg:eg[e],y:parseFloat(t.getAttribute("y")),kg:eg[o]}}),scale:zu(pg)}),Rg=_u(tg,{LinearRing:Vu(ag)}),Ng=_u(tg,{color:zu(rg),scale:zu(pg)}),Ig=_u(tg,{color:zu(rg),width:zu(dy)}),Fg=_u(tg,{LineString:Xu(lg),LinearRing:Xu(ug),MultiGeometry:Xu(cg),Point:Xu(yg),Polygon:Xu(fg)}),kg=_u(Qf,{Track:Xu(hg)}),Og=_u(tg,{ExtendedData:vg,Region:bg,Link:function(t,e){$u(Dg,t,e)},address:zu(wy),description:zu(wy),name:zu(wy),open:zu(yy),phoneNumber:zu(wy),visibility:zu(yy)}),Dg=_u(tg,{href:zu(sg)}),Bg=_u(tg,{LinearRing:Vu(ag)}),Ug=_u(tg,{Style:zu(gg),key:zu(wy),styleUrl:zu(sg)}),Gg=_u(tg,{ExtendedData:vg,Region:bg,MultiGeometry:zu(cg,"geometry"),LineString:zu(lg,"geometry"),LinearRing:zu(ug,"geometry"),Point:zu(yg,"geometry"),Polygon:zu(fg,"geometry"),Style:zu(gg),StyleMap:function(t,e){t=Qu(void 0,Wg,t,e);t&&(e=e[e.length-1],Array.isArray(t)?e.Style=t:"string"==typeof t?e.styleUrl=t:O(!1,38))},address:zu(wy),description:zu(wy),name:zu(wy),open:zu(yy),phoneNumber:zu(wy),styleUrl:zu(sg),visibility:zu(yy)},_u(Qf,{MultiTrack:zu(function(t,e){t=Qu([],kg,t,e);if(t){e=new fc(null);return dc(e,t),e}},"geometry"),Track:zu(hg,"geometry")})),Kg=_u(tg,{color:zu(rg),fill:zu(yy),outline:zu(yy)}),Xg=_u(tg,{SimpleData:function(t,e){var o=t.getAttribute("name");null!==o&&(t=wy(t),e[e.length-1][o]=t)}}),Vg=_u(tg,{IconStyle:function(t,e){var o,i,r,n,s,p,a,h,l,u,c=Qu({},Lg,t,e);c&&(o=e[e.length-1],u="Icon"in c?c.Icon:{},i=!("Icon"in c)||0<Object.keys(u).length,(t=u.href)?r=t:i&&(r=Bf),(t=c.hotSpot)?(n=[t.x,t.y],s=t.jg,p=t.kg):r===Bf?(n=Ff,s=kf,p=Of):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(r)&&(n=[.5,0],p=s=Hf),t=u.x,e=u.y,void 0!==t&&void 0!==e&&(a=[t,e]),t=u.w,u=u.h,void 0!==t&&void 0!==u&&(h=[t,u]),void 0!==(u=c.heading)&&(l=d(u)),c=c.scale,i?(r==Bf&&(h=Df,void 0===c&&(c=Uf)),i=new Lf({anchor:n,anchorOrigin:Yf,anchorXUnits:s,anchorYUnits:p,crossOrigin:"anonymous",offset:a,offsetOrigin:Yf,rotation:l,scale:c,size:h,src:r}),o.imageStyle=i):o.imageStyle=Kf)},LabelStyle:function(t,e){t=Qu({},Ng,t,e);t&&(e[e.length-1].textStyle=new _f({fill:new Vs({color:"color"in t?t.color:Nf}),scale:t.scale}))},LineStyle:function(t,e){t=Qu({},Ig,t,e);t&&(e[e.length-1].strokeStyle=new Ws({color:"color"in t?t.color:Nf,width:"width"in t?t.width:1}))},PolyStyle:function(t,e){var o=Qu({},Kg,t,e);o&&((t=e[e.length-1]).fillStyle=new Vs({color:"color"in o?o.color:Nf}),void 0!==(e=o.fill)&&(t.fill=e),void 0!==(o=o.outline)&&(t.outline=o))}}),Wg=_u(tg,{Pair:function(t,e){var o=Qu({},Ug,t,e);!o||(t=o.key)&&"normal"==t&&((t=o.styleUrl)&&(e[e.length-1]=t),(o=o.Style)&&(e[e.length-1]=o))}});function zg(t,e){for(var o=e.firstChild;o;o=o.nextSibling)if(o.nodeType==Node.ELEMENT_NODE){var i=Hg(t,o);if(i)return i}}function Hg(t,e){for(var o=e.firstElementChild;o;o=o.nextElementSibling)if(q(tg,o.namespaceURI)&&"name"==o.localName)return wy(o);for(o=e.firstElementChild;o;o=o.nextElementSibling){var i=o.localName;if(q(tg,o.namespaceURI)&&("Document"==i||"Folder"==i||"Placemark"==i||"kml"==i)&&(i=Hg(t,o)))return i}}function Yg(t,e){for(var o=[],i=e.firstChild;i;i=i.nextSibling)i.nodeType==Node.ELEMENT_NODE&&_(o,Zg(t,i));return o}function Zg(t,e){for(var o,i=[],r=e.firstElementChild;r;r=r.nextElementSibling)q(tg,r.namespaceURI)&&"NetworkLink"==r.localName&&(o=Qu({},Og,r,[]),i.push(o));for(r=e.firstElementChild;r;r=r.nextElementSibling)o=r.localName,!q(tg,r.namespaceURI)||"Document"!=o&&"Folder"!=o&&"kml"!=o||_(i,Zg(t,r));return i}function qg(t,e){for(var o=[],i=e.firstChild;i;i=i.nextSibling)i.nodeType==Node.ELEMENT_NODE&&_(o,t.Ie(i));return o}function Jg(t,e){for(var o=[255*(4==(o=Jo(e)).length?o[3]:1),o[2],o[1],o[0]],i=0;i<4;++i){var r=parseInt(o[i],10).toString(16);o[i]=1==r.length?"0"+r:r}Py(t,o.join(""))}function _g(t,e,o){t={node:t};var i,r,n=e.Y();"GeometryCollection"==n?(i=e.pf(),r=Ed):"MultiPoint"==n?(i=e.re(),r=Dd):"MultiLineString"==n?(i=e.Yc(),r=Bd):"MultiPolygon"==n?(i=e.Ad(),r=Gd):O(!1,39),ec(t,vd,r,i,o)}function $g(t,e,o){ec({node:t},dd,Ud,[e],o)}function Qg(t,e,o){var i={node:t};e.f&&t.setAttribute("id",e.f),t=e.R();var r={address:1,description:1,name:1,open:1,phoneNumber:1,styleUrl:1,visibility:1};r[e.a]=1;var n,s=Object.keys(t||{}).sort().filter(function(t){return!r[t]});0<s.length&&(n=Ju(t,s),ec(i,md,kd,[{names:s,values:n}],o)),(s=e.Gc())&&(s=s.call(e,0))&&(s=Array.isArray(s)?s[0]:s,this.l&&(t.Style=s),(s=s.Ka())&&(t.name=s.Ka())),t=Ju(t,s=bd[o[o.length-1].node.namespaceURI]),ec(i,md,qu,t,o,s),t=o[0],(e=e.V())&&(e=pc(e,!0,t)),ec(i,md,Ed,[e],o)}function td(t,e,o){var i=e.ia();(t={node:t}).layout=e.ka,t.stride=e.pa(),ec(t,wd,Id,[i],o)}function ed(t,e,o){var i=(e=e.Zc()).shift();ec(t={node:t},xd,Od,e,o),ec(t,xd,Kd,[i],o)}function od(t,e){Sy(t,Math.round(1e6*e)/1e6)}(Ey=$f.prototype).Qf=function(t,e){var o=_u(tg,{Document:Ku(this.Qf,this),Folder:Ku(this.Qf,this),Placemark:Xu(this.Wf,this),Style:this.Qo.bind(this),StyleMap:this.Po.bind(this)});if(o=Qu([],o,t,e,this))return o},Ey.Wf=function(t,e){var o=Qu({geometry:null},Gg,t,e);if(o){var i=new Fu;null!==(t=t.getAttribute("id"))&&i.cc(t);t=e[0],e=o.geometry;return e&&pc(e,!1,t),i.Pa(e),delete o.geometry,this.c&&i.Df(ig(o.Style,o.styleUrl,this.g,this.b,this.i)),delete o.Style,i.I(o),i}},Ey.Qo=function(t,e){var o=t.getAttribute("id");null===o||(e=gg(t,e))&&(o=t.baseURI?new URL("#"+o,t.baseURI).href:"#"+o,this.b[o]=e)},Ey.Po=function(t,e){var o=t.getAttribute("id");null===o||(e=Qu(void 0,Wg,t,e))&&(o=t.baseURI?new URL("#"+o,t.baseURI).href:"#"+o,this.b[o]=e)},Ey.ai=function(t,e){if(!q(tg,t.namespaceURI))return null;e=this.Wf(t,[nc(this,t,e)]);return e||null},Ey.oc=function(t,e){if(!q(tg,t.namespaceURI))return[];if("Document"==(o=t.localName)||"Folder"==o)return(o=this.Qf(t,[nc(this,t,e)]))?o:[];if("Placemark"==o)return(o=this.Wf(t,[nc(this,t,e)]))?[o]:[];if("kml"!=o)return[];for(var o=[],i=t.firstElementChild;i;i=i.nextElementSibling){var r=this.oc(i,e);r&&_(o,r)}return o},Ey.Jo=function(t){return Bu(t)?zg(this,t):Uu(t)?Hg(this,t):"string"==typeof t?zg(this,t=Gu(t)):void 0},Ey.Ko=function(t){var e=[];return Bu(t)?_(e,Yg(this,t)):Uu(t)?_(e,Zg(this,t)):"string"==typeof t&&_(e,Yg(this,t=Gu(t))),e},Ey.No=function(t){var e=[];return Bu(t)?_(e,qg(this,t)):Uu(t)?_(e,this.Ie(t)):"string"==typeof t&&_(e,qg(this,t=Gu(t))),e},Ey.Ie=function(t){for(var e,o=[],i=t.firstElementChild;i;i=i.nextElementSibling)q(tg,i.namespaceURI)&&"Region"==i.localName&&(e=Qu({},xg,i,[]),o.push(e));for(i=t.firstElementChild;i;i=i.nextElementSibling)t=i.localName,!q(tg,i.namespaceURI)||"Document"!=t&&"Folder"!=t&&"kml"!=t||_(o,this.Ie(i));return o};var id=_u(tg,["Document","Placemark"]),rd=_u(tg,{Document:Hu(function(t,e,o){ec({node:t},nd,Ad,e,o,void 0,this)}),Placemark:Hu(Qg)}),nd=_u(tg,{Placemark:Hu(Qg)}),sd=_u(tg,{Data:Hu(function(t,e,o){t.setAttribute("name",e.name),t={node:t},"object"==typeof(e=e.value)?(null!==e&&e.displayName&&ec(t,sd,qu,[e.displayName],o,["displayName"]),null!==e&&e.value&&ec(t,sd,qu,[e.value],o,["value"])):ec(t,sd,qu,[e],o,["value"])}),value:Hu(function(t,e){Py(t,e)}),displayName:Hu(function(t,e){t.appendChild(ku.createCDATASection(e))})}),pd={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},ad=_u(tg,["href"],_u(Qf,["x","y","w","h"])),hd=_u(tg,{href:Hu(Py)},_u(Qf,{x:Hu(Sy),y:Hu(Sy),w:Hu(Sy),h:Hu(Sy)})),ld=_u(tg,["scale","heading","Icon","hotSpot"]),ud=_u(tg,{Icon:Hu(function(t,e,o){t={node:t};var i=ad[o[o.length-1].node.namespaceURI],r=Ju(e,i);ec(t,hd,qu,r,o,i),r=Ju(e,i=ad[Qf[0]]),ec(t,hd,Td,r,o,i)}),heading:Hu(Sy),hotSpot:Hu(function(t,e){t.setAttribute("x",e.x),t.setAttribute("y",e.y),t.setAttribute("xunits",e.jg),t.setAttribute("yunits",e.kg)}),scale:Hu(od)}),cd=_u(tg,["color","scale"]),yd=_u(tg,{color:Hu(Jg),scale:Hu(od)}),fd=_u(tg,["color","width"]),gd=_u(tg,{color:Hu(Jg),width:Hu(Sy)}),dd=_u(tg,{LinearRing:Hu(td)}),vd=_u(tg,{LineString:Hu(td),Point:Hu(td),Polygon:Hu(ed),GeometryCollection:Hu(_g)}),bd=_u(tg,"name open visibility address phoneNumber description styleUrl Style".split(" ")),md=_u(tg,{ExtendedData:Hu(function(t,e,o){t={node:t};var i=e.names;e=e.values;for(var r=i.length,n=0;n<r;n++)ec(t,sd,Fd,[{name:i[n],value:e[n]}],o)}),MultiGeometry:Hu(_g),LineString:Hu(td),LinearRing:Hu(td),Point:Hu(td),Polygon:Hu(ed),Style:Hu(function(t,e,o){t={node:t};var i={},r=e.f,n=e.g,s=e.a;e=e.Ka(),s instanceof Lf&&(i.IconStyle=s),e&&(i.LabelStyle=e),n&&(i.LineStyle=n),r&&(i.PolyStyle=r),i=Ju(i,e=Md[o[o.length-1].node.namespaceURI]),ec(t,Pd,qu,i,o,e)}),address:Hu(Py),description:Hu(Py),name:Hu(Py),open:Hu(xy),phoneNumber:Hu(Py),styleUrl:Hu(Py),visibility:Hu(xy)}),wd=_u(tg,{coordinates:Hu(function(t,e,o){var i,r=(o=o[o.length-1]).layout;o=o.stride,"XY"==r||"XYM"==r?i=2:"XYZ"==r||"XYZM"==r?i=3:O(!1,34);var n,s=e.length,p="";if(0<s){for(p+=e[0],r=1;r<i;++r)p+=","+e[r];for(n=o;n<s;n+=o)for(p+=" "+e[n],r=1;r<i;++r)p+=","+e[n+r]}Py(t,p)})}),xd=_u(tg,{outerBoundaryIs:Hu($g),innerBoundaryIs:Hu($g)}),Sd=_u(tg,{color:Hu(Jg)}),Md=_u(tg,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),Pd=_u(tg,{IconStyle:Hu(function(t,e,o){t={node:t};var i,r,n={},s=e.ac(),p=e.de(),a={href:e.b.o};s&&(a.w=s[0],a.h=s[1],i=e.Ac(),(r=e.Jc())&&p&&0!==r[0]&&r[1]!==s[1]&&(a.x=r[0],a.y=p[1]-(r[1]+s[1])),i&&0!==i[0]&&i[1]!==s[1]&&(n.hotSpot={x:i[0],jg:"pixels",y:s[1]-i[1],kg:"pixels"})),n.Icon=a,1!==(s=e.i)&&(n.scale=s),0!==(e=e.o)&&(n.heading=e),n=Ju(n,e=ld[o[o.length-1].node.namespaceURI]),ec(t,ud,qu,n,o,e)}),LabelStyle:Hu(function(t,e,o){t={node:t};var i={},r=e.b;r&&(i.color=r.b),(e=e.a)&&1!==e&&(i.scale=e),i=Ju(i,e=cd[o[o.length-1].node.namespaceURI]),ec(t,yd,qu,i,o,e)}),LineStyle:Hu(function(t,e,o){t={node:t};var i=fd[o[o.length-1].node.namespaceURI];e=Ju({color:e.b,width:e.f},i),ec(t,gd,qu,e,o,i)}),PolyStyle:Hu(function(t,e,o){ec({node:t},Sd,Nd,[e.b],o)})});function Td(t,e,o){return Ou(Qf[0],"gx:"+o)}function Ad(t,e){return Ou(e[e.length-1].node.namespaceURI,"Placemark")}function Ed(t,e){if(t)return Ou(e[e.length-1].node.namespaceURI,pd[t.Y()])}var Cd,jd,Ld,Rd,Nd=Zu("color"),Id=Zu("coordinates"),Fd=Zu("Data"),kd=Zu("ExtendedData"),Od=Zu("innerBoundaryIs"),Dd=Zu("Point"),Bd=Zu("LineString"),Ud=Zu("LinearRing"),Gd=Zu("Polygon"),Kd=Zu("outerBoundaryIs");function Xd(t,e,o,i){this.g=t,this.b=e,this.c=o,this.f=i}function Vd(t){rc.call(this),t=t||{},this.defaultDataProjection=new re({code:"",units:"tile-pixels"}),this.b=t.featureClass||Xd,this.g=t.geometryName||"geometry",this.a=t.layerName||"layer",this.f=t.layers||null}function Wd(t,e,o){for(var i=0,r=0,n=t.length;r<n;++r){for(var s=t[r],p=0,a=s.length;p<a;++p){var h=s[p];e.push(h.x,h.y)}i+=2*p,o.push(i)}}function zd(){ay.call(this),this.defaultDataProjection=ge("EPSG:4326")}function Hd(t,e){e[e.length-1].Nd[t.getAttribute("k")]=t.getAttribute("v")}$f.prototype.a=function(t,e){e=sc(this,e);var o=Ou(tg[4],"kml");o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:gx",Qf[0]),o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var i={node:o},r={};1<t.length?r.Document=t:1==t.length&&(r.Placemark=t[0]);t=id[o.namespaceURI],r=Ju(r,t);return ec(i,rd,qu,r,[e],t,this),o},jd={ma:Cd={}},function(t){"object"==typeof Cd&&void 0!==jd?jd.ma=t():("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Rp=t()}(function(){return function i(r,n,s){function p(o,t){if(!n[o]){if(!r[o]){var e="function"==typeof require&&require;if(!t&&e)return e(o,!0);if(a)return a(o,!0);throw(e=Error("Cannot find module '"+o+"'")).code="MODULE_NOT_FOUND",e}e=n[o]={ma:{}},r[o][0].call(e.ma,function(t){var e=r[o][1][t];return p(e||t)},e,e.ma,i,r,n,s)}return n[o].ma}for(var a="function"==typeof require&&require,t=0;t<s.length;t++)p(s[t]);return p}({1:[function(t,e,o){o.read=function(t,e,o,i,r){var n=8*r-i-1,s=(1<<n)-1,p=s>>1,a=-7,h=o?-1:1,l=t[e+(r=o?r-1:0)];for(r+=h,o=l&(1<<-a)-1,l>>=-a,a+=n;0<a;o=256*o+t[e+r],r+=h,a-=8);for(n=o&(1<<-a)-1,o>>=-a,a+=i;0<a;n=256*n+t[e+r],r+=h,a-=8);if(0===o)o=1-p;else{if(o===s)return n?NaN:1/0*(l?-1:1);n+=Math.pow(2,i),o-=p}return(l?-1:1)*n*Math.pow(2,o-i)},o.write=function(t,e,o,i,r,n){var s,p=8*n-r-1,a=(1<<p)-1,h=a>>1,l=23===r?Math.pow(2,-24)-Math.pow(2,-77):0;n=i?0:n-1;var u=i?1:-1,c=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||1/0===e?(e=isNaN(e)?1:0,i=a):(i=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-i))<1&&(i--,s*=2),2<=(e=1<=i+h?e+l/s:e+l*Math.pow(2,1-h))*s&&(i++,s/=2),a<=i+h?(e=0,i=a):1<=i+h?(e=(e*s-1)*Math.pow(2,r),i+=h):(e=e*Math.pow(2,h-1)*Math.pow(2,r),i=0));8<=r;t[o+n]=255&e,n+=u,e/=256,r-=8);for(i=i<<r|e,p+=r;0<p;t[o+n]=255&i,n+=u,i/=256,p-=8);t[o+n-u]|=128*c}},{}],2:[function(t,e){function o(t){this.gc=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.type=this.ha=0,this.length=this.gc.length}function s(t,e,o){return o?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}e.ma=o;var i=t("ieee754");o.f=0,o.g=1,o.b=2,o.a=5,o.prototype={Uf:function(t,e,o){for(o=o||this.length;this.ha<o;){var i=this.Ia(),r=i>>3,n=this.ha;this.type=7&i,t(r,e,this),this.ha===n&&this.qp(i)}return e},Fo:function(){var t=i.read(this.gc,this.ha,!0,23,4);return this.ha+=4,t},Bo:function(){var t=i.read(this.gc,this.ha,!0,52,8);return this.ha+=8,t},Ia:function(t){var e=this.gc,o=e[this.ha++],i=127&o;return o<128?i:(i|=(127&(o=e[this.ha++]))<<7,o<128?i:(i|=(127&(o=e[this.ha++]))<<14,o<128?i:(i|=(127&(o=e[this.ha++]))<<21,o<128?i:function(t,e,o){var i=o.gc,r=i[o.ha++],n=(112&r)>>4;if(r<128)return s(t,n,e);if(n|=(127&(r=i[o.ha++]))<<3,r<128)return s(t,n,e);if(n|=(127&(r=i[o.ha++]))<<10,r<128)return s(t,n,e);if(n|=(127&(r=i[o.ha++]))<<17,r<128)return s(t,n,e);if(n|=(127&(r=i[o.ha++]))<<24,r<128)return s(t,n,e);if((r=i[o.ha++])<128)return s(t,n|(1&r)<<31,e);throw Error("Expected varint not more than 10 bytes")}(i|(15&e[this.ha])<<28,t,this))))},Ro:function(){return this.Ia(!0)},Kd:function(){var t=this.Ia();return 1==t%2?(t+1)/-2:t/2},zo:function(){return!!this.Ia()},Yf:function(){for(var t=this.Ia()+this.ha,e=this.gc,o="",i=this.ha;i<t;){var r,n,s,p=e[i],a=null,h=239<p?4:223<p?3:191<p?2:1;if(t<i+h)break;1===h?p<128&&(a=p):2===h?128!=(192&(r=e[i+1]))||(a=(31&p)<<6|63&r)<=127&&(a=null):3===h?(r=e[i+1],n=e[i+2],128==(192&r)&&128==(192&n)&&((a=(15&p)<<12|(63&r)<<6|63&n)<=2047||55296<=a&&a<=57343)&&(a=null)):4===h&&(r=e[i+1],n=e[i+2],s=e[i+3],128==(192&r)&&128==(192&n)&&128==(192&s)&&((a=(15&p)<<18|(63&r)<<12|(63&n)<<6|63&s)<=65535||1114112<=a))&&(a=null),null===a?(a=65533,h=1):65535<a&&(a-=65536,o+=String.fromCharCode(a>>>10&1023|55296),a=56320|1023&a),o+=String.fromCharCode(a),i+=h}return this.ha=t,o},qp:function(t){if((t&=7)===o.f)for(;127<this.gc[this.ha++];);else if(t===o.b)this.ha=this.Ia()+this.ha;else if(t===o.a)this.ha+=4;else{if(t!==o.g)throw Error("Unimplemented type: "+t);this.ha+=8}}}},{ieee754:1}]},{},[2])(2)}),ah=jd.ma,Rd={ma:Ld={}},function(t){"object"==typeof Ld&&void 0!==Rd?Rd.ma=t():("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Up=t()}(function(){return function i(r,n,s){function p(o,t){if(!n[o]){if(!r[o]){var e="function"==typeof require&&require;if(!t&&e)return e(o,!0);if(a)return a(o,!0);throw(e=Error("Cannot find module '"+o+"'")).code="MODULE_NOT_FOUND",e}e=n[o]={ma:{}},r[o][0].call(e.ma,function(t){var e=r[o][1][t];return p(e||t)},e,e.ma,i,r,n,s)}return n[o].ma}for(var a="function"==typeof require&&require,t=0;t<s.length;t++)p(s[t]);return p}({1:[function(t,e){function o(t,e){this.x=t,this.y=e}(e.ma=o).prototype={clone:function(){return new o(this.x,this.y)},add:function(t){return this.clone().oj(t)},rotate:function(t){return this.clone().yj(t)},round:function(){return this.clone().zj()},angle:function(){return Math.atan2(this.y,this.x)},oj:function(t){return this.x+=t.x,this.y+=t.y,this},yj:function(t){var e=Math.cos(t),o=(t=Math.sin(t))*this.x+e*this.y;return this.x=e*this.x-t*this.y,this.y=o,this},zj:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},o.b=function(t){return!(t instanceof o)&&Array.isArray(t)?new o(t[0],t[1]):t}},{}],2:[function(t,e){e.ma.nj=t("./lib/vectortile.js"),e.ma.Op=t("./lib/vectortilefeature.js"),e.ma.Pp=t("./lib/vectortilelayer.js")},{"./lib/vectortile.js":3,"./lib/vectortilefeature.js":4,"./lib/vectortilelayer.js":5}],3:[function(t,e){function o(t,e,o){3===t&&((t=new i(o,o.Ia()+o.ha)).length&&(e[t.name]=t))}var i=t("./vectortilelayer");e.ma=function(t,e){this.layers=t.Uf(o,{},e)}},{"./vectortilelayer":5}],4:[function(t,e){function o(t,e,o,i,r){this.properties={},this.extent=o,this.type=0,this.rc=t,this.Ye=-1,this.Td=i,this.Vd=r,t.Uf(n,this,e)}function n(t,e,o){if(1==t)e.id=o.Ia();else if(2==t)for(t=o.Ia()+o.ha;o.ha<t;){var i=e.Td[o.Ia()],r=e.Vd[o.Ia()];e.properties[i]=r}else 3==t?e.type=o.Ia():4==t&&(e.Ye=o.ha)}var a=t("point-geometry");(e.ma=o).b=["Unknown","Point","LineString","Polygon"],o.prototype.fh=function(){var t=this.rc;t.ha=this.Ye;for(var e,o=t.Ia()+t.ha,i=1,r=0,n=0,s=0,p=[];t.ha<o;)if(r||(i=7&(r=t.Ia()),r>>=3),r--,1===i||2===i)n+=t.Kd(),s+=t.Kd(),1===i&&(e&&p.push(e),e=[]),e.push(new a(n,s));else{if(7!==i)throw Error("unknown command "+i);e&&e.push(e[0].clone())}return e&&p.push(e),p},o.prototype.bbox=function(){var t=this.rc;t.ha=this.Ye;for(var e=t.Ia()+t.ha,o=1,i=0,r=0,n=0,s=1/0,p=-1/0,a=1/0,h=-1/0;t.ha<e;)if(i||(o=7&(i=t.Ia()),i>>=3),i--,1===o||2===o)(r+=t.Kd())<s&&(s=r),p<r&&(p=r),(n+=t.Kd())<a&&(a=n),h<n&&(h=n);else if(7!==o)throw Error("unknown command "+o);return[s,a,p,h]}},{"point-geometry":1}],5:[function(t,e){function o(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this.rc=t,this.Td=[],this.Vd=[],this.Sd=[],t.Uf(i,this,e),this.length=this.Sd.length}function i(t,e,o){15===t?e.version=o.Ia():1===t?e.name=o.Yf():5===t?e.extent=o.Ia():2===t?e.Sd.push(o.ha):3===t?e.Td.push(o.Yf()):4===t&&e.Vd.push(function(t){for(var e=null,o=t.Ia()+t.ha;t.ha<o;)e=1==(e=t.Ia()>>3)?t.Yf():2===e?t.Fo():3===e?t.Bo():4===e?t.Ro():5===e?t.Ia():6===e?t.Kd():7===e?t.zo():null;return e}(o))}var r=t("./vectortilefeature.js");(e.ma=o).prototype.feature=function(t){if(t<0||t>=this.Sd.length)throw Error("feature index out of bounds");return this.rc.ha=this.Sd[t],t=this.rc.Ia()+this.rc.ha,new r(this.rc,t,this.extent,this.Td,this.Vd)}},{"./vectortilefeature.js":4}]},{},[2])(2)}),hh=Rd.ma,(Ey=Xd.prototype).get=function(t){return this.f[t]},Ey.Kb=function(){return this.c},Ey.G=function(){return this.a||(this.a="Point"===this.g?Rt(this.b):Nt(this.b,0,this.b.length,2)),this.a},Ey.Vb=function(){return this.b},Ey.ia=Xd.prototype.Vb,Ey.V=function(){return this},Ey.Tm=function(){return this.f},Ey.Bd=Xd.prototype.V,Ey.pa=function(){return 2},Ey.Gc=p,Ey.Y=function(){return this.g},i(Vd,rc),Vd.prototype.Y=function(){return"arraybuffer"},Vd.prototype.La=function(t,e){var o,i,r=this.f,n=new ah(t),n=new hh.nj(n),s=[],p=this.b;for(i in n.layers)if(!r||-1!=r.indexOf(i))for(var a,h,l,u,c,y,f,g,d,v=0,b=(o=n.layers[i]).length;v<b;++v)p===Xd?(h=i,l=[],u=[],Wd(y=(a=o.feature(v)).fh(),u,l),c=void 0,1===(f=a.type)?c=1===y.length?"Point":"MultiPoint":2===f?c=1===y.length?"LineString":"MultiLineString":3===f&&(c="Polygon"),(a=a.properties)[this.a]=h,h=new this.b(c,u,l,a)):(y=o.feature(v),a=i,c=e,h=new this.b,l=y.id,(u=y.properties)[this.a]=a,(c=pc(a=0===(a=y.type)?null:(g=[],Wd(y=y.fh(),g,f=[]),d=void 0,1===a?d=new(1===y.length?He:vc)(null):2===a?d=new(1===y.length?cc:fc)(null):3===a&&(d=new io(null)),d.da("XY",g,f),d),!1,sc(this,c)))&&(u[this.g]=c),h.cc(l),h.I(u),h.Nc(this.g)),s.push(h);return s},Vd.prototype.Wa=function(){return this.defaultDataProjection},Vd.prototype.c=function(t){this.f=t},i(zd,ay);var nl=[null],Yd=_u(nl,{nd:function(t,e){e[e.length-1].bd.push(t.getAttribute("ref"))},tag:Hd}),Zd=_u(nl,{node:function(t,e){var o=e[0],i=e[e.length-1],r=t.getAttribute("id"),n=[parseFloat(t.getAttribute("lon")),parseFloat(t.getAttribute("lat"))];i.jh[r]=n;e=Qu({Nd:{}},qd,t,e);U(e.Nd)||(pc(n=new He(n),!1,o),(o=new Fu(n)).cc(r),o.I(e.Nd),i.features.push(o))},way:function(t,e){for(var o=e[0],i=t.getAttribute("id"),r=Qu({bd:[],Nd:{}},Yd,t,e),n=e[e.length-1],s=[],p=0,a=r.bd.length;p<a;p++)_(s,n.jh[r.bd[p]]);r.bd[0]==r.bd[r.bd.length-1]?(p=new io(null)).da("XY",s,[s.length]):(p=new cc(null)).da("XY",s),pc(p,!1,o),(o=new Fu(p)).cc(i),o.I(r.Nd),n.features.push(o)}}),qd=_u(nl,{tag:Hd});function Jd(t){return t.getAttributeNS("http://www.w3.org/1999/xlink","href")}function _d(){}function $d(){}zd.prototype.oc=function(t,e){e=nc(this,t,e);return"osm"==t.localName&&(e=Qu({jh:{},features:[]},Zd,t,[e])).features?e.features:[]},_d.prototype.read=function(t){return Bu(t)?this.a(t):Uu(t)?this.b(t):"string"==typeof t?(t=Gu(t),this.a(t)):null},i($d,_d),$d.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},$d.prototype.b=function(t){return(t=Qu({},Qd,t,[]))?t:null};var Ii=[null,"http://www.opengis.net/ows/1.1"],Qd=_u(Ii,{ServiceIdentification:zu(function(t,e){return Qu({},uv,t,e)}),ServiceProvider:zu(function(t,e){return Qu({},cv,t,e)}),OperationsMetadata:zu(function(t,e){return Qu({},pv,t,e)})}),tv=_u(Ii,{DeliveryPoint:zu(wy),City:zu(wy),AdministrativeArea:zu(wy),PostalCode:zu(wy),Country:zu(wy),ElectronicMailAddress:zu(wy)}),ev=_u(Ii,{Value:Wu(wy)}),ov=_u(Ii,{AllowedValues:zu(function(t,e){return Qu({},ev,t,e)})}),iv=_u(Ii,{Phone:zu(function(t,e){return Qu({},av,t,e)}),Address:zu(function(t,e){return Qu({},tv,t,e)})}),rv=_u(Ii,{HTTP:zu(function(t,e){return Qu({},nv,t,e)})}),nv=_u(Ii,{Get:Wu(function(t,e){var o=Jd(t);return o?Qu({href:o},hv,t,e):void 0}),Post:void 0}),sv=_u(Ii,{DCP:zu(function(t,e){return Qu({},rv,t,e)})}),pv=_u(Ii,{Operation:function(t,e){var o=t.getAttribute("name"),t=Qu({},sv,t,e);t&&(e[e.length-1][o]=t)}}),av=_u(Ii,{Voice:zu(wy),Facsimile:zu(wy)}),hv=_u(Ii,{Constraint:Wu(function(t,e){var o=t.getAttribute("name");return o?Qu({name:o},ov,t,e):void 0})}),lv=_u(Ii,{IndividualName:zu(wy),PositionName:zu(wy),ContactInfo:zu(function(t,e){return Qu({},iv,t,e)})}),uv=_u(Ii,{Title:zu(wy),ServiceTypeVersion:zu(wy),ServiceType:zu(wy)}),cv=_u(Ii,{ProviderName:zu(wy),ProviderSite:zu(Jd),ServiceContact:zu(function(t,e){return Qu({},lv,t,e)})});function yv(t,e,o,i){for(var r=void 0!==i?i:[],n=i=0;n<e;){var s=t[n++];for(r[i++]=t[n++],r[i++]=s,s=2;s<o;++s)r[i++]=t[n++]}r.length=i}function fv(t){t=t||{},rc.call(this),this.defaultDataProjection=ge("EPSG:4326"),this.b=t.factor||1e5,this.a=t.geometryLayout||"XY"}function gv(t,e,o){for(var i,r,n=Array(e),s=0;s<e;++s)n[s]=0;for(i=0,r=t.length;i<r;)for(s=0;s<e;++s,++i){var p=t[i],a=p-n[s];n[s]=p,t[i]=a}return vv(t,o||1e5)}function dv(t,e,o){for(var i,r=Array(e),n=0;n<e;++n)r[n]=0;for(t=bv(t,o||1e5),o=0,i=t.length;o<i;)for(n=0;n<e;++n,++o)r[n]+=t[o],t[o]=r[n];return t}function vv(t,e){for(var o=e||1e5,i=0,r=t.length;i<r;++i)t[i]=Math.round(t[i]*o);for(o=0,i=t.length;o<i;++o)r=t[o],t[o]=r<0?~(r<<1):r<<1;for(o="",i=0,r=t.length;i<r;++i){for(var n,s=t[i],p="";32<=s;)n=63+(32|31&s),p+=String.fromCharCode(n),s>>=5;o+=p+=String.fromCharCode(s+63)}return o}function bv(t,e){for(var o=e||1e5,i=[],r=0,n=0,s=0,p=t.length;s<p;++s){var a=t.charCodeAt(s)-63,r=r|(31&a)<<n;a<32?(i.push(r),n=r=0):n+=5}for(r=0,n=i.length;r<n;++r)s=i[r],i[r]=1&s?~(s>>1):s>>1;for(r=0,n=i.length;r<n;++r)i[r]/=o;return i}function mv(t){t=t||{},rc.call(this),this.defaultDataProjection=ge(t.defaultDataProjection||"EPSG:4326")}function wv(t,e){for(var o,i,r=[],n=0,s=t.length;n<s;++n)o=t[n],0<n&&r.pop(),i=0<=o?e[o]:e[~o].slice().reverse(),r.push.apply(r,i);for(o=0,i=r.length;o<i;++o)r[o]=r[o].slice();return r}function xv(t,e,o,i,r){var n=t.type,s=Mv[n];return e="Point"===n||"MultiPoint"===n?s(t,o,i):s(t,e),(o=new Fu).Pa(pc(e,!1,r)),void 0!==t.id&&o.cc(t.id),t.properties&&o.I(t.properties),o}function Sv(t,e,o){t[0]=t[0]*e[0]+o[0],t[1]=t[1]*e[1]+o[1]}i(fv,bf),(Ey=fv.prototype).Hd=function(t,e){return new Fu(this.Jd(t,e))},Ey.Tf=function(t,e){return[this.Hd(t,e)]},Ey.Jd=function(t,e){var o=Ee(this.a),t=dv(t,o,this.b);return yv(t,t.length,o,t),pc(new cc(Ge(t,0,t.length,o),this.a),!1,sc(this,e))},Ey.Re=function(t,e){t=t.V();return t?this.Pd(t,e):(O(!1,40),"")},Ey.Oi=function(t,e){return this.Re(t[0],e)},Ey.Pd=function(t,e){e=(t=pc(t,!0,sc(this,e))).ia(),t=t.pa();return yv(e,e.length,t,e),gv(e,t,this.b)},i(mv,ac),mv.prototype.Sf=function(t,e){if("Topology"!=t.type)return[];var o,i=null,r=null;t.transform&&(i=(o=t.transform).scale,r=o.translate);var n=t.arcs;if(o){o=i;for(var s=r,p=0,a=n.length;p<a;++p)for(var h,l=n[p],u=o,c=s,y=0,f=0,g=0,d=l.length;g<d;++g)y+=(h=l[g])[0],f+=h[1],h[0]=y,h[1]=f,Sv(h,u,c)}for(o=[],p=0,a=(s=x(t.objects)).length;p<a;++p)"GeometryCollection"===s[p].type?(l=s[p],o.push.apply(o,function(t,e,o,i,r){for(var n=[],s=0,p=(t=t.geometries).length;s<p;++s)n[s]=xv(t[s],e,o,i,r);return n}(l,n,i,r,e))):(l=s[p],o.push(xv(l,n,i,r,e)));return o},mv.prototype.Wa=function(){return this.defaultDataProjection};var Mv={Point:function(t,e,o){return t=t.coordinates,e&&o&&Sv(t,e,o),new He(t)},LineString:function(t,e){return new cc(wv(t.arcs,e))},Polygon:function(t,e){for(var o=[],i=0,r=t.arcs.length;i<r;++i)o[i]=wv(t.arcs[i],e);return new io(o)},MultiPoint:function(t,e,o){var i,r;if(t=t.coordinates,e&&o)for(i=0,r=t.length;i<r;++i)Sv(t[i],e,o);return new vc(t)},MultiLineString:function(t,e){for(var o=[],i=0,r=t.arcs.length;i<r;++i)o[i]=wv(t.arcs[i],e);return new fc(o)},MultiPolygon:function(t,e){for(var o,i,r,n,s=[],p=0,a=t.arcs.length;p<a;++p){for(i=[],r=0,n=(o=t.arcs[p]).length;r<n;++r)i[r]=wv(o[r],e);s[p]=i}return new bc(s)}};function Pv(t){t=t||{},this.i=t.featureType,this.g=t.featureNS,this.b=t.gmlFormat||new Ty,this.c=t.schemaLocation||"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd",ay.call(this)}function Tv(t,e){for(var o=e.firstChild;o;o=o.nextSibling)if(o.nodeType==Node.ELEMENT_NODE)return Ev(t,o)}i(Pv,ay),Pv.prototype.oc=function(t,e){var o={featureType:this.i,featureNS:this.g};return L(o,nc(this,t,e||{})),o=[o],this.b.b["http://www.opengis.net/gml"].featureMember=Xu(uy.prototype.Id),(o=Qu([],this.b.b,t,o,this.b))||(o=[]),o},Pv.prototype.o=function(t){return Bu(t)?Nv(t):Uu(t)?Qu({},Rv,t,[]):"string"==typeof t?Nv(t=Gu(t)):void 0},Pv.prototype.l=function(t){return Bu(t)?Tv(this,t):Uu(t)?Ev(this,t):"string"==typeof t?Tv(this,t=Gu(t)):void 0};var Av={"http://www.opengis.net/gml":{boundedBy:zu(uy.prototype.Ee,"bounds")}};function Ev(t,e){var o={},i=my(e.getAttribute("numberOfFeatures"));return o.numberOfFeatures=i,Qu(o,Av,e,[],t.b)}var Cv={"http://www.opengis.net/wfs":{totalInserted:zu(by),totalUpdated:zu(by),totalDeleted:zu(by)}},jv={"http://www.opengis.net/ogc":{FeatureId:Xu(function(t){return t.getAttribute("fid")})}},Lv={"http://www.opengis.net/wfs":{Feature:function(t,e){$u(jv,t,e)}}},Rv={"http://www.opengis.net/wfs":{TransactionSummary:zu(function(t,e){return Qu({},Cv,t,e)},"transactionSummary"),InsertResults:zu(function(t,e){return Qu([],Lv,t,e)},"insertIds")}};function Nv(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return Qu({},Rv,t,[])}var Iv={"http://www.opengis.net/wfs":{PropertyName:Hu(Py)}};function Fv(t,e){var o=Ou("http://www.opengis.net/ogc","Filter"),i=Ou("http://www.opengis.net/ogc","FeatureId");o.appendChild(i),i.setAttribute("fid",e),t.appendChild(o)}var kv={"http://www.opengis.net/wfs":{Insert:Hu(function(t,e,o){var i=Ou((i=o[o.length-1]).featureNS,i.featureType);t.appendChild(i),Ty.prototype.Ni(i,e,o)}),Update:Hu(function(t,e,o){var i=o[o.length-1];O(void 0!==e.f,27);var r=i.featureType,n=(n=i.featurePrefix)||"feature",s=i.featureNS;if(t.setAttribute("typeName",n+":"+r),t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+n,s),void 0!==(r=e.f)){for(var s=[],p=0,a=(n=e.S()).length;p<a;p++){var h=e.get(n[p]);void 0!==h&&s.push({name:n[p],value:h})}ec({node:t,srsName:i.srsName},kv,Zu("Property"),s,o),Fv(t,r)}}),Delete:Hu(function(t,e,o){var i=o[o.length-1];O(void 0!==e.f,26),o=i.featureType;var r=(r=i.featurePrefix)||"feature",i=i.featureNS;t.setAttribute("typeName",r+":"+o),t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+r,i),void 0!==(e=e.f)&&Fv(t,e)}),Property:Hu(function(t,e,o){var i=Ou("http://www.opengis.net/wfs","Name");t.appendChild(i),Py(i,e.name),void 0!==e.value&&null!==e.value&&(i=Ou("http://www.opengis.net/wfs","Value"),t.appendChild(i),e.value instanceof Me?Ty.prototype.pd(i,e.value,o):Py(i,e.value))}),Native:Hu(function(t,e){e.yp&&t.setAttribute("vendorId",e.yp),void 0!==e.cp&&t.setAttribute("safeToIgnore",e.cp),void 0!==e.value&&Py(t,e.value)})}};function Ov(t,e,o){t={node:t};var i=e.b;ec(t,Kv,Zu(i.Nb),[i],o),e=e.a,ec(t,Kv,Zu(e.Nb),[e],o)}function Dv(t,e){void 0!==e.a&&t.setAttribute("matchCase",e.a.toString()),Uv(t,e.b),Gv(t,""+e.g)}function Bv(t,e,o){Py(t=Ou("http://www.opengis.net/ogc",t),o),e.appendChild(t)}function Uv(t,e){Bv("PropertyName",t,e)}function Gv(t,e){Bv("Literal",t,e)}var Kv={"http://www.opengis.net/wfs":{Query:Hu(function(t,e,o){var i=o[o.length-1],r=i.featurePrefix,n=i.featureNS,s=i.propertyNames,p=i.srsName;t.setAttribute("typeName",(r?r+":":"")+e),p&&t.setAttribute("srsName",p),n&&t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+r,n),(e=L({},i)).node=t,ec(e,Iv,Zu("PropertyName"),s,o),(i=i.filter)&&(s=Ou("http://www.opengis.net/ogc","Filter"),t.appendChild(s),ec({node:s},Kv,Zu(i.Nb),[i],o))})},"http://www.opengis.net/ogc":{And:Hu(Ov),Or:Hu(Ov),Not:Hu(function(t,e,o){e=e.condition,ec({node:t},Kv,Zu(e.Nb),[e],o)}),BBOX:Hu(function(t,e,o){o[o.length-1].srsName=e.srsName,Uv(t,e.geometryName),Ty.prototype.pd(t,e.extent,o)}),Intersects:Hu(function(t,e,o){o[o.length-1].srsName=e.srsName,Uv(t,e.geometryName),Ty.prototype.pd(t,e.geometry,o)}),Within:Hu(function(t,e,o){o[o.length-1].srsName=e.srsName,Uv(t,e.geometryName),Ty.prototype.pd(t,e.geometry,o)}),PropertyIsEqualTo:Hu(Dv),PropertyIsNotEqualTo:Hu(Dv),PropertyIsLessThan:Hu(Dv),PropertyIsLessThanOrEqualTo:Hu(Dv),PropertyIsGreaterThan:Hu(Dv),PropertyIsGreaterThanOrEqualTo:Hu(Dv),PropertyIsNull:Hu(function(t,e){Uv(t,e.b)}),PropertyIsBetween:Hu(function(t,e){Uv(t,e.b);var o=Ou("http://www.opengis.net/ogc","LowerBoundary");t.appendChild(o),Gv(o,""+e.a),o=Ou("http://www.opengis.net/ogc","UpperBoundary"),t.appendChild(o),Gv(o,""+e.g)}),PropertyIsLike:Hu(function(t,e){t.setAttribute("wildCard",e.i),t.setAttribute("singleChar",e.c),t.setAttribute("escapeChar",e.g),void 0!==e.a&&t.setAttribute("matchCase",e.a.toString()),Uv(t,e.b),Gv(t,""+e.f)})}};function Xv(t){t=t||{},rc.call(this),this.b=void 0!==t.splitCollection&&t.splitCollection}function Vv(t){return 0===(t=t.$()).length?"":t.join(" ")}function Wv(t){for(var e=[],o=0,i=(t=t.$()).length;o<i;++o)e.push(t[o].join(" "));return e.join(",")}function zv(t){for(var e=[],o=0,i=(t=t.Zc()).length;o<i;++o)e.push("("+Wv(t[o])+")");return e.join(",")}function Hv(t){var e,o=t.Y(),i=(0,Yv[o])(t),o=o.toUpperCase();return t instanceof Ae&&(e="","XYZ"!==(t=t.ka)&&"XYZM"!==t||(e+="Z"),"XYM"!==t&&"XYZM"!==t||(e+="M"),0<(t=e).length&&(o+=" "+t)),0===i.length?o+" EMPTY":o+"("+i+")"}Pv.prototype.v=function(t){var e,o,i=Ou("http://www.opengis.net/wfs","GetFeature");return i.setAttribute("service","WFS"),i.setAttribute("version","1.1.0"),t&&(t.handle&&i.setAttribute("handle",t.handle),t.outputFormat&&i.setAttribute("outputFormat",t.outputFormat),void 0!==t.maxFeatures&&i.setAttribute("maxFeatures",t.maxFeatures),t.resultType&&i.setAttribute("resultType",t.resultType),void 0!==t.startIndex&&i.setAttribute("startIndex",t.startIndex),void 0!==t.count&&i.setAttribute("count",t.count),o=t.filter,t.bbox)&&(O(t.geometryName,12),e=$c(t.geometryName,t.bbox,t.srsName),o=o?_c(o,e):e),i.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.c),o={node:i,srsName:t.srsName,featureNS:t.featureNS||this.g,featurePrefix:t.featurePrefix,geometryName:t.geometryName,filter:o,propertyNames:t.propertyNames||[]},O(Array.isArray(t.featureTypes),11),t=t.featureTypes,(e=L({},(o=[o])[o.length-1])).node=i,ec(e,Kv,Zu("Query"),t,o),i},Pv.prototype.A=function(t,e,o,i){var r,n,s=[],p=Ou("http://www.opengis.net/wfs","Transaction");return p.setAttribute("service","WFS"),p.setAttribute("version","1.1.0"),i&&(r=i.gmlOptions||{},i.handle&&p.setAttribute("handle",i.handle)),p.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.c),t&&(n={node:p,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,srsName:i.srsName},L(n,r),ec(n,kv,Zu("Insert"),t,s)),e&&(n={node:p,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,srsName:i.srsName},L(n,r),ec(n,kv,Zu("Update"),e,s)),o&&ec({node:p,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,srsName:i.srsName},kv,Zu("Delete"),o,s),i.nativeElements&&ec({node:p,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,srsName:i.srsName},kv,Zu("Native"),i.nativeElements,s),p},Pv.prototype.Xf=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.He(t);return null},Pv.prototype.He=function(t){if(t.firstElementChild&&t.firstElementChild.firstElementChild)for(t=(t=t.firstElementChild.firstElementChild).firstElementChild;t;t=t.nextElementSibling)if(0!==t.childNodes.length&&(1!==t.childNodes.length||3!==t.firstChild.nodeType)){var e=[{}];return this.b.Ee(t,e),ge(e.pop().srsName)}return null},i(Xv,bf);var Yv={Point:Vv,LineString:Wv,Polygon:zv,MultiPoint:function(t){for(var e=[],o=0,i=(t=t.re()).length;o<i;++o)e.push("("+Vv(t[o])+")");return e.join(",")},MultiLineString:function(t){for(var e=[],o=0,i=(t=t.Yc()).length;o<i;++o)e.push("("+Wv(t[o])+")");return e.join(",")},MultiPolygon:function(t){for(var e=[],o=0,i=(t=t.Ad()).length;o<i;++o)e.push("("+zv(t[o])+")");return e.join(",")},GeometryCollection:function(t){for(var e=[],o=0,i=(t=t.pf()).length;o<i;++o)e.push(Hv(t[o]));return e.join(",")}};function Zv(t){this.a=t,this.b=-1}function qv(t){this.g=t,this.a="XY"}function Jv(t){t.b=function t(e){var o=e.a.charAt(++e.b),i={position:e.b,value:o};if("("==o)i.type=2;else if(","==o)i.type=5;else if(")"==o)i.type=3;else if("0"<=o&&o<="9"||"."==o||"-"==o){i.type=4;for(var r,o=e.b,n=!1,s=!1;"."==r?n=!0:"e"!=r&&"E"!=r||(s=!0),r=e.a.charAt(++e.b),"0"<=r&&r<="9"||"."==r&&(void 0===n||!n)||!s&&("e"==r||"E"==r)||s&&("-"==r||"+"==r););e=parseFloat(e.a.substring(o,e.b--)),i.value=e}else if("a"<=o&&o<="z"||"A"<=o&&o<="Z"){for(i.type=1,o=e.b;r=e.a.charAt(++e.b),"a"<=r&&r<="z"||"A"<=r&&r<="Z";);e=e.a.substring(o,e.b--).toUpperCase(),i.value=e}else{if(" "==o||"\t"==o||"\r"==o||"\n"==o)return t(e);if(""!==o)throw Error("Unexpected character: "+o);i.type=6}return i}(t.g)}function _v(t,e){e=t.b.type==e;return e&&Jv(t),e}function $v(t){for(var e=[],o=t.a.length,i=0;i<o;++i){var r=t.b;if(!_v(t,4))break;e.push(r.value)}if(e.length==o)return e;throw Error(ob(t))}function Qv(t){for(var e=[$v(t)];_v(t,5);)e.push($v(t));return e}function tb(t){for(var e=[t.Nf()];_v(t,5);)e.push(t.Nf());return e}function eb(t){var e=1==t.b.type&&"EMPTY"==t.b.value;return e&&Jv(t),e}function ob(t){return"Unexpected `"+t.b.value+"` at position "+t.b.position+" in `"+t.g.a+"`"}(Ey=Xv.prototype).Hd=function(t,e){t=this.Jd(t,e);if(t){e=new Fu;return e.Pa(t),e}return null},Ey.Tf=function(t,e){for(var o=[],i=this.Jd(t,e),r=[],n=0,s=(o=this.b&&"GeometryCollection"==i.Y()?i.f:[i]).length;n<s;++n)(i=new Fu).Pa(o[n]),r.push(i);return r},Ey.Jd=function(t,e){t=new qv(new Zv(t));return Jv(t),(t=function t(e){var o=e.b;if(_v(e,1)){var o=o.value,i="XY",r=e.b;if(1==e.b.type&&("Z"===(r=r.value)?i="XYZ":"M"===r?i="XYM":"ZM"===r&&(i="XYZM"),"XY"!==i&&Jv(e)),e.a=i,"GEOMETRYCOLLECTION"==o){t:{if(_v(e,2)){for(o=[];o.push(t(e)),_v(e,5););if(_v(e,3)){e=o;break t}}else if(eb(e)){e=[];break t}throw Error(ob(e))}return new Qc(e)}if(r=rb[o],i=ib[o],!r||!i)throw Error("Invalid geometry type: "+o);return o=r.call(e),new i(o,e.a)}throw Error(ob(e))}(t))?pc(t,!1,e):null},Ey.Re=function(t,e){t=t.V();return t?this.Pd(t,e):""},Ey.Oi=function(t,e){if(1==t.length)return this.Re(t[0],e);for(var o=[],i=0,r=t.length;i<r;++i)o.push(t[i].V());return o=new Qc(o),this.Pd(o,e)},Ey.Pd=function(t,e){return Hv(pc(t,!0,e))},(Ey=qv.prototype).Of=function(){if(_v(this,2)){var t=$v(this);if(_v(this,3))return t}else if(eb(this))return null;throw Error(ob(this))},Ey.Nf=function(){if(_v(this,2)){var t=Qv(this);if(_v(this,3))return t}else if(eb(this))return[];throw Error(ob(this))},Ey.Pf=function(){if(_v(this,2)){var t=tb(this);if(_v(this,3))return t}else if(eb(this))return[];throw Error(ob(this))},Ey.mo=function(){if(_v(this,2)){var t;if(2==this.b.type)for(t=[this.Of()];_v(this,5);)t.push(this.Of());else t=Qv(this);if(_v(this,3))return t}else if(eb(this))return[];throw Error(ob(this))},Ey.lo=function(){if(_v(this,2)){var t=tb(this);if(_v(this,3))return t}else if(eb(this))return[];throw Error(ob(this))},Ey.no=function(){if(_v(this,2)){for(var t=[this.Pf()];_v(this,5);)t.push(this.Pf());if(_v(this,3))return t}else if(eb(this))return[];throw Error(ob(this))};var ib={POINT:He,LINESTRING:cc,POLYGON:io,MULTIPOINT:vc,MULTILINESTRING:fc,MULTIPOLYGON:bc},rb={POINT:qv.prototype.Of,LINESTRING:qv.prototype.Nf,POLYGON:qv.prototype.Pf,MULTIPOINT:qv.prototype.mo,MULTILINESTRING:qv.prototype.lo,MULTIPOLYGON:qv.prototype.no};function nb(){this.version=void 0}function sb(t,e){return Qu({},Tb,t,e)}function pb(t,e){return Qu({},xb,t,e)}function ab(t,e){e=sb(t,e);if(e){t=[my(t.getAttribute("width")),my(t.getAttribute("height"))];return e.size=t,e}}function hb(t,e){return Qu([],Ab,t,e)}i(nb,_d),nb.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},nb.prototype.b=function(t){return this.version=t.getAttribute("version").trim(),(t=Qu({version:this.version},lb,t,[]))?t:null};var nl=[null,"http://www.opengis.net/wms"],lb=_u(nl,{Service:zu(function(t,e){return Qu({},cb,t,e)}),Capability:zu(function(t,e){return Qu({},ub,t,e)})}),ub=_u(nl,{Request:zu(function(t,e){return Qu({},wb,t,e)}),Exception:zu(function(t,e){return Qu([],db,t,e)}),Layer:zu(function(t,e){return Qu({},vb,t,e)})}),cb=_u(nl,{Name:zu(wy),Title:zu(wy),Abstract:zu(wy),KeywordList:zu(hb),OnlineResource:zu(Jd),ContactInformation:zu(function(t,e){return Qu({},yb,t,e)}),Fees:zu(wy),AccessConstraints:zu(wy),LayerLimit:zu(by),MaxWidth:zu(by),MaxHeight:zu(by)}),yb=_u(nl,{ContactPersonPrimary:zu(function(t,e){return Qu({},fb,t,e)}),ContactPosition:zu(wy),ContactAddress:zu(function(t,e){return Qu({},gb,t,e)}),ContactVoiceTelephone:zu(wy),ContactFacsimileTelephone:zu(wy),ContactElectronicMailAddress:zu(wy)}),fb=_u(nl,{ContactPerson:zu(wy),ContactOrganization:zu(wy)}),gb=_u(nl,{AddressType:zu(wy),Address:zu(wy),City:zu(wy),StateOrProvince:zu(wy),PostCode:zu(wy),Country:zu(wy)}),db=_u(nl,{Format:Xu(wy)}),vb=_u(nl,{Name:zu(wy),Title:zu(wy),Abstract:zu(wy),KeywordList:zu(hb),CRS:Wu(wy),EX_GeographicBoundingBox:zu(function(t,e){if(i=Qu({},mb,t,e)){var o=i.westBoundLongitude,t=i.southBoundLatitude,e=i.eastBoundLongitude,i=i.northBoundLatitude;return void 0===o||void 0===t||void 0===e||void 0===i?void 0:[o,t,e,i]}}),BoundingBox:Wu(function(t){var e=[vy(t.getAttribute("minx")),vy(t.getAttribute("miny")),vy(t.getAttribute("maxx")),vy(t.getAttribute("maxy"))],o=[vy(t.getAttribute("resx")),vy(t.getAttribute("resy"))];return{crs:t.getAttribute("CRS"),extent:e,res:o}}),Dimension:Wu(function(t){return{name:t.getAttribute("name"),units:t.getAttribute("units"),unitSymbol:t.getAttribute("unitSymbol"),default:t.getAttribute("default"),multipleValues:fy(t.getAttribute("multipleValues")),nearestValue:fy(t.getAttribute("nearestValue")),current:fy(t.getAttribute("current")),values:wy(t)}}),Attribution:zu(function(t,e){return Qu({},bb,t,e)}),AuthorityURL:Wu(function(t,e){e=sb(t,e);if(e)return e.name=t.getAttribute("name"),e}),Identifier:Wu(wy),MetadataURL:Wu(function(t,e){e=sb(t,e);if(e)return e.type=t.getAttribute("type"),e}),DataURL:Wu(sb),FeatureListURL:Wu(sb),Style:Wu(function(t,e){return Qu({},Pb,t,e)}),MinScaleDenominator:zu(dy),MaxScaleDenominator:zu(dy),Layer:Wu(function(t,e){var o=e[e.length-1],i=Qu({},vb,t,e);if(i){e=fy(t.getAttribute("queryable"));return void 0===e&&(e=o.queryable),i.queryable=void 0!==e&&e,void 0===(e=my(t.getAttribute("cascaded")))&&(e=o.cascaded),i.cascaded=e,void 0===(e=fy(t.getAttribute("opaque")))&&(e=o.opaque),i.opaque=void 0!==e&&e,void 0===(e=fy(t.getAttribute("noSubsets")))&&(e=o.noSubsets),i.noSubsets=void 0!==e&&e,(e=vy(t.getAttribute("fixedWidth")))||(e=o.fixedWidth),i.fixedWidth=e,(e=vy(t.getAttribute("fixedHeight")))||(e=o.fixedHeight),i.fixedHeight=e,["Style","CRS","AuthorityURL"].forEach(function(t){t in o&&(i[t]=(i[t]||[]).concat(o[t]))}),"EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" ").forEach(function(t){t in i||(i[t]=o[t])}),i}})}),bb=_u(nl,{Title:zu(wy),OnlineResource:zu(Jd),LogoURL:zu(ab)}),mb=_u(nl,{westBoundLongitude:zu(dy),eastBoundLongitude:zu(dy),southBoundLatitude:zu(dy),northBoundLatitude:zu(dy)}),wb=_u(nl,{GetCapabilities:zu(pb),GetMap:zu(pb),GetFeatureInfo:zu(pb)}),xb=_u(nl,{Format:Wu(wy),DCPType:Wu(function(t,e){return Qu({},Sb,t,e)})}),Sb=_u(nl,{HTTP:zu(function(t,e){return Qu({},Mb,t,e)})}),Mb=_u(nl,{Get:zu(sb),Post:zu(sb)}),Pb=_u(nl,{Name:zu(wy),Title:zu(wy),Abstract:zu(wy),LegendURL:Wu(ab),StyleSheetURL:zu(sb),StyleURL:zu(sb)}),Tb=_u(nl,{Format:zu(wy),OnlineResource:zu(Jd)}),Ab=_u(nl,{Keyword:Xu(wy)});function Eb(t){t=t||{},this.g="http://mapserver.gis.umn.edu/mapserver",this.b=new ky,this.c=t.layers||null,ay.call(this)}function Cb(){this.g=new $d}function jb(t){var e=wy(t).split(" ");if(e&&2==e.length)return t=+e[0],e=+e[1],isNaN(t)||isNaN(e)?void 0:[t,e]}i(Eb,ay),Eb.prototype.oc=function(t,e){var o={};e&&L(o,nc(this,t,e));var i=[o];t.setAttribute("namespaceURI",this.g);e=t.localName,o=[];if(0!==t.childNodes.length){if("msGMLOutput"==e)for(var r=0,n=t.childNodes.length;r<n;r++){var s,p,a,h=t.childNodes[r];h.nodeType===Node.ELEMENT_NODE&&(s=i[0],p=h.localName.replace("_layer",""),this.c&&!q(this.c,p)||(p+="_feature",s.featureType=p,s.featureNS=this.g,(a={})[p]=Xu(this.b.Rf,this.b),s=_u([s.featureNS,null],a),h.setAttribute("namespaceURI",this.g),(h=Qu([],s,h,i,this.b))&&_(o,h)))}"FeatureCollection"==e&&(i=Qu([],this.b.b,t,[{}],this.b))&&(o=i)}return o},i(Cb,_d),Cb.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},Cb.prototype.b=function(t){var e=t.getAttribute("version").trim(),o=this.g.b(t);return o?(o.version=e,(o=Qu(o,Lb,t,[]))?o:null):null};var Ii=[null,"http://www.opengis.net/wmts/1.0"],nl=[null,"http://www.opengis.net/ows/1.1"],Lb=_u(Ii,{Contents:zu(function(t,e){return Qu({},Rb,t,e)})}),Rb=_u(Ii,{Layer:Wu(function(t,e){return Qu({},Nb,t,e)}),TileMatrixSet:Wu(function(t,e){return Qu({},Ub,t,e)})}),Nb=_u(Ii,{Style:Wu(function(t,e){e=Qu({},Ib,t,e);if(e){t="true"===t.getAttribute("isDefault");return e.isDefault=t,e}}),Format:Wu(wy),TileMatrixSetLink:Wu(function(t,e){return Qu({},Fb,t,e)}),Dimension:Wu(function(t,e){return Qu({},Db,t,e)}),ResourceURL:Wu(function(t){var e=t.getAttribute("format"),o=t.getAttribute("template");t=t.getAttribute("resourceType");var i={};return e&&(i.format=e),o&&(i.template=o),t&&(i.resourceType=t),i})},_u(nl,{Title:zu(wy),Abstract:zu(wy),WGS84BoundingBox:zu(function(t,e){e=Qu([],Bb,t,e);return 2!=e.length?void 0:xt(e)}),Identifier:zu(wy)})),Ib=_u(Ii,{LegendURL:Wu(function(t){var e={};return e.format=t.getAttribute("format"),e.href=Jd(t),e})},_u(nl,{Title:zu(wy),Identifier:zu(wy)})),Fb=_u(Ii,{TileMatrixSet:zu(wy),TileMatrixSetLimits:zu(function(t,e){return Qu([],kb,t,e)})}),kb=_u(Ii,{TileMatrixLimits:Xu(function(t,e){return Qu({},Ob,t,e)})}),Ob=_u(Ii,{TileMatrix:zu(wy),MinTileRow:zu(by),MaxTileRow:zu(by),MinTileCol:zu(by),MaxTileCol:zu(by)}),Db=_u(Ii,{Default:zu(wy),Value:Wu(wy)},_u(nl,{Identifier:zu(wy)})),Bb=_u(nl,{LowerCorner:Xu(jb),UpperCorner:Xu(jb)}),Ub=_u(Ii,{WellKnownScaleSet:zu(wy),TileMatrix:Wu(function(t,e){return Qu({},Gb,t,e)})},_u(nl,{SupportedCRS:zu(wy),Identifier:zu(wy)})),Gb=_u(Ii,{TopLeftCorner:zu(jb),ScaleDenominator:zu(dy),TileWidth:zu(by),TileHeight:zu(by),MatrixWidth:zu(by),MatrixHeight:zu(by)},_u(nl,{Identifier:zu(wy)}));function Kb(t){X.call(this),t=t||{},this.a=null,this.c=me,this.f=void 0,P(this,W(Zb),this.Ql,this),P(this,W(Jb),this.Rl,this),void 0!==t.projection&&this.nh(ge(t.projection)),void 0!==t.trackingOptions&&this.Ci(t.trackingOptions),this.ne(void 0!==t.tracking&&t.tracking)}i(Kb,X),(Ey=Kb.prototype).oa=function(){this.ne(!1),X.prototype.oa.call(this)},Ey.Ql=function(){var t=this.lh();t&&(this.c=be(ge("EPSG:4326"),t),this.a&&this.set(Yb,this.c(this.a)))},Ey.Rl=function(){var t;Xi&&((t=this.mh())&&void 0===this.f?this.f=navigator.geolocation.watchPosition(this.uo.bind(this),this.vo.bind(this),this.Wg()):t||void 0===this.f||(navigator.geolocation.clearWatch(this.f),this.f=void 0))},Ey.uo=function(t){t=t.coords,this.set(Xb,t.accuracy),this.set(Wb,null===t.altitude?void 0:t.altitude),this.set(zb,null===t.altitudeAccuracy?void 0:t.altitudeAccuracy),this.set(Hb,null===t.heading?void 0:d(t.heading)),this.a?(this.a[0]=t.longitude,this.a[1]=t.latitude):this.a=[t.longitude,t.latitude];var e=this.c(this.a);this.set(Yb,e),this.set(qb,null===t.speed?void 0:t.speed),(t=no(Jn,this.a,t.accuracy)).sc(this.c),this.set(Vb,t),this.s()},Ey.vo=function(t){t.type="error",this.ne(!1),this.b(t)},Ey.Tj=function(){return this.get(Xb)},Ey.Uj=function(){return this.get(Vb)||null},Ey.Wj=function(){return this.get(Wb)},Ey.Xj=function(){return this.get(zb)},Ey.Ol=function(){return this.get(Hb)},Ey.Pl=function(){return this.get(Yb)},Ey.lh=function(){return this.get(Zb)},Ey.Bk=function(){return this.get(qb)},Ey.mh=function(){return this.get(Jb)},Ey.Wg=function(){return this.get(_b)},Ey.nh=function(t){this.set(Zb,t)},Ey.ne=function(t){this.set(Jb,t)},Ey.Ci=function(t){this.set(_b,t)};var Xb="accuracy",Vb="accuracyGeometry",Wb="altitude",zb="altitudeAccuracy",Hb="heading",Yb="position",Zb="projection",qb="speed",Jb="tracking",_b="trackingOptions";function $b(t,e,o){Ae.call(this),this.dg(t,e||0,o)}function Qb(t){var e=t.B[t.a]-t.B[0];return e*e+(t=t.B[t.a+1]-t.B[1])*t}function tm(t,e,o){for(var i,r,n,s,p,a=[],h=t(0),l=t(1),u=e(h),c=e(l),y=[l,h],f=[c,u],g=[1,0],d={},v=1e5;0<--v&&0<g.length;)n=g.pop(),h=y.pop(),u=f.pop(),(l=n.toString())in d||(a.push(u[0],u[1]),d[l]=!0),s=g.pop(),l=y.pop(),c=f.pop(),m((r=e(i=t(p=(n+s)/2)))[0],r[1],u[0],u[1],c[0],c[1])<o?(a.push(c[0],c[1]),d[l=s.toString()]=!0):(g.push(s,p,p,n),f.push(c,r,r,u),y.push(l,i,i,h));return a}function em(t){t=t||{},this.c=this.l=null,this.g=this.i=1/0,this.f=this.j=-1/0,this.A=this.u=1/0,this.D=this.C=-1/0,this.va=void 0!==t.targetSize?t.targetSize:100,this.L=void 0!==t.maxLines?t.maxLines:100,this.b=[],this.a=[],this.ra=void 0!==t.strokeStyle?t.strokeStyle:om,this.H=this.o=void 0,this.v=null,this.setMap(void 0!==t.map?t.map:null)}i($b,Ae),(Ey=$b.prototype).clone=function(){var t=new $b(null);return Ce(t,this.ka,this.B.slice()),t.s(),t},Ey.Ab=function(t,e,o,i){var r=this.B;t-=r[0];var n=e-r[1];if((e=t*t+n*n)<i){if(0===e)for(i=0;i<this.a;++i)o[i]=r[i];else for(i=this.qe()/Math.sqrt(e),o[0]=r[0]+i*t,o[1]=r[1]+i*n,i=2;i<this.a;++i)o[i]=r[i];return o.length=this.a,e}return i},Ey.Hc=function(t,e){var o=this.B,t=t-o[0];return t*t+(o=e-o[1])*o<=Qb(this)},Ey.Fd=function(){return this.B.slice(0,this.a)},Ey.Yd=function(t){var e=this.B,o=e[this.a]-e[0];return Lt(e[0]-o,e[1]-o,e[0]+o,e[1]+o,t)},Ey.qe=function(){return Math.sqrt(Qb(this))},Ey.Y=function(){return"Circle"},Ey.Ta=function(t){var e=this.G();return!!Zt(t,e)&&(e=this.Fd(),t[0]<=e[0]&&t[2]>=e[0]||t[1]<=e[1]&&t[3]>=e[1]||Dt(t,this.mb,this))},Ey.nm=function(t){var e,o=this.a,i=t.slice();for(i[o]=i[0]+(this.B[o]-this.B[0]),e=1;e<o;++e)i[o+e]=t[e];Ce(this,this.ka,i),this.s()},Ey.dg=function(t,e,o){if(t){var i;for(je(this,o,t,0),this.B||(this.B=[]),t=De(o=this.B,t),o[t++]=o[0]+e,e=1,i=this.a;e<i;++e)o[t++]=o[e];o.length=t}else Ce(this,"XY",null);this.s()},Ey.om=function(t){this.B[this.a]=this.B[0]+t,this.s()};var om=new Ws({color:"rgba(0,0,0,0.2)"}),im=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];function rm(t,e,o,i,r,n,s){var p,a,h,l=s;return p=e,a=o,h=i,i=t.c,r=r,e=tm(function(t){return[p,a+(h-a)*t]},ve(ge("EPSG:4326"),i),r),(l=void 0!==t.b[l]?t.b[l]:new cc(null)).da("XY",e),Zt(l.G(),n)&&(t.b[s++]=l),s}function nm(t,e,o,i,r){var n,s,p,a,h=r;return n=e,s=t.f,p=t.g,a=t.c,o=o,e=tm(function(t){return[s+(p-s)*t,n]},ve(ge("EPSG:4326"),a),o),(h=void 0!==t.a[h]?t.a[h]:new cc(null)).da("XY",e),Zt(h.G(),i)&&(t.a[r++]=h),r}function sm(t,e,o,i,r){br.call(this,t,e),this.l=o,this.g=new Image,null!==i&&(this.g.crossOrigin=i),this.i=null,this.o=r}function pm(t){t.i.forEach(E),t.i=null}function am(t){t=t||{},jr.call(this,{handleEvent:$t}),this.i=t.formatConstructors||[],this.l=t.projection?ge(t.projection):null,this.a=null,this.target=t.target||null}function hm(t){for(var e,o=0,i=(t=t.dataTransfer.files).length;o<i;++o){e=t.item(o);var r=new FileReader;r.addEventListener("load",this.j.bind(this,e)),r.readAsText(e)}}function lm(t){t.stopPropagation(),t.preventDefault(),t.dataTransfer.dropEffect="copy"}(Ey=em.prototype).Sl=function(){return this.l},Ey.qk=function(){return this.b},Ey.xk=function(){return this.a},Ey.ah=function(t){var e,o,i,r,n,s,p,a,h,l,u=t.vectorContext,c=t.frameState,y=c.extent,f=(t=c.viewState).center,g=t.projection,d=t.resolution;for(t=d*d/(4*(t=c.pixelRatio)*t),this.c&&de(this.c,g)||(e=ge("EPSG:4326"),o=g.G(),l=Se(i=g.i,e,g),r=i[2],n=i[1],s=i[0],p=l[3],a=l[2],h=l[1],l=l[0],this.i=i[3],this.g=r,this.j=n,this.f=s,this.u=p,this.A=a,this.C=h,this.D=l,this.o=ve(e,g),this.H=ve(g,e),this.v=this.H(Kt(o)),this.c=g),g.a&&(e=Yt(g=g.G()),(c=c.focus[0])<g[0]||c>g[2])&&(c=e*Math.ceil((g[0]-c)/e),y=[y[0]+c,y[1],y[2]+c,y[3]]),c=this.v[0],g=this.v[1],e=-1,i=Math.pow(this.va*d,2),r=[],n=[],d=0,o=im.length;d<o&&(s=im[d]/2,r[0]=c-s,r[1]=g-s,n[0]=c+s,n[1]=g+s,this.o(r,r),this.o(n,n),!((s=Math.pow(n[0]-r[0],2)+Math.pow(n[1]-r[1],2))<=i));++d)e=im[d];if(-1==(d=e))this.b.length=this.a.length=0;else{for(f=(c=this.H(f))[0],c=c[1],g=this.L,i=(e=Se(e=[Math.max(y[0],this.D),Math.max(y[1],this.C),Math.min(y[2],this.A),Math.min(y[3],this.u)],this.c,"EPSG:4326"))[3],n=e[1],o=rm(this,r=v(f=Math.floor(f/d)*d,this.f,this.g),n,i,t,y,0),e=0;r!=this.f&&e++<g;)o=rm(this,r=Math.max(r-d,this.f),n,i,t,y,o);for(r=v(f,this.f,this.g),e=0;r!=this.g&&e++<g;)o=rm(this,r=Math.min(r+d,this.g),n,i,t,y,o);for(this.b.length=o,o=nm(this,f=v(c=Math.floor(c/d)*d,this.j,this.i),t,y,0),e=0;f!=this.j&&e++<g;)o=nm(this,f=Math.max(f-d,this.j),t,y,o);for(f=v(c,this.j,this.i),e=0;f!=this.i&&e++<g;)o=nm(this,f=Math.min(f+d,this.i),t,y,o);this.a.length=o}for(u.Ma(null,this.ra),t=0,f=this.b.length;t<f;++t)d=this.b[t],u.Pb(d,null);for(t=0,f=this.a.length;t<f;++t)d=this.a[t],u.Pb(d,null)},Ey.setMap=function(t){this.l&&(this.l.K("postcompose",this.ah,this),this.l.render()),t&&(t.J("postcompose",this.ah,this),t.render()),this.l=t},i(sm,br),(Ey=sm.prototype).oa=function(){1==this.state&&pm(this),this.a&&N(this.a),this.state=5,this.s(),br.prototype.oa.call(this)},Ey.ub=function(){return this.g},Ey.bb=function(){return this.l},Ey.Tl=function(){this.state=3,pm(this),this.s()},Ey.Ul=function(){this.state=this.g.naturalWidth&&this.g.naturalHeight?wr:4,pm(this),this.s()},Ey.load=function(){0!=this.state&&3!=this.state||(this.state=1,this.s(),this.i=[T(this.g,"error",this.Tl,this),T(this.g,"load",this.Ul,this)],this.o(this,this.l))},i(am,jr),am.prototype.j=function(t,e){for(var o=e.target.result,i=this.v,r=(r=this.l)||i.aa().o,n=[],s=0,p=(i=this.i).length;s<p;++s){var a=new i[s],h={featureProjection:r};try{n=a.La(o,h)}catch(t){n=null}if(n&&0<n.length)break}this.b(new cm(um,t,n,r))},am.prototype.setMap=function(t){this.a&&(this.a.forEach(E),this.a=null),jr.prototype.setMap.call(this,t),t&&(t=this.target||t.f,this.a=[P(t,"drop",hm,this),P(t,"dragenter",lm,this),P(t,"dragover",lm,this),P(t,"drop",lm,this)])};var um="addfeatures";function cm(t,e,o,i){I.call(this,t),this.features=o,this.file=e,this.projection=i}function ym(t){t=t||{},zr.call(this,{handleDownEvent:dm,handleDragEvent:fm,handleUpEvent:gm}),this.o=t.condition||Kr,this.a=this.i=void 0,this.j=0,this.u=void 0!==t.duration?t.duration:400}function fm(t){var e,o,i;Vr(t)&&(o=(e=t.map).nb(),t=(i=t.pixel)[0]-o[0]/2,i=o[1]/2-i[1],o=Math.atan2(i,t),t=Math.sqrt(t*t+i*i),e=e.aa(),void 0!==this.i&&(i=o-this.i,Lr(e,e.Ra()-i)),this.i=o,void 0!==this.a&&(o=this.a*(e.Oa()/t),Nr(e,o)),void 0!==this.a&&(this.j=this.a/t),this.a=t)}function gm(t){if(!Vr(t))return!0;vo(t=t.map.aa(),1,-1);var e=this.j-1,o=t.Ra(),o=t.constrainRotation(o,0);Lr(t,o,void 0,void 0);var o=t.Oa(),i=this.u,o=t.constrainResolution(o,0,e);return Nr(t,o,void 0,i),this.j=0,!1}function dm(t){return!(!Vr(t)||!this.o(t))&&(vo(t.map.aa(),1,1),!(this.a=this.i=void 0))}function vm(){return[[-1/0,-1/0,1/0,1/0]]}function bm(t){cl.call(this,{attributions:(t=t||{}).attributions,logo:t.logo,projection:void 0,state:"ready",wrapX:void 0===t.wrapX||t.wrapX}),this.U=p,this.P=t.format,this.xa=null==t.overlaps||t.overlaps,this.Z=t.url,void 0!==t.loader?this.U=t.loader:void 0!==this.Z&&(O(this.P,7),this.U=ic(this.Z,this.P)),this.fc=void 0!==t.strategy?t.strategy:vm;var e,o,i,r,n=void 0===t.useSpatialIndex||t.useSpatialIndex;this.a=n?new Mh:null,this.sa=new Mh,this.i={},this.l={},this.o={},this.v={},this.c=null,t.features instanceof Xo?e=(o=t.features).a:Array.isArray(t.features)&&(e=t.features),n||void 0!==o||(o=new Xo(e)),void 0!==e&&xm(this,e),void 0!==o&&(i=o,r=!1,P(o=this,Pm,function(t){r||(r=!0,i.push(t.feature),r=!1)}),P(o,Em,function(t){r||(r=!0,i.remove(t.feature),r=!1)}),P(i,zo,function(t){r||(r=!0,this.gb(t.element),r=!1)},o),P(i,Ho,function(t){r||(r=!0,this.rb(t.element),r=!1)},o),o.c=i)}function mm(t,e,o){t.v[e]=[P(o,"change",t.Mh,t),P(o,H,t.Mh,t)]}function wm(t,e,o){var i=!0,r=o.f;return void 0!==r?r.toString()in t.l?i=!1:t.l[r.toString()]=o:(O(!(e in t.o),30),t.o[e]=o),i}function xm(t,e){for(var o,i,r=[],n=[],s=[],p=0,a=e.length;p<a;p++)wm(t,o=B(i=e[p]).toString(),i)&&n.push(i);for(p=0,a=n.length;p<a;p++){mm(t,o=B(i=n[p]).toString(),i);var h=i.V();h?(o=h.G(),r.push(o),s.push(i)):t.i[o]=i}for(t.a&&t.a.load(r,s),p=0,a=n.length;p<a;p++)t.b(new Mm(Pm,n[p]))}function Sm(t,e){for(var o in t.l)if(t.l[o]===e){delete t.l[o];break}}function Mm(t,e){I.call(this,t),this.feature=e}i(cm,I),i(ym,zr),i(bm,cl),(Ey=bm.prototype).gb=function(t){var e,o=B(t).toString();wm(this,o,t)&&(mm(this,o,t),(e=t.V())?(o=e.G(),this.a&&this.a.Da(o,t)):this.i[o]=t,this.b(new Mm(Pm,t))),this.s()},Ey.Tc=function(t){xm(this,t),this.s()},Ey.clear=function(t){if(t){for(var e in this.v)this.v[e].forEach(E);this.c||(this.v={},this.l={},this.o={})}else if(this.a)for(var o in this.a.forEach(this.$f,this),this.i)this.$f(this.i[o]);this.c&&this.c.clear(),this.a&&this.a.clear(),this.sa.clear(),this.i={},this.b(new Mm(Am)),this.s()},Ey.Fg=function(t,e){return this.a?this.a.forEach(t,e):this.c?this.c.forEach(t,e):void 0},Ey.Qb=function(t,e,o){return this.a?Eh(this.a,t,e,o):this.c?this.c.forEach(e,o):void 0},Ey.Gg=function(e,o,i){return this.Qb(e,function(t){if(t.V().Ta(e)&&(t=o.call(i,t)))return t})},Ey.Og=function(){return this.c},Ey.we=function(){var t;return this.c?t=this.c.a:this.a&&(t=Th(this.a),U(this.i)||_(t,x(this.i))),t},Ey.Ng=function(t){var e,o,i=[];return e=t,o=function(t){i.push(t)},this.Qb([e[0],e[1],e[0],e[1]],function(t){if(t.V().mb(e))return o.call(void 0,t)}),i},Ey.nf=function(t){return Ah(this.a,t)},Ey.Jg=function(t,e){var i=t[0],r=t[1],n=null,s=[NaN,NaN],p=1/0,a=[-1/0,-1/0,1/0,1/0],h=e||$t;return Eh(this.a,a,function(t){var e,o;h(t)&&(e=t.V(),o=p,(p=e.Ab(i,r,s,p))<o&&(n=t,t=Math.sqrt(p),a[0]=i-t,a[1]=r-t,a[2]=i+t,a[3]=r+t))}),n},Ey.G=function(){return this.a.G()},Ey.Mg=function(t){return void 0!==(t=this.l[t.toString()])?t:null},Ey.Kh=function(){return this.P},Ey.Lh=function(){return this.Z},Ey.Mh=function(t){var e=B(t=t.target).toString(),o=t.V();o?(o=o.G(),e in this.i?(delete this.i[e],this.a&&this.a.Da(o,t)):this.a&&Ph(this.a,o,t)):e in this.i||(this.a&&this.a.remove(t),this.i[e]=t),void 0!==(o=t.f)?(o=o.toString(),e in this.o?(delete this.o[e],this.l[o]=t):this.l[o]!==t&&(Sm(this,t),this.l[o]=t)):e in this.o||(Sm(this,t),this.o[e]=t),this.s(),this.b(new Mm(Tm,t))},Ey.Ed=function(t,e,o){for(var i=this.sa,r=0,n=(t=this.fc(t,e)).length;r<n;++r){var s=t[r];Eh(i,s,function(t){return At(t.extent,s)})||(this.U.call(this,s,e,o),i.Da(s,{extent:s.slice()}))}},Ey.rb=function(t){var e=B(t).toString();e in this.i?delete this.i[e]:this.a&&this.a.remove(t),this.$f(t),this.s()},Ey.$f=function(t){var e=B(t).toString();this.v[e].forEach(E),delete this.v[e];var o=t.f;void 0!==o?delete this.l[o.toString()]:delete this.o[e],this.b(new Mm(Em,t))},i(Mm,I);var Pm="addfeature",Tm="changefeature",Am="clear",Em="removefeature";function Cm(t){var e;zr.call(this,{handleDownEvent:Lm,handleEvent:jm,handleUpEvent:Rm}),this.fa=null,this.u=!1,this.Ua=t.source||null,this.xa=t.features||null,this.Mj=t.snapTolerance||12,this.U=t.type,this.i=("Point"===(e=this.U)||"MultiPoint"===e?n=Bm:"LineString"===e||"MultiLineString"===e?n=Um:"Polygon"===e||"MultiPolygon"===e?n=Gm:"Circle"===e&&(n=Km),n),this.Fa=t.minPoints||(this.i===Gm?3:2),this.na=t.maxPoints||1/0,this.fc=t.finishCondition||$t;var o,i,r,n=(n=t.geometryFunction)||("Circle"===this.U?function(t,e){e=e||new $b([NaN,NaN]);return e.dg(t[0],Math.sqrt(yt(t[0],t[1]))),e}:((i=this.i)===Bm?o=He:i===Um?o=cc:i===Gm&&(o=io),function(t,e){return e?i===Gm?e.qa([t[0].concat([t[0][0]])]):e.qa(t):e=new o(t),e}));this.D=n,this.P=this.C=this.a=this.L=this.j=this.o=null,this.Ob=t.clickTolerance?t.clickTolerance*t.clickTolerance:36,this.sa=new _s({source:new bm({useSpatialIndex:!1,wrapX:t.wrapX||!1}),style:t.style||(r=qs(),function(t){return r[t.V().Y()]})}),this.Ja=t.geometryName,this.Lj=t.condition||Gr,this.Xe=t.freehand?$t:t.freehandCondition||Kr,P(this,W(Ir),this.Li,this)}function jm(t){this.u=this.i!==Bm&&this.Xe(t);var e=!this.u;return this.u&&"pointerdrag"===t.type&&null!==this.j?(km(this,t),e=!1):"pointermove"===t.type?e=Nm(this,t):"dblclick"===t.type&&(e=!1),Yr.call(this,t)&&e}function Lm(t){return this.u?(this.fa=t.pixel,this.o||Fm(this,t),!0):!!this.Lj(t)&&(this.fa=t.pixel,!0)}function Rm(t){var e=this.fa,o=t.pixel,i=(i=e[0]-o[0])*i+(e=e[1]-o[1])*e,e=!0,o=this.i===Km;return(this.u?i>this.Ob:i<=this.Ob)?(Nm(this,t),this.o?this.u||o?this.zd():Im(this,t)?this.fc(t)&&this.zd():km(this,t):(Fm(this,t),this.i===Bm&&this.zd()),e=!1):o&&(this.o=null),e}function Nm(t,e){var o,i,r;return t.o?(o=e.coordinate,i=t.j.V(),t.i===Bm?r=t.a:t.i===Gm?(r=(r=t.a[0])[r.length-1],Im(t,e)&&(o=t.o.slice())):r=(r=t.a)[r.length-1],r[0]=o[0],r[1]=o[1],t.D(t.a,i),t.L&&t.L.V().qa(o),i instanceof io&&t.i!==Gm?(t.C||(t.C=new Fu(new cc(null))),i=i.Qg(0),(o=t.C.V()).da(i.ka,i.ia())):t.P&&(o=t.C.V()).qa(t.P),Dm(t)):(o=e.coordinate.slice(),t.L?t.L.V().qa(o):(t.L=new Fu(new He(o)),Dm(t))),!0}function Im(t,e){var o=!1;if(t.j){var i=!1,r=[t.o];if(t.i===Um?i=t.a.length>t.Fa:t.i===Gm&&(i=t.a[0].length>t.Fa,r=[t.a[0][0],t.a[0][t.a[0].length-2]]),i)for(var i=e.map,n=0,s=r.length;n<s;n++){var p=r[n],a=i.Ga(p),h=e.pixel,o=h[0]-a[0],a=h[1]-a[1];if(o=Math.sqrt(o*o+a*a)<=(t.u?1:t.Mj)){t.o=p;break}}}return o}function Fm(t,e){e=e.coordinate;t.o=e,t.i===Bm?t.a=e.slice():t.i===Gm?(t.a=[[e.slice(),e.slice()]],t.P=t.a[0]):(t.a=[e.slice(),e.slice()],t.i===Km&&(t.P=t.a)),t.P&&(t.C=new Fu(new cc(t.P))),e=t.D(t.a),t.j=new Fu,t.Ja&&t.j.Nc(t.Ja),t.j.Pa(e),Dm(t),t.b(new Xm(Vm,t.j))}function km(t,e){var o,i,r=e.coordinate,e=t.j.V();t.i===Um?(t.o=r.slice(),(i=t.a).length>=t.na&&(t.u?i.pop():o=!0),i.push(r.slice()),t.D(i,e)):t.i===Gm&&((i=t.a[0]).length>=t.na&&(t.u?i.pop():o=!0),i.push(r.slice()),o&&(t.o=i[0]),t.D(t.a,e)),Dm(t),o&&t.zd()}function Om(t){t.o=null;var e=t.j;return e&&(t.j=null,t.L=null,t.C=null,t.sa.la().clear(!0)),e}function Dm(t){var e=[];t.j&&e.push(t.j),t.C&&e.push(t.C),t.L&&e.push(t.L),(t=t.sa.la()).clear(!0),t.Tc(e)}i(Cm,zr),(Ey=Cm.prototype).setMap=function(t){zr.prototype.setMap.call(this,t),this.Li()},Ey.Vo=function(){var t,e=this.j.V();this.i===Um?((t=this.a).splice(-2,1),this.D(t,e)):this.i===Gm&&((t=this.a[0]).splice(-2,1),this.C.V().qa(t),this.D(this.a,e)),0===t.length&&(this.o=null),Dm(this)},Ey.zd=function(){var t=Om(this),e=this.a,o=t.V();this.i===Um?(e.pop(),this.D(e,o)):this.i===Gm&&(e[0].pop(),this.D(e,o),e=o.$()),"MultiPoint"===this.U?t.Pa(new vc([e])):"MultiLineString"===this.U?t.Pa(new fc([e])):"MultiPolygon"===this.U&&t.Pa(new bc([e])),this.b(new Xm(Wm,t)),this.xa&&this.xa.push(t),this.Ua&&this.Ua.gb(t)},Ey.vm=function(t){var e=t.V();this.j=t,this.a=e.$(),t=this.a[this.a.length-1],this.o=t.slice(),this.a.push(t.slice()),Dm(this),this.b(new Xm(Vm,this.j))},Ey.Qc=Qt,Ey.Li=function(){var t=this.v,e=this.f();t&&e||Om(this),this.sa.setMap(e?t:null)};var Bm="Point",Um="LineString",Gm="Polygon",Km="Circle";function Xm(t,e){I.call(this,t),this.feature=e}i(Xm,I);var Vm="drawstart",Wm="drawend";function zm(t){var e,o;this.a=this.j=null,this.C=!1,this.D=this.o=null,(t=t||{}).extent&&this.i(t.extent),zr.call(this,{handleDownEvent:Ym,handleDragEvent:Zm,handleEvent:Hm,handleUpEvent:qm}),this.u=new _s({source:new bm({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.boxStyle||(e=qs(),function(){return e.Polygon}),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.L=new _s({source:new bm({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.pointerStyle||(o=qs(),function(){return o.Point}),updateWhileAnimating:!0,updateWhileInteracting:!0})}function Hm(t){return!(t instanceof Ci)||("pointermove"!=t.type||this.A||Qm(this,$m(this,e=t.pixel,o=t.map)||o.Sa(e)),Yr.call(this,t),!1);var e,o}function Ym(t){function e(t){var e=null,o=null;return t[0]==r[0]?e=r[2]:t[0]==r[2]&&(e=r[0]),t[1]==r[1]?o=r[3]:t[1]==r[3]&&(o=r[1]),null!==e&&null!==o?[e,o]:null}var o=t.pixel,i=t.map,r=this.G();return(t=$m(this,o,i))&&r?(o=t[0]==r[0]||t[0]==r[2]?t[0]:null,i=t[1]==r[1]||t[1]==r[3]?t[1]:null,null!==o&&null!==i?this.a=Jm(e(t)):null!==o?this.a=_m(e([o,r[1]]),e([o,r[3]])):null!==i&&(this.a=_m(e([r[0],i]),e([r[2],i])))):(t=i.Sa(o),this.i([t[0],t[1],t[0],t[1]]),this.a=Jm(t)),!0}function Zm(t){return this.a&&(t=t.coordinate,this.i(this.a(t)),Qm(this,t)),!0}function qm(){this.a=null;var t=this.G();return t&&0!==Bt(t)||this.i(null),!1}function Jm(e){return function(t){return xt([e,t])}}function _m(e,o){return e[0]==o[0]?function(t){return xt([e,[t[0],o[1]]])}:e[1]==o[1]?function(t){return xt([e,[o[0],t[1]]])}:null}function $m(t,e,o){var i=o.Sa(e);if(r=t.G()){(r=[[[r[0],r[1]],[r[0],r[3]]],[[r[0],r[3]],[r[2],r[3]]],[[r[2],r[3]],[r[2],r[1]]],[[r[2],r[1]],[r[0],r[1]]]]).sort(function(t,e){return ft(i,t)-ft(i,e)});var r=r[0],n=pt(i,r),s=o.Ga(n);if(Math.sqrt(yt(e,s))<=10)return e=o.Ga(r[0]),o=o.Ga(r[1]),e=yt(s,e),o=yt(s,o),t.C=Math.sqrt(Math.min(e,o))<=10,t.C&&(n=o<e?r[1]:r[0]),n}return null}function Qm(t,e){var o=t.D;o?o.V().qa(e):(o=new Fu(new He(e)),t.D=o,t.L.la().gb(o))}function tw(t){I.call(this,ew),this.b=t}i(zm,zr),zm.prototype.setMap=function(t){this.u.setMap(t),this.L.setMap(t),zr.prototype.setMap.call(this,t)},zm.prototype.G=function(){return this.j},zm.prototype.i=function(t){this.j=t||null;var e=this.o;e?t?e.Pa(so(t)):e.Pa(void 0):(this.o=e=new Fu(t?so(t):{}),this.u.la().gb(e)),this.b(new tw(this.j))},i(tw,I);var ew="extentchanged";function ow(t){var e;zr.call(this,{handleDownEvent:pw,handleDragEvent:aw,handleEvent:lw,handleUpEvent:hw}),this.Ua=t.condition||Wr,this.xa=function(t){return Gr(t)&&Ur(t)},this.Ja=t.deleteCondition||this.xa,this.Fa=this.a=null,this.sa=[0,0],this.C=this.L=!1,this.i=new Mh,this.fa=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.o=this.na=!1,this.j=[],this.D=new _s({source:new bm({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.style||(e=qs(),function(){return e.Point}),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.U={Point:this.Cm,LineString:this.uh,LinearRing:this.uh,Polygon:this.Dm,MultiPoint:this.Am,MultiLineString:this.zm,MultiPolygon:this.Bm,GeometryCollection:this.ym},this.u=t.features,this.u.forEach(this.Gf,this),P(this.u,zo,this.wm,this),P(this.u,Ho,this.xm,this),this.P=null}function iw(t,e){t.C||(t.C=!0,t.b(new yw(fw,t.u,e)))}function rw(t,e){!function(t,e){var o=t.i,i=[];o.forEach(function(t){e===t.feature&&i.push(t)});for(var r=i.length-1;0<=r;--r)o.remove(i[r])}(t,e),t.a&&0===t.u.Ub()&&(t.D.la().rb(t.a),t.a=null),A(e,"change",t.th,t)}function nw(t,e){var o=t.a;o?o.V().qa(e):(o=new Fu(new He(e)),t.a=o,t.D.la().gb(o))}function sw(t,e){return t.index-e.index}function pw(t){if(!this.Ua(t))return!1;if(uw(this,t.pixel,t.map),this.j.length=0,this.C=!1,e=this.a){var e,o=[],i=xt([e=e.V().$()]),r={};(i=Ah(this.i,i)).sort(sw);for(var n=0,s=i.length;n<s;++n){var p=i[n],a=p.ta,h=B(p.feature),l=p.depth;l&&(h+="-"+l.join("-")),r[h]||(r[h]=Array(2)),lt(a[0],e)&&!r[h][0]?(this.j.push([p,0]),r[h][0]=p):lt(a[1],e)&&!r[h][1]?("LineString"===p.geometry.Y()||"MultiLineString"===p.geometry.Y())&&r[h][0]&&0===r[h][0].index||(this.j.push([p,1]),r[h][1]=p):B(a)in this.Fa&&!r[h][0]&&!r[h][1]&&o.push([p,e])}for(o.length&&iw(this,t),t=o.length-1;0<=t;--t)this.pl.apply(this,o[t])}return!!this.a}function aw(t){this.L=!1,iw(this,t),t=t.coordinate;for(var e=0,o=this.j.length;e<o;++e){for(var i=(a=this.j[e])[0],r=i.depth,n=i.geometry,s=n.$(),p=i.ta,a=a[1];t.length<n.pa();)t.push(p[a][t.length]);switch(n.Y()){case"Point":s=t,p[0]=p[1]=t;break;case"MultiPoint":s[i.index]=t,p[0]=p[1]=t;break;case"LineString":s[i.index+a]=t,p[a]=t;break;case"MultiLineString":case"Polygon":s[r[0]][i.index+a]=t,p[a]=t;break;case"MultiPolygon":s[r[1]][r[0]][i.index+a]=t,p[a]=t}i=n,this.o=!0,i.qa(s),this.o=!1}nw(this,t)}function hw(t){for(var e,o=this.j.length-1;0<=o;--o)e=this.j[o][0],Ph(this.i,xt(e.ta),e);return this.C&&(this.b(new yw(gw,this.u,t)),this.C=!1),!1}function lw(t){return!(t instanceof Ci)||(yo((this.P=t).map.aa())[1]||"pointermove"!=t.type||this.A||(this.sa=t.pixel,uw(this,t.pixel,t.map)),this.a&&this.Ja(t)&&(e=!("singleclick"!=t.type||!this.L)||this.ki()),"singleclick"==t.type&&(this.L=!1),Yr.call(this,t)&&!e);var e}function uw(t,e,o){var i=o.Sa(e),r=St(Rt(i),o.aa().Oa()*t.fa);if(0<(r=Ah(t.i,r)).length){r.sort(function(t,e){return ft(i,t.ta)-ft(i,e.ta)});var n=r[0].ta,s=pt(i,n),p=o.Ga(s);if(Math.sqrt(yt(e,p))<=t.fa){for(e=o.Ga(n[0]),o=o.Ga(n[1]),e=yt(p,e),p=yt(p,o),t.na=Math.sqrt(Math.min(e,p))<=t.fa,t.na&&(s=p<e?n[1]:n[0]),nw(t,s),(s={})[B(n)]=!0,o=1,e=r.length;o<e&&(p=r[o].ta,lt(n[0],p[0])&<(n[1],p[1])||lt(n[0],p[1])&<(n[1],p[0]));++o)s[B(p)]=!0;return void(t.Fa=s)}}t.a&&(t.D.la().rb(t.a),t.a=null)}function cw(t,e,o,i,r){Eh(t.i,e.G(),function(t){t.geometry===e&&(void 0===i||void 0===t.depth||Q(t.depth,i))&&t.index>o&&(t.index+=r)})}function yw(t,e,o){I.call(this,t),this.features=e,this.mapBrowserEvent=o}i(ow,zr),(Ey=ow.prototype).Gf=function(t){var e=t.V();e&&e.Y()in this.U&&this.U[e.Y()].call(this,t,e),(e=this.v)&&e.a&&uw(this,this.sa,e),P(t,"change",this.th,this)},Ey.Ea=function(t){this.a&&!t&&(this.D.la().rb(this.a),this.a=null),zr.prototype.Ea.call(this,t)},Ey.setMap=function(t){this.D.setMap(t),zr.prototype.setMap.call(this,t)},Ey.wm=function(t){this.Gf(t.element)},Ey.th=function(t){this.o||(rw(this,t=t.target),this.Gf(t))},Ey.xm=function(t){rw(this,t.element)},Ey.Cm=function(t,e){var o=e.$(),o={feature:t,geometry:e,ta:[o,o]};this.i.Da(e.G(),o)},Ey.Am=function(t,e){for(var o,i=e.$(),r=0,n=i.length;r<n;++r)o={feature:t,geometry:e,depth:[r],index:r,ta:[o=i[r],o]},this.i.Da(e.G(),o)},Ey.uh=function(t,e){for(var o,i,r=e.$(),n=0,s=r.length-1;n<s;++n)i={feature:t,geometry:e,index:n,ta:o=r.slice(n,n+2)},this.i.Da(xt(o),i)},Ey.zm=function(t,e){for(var o,i,r,n,s,p=e.$(),a=0,h=p.length;a<h;++a)for(i=0,r=(o=p[a]).length-1;i<r;++i)s={feature:t,geometry:e,depth:[a],index:i,ta:n=o.slice(i,i+2)},this.i.Da(xt(n),s)},Ey.Dm=function(t,e){for(var o,i,r,n,s,p=e.$(),a=0,h=p.length;a<h;++a)for(i=0,r=(o=p[a]).length-1;i<r;++i)s={feature:t,geometry:e,depth:[a],index:i,ta:n=o.slice(i,i+2)},this.i.Da(xt(n),s)},Ey.Bm=function(t,e){for(var o,i,r,n,s,p,a,h,l=e.$(),u=0,c=l.length;u<c;++u)for(n=0,s=(p=l[u]).length;n<s;++n)for(i=0,r=(o=p[n]).length-1;i<r;++i)h={feature:t,geometry:e,depth:[n,u],index:i,ta:a=o.slice(i,i+2)},this.i.Da(xt(a),h)},Ey.ym=function(t,e){for(var o=e.f,i=0;i<o.length;++i)this.U[o[i].Y()].call(this,t,o[i])},Ey.pl=function(t,e){for(var o,i=t.ta,r=t.feature,n=t.geometry,s=t.depth,p=t.index;e.length<n.pa();)e.push(0);switch(n.Y()){case"MultiLineString":case"Polygon":(o=n.$())[s[0]].splice(p+1,0,e);break;case"MultiPolygon":(o=n.$())[s[1]][s[0]].splice(p+1,0,e);break;case"LineString":(o=n.$()).splice(p+1,0,e);break;default:return}this.o=!0,n.qa(o),this.o=!1,(o=this.i).remove(t),cw(this,n,p,s,1);t={ta:[i[0],e],feature:r,geometry:n,depth:s,index:p};o.Da(xt(t.ta),t),this.j.push([t,1]),i={ta:[e,i[1]],feature:r,geometry:n,depth:s,index:p+1},o.Da(xt(i.ta),i),this.j.push([i,0]),this.L=!0},Ey.ki=function(){if(this.P&&"pointerdrag"!=this.P.type){var t=this.P;iw(this,t);for(var e,o,i,r,n,s,p,a,h=this.j,l={},u=h.length-1;0<=u;--u)a=B((p=(r=h[u])[0]).feature),p.depth&&(a+="-"+p.depth.join("-")),a in l||(l[a]={}),0===r[1]?(l[a].right=p,l[a].index=p.index):1==r[1]&&(l[a].left=p,l[a].index=p.index+1);for(a in l){switch(s=l[a].right,u=l[a].left,(n=(r=l[a].index)-1)<0&&(n=0),o=i=(h=(p=void 0!==u?u:s).geometry).$(),e=!1,h.Y()){case"MultiLineString":2<i[p.depth[0]].length&&(i[p.depth[0]].splice(r,1),e=!0);break;case"LineString":2<i.length&&(i.splice(r,1),e=!0);break;case"MultiPolygon":o=o[p.depth[1]];case"Polygon":4<(o=o[p.depth[0]]).length&&(r==o.length-1&&(r=0),o.splice(r,1),e=!0,0===r&&(o.pop(),o.push(o[0]),n=o.length-1))}e&&(e=h,this.o=!0,e.qa(i),this.o=!1,i=[],void 0!==u&&(this.i.remove(u),i.push(u.ta[0])),void 0!==s&&(this.i.remove(s),i.push(s.ta[1])),void 0!==u&&void 0!==s&&(u={depth:p.depth,feature:p.feature,geometry:p.geometry,index:n,ta:i},this.i.Da(xt(u.ta),u)),cw(this,h,r,p.depth,-1),this.a&&(this.D.la().rb(this.a),this.a=null))}return this.b(new yw(gw,this.u,t)),!(this.C=!1)}return!1},i(yw,I);var fw="modifystart",gw="modifyend";function dw(t){var e,o;jr.call(this,{handleEvent:vw}),t=t||{},this.C=t.condition||Ur,this.A=t.addCondition||Qt,this.D=t.removeCondition||Qt,this.L=t.toggleCondition||Kr,this.o=t.multi||!1,this.l=t.filter||$t,this.j=t.hitTolerance||0,this.i=new _s({source:new bm({useSpatialIndex:!1,features:t.features,wrapX:t.wrapX}),style:t.style||(_((e=qs()).Polygon,e.LineString),_(e.GeometryCollection,e.LineString),function(t){return t.V()?e[t.V().Y()]:null}),updateWhileAnimating:!0,updateWhileInteracting:!0}),t=t.layers?"function"==typeof t.layers?t.layers:(o=t.layers,function(t){return q(o,t)}):$t,this.u=t,this.a={},P(t=this.i.la().c,zo,this.Em,this),P(t,Ho,this.Im,this)}function vw(t){if(!this.C(t))return!0;var i=this.A(t),r=this.D(t),n=this.L(t),e=!i&&!r&&!n,o=t.map,s=this.i.la().c,p=[],a=[];if(e){for(l(this.a),o.ae(t.pixel,function(t,e){if(this.l(t,e)){a.push(t);t=B(t);return this.a[t]=e,!this.o}}.bind(this),{layerFilter:this.u,hitTolerance:this.j}),e=s.Ub()-1;0<=e;--e){var o=s.item(e),h=a.indexOf(o);-1<h?a.splice(h,1):(s.remove(o),p.push(o))}0!==a.length&&s.Bf(a)}else{for(o.ae(t.pixel,function(t,e){var o;if(this.l(t,e))return!i&&!n||q(s.a,t)?(r||n)&&q(s.a,t)&&(p.push(t),o=B(t),delete this.a[o]):(a.push(t),o=B(t),this.a[o]=e),!this.o}.bind(this),{layerFilter:this.u,hitTolerance:this.j}),e=p.length-1;0<=e;--e)s.remove(p[e]);s.Bf(a)}return(0<a.length||0<p.length)&&this.b(new bw(mw,a,p,t)),Br(t)}function bw(t,e,o,i){I.call(this,t),this.selected=e,this.deselected=o,this.mapBrowserEvent=i}i(dw,jr),(Ey=dw.prototype).Fm=function(){return this.i.la().c},Ey.Gm=function(){return this.j},Ey.Hm=function(t){return t=B(t),this.a[t]},Ey.Jm=function(t){this.j=t},Ey.setMap=function(t){var e=this.v,o=this.i.la().c;e&&o.forEach(e.Ji,e),jr.prototype.setMap.call(this,t),this.i.setMap(t),t&&o.forEach(t.Di,t)},Ey.Em=function(t){var e=this.v;e&&e.Di(t.element)},Ey.Im=function(t){var e=this.v;e&&e.Ji(t.element)},i(bw,I);var mw="select";function ww(t){zr.call(this,{handleEvent:xw,handleDownEvent:$t,handleUpEvent:Sw}),t=t||{},this.o=t.source||null,this.sa=void 0===t.vertex||t.vertex,this.P=void 0===t.edge||t.edge,this.j=t.features||null,this.na=[],this.C={},this.D={},this.U={},this.u={},this.L=null,this.i=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.Fa=function(t,e){return ft(this.L,t.ta)-ft(this.L,e.ta)}.bind(this),this.a=new Mh,this.fa={Point:this.Pm,LineString:this.xh,LinearRing:this.xh,Polygon:this.Qm,MultiPoint:this.Nm,MultiLineString:this.Mm,MultiPolygon:this.Om,GeometryCollection:this.Lm}}function xw(t){var e,o=t.pixel,i=t.coordinate,r=t.map,n=r.Sa([o[0]-this.i,o[1]+this.i]),s=r.Sa([o[0]+this.i,o[1]-this.i]),n=xt([n,s]),p=Ah(this.a,n),n=!1,a=null;return s=null,0<p.length&&(this.L=i,p.sort(this.Fa),p=p[0].ta,this.sa&&!this.P?(i=r.Ga(p[0]),e=r.Ga(p[1]),i=yt(o,i),o=yt(o,e),(e=(e=Math.sqrt(Math.min(i,o)))<=this.i)&&(n=!0,a=o<i?p[1]:p[0],s=r.Ga(a))):this.P&&(a=pt(i,p),s=r.Ga(a),Math.sqrt(yt(o,s))<=this.i&&(n=!0,this.sa&&(i=r.Ga(p[0]),e=r.Ga(p[1]),i=yt(s,i),o=yt(s,e),e=(e=Math.sqrt(Math.min(i,o)))<=this.i)))&&(a=o<i?p[1]:p[0],s=r.Ga(a)),n&&(s=[Math.round(s[0]),Math.round(s[1])])),r=a,n&&(t.coordinate=r.slice(0,2),t.pixel=s),Yr.call(this,t)}function Sw(){var t=x(this.u);return t.length&&(t.forEach(this.Ki,this),this.u={}),!1}function Mw(t){var e,o;zr.call(this,{handleDownEvent:Pw,handleDragEvent:Aw,handleMoveEvent:Ew,handleUpEvent:Tw}),t=t||{},this.o=void 0,this.a=null,this.j=void 0!==t.features?t.features:null,o=t.layers?"function"==typeof t.layers?t.layers:(e=t.layers,function(t){return q(e,t)}):$t,this.C=o,this.u=t.hitTolerance||0,this.i=null}function Pw(t){if(this.i=Cw(this,t.pixel,t.map),this.a||!this.i)return!1;this.a=t.coordinate,Ew.call(this,t);var e=this.j||new Xo([this.i]);return this.b(new jw(Lw,e,t.coordinate)),!0}function Tw(t){if(this.a){this.a=null,Ew.call(this,t);var e=this.j||new Xo([this.i]);return this.b(new jw(Nw,e,t.coordinate)),!0}return!1}function Aw(t){var o,i,e;this.a&&(o=(t=t.coordinate)[0]-this.a[0],i=t[1]-this.a[1],(e=this.j||new Xo([this.i])).forEach(function(t){var e=t.V();e.translate(o,i),t.Pa(e)}),this.a=t,this.b(new jw(Rw,e,t)))}function Ew(t){var e=t.map.Cc();Cw(this,t.pixel,t.map)?(this.o=e.style.cursor,e.style.cursor=this.a?"-webkit-grabbing":"-webkit-grab",e.style.cursor=this.a?"grabbing":"grab"):(e.style.cursor=void 0!==this.o?this.o:"",this.o=void 0)}function Cw(t,e,o){return o.ae(e,function(t){if(!this.j||q(this.j.a,t))return t}.bind(t),{layerFilter:t.C,hitTolerance:t.u})}function jw(t,e,o){I.call(this,t),this.features=e,this.coordinate=o}i(ww,zr),(Ey=ww.prototype).gb=function(t,e){var o=void 0===e||e,i=B(t),r=t.V();!r||(e=this.fa[r.Y()])&&(this.U[i]=r.G(jt()),e.call(this,t,r),o&&(this.D[i]=P(r,"change",this.Pk.bind(this,t),this))),o&&(this.C[i]=P(t,W(t.a),this.Km,this))},Ey.Qj=function(t){this.gb(t)},Ey.Rj=function(t){this.rb(t)},Ey.vh=function(t){var e;t instanceof Mm?e=t.feature:t instanceof Yo&&(e=t.element),this.gb(e)},Ey.wh=function(t){var e;t instanceof Mm?e=t.feature:t instanceof Yo&&(e=t.element),this.rb(e)},Ey.Km=function(t){t=t.target,this.rb(t,!0),this.gb(t,!0)},Ey.Pk=function(t){var e;this.A?(e=B(t))in this.u||(this.u[e]=t):this.Ki(t)},Ey.rb=function(e,t){var o=void 0===t||t,t=B(e),i=this.U[t];if(i){var r=this.a,n=[];for(Eh(r,i,function(t){e===t.feature&&n.push(t)}),i=n.length-1;0<=i;--i)r.remove(n[i]);o&&(K(this.D[t]),delete this.D[t])}o&&(K(this.C[t]),delete this.C[t])},Ey.setMap=function(t){var e,o=this.v,i=this.na;this.j?e=this.j:this.o&&(e=this.o.we()),o&&(i.forEach(K),i.length=0,e.forEach(this.Rj,this)),zr.prototype.setMap.call(this,t),t&&(this.j?i.push(P(this.j,zo,this.vh,this),P(this.j,Ho,this.wh,this)):this.o&&i.push(P(this.o,Pm,this.vh,this),P(this.o,Em,this.wh,this)),e.forEach(this.Qj,this))},Ey.Qc=Qt,Ey.Ki=function(t){this.rb(t,!1),this.gb(t,!1)},Ey.Lm=function(t,e){for(var o=e.f,i=0;i<o.length;++i)this.fa[o[i].Y()].call(this,t,o[i])},Ey.xh=function(t,e){for(var o,i,r=e.$(),n=0,s=r.length-1;n<s;++n)i={feature:t,ta:o=r.slice(n,n+2)},this.a.Da(xt(o),i)},Ey.Mm=function(t,e){for(var o,i,r,n,s,p=e.$(),a=0,h=p.length;a<h;++a)for(i=0,r=(o=p[a]).length-1;i<r;++i)s={feature:t,ta:n=o.slice(i,i+2)},this.a.Da(xt(n),s)},Ey.Nm=function(t,e){for(var o,i=e.$(),r=0,n=i.length;r<n;++r)o={feature:t,ta:[o=i[r],o]},this.a.Da(e.G(),o)},Ey.Om=function(t,e){for(var o,i,r,n,s,p,a,h,l=e.$(),u=0,c=l.length;u<c;++u)for(n=0,s=(p=l[u]).length;n<s;++n)for(i=0,r=(o=p[n]).length-1;i<r;++i)h={feature:t,ta:a=o.slice(i,i+2)},this.a.Da(xt(a),h)},Ey.Pm=function(t,e){t={feature:t,ta:[t=e.$(),t]};this.a.Da(e.G(),t)},Ey.Qm=function(t,e){for(var o,i,r,n,s,p=e.$(),a=0,h=p.length;a<h;++a)for(i=0,r=(o=p[a]).length-1;i<r;++i)s={feature:t,ta:n=o.slice(i,i+2)},this.a.Da(xt(n),s)},i(Mw,zr),Mw.prototype.D=function(){return this.u},Mw.prototype.L=function(t){this.u=t},i(jw,I);var Lw="translatestart",Rw="translating",Nw="translateend";function Iw(t){var e=L({},t=t||{});delete e.gradient,delete e.radius,delete e.blur,delete e.shadow,delete e.weight,_s.call(this,e),this.f=null,this.U=void 0!==t.shadow?t.shadow:250,this.P=void 0,this.c=null,P(this,W(Ow),this.Qk,this),this.ui(t.gradient||Fw),this.ni(void 0!==t.blur?t.blur:15),this.Ah(void 0!==t.radius?t.radius:8),P(this,W(kw),this.xf,this),P(this,W(Dw),this.xf,this),this.xf();var o=t.weight||"weight",i="string"==typeof o?function(t){return t.get(o)}:o;this.l(function(t){var e=255*(t=void 0!==(t=i(t))?v(t,0,1):1)|0,o=this.c[e];return o||(o=[new zs({image:new Lf({opacity:t,src:this.P})})],this.c[e]=o),o}.bind(this)),this.set("renderOrder",null),P(this,"render",this.gl,this)}i(Iw,_s);var Fw=["#00f","#0ff","#0f0","#ff0","#f00"];(Ey=Iw.prototype).Ig=function(){return this.get(kw)},Ey.Pg=function(){return this.get(Ow)},Ey.zh=function(){return this.get(Dw)},Ey.Qk=function(){for(var t=this.Pg(),e=ii(1,256),o=e.createLinearGradient(0,0,1,256),i=1/(t.length-1),r=0,n=t.length;r<n;++r)o.addColorStop(r*i,t[r]);e.fillStyle=o,e.fillRect(0,0,1,256),this.f=e.getImageData(0,0,1,256).data},Ey.xf=function(){var t=this.zh(),e=this.Ig(),o=t+e+1,i=2*o;(i=ii(i,i)).shadowOffsetX=i.shadowOffsetY=this.U,i.shadowBlur=e,i.shadowColor="#000",i.beginPath(),e=o-this.U,i.arc(e,e,t,0,2*Math.PI,!0),i.fill(),this.P=i.canvas.toDataURL(),this.c=Array(256),this.s()},Ey.gl=function(t){for(var e,o=(t=t.context).canvas,i=(o=t.getImageData(0,0,o.width,o.height)).data,r=0,n=i.length;r<n;r+=4)(e=4*i[r+3])&&(i[r]=this.f[e],i[r+1]=this.f[1+e],i[r+2]=this.f[2+e]);t.putImageData(o,0,0)},Ey.ni=function(t){this.set(kw,t)},Ey.ui=function(t){this.set(Ow,t)},Ey.Ah=function(t){this.set(Dw,t)};var kw="blur",Ow="gradient",Dw="radius";function Bw(t,e,o,i){function r(){delete window[s],n.parentNode.removeChild(n)}var n=document.createElement("script"),s="olc_"+B(e);n.async=!0,n.src=t+(-1==t.indexOf("?")?"?":"&")+(i||"callback")+"="+s;var p=setTimeout(function(){r(),o&&o()},1e4);window[s]=function(t){clearTimeout(p),r(),e(t)},document.getElementsByTagName("head")[0].appendChild(n)}function Uw(t,e,o,i,r,n,s,p,a,h,l){if(br.call(this,r,0),this.C=void 0!==l&&l,this.A=s,this.u=p,this.H=null,this.f=e,this.l=i,this.o=n||r,this.g=[],this.kd=null,this.i=0,n=i.Na(this.o),p=this.l.G(),r=this.f.G(),0===Bt(n=p?Wt(n,p):n))this.state=4;else if((p=t.G())&&(r=r?Wt(r,p):p),i=i.Ha(this.o[0]),i=sl(t,o,Kt(n),i),!isFinite(i)||i<=0)this.state=4;else if(this.v=new hl(t,o,n,r,i*(void 0!==h?h:.5)),0===this.v.f.length)this.state=4;else if(this.i=e.Ec(i),o=ll(this.v),r&&(t.a?(o[1]=v(o[1],r[1],r[3]),o[3]=v(o[3],r[1],r[3])):o=Wt(o,r)),Bt(o)){for(e=(t=Fo(e,o,this.i)).ea;e<=t.ca;e++)for(o=t.ga;o<=t.ja;o++)(h=a(this.i,e,o,s))&&this.g.push(h);0===this.g.length&&(this.state=4)}else this.state=4}function Gw(t,e){for(var o=t.length,i=Array(o),r=0;r<o;++r)i[r]=function(t,o){var i=/\{z\}/g,r=/\{x\}/g,n=/\{y\}/g,s=/\{-y\}/g;return function(e){if(e)return t.replace(i,e[0].toString()).replace(r,e[1].toString()).replace(n,function(){return(-e[2]-1).toString()}).replace(s,function(){var t=o.a?o.a[e[0]]:null;return O(t,55),(t.ja-t.ga+1+e[2]).toString()})}}(t[r],e);return Kw(i)}function Kw(i){return 1===i.length?i[0]:function(t,e,o){if(t)return i[j((t[1]<<t[0])+t[2],i.length)](t,e,o)}}function Xw(){}function Vw(t){var e=[],o=/\{([a-z])-([a-z])\}/.exec(t);if(o){for(var i=o[2].charCodeAt(0),r=o[1].charCodeAt(0);r<=i;++r)e.push(t.replace(o[0],String.fromCharCode(r)));return e}if(o=/\{(\d+)-(\d+)\}/.exec(t)){for(i=parseInt(o[2],10),r=parseInt(o[1],10);r<=i;r++)e.push(t.replace(o[0],r.toString()));return e}return e.push(t),e}function Ww(t){Nl.call(this),this.c=void 0!==t?t:2048}function zw(t){return t.f>t.c}function Hw(t){cl.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,state:t.state,wrapX:t.wrapX}),this.sa=void 0!==t.opaque&&t.opaque,this.xa=void 0!==t.tilePixelRatio?t.tilePixelRatio:1,this.tileGrid=void 0!==t.tileGrid?t.tileGrid:null,this.a=new Ww(t.cacheSize),this.l=[0,0],this.jc=""}function Yw(t,e,o,i,r){if(!(e=t.Cd(e)))return!1;for(var n,s,p=!0,a=i.ea;a<=i.ca;++a)for(var h=i.ga;h<=i.ja;++h)n=t.Lb(o,a,h),s=!1,e.b.hasOwnProperty(n)&&((s=(n=e.get(n)).W()===wr)&&(s=!1!==r(n))),s||(p=!1);return p}function Zw(t,e){t.jc!==e&&(t.jc=e,t.s())}function qw(t,e,o){var i,r,n=void 0!==o?o:t.f;return o=t.Db(n),t.D&&n.g&&(e=(i=e)[0],t=ko(o,i),e=Tt(n=Go(n),t)?i:(i=Yt(n),t[0]+=i*Math.ceil((n[0]-t[0])/i),o.wf(t,e))),i=e[0],n=e[1],t=e[2],(o=!(o.minZoom>i||i>o.maxZoom)&&(!(o=(r=o.G())?Fo(o,r,i):o.a?o.a[i]:null)||Mo(o,n,t)))?e:null}function Jw(t,e){I.call(this,t),this.tile=e}function _w(t){Hw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,extent:t.extent,logo:t.logo,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX}),this.tileLoadFunction=t.tileLoadFunction,this.tileUrlFunction=this.zc?this.zc.bind(this):Xw,this.urls=null,t.urls?this.Ya(t.urls):t.url&&this.cb(t.url),t.tileUrlFunction&&this.Xa(t.tileUrlFunction)}function $w(t){_w.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,extent:t.extent,logo:t.logo,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction||ex,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX}),this.crossOrigin=void 0!==t.crossOrigin?t.crossOrigin:null,this.tileClass=void 0!==t.tileClass?t.tileClass:sm,this.i={},this.v={},this.na=t.reprojectionErrorThreshold,this.C=!1}function Qw(t,e,o,i,r,n,s){return r=(o=qw(t,e=[e,o,i],n))?t.tileUrlFunction(o,r,n):void 0,(r=new t.tileClass(e,void 0!==r?0:4,void 0!==r?r:"",t.crossOrigin,t.tileLoadFunction)).key=s,P(r,"change",t.Jh,t),r}function tx(t,e,o,i,r,n){var s=t.Lb(e,o,i),p=t.jc;if(t.a.b.hasOwnProperty(s)){if((h=t.a.get(s)).key!=p){var a=h,h=Qw(t,e,o,i,r,n,p);if(0==a.W()?h.a=a.a:h.a=a,h.a){e=h.a,o=h;do{if(e.W()==wr){e.a=null;break}}while(1!=e.W()&&0==e.W()?o.a=e.a:o=e,e=o.a)}t.a.replace(s,h)}}else h=Qw(t,e,o,i,r,n,p),t.a.set(s,h);return h}function ex(t,e){t.ub().src=e}function ox(t){this.A=void 0!==t.hidpi&&t.hidpi,$w.call(this,{cacheSize:t.cacheSize,crossOrigin:"anonymous",opaque:!0,projection:ge("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,tilePixelRatio:this.A?2:1,wrapX:void 0===t.wrapX||t.wrapX}),this.P=void 0!==t.culture?t.culture:"en-us",this.u=void 0!==t.maxZoom?t.maxZoom:-1,this.c=t.key,this.o=t.imagerySet,Bw("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+this.o+"?uriScheme=https&include=ImageryProviders&key="+this.c,this.fa.bind(this),void 0,"jsonp")}i(Uw,br),Uw.prototype.oa=function(){1==this.state&&(this.kd.forEach(E),this.kd=null),br.prototype.oa.call(this)},Uw.prototype.ub=function(){return this.H},Uw.prototype.Ld=function(){var t,e,o,i,r,n=[];this.g.forEach(function(t){t&&t.W()==wr&&n.push({extent:this.f.Na(t.Ca),image:t.ub()})},this),(this.g.length=0)===n.length?this.state=3:(o=this.o[0],t="number"==typeof(e=this.l.Za(o))?e:e[0],e="number"==typeof e?e:e[1],o=this.l.Ha(o),i=this.f.Ha(this.i),r=this.l.Na(this.o),this.H=al(t,e,this.A,i,this.f.G(),o,r,this.v,n,this.u,this.C),this.state=wr),this.s()},Uw.prototype.load=function(){var i;0==this.state&&(this.state=1,this.s(),i=0,this.kd=[],this.g.forEach(function(e){var o,t=e.W();0!=t&&1!=t||(i++,o=P(e,"change",function(){var t=e.W();t!=wr&&3!=t&&4!=t||(E(o),0===--i&&(this.kd.forEach(E),this.kd=null,this.Ld()))},this),this.kd.push(o))},this),this.g.forEach(function(t){0==t.W()&&t.load()}),0===i&&setTimeout(this.Ld.bind(this),0))},i(Ww,Nl),Ww.prototype.Wc=function(t){for(var e,o,i;zw(this);){if((e=(i=(o=this.a.Rc).Ca[0].toString())in t)&&(o=o.Ca,e=Mo(t[i],o[1],o[2])),e)break;N(this.pop())}},i(Hw,cl),(Ey=Hw.prototype).Ih=function(){return zw(this.a)},Ey.Wc=function(t,e){t=this.Cd(t);t&&t.Wc(e)},Ey.qf=function(){return 0},Ey.Lb=function(t,e,o){return t+"/"+e+"/"+o},Ey.tf=function(){return this.sa},Ey.Va=function(){return this.tileGrid},Ey.Db=function(t){return this.tileGrid||Do(t)},Ey.Cd=function(t){var e=this.f;return e&&!de(e,t)?null:this.a},Ey.jb=function(){return this.xa},Ey.Dd=function(t,e,o){return o=this.Db(o),e=this.jb(e),t=Eo(o.Za(t),this.l),1==e?t:Ao(t,e,this.l)},Ey.wa=function(){this.a.clear(),this.s()},Ey.ig=p,i(Jw,I),i(_w,Hw),(Ey=_w.prototype).ib=function(){return this.tileLoadFunction},Ey.kb=function(){return this.tileUrlFunction},Ey.lb=function(){return this.urls},Ey.Jh=function(t){switch((t=t.target).W()){case 1:this.b(new Jw("tileloadstart",t));break;case wr:this.b(new Jw("tileloadend",t));break;case 3:this.b(new Jw("tileloaderror",t))}},Ey.sb=function(t){this.a.clear(),this.tileLoadFunction=t,this.s()},Ey.Xa=function(t,e){this.tileUrlFunction=t,void 0!==e?Zw(this,e):this.s()},Ey.cb=function(t){var e=this.urls=Vw(t);this.Xa(this.zc?this.zc.bind(this):Gw(e,this.tileGrid),t)},Ey.Ya=function(t){var e=(this.urls=t).join("\n");this.Xa(this.zc?this.zc.bind(this):Gw(t,this.tileGrid),e)},Ey.ig=function(t,e,o){t=this.Lb(t,e,o),this.a.b.hasOwnProperty(t)&&this.a.get(t)},i($w,_w),(Ey=$w.prototype).Ih=function(){if(zw(this.a))return!0;for(var t in this.i)if(zw(this.i[t]))return!0;return!1},Ey.Wc=function(t,e){var o,i=this.Cd(t);for(o in this.a.Wc(this.a==i?e:{}),this.i){var r=this.i[o];r.Wc(r==i?e:{})}},Ey.qf=function(t){return this.f&&t&&!de(this.f,t)?0:this.rf()},Ey.rf=function(){return 0},Ey.tf=function(t){return!(this.f&&t&&!de(this.f,t))&&_w.prototype.tf.call(this,t)},Ey.Db=function(t){var e=this.f;return!this.tileGrid||e&&!de(e,t)?((e=B(t).toString())in this.v||(this.v[e]=Do(t)),this.v[e]):this.tileGrid},Ey.Cd=function(t){var e=this.f;return!e||de(e,t)?this.a:((t=B(t).toString())in this.i||(this.i[t]=new Ww),this.i[t])},Ey.Dc=function(t,e,o,i,r){if(this.f&&r&&!de(this.f,r)){var n,s=this.Cd(r);if(o=[t,e,o],t=this.Lb.apply(this,o),s.b.hasOwnProperty(t)&&(n=s.get(t)),e=this.jc,n&&n.key==e)return n;var p=this.f,a=this.Db(p),h=this.Db(r),l=qw(this,o,r);return(i=new Uw(p,a,r,h,o,l,this.jb(i),this.rf(),function(t,e,o,i){return tx(this,t,e,o,i,p)}.bind(this),this.na,this.C)).key=e,n?(i.a=n,s.replace(t,i)):s.set(t,i),i}return tx(this,t,e,o,i,r)},Ey.Hb=function(t){if(this.C!=t){for(var e in this.C=t,this.i)this.i[e].clear();this.s()}},Ey.Ib=function(t,e){t=ge(t);t&&((t=B(t).toString())in this.v||(this.v[t]=e))},i(ox,$w);var ix=new Ko({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});function rx(t){var e=void 0!==(t=t||{}).projection?t.projection:"EPSG:3857",o=void 0!==t.tileGrid?t.tileGrid:Bo({extent:Go(e),maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});$w.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,opaque:t.opaque,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:o,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX})}function nx(t){this.u=t.account,this.A=t.map||"",this.c=t.config||{},this.o={},rx.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,maxZoom:void 0!==t.maxZoom?t.maxZoom:18,minZoom:t.minZoom,projection:t.projection,state:"loading",wrapX:t.wrapX}),sx(this)}function sx(t){var e,o,i=JSON.stringify(t.c);t.o[i]?px(t,t.o[i]):(e="https://"+t.u+".cartodb.com/api/v1/map",t.A&&(e+="/named/"+t.A),(o=new XMLHttpRequest).addEventListener("load",t.Sk.bind(t,i)),o.addEventListener("error",t.Rk.bind(t)),o.open("POST",e),o.setRequestHeader("Content-type","application/json"),o.send(JSON.stringify(t.c)))}function px(t,e){t.cb("https://"+e.cdn_url.https+"/"+t.u+"/api/v1/map/"+e.layergroupid+"/{z}/{x}/{y}.png")}function ax(t){bm.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,wrapX:t.wrapX}),this.C=void 0,this.fa=void 0!==t.distance?t.distance:20,this.A=[],this.na=t.geometryFunction||function(t){return O((t=t.V())instanceof He,10),t},this.u=t.source,this.u.J("change",ax.prototype.Ja,this)}function hx(t){if(void 0!==t.C){t.A.length=0;for(var e=jt(),o=t.fa*t.C,i=t.u.we(),r={},n=0,s=i.length;n<s;n++){var p=i[n];B(p).toString()in r||!(p=t.na(p))||(Rt(p=p.$(),e),St(e,o,e),p=(p=t.u.nf(e)).filter(function(t){return!((t=B(t).toString())in r)&&(r[t]=!0)}),t.A.push(function(t,e){for(var o=[0,0],i=e.length-1;0<=i;--i){var r=t.na(e[i]);r?st(o,r.$()):e.splice(i,1)}return ct(o,1/e.length),(o=new Fu(new He(o))).set("features",e),o}(t,p)))}}}function lx(t,e){var o=[];Object.keys(e).forEach(function(t){null!==e[t]&&void 0!==e[t]&&o.push(t+"="+encodeURIComponent(e[t]))});var i=o.join("&");return(t=-1===(t=t.replace(/[?&]$/,"")).indexOf("?")?t+"?":t+"&")+i}function ux(t){gl.call(this,{attributions:(t=t||{}).attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions}),this.Z=void 0!==t.crossOrigin?t.crossOrigin:null,this.i=t.url,this.l=void 0!==t.imageLoadFunction?t.imageLoadFunction:vl,this.u=t.params||{},this.c=null,this.v=[0,0],this.P=0,this.C=void 0!==t.ratio?t.ratio:1.5}function cx(t){gl.call(this,{projection:t.projection,resolutions:t.resolutions}),this.Z=void 0!==t.crossOrigin?t.crossOrigin:null,this.v=void 0!==t.displayDpi?t.displayDpi:96,this.l=t.params||{},this.P=t.url,this.c=void 0!==t.imageLoadFunction?t.imageLoadFunction:vl,this.fa=void 0===t.hidpi||t.hidpi,this.na=void 0!==t.metersPerUnit?t.metersPerUnit:1,this.u=void 0!==t.ratio?t.ratio:1,this.xa=void 0!==t.useOverlay&&t.useOverlay,this.i=null,this.C=0}function yx(t){var e=t.imageExtent,o=void 0!==t.crossOrigin?t.crossOrigin:null,i=void 0!==t.imageLoadFunction?t.imageLoadFunction:vl;gl.call(this,{attributions:t.attributions,logo:t.logo,projection:ge(t.projection)}),this.c=new Ls(e,void 0,1,this.j,t.url,o,i),this.i=t.imageSize||null,P(this.c,"change",this.o,this)}function fx(t){gl.call(this,{attributions:(t=t||{}).attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions}),this.na=void 0!==t.crossOrigin?t.crossOrigin:null,this.l=t.url,this.C=void 0!==t.imageLoadFunction?t.imageLoadFunction:vl,this.i=t.params||{},this.u=!0,vx(this),this.fa=t.serverType,this.xa=void 0===t.hidpi||t.hidpi,this.c=null,this.P=[0,0],this.Z=0,this.v=void 0!==t.ratio?t.ratio:1.5}ox.prototype.U=function(){return this.c},ox.prototype.Z=function(){return this.o},ox.prototype.fa=function(t){var e,i,s,p,r,n,a;200!=t.statusCode||"OK"!=t.statusDescription||"ValidCredentials"!=t.authenticationResultCode||1!=t.resourceSets.length||1!=t.resourceSets[0].resources.length?fl(this,"error"):(-1==(e=t.brandLogoUri).indexOf("https")&&(e=e.replace("http","https")),i=t.resourceSets[0].resources[0],s=-1==this.u?i.zoomMax:this.u,p=Bo({extent:t=Go(this.f),minZoom:i.zoomMin,maxZoom:s,tileSize:(i.imageWidth==i.imageHeight?i.imageWidth:[i.imageWidth,i.imageHeight])/this.jb()}),this.tileGrid=p,r=this.P,n=this.A,this.tileUrlFunction=Kw(i.imageUrlSubdomains.map(function(t){var e=[0,0,0],o=i.imageUrl.replace("{subdomain}",t).replace("{culture}",r);return function(t){if(t)return Co(t[0],t[1],-t[2]-1,e),t=o,n&&(t+="&dpi=d1&device=mobile"),t.replace("{quadkey}",function(t){for(var e,o=t[0],i=Array(o),r=1<<o-1,n=0;n<o;++n)e=48,t[1]&r&&(e+=1),t[2]&r&&(e+=2),i[n]=String.fromCharCode(e),r>>=1;return i.join("")}(e))}})),i.imageryProviders&&(a=be(ge("EPSG:4326"),this.f),(t=i.imageryProviders.map(function(t){var e=t.attribution,n={};return t.coverageAreas.forEach(function(t){var e,o,i=t.zoomMin,r=Math.min(t.zoomMax,s);for(t=_t([(t=t.bbox)[1],t[0],t[3],t[2]],a),e=i;e<=r;++e)o=e.toString(),i=Fo(p,t,e),o in n?n[o].push(i):n[o]=[i]}),new Ko({html:e,tileRanges:n})})).push(ix),this.ua(t)),this.L=e,fl(this,"ready"))},i(rx,$w),i(nx,rx),(Ey=nx.prototype).$j=function(){return this.c},Ey.wp=function(t){L(this.c,t),sx(this)},Ey.fp=function(t){this.c=t||{},sx(this)},Ey.Sk=function(t,e){var o,i=e.target;if(!i.status||200<=i.status&&i.status<300){try{o=JSON.parse(i.responseText)}catch(t){return void fl(this,"error")}px(this,o),this.o[t]=o,fl(this,"ready")}else fl(this,"error")},Ey.Rk=function(){fl(this,"error")},i(ax,bm),ax.prototype.Ua=function(){return this.u},ax.prototype.Ed=function(t,e,o){this.u.Ed(t,e,o),e!==this.C&&(this.clear(),this.C=e,hx(this),this.Tc(this.A))},ax.prototype.Ob=function(t){this.fa=t,this.Ja()},ax.prototype.Ja=function(){this.clear(),hx(this),this.Tc(this.A),this.s()},i(ux,gl),(Ey=ux.prototype).Xm=function(){return this.u},Ey.Xc=function(t,e,o,i){if(void 0===this.i)return null;e=dl(this,e);var r=this.c;if(r&&this.P==this.g&&r.resolution==e&&r.f==o&&At(r.G(),t))return r;L(r={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},this.u);var n=((t=t.slice())[0]+t[2])/2,s=(t[1]+t[3])/2;1!=this.C&&(p=this.C*Yt(t)/2,a=this.C*Vt(t)/2,t[0]=n-p,t[1]=s-a,t[2]=n+p,t[3]=s+a);var p=e/o,a=Math.ceil(Yt(t)/p),h=Math.ceil(Vt(t)/p);return t[0]=n-p*a/2,t[2]=n+p*a/2,t[1]=s-p*h/2,t[3]=s+p*h/2,this.v[0]=a,this.v[1]=h,n=t,s=this.v,i=i.hb.split(":").pop(),r.SIZE=s[0]+","+s[1],r.BBOX=n.join(","),r.BBOXSR=i,r.IMAGESR=i,r.DPI=90*o,(n=(i=this.i).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"))==i&&O(!1,50),r=lx(n,r),this.c=new Ls(t,e,o,this.j,r,this.Z,this.l),this.P=this.g,P(this.c,"change",this.o,this),this.c},Ey.Wm=function(){return this.l},Ey.Ym=function(){return this.i},Ey.Zm=function(t){this.c=null,this.l=t,this.s()},Ey.$m=function(t){t!=this.i&&(this.i=t,this.c=null,this.s())},Ey.an=function(t){L(this.u,t),this.c=null,this.s()},i(cx,gl),(Ey=cx.prototype).cn=function(){return this.l},Ey.Xc=function(t,e,o){e=dl(this,e),o=this.fa?o:1;var i=this.i;if(i&&this.C==this.g&&i.resolution==e&&i.f==o&&At(i.G(),t))return i;1!=this.u&&Jt(t=t.slice(),this.u);var r,n,s,p,a,h,l,u=[Yt(t)/e*o,Vt(t)/e*o];return void 0!==this.P?(i=this.P,r=Kt(t),n=this.na,s=Yt(t),p=Vt(t),a=u[0],h=u[1],l=.0254/this.v,u={OPERATION:this.xa?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.v,SETDISPLAYWIDTH:Math.round(u[0]),SETDISPLAYHEIGHT:Math.round(u[1]),SETVIEWSCALE:a*p<h*s?s*n/(a*l):p*n/(h*l),SETVIEWCENTERX:r[0],SETVIEWCENTERY:r[1]},L(u,this.l),i=lx(i,u),P(i=new Ls(t,e,o,this.j,i,this.Z,this.c),"change",this.o,this)):i=null,this.i=i,this.C=this.g,i},Ey.bn=function(){return this.c},Ey.en=function(t){L(this.l,t),this.s()},Ey.dn=function(t){this.i=null,this.c=t,this.s()},i(yx,gl),yx.prototype.Xc=function(t){return Zt(t,this.c.G())?this.c:null},yx.prototype.o=function(t){var e,o,i,r,n;this.c.W()==Is&&(i=this.c.G(),e=this.c.a(),n=this.i?(o=this.i[0],this.i[1]):(o=e.width,e.height),(i=Math.ceil(Yt(i)/(Vt(i)/n)))!=o&&(r=(i=ii(i,n)).canvas,i.drawImage(e,0,0,o,n,0,0,r.width,r.height),this.c.g=r)),gl.prototype.o.call(this,t)},i(fx,gl);var gx=[101,101];function dx(t,e,o,i,r,n){if(O(void 0!==t.l,9),n[t.u?"CRS":"SRS"]=r.hb,"STYLES"in t.i||(n.STYLES=""),1!=i)switch(t.fa){case"geoserver":i=90*i+.5|0,n.FORMAT_OPTIONS="FORMAT_OPTIONS"in n?n.FORMAT_OPTIONS+";dpi:"+i:"dpi:"+i;break;case"mapserver":n.MAP_RESOLUTION=90*i;break;case"carmentaserver":case"qgis":n.DPI=90*i;break;default:O(!1,8)}return n.WIDTH=o[0],n.HEIGHT=o[1],o=r.b,e=t.u&&"ne"==o.substr(0,2)?[e[1],e[0],e[3],e[2]]:e,n.BBOX=e.join(","),lx(t.l,n)}function vx(t){t.u=0<=nt(t.i.VERSION||"1.3.0")}function bx(t){var e=void 0!==(t=t||{}).attributions?t.attributions:[xx];rx.call(this,{attributions:e,cacheSize:t.cacheSize,crossOrigin:void 0!==t.crossOrigin?t.crossOrigin:"anonymous",opaque:void 0===t.opaque||t.opaque,maxZoom:void 0!==t.maxZoom?t.maxZoom:19,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,url:void 0!==t.url?t.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:t.wrapX})}(Ey=fx.prototype).ln=function(t,e,o,i){if(void 0!==this.l){var r=Xt(t,e,0,gx),n={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.i.LAYERS};return L(n,this.i,i),i=Math.floor((r[3]-t[1])/e),n[this.u?"I":"X"]=Math.floor((t[0]-r[0])/e),n[this.u?"J":"Y"]=i,dx(this,r,gx,1,ge(o),n)}},Ey.nn=function(){return this.i},Ey.Xc=function(t,e,o,i){if(void 0===this.l)return null;e=dl(this,e),1==o||this.xa&&void 0!==this.fa||(o=1);var r,n=((t=t.slice())[0]+t[2])/2,s=(t[1]+t[3])/2,p=e/o,a=Yt(t)/p,p=Vt(t)/p,h=this.c;return h&&this.Z==this.g&&h.resolution==e&&h.f==o&&At(h.G(),t)?h:(1!=this.v&&(h=this.v*Yt(t)/2,r=this.v*Vt(t)/2,t[0]=n-h,t[1]=s-r,t[2]=n+h,t[3]=s+r),L(n={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},this.i),this.P[0]=Math.ceil(a*this.v),this.P[1]=Math.ceil(p*this.v),i=dx(this,t,this.P,o,i,n),this.c=new Ls(t,e,o,this.j,i,this.na,this.C),this.Z=this.g,P(this.c,"change",this.o,this),this.c)},Ey.mn=function(){return this.C},Ey.pn=function(){return this.l},Ey.qn=function(t){this.c=null,this.C=t,this.s()},Ey.rn=function(t){t!=this.l&&(this.l=t,this.c=null,this.s())},Ey.sn=function(t){L(this.i,t),vx(this),this.c=null,this.s()},i(bx,rx);var mx,wx,xx=new Ko({html:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function Sx(t){this.C=null,this.xa=void 0!==t.operationType?t.operationType:Cx,this.Ja=void 0!==t.threads?t.threads:1,this.c=function(t){for(var e=t.length,o=Array(e),i=0;i<e;++i){var r=i,n=t[i],s=null;n instanceof Hw?(n=new As({source:n}),s=new Ap(n)):n instanceof gl&&(n=new Ts({source:n}),s=new Tp(n)),o[r]=s}return o}(t.sources);for(var e=0,o=this.c.length;e<o;++e)P(this.c[e],"change",this.s,this);this.i=ii(),this.fa=new Ar(function(){return 1},this.s.bind(this));for(var o={},i=0,r=(e=this.c.map(function(t){return Fn(t.a)})).length;i<r;++i)o[B(e[i].layer)]=e[i];this.l=this.v=null,this.Z={animate:!1,attributions:{},coordinateToPixelTransform:as(),extent:null,focus:null,index:0,layerStates:o,layerStatesArray:e,logos:{},pixelRatio:1,pixelToCoordinateTransform:as(),postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.fa,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}},gl.call(this,{}),void 0!==t.operation&&this.u(t.operation,t.lib)}function Mx(t,e,o){var i=t.v;return!i||t.g!==i.bp||o!==i.resolution||!It(e,i.extent)}wx={ma:mx={}},function(t){"object"==typeof mx&&void 0!==wx?wx.ma=t():("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Sp=t()}(function(){return function i(r,n,s){function p(o,t){if(!n[o]){if(!r[o]){var e="function"==typeof require&&require;if(!t&&e)return e(o,!0);if(a)return a(o,!0);throw(e=Error("Cannot find module '"+o+"'")).code="MODULE_NOT_FOUND",e}e=n[o]={ma:{}},r[o][0].call(e.ma,function(t){var e=r[o][1][t];return p(e||t)},e,e.ma,i,r,n,s)}return n[o].ma}for(var a="function"==typeof require&&require,t=0;t<s.length;t++)p(s[t]);return p}({1:[function(t,e,o){t=t("./processor"),o.ij=t},{"./processor":2}],2:[function(t,e){function p(c){var y=!0;try{new ImageData(10,10)}catch(t){y=!1}return function(t){var e=t.buffers,o=t.meta,i=t.width,r=t.height,n=e.length,s=e[0].byteLength;if(t.imageOps){for(s=Array(n),t=0;t<n;++t){var p=s,a=t,h=new Uint8ClampedArray(e[t]),l=i,u=r;h=y?new ImageData(h,l,u):{data:h,width:l,height:u},p[a]=h}i=c(s,o).data}else{for(i=new Uint8ClampedArray(s),r=Array(n),p=Array(n),t=0;t<n;++t)r[t]=new Uint8ClampedArray(e[t]),p[t]=[0,0,0,0];for(e=0;e<s;e+=4){for(t=0;t<n;++t)a=r[t],p[t][0]=a[e],p[t][1]=a[e+1],p[t][2]=a[e+2],p[t][3]=a[e+3];t=c(p,o),i[e]=t[0],i[e+1]=t[1],i[e+2]=t[2],i[e+3]=t[3]}}return i.buffer}}function o(t){var e;this.Ze=!!t.nl;var o,i,r,n=[];if(e=0===t.threads?0:!this.Ze&&t.threads||1)for(var s=0;s<e;++s)n[s]=function(e,t){var o=Object.keys(e.lib||{}).map(function(t){return"var "+t+" = "+e.lib[t].toString()+";"}).concat(["var __minion__ = ("+p.toString()+")(",e.operation.toString(),");",'self.addEventListener("message", function(event) {'," var buffer = __minion__(event.data);"," self.postMessage({buffer: buffer, meta: event.data.meta}, [buffer]);","});"]),o=URL.createObjectURL(new Blob(o,{type:"text/javascript"}));return(o=new Worker(o)).addEventListener("message",t),o}(t,this.sg.bind(this,s));else n[0]=(o=t,i=this.sg.bind(this,0),r=p(o.operation),{postMessage:function(t){setTimeout(function(){i({data:{buffer:r(t),meta:t.meta}})},0)}});this.Wd=n,this.qd=[],this.wj=t.yo||1/0,this.Ud=0,this.Sc={},this.$e=null}var a=t("./util").Hl;o.prototype.wo=function(t,e,o){this.uj({Fc:t,hh:e,Vc:o}),this.pg()},o.prototype.uj=function(t){for(this.qd.push(t);this.qd.length>this.wj;)this.qd.shift().Vc(null,null)},o.prototype.pg=function(){if(0===this.Ud&&0<this.qd.length){var t=this.$e=this.qd.shift(),e=t.Fc[0].width,o=t.Fc[0].height,i=t.Fc.map(function(t){return t.data.buffer}),r=this.Wd.length;if(1===(this.Ud=r))this.Wd[0].postMessage({buffers:i,meta:t.hh,imageOps:this.Ze,width:e,height:o},i);else for(var n=4*Math.ceil(t.Fc[0].data.length/4/r),s=0;s<r;++s){for(var p=s*n,a=[],h=0,l=i.length;h<l;++h)a.push(i[s].slice(p,p+n));this.Wd[s].postMessage({buffers:a,meta:t.hh,imageOps:this.Ze,width:e,height:o},a)}}},o.prototype.sg=function(t,e){this.Qp||(this.Sc[t]=e.data,--this.Ud,0===this.Ud&&this.xj())},o.prototype.xj=function(){var t=this.$e,e=this.Wd.length;if(1===e)i=new Uint8ClampedArray(this.Sc[0].buffer),r=this.Sc[0].meta;else for(var o=t.Fc[0].data.length,i=new Uint8ClampedArray(o),r=Array(o),o=4*Math.ceil(o/4/e),n=0;n<e;++n){var s=n*o;i.set(new Uint8ClampedArray(this.Sc[n].buffer),s),r[n]=this.Sc[n].meta}this.$e=null,this.Sc={},t.Vc(null,a(i,t.Fc[0].width,t.Fc[0].height),r),this.pg()},e.ma=o},{"./util":3}],3:[function(t,e,o){var i=!0;try{new ImageData(10,10)}catch(t){i=!1}var r=document.createElement("canvas").getContext("2d");o.Hl=function(t,e,o){return i?new ImageData(t,e,o):((e=r.createImageData(e,o)).data.set(t),e)}},{}]},{},[1])(1)}),lh=wx.ma,i(Sx,gl),Sx.prototype.u=function(t,e){this.C=new lh.ij({operation:t,nl:this.xa===jx,yo:1,lib:e,threads:this.Ja}),this.s()},Sx.prototype.U=function(t,e,o,i){o=!0;for(var r,n=0,s=this.c.length;n<s;++n)if("ready"!==(r=this.c[n].a.la()).W()){o=!1;break}if(!o)return null;if(!Mx(this,t=t.slice(),e))return this.l;o=this.i.canvas,r=Math.round(Yt(t)/e),n=Math.round(Vt(t)/e),r===o.width&&n===o.height||(o.width=r,o.height=n),(r=L({},this.Z)).viewState=L({},r.viewState);var n=Kt(t),s=Math.round(Yt(t)/e),p=Math.round(Vt(t)/e);return r.extent=t,r.focus=Kt(t),r.size[0]=s,r.size[1]=p,(s=r.viewState).center=n,s.projection=i,s.resolution=e,this.l=i=new il(t,e,1,this.j,o,this.P.bind(this,r)),this.v={extent:t,resolution:e,bp:this.g},i},Sx.prototype.P=function(t,e){for(var o=this.c.length,i=Array(o),r=0;r<o;++r){var n,s,p,a=this.c[r],h=t,l=t.layerStatesArray[r];if(!(a=a.o(h,l)?(n=h.size[0],s=h.size[1],!Px||(p=Px.canvas).width!==n||p.height!==s?Px=ii(n,s):Px.clearRect(0,0,n,s),a.D(h,l,Px),Px.getImageData(0,0,n,s)):null)){i=null;break}i[r]=a}i&&(o={},this.b(new Tx(Ax,t,o)),this.C.wo(i,o,this.na.bind(this,t,e))),Er(t.tileQueue,16,16)},Sx.prototype.na=function(t,e,o,i,r){o?e(o):i&&(this.b(new Tx(Ex,t,r)),Mx(this,t.extent,t.viewState.resolution/t.pixelRatio)||this.i.putImageData(i,0,0),e(null))};var Px=null;function Tx(t,e,o){I.call(this,t),this.extent=e.extent,this.resolution=e.viewState.resolution/e.pixelRatio,this.data=o}i(Tx,I);var Ax="beforeoperations",Ex="afteroperations",Cx="pixel",jx="image";function Lx(t){var e=t.layer.indexOf("-"),e=Ix[-1==e?t.layer:t.layer.slice(0,e)],o=Nx[t.layer];rx.call(this,{attributions:Rx,cacheSize:t.cacheSize,crossOrigin:"anonymous",maxZoom:(null!=t.maxZoom?t:e).maxZoom,minZoom:(null!=t.minZoom?t:e).minZoom,opaque:o.opaque,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,url:void 0!==t.url?t.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+t.layer+"/{z}/{x}/{y}."+o.Bb})}i(Lx,rx);var Rx=[new Ko({html:'Map tiles by <a href="http://stamen.com/">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.'}),xx],Nx={terrain:{Bb:"jpg",opaque:!0},"terrain-background":{Bb:"jpg",opaque:!0},"terrain-labels":{Bb:"png",opaque:!1},"terrain-lines":{Bb:"png",opaque:!1},"toner-background":{Bb:"png",opaque:!0},toner:{Bb:"png",opaque:!0},"toner-hybrid":{Bb:"png",opaque:!1},"toner-labels":{Bb:"png",opaque:!1},"toner-lines":{Bb:"png",opaque:!1},"toner-lite":{Bb:"png",opaque:!0},watercolor:{Bb:"jpg",opaque:!0}},Ix={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:1,maxZoom:16}};function Fx(t){$w.call(this,{attributions:(t=t||{}).attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.c=t.params||{},this.o=jt(),Zw(this,kx(this))}function kx(t){var e,o=0,i=[];for(e in t.c)i[o++]=e+"-"+t.c[e];return i.join("/")}function Ox(t){Hw.call(this,{opaque:!1,projection:t.projection,tileGrid:t.tileGrid,wrapX:void 0===t.wrapX||t.wrapX})}function Dx(t,e,o){br.call(this,t,wr),this.i=e,this.f=o,this.g=null}function Bx(t){var e;this.c=null,$w.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,projection:ge("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,wrapX:void 0===t.wrapX||t.wrapX}),t.jsonp?Bw(t.url,this.Gh.bind(this),this.ue.bind(this)):((e=new XMLHttpRequest).addEventListener("load",this.vn.bind(this)),e.addEventListener("error",this.tn.bind(this)),e.open("GET",t.url),e.send())}function Ux(t){var e;Hw.call(this,{projection:ge("EPSG:3857"),state:"loading"}),this.v=void 0===t.preemptive||t.preemptive,this.o=Xw,this.i=void 0,this.c=t.jsonp||!1,t.url?this.c?Bw(t.url,this.Kf.bind(this),this.ve.bind(this)):((e=new XMLHttpRequest).addEventListener("load",this.zn.bind(this)),e.addEventListener("error",this.yn.bind(this)),e.open("GET",t.url),e.send()):t.tileJSON?this.Kf(t.tileJSON):O(!1,51)}function Gx(t,e,o,i,r,n){br.call(this,t,e),this.o=o,this.g=i,this.H=r,this.f=this.l=this.i=null,this.v=n}function Kx(t){var e;0==t.state&&(t.state=1,t.v?Bw(t.o,t.Hh.bind(t),t.ge.bind(t)):((e=new XMLHttpRequest).addEventListener("load",t.xn.bind(t)),e.addEventListener("error",t.wn.bind(t)),e.open("GET",t.o),e.send()))}function Xx(t){var e=(t=t||{}).params||{};$w.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,opaque:!(!("TRANSPARENT"in e)||e.TRANSPARENT),projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.u=void 0!==t.gutter?t.gutter:0,this.c=e,this.o=!0,this.A=t.serverType,this.U=void 0===t.hidpi||t.hidpi,this.P="",Wx(this),this.Z=jt(),Hx(this),Zw(this,zx(this))}function Vx(t,e,o,i,r,n,s){var p=t.urls;if(p){if(s.WIDTH=o[0],s.HEIGHT=o[1],s[t.o?"CRS":"SRS"]=n.hb,"STYLES"in t.c||(s.STYLES=""),1!=r)switch(t.A){case"geoserver":o=90*r+.5|0,s.FORMAT_OPTIONS="FORMAT_OPTIONS"in s?s.FORMAT_OPTIONS+";dpi:"+o:"dpi:"+o;break;case"mapserver":s.MAP_RESOLUTION=90*r;break;case"carmentaserver":case"qgis":s.DPI=90*r;break;default:O(!1,52)}return n=n.b,t.o&&"ne"==n.substr(0,2)&&(t=i[0],i[0]=i[1],i[1]=t,t=i[2],i[2]=i[3],i[3]=t),s.BBOX=i.join(","),lx(1==p.length?p[0]:p[j((e[1]<<e[0])+e[2],p.length)],s)}}function Wx(t){var e=0,o=[];if(t.urls)for(var i=0,r=t.urls.length;i<r;++i)o[e++]=t.urls[i];t.P=o.join("#")}function zx(t){var e,o=0,i=[];for(e in t.c)i[o++]=e+"-"+t.c[e];return i.join("/")}function Hx(t){t.o=0<=nt(t.c.VERSION||"1.3.0")}function Yx(t,e,o,i,r){br.call(this,t,e),this.f=ii(),this.l=i,this.i=null,this.g={xd:!1,bg:null,li:-1,cg:-1,jd:null},this.H=r,this.o=o}function Zx(t,e){t.wi(oc(e,t.l,t.ho.bind(t),t.fo.bind(t)))}function qx(t){_w.call(this,{attributions:t.attributions,cacheSize:void 0!==t.cacheSize?t.cacheSize:128,extent:t.extent,logo:t.logo,opaque:!1,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction||Zx,tileUrlFunction:t.tileUrlFunction,tilePixelRatio:t.tilePixelRatio,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.c=t.format||null,this.i=null==t.overlaps||t.overlaps,this.tileClass=t.tileClass||Yx}function Jx(t){this.l=t.matrixIds,jo.call(this,{extent:t.extent,origin:t.origin,origins:t.origins,resolutions:t.resolutions,tileSize:t.tileSize,tileSizes:t.tileSizes,sizes:t.sizes})}function _x(t,e,o){var r=[],n=[],s=[],p=[],a=[],h=void 0!==o?o:[],l=(o=ge(t.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"))).ic(),u="ne"==o.b.substr(0,2);return t.TileMatrix.sort(function(t,e){return e.ScaleDenominator-t.ScaleDenominator}),t.TileMatrix.forEach(function(e){var t,o,i=!(0<h.length)||$(h,function(t){return e.Identifier==t.TileMatrix});i&&(n.push(e.Identifier),i=28e-5*e.ScaleDenominator/l,t=e.TileWidth,o=e.TileHeight,u?s.push([e.TopLeftCorner[1],e.TopLeftCorner[0]]):s.push(e.TopLeftCorner),r.push(i),p.push(t==o?t:[t,o]),a.push([e.MatrixWidth,-e.MatrixHeight]))}),new Jx({extent:e,origins:s,resolutions:r,matrixIds:n,tileSizes:p,sizes:a})}function $x(t){this.Z=void 0!==t.version?t.version:"1.0.0",this.u=void 0!==t.format?t.format:"image/jpeg",this.c=void 0!==t.dimensions?t.dimensions:{},this.A=t.layer,this.o=t.matrixSet,this.P=t.style;var e=t.urls;void 0===e&&void 0!==t.url&&(e=Vw(t.url));var i=this.U=void 0!==t.requestEncoding?t.requestEncoding:tS,r=t.tileGrid,o={layer:this.A,style:this.P,tilematrixset:this.o};i==tS&&L(o,{Service:"WMTS",Request:"GetTile",Version:this.Z,Format:this.u});var n=this.c,s=e&&0<e.length?Kw(e.map(function(e){return e=i==tS?lx(e,o):e.replace(/\{(\w+?)\}/g,function(t,e){return e.toLowerCase()in o?o[e.toLowerCase()]:t}),function(t){if(t){var o={TileMatrix:r.l[t[0]],TileCol:t[1],TileRow:-t[2]-1};return L(o,n),t=e,i==tS?lx(t,o):t.replace(/\{(\w+?)\}/g,function(t,e){return o[e]})}}})):Xw;$w.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:t.tileClass,tileGrid:r,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:s,urls:e,wrapX:void 0!==t.wrapX&&t.wrapX}),Zw(this,Qx(this))}function Qx(t){var e,o=0,i=[];for(e in t.c)i[o++]=e+"-"+t.c[e];return i.join("/")}i(Fx,$w),Fx.prototype.u=function(){return this.c},Fx.prototype.jb=function(t){return t},Fx.prototype.zc=function(t,e,o){var i=this.tileGrid;if(!((i=i||this.Db(o)).b.length<=t[0])){var r=i.Na(t,this.o),n=Eo(i.Za(t[0]),this.l);1!=e&&(n=Ao(n,e,this.l)),L(i={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},this.c);var s=this.urls;return t=s?(o=o.hb.split(":").pop(),i.SIZE=n[0]+","+n[1],i.BBOX=r.join(","),i.BBOXSR=o,i.IMAGESR=o,i.DPI=Math.round(i.DPI?i.DPI*e:90*e),lx(t=(1==s.length?s[0]:s[j((t[1]<<t[0])+t[2],s.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),i)):void 0}},Fx.prototype.A=function(t){L(this.c,t),Zw(this,kx(this))},i(Ox,Hw),Ox.prototype.Dc=function(t,e,o){var i=this.Lb(t,e,o);if(this.a.b.hasOwnProperty(i))return this.a.get(i);var r=Eo(this.tileGrid.Za(t)),r=new Dx(t=[t,e,o],r,e=(e=qw(this,t))?qw(this,e).toString():"");return this.a.set(i,r),r},i(Dx,br),Dx.prototype.ub=function(){if(this.g)return this.g;var t=this.i,e=ii(t[0],t[1]);return e.strokeStyle="black",e.strokeRect(.5,.5,t[0]+.5,t[1]+.5),e.fillStyle="black",e.textAlign="center",e.textBaseline="middle",e.font="24px sans-serif",e.fillText(this.f,t[0]/2,t[1]/2),this.g=e.canvas},i(Bx,$w),(Ey=Bx.prototype).vn=function(t){if(!(t=t.target).status||200<=t.status&&t.status<300){var e;try{e=JSON.parse(t.responseText)}catch(t){return void this.ue()}this.Gh(e)}else this.ue()},Ey.tn=function(){this.ue()},Ey.Fk=function(){return this.c},Ey.Gh=function(t){var e,o=ge("EPSG:4326"),i=this.f;void 0!==t.bounds&&(n=be(o,i),e=_t(t.bounds,n));var r=t.minzoom||0,n=t.maxzoom||22;if(this.tileGrid=i=Bo({extent:Go(i),maxZoom:n,minZoom:r}),this.tileUrlFunction=Gw(t.tiles,i),void 0!==t.attribution&&!this.j){o=void 0!==e?e:o.G(),e={};for(;r<=n;++r)e[r.toString()]=[Fo(i,o,r)];this.ua([new Ko({html:t.attribution,tileRanges:e})])}this.c=t,fl(this,"ready")},Ey.ue=function(){fl(this,"error")},i(Ux,Hw),(Ey=Ux.prototype).zn=function(t){if(!(t=t.target).status||200<=t.status&&t.status<300){var e;try{e=JSON.parse(t.responseText)}catch(t){return void this.ve()}this.Kf(e)}else this.ve()},Ey.yn=function(){this.ve()},Ey.Ck=function(){return this.i},Ey.Pj=function(t,e,o,i,r){var n,s,p;this.tileGrid?(e=this.tileGrid.fe(t,e),e=this.Dc(e[0],e[1],e[2],1,this.f),n=t,s=o,p=i,t=r,0==e.state&&!0===t?(T(e,"change",function(){s.call(p,this.getData(n))},e),Kx(e)):!0===t?setTimeout(function(){s.call(p,this.getData(n))}.bind(e),0):s.call(p,e.getData(n))):!0===r?setTimeout(function(){o.call(i,null)},0):o.call(i,null)},Ey.ve=function(){fl(this,"error")},Ey.Kf=function(t){var e,o=ge("EPSG:4326"),i=this.f;void 0!==t.bounds&&(n=be(o,i),e=_t(t.bounds,n));var r=t.minzoom||0,n=t.maxzoom||22;this.tileGrid=i=Bo({extent:Go(i),maxZoom:n,minZoom:r}),this.i=t.template;var s=t.grids;if(s){if(this.o=Gw(s,i),void 0!==t.attribution){for(o=void 0!==e?e:o.G(),e={};r<=n;++r)e[s=r.toString()]=[Fo(i,o,r)];this.ua([new Ko({html:t.attribution,tileRanges:e})])}fl(this,"ready")}else fl(this,"error")},Ey.Dc=function(t,e,o,i,r){var n=this.Lb(t,e,o);return this.a.b.hasOwnProperty(n)?this.a.get(n):(e=qw(this,t=[t,e,o],r),i=new Gx(t,void 0!==(i=this.o(e,i,r))?0:4,void 0!==i?i:"",this.tileGrid.Na(t),this.v,this.c),this.a.set(n,i),i)},Ey.ig=function(t,e,o){t=this.Lb(t,e,o),this.a.b.hasOwnProperty(t)&&this.a.get(t)},i(Gx,br),(Ey=Gx.prototype).ub=function(){return null},Ey.getData=function(t){if(!this.i||!this.l)return null;var e=this.i[Math.floor((1-(t[1]-this.g[1])/(this.g[3]-this.g[1]))*this.i.length)];return"string"!=typeof e?null:(93<=(e=e.charCodeAt(Math.floor((t[0]-this.g[0])/(this.g[2]-this.g[0])*e.length)))&&e--,35<=e&&e--,t=null,(e-=32)in this.l&&(e=this.l[e],t=this.f&&e in this.f?this.f[e]:e),t)},Ey.bb=function(){return this.o},Ey.ge=function(){this.state=3,this.s()},Ey.Hh=function(t){this.i=t.grid,this.l=t.keys,this.f=t.data,this.state=4,this.s()},Ey.xn=function(t){if(!(t=t.target).status||200<=t.status&&t.status<300){var e;try{e=JSON.parse(t.responseText)}catch(t){return void this.ge()}this.Hh(e)}else this.ge()},Ey.wn=function(){this.ge()},Ey.load=function(){this.H&&Kx(this)},i(Xx,$w),(Ey=Xx.prototype).An=function(t,e,o,i){if(o=ge(o),e=(s=(s=this.tileGrid)||this.Db(o)).fe(t,e),!(s.b.length<=e[0])){var r=s.Ha(e[0]),n=s.Na(e,this.Z),s=Eo(s.Za(e[0]),this.l),p=this.u;return 0!==p&&(s=To(s,p,this.l),n=St(n,r*p,n)),p={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.c.LAYERS},L(p,this.c,i),i=Math.floor((n[3]-t[1])/r),p[this.o?"I":"X"]=Math.floor((t[0]-n[0])/r),p[this.o?"J":"Y"]=i,Vx(this,e,s,n,1,o,p)}},Ey.rf=function(){return this.u},Ey.Lb=function(t,e,o){return this.P+$w.prototype.Lb.call(this,t,e,o)},Ey.Bn=function(){return this.c},Ey.jb=function(t){return this.U&&void 0!==this.A?t:1},Ey.zc=function(t,e,o){if(!((n=(n=this.tileGrid)||this.Db(o)).b.length<=t[0])){1==e||this.U&&void 0!==this.A||(e=1);var i=n.Ha(t[0]),r=n.Na(t,this.Z),n=Eo(n.Za(t[0]),this.l),s=this.u;return 0!==s&&(n=To(n,s,this.l),r=St(r,i*s,r)),1!=e&&(n=Ao(n,e,this.l)),L(i={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},this.c),Vx(this,t,n,r,e,o,i)}},Ey.Ya=function(t){$w.prototype.Ya.call(this,t),Wx(this)},Ey.Cn=function(t){L(this.c,t),Wx(this),Hx(this),Zw(this,zx(this))},i(Yx,br),(Ey=Yx.prototype).ub=function(){return-1==this.g.cg?null:this.f.canvas},Ey.Yl=function(){return this.l},Ey.bb=function(){return this.o},Ey.load=function(){0==this.state&&(this.state=1,this.s(),this.H(this,this.o),this.v(null,NaN,null))},Ey.ho=function(t,e){this.Ff(e),this.ri(t)},Ey.fo=function(){this.state=3,this.s()},Ey.ri=function(t){this.i=t,this.state=wr,this.s()},Ey.Ff=function(t){this.j=t},Ey.wi=function(t){this.v=t},i(qx,_w),qx.prototype.Dc=function(t,e,o,i,r){var n=this.Lb(t,e,o);return this.a.b.hasOwnProperty(n)?this.a.get(n):(i=(e=qw(this,t=[t,e,o],r))?this.tileUrlFunction(e,i,r):void 0,P(i=new this.tileClass(t,void 0!==i?0:4,void 0!==i?i:"",this.c,this.tileLoadFunction),"change",this.Jh,this),this.a.set(n,i),i)},qx.prototype.jb=function(t){return null==t?_w.prototype.jb.call(this,t):t},qx.prototype.Dd=function(t,e){t=Eo(this.tileGrid.Za(t));return[Math.round(t[0]*e),Math.round(t[1]*e)]},i(Jx,jo),Jx.prototype.o=function(){return this.l},i($x,$w),(Ey=$x.prototype).bk=function(){return this.c},Ey.Dn=function(){return this.u},Ey.En=function(){return this.A},Ey.pk=function(){return this.o},Ey.Ak=function(){return this.U},Ey.Fn=function(){return this.P},Ey.Hk=function(){return this.Z},Ey.xp=function(t){L(this.c,t),Zw(this,Qx(this))};var tS="KVP";function eS(t){var e=(s=(t=t||{}).size)[0],o=s[1],i=[],r=256;switch(void 0!==t.tierSizeCalculation?t.tierSizeCalculation:iS){case iS:for(;r<e||r<o;)i.push([Math.ceil(e/r),Math.ceil(o/r)]),r+=r;break;case rS:for(;r<e||r<o;)i.push([Math.ceil(e/r),Math.ceil(o/r)]),e>>=1,o>>=1;break;default:O(!1,53)}i.push([1,1]),i.reverse();for(var r=[1],n=[0],o=1,e=i.length;o<e;o++)r.push(1<<o),n.push(i[o-1][0]*i[o-1][1]+n[o-1]);r.reverse();var s=new jo({extent:s=[0,-s[1],s[0],0],origin:zt(s),resolutions:r}),p=t.url;$w.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:oS,tileGrid:s,tileUrlFunction:function(t){if(t){var e=t[0],o=t[1];return t=-t[2]-1,p+"TileGroup"+((o+t*i[e][0]+n[e])/256|0)+"/"+e+"-"+o+"-"+t+".jpg"}}})}function oS(t,e,o,i,r){sm.call(this,t,e,o,i,r),this.f=null}i(eS,$w),i(oS,sm),oS.prototype.ub=function(){if(this.f)return this.f;var t=sm.prototype.ub.call(this);if(this.state!=wr)return t;if(256==t.width&&256==t.height)return this.f=t;var e=ii(256,256);return e.drawImage(t,0,0),this.f=e.canvas};var iS="default",rS="truncated";function nS(t,e){this.b=e,this.a=[{x:0,y:0,width:t,height:t}],this.f={},this.g=ii(t,t),this.c=this.g.canvas}function sS(t,e,o,i){e=[e,1],0<o.width&&0<o.height&&e.push(o),0<i.width&&0<i.height&&e.push(i),t.a.splice.apply(t.a,e)}function pS(t){t=t||{},this.a=void 0!==t.initialSize?t.initialSize:256,this.g=void 0!==t.maxSize?t.maxSize:void 0!==e?e:2048,this.b=void 0!==t.space?t.space:1,this.c=[new nS(this.a,this.b)],this.f=this.a,this.i=[new nS(this.f,this.b)]}function aS(t,e,o,i,r,n,s){for(var p,a=e?t.i:t.c,h=0,l=a.length;h<l;++h){if(p=(p=a[h]).add(o,i,r,n,s))return p;p||h!==l-1||(e?(p=Math.min(2*t.f,t.g),t.f=p):(p=Math.min(2*t.a,t.g),t.a=p),p=new nS(p,t.b),a.push(p),++l)}return null}return nS.prototype.get=function(t){return this.f[t]||null},nS.prototype.add=function(t,e,o,i,r){for(var n,s=0,p=this.a.length;s<p;++s)if((n=this.a[s]).width>=e+this.b&&n.height>=o+this.b)return p={offsetX:n.x+this.b,offsetY:n.y+this.b,image:this.c},this.f[t]=p,i.call(r,this.g,n.x+this.b,n.y+this.b),t=s,e+=this.b,i=o+this.b,e=n.width-e>n.height-i?(o={x:n.x+e,y:n.y,width:n.width-e,height:n.height},{x:n.x,y:n.y+i,width:e,height:n.height-i}):(o={x:n.x+e,y:n.y,width:n.width-e,height:i},{x:n.x,y:n.y+i,width:n.width,height:n.height-i}),sS(this,t,o,e),p;return null},pS.prototype.add=function(t,e,o,i,r,n){return!(e+this.b>this.g||o+this.b>this.g)&&(i=aS(this,!1,t,e,o,i,n))?(t=aS(this,!0,t,e,o,void 0!==r?r:p,n),{offsetX:i.offsetX,offsetY:i.offsetY,image:i.image,yf:t.image}):null},t("ol.animation.bounce",function(t){var r=t.resolution,n=t.start||Date.now(),s=void 0!==t.duration?t.duration:1e3,p=t.easing||wt;return function(t,e){if(e.time<n)return e.animate=!0,e.viewHints[xo]+=1,!0;if(e.time<n+s){var o=p((e.time-n)/s),i=r-e.viewState.resolution;return e.animate=!0,e.viewState.resolution+=o*i,e.viewHints[xo]+=1,!0}return!1}}),t("ol.animation.pan",function(t){var e=t.source,n=t.start||Date.now(),s=e[0],p=e[1],a=void 0!==t.duration?t.duration:1e3,h=t.easing||bt;return function(t,e){if(e.time<n)return e.animate=!0,e.viewHints[xo]+=1,!0;if(e.time<n+a){var o=1-h((e.time-n)/a),i=s-e.viewState.center[0],r=p-e.viewState.center[1];return e.animate=!0,e.viewState.center[0]+=o*i,e.viewState.center[1]+=o*r,e.viewHints[xo]+=1,!0}return!1}}),t("ol.animation.rotate",function(t){var r=t.rotation||0,n=t.start||Date.now(),s=void 0!==t.duration?t.duration:1e3,p=t.easing||bt,a=t.anchor||null;return function(t,e){if(e.time<n)return e.animate=!0,e.viewHints[xo]+=1,!0;if(e.time<n+s){var o,i=1-p((e.time-n)/s),i=(r-e.viewState.rotation)*i;return e.animate=!0,e.viewState.rotation+=i,a&&((o=e.viewState.center)[0]-=a[0],o[1]-=a[1],ut(o,i),st(o,a)),e.viewHints[xo]+=1,!0}return!1}}),t("ol.animation.zoom",function(t){var r=t.resolution,n=t.start||Date.now(),s=void 0!==t.duration?t.duration:1e3,p=t.easing||bt;return function(t,e){if(e.time<n)return e.animate=!0,e.viewHints[xo]+=1,!0;if(e.time<n+s){var o=1-p((e.time-n)/s),i=r-e.viewState.resolution;return e.animate=!0,e.viewState.resolution+=o*i,e.viewHints[xo]+=1,!0}return!1}}),t("ol.Attribution",Ko),Ko.prototype.getHTML=Ko.prototype.g,t("ol.Collection",Xo),Xo.prototype.extend=Xo.prototype.Bf,Xo.prototype.getArray=Xo.prototype.Il,Xo.prototype.getLength=Xo.prototype.Ub,Xo.prototype.insertAt=Xo.prototype.ke,Xo.prototype.removeAt=Xo.prototype.Zf,Xo.prototype.setAt=Xo.prototype.ep,t("ol.color.asArray",Jo),t("ol.color.asString",_o),t("ol.colorlike.asColorLike",oi),t("ol.coordinate.add",st),t("ol.coordinate.createStringXY",function(e){return function(t){return gt(t,e)}}),t("ol.coordinate.format",ht),t("ol.coordinate.rotate",ut),t("ol.coordinate.toStringHDMS",function(t,e){return t?at(t[1],"NS",e)+" "+at(t[0],"EW",e):""}),t("ol.coordinate.toStringXY",gt),t("ol.DeviceOrientation",Cu),Cu.prototype.getAlpha=Cu.prototype.Vj,Cu.prototype.getBeta=Cu.prototype.Yj,Cu.prototype.getGamma=Cu.prototype.ek,Cu.prototype.getHeading=Cu.prototype.Jl,Cu.prototype.getTracking=Cu.prototype.kh,Cu.prototype.setTracking=Cu.prototype.Cf,t("ol.easing.easeIn",dt),t("ol.easing.easeOut",vt),t("ol.easing.inAndOut",bt),t("ol.easing.linear",mt),t("ol.easing.upAndDown",wt),t("ol.Feature",Fu),Fu.prototype.getGeometry=Fu.prototype.V,Fu.prototype.getId=Fu.prototype.Ll,Fu.prototype.getGeometryName=Fu.prototype.gk,Fu.prototype.getStyle=Fu.prototype.Ml,Fu.prototype.getStyleFunction=Fu.prototype.Gc,Fu.prototype.setGeometry=Fu.prototype.Pa,Fu.prototype.setStyle=Fu.prototype.Df,Fu.prototype.setId=Fu.prototype.cc,Fu.prototype.setGeometryName=Fu.prototype.Nc,t("ol.featureloader.xhr",ic),t("ol.Geolocation",Kb),Kb.prototype.getAccuracy=Kb.prototype.Tj,Kb.prototype.getAccuracyGeometry=Kb.prototype.Uj,Kb.prototype.getAltitude=Kb.prototype.Wj,Kb.prototype.getAltitudeAccuracy=Kb.prototype.Xj,Kb.prototype.getHeading=Kb.prototype.Ol,Kb.prototype.getPosition=Kb.prototype.Pl,Kb.prototype.getProjection=Kb.prototype.lh,Kb.prototype.getSpeed=Kb.prototype.Bk,Kb.prototype.getTracking=Kb.prototype.mh,Kb.prototype.getTrackingOptions=Kb.prototype.Wg,Kb.prototype.setProjection=Kb.prototype.nh,Kb.prototype.setTracking=Kb.prototype.ne,Kb.prototype.setTrackingOptions=Kb.prototype.Ci,t("ol.Graticule",em),em.prototype.getMap=em.prototype.Sl,em.prototype.getMeridians=em.prototype.qk,em.prototype.getParallels=em.prototype.xk,t("ol.has.DEVICE_PIXEL_RATIO",Bi),t("ol.has.CANVAS",Gi),t("ol.has.DEVICE_ORIENTATION",Ki),t("ol.has.GEOLOCATION",Xi),t("ol.has.TOUCH",Vi),t("ol.has.WEBGL",Ri),Ls.prototype.getImage=Ls.prototype.a,sm.prototype.getImage=sm.prototype.ub,t("ol.inherits",i),t("ol.Kinetic",Cr),t("ol.loadingstrategy.all",vm),t("ol.loadingstrategy.bbox",function(t){return[t]}),t("ol.loadingstrategy.tile",function(n){return function(t,e){var o=n.Ec(e),i=Fo(n,t,o),r=[];for((o=[o,0,0])[1]=i.ea;o[1]<=i.ca;++o[1])for(o[2]=i.ga;o[2]<=i.ja;++o[2])r.push(n.Na(o));return r}}),t("ol.Map",Bl),Bl.prototype.addControl=Bl.prototype.Bj,Bl.prototype.addInteraction=Bl.prototype.Cj,Bl.prototype.addLayer=Bl.prototype.ug,Bl.prototype.addOverlay=Bl.prototype.vg,Bl.prototype.beforeRender=Bl.prototype.Ij,Bl.prototype.forEachFeatureAtPixel=Bl.prototype.ae,Bl.prototype.forEachLayerAtPixel=Bl.prototype.Wl,Bl.prototype.hasFeatureAtPixel=Bl.prototype.ml,Bl.prototype.getEventCoordinate=Bl.prototype.ck,Bl.prototype.getEventPixel=Bl.prototype.ce,Bl.prototype.getTarget=Bl.prototype.vf,Bl.prototype.getTargetElement=Bl.prototype.Cc,Bl.prototype.getCoordinateFromPixel=Bl.prototype.Sa,Bl.prototype.getControls=Bl.prototype.ak,Bl.prototype.getOverlays=Bl.prototype.vk,Bl.prototype.getOverlayById=Bl.prototype.uk,Bl.prototype.getInteractions=Bl.prototype.hk,Bl.prototype.getLayerGroup=Bl.prototype.Bc,Bl.prototype.getLayers=Bl.prototype.oh,Bl.prototype.getPixelFromCoordinate=Bl.prototype.Ga,Bl.prototype.getSize=Bl.prototype.nb,Bl.prototype.getView=Bl.prototype.aa,Bl.prototype.getViewport=Bl.prototype.Ik,Bl.prototype.renderSync=Bl.prototype.$o,Bl.prototype.removeControl=Bl.prototype.To,Bl.prototype.removeInteraction=Bl.prototype.Uo,Bl.prototype.removeLayer=Bl.prototype.Wo,Bl.prototype.removeOverlay=Bl.prototype.Xo,Bl.prototype.setLayerGroup=Bl.prototype.vi,Bl.prototype.setSize=Bl.prototype.eg,Bl.prototype.setTarget=Bl.prototype.ph,Bl.prototype.setView=Bl.prototype.mp,Bl.prototype.updateSize=Bl.prototype.ld,t("ol.Object",X),X.prototype.getKeys=X.prototype.S,X.prototype.getProperties=X.prototype.R,X.prototype.setProperties=X.prototype.I,X.prototype.unset=X.prototype.T,t("ol.Observable",G),t("ol.Observable.unByKey",K),G.prototype.changed=G.prototype.s,G.prototype.dispatchEvent=G.prototype.b,G.prototype.getRevision=G.prototype.M,G.prototype.on=G.prototype.J,G.prototype.once=G.prototype.N,G.prototype.un=G.prototype.K,G.prototype.unByKey=G.prototype.O,t("ol.Overlay",Vl),Vl.prototype.getElement=Vl.prototype.be,Vl.prototype.getId=Vl.prototype.Xl,Vl.prototype.getMap=Vl.prototype.oe,Vl.prototype.getOffset=Vl.prototype.Tg,Vl.prototype.getPosition=Vl.prototype.qh,Vl.prototype.getPositioning=Vl.prototype.Ug,Vl.prototype.setElement=Vl.prototype.pi,Vl.prototype.setOffset=Vl.prototype.xi,Vl.prototype.setPosition=Vl.prototype.Ef,Vl.prototype.setPositioning=Vl.prototype.Ai,t("ol.render.toContext",function(t,e){var o=t.canvas,i=e||{},e=i.pixelRatio||Bi;return(i=i.size)&&(o.width=i[0]*e,o.height=i[1]*e,o.style.width=i[0]+"px",o.style.height=i[1]+"px"),new np(t,e,o=[0,0,o.width,o.height],i=gs(as(),e,e),0)}),t("ol.size.toSize",Eo),br.prototype.getTileCoord=br.prototype.c,Yx.prototype.getFormat=Yx.prototype.Yl,Yx.prototype.setFeatures=Yx.prototype.ri,Yx.prototype.setProjection=Yx.prototype.Ff,Yx.prototype.setLoader=Yx.prototype.wi,t("ol.View",ho),ho.prototype.constrainCenter=ho.prototype.Zd,ho.prototype.getCenter=ho.prototype.fb,ho.prototype.calculateExtent=ho.prototype.Uc,ho.prototype.getMaxResolution=ho.prototype.Zl,ho.prototype.getMinResolution=ho.prototype.$l,ho.prototype.getProjection=ho.prototype.am,ho.prototype.getResolution=ho.prototype.Oa,ho.prototype.getResolutions=ho.prototype.bm,ho.prototype.getRotation=ho.prototype.Ra,ho.prototype.getZoom=ho.prototype.Kk,ho.prototype.fit=ho.prototype.lf,ho.prototype.centerOn=ho.prototype.Kj,ho.prototype.setCenter=ho.prototype.Mb,ho.prototype.setResolution=ho.prototype.Oc,ho.prototype.setRotation=ho.prototype.pe,ho.prototype.setZoom=ho.prototype.pp,t("ol.xml.getAllTextContent",Du),t("ol.xml.parse",Gu),Ia.prototype.getGL=Ia.prototype.bo,Ia.prototype.useProgram=Ia.prototype.Lc,t("ol.tilegrid.createXYZ",Bo),t("ol.tilegrid.TileGrid",jo),jo.prototype.forEachTileCoord=jo.prototype.Hg,jo.prototype.getMaxZoom=jo.prototype.Rg,jo.prototype.getMinZoom=jo.prototype.Sg,jo.prototype.getOrigin=jo.prototype.Kc,jo.prototype.getResolution=jo.prototype.Ha,jo.prototype.getResolutions=jo.prototype.Wh,jo.prototype.getTileCoordExtent=jo.prototype.Na,jo.prototype.getTileCoordForCoordAndResolution=jo.prototype.fe,jo.prototype.getTileCoordForCoordAndZ=jo.prototype.wf,jo.prototype.getTileSize=jo.prototype.Za,jo.prototype.getZForResolution=jo.prototype.Ec,t("ol.tilegrid.WMTS",Jx),Jx.prototype.getMatrixIds=Jx.prototype.o,t("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",_x),t("ol.style.AtlasManager",pS),t("ol.style.Circle",Xs),Xs.prototype.setRadius=Xs.prototype.Qa,t("ol.style.Fill",Vs),Vs.prototype.getColor=Vs.prototype.g,Vs.prototype.setColor=Vs.prototype.f,t("ol.style.Icon",Lf),Lf.prototype.getAnchor=Lf.prototype.Ac,Lf.prototype.getColor=Lf.prototype.Gn,Lf.prototype.getImage=Lf.prototype.Ic,Lf.prototype.getOrigin=Lf.prototype.Jc,Lf.prototype.getSrc=Lf.prototype.Hn,Lf.prototype.getSize=Lf.prototype.ac,t("ol.style.Image",Us),Us.prototype.getOpacity=Us.prototype.ye,Us.prototype.getRotateWithView=Us.prototype.ze,Us.prototype.getRotation=Us.prototype.Ae,Us.prototype.getScale=Us.prototype.Be,Us.prototype.getSnapToPixel=Us.prototype.ee,Us.prototype.setOpacity=Us.prototype.dd,Us.prototype.setRotation=Us.prototype.Ce,Us.prototype.setScale=Us.prototype.ed,t("ol.style.RegularShape",Gs),Gs.prototype.getAnchor=Gs.prototype.Ac,Gs.prototype.getAngle=Gs.prototype.Nh,Gs.prototype.getFill=Gs.prototype.Oh,Gs.prototype.getImage=Gs.prototype.Ic,Gs.prototype.getOrigin=Gs.prototype.Jc,Gs.prototype.getPoints=Gs.prototype.Ph,Gs.prototype.getRadius=Gs.prototype.Qh,Gs.prototype.getRadius2=Gs.prototype.Vg,Gs.prototype.getSize=Gs.prototype.ac,Gs.prototype.getStroke=Gs.prototype.Rh,t("ol.style.Stroke",Ws),Ws.prototype.getColor=Ws.prototype.In,Ws.prototype.getLineCap=Ws.prototype.kk,Ws.prototype.getLineDash=Ws.prototype.Jn,Ws.prototype.getLineJoin=Ws.prototype.lk,Ws.prototype.getMiterLimit=Ws.prototype.rk,Ws.prototype.getWidth=Ws.prototype.Kn,Ws.prototype.setColor=Ws.prototype.Ln,Ws.prototype.setLineCap=Ws.prototype.ip,Ws.prototype.setLineJoin=Ws.prototype.jp,Ws.prototype.setMiterLimit=Ws.prototype.kp,Ws.prototype.setWidth=Ws.prototype.np,t("ol.style.Style",zs),zs.prototype.getGeometry=zs.prototype.V,zs.prototype.getGeometryFunction=zs.prototype.fk,zs.prototype.getFill=zs.prototype.Mn,zs.prototype.setFill=zs.prototype.Qn,zs.prototype.getImage=zs.prototype.Nn,zs.prototype.setImage=zs.prototype.Rn,zs.prototype.getStroke=zs.prototype.On,zs.prototype.setStroke=zs.prototype.Sn,zs.prototype.getText=zs.prototype.Ka,zs.prototype.setText=zs.prototype.Tn,zs.prototype.getZIndex=zs.prototype.Pn,zs.prototype.setGeometry=zs.prototype.Pa,zs.prototype.setZIndex=zs.prototype.Un,t("ol.style.Text",_f),_f.prototype.getFont=_f.prototype.dk,_f.prototype.getOffsetX=_f.prototype.sk,_f.prototype.getOffsetY=_f.prototype.tk,_f.prototype.getFill=_f.prototype.Vn,_f.prototype.getRotateWithView=_f.prototype.Wn,_f.prototype.getRotation=_f.prototype.Xn,_f.prototype.getScale=_f.prototype.Yn,_f.prototype.getStroke=_f.prototype.Zn,_f.prototype.getText=_f.prototype.Ka,_f.prototype.getTextAlign=_f.prototype.Dk,_f.prototype.getTextBaseline=_f.prototype.Ek,_f.prototype.setFont=_f.prototype.si,_f.prototype.setOffsetX=_f.prototype.yi,_f.prototype.setOffsetY=_f.prototype.zi,_f.prototype.setFill=_f.prototype.Sh,_f.prototype.setRotation=_f.prototype.$n,_f.prototype.setScale=_f.prototype.Th,_f.prototype.setStroke=_f.prototype.Uh,_f.prototype.setText=_f.prototype.Vh,_f.prototype.setTextAlign=_f.prototype.Bi,_f.prototype.setTextBaseline=_f.prototype.lp,t("ol.Sphere",te),te.prototype.geodesicArea=te.prototype.a,te.prototype.haversineDistance=te.prototype.b,t("ol.source.BingMaps",ox),t("ol.source.BingMaps.TOS_ATTRIBUTION",ix),ox.prototype.getApiKey=ox.prototype.U,ox.prototype.getImagerySet=ox.prototype.Z,t("ol.source.CartoDB",nx),nx.prototype.getConfig=nx.prototype.$j,nx.prototype.updateConfig=nx.prototype.wp,nx.prototype.setConfig=nx.prototype.fp,t("ol.source.Cluster",ax),ax.prototype.getSource=ax.prototype.Ua,ax.prototype.setDistance=ax.prototype.Ob,t("ol.source.Image",gl),t("ol.source.ImageArcGISRest",ux),ux.prototype.getParams=ux.prototype.Xm,ux.prototype.getImageLoadFunction=ux.prototype.Wm,ux.prototype.getUrl=ux.prototype.Ym,ux.prototype.setImageLoadFunction=ux.prototype.Zm,ux.prototype.setUrl=ux.prototype.$m,ux.prototype.updateParams=ux.prototype.an,t("ol.source.ImageCanvas",Sl),t("ol.source.ImageMapGuide",cx),cx.prototype.getParams=cx.prototype.cn,cx.prototype.getImageLoadFunction=cx.prototype.bn,cx.prototype.updateParams=cx.prototype.en,cx.prototype.setImageLoadFunction=cx.prototype.dn,t("ol.source.ImageStatic",yx),t("ol.source.ImageVector",Ml),Ml.prototype.getSource=Ml.prototype.fn,Ml.prototype.getStyle=Ml.prototype.gn,Ml.prototype.getStyleFunction=Ml.prototype.hn,Ml.prototype.setStyle=Ml.prototype.Fh,t("ol.source.ImageWMS",fx),fx.prototype.getGetFeatureInfoUrl=fx.prototype.ln,fx.prototype.getParams=fx.prototype.nn,fx.prototype.getImageLoadFunction=fx.prototype.mn,fx.prototype.getUrl=fx.prototype.pn,fx.prototype.setImageLoadFunction=fx.prototype.qn,fx.prototype.setUrl=fx.prototype.rn,fx.prototype.updateParams=fx.prototype.sn,t("ol.source.OSM",bx),t("ol.source.OSM.ATTRIBUTION",xx),t("ol.source.Raster",Sx),Sx.prototype.setOperation=Sx.prototype.u,t("ol.source.Source",cl),cl.prototype.getAttributions=cl.prototype.za,cl.prototype.getLogo=cl.prototype.ya,cl.prototype.getProjection=cl.prototype.Aa,cl.prototype.getState=cl.prototype.W,cl.prototype.refresh=cl.prototype.wa,cl.prototype.setAttributions=cl.prototype.ua,t("ol.source.Stamen",Lx),t("ol.source.Tile",Hw),Hw.prototype.getTileGrid=Hw.prototype.Va,t("ol.source.TileArcGISRest",Fx),Fx.prototype.getParams=Fx.prototype.u,Fx.prototype.updateParams=Fx.prototype.A,t("ol.source.TileDebug",Ox),t("ol.source.TileImage",$w),$w.prototype.setRenderReprojectionEdges=$w.prototype.Hb,$w.prototype.setTileGridForProjection=$w.prototype.Ib,t("ol.source.TileJSON",Bx),Bx.prototype.getTileJSON=Bx.prototype.Fk,t("ol.source.TileUTFGrid",Ux),Ux.prototype.getTemplate=Ux.prototype.Ck,Ux.prototype.forDataAtCoordinateAndResolution=Ux.prototype.Pj,t("ol.source.TileWMS",Xx),Xx.prototype.getGetFeatureInfoUrl=Xx.prototype.An,Xx.prototype.getParams=Xx.prototype.Bn,Xx.prototype.updateParams=Xx.prototype.Cn,_w.prototype.getTileLoadFunction=_w.prototype.ib,_w.prototype.getTileUrlFunction=_w.prototype.kb,_w.prototype.getUrls=_w.prototype.lb,_w.prototype.setTileLoadFunction=_w.prototype.sb,_w.prototype.setTileUrlFunction=_w.prototype.Xa,_w.prototype.setUrl=_w.prototype.cb,_w.prototype.setUrls=_w.prototype.Ya,t("ol.source.Vector",bm),bm.prototype.addFeature=bm.prototype.gb,bm.prototype.addFeatures=bm.prototype.Tc,bm.prototype.forEachFeature=bm.prototype.Fg,bm.prototype.forEachFeatureInExtent=bm.prototype.Qb,bm.prototype.forEachFeatureIntersectingExtent=bm.prototype.Gg,bm.prototype.getFeaturesCollection=bm.prototype.Og,bm.prototype.getFeatures=bm.prototype.we,bm.prototype.getFeaturesAtCoordinate=bm.prototype.Ng,bm.prototype.getFeaturesInExtent=bm.prototype.nf,bm.prototype.getClosestFeatureToCoordinate=bm.prototype.Jg,bm.prototype.getExtent=bm.prototype.G,bm.prototype.getFeatureById=bm.prototype.Mg,bm.prototype.getFormat=bm.prototype.Kh,bm.prototype.getUrl=bm.prototype.Lh,bm.prototype.removeFeature=bm.prototype.rb,t("ol.source.VectorTile",qx),t("ol.source.WMTS",$x),$x.prototype.getDimensions=$x.prototype.bk,$x.prototype.getFormat=$x.prototype.Dn,$x.prototype.getLayer=$x.prototype.En,$x.prototype.getMatrixSet=$x.prototype.pk,$x.prototype.getRequestEncoding=$x.prototype.Ak,$x.prototype.getStyle=$x.prototype.Fn,$x.prototype.getVersion=$x.prototype.Hk,$x.prototype.updateDimensions=$x.prototype.xp,t("ol.source.WMTS.optionsFromCapabilities",function(t,r){var e,o,i=$(t.Contents.Layer,function(t){return t.Identifier==r.layer}),n=t.Contents.TileMatrixSet,s=1<i.TileMatrixSetLink.length?"projection"in r?et(i.TileMatrixSetLink,function(e){var t=$(n,function(t){return t.Identifier==e.TileMatrixSet}).SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"),o=ge(t),i=ge(r.projection);return o&&i?de(o,i):t==r.projection}):et(i.TileMatrixSetLink,function(t){return t.TileMatrixSet==r.matrixSet}):0;s<0&&(s=0),e=i.TileMatrixSetLink[s].TileMatrixSet,o=i.TileMatrixSetLink[s].TileMatrixSetLimits;var p=i.Format[0];"format"in r&&(p=r.format),(s=et(i.Style,function(t){return"style"in r?t.Title==r.style:t.isDefault}))<0&&(s=0),s=i.Style[s].Identifier;var a={};"Dimension"in i&&i.Dimension.forEach(function(t){var e=t.Identifier,o=t.Default;void 0===o&&(o=t.Value[0]),a[e]=o});var h,l,u=$(t.Contents.TileMatrixSet,function(t){return t.Identifier==e}),c="projection"in r?ge(r.projection):ge(u.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));void 0!==(f=i.WGS84BoundingBox)&&(l=ge("EPSG:4326").G(),l=f[0]==l[0]&&f[2]==l[2],h=Se(f,"EPSG:4326",c),(f=c.G())&&(At(f,h)||(h=void 0))),o=_x(u,h,o);var y=[],u=void 0!==(u=r.requestEncoding)?u:"";if("OperationsMetadata"in t&&"GetTile"in t.OperationsMetadata)for(var f=0,g=(h=t.OperationsMetadata.GetTile.DCP.HTTP.Get).length;f<g;++f){var d=$(h[f].Constraint,function(t){return"GetEncoding"==t.name}).AllowedValues.Value;if(""===u&&(u=d[0]),u!==tS)break;q(d,tS)&&y.push(h[f].href)}return 0===y.length&&(u="REST",i.ResourceURL.forEach(function(t){"tile"===t.resourceType&&(p=t.format,y.push(t.template))})),{urls:y,layer:r.layer,matrixSet:e,format:p,projection:c,requestEncoding:u,tileGrid:o,style:s,dimensions:a,wrapX:l}}),t("ol.source.XYZ",rx),t("ol.source.Zoomify",eS),Xd.prototype.getExtent=Xd.prototype.G,Xd.prototype.getGeometry=Xd.prototype.V,Xd.prototype.getProperties=Xd.prototype.Tm,Xd.prototype.getType=Xd.prototype.Y,t("ol.render.VectorContext",rp),qh.prototype.setStyle=qh.prototype.Gd,qh.prototype.drawGeometry=qh.prototype.tc,qh.prototype.drawFeature=qh.prototype.jf,np.prototype.drawCircle=np.prototype.hc,np.prototype.setStyle=np.prototype.Gd,np.prototype.drawGeometry=np.prototype.tc,np.prototype.drawFeature=np.prototype.jf,t("ol.proj.common.add",es),t("ol.proj.METERS_PER_UNIT",oe),t("ol.proj.setProj4",function(t){ie=t}),t("ol.proj.getPointResolution",he),t("ol.proj.addEquivalentProjections",le),t("ol.proj.addProjection",ue),t("ol.proj.addCoordinateTransforms",ye),t("ol.proj.fromLonLat",function(t,e){return xe(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")}),t("ol.proj.toLonLat",function(t,e){return xe(t,void 0!==e?e:"EPSG:3857","EPSG:4326")}),t("ol.proj.get",ge),t("ol.proj.equivalent",de),t("ol.proj.getTransform",ve),t("ol.proj.transform",xe),t("ol.proj.transformExtent",Se),t("ol.proj.Projection",re),re.prototype.getCode=re.prototype.Zj,re.prototype.getExtent=re.prototype.G,re.prototype.getUnits=re.prototype.Eb,re.prototype.getMetersPerUnit=re.prototype.ic,re.prototype.getWorldExtent=re.prototype.Jk,re.prototype.isGlobal=re.prototype.rl,re.prototype.setGlobal=re.prototype.hp,re.prototype.setExtent=re.prototype.Sm,re.prototype.setWorldExtent=re.prototype.op,re.prototype.setGetPointResolution=re.prototype.gp,t("ol.proj.Units.METERS_PER_UNIT",oe),t("ol.layer.Base",In),In.prototype.getExtent=In.prototype.G,In.prototype.getMaxResolution=In.prototype.Wb,In.prototype.getMinResolution=In.prototype.Xb,In.prototype.getOpacity=In.prototype.Yb,In.prototype.getVisible=In.prototype.Fb,In.prototype.getZIndex=In.prototype.Zb,In.prototype.setExtent=In.prototype.kc,In.prototype.setMaxResolution=In.prototype.pc,In.prototype.setMinResolution=In.prototype.qc,In.prototype.setOpacity=In.prototype.lc,In.prototype.setVisible=In.prototype.mc,In.prototype.setZIndex=In.prototype.nc,t("ol.layer.Group",Kn),Kn.prototype.getLayers=Kn.prototype.cd,Kn.prototype.setLayers=Kn.prototype.yh,t("ol.layer.Heatmap",Iw),Iw.prototype.getBlur=Iw.prototype.Ig,Iw.prototype.getGradient=Iw.prototype.Pg,Iw.prototype.getRadius=Iw.prototype.zh,Iw.prototype.setBlur=Iw.prototype.ni,Iw.prototype.setGradient=Iw.prototype.ui,Iw.prototype.setRadius=Iw.prototype.Ah,t("ol.layer.Image",Ts),Ts.prototype.getSource=Ts.prototype.la,t("ol.layer.Layer",is),is.prototype.getSource=is.prototype.la,is.prototype.setSource=is.prototype.Pc,t("ol.layer.Tile",As),As.prototype.getPreload=As.prototype.f,As.prototype.getSource=As.prototype.la,As.prototype.setPreload=As.prototype.l,As.prototype.getUseInterimTilesOnError=As.prototype.c,As.prototype.setUseInterimTilesOnError=As.prototype.C,t("ol.layer.Vector",_s),_s.prototype.getSource=_s.prototype.la,_s.prototype.getStyle=_s.prototype.D,_s.prototype.getStyleFunction=_s.prototype.L,_s.prototype.setStyle=_s.prototype.l,t("ol.layer.VectorTile",$s),$s.prototype.getPreload=$s.prototype.f,$s.prototype.getUseInterimTilesOnError=$s.prototype.c,$s.prototype.setPreload=$s.prototype.P,$s.prototype.setUseInterimTilesOnError=$s.prototype.U,t("ol.interaction.DoubleClickZoom",Fr),t("ol.interaction.DoubleClickZoom.handleEvent",kr),t("ol.interaction.DragAndDrop",am),t("ol.interaction.DragAndDrop.handleEvent",$t),t("ol.interaction.DragBox",sn),sn.prototype.getGeometry=sn.prototype.V,t("ol.interaction.DragPan",Zr),t("ol.interaction.DragRotate",$r),t("ol.interaction.DragRotateAndZoom",ym),t("ol.interaction.DragZoom",gn),t("ol.interaction.Draw",Cm),t("ol.interaction.Draw.handleEvent",jm),Cm.prototype.removeLastPoint=Cm.prototype.Vo,Cm.prototype.finishDrawing=Cm.prototype.zd,Cm.prototype.extend=Cm.prototype.vm,t("ol.interaction.Draw.createRegularPolygon",function(r,n){return function(t,e){var o=t[0],i=t[1],t=Math.sqrt(yt(o,i)),e=e||po(new $b(o),r);return ao(e,o,t,n||Math.atan((i[1]-o[1])/(i[0]-o[0]))),e}}),t("ol.interaction.Draw.createBox",function(){return function(t,e){t=xt(t),e=e||new io(null);return e.qa([[Ut(t),Gt(t),Ht(t),zt(t),Ut(t)]]),e}}),t("ol.interaction.Extent",zm),zm.prototype.getExtent=zm.prototype.G,zm.prototype.setExtent=zm.prototype.i,tw.prototype.extent_=tw.prototype.b,t("ol.interaction.defaults",Nn),t("ol.interaction.Interaction",jr),jr.prototype.getActive=jr.prototype.f,jr.prototype.getMap=jr.prototype.c,jr.prototype.setActive=jr.prototype.Ea,t("ol.interaction.KeyboardPan",dn),t("ol.interaction.KeyboardPan.handleEvent",vn),t("ol.interaction.KeyboardZoom",bn),t("ol.interaction.KeyboardZoom.handleEvent",mn),t("ol.interaction.Modify",ow),t("ol.interaction.Modify.handleEvent",lw),ow.prototype.removePoint=ow.prototype.ki,t("ol.interaction.MouseWheelZoom",wn),t("ol.interaction.MouseWheelZoom.handleEvent",xn),wn.prototype.setMouseAnchor=wn.prototype.P,t("ol.interaction.PinchRotate",Pn),t("ol.interaction.PinchZoom",Cn),t("ol.interaction.Pointer",zr),t("ol.interaction.Pointer.handleEvent",Yr),t("ol.interaction.Select",dw),dw.prototype.getFeatures=dw.prototype.Fm,dw.prototype.getHitTolerance=dw.prototype.Gm,dw.prototype.getLayer=dw.prototype.Hm,t("ol.interaction.Select.handleEvent",vw),dw.prototype.setHitTolerance=dw.prototype.Jm,t("ol.interaction.Snap",ww),ww.prototype.addFeature=ww.prototype.gb,ww.prototype.removeFeature=ww.prototype.rb,t("ol.interaction.Translate",Mw),Mw.prototype.getHitTolerance=Mw.prototype.D,Mw.prototype.setHitTolerance=Mw.prototype.L,t("ol.geom.Circle",$b),$b.prototype.getCenter=$b.prototype.Fd,$b.prototype.getRadius=$b.prototype.qe,$b.prototype.getType=$b.prototype.Y,$b.prototype.intersectsExtent=$b.prototype.Ta,$b.prototype.setCenter=$b.prototype.nm,$b.prototype.setCenterAndRadius=$b.prototype.dg,$b.prototype.setRadius=$b.prototype.om,$b.prototype.transform=$b.prototype.ob,t("ol.geom.Geometry",Me),Me.prototype.getClosestPoint=Me.prototype.Cb,Me.prototype.intersectsCoordinate=Me.prototype.mb,Me.prototype.getExtent=Me.prototype.G,Me.prototype.simplify=Me.prototype.Jb,Me.prototype.transform=Me.prototype.ob,t("ol.geom.GeometryCollection",Qc),Qc.prototype.getGeometries=Qc.prototype.pf,Qc.prototype.getType=Qc.prototype.Y,Qc.prototype.intersectsExtent=Qc.prototype.Ta,Qc.prototype.setGeometries=Qc.prototype.ti,Qc.prototype.applyTransform=Qc.prototype.sc,t("ol.geom.LinearRing",We),We.prototype.getArea=We.prototype.rm,We.prototype.getCoordinates=We.prototype.$,We.prototype.getType=We.prototype.Y,We.prototype.setCoordinates=We.prototype.qa,t("ol.geom.LineString",cc),cc.prototype.appendCoordinate=cc.prototype.Dj,cc.prototype.forEachSegment=cc.prototype.Sj,cc.prototype.getCoordinateAtM=cc.prototype.pm,cc.prototype.getCoordinates=cc.prototype.$,cc.prototype.getCoordinateAt=cc.prototype.Kg,cc.prototype.getLength=cc.prototype.qm,cc.prototype.getType=cc.prototype.Y,cc.prototype.intersectsExtent=cc.prototype.Ta,cc.prototype.setCoordinates=cc.prototype.qa,t("ol.geom.MultiLineString",fc),fc.prototype.appendLineString=fc.prototype.Ej,fc.prototype.getCoordinateAtM=fc.prototype.sm,fc.prototype.getCoordinates=fc.prototype.$,fc.prototype.getLineString=fc.prototype.mk,fc.prototype.getLineStrings=fc.prototype.Yc,fc.prototype.getType=fc.prototype.Y,fc.prototype.intersectsExtent=fc.prototype.Ta,fc.prototype.setCoordinates=fc.prototype.qa,t("ol.geom.MultiPoint",vc),vc.prototype.appendPoint=vc.prototype.Gj,vc.prototype.getCoordinates=vc.prototype.$,vc.prototype.getPoint=vc.prototype.yk,vc.prototype.getPoints=vc.prototype.re,vc.prototype.getType=vc.prototype.Y,vc.prototype.intersectsExtent=vc.prototype.Ta,vc.prototype.setCoordinates=vc.prototype.qa,t("ol.geom.MultiPolygon",bc),bc.prototype.appendPolygon=bc.prototype.Hj,bc.prototype.getArea=bc.prototype.tm,bc.prototype.getCoordinates=bc.prototype.$,bc.prototype.getInteriorPoints=bc.prototype.jk,bc.prototype.getPolygon=bc.prototype.zk,bc.prototype.getPolygons=bc.prototype.Ad,bc.prototype.getType=bc.prototype.Y,bc.prototype.intersectsExtent=bc.prototype.Ta,bc.prototype.setCoordinates=bc.prototype.qa,t("ol.geom.Point",He),He.prototype.getCoordinates=He.prototype.$,He.prototype.getType=He.prototype.Y,He.prototype.intersectsExtent=He.prototype.Ta,He.prototype.setCoordinates=He.prototype.qa,t("ol.geom.Polygon",io),io.prototype.appendLinearRing=io.prototype.Fj,io.prototype.getArea=io.prototype.um,io.prototype.getCoordinates=io.prototype.$,io.prototype.getInteriorPoint=io.prototype.ik,io.prototype.getLinearRingCount=io.prototype.nk,io.prototype.getLinearRing=io.prototype.Qg,io.prototype.getLinearRings=io.prototype.Zc,io.prototype.getType=io.prototype.Y,io.prototype.intersectsExtent=io.prototype.Ta,io.prototype.setCoordinates=io.prototype.qa,t("ol.geom.Polygon.circular",no),t("ol.geom.Polygon.fromExtent",so),t("ol.geom.Polygon.fromCircle",po),t("ol.geom.SimpleGeometry",Ae),Ae.prototype.getFirstCoordinate=Ae.prototype.Rb,Ae.prototype.getLastCoordinate=Ae.prototype.Sb,Ae.prototype.getLayout=Ae.prototype.Tb,Ae.prototype.applyTransform=Ae.prototype.sc,t("ol.format.EsriJSON",Mc),Mc.prototype.readFeature=Mc.prototype.bc,Mc.prototype.readFeatures=Mc.prototype.La,Mc.prototype.readGeometry=Mc.prototype.hd,Mc.prototype.readProjection=Mc.prototype.Wa,Mc.prototype.writeGeometry=Mc.prototype.od,Mc.prototype.writeGeometryObject=Mc.prototype.Te,Mc.prototype.writeFeature=Mc.prototype.Od,Mc.prototype.writeFeatureObject=Mc.prototype.md,Mc.prototype.writeFeatures=Mc.prototype.ec,Mc.prototype.writeFeaturesObject=Mc.prototype.Se,t("ol.format.Feature",rc),t("ol.format.GeoJSON",iy),iy.prototype.readFeature=iy.prototype.bc,iy.prototype.readFeatures=iy.prototype.La,iy.prototype.readGeometry=iy.prototype.hd,iy.prototype.readProjection=iy.prototype.Wa,iy.prototype.writeFeature=iy.prototype.Od,iy.prototype.writeFeatureObject=iy.prototype.md,iy.prototype.writeFeatures=iy.prototype.ec,iy.prototype.writeFeaturesObject=iy.prototype.Se,iy.prototype.writeGeometry=iy.prototype.od,iy.prototype.writeGeometryObject=iy.prototype.Te,t("ol.format.GML",Ty),Ty.prototype.writeFeatures=Ty.prototype.ec,Ty.prototype.writeFeaturesNode=Ty.prototype.a,t("ol.format.GML2",ky),t("ol.format.GML3",Ty),Ty.prototype.writeGeometryNode=Ty.prototype.H,Ty.prototype.writeFeatures=Ty.prototype.ec,Ty.prototype.writeFeaturesNode=Ty.prototype.a,uy.prototype.readFeatures=uy.prototype.La,t("ol.format.GPX",Oy),Oy.prototype.readFeature=Oy.prototype.bc,Oy.prototype.readFeatures=Oy.prototype.La,Oy.prototype.readProjection=Oy.prototype.Wa,Oy.prototype.writeFeatures=Oy.prototype.ec,Oy.prototype.writeFeaturesNode=Oy.prototype.a,t("ol.format.IGC",wf),wf.prototype.readFeature=wf.prototype.bc,wf.prototype.readFeatures=wf.prototype.La,wf.prototype.readProjection=wf.prototype.Wa,t("ol.format.KML",$f),$f.prototype.readFeature=$f.prototype.bc,$f.prototype.readFeatures=$f.prototype.La,$f.prototype.readName=$f.prototype.Jo,$f.prototype.readNetworkLinks=$f.prototype.Ko,$f.prototype.readRegion=$f.prototype.No,$f.prototype.readRegionFromNode=$f.prototype.Ie,$f.prototype.readProjection=$f.prototype.Wa,$f.prototype.writeFeatures=$f.prototype.ec,$f.prototype.writeFeaturesNode=$f.prototype.a,t("ol.format.MVT",Vd),Vd.prototype.readFeatures=Vd.prototype.La,Vd.prototype.readProjection=Vd.prototype.Wa,Vd.prototype.setLayers=Vd.prototype.c,t("ol.format.OSMXML",zd),zd.prototype.readFeatures=zd.prototype.La,zd.prototype.readProjection=zd.prototype.Wa,t("ol.format.Polyline",fv),t("ol.format.Polyline.encodeDeltas",gv),t("ol.format.Polyline.decodeDeltas",dv),t("ol.format.Polyline.encodeFloats",vv),t("ol.format.Polyline.decodeFloats",bv),fv.prototype.readFeature=fv.prototype.bc,fv.prototype.readFeatures=fv.prototype.La,fv.prototype.readGeometry=fv.prototype.hd,fv.prototype.readProjection=fv.prototype.Wa,fv.prototype.writeGeometry=fv.prototype.od,t("ol.format.TopoJSON",mv),mv.prototype.readFeatures=mv.prototype.La,mv.prototype.readProjection=mv.prototype.Wa,t("ol.format.WFS",Pv),Pv.prototype.readFeatures=Pv.prototype.La,Pv.prototype.readTransactionResponse=Pv.prototype.o,Pv.prototype.readFeatureCollectionMetadata=Pv.prototype.l,Pv.prototype.writeGetFeature=Pv.prototype.v,Pv.prototype.writeTransaction=Pv.prototype.A,Pv.prototype.readProjection=Pv.prototype.Wa,t("ol.format.WKT",Xv),Xv.prototype.readFeature=Xv.prototype.bc,Xv.prototype.readFeatures=Xv.prototype.La,Xv.prototype.readGeometry=Xv.prototype.hd,Xv.prototype.writeFeature=Xv.prototype.Od,Xv.prototype.writeFeatures=Xv.prototype.ec,Xv.prototype.writeGeometry=Xv.prototype.od,t("ol.format.WMSCapabilities",nb),t("ol.format.WMSGetFeatureInfo",Eb),Eb.prototype.readFeatures=Eb.prototype.La,t("ol.format.WMTSCapabilities",Cb),t("ol.format.filter.And",Ic),t("ol.format.filter.Bbox",Fc),t("ol.format.filter.Comparison",kc),t("ol.format.filter.ComparisonBinary",Oc),t("ol.format.filter.EqualTo",Dc),t("ol.format.filter.Filter",Lc),t("ol.format.filter.GreaterThan",Bc),t("ol.format.filter.GreaterThanOrEqualTo",Uc),t("ol.format.filter.and",_c),t("ol.format.filter.or",function(t,e){return new qc(t,e)}),t("ol.format.filter.not",function(t){return new Yc(t)}),t("ol.format.filter.bbox",$c),t("ol.format.filter.intersects",function(t,e,o){return new Kc(t,e,o)}),t("ol.format.filter.within",function(t,e,o){return new Jc(t,e,o)}),t("ol.format.filter.equalTo",function(t,e,o){return new Dc(t,e,o)}),t("ol.format.filter.notEqualTo",function(t,e,o){return new Zc(t,e,o)}),t("ol.format.filter.lessThan",function(t,e){return new zc(t,e)}),t("ol.format.filter.lessThanOrEqualTo",function(t,e){return new Hc(t,e)}),t("ol.format.filter.greaterThan",function(t,e){return new Bc(t,e)}),t("ol.format.filter.greaterThanOrEqualTo",function(t,e){return new Uc(t,e)}),t("ol.format.filter.isNull",function(t){return new Wc(t)}),t("ol.format.filter.between",function(t,e,o){return new Xc(t,e,o)}),t("ol.format.filter.like",function(t,e,o,i,r,n){return new Vc(t,e,o,i,r,n)}),t("ol.format.filter.Intersects",Kc),t("ol.format.filter.IsBetween",Xc),t("ol.format.filter.IsLike",Vc),t("ol.format.filter.IsNull",Wc),t("ol.format.filter.LessThan",zc),t("ol.format.filter.LessThanOrEqualTo",Hc),t("ol.format.filter.Not",Yc),t("ol.format.filter.NotEqualTo",Zc),t("ol.format.filter.Or",qc),t("ol.format.filter.Spatial",Gc),t("ol.format.filter.Within",Jc),t("ol.extent.boundingExtent",xt),t("ol.extent.buffer",St),t("ol.extent.containsCoordinate",Tt),t("ol.extent.containsExtent",At),t("ol.extent.containsXY",Et),t("ol.extent.createEmpty",jt),t("ol.extent.equals",It),t("ol.extent.extend",Ft),t("ol.extent.getBottomLeft",Ut),t("ol.extent.getBottomRight",Gt),t("ol.extent.getCenter",Kt),t("ol.extent.getHeight",Vt),t("ol.extent.getIntersection",Wt),t("ol.extent.getSize",function(t){return[t[2]-t[0],t[3]-t[1]]}),t("ol.extent.getTopLeft",zt),t("ol.extent.getTopRight",Ht),t("ol.extent.getWidth",Yt),t("ol.extent.intersects",Zt),t("ol.extent.isEmpty",qt),t("ol.extent.applyTransform",_t),t("ol.events.condition.altKeyOnly",function(t){return(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey}),t("ol.events.condition.altShiftKeysOnly",Or),t("ol.events.condition.always",$t),t("ol.events.condition.click",function(t){return"click"==t.type}),t("ol.events.condition.never",Qt),t("ol.events.condition.pointerMove",Br),t("ol.events.condition.singleClick",Ur),t("ol.events.condition.doubleClick",function(t){return"dblclick"==t.type}),t("ol.events.condition.noModifierKeys",Gr),t("ol.events.condition.platformModifierKeyOnly",function(t){return!(t=t.originalEvent).altKey&&(Di?t.metaKey:t.ctrlKey)&&!t.shiftKey}),t("ol.events.condition.shiftKeyOnly",Kr),t("ol.events.condition.targetNotEditable",Xr),t("ol.events.condition.mouseOnly",Vr),t("ol.events.condition.primaryAction",Wr),t("ol.control.Attribution",ai),t("ol.control.Attribution.render",hi),ai.prototype.getCollapsible=ai.prototype.dm,ai.prototype.setCollapsible=ai.prototype.gm,ai.prototype.setCollapsed=ai.prototype.fm,ai.prototype.getCollapsed=ai.prototype.cm,t("ol.control.Control",pi),pi.prototype.getMap=pi.prototype.i,pi.prototype.setTarget=pi.prototype.c,t("ol.control.FullScreen",ui),t("ol.control.defaults",wi),t("ol.control.MousePosition",xi),t("ol.control.MousePosition.render",Si),xi.prototype.getCoordinateFormat=xi.prototype.Lg,xi.prototype.getProjection=xi.prototype.rh,xi.prototype.setCoordinateFormat=xi.prototype.oi,xi.prototype.setProjection=xi.prototype.sh,t("ol.control.OverviewMap",pu),t("ol.control.OverviewMap.render",au),pu.prototype.getCollapsible=pu.prototype.jm,pu.prototype.setCollapsible=pu.prototype.mm,pu.prototype.setCollapsed=pu.prototype.lm,pu.prototype.getCollapsed=pu.prototype.im,pu.prototype.getOverviewMap=pu.prototype.wk,t("ol.control.Rotate",vi),t("ol.control.Rotate.render",bi),t("ol.control.ScaleLine",cu),cu.prototype.getUnits=cu.prototype.Eb,t("ol.control.ScaleLine.render",fu),cu.prototype.setUnits=cu.prototype.D,t("ol.control.Zoom",mi),t("ol.control.ZoomSlider",Su),t("ol.control.ZoomSlider.render",Pu),t("ol.control.ZoomToExtent",Eu),X.prototype.changed=X.prototype.s,X.prototype.dispatchEvent=X.prototype.b,X.prototype.getRevision=X.prototype.M,X.prototype.on=X.prototype.J,X.prototype.once=X.prototype.N,X.prototype.un=X.prototype.K,X.prototype.unByKey=X.prototype.O,Xo.prototype.getKeys=Xo.prototype.S,Xo.prototype.getProperties=Xo.prototype.R,Xo.prototype.setProperties=Xo.prototype.I,Xo.prototype.unset=Xo.prototype.T,Xo.prototype.changed=Xo.prototype.s,Xo.prototype.dispatchEvent=Xo.prototype.b,Xo.prototype.getRevision=Xo.prototype.M,Xo.prototype.on=Xo.prototype.J,Xo.prototype.once=Xo.prototype.N,Xo.prototype.un=Xo.prototype.K,Xo.prototype.unByKey=Xo.prototype.O,Cu.prototype.getKeys=Cu.prototype.S,Cu.prototype.getProperties=Cu.prototype.R,Cu.prototype.setProperties=Cu.prototype.I,Cu.prototype.unset=Cu.prototype.T,Cu.prototype.changed=Cu.prototype.s,Cu.prototype.dispatchEvent=Cu.prototype.b,Cu.prototype.getRevision=Cu.prototype.M,Cu.prototype.on=Cu.prototype.J,Cu.prototype.once=Cu.prototype.N,Cu.prototype.un=Cu.prototype.K,Cu.prototype.unByKey=Cu.prototype.O,Fu.prototype.getKeys=Fu.prototype.S,Fu.prototype.getProperties=Fu.prototype.R,Fu.prototype.setProperties=Fu.prototype.I,Fu.prototype.unset=Fu.prototype.T,Fu.prototype.changed=Fu.prototype.s,Fu.prototype.dispatchEvent=Fu.prototype.b,Fu.prototype.getRevision=Fu.prototype.M,Fu.prototype.on=Fu.prototype.J,Fu.prototype.once=Fu.prototype.N,Fu.prototype.un=Fu.prototype.K,Fu.prototype.unByKey=Fu.prototype.O,Kb.prototype.getKeys=Kb.prototype.S,Kb.prototype.getProperties=Kb.prototype.R,Kb.prototype.setProperties=Kb.prototype.I,Kb.prototype.unset=Kb.prototype.T,Kb.prototype.changed=Kb.prototype.s,Kb.prototype.dispatchEvent=Kb.prototype.b,Kb.prototype.getRevision=Kb.prototype.M,Kb.prototype.on=Kb.prototype.J,Kb.prototype.once=Kb.prototype.N,Kb.prototype.un=Kb.prototype.K,Kb.prototype.unByKey=Kb.prototype.O,sm.prototype.getTileCoord=sm.prototype.c,Bl.prototype.getKeys=Bl.prototype.S,Bl.prototype.getProperties=Bl.prototype.R,Bl.prototype.setProperties=Bl.prototype.I,Bl.prototype.unset=Bl.prototype.T,Bl.prototype.changed=Bl.prototype.s,Bl.prototype.dispatchEvent=Bl.prototype.b,Bl.prototype.getRevision=Bl.prototype.M,Bl.prototype.on=Bl.prototype.J,Bl.prototype.once=Bl.prototype.N,Bl.prototype.un=Bl.prototype.K,Bl.prototype.unByKey=Bl.prototype.O,Vl.prototype.getKeys=Vl.prototype.S,Vl.prototype.getProperties=Vl.prototype.R,Vl.prototype.setProperties=Vl.prototype.I,Vl.prototype.unset=Vl.prototype.T,Vl.prototype.changed=Vl.prototype.s,Vl.prototype.dispatchEvent=Vl.prototype.b,Vl.prototype.getRevision=Vl.prototype.M,Vl.prototype.on=Vl.prototype.J,Vl.prototype.once=Vl.prototype.N,Vl.prototype.un=Vl.prototype.K,Vl.prototype.unByKey=Vl.prototype.O,Yx.prototype.getTileCoord=Yx.prototype.c,ho.prototype.getKeys=ho.prototype.S,ho.prototype.getProperties=ho.prototype.R,ho.prototype.setProperties=ho.prototype.I,ho.prototype.unset=ho.prototype.T,ho.prototype.changed=ho.prototype.s,ho.prototype.dispatchEvent=ho.prototype.b,ho.prototype.getRevision=ho.prototype.M,ho.prototype.on=ho.prototype.J,ho.prototype.once=ho.prototype.N,ho.prototype.un=ho.prototype.K,ho.prototype.unByKey=ho.prototype.O,Jx.prototype.forEachTileCoord=Jx.prototype.Hg,Jx.prototype.getMaxZoom=Jx.prototype.Rg,Jx.prototype.getMinZoom=Jx.prototype.Sg,Jx.prototype.getOrigin=Jx.prototype.Kc,Jx.prototype.getResolution=Jx.prototype.Ha,Jx.prototype.getResolutions=Jx.prototype.Wh,Jx.prototype.getTileCoordExtent=Jx.prototype.Na,Jx.prototype.getTileCoordForCoordAndResolution=Jx.prototype.fe,Jx.prototype.getTileCoordForCoordAndZ=Jx.prototype.wf,Jx.prototype.getTileSize=Jx.prototype.Za,Jx.prototype.getZForResolution=Jx.prototype.Ec,Gs.prototype.getOpacity=Gs.prototype.ye,Gs.prototype.getRotateWithView=Gs.prototype.ze,Gs.prototype.getRotation=Gs.prototype.Ae,Gs.prototype.getScale=Gs.prototype.Be,Gs.prototype.getSnapToPixel=Gs.prototype.ee,Gs.prototype.setOpacity=Gs.prototype.dd,Gs.prototype.setRotation=Gs.prototype.Ce,Gs.prototype.setScale=Gs.prototype.ed,Xs.prototype.getAngle=Xs.prototype.Nh,Xs.prototype.getFill=Xs.prototype.Oh,Xs.prototype.getPoints=Xs.prototype.Ph,Xs.prototype.getRadius=Xs.prototype.Qh,Xs.prototype.getRadius2=Xs.prototype.Vg,Xs.prototype.getStroke=Xs.prototype.Rh,Xs.prototype.getOpacity=Xs.prototype.ye,Xs.prototype.getRotateWithView=Xs.prototype.ze,Xs.prototype.getRotation=Xs.prototype.Ae,Xs.prototype.getScale=Xs.prototype.Be,Xs.prototype.getSnapToPixel=Xs.prototype.ee,Xs.prototype.setOpacity=Xs.prototype.dd,Xs.prototype.setRotation=Xs.prototype.Ce,Xs.prototype.setScale=Xs.prototype.ed,Lf.prototype.getOpacity=Lf.prototype.ye,Lf.prototype.getRotateWithView=Lf.prototype.ze,Lf.prototype.getRotation=Lf.prototype.Ae,Lf.prototype.getScale=Lf.prototype.Be,Lf.prototype.getSnapToPixel=Lf.prototype.ee,Lf.prototype.setOpacity=Lf.prototype.dd,Lf.prototype.setRotation=Lf.prototype.Ce,Lf.prototype.setScale=Lf.prototype.ed,cl.prototype.getKeys=cl.prototype.S,cl.prototype.getProperties=cl.prototype.R,cl.prototype.setProperties=cl.prototype.I,cl.prototype.unset=cl.prototype.T,cl.prototype.changed=cl.prototype.s,cl.prototype.dispatchEvent=cl.prototype.b,cl.prototype.getRevision=cl.prototype.M,cl.prototype.on=cl.prototype.J,cl.prototype.once=cl.prototype.N,cl.prototype.un=cl.prototype.K,cl.prototype.unByKey=cl.prototype.O,Hw.prototype.getAttributions=Hw.prototype.za,Hw.prototype.getLogo=Hw.prototype.ya,Hw.prototype.getProjection=Hw.prototype.Aa,Hw.prototype.getState=Hw.prototype.W,Hw.prototype.refresh=Hw.prototype.wa,Hw.prototype.setAttributions=Hw.prototype.ua,Hw.prototype.getKeys=Hw.prototype.S,Hw.prototype.getProperties=Hw.prototype.R,Hw.prototype.setProperties=Hw.prototype.I,Hw.prototype.unset=Hw.prototype.T,Hw.prototype.changed=Hw.prototype.s,Hw.prototype.dispatchEvent=Hw.prototype.b,Hw.prototype.getRevision=Hw.prototype.M,Hw.prototype.on=Hw.prototype.J,Hw.prototype.once=Hw.prototype.N,Hw.prototype.un=Hw.prototype.K,Hw.prototype.unByKey=Hw.prototype.O,_w.prototype.getTileGrid=_w.prototype.Va,_w.prototype.refresh=_w.prototype.wa,_w.prototype.getAttributions=_w.prototype.za,_w.prototype.getLogo=_w.prototype.ya,_w.prototype.getProjection=_w.prototype.Aa,_w.prototype.getState=_w.prototype.W,_w.prototype.setAttributions=_w.prototype.ua,_w.prototype.getKeys=_w.prototype.S,_w.prototype.getProperties=_w.prototype.R,_w.prototype.setProperties=_w.prototype.I,_w.prototype.unset=_w.prototype.T,_w.prototype.changed=_w.prototype.s,_w.prototype.dispatchEvent=_w.prototype.b,_w.prototype.getRevision=_w.prototype.M,_w.prototype.on=_w.prototype.J,_w.prototype.once=_w.prototype.N,_w.prototype.un=_w.prototype.K,_w.prototype.unByKey=_w.prototype.O,$w.prototype.getTileLoadFunction=$w.prototype.ib,$w.prototype.getTileUrlFunction=$w.prototype.kb,$w.prototype.getUrls=$w.prototype.lb,$w.prototype.setTileLoadFunction=$w.prototype.sb,$w.prototype.setTileUrlFunction=$w.prototype.Xa,$w.prototype.setUrl=$w.prototype.cb,$w.prototype.setUrls=$w.prototype.Ya,$w.prototype.getTileGrid=$w.prototype.Va,$w.prototype.refresh=$w.prototype.wa,$w.prototype.getAttributions=$w.prototype.za,$w.prototype.getLogo=$w.prototype.ya,$w.prototype.getProjection=$w.prototype.Aa,$w.prototype.getState=$w.prototype.W,$w.prototype.setAttributions=$w.prototype.ua,$w.prototype.getKeys=$w.prototype.S,$w.prototype.getProperties=$w.prototype.R,$w.prototype.setProperties=$w.prototype.I,$w.prototype.unset=$w.prototype.T,$w.prototype.changed=$w.prototype.s,$w.prototype.dispatchEvent=$w.prototype.b,$w.prototype.getRevision=$w.prototype.M,$w.prototype.on=$w.prototype.J,$w.prototype.once=$w.prototype.N,$w.prototype.un=$w.prototype.K,$w.prototype.unByKey=$w.prototype.O,ox.prototype.setRenderReprojectionEdges=ox.prototype.Hb,ox.prototype.setTileGridForProjection=ox.prototype.Ib,ox.prototype.getTileLoadFunction=ox.prototype.ib,ox.prototype.getTileUrlFunction=ox.prototype.kb,ox.prototype.getUrls=ox.prototype.lb,ox.prototype.setTileLoadFunction=ox.prototype.sb,ox.prototype.setTileUrlFunction=ox.prototype.Xa,ox.prototype.setUrl=ox.prototype.cb,ox.prototype.setUrls=ox.prototype.Ya,ox.prototype.getTileGrid=ox.prototype.Va,ox.prototype.refresh=ox.prototype.wa,ox.prototype.getAttributions=ox.prototype.za,ox.prototype.getLogo=ox.prototype.ya,ox.prototype.getProjection=ox.prototype.Aa,ox.prototype.getState=ox.prototype.W,ox.prototype.setAttributions=ox.prototype.ua,ox.prototype.getKeys=ox.prototype.S,ox.prototype.getProperties=ox.prototype.R,ox.prototype.setProperties=ox.prototype.I,ox.prototype.unset=ox.prototype.T,ox.prototype.changed=ox.prototype.s,ox.prototype.dispatchEvent=ox.prototype.b,ox.prototype.getRevision=ox.prototype.M,ox.prototype.on=ox.prototype.J,ox.prototype.once=ox.prototype.N,ox.prototype.un=ox.prototype.K,ox.prototype.unByKey=ox.prototype.O,rx.prototype.setRenderReprojectionEdges=rx.prototype.Hb,rx.prototype.setTileGridForProjection=rx.prototype.Ib,rx.prototype.getTileLoadFunction=rx.prototype.ib,rx.prototype.getTileUrlFunction=rx.prototype.kb,rx.prototype.getUrls=rx.prototype.lb,rx.prototype.setTileLoadFunction=rx.prototype.sb,rx.prototype.setTileUrlFunction=rx.prototype.Xa,rx.prototype.setUrl=rx.prototype.cb,rx.prototype.setUrls=rx.prototype.Ya,rx.prototype.getTileGrid=rx.prototype.Va,rx.prototype.refresh=rx.prototype.wa,rx.prototype.getAttributions=rx.prototype.za,rx.prototype.getLogo=rx.prototype.ya,rx.prototype.getProjection=rx.prototype.Aa,rx.prototype.getState=rx.prototype.W,rx.prototype.setAttributions=rx.prototype.ua,rx.prototype.getKeys=rx.prototype.S,rx.prototype.getProperties=rx.prototype.R,rx.prototype.setProperties=rx.prototype.I,rx.prototype.unset=rx.prototype.T,rx.prototype.changed=rx.prototype.s,rx.prototype.dispatchEvent=rx.prototype.b,rx.prototype.getRevision=rx.prototype.M,rx.prototype.on=rx.prototype.J,rx.prototype.once=rx.prototype.N,rx.prototype.un=rx.prototype.K,rx.prototype.unByKey=rx.prototype.O,nx.prototype.setRenderReprojectionEdges=nx.prototype.Hb,nx.prototype.setTileGridForProjection=nx.prototype.Ib,nx.prototype.getTileLoadFunction=nx.prototype.ib,nx.prototype.getTileUrlFunction=nx.prototype.kb,nx.prototype.getUrls=nx.prototype.lb,nx.prototype.setTileLoadFunction=nx.prototype.sb,nx.prototype.setTileUrlFunction=nx.prototype.Xa,nx.prototype.setUrl=nx.prototype.cb,nx.prototype.setUrls=nx.prototype.Ya,nx.prototype.getTileGrid=nx.prototype.Va,nx.prototype.refresh=nx.prototype.wa,nx.prototype.getAttributions=nx.prototype.za,nx.prototype.getLogo=nx.prototype.ya,nx.prototype.getProjection=nx.prototype.Aa,nx.prototype.getState=nx.prototype.W,nx.prototype.setAttributions=nx.prototype.ua,nx.prototype.getKeys=nx.prototype.S,nx.prototype.getProperties=nx.prototype.R,nx.prototype.setProperties=nx.prototype.I,nx.prototype.unset=nx.prototype.T,nx.prototype.changed=nx.prototype.s,nx.prototype.dispatchEvent=nx.prototype.b,nx.prototype.getRevision=nx.prototype.M,nx.prototype.on=nx.prototype.J,nx.prototype.once=nx.prototype.N,nx.prototype.un=nx.prototype.K,nx.prototype.unByKey=nx.prototype.O,bm.prototype.getAttributions=bm.prototype.za,bm.prototype.getLogo=bm.prototype.ya,bm.prototype.getProjection=bm.prototype.Aa,bm.prototype.getState=bm.prototype.W,bm.prototype.refresh=bm.prototype.wa,bm.prototype.setAttributions=bm.prototype.ua,bm.prototype.getKeys=bm.prototype.S,bm.prototype.getProperties=bm.prototype.R,bm.prototype.setProperties=bm.prototype.I,bm.prototype.unset=bm.prototype.T,bm.prototype.changed=bm.prototype.s,bm.prototype.dispatchEvent=bm.prototype.b,bm.prototype.getRevision=bm.prototype.M,bm.prototype.on=bm.prototype.J,bm.prototype.once=bm.prototype.N,bm.prototype.un=bm.prototype.K,bm.prototype.unByKey=bm.prototype.O,ax.prototype.addFeature=ax.prototype.gb,ax.prototype.addFeatures=ax.prototype.Tc,ax.prototype.forEachFeature=ax.prototype.Fg,ax.prototype.forEachFeatureInExtent=ax.prototype.Qb,ax.prototype.forEachFeatureIntersectingExtent=ax.prototype.Gg,ax.prototype.getFeaturesCollection=ax.prototype.Og,ax.prototype.getFeatures=ax.prototype.we,ax.prototype.getFeaturesAtCoordinate=ax.prototype.Ng,ax.prototype.getFeaturesInExtent=ax.prototype.nf,ax.prototype.getClosestFeatureToCoordinate=ax.prototype.Jg,ax.prototype.getExtent=ax.prototype.G,ax.prototype.getFeatureById=ax.prototype.Mg,ax.prototype.getFormat=ax.prototype.Kh,ax.prototype.getUrl=ax.prototype.Lh,ax.prototype.removeFeature=ax.prototype.rb,ax.prototype.getAttributions=ax.prototype.za,ax.prototype.getLogo=ax.prototype.ya,ax.prototype.getProjection=ax.prototype.Aa,ax.prototype.getState=ax.prototype.W,ax.prototype.refresh=ax.prototype.wa,ax.prototype.setAttributions=ax.prototype.ua,ax.prototype.getKeys=ax.prototype.S,ax.prototype.getProperties=ax.prototype.R,ax.prototype.setProperties=ax.prototype.I,ax.prototype.unset=ax.prototype.T,ax.prototype.changed=ax.prototype.s,ax.prototype.dispatchEvent=ax.prototype.b,ax.prototype.getRevision=ax.prototype.M,ax.prototype.on=ax.prototype.J,ax.prototype.once=ax.prototype.N,ax.prototype.un=ax.prototype.K,ax.prototype.unByKey=ax.prototype.O,gl.prototype.getAttributions=gl.prototype.za,gl.prototype.getLogo=gl.prototype.ya,gl.prototype.getProjection=gl.prototype.Aa,gl.prototype.getState=gl.prototype.W,gl.prototype.refresh=gl.prototype.wa,gl.prototype.setAttributions=gl.prototype.ua,gl.prototype.getKeys=gl.prototype.S,gl.prototype.getProperties=gl.prototype.R,gl.prototype.setProperties=gl.prototype.I,gl.prototype.unset=gl.prototype.T,gl.prototype.changed=gl.prototype.s,gl.prototype.dispatchEvent=gl.prototype.b,gl.prototype.getRevision=gl.prototype.M,gl.prototype.on=gl.prototype.J,gl.prototype.once=gl.prototype.N,gl.prototype.un=gl.prototype.K,gl.prototype.unByKey=gl.prototype.O,ux.prototype.getAttributions=ux.prototype.za,ux.prototype.getLogo=ux.prototype.ya,ux.prototype.getProjection=ux.prototype.Aa,ux.prototype.getState=ux.prototype.W,ux.prototype.refresh=ux.prototype.wa,ux.prototype.setAttributions=ux.prototype.ua,ux.prototype.getKeys=ux.prototype.S,ux.prototype.getProperties=ux.prototype.R,ux.prototype.setProperties=ux.prototype.I,ux.prototype.unset=ux.prototype.T,ux.prototype.changed=ux.prototype.s,ux.prototype.dispatchEvent=ux.prototype.b,ux.prototype.getRevision=ux.prototype.M,ux.prototype.on=ux.prototype.J,ux.prototype.once=ux.prototype.N,ux.prototype.un=ux.prototype.K,ux.prototype.unByKey=ux.prototype.O,Sl.prototype.getAttributions=Sl.prototype.za,Sl.prototype.getLogo=Sl.prototype.ya,Sl.prototype.getProjection=Sl.prototype.Aa,Sl.prototype.getState=Sl.prototype.W,Sl.prototype.refresh=Sl.prototype.wa,Sl.prototype.setAttributions=Sl.prototype.ua,Sl.prototype.getKeys=Sl.prototype.S,Sl.prototype.getProperties=Sl.prototype.R,Sl.prototype.setProperties=Sl.prototype.I,Sl.prototype.unset=Sl.prototype.T,Sl.prototype.changed=Sl.prototype.s,Sl.prototype.dispatchEvent=Sl.prototype.b,Sl.prototype.getRevision=Sl.prototype.M,Sl.prototype.on=Sl.prototype.J,Sl.prototype.once=Sl.prototype.N,Sl.prototype.un=Sl.prototype.K,Sl.prototype.unByKey=Sl.prototype.O,cx.prototype.getAttributions=cx.prototype.za,cx.prototype.getLogo=cx.prototype.ya,cx.prototype.getProjection=cx.prototype.Aa,cx.prototype.getState=cx.prototype.W,cx.prototype.refresh=cx.prototype.wa,cx.prototype.setAttributions=cx.prototype.ua,cx.prototype.getKeys=cx.prototype.S,cx.prototype.getProperties=cx.prototype.R,cx.prototype.setProperties=cx.prototype.I,cx.prototype.unset=cx.prototype.T,cx.prototype.changed=cx.prototype.s,cx.prototype.dispatchEvent=cx.prototype.b,cx.prototype.getRevision=cx.prototype.M,cx.prototype.on=cx.prototype.J,cx.prototype.once=cx.prototype.N,cx.prototype.un=cx.prototype.K,cx.prototype.unByKey=cx.prototype.O,yx.prototype.getAttributions=yx.prototype.za,yx.prototype.getLogo=yx.prototype.ya,yx.prototype.getProjection=yx.prototype.Aa,yx.prototype.getState=yx.prototype.W,yx.prototype.refresh=yx.prototype.wa,yx.prototype.setAttributions=yx.prototype.ua,yx.prototype.getKeys=yx.prototype.S,yx.prototype.getProperties=yx.prototype.R,yx.prototype.setProperties=yx.prototype.I,yx.prototype.unset=yx.prototype.T,yx.prototype.changed=yx.prototype.s,yx.prototype.dispatchEvent=yx.prototype.b,yx.prototype.getRevision=yx.prototype.M,yx.prototype.on=yx.prototype.J,yx.prototype.once=yx.prototype.N,yx.prototype.un=yx.prototype.K,yx.prototype.unByKey=yx.prototype.O,Ml.prototype.getAttributions=Ml.prototype.za,Ml.prototype.getLogo=Ml.prototype.ya,Ml.prototype.getProjection=Ml.prototype.Aa,Ml.prototype.getState=Ml.prototype.W,Ml.prototype.refresh=Ml.prototype.wa,Ml.prototype.setAttributions=Ml.prototype.ua,Ml.prototype.getKeys=Ml.prototype.S,Ml.prototype.getProperties=Ml.prototype.R,Ml.prototype.setProperties=Ml.prototype.I,Ml.prototype.unset=Ml.prototype.T,Ml.prototype.changed=Ml.prototype.s,Ml.prototype.dispatchEvent=Ml.prototype.b,Ml.prototype.getRevision=Ml.prototype.M,Ml.prototype.on=Ml.prototype.J,Ml.prototype.once=Ml.prototype.N,Ml.prototype.un=Ml.prototype.K,Ml.prototype.unByKey=Ml.prototype.O,fx.prototype.getAttributions=fx.prototype.za,fx.prototype.getLogo=fx.prototype.ya,fx.prototype.getProjection=fx.prototype.Aa,fx.prototype.getState=fx.prototype.W,fx.prototype.refresh=fx.prototype.wa,fx.prototype.setAttributions=fx.prototype.ua,fx.prototype.getKeys=fx.prototype.S,fx.prototype.getProperties=fx.prototype.R,fx.prototype.setProperties=fx.prototype.I,fx.prototype.unset=fx.prototype.T,fx.prototype.changed=fx.prototype.s,fx.prototype.dispatchEvent=fx.prototype.b,fx.prototype.getRevision=fx.prototype.M,fx.prototype.on=fx.prototype.J,fx.prototype.once=fx.prototype.N,fx.prototype.un=fx.prototype.K,fx.prototype.unByKey=fx.prototype.O,bx.prototype.setRenderReprojectionEdges=bx.prototype.Hb,bx.prototype.setTileGridForProjection=bx.prototype.Ib,bx.prototype.getTileLoadFunction=bx.prototype.ib,bx.prototype.getTileUrlFunction=bx.prototype.kb,bx.prototype.getUrls=bx.prototype.lb,bx.prototype.setTileLoadFunction=bx.prototype.sb,bx.prototype.setTileUrlFunction=bx.prototype.Xa,bx.prototype.setUrl=bx.prototype.cb,bx.prototype.setUrls=bx.prototype.Ya,bx.prototype.getTileGrid=bx.prototype.Va,bx.prototype.refresh=bx.prototype.wa,bx.prototype.getAttributions=bx.prototype.za,bx.prototype.getLogo=bx.prototype.ya,bx.prototype.getProjection=bx.prototype.Aa,bx.prototype.getState=bx.prototype.W,bx.prototype.setAttributions=bx.prototype.ua,bx.prototype.getKeys=bx.prototype.S,bx.prototype.getProperties=bx.prototype.R,bx.prototype.setProperties=bx.prototype.I,bx.prototype.unset=bx.prototype.T,bx.prototype.changed=bx.prototype.s,bx.prototype.dispatchEvent=bx.prototype.b,bx.prototype.getRevision=bx.prototype.M,bx.prototype.on=bx.prototype.J,bx.prototype.once=bx.prototype.N,bx.prototype.un=bx.prototype.K,bx.prototype.unByKey=bx.prototype.O,Sx.prototype.getAttributions=Sx.prototype.za,Sx.prototype.getLogo=Sx.prototype.ya,Sx.prototype.getProjection=Sx.prototype.Aa,Sx.prototype.getState=Sx.prototype.W,Sx.prototype.refresh=Sx.prototype.wa,Sx.prototype.setAttributions=Sx.prototype.ua,Sx.prototype.getKeys=Sx.prototype.S,Sx.prototype.getProperties=Sx.prototype.R,Sx.prototype.setProperties=Sx.prototype.I,Sx.prototype.unset=Sx.prototype.T,Sx.prototype.changed=Sx.prototype.s,Sx.prototype.dispatchEvent=Sx.prototype.b,Sx.prototype.getRevision=Sx.prototype.M,Sx.prototype.on=Sx.prototype.J,Sx.prototype.once=Sx.prototype.N,Sx.prototype.un=Sx.prototype.K,Sx.prototype.unByKey=Sx.prototype.O,Lx.prototype.setRenderReprojectionEdges=Lx.prototype.Hb,Lx.prototype.setTileGridForProjection=Lx.prototype.Ib,Lx.prototype.getTileLoadFunction=Lx.prototype.ib,Lx.prototype.getTileUrlFunction=Lx.prototype.kb,Lx.prototype.getUrls=Lx.prototype.lb,Lx.prototype.setTileLoadFunction=Lx.prototype.sb,Lx.prototype.setTileUrlFunction=Lx.prototype.Xa,Lx.prototype.setUrl=Lx.prototype.cb,Lx.prototype.setUrls=Lx.prototype.Ya,Lx.prototype.getTileGrid=Lx.prototype.Va,Lx.prototype.refresh=Lx.prototype.wa,Lx.prototype.getAttributions=Lx.prototype.za,Lx.prototype.getLogo=Lx.prototype.ya,Lx.prototype.getProjection=Lx.prototype.Aa,Lx.prototype.getState=Lx.prototype.W,Lx.prototype.setAttributions=Lx.prototype.ua,Lx.prototype.getKeys=Lx.prototype.S,Lx.prototype.getProperties=Lx.prototype.R,Lx.prototype.setProperties=Lx.prototype.I,Lx.prototype.unset=Lx.prototype.T,Lx.prototype.changed=Lx.prototype.s,Lx.prototype.dispatchEvent=Lx.prototype.b,Lx.prototype.getRevision=Lx.prototype.M,Lx.prototype.on=Lx.prototype.J,Lx.prototype.once=Lx.prototype.N,Lx.prototype.un=Lx.prototype.K,Lx.prototype.unByKey=Lx.prototype.O,Fx.prototype.setRenderReprojectionEdges=Fx.prototype.Hb,Fx.prototype.setTileGridForProjection=Fx.prototype.Ib,Fx.prototype.getTileLoadFunction=Fx.prototype.ib,Fx.prototype.getTileUrlFunction=Fx.prototype.kb,Fx.prototype.getUrls=Fx.prototype.lb,Fx.prototype.setTileLoadFunction=Fx.prototype.sb,Fx.prototype.setTileUrlFunction=Fx.prototype.Xa,Fx.prototype.setUrl=Fx.prototype.cb,Fx.prototype.setUrls=Fx.prototype.Ya,Fx.prototype.getTileGrid=Fx.prototype.Va,Fx.prototype.refresh=Fx.prototype.wa,Fx.prototype.getAttributions=Fx.prototype.za,Fx.prototype.getLogo=Fx.prototype.ya,Fx.prototype.getProjection=Fx.prototype.Aa,Fx.prototype.getState=Fx.prototype.W,Fx.prototype.setAttributions=Fx.prototype.ua,Fx.prototype.getKeys=Fx.prototype.S,Fx.prototype.getProperties=Fx.prototype.R,Fx.prototype.setProperties=Fx.prototype.I,Fx.prototype.unset=Fx.prototype.T,Fx.prototype.changed=Fx.prototype.s,Fx.prototype.dispatchEvent=Fx.prototype.b,Fx.prototype.getRevision=Fx.prototype.M,Fx.prototype.on=Fx.prototype.J,Fx.prototype.once=Fx.prototype.N,Fx.prototype.un=Fx.prototype.K,Fx.prototype.unByKey=Fx.prototype.O,Ox.prototype.getTileGrid=Ox.prototype.Va,Ox.prototype.refresh=Ox.prototype.wa,Ox.prototype.getAttributions=Ox.prototype.za,Ox.prototype.getLogo=Ox.prototype.ya,Ox.prototype.getProjection=Ox.prototype.Aa,Ox.prototype.getState=Ox.prototype.W,Ox.prototype.setAttributions=Ox.prototype.ua,Ox.prototype.getKeys=Ox.prototype.S,Ox.prototype.getProperties=Ox.prototype.R,Ox.prototype.setProperties=Ox.prototype.I,Ox.prototype.unset=Ox.prototype.T,Ox.prototype.changed=Ox.prototype.s,Ox.prototype.dispatchEvent=Ox.prototype.b,Ox.prototype.getRevision=Ox.prototype.M,Ox.prototype.on=Ox.prototype.J,Ox.prototype.once=Ox.prototype.N,Ox.prototype.un=Ox.prototype.K,Ox.prototype.unByKey=Ox.prototype.O,Bx.prototype.setRenderReprojectionEdges=Bx.prototype.Hb,Bx.prototype.setTileGridForProjection=Bx.prototype.Ib,Bx.prototype.getTileLoadFunction=Bx.prototype.ib,Bx.prototype.getTileUrlFunction=Bx.prototype.kb,Bx.prototype.getUrls=Bx.prototype.lb,Bx.prototype.setTileLoadFunction=Bx.prototype.sb,Bx.prototype.setTileUrlFunction=Bx.prototype.Xa,Bx.prototype.setUrl=Bx.prototype.cb,Bx.prototype.setUrls=Bx.prototype.Ya,Bx.prototype.getTileGrid=Bx.prototype.Va,Bx.prototype.refresh=Bx.prototype.wa,Bx.prototype.getAttributions=Bx.prototype.za,Bx.prototype.getLogo=Bx.prototype.ya,Bx.prototype.getProjection=Bx.prototype.Aa,Bx.prototype.getState=Bx.prototype.W,Bx.prototype.setAttributions=Bx.prototype.ua,Bx.prototype.getKeys=Bx.prototype.S,Bx.prototype.getProperties=Bx.prototype.R,Bx.prototype.setProperties=Bx.prototype.I,Bx.prototype.unset=Bx.prototype.T,Bx.prototype.changed=Bx.prototype.s,Bx.prototype.dispatchEvent=Bx.prototype.b,Bx.prototype.getRevision=Bx.prototype.M,Bx.prototype.on=Bx.prototype.J,Bx.prototype.once=Bx.prototype.N,Bx.prototype.un=Bx.prototype.K,Bx.prototype.unByKey=Bx.prototype.O,Ux.prototype.getTileGrid=Ux.prototype.Va,Ux.prototype.refresh=Ux.prototype.wa,Ux.prototype.getAttributions=Ux.prototype.za,Ux.prototype.getLogo=Ux.prototype.ya,Ux.prototype.getProjection=Ux.prototype.Aa,Ux.prototype.getState=Ux.prototype.W,Ux.prototype.setAttributions=Ux.prototype.ua,Ux.prototype.getKeys=Ux.prototype.S,Ux.prototype.getProperties=Ux.prototype.R,Ux.prototype.setProperties=Ux.prototype.I,Ux.prototype.unset=Ux.prototype.T,Ux.prototype.changed=Ux.prototype.s,Ux.prototype.dispatchEvent=Ux.prototype.b,Ux.prototype.getRevision=Ux.prototype.M,Ux.prototype.on=Ux.prototype.J,Ux.prototype.once=Ux.prototype.N,Ux.prototype.un=Ux.prototype.K,Ux.prototype.unByKey=Ux.prototype.O,Xx.prototype.setRenderReprojectionEdges=Xx.prototype.Hb,Xx.prototype.setTileGridForProjection=Xx.prototype.Ib,Xx.prototype.getTileLoadFunction=Xx.prototype.ib,Xx.prototype.getTileUrlFunction=Xx.prototype.kb,Xx.prototype.getUrls=Xx.prototype.lb,Xx.prototype.setTileLoadFunction=Xx.prototype.sb,Xx.prototype.setTileUrlFunction=Xx.prototype.Xa,Xx.prototype.setUrl=Xx.prototype.cb,Xx.prototype.setUrls=Xx.prototype.Ya,Xx.prototype.getTileGrid=Xx.prototype.Va,Xx.prototype.refresh=Xx.prototype.wa,Xx.prototype.getAttributions=Xx.prototype.za,Xx.prototype.getLogo=Xx.prototype.ya,Xx.prototype.getProjection=Xx.prototype.Aa,Xx.prototype.getState=Xx.prototype.W,Xx.prototype.setAttributions=Xx.prototype.ua,Xx.prototype.getKeys=Xx.prototype.S,Xx.prototype.getProperties=Xx.prototype.R,Xx.prototype.setProperties=Xx.prototype.I,Xx.prototype.unset=Xx.prototype.T,Xx.prototype.changed=Xx.prototype.s,Xx.prototype.dispatchEvent=Xx.prototype.b,Xx.prototype.getRevision=Xx.prototype.M,Xx.prototype.on=Xx.prototype.J,Xx.prototype.once=Xx.prototype.N,Xx.prototype.un=Xx.prototype.K,Xx.prototype.unByKey=Xx.prototype.O,qx.prototype.getTileLoadFunction=qx.prototype.ib,qx.prototype.getTileUrlFunction=qx.prototype.kb,qx.prototype.getUrls=qx.prototype.lb,qx.prototype.setTileLoadFunction=qx.prototype.sb,qx.prototype.setTileUrlFunction=qx.prototype.Xa,qx.prototype.setUrl=qx.prototype.cb,qx.prototype.setUrls=qx.prototype.Ya,qx.prototype.getTileGrid=qx.prototype.Va,qx.prototype.refresh=qx.prototype.wa,qx.prototype.getAttributions=qx.prototype.za,qx.prototype.getLogo=qx.prototype.ya,qx.prototype.getProjection=qx.prototype.Aa,qx.prototype.getState=qx.prototype.W,qx.prototype.setAttributions=qx.prototype.ua,qx.prototype.getKeys=qx.prototype.S,qx.prototype.getProperties=qx.prototype.R,qx.prototype.setProperties=qx.prototype.I,qx.prototype.unset=qx.prototype.T,qx.prototype.changed=qx.prototype.s,qx.prototype.dispatchEvent=qx.prototype.b,qx.prototype.getRevision=qx.prototype.M,qx.prototype.on=qx.prototype.J,qx.prototype.once=qx.prototype.N,qx.prototype.un=qx.prototype.K,qx.prototype.unByKey=qx.prototype.O,$x.prototype.setRenderReprojectionEdges=$x.prototype.Hb,$x.prototype.setTileGridForProjection=$x.prototype.Ib,$x.prototype.getTileLoadFunction=$x.prototype.ib,$x.prototype.getTileUrlFunction=$x.prototype.kb,$x.prototype.getUrls=$x.prototype.lb,$x.prototype.setTileLoadFunction=$x.prototype.sb,$x.prototype.setTileUrlFunction=$x.prototype.Xa,$x.prototype.setUrl=$x.prototype.cb,$x.prototype.setUrls=$x.prototype.Ya,$x.prototype.getTileGrid=$x.prototype.Va,$x.prototype.refresh=$x.prototype.wa,$x.prototype.getAttributions=$x.prototype.za,$x.prototype.getLogo=$x.prototype.ya,$x.prototype.getProjection=$x.prototype.Aa,$x.prototype.getState=$x.prototype.W,$x.prototype.setAttributions=$x.prototype.ua,$x.prototype.getKeys=$x.prototype.S,$x.prototype.getProperties=$x.prototype.R,$x.prototype.setProperties=$x.prototype.I,$x.prototype.unset=$x.prototype.T,$x.prototype.changed=$x.prototype.s,$x.prototype.dispatchEvent=$x.prototype.b,$x.prototype.getRevision=$x.prototype.M,$x.prototype.on=$x.prototype.J,$x.prototype.once=$x.prototype.N,$x.prototype.un=$x.prototype.K,$x.prototype.unByKey=$x.prototype.O,eS.prototype.setRenderReprojectionEdges=eS.prototype.Hb,eS.prototype.setTileGridForProjection=eS.prototype.Ib,eS.prototype.getTileLoadFunction=eS.prototype.ib,eS.prototype.getTileUrlFunction=eS.prototype.kb,eS.prototype.getUrls=eS.prototype.lb,eS.prototype.setTileLoadFunction=eS.prototype.sb,eS.prototype.setTileUrlFunction=eS.prototype.Xa,eS.prototype.setUrl=eS.prototype.cb,eS.prototype.setUrls=eS.prototype.Ya,eS.prototype.getTileGrid=eS.prototype.Va,eS.prototype.refresh=eS.prototype.wa,eS.prototype.getAttributions=eS.prototype.za,eS.prototype.getLogo=eS.prototype.ya,eS.prototype.getProjection=eS.prototype.Aa,eS.prototype.getState=eS.prototype.W,eS.prototype.setAttributions=eS.prototype.ua,eS.prototype.getKeys=eS.prototype.S,eS.prototype.getProperties=eS.prototype.R,eS.prototype.setProperties=eS.prototype.I,eS.prototype.unset=eS.prototype.T,eS.prototype.changed=eS.prototype.s,eS.prototype.dispatchEvent=eS.prototype.b,eS.prototype.getRevision=eS.prototype.M,eS.prototype.on=eS.prototype.J,eS.prototype.once=eS.prototype.N,eS.prototype.un=eS.prototype.K,eS.prototype.unByKey=eS.prototype.O,Uw.prototype.getTileCoord=Uw.prototype.c,cp.prototype.changed=cp.prototype.s,cp.prototype.dispatchEvent=cp.prototype.b,cp.prototype.getRevision=cp.prototype.M,cp.prototype.on=cp.prototype.J,cp.prototype.once=cp.prototype.N,cp.prototype.un=cp.prototype.K,cp.prototype.unByKey=cp.prototype.O,el.prototype.changed=el.prototype.s,el.prototype.dispatchEvent=el.prototype.b,el.prototype.getRevision=el.prototype.M,el.prototype.on=el.prototype.J,el.prototype.once=el.prototype.N,el.prototype.un=el.prototype.K,el.prototype.unByKey=el.prototype.O,Pl.prototype.changed=Pl.prototype.s,Pl.prototype.dispatchEvent=Pl.prototype.b,Pl.prototype.getRevision=Pl.prototype.M,Pl.prototype.on=Pl.prototype.J,Pl.prototype.once=Pl.prototype.N,Pl.prototype.un=Pl.prototype.K,Pl.prototype.unByKey=Pl.prototype.O,Ll.prototype.changed=Ll.prototype.s,Ll.prototype.dispatchEvent=Ll.prototype.b,Ll.prototype.getRevision=Ll.prototype.M,Ll.prototype.on=Ll.prototype.J,Ll.prototype.once=Ll.prototype.N,Ll.prototype.un=Ll.prototype.K,Ll.prototype.unByKey=Ll.prototype.O,Rl.prototype.changed=Rl.prototype.s,Rl.prototype.dispatchEvent=Rl.prototype.b,Rl.prototype.getRevision=Rl.prototype.M,Rl.prototype.on=Rl.prototype.J,Rl.prototype.once=Rl.prototype.N,Rl.prototype.un=Rl.prototype.K,Rl.prototype.unByKey=Rl.prototype.O,wp.prototype.changed=wp.prototype.s,wp.prototype.dispatchEvent=wp.prototype.b,wp.prototype.getRevision=wp.prototype.M,wp.prototype.on=wp.prototype.J,wp.prototype.once=wp.prototype.N,wp.prototype.un=wp.prototype.K,wp.prototype.unByKey=wp.prototype.O,Pp.prototype.changed=Pp.prototype.s,Pp.prototype.dispatchEvent=Pp.prototype.b,Pp.prototype.getRevision=Pp.prototype.M,Pp.prototype.on=Pp.prototype.J,Pp.prototype.once=Pp.prototype.N,Pp.prototype.un=Pp.prototype.K,Pp.prototype.unByKey=Pp.prototype.O,Tp.prototype.changed=Tp.prototype.s,Tp.prototype.dispatchEvent=Tp.prototype.b,Tp.prototype.getRevision=Tp.prototype.M,Tp.prototype.on=Tp.prototype.J,Tp.prototype.once=Tp.prototype.N,Tp.prototype.un=Tp.prototype.K,Tp.prototype.unByKey=Tp.prototype.O,Ap.prototype.changed=Ap.prototype.s,Ap.prototype.dispatchEvent=Ap.prototype.b,Ap.prototype.getRevision=Ap.prototype.M,Ap.prototype.on=Ap.prototype.J,Ap.prototype.once=Ap.prototype.N,Ap.prototype.un=Ap.prototype.K,Ap.prototype.unByKey=Ap.prototype.O,ea.prototype.changed=ea.prototype.s,ea.prototype.dispatchEvent=ea.prototype.b,ea.prototype.getRevision=ea.prototype.M,ea.prototype.on=ea.prototype.J,ea.prototype.once=ea.prototype.N,ea.prototype.un=ea.prototype.K,ea.prototype.unByKey=ea.prototype.O,oa.prototype.changed=oa.prototype.s,oa.prototype.dispatchEvent=oa.prototype.b,oa.prototype.getRevision=oa.prototype.M,oa.prototype.on=oa.prototype.J,oa.prototype.once=oa.prototype.N,oa.prototype.un=oa.prototype.K,oa.prototype.unByKey=oa.prototype.O,In.prototype.getKeys=In.prototype.S,In.prototype.getProperties=In.prototype.R,In.prototype.setProperties=In.prototype.I,In.prototype.unset=In.prototype.T,In.prototype.changed=In.prototype.s,In.prototype.dispatchEvent=In.prototype.b,In.prototype.getRevision=In.prototype.M,In.prototype.on=In.prototype.J,In.prototype.once=In.prototype.N,In.prototype.un=In.prototype.K,In.prototype.unByKey=In.prototype.O,Kn.prototype.getExtent=Kn.prototype.G,Kn.prototype.getMaxResolution=Kn.prototype.Wb,Kn.prototype.getMinResolution=Kn.prototype.Xb,Kn.prototype.getOpacity=Kn.prototype.Yb,Kn.prototype.getVisible=Kn.prototype.Fb,Kn.prototype.getZIndex=Kn.prototype.Zb,Kn.prototype.setExtent=Kn.prototype.kc,Kn.prototype.setMaxResolution=Kn.prototype.pc,Kn.prototype.setMinResolution=Kn.prototype.qc,Kn.prototype.setOpacity=Kn.prototype.lc,Kn.prototype.setVisible=Kn.prototype.mc,Kn.prototype.setZIndex=Kn.prototype.nc,Kn.prototype.getKeys=Kn.prototype.S,Kn.prototype.getProperties=Kn.prototype.R,Kn.prototype.setProperties=Kn.prototype.I,Kn.prototype.unset=Kn.prototype.T,Kn.prototype.changed=Kn.prototype.s,Kn.prototype.dispatchEvent=Kn.prototype.b,Kn.prototype.getRevision=Kn.prototype.M,Kn.prototype.on=Kn.prototype.J,Kn.prototype.once=Kn.prototype.N,Kn.prototype.un=Kn.prototype.K,Kn.prototype.unByKey=Kn.prototype.O,is.prototype.getExtent=is.prototype.G,is.prototype.getMaxResolution=is.prototype.Wb,is.prototype.getMinResolution=is.prototype.Xb,is.prototype.getOpacity=is.prototype.Yb,is.prototype.getVisible=is.prototype.Fb,is.prototype.getZIndex=is.prototype.Zb,is.prototype.setExtent=is.prototype.kc,is.prototype.setMaxResolution=is.prototype.pc,is.prototype.setMinResolution=is.prototype.qc,is.prototype.setOpacity=is.prototype.lc,is.prototype.setVisible=is.prototype.mc,is.prototype.setZIndex=is.prototype.nc,is.prototype.getKeys=is.prototype.S,is.prototype.getProperties=is.prototype.R,is.prototype.setProperties=is.prototype.I,is.prototype.unset=is.prototype.T,is.prototype.changed=is.prototype.s,is.prototype.dispatchEvent=is.prototype.b,is.prototype.getRevision=is.prototype.M,is.prototype.on=is.prototype.J,is.prototype.once=is.prototype.N,is.prototype.un=is.prototype.K,is.prototype.unByKey=is.prototype.O,_s.prototype.setSource=_s.prototype.Pc,_s.prototype.getExtent=_s.prototype.G,_s.prototype.getMaxResolution=_s.prototype.Wb,_s.prototype.getMinResolution=_s.prototype.Xb,_s.prototype.getOpacity=_s.prototype.Yb,_s.prototype.getVisible=_s.prototype.Fb,_s.prototype.getZIndex=_s.prototype.Zb,_s.prototype.setExtent=_s.prototype.kc,_s.prototype.setMaxResolution=_s.prototype.pc,_s.prototype.setMinResolution=_s.prototype.qc,_s.prototype.setOpacity=_s.prototype.lc,_s.prototype.setVisible=_s.prototype.mc,_s.prototype.setZIndex=_s.prototype.nc,_s.prototype.getKeys=_s.prototype.S,_s.prototype.getProperties=_s.prototype.R,_s.prototype.setProperties=_s.prototype.I,_s.prototype.unset=_s.prototype.T,_s.prototype.changed=_s.prototype.s,_s.prototype.dispatchEvent=_s.prototype.b,_s.prototype.getRevision=_s.prototype.M,_s.prototype.on=_s.prototype.J,_s.prototype.once=_s.prototype.N,_s.prototype.un=_s.prototype.K,_s.prototype.unByKey=_s.prototype.O,Iw.prototype.getSource=Iw.prototype.la,Iw.prototype.getStyle=Iw.prototype.D,Iw.prototype.getStyleFunction=Iw.prototype.L,Iw.prototype.setStyle=Iw.prototype.l,Iw.prototype.setSource=Iw.prototype.Pc,Iw.prototype.getExtent=Iw.prototype.G,Iw.prototype.getMaxResolution=Iw.prototype.Wb,Iw.prototype.getMinResolution=Iw.prototype.Xb,Iw.prototype.getOpacity=Iw.prototype.Yb,Iw.prototype.getVisible=Iw.prototype.Fb,Iw.prototype.getZIndex=Iw.prototype.Zb,Iw.prototype.setExtent=Iw.prototype.kc,Iw.prototype.setMaxResolution=Iw.prototype.pc,Iw.prototype.setMinResolution=Iw.prototype.qc,Iw.prototype.setOpacity=Iw.prototype.lc,Iw.prototype.setVisible=Iw.prototype.mc,Iw.prototype.setZIndex=Iw.prototype.nc,Iw.prototype.getKeys=Iw.prototype.S,Iw.prototype.getProperties=Iw.prototype.R,Iw.prototype.setProperties=Iw.prototype.I,Iw.prototype.unset=Iw.prototype.T,Iw.prototype.changed=Iw.prototype.s,Iw.prototype.dispatchEvent=Iw.prototype.b,Iw.prototype.getRevision=Iw.prototype.M,Iw.prototype.on=Iw.prototype.J,Iw.prototype.once=Iw.prototype.N,Iw.prototype.un=Iw.prototype.K,Iw.prototype.unByKey=Iw.prototype.O,Ts.prototype.setSource=Ts.prototype.Pc,Ts.prototype.getExtent=Ts.prototype.G,Ts.prototype.getMaxResolution=Ts.prototype.Wb,Ts.prototype.getMinResolution=Ts.prototype.Xb,Ts.prototype.getOpacity=Ts.prototype.Yb,Ts.prototype.getVisible=Ts.prototype.Fb,Ts.prototype.getZIndex=Ts.prototype.Zb,Ts.prototype.setExtent=Ts.prototype.kc,Ts.prototype.setMaxResolution=Ts.prototype.pc,Ts.prototype.setMinResolution=Ts.prototype.qc,Ts.prototype.setOpacity=Ts.prototype.lc,Ts.prototype.setVisible=Ts.prototype.mc,Ts.prototype.setZIndex=Ts.prototype.nc,Ts.prototype.getKeys=Ts.prototype.S,Ts.prototype.getProperties=Ts.prototype.R,Ts.prototype.setProperties=Ts.prototype.I,Ts.prototype.unset=Ts.prototype.T,Ts.prototype.changed=Ts.prototype.s,Ts.prototype.dispatchEvent=Ts.prototype.b,Ts.prototype.getRevision=Ts.prototype.M,Ts.prototype.on=Ts.prototype.J,Ts.prototype.once=Ts.prototype.N,Ts.prototype.un=Ts.prototype.K,Ts.prototype.unByKey=Ts.prototype.O,As.prototype.setSource=As.prototype.Pc,As.prototype.getExtent=As.prototype.G,As.prototype.getMaxResolution=As.prototype.Wb,As.prototype.getMinResolution=As.prototype.Xb,As.prototype.getOpacity=As.prototype.Yb,As.prototype.getVisible=As.prototype.Fb,As.prototype.getZIndex=As.prototype.Zb,As.prototype.setExtent=As.prototype.kc,As.prototype.setMaxResolution=As.prototype.pc,As.prototype.setMinResolution=As.prototype.qc,As.prototype.setOpacity=As.prototype.lc,As.prototype.setVisible=As.prototype.mc,As.prototype.setZIndex=As.prototype.nc,As.prototype.getKeys=As.prototype.S,As.prototype.getProperties=As.prototype.R,As.prototype.setProperties=As.prototype.I,As.prototype.unset=As.prototype.T,As.prototype.changed=As.prototype.s,As.prototype.dispatchEvent=As.prototype.b,As.prototype.getRevision=As.prototype.M,As.prototype.on=As.prototype.J,As.prototype.once=As.prototype.N,As.prototype.un=As.prototype.K,As.prototype.unByKey=As.prototype.O,$s.prototype.getSource=$s.prototype.la,$s.prototype.getStyle=$s.prototype.D,$s.prototype.getStyleFunction=$s.prototype.L,$s.prototype.setStyle=$s.prototype.l,$s.prototype.setSource=$s.prototype.Pc,$s.prototype.getExtent=$s.prototype.G,$s.prototype.getMaxResolution=$s.prototype.Wb,$s.prototype.getMinResolution=$s.prototype.Xb,$s.prototype.getOpacity=$s.prototype.Yb,$s.prototype.getVisible=$s.prototype.Fb,$s.prototype.getZIndex=$s.prototype.Zb,$s.prototype.setExtent=$s.prototype.kc,$s.prototype.setMaxResolution=$s.prototype.pc,$s.prototype.setMinResolution=$s.prototype.qc,$s.prototype.setOpacity=$s.prototype.lc,$s.prototype.setVisible=$s.prototype.mc,$s.prototype.setZIndex=$s.prototype.nc,$s.prototype.getKeys=$s.prototype.S,$s.prototype.getProperties=$s.prototype.R,$s.prototype.setProperties=$s.prototype.I,$s.prototype.unset=$s.prototype.T,$s.prototype.changed=$s.prototype.s,$s.prototype.dispatchEvent=$s.prototype.b,$s.prototype.getRevision=$s.prototype.M,$s.prototype.on=$s.prototype.J,$s.prototype.once=$s.prototype.N,$s.prototype.un=$s.prototype.K,$s.prototype.unByKey=$s.prototype.O,jr.prototype.getKeys=jr.prototype.S,jr.prototype.getProperties=jr.prototype.R,jr.prototype.setProperties=jr.prototype.I,jr.prototype.unset=jr.prototype.T,jr.prototype.changed=jr.prototype.s,jr.prototype.dispatchEvent=jr.prototype.b,jr.prototype.getRevision=jr.prototype.M,jr.prototype.on=jr.prototype.J,jr.prototype.once=jr.prototype.N,jr.prototype.un=jr.prototype.K,jr.prototype.unByKey=jr.prototype.O,Fr.prototype.getActive=Fr.prototype.f,Fr.prototype.getMap=Fr.prototype.c,Fr.prototype.setActive=Fr.prototype.Ea,Fr.prototype.getKeys=Fr.prototype.S,Fr.prototype.getProperties=Fr.prototype.R,Fr.prototype.setProperties=Fr.prototype.I,Fr.prototype.unset=Fr.prototype.T,Fr.prototype.changed=Fr.prototype.s,Fr.prototype.dispatchEvent=Fr.prototype.b,Fr.prototype.getRevision=Fr.prototype.M,Fr.prototype.on=Fr.prototype.J,Fr.prototype.once=Fr.prototype.N,Fr.prototype.un=Fr.prototype.K,Fr.prototype.unByKey=Fr.prototype.O,am.prototype.getActive=am.prototype.f,am.prototype.getMap=am.prototype.c,am.prototype.setActive=am.prototype.Ea,am.prototype.getKeys=am.prototype.S,am.prototype.getProperties=am.prototype.R,am.prototype.setProperties=am.prototype.I,am.prototype.unset=am.prototype.T,am.prototype.changed=am.prototype.s,am.prototype.dispatchEvent=am.prototype.b,am.prototype.getRevision=am.prototype.M,am.prototype.on=am.prototype.J,am.prototype.once=am.prototype.N,am.prototype.un=am.prototype.K,am.prototype.unByKey=am.prototype.O,zr.prototype.getActive=zr.prototype.f,zr.prototype.getMap=zr.prototype.c,zr.prototype.setActive=zr.prototype.Ea,zr.prototype.getKeys=zr.prototype.S,zr.prototype.getProperties=zr.prototype.R,zr.prototype.setProperties=zr.prototype.I,zr.prototype.unset=zr.prototype.T,zr.prototype.changed=zr.prototype.s,zr.prototype.dispatchEvent=zr.prototype.b,zr.prototype.getRevision=zr.prototype.M,zr.prototype.on=zr.prototype.J,zr.prototype.once=zr.prototype.N,zr.prototype.un=zr.prototype.K,zr.prototype.unByKey=zr.prototype.O,sn.prototype.getActive=sn.prototype.f,sn.prototype.getMap=sn.prototype.c,sn.prototype.setActive=sn.prototype.Ea,sn.prototype.getKeys=sn.prototype.S,sn.prototype.getProperties=sn.prototype.R,sn.prototype.setProperties=sn.prototype.I,sn.prototype.unset=sn.prototype.T,sn.prototype.changed=sn.prototype.s,sn.prototype.dispatchEvent=sn.prototype.b,sn.prototype.getRevision=sn.prototype.M,sn.prototype.on=sn.prototype.J,sn.prototype.once=sn.prototype.N,sn.prototype.un=sn.prototype.K,sn.prototype.unByKey=sn.prototype.O,Zr.prototype.getActive=Zr.prototype.f,Zr.prototype.getMap=Zr.prototype.c,Zr.prototype.setActive=Zr.prototype.Ea,Zr.prototype.getKeys=Zr.prototype.S,Zr.prototype.getProperties=Zr.prototype.R,Zr.prototype.setProperties=Zr.prototype.I,Zr.prototype.unset=Zr.prototype.T,Zr.prototype.changed=Zr.prototype.s,Zr.prototype.dispatchEvent=Zr.prototype.b,Zr.prototype.getRevision=Zr.prototype.M,Zr.prototype.on=Zr.prototype.J,Zr.prototype.once=Zr.prototype.N,Zr.prototype.un=Zr.prototype.K,Zr.prototype.unByKey=Zr.prototype.O,$r.prototype.getActive=$r.prototype.f,$r.prototype.getMap=$r.prototype.c,$r.prototype.setActive=$r.prototype.Ea,$r.prototype.getKeys=$r.prototype.S,$r.prototype.getProperties=$r.prototype.R,$r.prototype.setProperties=$r.prototype.I,$r.prototype.unset=$r.prototype.T,$r.prototype.changed=$r.prototype.s,$r.prototype.dispatchEvent=$r.prototype.b,$r.prototype.getRevision=$r.prototype.M,$r.prototype.on=$r.prototype.J,$r.prototype.once=$r.prototype.N,$r.prototype.un=$r.prototype.K,$r.prototype.unByKey=$r.prototype.O,ym.prototype.getActive=ym.prototype.f,ym.prototype.getMap=ym.prototype.c,ym.prototype.setActive=ym.prototype.Ea,ym.prototype.getKeys=ym.prototype.S,ym.prototype.getProperties=ym.prototype.R,ym.prototype.setProperties=ym.prototype.I,ym.prototype.unset=ym.prototype.T,ym.prototype.changed=ym.prototype.s,ym.prototype.dispatchEvent=ym.prototype.b,ym.prototype.getRevision=ym.prototype.M,ym.prototype.on=ym.prototype.J,ym.prototype.once=ym.prototype.N,ym.prototype.un=ym.prototype.K,ym.prototype.unByKey=ym.prototype.O,gn.prototype.getGeometry=gn.prototype.V,gn.prototype.getActive=gn.prototype.f,gn.prototype.getMap=gn.prototype.c,gn.prototype.setActive=gn.prototype.Ea,gn.prototype.getKeys=gn.prototype.S,gn.prototype.getProperties=gn.prototype.R,gn.prototype.setProperties=gn.prototype.I,gn.prototype.unset=gn.prototype.T,gn.prototype.changed=gn.prototype.s,gn.prototype.dispatchEvent=gn.prototype.b,gn.prototype.getRevision=gn.prototype.M,gn.prototype.on=gn.prototype.J,gn.prototype.once=gn.prototype.N,gn.prototype.un=gn.prototype.K,gn.prototype.unByKey=gn.prototype.O,Cm.prototype.getActive=Cm.prototype.f,Cm.prototype.getMap=Cm.prototype.c,Cm.prototype.setActive=Cm.prototype.Ea,Cm.prototype.getKeys=Cm.prototype.S,Cm.prototype.getProperties=Cm.prototype.R,Cm.prototype.setProperties=Cm.prototype.I,Cm.prototype.unset=Cm.prototype.T,Cm.prototype.changed=Cm.prototype.s,Cm.prototype.dispatchEvent=Cm.prototype.b,Cm.prototype.getRevision=Cm.prototype.M,Cm.prototype.on=Cm.prototype.J,Cm.prototype.once=Cm.prototype.N,Cm.prototype.un=Cm.prototype.K,Cm.prototype.unByKey=Cm.prototype.O,zm.prototype.getActive=zm.prototype.f,zm.prototype.getMap=zm.prototype.c,zm.prototype.setActive=zm.prototype.Ea,zm.prototype.getKeys=zm.prototype.S,zm.prototype.getProperties=zm.prototype.R,zm.prototype.setProperties=zm.prototype.I,zm.prototype.unset=zm.prototype.T,zm.prototype.changed=zm.prototype.s,zm.prototype.dispatchEvent=zm.prototype.b,zm.prototype.getRevision=zm.prototype.M,zm.prototype.on=zm.prototype.J,zm.prototype.once=zm.prototype.N,zm.prototype.un=zm.prototype.K,zm.prototype.unByKey=zm.prototype.O,dn.prototype.getActive=dn.prototype.f,dn.prototype.getMap=dn.prototype.c,dn.prototype.setActive=dn.prototype.Ea,dn.prototype.getKeys=dn.prototype.S,dn.prototype.getProperties=dn.prototype.R,dn.prototype.setProperties=dn.prototype.I,dn.prototype.unset=dn.prototype.T,dn.prototype.changed=dn.prototype.s,dn.prototype.dispatchEvent=dn.prototype.b,dn.prototype.getRevision=dn.prototype.M,dn.prototype.on=dn.prototype.J,dn.prototype.once=dn.prototype.N,dn.prototype.un=dn.prototype.K,dn.prototype.unByKey=dn.prototype.O,bn.prototype.getActive=bn.prototype.f,bn.prototype.getMap=bn.prototype.c,bn.prototype.setActive=bn.prototype.Ea,bn.prototype.getKeys=bn.prototype.S,bn.prototype.getProperties=bn.prototype.R,bn.prototype.setProperties=bn.prototype.I,bn.prototype.unset=bn.prototype.T,bn.prototype.changed=bn.prototype.s,bn.prototype.dispatchEvent=bn.prototype.b,bn.prototype.getRevision=bn.prototype.M,bn.prototype.on=bn.prototype.J,bn.prototype.once=bn.prototype.N,bn.prototype.un=bn.prototype.K,bn.prototype.unByKey=bn.prototype.O,ow.prototype.getActive=ow.prototype.f,ow.prototype.getMap=ow.prototype.c,ow.prototype.setActive=ow.prototype.Ea,ow.prototype.getKeys=ow.prototype.S,ow.prototype.getProperties=ow.prototype.R,ow.prototype.setProperties=ow.prototype.I,ow.prototype.unset=ow.prototype.T,ow.prototype.changed=ow.prototype.s,ow.prototype.dispatchEvent=ow.prototype.b,ow.prototype.getRevision=ow.prototype.M,ow.prototype.on=ow.prototype.J,ow.prototype.once=ow.prototype.N,ow.prototype.un=ow.prototype.K,ow.prototype.unByKey=ow.prototype.O,wn.prototype.getActive=wn.prototype.f,wn.prototype.getMap=wn.prototype.c,wn.prototype.setActive=wn.prototype.Ea,wn.prototype.getKeys=wn.prototype.S,wn.prototype.getProperties=wn.prototype.R,wn.prototype.setProperties=wn.prototype.I,wn.prototype.unset=wn.prototype.T,wn.prototype.changed=wn.prototype.s,wn.prototype.dispatchEvent=wn.prototype.b,wn.prototype.getRevision=wn.prototype.M,wn.prototype.on=wn.prototype.J,wn.prototype.once=wn.prototype.N,wn.prototype.un=wn.prototype.K,wn.prototype.unByKey=wn.prototype.O,Pn.prototype.getActive=Pn.prototype.f,Pn.prototype.getMap=Pn.prototype.c,Pn.prototype.setActive=Pn.prototype.Ea,Pn.prototype.getKeys=Pn.prototype.S,Pn.prototype.getProperties=Pn.prototype.R,Pn.prototype.setProperties=Pn.prototype.I,Pn.prototype.unset=Pn.prototype.T,Pn.prototype.changed=Pn.prototype.s,Pn.prototype.dispatchEvent=Pn.prototype.b,Pn.prototype.getRevision=Pn.prototype.M,Pn.prototype.on=Pn.prototype.J,Pn.prototype.once=Pn.prototype.N,Pn.prototype.un=Pn.prototype.K,Pn.prototype.unByKey=Pn.prototype.O,Cn.prototype.getActive=Cn.prototype.f,Cn.prototype.getMap=Cn.prototype.c,Cn.prototype.setActive=Cn.prototype.Ea,Cn.prototype.getKeys=Cn.prototype.S,Cn.prototype.getProperties=Cn.prototype.R,Cn.prototype.setProperties=Cn.prototype.I,Cn.prototype.unset=Cn.prototype.T,Cn.prototype.changed=Cn.prototype.s,Cn.prototype.dispatchEvent=Cn.prototype.b,Cn.prototype.getRevision=Cn.prototype.M,Cn.prototype.on=Cn.prototype.J,Cn.prototype.once=Cn.prototype.N,Cn.prototype.un=Cn.prototype.K,Cn.prototype.unByKey=Cn.prototype.O,dw.prototype.getActive=dw.prototype.f,dw.prototype.getMap=dw.prototype.c,dw.prototype.setActive=dw.prototype.Ea,dw.prototype.getKeys=dw.prototype.S,dw.prototype.getProperties=dw.prototype.R,dw.prototype.setProperties=dw.prototype.I,dw.prototype.unset=dw.prototype.T,dw.prototype.changed=dw.prototype.s,dw.prototype.dispatchEvent=dw.prototype.b,dw.prototype.getRevision=dw.prototype.M,dw.prototype.on=dw.prototype.J,dw.prototype.once=dw.prototype.N,dw.prototype.un=dw.prototype.K,dw.prototype.unByKey=dw.prototype.O,ww.prototype.getActive=ww.prototype.f,ww.prototype.getMap=ww.prototype.c,ww.prototype.setActive=ww.prototype.Ea,ww.prototype.getKeys=ww.prototype.S,ww.prototype.getProperties=ww.prototype.R,ww.prototype.setProperties=ww.prototype.I,ww.prototype.unset=ww.prototype.T,ww.prototype.changed=ww.prototype.s,ww.prototype.dispatchEvent=ww.prototype.b,ww.prototype.getRevision=ww.prototype.M,ww.prototype.on=ww.prototype.J,ww.prototype.once=ww.prototype.N,ww.prototype.un=ww.prototype.K,ww.prototype.unByKey=ww.prototype.O,Mw.prototype.getActive=Mw.prototype.f,Mw.prototype.getMap=Mw.prototype.c,Mw.prototype.setActive=Mw.prototype.Ea,Mw.prototype.getKeys=Mw.prototype.S,Mw.prototype.getProperties=Mw.prototype.R,Mw.prototype.setProperties=Mw.prototype.I,Mw.prototype.unset=Mw.prototype.T,Mw.prototype.changed=Mw.prototype.s,Mw.prototype.dispatchEvent=Mw.prototype.b,Mw.prototype.getRevision=Mw.prototype.M,Mw.prototype.on=Mw.prototype.J,Mw.prototype.once=Mw.prototype.N,Mw.prototype.un=Mw.prototype.K,Mw.prototype.unByKey=Mw.prototype.O,Me.prototype.getKeys=Me.prototype.S,Me.prototype.getProperties=Me.prototype.R,Me.prototype.setProperties=Me.prototype.I,Me.prototype.unset=Me.prototype.T,Me.prototype.changed=Me.prototype.s,Me.prototype.dispatchEvent=Me.prototype.b,Me.prototype.getRevision=Me.prototype.M,Me.prototype.on=Me.prototype.J,Me.prototype.once=Me.prototype.N,Me.prototype.un=Me.prototype.K,Me.prototype.unByKey=Me.prototype.O,Ae.prototype.getClosestPoint=Ae.prototype.Cb,Ae.prototype.intersectsCoordinate=Ae.prototype.mb,Ae.prototype.getExtent=Ae.prototype.G,Ae.prototype.simplify=Ae.prototype.Jb,Ae.prototype.transform=Ae.prototype.ob,Ae.prototype.getKeys=Ae.prototype.S,Ae.prototype.getProperties=Ae.prototype.R,Ae.prototype.setProperties=Ae.prototype.I,Ae.prototype.unset=Ae.prototype.T,Ae.prototype.changed=Ae.prototype.s,Ae.prototype.dispatchEvent=Ae.prototype.b,Ae.prototype.getRevision=Ae.prototype.M,Ae.prototype.on=Ae.prototype.J,Ae.prototype.once=Ae.prototype.N,Ae.prototype.un=Ae.prototype.K,Ae.prototype.unByKey=Ae.prototype.O,$b.prototype.getFirstCoordinate=$b.prototype.Rb,$b.prototype.getLastCoordinate=$b.prototype.Sb,$b.prototype.getLayout=$b.prototype.Tb,$b.prototype.getClosestPoint=$b.prototype.Cb,$b.prototype.intersectsCoordinate=$b.prototype.mb,$b.prototype.getExtent=$b.prototype.G,$b.prototype.simplify=$b.prototype.Jb,$b.prototype.getKeys=$b.prototype.S,$b.prototype.getProperties=$b.prototype.R,$b.prototype.setProperties=$b.prototype.I,$b.prototype.unset=$b.prototype.T,$b.prototype.changed=$b.prototype.s,$b.prototype.dispatchEvent=$b.prototype.b,$b.prototype.getRevision=$b.prototype.M,$b.prototype.on=$b.prototype.J,$b.prototype.once=$b.prototype.N,$b.prototype.un=$b.prototype.K,$b.prototype.unByKey=$b.prototype.O,Qc.prototype.getClosestPoint=Qc.prototype.Cb,Qc.prototype.intersectsCoordinate=Qc.prototype.mb,Qc.prototype.getExtent=Qc.prototype.G,Qc.prototype.simplify=Qc.prototype.Jb,Qc.prototype.transform=Qc.prototype.ob,Qc.prototype.getKeys=Qc.prototype.S,Qc.prototype.getProperties=Qc.prototype.R,Qc.prototype.setProperties=Qc.prototype.I,Qc.prototype.unset=Qc.prototype.T,Qc.prototype.changed=Qc.prototype.s,Qc.prototype.dispatchEvent=Qc.prototype.b,Qc.prototype.getRevision=Qc.prototype.M,Qc.prototype.on=Qc.prototype.J,Qc.prototype.once=Qc.prototype.N,Qc.prototype.un=Qc.prototype.K,Qc.prototype.unByKey=Qc.prototype.O,We.prototype.getFirstCoordinate=We.prototype.Rb,We.prototype.getLastCoordinate=We.prototype.Sb,We.prototype.getLayout=We.prototype.Tb,We.prototype.getClosestPoint=We.prototype.Cb,We.prototype.intersectsCoordinate=We.prototype.mb,We.prototype.getExtent=We.prototype.G,We.prototype.simplify=We.prototype.Jb,We.prototype.transform=We.prototype.ob,We.prototype.getKeys=We.prototype.S,We.prototype.getProperties=We.prototype.R,We.prototype.setProperties=We.prototype.I,We.prototype.unset=We.prototype.T,We.prototype.changed=We.prototype.s,We.prototype.dispatchEvent=We.prototype.b,We.prototype.getRevision=We.prototype.M,We.prototype.on=We.prototype.J,We.prototype.once=We.prototype.N,We.prototype.un=We.prototype.K,We.prototype.unByKey=We.prototype.O,cc.prototype.getFirstCoordinate=cc.prototype.Rb,cc.prototype.getLastCoordinate=cc.prototype.Sb,cc.prototype.getLayout=cc.prototype.Tb,cc.prototype.getClosestPoint=cc.prototype.Cb,cc.prototype.intersectsCoordinate=cc.prototype.mb,cc.prototype.getExtent=cc.prototype.G,cc.prototype.simplify=cc.prototype.Jb,cc.prototype.transform=cc.prototype.ob,cc.prototype.getKeys=cc.prototype.S,cc.prototype.getProperties=cc.prototype.R,cc.prototype.setProperties=cc.prototype.I,cc.prototype.unset=cc.prototype.T,cc.prototype.changed=cc.prototype.s,cc.prototype.dispatchEvent=cc.prototype.b,cc.prototype.getRevision=cc.prototype.M,cc.prototype.on=cc.prototype.J,cc.prototype.once=cc.prototype.N,cc.prototype.un=cc.prototype.K,cc.prototype.unByKey=cc.prototype.O,fc.prototype.getFirstCoordinate=fc.prototype.Rb,fc.prototype.getLastCoordinate=fc.prototype.Sb,fc.prototype.getLayout=fc.prototype.Tb,fc.prototype.getClosestPoint=fc.prototype.Cb,fc.prototype.intersectsCoordinate=fc.prototype.mb,fc.prototype.getExtent=fc.prototype.G,fc.prototype.simplify=fc.prototype.Jb,fc.prototype.transform=fc.prototype.ob,fc.prototype.getKeys=fc.prototype.S,fc.prototype.getProperties=fc.prototype.R,fc.prototype.setProperties=fc.prototype.I,fc.prototype.unset=fc.prototype.T,fc.prototype.changed=fc.prototype.s,fc.prototype.dispatchEvent=fc.prototype.b,fc.prototype.getRevision=fc.prototype.M,fc.prototype.on=fc.prototype.J,fc.prototype.once=fc.prototype.N,fc.prototype.un=fc.prototype.K,fc.prototype.unByKey=fc.prototype.O,vc.prototype.getFirstCoordinate=vc.prototype.Rb,vc.prototype.getLastCoordinate=vc.prototype.Sb,vc.prototype.getLayout=vc.prototype.Tb,vc.prototype.getClosestPoint=vc.prototype.Cb,vc.prototype.intersectsCoordinate=vc.prototype.mb,vc.prototype.getExtent=vc.prototype.G,vc.prototype.simplify=vc.prototype.Jb,vc.prototype.transform=vc.prototype.ob,vc.prototype.getKeys=vc.prototype.S,vc.prototype.getProperties=vc.prototype.R,vc.prototype.setProperties=vc.prototype.I,vc.prototype.unset=vc.prototype.T,vc.prototype.changed=vc.prototype.s,vc.prototype.dispatchEvent=vc.prototype.b,vc.prototype.getRevision=vc.prototype.M,vc.prototype.on=vc.prototype.J,vc.prototype.once=vc.prototype.N,vc.prototype.un=vc.prototype.K,vc.prototype.unByKey=vc.prototype.O,bc.prototype.getFirstCoordinate=bc.prototype.Rb,bc.prototype.getLastCoordinate=bc.prototype.Sb,bc.prototype.getLayout=bc.prototype.Tb,bc.prototype.getClosestPoint=bc.prototype.Cb,bc.prototype.intersectsCoordinate=bc.prototype.mb,bc.prototype.getExtent=bc.prototype.G,bc.prototype.simplify=bc.prototype.Jb,bc.prototype.transform=bc.prototype.ob,bc.prototype.getKeys=bc.prototype.S,bc.prototype.getProperties=bc.prototype.R,bc.prototype.setProperties=bc.prototype.I,bc.prototype.unset=bc.prototype.T,bc.prototype.changed=bc.prototype.s,bc.prototype.dispatchEvent=bc.prototype.b,bc.prototype.getRevision=bc.prototype.M,bc.prototype.on=bc.prototype.J,bc.prototype.once=bc.prototype.N,bc.prototype.un=bc.prototype.K,bc.prototype.unByKey=bc.prototype.O,He.prototype.getFirstCoordinate=He.prototype.Rb,He.prototype.getLastCoordinate=He.prototype.Sb,He.prototype.getLayout=He.prototype.Tb,He.prototype.getClosestPoint=He.prototype.Cb,He.prototype.intersectsCoordinate=He.prototype.mb,He.prototype.getExtent=He.prototype.G,He.prototype.simplify=He.prototype.Jb,He.prototype.transform=He.prototype.ob,He.prototype.getKeys=He.prototype.S,He.prototype.getProperties=He.prototype.R,He.prototype.setProperties=He.prototype.I,He.prototype.unset=He.prototype.T,He.prototype.changed=He.prototype.s,He.prototype.dispatchEvent=He.prototype.b,He.prototype.getRevision=He.prototype.M,He.prototype.on=He.prototype.J,He.prototype.once=He.prototype.N,He.prototype.un=He.prototype.K,He.prototype.unByKey=He.prototype.O,io.prototype.getFirstCoordinate=io.prototype.Rb,io.prototype.getLastCoordinate=io.prototype.Sb,io.prototype.getLayout=io.prototype.Tb,io.prototype.getClosestPoint=io.prototype.Cb,io.prototype.intersectsCoordinate=io.prototype.mb,io.prototype.getExtent=io.prototype.G,io.prototype.simplify=io.prototype.Jb,io.prototype.transform=io.prototype.ob,io.prototype.getKeys=io.prototype.S,io.prototype.getProperties=io.prototype.R,io.prototype.setProperties=io.prototype.I,io.prototype.unset=io.prototype.T,io.prototype.changed=io.prototype.s,io.prototype.dispatchEvent=io.prototype.b,io.prototype.getRevision=io.prototype.M,io.prototype.on=io.prototype.J,io.prototype.once=io.prototype.N,io.prototype.un=io.prototype.K,io.prototype.unByKey=io.prototype.O,Ty.prototype.readFeatures=Ty.prototype.La,ky.prototype.readFeatures=ky.prototype.La,Ty.prototype.readFeatures=Ty.prototype.La,pi.prototype.getKeys=pi.prototype.S,pi.prototype.getProperties=pi.prototype.R,pi.prototype.setProperties=pi.prototype.I,pi.prototype.unset=pi.prototype.T,pi.prototype.changed=pi.prototype.s,pi.prototype.dispatchEvent=pi.prototype.b,pi.prototype.getRevision=pi.prototype.M,pi.prototype.on=pi.prototype.J,pi.prototype.once=pi.prototype.N,pi.prototype.un=pi.prototype.K,pi.prototype.unByKey=pi.prototype.O,ai.prototype.getMap=ai.prototype.i,ai.prototype.setTarget=ai.prototype.c,ai.prototype.getKeys=ai.prototype.S,ai.prototype.getProperties=ai.prototype.R,ai.prototype.setProperties=ai.prototype.I,ai.prototype.unset=ai.prototype.T,ai.prototype.changed=ai.prototype.s,ai.prototype.dispatchEvent=ai.prototype.b,ai.prototype.getRevision=ai.prototype.M,ai.prototype.on=ai.prototype.J,ai.prototype.once=ai.prototype.N,ai.prototype.un=ai.prototype.K,ai.prototype.unByKey=ai.prototype.O,ui.prototype.getMap=ui.prototype.i,ui.prototype.setTarget=ui.prototype.c,ui.prototype.getKeys=ui.prototype.S,ui.prototype.getProperties=ui.prototype.R,ui.prototype.setProperties=ui.prototype.I,ui.prototype.unset=ui.prototype.T,ui.prototype.changed=ui.prototype.s,ui.prototype.dispatchEvent=ui.prototype.b,ui.prototype.getRevision=ui.prototype.M,ui.prototype.on=ui.prototype.J,ui.prototype.once=ui.prototype.N,ui.prototype.un=ui.prototype.K,ui.prototype.unByKey=ui.prototype.O,xi.prototype.getMap=xi.prototype.i,xi.prototype.setTarget=xi.prototype.c,xi.prototype.getKeys=xi.prototype.S,xi.prototype.getProperties=xi.prototype.R,xi.prototype.setProperties=xi.prototype.I,xi.prototype.unset=xi.prototype.T,xi.prototype.changed=xi.prototype.s,xi.prototype.dispatchEvent=xi.prototype.b,xi.prototype.getRevision=xi.prototype.M,xi.prototype.on=xi.prototype.J,xi.prototype.once=xi.prototype.N,xi.prototype.un=xi.prototype.K,xi.prototype.unByKey=xi.prototype.O,pu.prototype.getMap=pu.prototype.i,pu.prototype.setTarget=pu.prototype.c,pu.prototype.getKeys=pu.prototype.S,pu.prototype.getProperties=pu.prototype.R,pu.prototype.setProperties=pu.prototype.I,pu.prototype.unset=pu.prototype.T,pu.prototype.changed=pu.prototype.s,pu.prototype.dispatchEvent=pu.prototype.b,pu.prototype.getRevision=pu.prototype.M,pu.prototype.on=pu.prototype.J,pu.prototype.once=pu.prototype.N,pu.prototype.un=pu.prototype.K,pu.prototype.unByKey=pu.prototype.O,vi.prototype.getMap=vi.prototype.i,vi.prototype.setTarget=vi.prototype.c,vi.prototype.getKeys=vi.prototype.S,vi.prototype.getProperties=vi.prototype.R,vi.prototype.setProperties=vi.prototype.I,vi.prototype.unset=vi.prototype.T,vi.prototype.changed=vi.prototype.s,vi.prototype.dispatchEvent=vi.prototype.b,vi.prototype.getRevision=vi.prototype.M,vi.prototype.on=vi.prototype.J,vi.prototype.once=vi.prototype.N,vi.prototype.un=vi.prototype.K,vi.prototype.unByKey=vi.prototype.O,cu.prototype.getMap=cu.prototype.i,cu.prototype.setTarget=cu.prototype.c,cu.prototype.getKeys=cu.prototype.S,cu.prototype.getProperties=cu.prototype.R,cu.prototype.setProperties=cu.prototype.I,cu.prototype.unset=cu.prototype.T,cu.prototype.changed=cu.prototype.s,cu.prototype.dispatchEvent=cu.prototype.b,cu.prototype.getRevision=cu.prototype.M,cu.prototype.on=cu.prototype.J,cu.prototype.once=cu.prototype.N,cu.prototype.un=cu.prototype.K,cu.prototype.unByKey=cu.prototype.O,mi.prototype.getMap=mi.prototype.i,mi.prototype.setMap,mi.prototype.setTarget=mi.prototype.c,mi.prototype.get,mi.prototype.getKeys=mi.prototype.S,mi.prototype.getProperties=mi.prototype.R,mi.prototype.set,mi.prototype.setProperties=mi.prototype.I,mi.prototype.unset=mi.prototype.T,mi.prototype.changed=mi.prototype.s,mi.prototype.dispatchEvent=mi.prototype.b,mi.prototype.getRevision=mi.prototype.M,mi.prototype.on=mi.prototype.J,mi.prototype.once=mi.prototype.N,mi.prototype.un=mi.prototype.K,mi.prototype.unByKey=mi.prototype.O,Su.prototype.getMap=Su.prototype.i,Su.prototype.setTarget=Su.prototype.c,Su.prototype.getKeys=Su.prototype.S,Su.prototype.getProperties=Su.prototype.R,Su.prototype.setProperties=Su.prototype.I,Su.prototype.unset=Su.prototype.T,Su.prototype.changed=Su.prototype.s,Su.prototype.dispatchEvent=Su.prototype.b,Su.prototype.getRevision=Su.prototype.M,Su.prototype.on=Su.prototype.J,Su.prototype.once=Su.prototype.N,Su.prototype.un=Su.prototype.K,Su.prototype.unByKey=Su.prototype.O,Eu.prototype.getMap=Eu.prototype.i,Eu.prototype.setTarget=Eu.prototype.c,Eu.prototype.getKeys=Eu.prototype.S,Eu.prototype.getProperties=Eu.prototype.R,Eu.prototype.setProperties=Eu.prototype.I,Eu.prototype.unset=Eu.prototype.T,Eu.prototype.changed=Eu.prototype.s,Eu.prototype.dispatchEvent=Eu.prototype.b,Eu.prototype.getRevision=Eu.prototype.M,Eu.prototype.on=Eu.prototype.J,Eu.prototype.once=Eu.prototype.N,Eu.prototype.un=Eu.prototype.K,Eu.prototype.unByKey=Eu.prototype.O,n.ol});
|