@geotrekce/geotrek-rando-widget 0.30.2 → 0.30.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{call-422e2bf4.js → call-c5b389c7.js} +2 -2
- package/dist/cjs/call-c5b389c7.js.br +0 -0
- package/dist/cjs/call-c5b389c7.js.gz +0 -0
- package/dist/cjs/{call-422e2bf4.js.map → call-c5b389c7.js.map} +1 -1
- package/dist/cjs/grw-app.cjs.entry.js +2 -2
- package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-common-button_23.cjs.entry.js +83 -69
- package/dist/cjs/grw-common-button_23.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-common-button_23.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-common-button_23.cjs.entry.js.map +1 -1
- package/dist/cjs/{grw-db.service-dde227e0.js → grw-db.service-51e2fba4.js} +2 -2
- package/dist/cjs/grw-db.service-51e2fba4.js.br +0 -0
- package/dist/cjs/grw-db.service-51e2fba4.js.gz +0 -0
- package/dist/cjs/{grw-db.service-dde227e0.js.map → grw-db.service-51e2fba4.js.map} +1 -1
- package/dist/cjs/grw-details-modal_8.cjs.entry.js +25 -11
- package/dist/cjs/grw-details-modal_8.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-details-modal_8.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-details-modal_8.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-filter.cjs.entry.js +2 -2
- package/dist/cjs/grw-filter.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-filter.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js +5 -5
- package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-poi_3.cjs.entry.js +3 -3
- package/dist/cjs/grw-poi_3.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-poi_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js +4 -4
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js +1 -1
- package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js.gz +0 -0
- package/dist/cjs/{outdoor-courses.service-083411f5.js → outdoor-courses.service-9ba0da7e.js} +2 -2
- package/dist/cjs/outdoor-courses.service-9ba0da7e.js.br +0 -0
- package/dist/cjs/outdoor-courses.service-9ba0da7e.js.gz +0 -0
- package/dist/cjs/{outdoor-courses.service-083411f5.js.map → outdoor-courses.service-9ba0da7e.js.map} +1 -1
- package/dist/cjs/{store-65aa11bc.js → store-8c47b811.js} +2 -2
- package/dist/cjs/store-8c47b811.js.br +0 -0
- package/dist/cjs/store-8c47b811.js.gz +0 -0
- package/dist/cjs/{store-65aa11bc.js.map → store-8c47b811.js.map} +1 -1
- package/dist/cjs/{treks.service-14b5765a.js → treks.service-ae2960c8.js} +4 -4
- package/dist/cjs/treks.service-ae2960c8.js.br +0 -0
- package/dist/cjs/treks.service-ae2960c8.js.gz +0 -0
- package/dist/cjs/{treks.service-14b5765a.js.map → treks.service-ae2960c8.js.map} +1 -1
- package/dist/cjs/{utils-5c5c3fee.js → utils-fef97420.js} +3 -3
- package/dist/cjs/utils-fef97420.js.br +0 -0
- package/dist/cjs/utils-fef97420.js.gz +0 -0
- package/dist/cjs/{utils-5c5c3fee.js.map → utils-fef97420.js.map} +1 -1
- package/dist/cjs/{web-87e6d345.js → web-e27fac22.js} +3 -3
- package/dist/cjs/web-e27fac22.js.br +0 -0
- package/dist/cjs/web-e27fac22.js.gz +0 -0
- package/dist/cjs/{web-87e6d345.js.map → web-e27fac22.js.map} +1 -1
- package/dist/collection/components/grw-map/grw-map.js +62 -56
- package/dist/collection/components/grw-map/grw-map.js.br +0 -0
- package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
- package/dist/collection/components/grw-map/grw-map.js.map +1 -1
- package/dist/collection/store/grw-outdoor-site-provider.js +4 -4
- package/dist/collection/store/grw-outdoor-site-provider.js.br +0 -0
- package/dist/collection/store/grw-outdoor-site-provider.js.gz +0 -0
- package/dist/collection/store/grw-outdoor-site-provider.js.map +1 -1
- package/dist/collection/store/grw-touristic-content-provider.js +11 -3
- package/dist/collection/store/grw-touristic-content-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-content-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-content-provider.js.map +1 -1
- package/dist/collection/store/grw-touristic-event-provider.js +9 -3
- package/dist/collection/store/grw-touristic-event-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-event-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-event-provider.js.map +1 -1
- package/dist/collection/store/grw-trek-provider.js +11 -3
- package/dist/collection/store/grw-trek-provider.js.br +0 -0
- package/dist/collection/store/grw-trek-provider.js.gz +0 -0
- package/dist/collection/store/grw-trek-provider.js.map +1 -1
- package/dist/collection/store/store.js +1 -1
- package/dist/collection/store/store.js.br +0 -0
- package/dist/collection/store/store.js.gz +0 -0
- package/dist/collection/store/store.js.map +1 -1
- package/dist/esm/{call-c0c920b0.js → call-df62b17b.js} +2 -2
- package/dist/esm/call-df62b17b.js.br +0 -0
- package/dist/esm/call-df62b17b.js.gz +0 -0
- package/dist/esm/{call-c0c920b0.js.map → call-df62b17b.js.map} +1 -1
- package/dist/esm/grw-app.entry.js +2 -2
- package/dist/esm/grw-app.entry.js.br +0 -0
- package/dist/esm/grw-app.entry.js.gz +0 -0
- package/dist/esm/grw-common-button_23.entry.js +83 -69
- package/dist/esm/grw-common-button_23.entry.js.br +0 -0
- package/dist/esm/grw-common-button_23.entry.js.gz +0 -0
- package/dist/esm/grw-common-button_23.entry.js.map +1 -1
- package/dist/esm/{grw-db.service-83da38c9.js → grw-db.service-a2b2fc8e.js} +2 -2
- package/dist/esm/grw-db.service-a2b2fc8e.js.br +0 -0
- package/dist/esm/grw-db.service-a2b2fc8e.js.gz +0 -0
- package/dist/esm/{grw-db.service-83da38c9.js.map → grw-db.service-a2b2fc8e.js.map} +1 -1
- package/dist/esm/grw-details-modal_8.entry.js +25 -11
- package/dist/esm/grw-details-modal_8.entry.js.br +0 -0
- package/dist/esm/grw-details-modal_8.entry.js.gz +0 -0
- package/dist/esm/grw-details-modal_8.entry.js.map +1 -1
- package/dist/esm/grw-filter.entry.js +2 -2
- package/dist/esm/grw-filter.entry.js.br +0 -0
- package/dist/esm/grw-filter.entry.js.gz +0 -0
- package/dist/esm/grw-outdoor-courses-provider.entry.js +5 -5
- package/dist/esm/grw-outdoor-courses-provider.entry.js.br +0 -0
- package/dist/esm/grw-outdoor-courses-provider.entry.js.gz +0 -0
- package/dist/esm/grw-poi_3.entry.js +3 -3
- package/dist/esm/grw-poi_3.entry.js.br +0 -0
- package/dist/esm/grw-poi_3.entry.js.gz +0 -0
- package/dist/esm/grw-sensitive-area-detail_2.entry.js +4 -4
- package/dist/esm/grw-sensitive-area-detail_2.entry.js.br +0 -0
- package/dist/esm/grw-sensitive-area-detail_2.entry.js.gz +0 -0
- package/dist/esm/grw-toggle-slot-visibility.entry.js +1 -1
- package/dist/esm/grw-toggle-slot-visibility.entry.js.br +0 -0
- package/dist/esm/grw-toggle-slot-visibility.entry.js.gz +0 -0
- package/dist/esm/{outdoor-courses.service-d2397066.js → outdoor-courses.service-c7fe26df.js} +2 -2
- package/dist/esm/outdoor-courses.service-c7fe26df.js.br +0 -0
- package/dist/esm/outdoor-courses.service-c7fe26df.js.gz +0 -0
- package/dist/esm/{outdoor-courses.service-d2397066.js.map → outdoor-courses.service-c7fe26df.js.map} +1 -1
- package/dist/esm/{store-882ab9be.js → store-aa921ea2.js} +2 -2
- package/dist/esm/store-aa921ea2.js.br +0 -0
- package/dist/esm/store-aa921ea2.js.gz +0 -0
- package/dist/esm/{store-882ab9be.js.map → store-aa921ea2.js.map} +1 -1
- package/dist/esm/{treks.service-a3ce33ef.js → treks.service-0b98455e.js} +4 -4
- package/dist/esm/treks.service-0b98455e.js.br +0 -0
- package/dist/esm/treks.service-0b98455e.js.gz +0 -0
- package/dist/esm/{treks.service-a3ce33ef.js.map → treks.service-0b98455e.js.map} +1 -1
- package/dist/esm/{utils-5feb9281.js → utils-b1ca48b3.js} +3 -3
- package/dist/esm/utils-b1ca48b3.js.br +0 -0
- package/dist/esm/utils-b1ca48b3.js.gz +0 -0
- package/dist/esm/{utils-5feb9281.js.map → utils-b1ca48b3.js.map} +1 -1
- package/dist/esm/{web-9ea89c85.js → web-08ea09e6.js} +3 -3
- package/dist/esm/web-08ea09e6.js.br +0 -0
- package/dist/esm/web-08ea09e6.js.gz +0 -0
- package/dist/esm/{web-9ea89c85.js.map → web-08ea09e6.js.map} +1 -1
- package/dist/esm-es5/{call-c0c920b0.js → call-df62b17b.js} +2 -2
- package/dist/esm-es5/call-df62b17b.js.br +0 -0
- package/dist/esm-es5/{call-c0c920b0.js.gz → call-df62b17b.js.gz} +0 -0
- package/dist/esm-es5/grw-app.entry.js +1 -1
- package/dist/esm-es5/grw-app.entry.js.br +0 -0
- package/dist/esm-es5/grw-app.entry.js.gz +0 -0
- package/dist/esm-es5/grw-common-button_23.entry.js +2 -2
- package/dist/esm-es5/grw-common-button_23.entry.js.br +0 -0
- package/dist/esm-es5/grw-common-button_23.entry.js.gz +0 -0
- package/dist/esm-es5/grw-common-button_23.entry.js.map +1 -1
- package/dist/esm-es5/{grw-db.service-83da38c9.js → grw-db.service-a2b2fc8e.js} +2 -2
- package/dist/esm-es5/grw-db.service-a2b2fc8e.js.br +0 -0
- package/dist/esm-es5/grw-db.service-a2b2fc8e.js.gz +0 -0
- package/dist/esm-es5/grw-details-modal_8.entry.js +1 -1
- package/dist/esm-es5/grw-details-modal_8.entry.js.br +0 -0
- package/dist/esm-es5/grw-details-modal_8.entry.js.gz +0 -0
- package/dist/esm-es5/grw-details-modal_8.entry.js.map +1 -1
- package/dist/esm-es5/grw-filter.entry.js +1 -1
- package/dist/esm-es5/grw-filter.entry.js.br +0 -0
- package/dist/esm-es5/grw-filter.entry.js.gz +0 -0
- package/dist/esm-es5/grw-outdoor-courses-provider.entry.js +1 -1
- package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.br +0 -0
- package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.gz +0 -0
- package/dist/esm-es5/grw-poi_3.entry.js +1 -1
- package/dist/esm-es5/grw-poi_3.entry.js.br +0 -0
- package/dist/esm-es5/grw-poi_3.entry.js.gz +0 -0
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js +1 -1
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.br +0 -0
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.gz +0 -0
- package/dist/esm-es5/grw-toggle-slot-visibility.entry.js +1 -1
- package/dist/esm-es5/grw-toggle-slot-visibility.entry.js.br +0 -0
- package/dist/esm-es5/grw-toggle-slot-visibility.entry.js.gz +0 -0
- package/dist/esm-es5/{outdoor-courses.service-d2397066.js → outdoor-courses.service-c7fe26df.js} +2 -2
- package/dist/esm-es5/outdoor-courses.service-c7fe26df.js.br +0 -0
- package/dist/esm-es5/outdoor-courses.service-c7fe26df.js.gz +0 -0
- package/dist/esm-es5/{store-882ab9be.js → store-aa921ea2.js} +2 -2
- package/dist/esm-es5/store-aa921ea2.js.br +0 -0
- package/dist/esm-es5/store-aa921ea2.js.gz +0 -0
- package/dist/esm-es5/{store-882ab9be.js.map → store-aa921ea2.js.map} +1 -1
- package/dist/esm-es5/{treks.service-a3ce33ef.js → treks.service-0b98455e.js} +2 -2
- package/dist/esm-es5/treks.service-0b98455e.js.br +0 -0
- package/dist/esm-es5/treks.service-0b98455e.js.gz +0 -0
- package/dist/esm-es5/{utils-5feb9281.js → utils-b1ca48b3.js} +3 -3
- package/dist/esm-es5/utils-b1ca48b3.js.br +0 -0
- package/dist/esm-es5/utils-b1ca48b3.js.gz +0 -0
- package/dist/esm-es5/{web-9ea89c85.js → web-08ea09e6.js} +2 -2
- package/dist/esm-es5/web-08ea09e6.js.br +0 -0
- package/dist/esm-es5/web-08ea09e6.js.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-31cd5fb6.system.js → p-06ec8b64.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-06ec8b64.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-06ec8b64.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-e6471529.system.js → p-0e29bbf9.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-0e29bbf9.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0e29bbf9.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-e6471529.system.js.map → p-0e29bbf9.system.js.map} +1 -1
- package/dist/geotrek-rando-widget/{p-5a1c21ad.system.js → p-11622ab2.system.js} +3 -3
- package/dist/geotrek-rando-widget/p-11622ab2.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-11622ab2.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-346b21fe.system.entry.js → p-28048cef.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-28048cef.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-28048cef.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-f0d965b9.system.entry.js → p-2939026a.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-2939026a.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-2939026a.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-2939026a.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-63c3d14c.system.entry.js → p-35fa0752.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-35fa0752.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/{p-63c3d14c.system.entry.js.gz → p-35fa0752.system.entry.js.gz} +0 -0
- package/dist/geotrek-rando-widget/{p-0dc681ee.system.js → p-3834a184.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-3834a184.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-3834a184.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-111e4a10.entry.js → p-4450a6e3.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-4450a6e3.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-4450a6e3.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-4450a6e3.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-5517eb99.system.js +1 -1
- package/dist/geotrek-rando-widget/p-5517eb99.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5517eb99.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-551b6c64.entry.js +4 -0
- package/dist/geotrek-rando-widget/p-551b6c64.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-551b6c64.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-551b6c64.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-c8f5ce61.js → p-5feca333.js} +2 -2
- package/dist/geotrek-rando-widget/p-5feca333.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5feca333.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-928cafc2.system.entry.js → p-643b34f4.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-643b34f4.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-643b34f4.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6cd88edc.system.entry.js +4 -0
- package/dist/geotrek-rando-widget/p-6cd88edc.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6cd88edc.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6cd88edc.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-844f4321.js → p-6d0668a6.js} +3 -3
- package/dist/geotrek-rando-widget/p-6d0668a6.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6d0668a6.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-d95cfb6f.js → p-7207c87a.js} +2 -2
- package/dist/geotrek-rando-widget/p-7207c87a.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7207c87a.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-d95cfb6f.js.map → p-7207c87a.js.map} +1 -1
- package/dist/geotrek-rando-widget/{p-ebec2cdc.system.js → p-722468a0.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-722468a0.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-722468a0.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-91d62770.entry.js → p-83e76a62.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-83e76a62.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-83e76a62.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-38d31358.entry.js → p-9ac8e3ac.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-9ac8e3ac.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9ac8e3ac.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-20fa1207.entry.js → p-9c461972.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-9c461972.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9c461972.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-6287495f.entry.js → p-ad644267.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-ad644267.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ad644267.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-6a4d2050.system.entry.js → p-ad6e02a4.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-ad6e02a4.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ad6e02a4.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-315f99d3.system.js → p-ae0a8dc1.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-ae0a8dc1.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ae0a8dc1.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-fcbe4bb6.js → p-b0b7e072.js} +2 -2
- package/dist/geotrek-rando-widget/p-b0b7e072.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b0b7e072.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-b1ed0255.js → p-bc36f8a6.js} +2 -2
- package/dist/geotrek-rando-widget/p-bc36f8a6.js.br +0 -0
- package/dist/geotrek-rando-widget/p-bc36f8a6.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-51c64ff4.entry.js → p-cf6d1b66.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-cf6d1b66.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-cf6d1b66.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-46cbc796.system.entry.js → p-d8126403.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-d8126403.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d8126403.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-c61425f6.js → p-e5086616.js} +2 -2
- package/dist/geotrek-rando-widget/p-e5086616.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e5086616.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-eeedb77e.entry.js → p-e9483fdf.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-e9483fdf.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e9483fdf.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-0213328a.system.entry.js → p-ec9a42ab.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-ec9a42ab.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ec9a42ab.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-fbfffb5d.system.js → p-f152b476.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-f152b476.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f152b476.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-76467e71.js → p-f92d0101.js} +2 -2
- package/dist/geotrek-rando-widget/p-f92d0101.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f92d0101.js.gz +0 -0
- package/package.json +1 -1
- package/dist/cjs/call-422e2bf4.js.br +0 -0
- package/dist/cjs/call-422e2bf4.js.gz +0 -0
- package/dist/cjs/grw-db.service-dde227e0.js.br +0 -0
- package/dist/cjs/grw-db.service-dde227e0.js.gz +0 -0
- package/dist/cjs/outdoor-courses.service-083411f5.js.br +0 -0
- package/dist/cjs/outdoor-courses.service-083411f5.js.gz +0 -0
- package/dist/cjs/store-65aa11bc.js.br +0 -0
- package/dist/cjs/store-65aa11bc.js.gz +0 -0
- package/dist/cjs/treks.service-14b5765a.js.br +0 -0
- package/dist/cjs/treks.service-14b5765a.js.gz +0 -0
- package/dist/cjs/utils-5c5c3fee.js.br +0 -0
- package/dist/cjs/utils-5c5c3fee.js.gz +0 -0
- package/dist/cjs/web-87e6d345.js.br +0 -0
- package/dist/cjs/web-87e6d345.js.gz +0 -0
- package/dist/esm/call-c0c920b0.js.br +0 -0
- package/dist/esm/call-c0c920b0.js.gz +0 -0
- package/dist/esm/grw-db.service-83da38c9.js.br +0 -0
- package/dist/esm/grw-db.service-83da38c9.js.gz +0 -0
- package/dist/esm/outdoor-courses.service-d2397066.js.br +0 -0
- package/dist/esm/outdoor-courses.service-d2397066.js.gz +0 -0
- package/dist/esm/store-882ab9be.js.br +0 -0
- package/dist/esm/store-882ab9be.js.gz +0 -0
- package/dist/esm/treks.service-a3ce33ef.js.br +0 -0
- package/dist/esm/treks.service-a3ce33ef.js.gz +0 -0
- package/dist/esm/utils-5feb9281.js.br +0 -0
- package/dist/esm/utils-5feb9281.js.gz +0 -0
- package/dist/esm/web-9ea89c85.js.br +0 -0
- package/dist/esm/web-9ea89c85.js.gz +0 -0
- package/dist/esm-es5/call-c0c920b0.js.br +0 -0
- package/dist/esm-es5/grw-db.service-83da38c9.js.br +0 -0
- package/dist/esm-es5/grw-db.service-83da38c9.js.gz +0 -0
- package/dist/esm-es5/outdoor-courses.service-d2397066.js.br +0 -0
- package/dist/esm-es5/outdoor-courses.service-d2397066.js.gz +0 -0
- package/dist/esm-es5/store-882ab9be.js.br +0 -0
- package/dist/esm-es5/store-882ab9be.js.gz +0 -0
- package/dist/esm-es5/treks.service-a3ce33ef.js.br +0 -0
- package/dist/esm-es5/treks.service-a3ce33ef.js.gz +0 -0
- package/dist/esm-es5/utils-5feb9281.js.br +0 -0
- package/dist/esm-es5/utils-5feb9281.js.gz +0 -0
- package/dist/esm-es5/web-9ea89c85.js.br +0 -0
- package/dist/esm-es5/web-9ea89c85.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0213328a.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0213328a.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0dc681ee.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0dc681ee.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-111e4a10.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-111e4a10.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-111e4a10.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-20fa1207.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-20fa1207.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-315f99d3.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-315f99d3.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-31cd5fb6.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-31cd5fb6.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-346b21fe.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-346b21fe.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-38d31358.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-38d31358.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-46cbc796.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-46cbc796.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-51c64ff4.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-51c64ff4.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-5a1c21ad.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5a1c21ad.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6287495f.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6287495f.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-63c3d14c.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-65c5fa1a.system.entry.js +0 -4
- package/dist/geotrek-rando-widget/p-65c5fa1a.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-65c5fa1a.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-65c5fa1a.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-6a4d2050.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6a4d2050.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-76467e71.js.br +0 -0
- package/dist/geotrek-rando-widget/p-76467e71.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-844f4321.js.br +0 -0
- package/dist/geotrek-rando-widget/p-844f4321.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-91d62770.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-91d62770.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-928cafc2.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-928cafc2.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-b1ed0255.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b1ed0255.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c0721af7.entry.js +0 -4
- package/dist/geotrek-rando-widget/p-c0721af7.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c0721af7.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c0721af7.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-c61425f6.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c61425f6.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c8f5ce61.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c8f5ce61.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d95cfb6f.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d95cfb6f.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e6471529.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e6471529.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ebec2cdc.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ebec2cdc.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-eeedb77e.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-eeedb77e.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f0d965b9.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f0d965b9.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f0d965b9.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-fbfffb5d.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fbfffb5d.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-fcbe4bb6.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fcbe4bb6.js.gz +0 -0
- /package/dist/esm-es5/{call-c0c920b0.js.map → call-df62b17b.js.map} +0 -0
- /package/dist/esm-es5/{grw-db.service-83da38c9.js.map → grw-db.service-a2b2fc8e.js.map} +0 -0
- /package/dist/esm-es5/{outdoor-courses.service-d2397066.js.map → outdoor-courses.service-c7fe26df.js.map} +0 -0
- /package/dist/esm-es5/{treks.service-a3ce33ef.js.map → treks.service-0b98455e.js.map} +0 -0
- /package/dist/esm-es5/{utils-5feb9281.js.map → utils-b1ca48b3.js.map} +0 -0
- /package/dist/esm-es5/{web-9ea89c85.js.map → web-08ea09e6.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-31cd5fb6.system.js.map → p-06ec8b64.system.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-5a1c21ad.system.js.map → p-11622ab2.system.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-346b21fe.system.entry.js.map → p-28048cef.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-63c3d14c.system.entry.js.map → p-35fa0752.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-0dc681ee.system.js.map → p-3834a184.system.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-c8f5ce61.js.map → p-5feca333.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-928cafc2.system.entry.js.map → p-643b34f4.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-844f4321.js.map → p-6d0668a6.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-ebec2cdc.system.js.map → p-722468a0.system.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-91d62770.entry.js.map → p-83e76a62.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-38d31358.entry.js.map → p-9ac8e3ac.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-20fa1207.entry.js.map → p-9c461972.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-6287495f.entry.js.map → p-ad644267.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-6a4d2050.system.entry.js.map → p-ad6e02a4.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-315f99d3.system.js.map → p-ae0a8dc1.system.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-fcbe4bb6.js.map → p-b0b7e072.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-b1ed0255.js.map → p-bc36f8a6.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-51c64ff4.entry.js.map → p-cf6d1b66.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-46cbc796.system.entry.js.map → p-d8126403.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-c61425f6.js.map → p-e5086616.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-eeedb77e.entry.js.map → p-e9483fdf.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-0213328a.system.entry.js.map → p-ec9a42ab.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-fbfffb5d.system.js.map → p-f152b476.system.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-76467e71.js.map → p-f92d0101.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{b as t,C as i,F as n,g as e,c as s,D as r,s as h,i as o}from"./p-
|
|
1
|
+
import{b as t,C as i,F as n,g as e,c as s,D as r,s as h,i as o}from"./p-6d0668a6.js";const a=(t,i)=>i.some((i=>t instanceof i));let u;let f;function c(){return u||(u=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function l(){return f||(f=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const d=new WeakMap;const v=new WeakMap;const m=new WeakMap;function p(t){const i=new Promise(((i,n)=>{const e=()=>{t.removeEventListener("success",s);t.removeEventListener("error",r)};const s=()=>{i(M(t.result));e()};const r=()=>{n(t.error);e()};t.addEventListener("success",s);t.addEventListener("error",r)}));m.set(i,t);return i}function w(t){if(d.has(t))return;const i=new Promise(((i,n)=>{const e=()=>{t.removeEventListener("complete",s);t.removeEventListener("error",r);t.removeEventListener("abort",r)};const s=()=>{i();e()};const r=()=>{n(t.error||new DOMException("AbortError","AbortError"));e()};t.addEventListener("complete",s);t.addEventListener("error",r);t.addEventListener("abort",r)}));d.set(t,i)}let g={get(t,i,n){if(t instanceof IDBTransaction){if(i==="done")return d.get(t);if(i==="store"){return n.objectStoreNames[1]?undefined:n.objectStore(n.objectStoreNames[0])}}return M(t[i])},set(t,i,n){t[i]=n;return true},has(t,i){if(t instanceof IDBTransaction&&(i==="done"||i==="store")){return true}return i in t}};function y(t){g=t(g)}function _(t){if(l().includes(t)){return function(...i){t.apply(P(this),i);return M(this.request)}}return function(...i){return M(t.apply(P(this),i))}}function b(t){if(typeof t==="function")return _(t);if(t instanceof IDBTransaction)w(t);if(a(t,c()))return new Proxy(t,g);return t}function M(t){if(t instanceof IDBRequest)return p(t);if(v.has(t))return v.get(t);const i=b(t);if(i!==t){v.set(t,i);m.set(i,t)}return i}const P=t=>m.get(t);function k(t,i,{blocked:n,upgrade:e,blocking:s,terminated:r}={}){const h=indexedDB.open(t,i);const o=M(h);if(e){h.addEventListener("upgradeneeded",(t=>{e(M(h.result),t.oldVersion,t.newVersion,M(h.transaction),t)}))}if(n){h.addEventListener("blocked",(t=>n(t.oldVersion,t.newVersion,t)))}o.then((t=>{if(r)t.addEventListener("close",(()=>r()));if(s){t.addEventListener("versionchange",(t=>s(t.oldVersion,t.newVersion,t)))}})).catch((()=>{}));return o}const T=["get","getKey","getAll","getAllKeys","count"];const x=["put","add","delete","clear"];const z=new Map;function I(t,i){if(!(t instanceof IDBDatabase&&!(i in t)&&typeof i==="string")){return}if(z.get(i))return z.get(i);const n=i.replace(/FromIndex$/,"");const e=i!==n;const s=x.includes(n);if(!(n in(e?IDBIndex:IDBObjectStore).prototype)||!(s||T.includes(n))){return}const r=async function(t,...i){const r=this.transaction(t,s?"readwrite":"readonly");let h=r.store;if(e)h=h.index(i.shift());return(await Promise.all([h[n](...i),s&&r.done]))[0]};z.set(i,r);return r}y((t=>({...t,get:(i,n,e)=>I(i,n)||t.get(i,n,e),has:(i,n)=>!!I(i,n)||t.has(i,n)})));const S=["continue","continuePrimaryKey","advance"];const B={};const D=new WeakMap;const C=new WeakMap;const E={get(t,i){if(!S.includes(i))return t[i];let n=B[i];if(!n){n=B[i]=function(...t){D.set(this,C.get(this)[i](...t))}}return n}};async function*A(...t){let i=this;if(!(i instanceof IDBCursor)){i=await i.openCursor(...t)}if(!i)return;i=i;const n=new Proxy(i,E);C.set(n,i);m.set(n,P(i));while(i){yield n;i=await(D.get(n)||i.continue());D.delete(n)}}function O(t,i){return i===Symbol.asyncIterator&&a(t,[IDBIndex,IDBObjectStore,IDBCursor])||i==="iterate"&&a(t,[IDBIndex,IDBObjectStore])}y((t=>({...t,get(i,n,e){if(O(i,n))return A;return t.get(i,n,e)},has(i,n){return O(i,n)||t.has(i,n)}})));var Z=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function R(t){if(t.__esModule)return t;var i=Object.defineProperty({},"__esModule",{value:true});Object.keys(t).forEach((function(n){var e=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(i,n,e.get?e:{enumerable:true,get:function(){return t[n]}})}));return i}var j={exports:{}};
|
|
2
2
|
/* @preserve
|
|
3
3
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
|
4
4
|
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
|
5
5
|
*/(function(t,i){(function(t,n){n(i)})(Z,(function(t){var i="1.9.4";function n(t){var i,n,e,s;for(n=1,e=arguments.length;n<e;n++){s=arguments[n];for(i in s){t[i]=s[i]}}return t}var e=Object.create||function(){function t(){}return function(i){t.prototype=i;return new t}}();function s(t,i){var n=Array.prototype.slice;if(t.bind){return t.bind.apply(t,n.call(arguments,1))}var e=n.call(arguments,2);return function(){return t.apply(i,e.length?e.concat(n.call(arguments)):arguments)}}var r=0;function h(t){if(!("_leaflet_id"in t)){t["_leaflet_id"]=++r}return t._leaflet_id}function o(t,i,n){var e,s,r,h;h=function(){e=false;if(s){r.apply(n,s);s=false}};r=function(){if(e){s=arguments}else{t.apply(n,arguments);setTimeout(h,i);e=true}};return r}function a(t,i,n){var e=i[1],s=i[0],r=e-s;return t===e&&n?t:((t-s)%r+r)%r+s}function u(){return false}function f(t,i){if(i===false){return t}var n=Math.pow(10,i===undefined?6:i);return Math.round(t*n)/n}function c(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function l(t){return c(t).split(/\s+/)}function d(t,i){if(!Object.prototype.hasOwnProperty.call(t,"options")){t.options=t.options?e(t.options):{}}for(var n in i){t.options[n]=i[n]}return t.options}function v(t,i,n){var e=[];for(var s in t){e.push(encodeURIComponent(n?s.toUpperCase():s)+"="+encodeURIComponent(t[s]))}return(!i||i.indexOf("?")===-1?"?":"&")+e.join("&")}var m=/\{ *([\w_ -]+) *\}/g;function p(t,i){return t.replace(m,(function(t,n){var e=i[n];if(e===undefined){throw new Error("No value provided for variable "+t)}else if(typeof e==="function"){e=e(i)}return e}))}var w=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function g(t,i){for(var n=0;n<t.length;n++){if(t[n]===i){return n}}return-1}var y="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function _(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var b=0;function M(t){var i=+new Date,n=Math.max(0,16-(i-b));b=i+n;return window.setTimeout(t,n)}var P=window.requestAnimationFrame||_("RequestAnimationFrame")||M;var k=window.cancelAnimationFrame||_("CancelAnimationFrame")||_("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function T(t,i,n){if(n&&P===M){t.call(i)}else{return P.call(window,s(t,i))}}function x(t){if(t){k.call(window,t)}}var z={__proto__:null,extend:n,create:e,bind:s,get lastId(){return r},stamp:h,throttle:o,wrapNum:a,falseFn:u,formatNum:f,trim:c,splitWords:l,setOptions:d,getParamString:v,template:p,isArray:w,indexOf:g,emptyImageUrl:y,requestFn:P,cancelFn:k,requestAnimFrame:T,cancelAnimFrame:x};function I(){}I.extend=function(t){var i=function(){d(this);if(this.initialize){this.initialize.apply(this,arguments)}this.callInitHooks()};var s=i.__super__=this.prototype;var r=e(s);r.constructor=i;i.prototype=r;for(var h in this){if(Object.prototype.hasOwnProperty.call(this,h)&&h!=="prototype"&&h!=="__super__"){i[h]=this[h]}}if(t.statics){n(i,t.statics)}if(t.includes){S(t.includes);n.apply(null,[r].concat(t.includes))}n(r,t);delete r.statics;delete r.includes;if(r.options){r.options=s.options?e(s.options):{};n(r.options,t.options)}r._initHooks=[];r.callInitHooks=function(){if(this._initHooksCalled){return}if(s.callInitHooks){s.callInitHooks.call(this)}this._initHooksCalled=true;for(var t=0,i=r._initHooks.length;t<i;t++){r._initHooks[t].call(this)}};return i};I.include=function(t){var i=this.prototype.options;n(this.prototype,t);if(t.options){this.prototype.options=i;this.mergeOptions(t.options)}return this};I.mergeOptions=function(t){n(this.prototype.options,t);return this};I.addInitHook=function(t){var i=Array.prototype.slice.call(arguments,1);var n=typeof t==="function"?t:function(){this[t].apply(this,i)};this.prototype._initHooks=this.prototype._initHooks||[];this.prototype._initHooks.push(n);return this};function S(t){if(typeof L==="undefined"||!L||!L.Mixin){return}t=w(t)?t:[t];for(var i=0;i<t.length;i++){if(t[i]===L.Mixin.Events){console.warn("Deprecated include of L.Mixin.Events: "+"this property will be removed in future releases, "+"please inherit from L.Evented instead.",(new Error).stack)}}}var B={on:function(t,i,n){if(typeof t==="object"){for(var e in t){this._on(e,t[e],i)}}else{t=l(t);for(var s=0,r=t.length;s<r;s++){this._on(t[s],i,n)}}return this},off:function(t,i,n){if(!arguments.length){delete this._events}else if(typeof t==="object"){for(var e in t){this._off(e,t[e],i)}}else{t=l(t);var s=arguments.length===1;for(var r=0,h=t.length;r<h;r++){if(s){this._off(t[r])}else{this._off(t[r],i,n)}}}return this},_on:function(t,i,n,e){if(typeof i!=="function"){console.warn("wrong listener type: "+typeof i);return}if(this._listens(t,i,n)!==false){return}if(n===this){n=undefined}var s={fn:i,ctx:n};if(e){s.once=true}this._events=this._events||{};this._events[t]=this._events[t]||[];this._events[t].push(s)},_off:function(t,i,n){var e,s,r;if(!this._events){return}e=this._events[t];if(!e){return}if(arguments.length===1){if(this._firingCount){for(s=0,r=e.length;s<r;s++){e[s].fn=u}}delete this._events[t];return}if(typeof i!=="function"){console.warn("wrong listener type: "+typeof i);return}var h=this._listens(t,i,n);if(h!==false){var o=e[h];if(this._firingCount){o.fn=u;this._events[t]=e=e.slice()}e.splice(h,1)}},fire:function(t,i,e){if(!this.listens(t,e)){return this}var s=n({},i,{type:t,target:this,sourceTarget:i&&i.sourceTarget||this});if(this._events){var r=this._events[t];if(r){this._firingCount=this._firingCount+1||1;for(var h=0,o=r.length;h<o;h++){var a=r[h];var u=a.fn;if(a.once){this.off(t,u,a.ctx)}u.call(a.ctx||this,s)}this._firingCount--}}if(e){this._propagateEvent(s)}return this},listens:function(t,i,n,e){if(typeof t!=="string"){console.warn('"string" type argument expected')}var s=i;if(typeof i!=="function"){e=!!i;s=undefined;n=undefined}var r=this._events&&this._events[t];if(r&&r.length){if(this._listens(t,s,n)!==false){return true}}if(e){for(var h in this._eventParents){if(this._eventParents[h].listens(t,i,n,e)){return true}}}return false},_listens:function(t,i,n){if(!this._events){return false}var e=this._events[t]||[];if(!i){return!!e.length}if(n===this){n=undefined}for(var s=0,r=e.length;s<r;s++){if(e[s].fn===i&&e[s].ctx===n){return s}}return false},once:function(t,i,n){if(typeof t==="object"){for(var e in t){this._on(e,t[e],i,true)}}else{t=l(t);for(var s=0,r=t.length;s<r;s++){this._on(t[s],i,n,true)}}return this},addEventParent:function(t){this._eventParents=this._eventParents||{};this._eventParents[h(t)]=t;return this},removeEventParent:function(t){if(this._eventParents){delete this._eventParents[h(t)]}return this},_propagateEvent:function(t){for(var i in this._eventParents){this._eventParents[i].fire(t.type,n({layer:t.target,propagatedFrom:t.target},t),true)}}};B.addEventListener=B.on;B.removeEventListener=B.clearAllEventListeners=B.off;B.addOneTimeEventListener=B.once;B.fireEvent=B.fire;B.hasEventListeners=B.listens;var D=I.extend(B);function C(t,i,n){this.x=n?Math.round(t):t;this.y=n?Math.round(i):i}var E=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};C.prototype={clone:function(){return new C(this.x,this.y)},add:function(t){return this.clone()._add(A(t))},_add:function(t){this.x+=t.x;this.y+=t.y;return this},subtract:function(t){return this.clone()._subtract(A(t))},_subtract:function(t){this.x-=t.x;this.y-=t.y;return this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){this.x/=t;this.y/=t;return this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){this.x*=t;this.y*=t;return this},scaleBy:function(t){return new C(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new C(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this},floor:function(){return this.clone()._floor()},_floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this},ceil:function(){return this.clone()._ceil()},_ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this},trunc:function(){return this.clone()._trunc()},_trunc:function(){this.x=E(this.x);this.y=E(this.y);return this},distanceTo:function(t){t=A(t);var i=t.x-this.x,n=t.y-this.y;return Math.sqrt(i*i+n*n)},equals:function(t){t=A(t);return t.x===this.x&&t.y===this.y},contains:function(t){t=A(t);return Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+f(this.x)+", "+f(this.y)+")"}};function A(t,i,n){if(t instanceof C){return t}if(w(t)){return new C(t[0],t[1])}if(t===undefined||t===null){return t}if(typeof t==="object"&&"x"in t&&"y"in t){return new C(t.x,t.y)}return new C(t,i,n)}function O(t,i){if(!t){return}var n=i?[t,i]:t;for(var e=0,s=n.length;e<s;e++){this.extend(n[e])}}O.prototype={extend:function(t){var i,n;if(!t){return this}if(t instanceof C||typeof t[0]==="number"||"x"in t){i=n=A(t)}else{t=Z(t);i=t.min;n=t.max;if(!i||!n){return this}}if(!this.min&&!this.max){this.min=i.clone();this.max=n.clone()}else{this.min.x=Math.min(i.x,this.min.x);this.max.x=Math.max(n.x,this.max.x);this.min.y=Math.min(i.y,this.min.y);this.max.y=Math.max(n.y,this.max.y)}return this},getCenter:function(t){return A((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return A(this.min.x,this.max.y)},getTopRight:function(){return A(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var i,n;if(typeof t[0]==="number"||t instanceof C){t=A(t)}else{t=Z(t)}if(t instanceof O){i=t.min;n=t.max}else{i=n=t}return i.x>=this.min.x&&n.x<=this.max.x&&i.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=Z(t);var i=this.min,n=this.max,e=t.min,s=t.max,r=s.x>=i.x&&e.x<=n.x,h=s.y>=i.y&&e.y<=n.y;return r&&h},overlaps:function(t){t=Z(t);var i=this.min,n=this.max,e=t.min,s=t.max,r=s.x>i.x&&e.x<n.x,h=s.y>i.y&&e.y<n.y;return r&&h},isValid:function(){return!!(this.min&&this.max)},pad:function(t){var i=this.min,n=this.max,e=Math.abs(i.x-n.x)*t,s=Math.abs(i.y-n.y)*t;return Z(A(i.x-e,i.y-s),A(n.x+e,n.y+s))},equals:function(t){if(!t){return false}t=Z(t);return this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight())}};function Z(t,i){if(!t||t instanceof O){return t}return new O(t,i)}function R(t,i){if(!t){return}var n=i?[t,i]:t;for(var e=0,s=n.length;e<s;e++){this.extend(n[e])}}R.prototype={extend:function(t){var i=this._southWest,n=this._northEast,e,s;if(t instanceof N){e=t;s=t}else if(t instanceof R){e=t._southWest;s=t._northEast;if(!e||!s){return this}}else{return t?this.extend(F(t)||j(t)):this}if(!i&&!n){this._southWest=new N(e.lat,e.lng);this._northEast=new N(s.lat,s.lng)}else{i.lat=Math.min(e.lat,i.lat);i.lng=Math.min(e.lng,i.lng);n.lat=Math.max(s.lat,n.lat);n.lng=Math.max(s.lng,n.lng)}return this},pad:function(t){var i=this._southWest,n=this._northEast,e=Math.abs(i.lat-n.lat)*t,s=Math.abs(i.lng-n.lng)*t;return new R(new N(i.lat-e,i.lng-s),new N(n.lat+e,n.lng+s))},getCenter:function(){return new N((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new N(this.getNorth(),this.getWest())},getSouthEast:function(){return new N(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){if(typeof t[0]==="number"||t instanceof N||"lat"in t){t=F(t)}else{t=j(t)}var i=this._southWest,n=this._northEast,e,s;if(t instanceof R){e=t.getSouthWest();s=t.getNorthEast()}else{e=s=t}return e.lat>=i.lat&&s.lat<=n.lat&&e.lng>=i.lng&&s.lng<=n.lng},intersects:function(t){t=j(t);var i=this._southWest,n=this._northEast,e=t.getSouthWest(),s=t.getNorthEast(),r=s.lat>=i.lat&&e.lat<=n.lat,h=s.lng>=i.lng&&e.lng<=n.lng;return r&&h},overlaps:function(t){t=j(t);var i=this._southWest,n=this._northEast,e=t.getSouthWest(),s=t.getNorthEast(),r=s.lat>i.lat&&e.lat<n.lat,h=s.lng>i.lng&&e.lng<n.lng;return r&&h},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,i){if(!t){return false}t=j(t);return this._southWest.equals(t.getSouthWest(),i)&&this._northEast.equals(t.getNorthEast(),i)},isValid:function(){return!!(this._southWest&&this._northEast)}};function j(t,i){if(t instanceof R){return t}return new R(t,i)}function N(t,i,n){if(isNaN(t)||isNaN(i)){throw new Error("Invalid LatLng object: ("+t+", "+i+")")}this.lat=+t;this.lng=+i;if(n!==undefined){this.alt=+n}}N.prototype={equals:function(t,i){if(!t){return false}t=F(t);var n=Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng));return n<=(i===undefined?1e-9:i)},toString:function(t){return"LatLng("+f(this.lat,t)+", "+f(this.lng,t)+")"},distanceTo:function(t){return U.distance(this,F(t))},wrap:function(){return U.wrapLatLng(this)},toBounds:function(t){var i=180*t/40075017,n=i/Math.cos(Math.PI/180*this.lat);return j([this.lat-i,this.lng-n],[this.lat+i,this.lng+n])},clone:function(){return new N(this.lat,this.lng,this.alt)}};function F(t,i,n){if(t instanceof N){return t}if(w(t)&&typeof t[0]!=="object"){if(t.length===3){return new N(t[0],t[1],t[2])}if(t.length===2){return new N(t[0],t[1])}return null}if(t===undefined||t===null){return t}if(typeof t==="object"&&"lat"in t){return new N(t.lat,"lng"in t?t.lng:t.lon,t.alt)}if(i===undefined){return null}return new N(t,i,n)}var H={latLngToPoint:function(t,i){var n=this.projection.project(t),e=this.scale(i);return this.transformation._transform(n,e)},pointToLatLng:function(t,i){var n=this.scale(i),e=this.transformation.untransform(t,n);return this.projection.unproject(e)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite){return null}var i=this.projection.bounds,n=this.scale(t),e=this.transformation.transform(i.min,n),s=this.transformation.transform(i.max,n);return new O(e,s)},infinite:false,wrapLatLng:function(t){var i=this.wrapLng?a(t.lng,this.wrapLng,true):t.lng,n=this.wrapLat?a(t.lat,this.wrapLat,true):t.lat,e=t.alt;return new N(n,i,e)},wrapLatLngBounds:function(t){var i=t.getCenter(),n=this.wrapLatLng(i),e=i.lat-n.lat,s=i.lng-n.lng;if(e===0&&s===0){return t}var r=t.getSouthWest(),h=t.getNorthEast(),o=new N(r.lat-e,r.lng-s),a=new N(h.lat-e,h.lng-s);return new R(o,a)}};var U=n({},H,{wrapLng:[-180,180],R:6371e3,distance:function(t,i){var n=Math.PI/180,e=t.lat*n,s=i.lat*n,r=Math.sin((i.lat-t.lat)*n/2),h=Math.sin((i.lng-t.lng)*n/2),o=r*r+Math.cos(e)*Math.cos(s)*h*h,a=2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o));return this.R*a}});var W=6378137;var G={R:W,MAX_LATITUDE:85.0511287798,project:function(t){var i=Math.PI/180,n=this.MAX_LATITUDE,e=Math.max(Math.min(n,t.lat),-n),s=Math.sin(e*i);return new C(this.R*t.lng*i,this.R*Math.log((1+s)/(1-s))/2)},unproject:function(t){var i=180/Math.PI;return new N((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*i,t.x*i/this.R)},bounds:function(){var t=W*Math.PI;return new O([-t,-t],[t,t])}()};function q(t,i,n,e){if(w(t)){this._a=t[0];this._b=t[1];this._c=t[2];this._d=t[3];return}this._a=t;this._b=i;this._c=n;this._d=e}q.prototype={transform:function(t,i){return this._transform(t.clone(),i)},_transform:function(t,i){i=i||1;t.x=i*(this._a*t.x+this._b);t.y=i*(this._c*t.y+this._d);return t},untransform:function(t,i){i=i||1;return new C((t.x/i-this._b)/this._a,(t.y/i-this._d)/this._c)}};function K(t,i,n,e){return new q(t,i,n,e)}var V=n({},U,{code:"EPSG:3857",projection:G,transformation:function(){var t=.5/(Math.PI*G.R);return K(t,.5,-t,.5)}()});var $=n({},V,{code:"EPSG:900913"});function J(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function X(t,i){var n="",e,s,r,h,o,a;for(e=0,r=t.length;e<r;e++){o=t[e];for(s=0,h=o.length;s<h;s++){a=o[s];n+=(s?"L":"M")+a.x+" "+a.y}n+=i?Ot.svg?"z":"x":""}return n||"M0 0"}var Y=document.documentElement.style;var Q="ActiveXObject"in window;var tt=Q&&!document.addEventListener;var it="msLaunchUri"in navigator&&!("documentMode"in document);var nt=At("webkit");var et=At("android");var st=At("android 2")||At("android 3");var rt=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10);var ht=et&&At("Google")&&rt<537&&!("AudioNode"in window);var ot=!!window.opera;var at=!it&&At("chrome");var ut=At("gecko")&&!nt&&!ot&&!Q;var ft=!at&&At("safari");var ct=At("phantom");var lt="OTransition"in Y;var dt=navigator.platform.indexOf("Win")===0;var vt=Q&&"transition"in Y;var mt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!st;var pt="MozPerspective"in Y;var wt=!window.L_DISABLE_3D&&(vt||mt||pt)&&!lt&&!ct;var gt=typeof orientation!=="undefined"||At("mobile");var yt=gt&&nt;var _t=gt&&mt;var bt=!window.PointerEvent&&window.MSPointerEvent;var Mt=!!(window.PointerEvent||bt);var Pt="ontouchstart"in window||!!window.TouchEvent;var kt=!window.L_NO_TOUCH&&(Pt||Mt);var Tt=gt&&ot;var Lt=gt&&ut;var xt=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1;var zt=function(){var t=false;try{var i=Object.defineProperty({},"passive",{get:function(){t=true}});window.addEventListener("testPassiveEventSupport",u,i);window.removeEventListener("testPassiveEventSupport",u,i)}catch(t){}return t}();var It=function(){return!!document.createElement("canvas").getContext}();var St=!!(document.createElementNS&&J("svg").createSVGRect);var Bt=!!St&&function(){var t=document.createElement("div");t.innerHTML="<svg/>";return(t.firstChild&&t.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}();var Dt=!St&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var i=t.firstChild;i.style.behavior="url(#default#VML)";return i&&typeof i.adj==="object"}catch(t){return false}}();var Ct=navigator.platform.indexOf("Mac")===0;var Et=navigator.platform.indexOf("Linux")===0;function At(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Ot={ie:Q,ielt9:tt,edge:it,webkit:nt,android:et,android23:st,androidStock:ht,opera:ot,chrome:at,gecko:ut,safari:ft,phantom:ct,opera12:lt,win:dt,ie3d:vt,webkit3d:mt,gecko3d:pt,any3d:wt,mobile:gt,mobileWebkit:yt,mobileWebkit3d:_t,msPointer:bt,pointer:Mt,touch:kt,touchNative:Pt,mobileOpera:Tt,mobileGecko:Lt,retina:xt,passiveEvents:zt,canvas:It,svg:St,vml:Dt,inlineSvg:Bt,mac:Ct,linux:Et};var Zt=Ot.msPointer?"MSPointerDown":"pointerdown";var Rt=Ot.msPointer?"MSPointerMove":"pointermove";var jt=Ot.msPointer?"MSPointerUp":"pointerup";var Nt=Ot.msPointer?"MSPointerCancel":"pointercancel";var Ft={touchstart:Zt,touchmove:Rt,touchend:jt,touchcancel:Nt};var Ht={touchstart:Yt,touchmove:Xt,touchend:Xt,touchcancel:Xt};var Ut={};var Wt=false;function Gt(t,i,n){if(i==="touchstart"){Jt()}if(!Ht[i]){console.warn("wrong event specified:",i);return u}n=Ht[i].bind(this,n);t.addEventListener(Ft[i],n,false);return n}function qt(t,i,n){if(!Ft[i]){console.warn("wrong event specified:",i);return}t.removeEventListener(Ft[i],n,false)}function Kt(t){Ut[t.pointerId]=t}function Vt(t){if(Ut[t.pointerId]){Ut[t.pointerId]=t}}function $t(t){delete Ut[t.pointerId]}function Jt(){if(!Wt){document.addEventListener(Zt,Kt,true);document.addEventListener(Rt,Vt,true);document.addEventListener(jt,$t,true);document.addEventListener(Nt,$t,true);Wt=true}}function Xt(t,i){if(i.pointerType===(i.MSPOINTER_TYPE_MOUSE||"mouse")){return}i.touches=[];for(var n in Ut){i.touches.push(Ut[n])}i.changedTouches=[i];t(i)}function Yt(t,i){if(i.MSPOINTER_TYPE_TOUCH&&i.pointerType===i.MSPOINTER_TYPE_TOUCH){Ki(i)}Xt(t,i)}function Qt(t){var i={},n,e;for(e in t){n=t[e];i[e]=n&&n.bind?n.bind(t):n}t=i;i.type="dblclick";i.detail=2;i.isTrusted=false;i._simulated=true;return i}var ti=200;function ii(t,i){t.addEventListener("dblclick",i);var n=0,e;function s(t){if(t.detail!==1){e=t.detail;return}if(t.pointerType==="mouse"||t.sourceCapabilities&&!t.sourceCapabilities.firesTouchEvents){return}var s=$i(t);if(s.some((function(t){return t instanceof HTMLLabelElement&&t.attributes.for}))&&!s.some((function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement}))){return}var r=Date.now();if(r-n<=ti){e++;if(e===2){i(Qt(t))}}else{e=1}n=r}t.addEventListener("click",s);return{dblclick:i,simDblclick:s}}function ni(t,i){t.removeEventListener("dblclick",i.dblclick);t.removeEventListener("click",i.simDblclick)}var ei=_i(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);var si=_i(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);var ri=si==="webkitTransition"||si==="OTransition"?si+"End":"transitionend";function hi(t){return typeof t==="string"?document.getElementById(t):t}function oi(t,i){var n=t.style[i]||t.currentStyle&&t.currentStyle[i];if((!n||n==="auto")&&document.defaultView){var e=document.defaultView.getComputedStyle(t,null);n=e?e[i]:null}return n==="auto"?null:n}function ai(t,i,n){var e=document.createElement(t);e.className=i||"";if(n){n.appendChild(e)}return e}function ui(t){var i=t.parentNode;if(i){i.removeChild(t)}}function fi(t){while(t.firstChild){t.removeChild(t.firstChild)}}function ci(t){var i=t.parentNode;if(i&&i.lastChild!==t){i.appendChild(t)}}function li(t){var i=t.parentNode;if(i&&i.firstChild!==t){i.insertBefore(t,i.firstChild)}}function di(t,i){if(t.classList!==undefined){return t.classList.contains(i)}var n=wi(t);return n.length>0&&new RegExp("(^|\\s)"+i+"(\\s|$)").test(n)}function vi(t,i){if(t.classList!==undefined){var n=l(i);for(var e=0,s=n.length;e<s;e++){t.classList.add(n[e])}}else if(!di(t,i)){var r=wi(t);pi(t,(r?r+" ":"")+i)}}function mi(t,i){if(t.classList!==undefined){t.classList.remove(i)}else{pi(t,c((" "+wi(t)+" ").replace(" "+i+" "," ")))}}function pi(t,i){if(t.className.baseVal===undefined){t.className=i}else{t.className.baseVal=i}}function wi(t){if(t.correspondingElement){t=t.correspondingElement}return t.className.baseVal===undefined?t.className:t.className.baseVal}function gi(t,i){if("opacity"in t.style){t.style.opacity=i}else if("filter"in t.style){yi(t,i)}}function yi(t,i){var n=false,e="DXImageTransform.Microsoft.Alpha";try{n=t.filters.item(e)}catch(t){if(i===1){return}}i=Math.round(i*100);if(n){n.Enabled=i!==100;n.Opacity=i}else{t.style.filter+=" progid:"+e+"(opacity="+i+")"}}function _i(t){var i=document.documentElement.style;for(var n=0;n<t.length;n++){if(t[n]in i){return t[n]}}return false}function bi(t,i,n){var e=i||new C(0,0);t.style[ei]=(Ot.ie3d?"translate("+e.x+"px,"+e.y+"px)":"translate3d("+e.x+"px,"+e.y+"px,0)")+(n?" scale("+n+")":"")}function Mi(t,i){t._leaflet_pos=i;if(Ot.any3d){bi(t,i)}else{t.style.left=i.x+"px";t.style.top=i.y+"px"}}function Pi(t){return t._leaflet_pos||new C(0,0)}var ki;var Ti;var Li;if("onselectstart"in document){ki=function(){Zi(window,"selectstart",Ki)};Ti=function(){ji(window,"selectstart",Ki)}}else{var xi=_i(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);ki=function(){if(xi){var t=document.documentElement.style;Li=t[xi];t[xi]="none"}};Ti=function(){if(xi){document.documentElement.style[xi]=Li;Li=undefined}}}function zi(){Zi(window,"dragstart",Ki)}function Ii(){ji(window,"dragstart",Ki)}var Si,Bi;function Di(t){while(t.tabIndex===-1){t=t.parentNode}if(!t.style){return}Ci();Si=t;Bi=t.style.outlineStyle;t.style.outlineStyle="none";Zi(window,"keydown",Ci)}function Ci(){if(!Si){return}Si.style.outlineStyle=Bi;Si=undefined;Bi=undefined;ji(window,"keydown",Ci)}function Ei(t){do{t=t.parentNode}while((!t.offsetWidth||!t.offsetHeight)&&t!==document.body);return t}function Ai(t){var i=t.getBoundingClientRect();return{x:i.width/t.offsetWidth||1,y:i.height/t.offsetHeight||1,boundingClientRect:i}}var Oi={__proto__:null,TRANSFORM:ei,TRANSITION:si,TRANSITION_END:ri,get:hi,getStyle:oi,create:ai,remove:ui,empty:fi,toFront:ci,toBack:li,hasClass:di,addClass:vi,removeClass:mi,setClass:pi,getClass:wi,setOpacity:gi,testProp:_i,setTransform:bi,setPosition:Mi,getPosition:Pi,get disableTextSelection(){return ki},get enableTextSelection(){return Ti},disableImageDrag:zi,enableImageDrag:Ii,preventOutline:Di,restoreOutline:Ci,getSizedParentNode:Ei,getScale:Ai};function Zi(t,i,n,e){if(i&&typeof i==="object"){for(var s in i){Hi(t,s,i[s],n)}}else{i=l(i);for(var r=0,h=i.length;r<h;r++){Hi(t,i[r],n,e)}}return this}var Ri="_leaflet_events";function ji(t,i,n,e){if(arguments.length===1){Ni(t);delete t[Ri]}else if(i&&typeof i==="object"){for(var s in i){Ui(t,s,i[s],n)}}else{i=l(i);if(arguments.length===2){Ni(t,(function(t){return g(i,t)!==-1}))}else{for(var r=0,h=i.length;r<h;r++){Ui(t,i[r],n,e)}}}return this}function Ni(t,i){for(var n in t[Ri]){var e=n.split(/\d/)[0];if(!i||i(e)){Ui(t,e,null,null,n)}}}var Fi={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Hi(t,i,n,e){var s=i+h(n)+(e?"_"+h(e):"");if(t[Ri]&&t[Ri][s]){return this}var r=function(i){return n.call(e||t,i||window.event)};var o=r;if(!Ot.touchNative&&Ot.pointer&&i.indexOf("touch")===0){r=Gt(t,i,r)}else if(Ot.touch&&i==="dblclick"){r=ii(t,r)}else if("addEventListener"in t){if(i==="touchstart"||i==="touchmove"||i==="wheel"||i==="mousewheel"){t.addEventListener(Fi[i]||i,r,Ot.passiveEvents?{passive:false}:false)}else if(i==="mouseenter"||i==="mouseleave"){r=function(i){i=i||window.event;if(Qi(t,i)){o(i)}};t.addEventListener(Fi[i],r,false)}else{t.addEventListener(i,o,false)}}else{t.attachEvent("on"+i,r)}t[Ri]=t[Ri]||{};t[Ri][s]=r}function Ui(t,i,n,e,s){s=s||i+h(n)+(e?"_"+h(e):"");var r=t[Ri]&&t[Ri][s];if(!r){return this}if(!Ot.touchNative&&Ot.pointer&&i.indexOf("touch")===0){qt(t,i,r)}else if(Ot.touch&&i==="dblclick"){ni(t,r)}else if("removeEventListener"in t){t.removeEventListener(Fi[i]||i,r,false)}else{t.detachEvent("on"+i,r)}t[Ri][s]=null}function Wi(t){if(t.stopPropagation){t.stopPropagation()}else if(t.originalEvent){t.originalEvent._stopped=true}else{t.cancelBubble=true}return this}function Gi(t){Hi(t,"wheel",Wi);return this}function qi(t){Zi(t,"mousedown touchstart dblclick contextmenu",Wi);t["_leaflet_disable_click"]=true;return this}function Ki(t){if(t.preventDefault){t.preventDefault()}else{t.returnValue=false}return this}function Vi(t){Ki(t);Wi(t);return this}function $i(t){if(t.composedPath){return t.composedPath()}var i=[];var n=t.target;while(n){i.push(n);n=n.parentNode}return i}function Ji(t,i){if(!i){return new C(t.clientX,t.clientY)}var n=Ai(i),e=n.boundingClientRect;return new C((t.clientX-e.left)/n.x-i.clientLeft,(t.clientY-e.top)/n.y-i.clientTop)}var Xi=Ot.linux&&Ot.chrome?window.devicePixelRatio:Ot.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function Yi(t){return Ot.edge?t.wheelDeltaY/2:t.deltaY&&t.deltaMode===0?-t.deltaY/Xi:t.deltaY&&t.deltaMode===1?-t.deltaY*20:t.deltaY&&t.deltaMode===2?-t.deltaY*60:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?-t.detail*20:t.detail?t.detail/-32765*60:0}function Qi(t,i){var n=i.relatedTarget;if(!n){return true}try{while(n&&n!==t){n=n.parentNode}}catch(t){return false}return n!==t}var tn={__proto__:null,on:Zi,off:ji,stopPropagation:Wi,disableScrollPropagation:Gi,disableClickPropagation:qi,preventDefault:Ki,stop:Vi,getPropagationPath:$i,getMousePosition:Ji,getWheelDelta:Yi,isExternalTarget:Qi,addListener:Zi,removeListener:ji};var nn=D.extend({run:function(t,i,n,e){this.stop();this._el=t;this._inProgress=true;this._duration=n||.25;this._easeOutPower=1/Math.max(e||.5,.2);this._startPos=Pi(t);this._offset=i.subtract(this._startPos);this._startTime=+new Date;this.fire("start");this._animate()},stop:function(){if(!this._inProgress){return}this._step(true);this._complete()},_animate:function(){this._animId=T(this._animate,this);this._step()},_step:function(t){var i=+new Date-this._startTime,n=this._duration*1e3;if(i<n){this._runFrame(this._easeOut(i/n),t)}else{this._runFrame(1);this._complete()}},_runFrame:function(t,i){var n=this._startPos.add(this._offset.multiplyBy(t));if(i){n._round()}Mi(this._el,n);this.fire("step")},_complete:function(){x(this._animId);this._inProgress=false;this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}});var en=D.extend({options:{crs:V,center:undefined,zoom:undefined,minZoom:undefined,maxZoom:undefined,layers:[],maxBounds:undefined,renderer:undefined,zoomAnimation:true,zoomAnimationThreshold:4,fadeAnimation:true,markerZoomAnimation:true,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:true},initialize:function(t,i){i=d(this,i);this._handlers=[];this._layers={};this._zoomBoundLayers={};this._sizeChanged=true;this._initContainer(t);this._initLayout();this._onResize=s(this._onResize,this);this._initEvents();if(i.maxBounds){this.setMaxBounds(i.maxBounds)}if(i.zoom!==undefined){this._zoom=this._limitZoom(i.zoom)}if(i.center&&i.zoom!==undefined){this.setView(F(i.center),i.zoom,{reset:true})}this.callInitHooks();this._zoomAnimated=si&&Ot.any3d&&!Ot.mobileOpera&&this.options.zoomAnimation;if(this._zoomAnimated){this._createAnimProxy();Zi(this._proxy,ri,this._catchTransitionEnd,this)}this._addLayers(this.options.layers)},setView:function(t,i,e){i=i===undefined?this._zoom:this._limitZoom(i);t=this._limitCenter(F(t),i,this.options.maxBounds);e=e||{};this._stop();if(this._loaded&&!e.reset&&e!==true){if(e.animate!==undefined){e.zoom=n({animate:e.animate},e.zoom);e.pan=n({animate:e.animate,duration:e.duration},e.pan)}var s=this._zoom!==i?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,i,e.zoom):this._tryAnimatedPan(t,e.pan);if(s){clearTimeout(this._sizeTimer);return this}}this._resetView(t,i,e.pan&&e.pan.noMoveStart);return this},setZoom:function(t,i){if(!this._loaded){this._zoom=t;return this}return this.setView(this.getCenter(),t,{zoom:i})},zoomIn:function(t,i){t=t||(Ot.any3d?this.options.zoomDelta:1);return this.setZoom(this._zoom+t,i)},zoomOut:function(t,i){t=t||(Ot.any3d?this.options.zoomDelta:1);return this.setZoom(this._zoom-t,i)},setZoomAround:function(t,i,n){var e=this.getZoomScale(i),s=this.getSize().divideBy(2),r=t instanceof C?t:this.latLngToContainerPoint(t),h=r.subtract(s).multiplyBy(1-1/e),o=this.containerPointToLatLng(s.add(h));return this.setView(o,i,{zoom:n})},_getBoundsCenterZoom:function(t,i){i=i||{};t=t.getBounds?t.getBounds():j(t);var n=A(i.paddingTopLeft||i.padding||[0,0]),e=A(i.paddingBottomRight||i.padding||[0,0]),s=this.getBoundsZoom(t,false,n.add(e));s=typeof i.maxZoom==="number"?Math.min(i.maxZoom,s):s;if(s===Infinity){return{center:t.getCenter(),zoom:s}}var r=e.subtract(n).divideBy(2),h=this.project(t.getSouthWest(),s),o=this.project(t.getNorthEast(),s),a=this.unproject(h.add(o).divideBy(2).add(r),s);return{center:a,zoom:s}},fitBounds:function(t,i){t=j(t);if(!t.isValid()){throw new Error("Bounds are not valid.")}var n=this._getBoundsCenterZoom(t,i);return this.setView(n.center,n.zoom,i)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,i){return this.setView(t,this._zoom,{pan:i})},panBy:function(t,i){t=A(t).round();i=i||{};if(!t.x&&!t.y){return this.fire("moveend")}if(i.animate!==true&&!this.getSize().contains(t)){this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom());return this}if(!this._panAnim){this._panAnim=new nn;this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)}if(!i.noMoveStart){this.fire("movestart")}if(i.animate!==false){vi(this._mapPane,"leaflet-pan-anim");var n=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,n,i.duration||.25,i.easeLinearity)}else{this._rawPanBy(t);this.fire("move").fire("moveend")}return this},flyTo:function(t,i,n){n=n||{};if(n.animate===false||!Ot.any3d){return this.setView(t,i,n)}this._stop();var e=this.project(this.getCenter()),s=this.project(t),r=this.getSize(),h=this._zoom;t=F(t);i=i===undefined?h:i;var o=Math.max(r.x,r.y),a=o*this.getZoomScale(h,i),u=s.distanceTo(e)||1,f=1.42,c=f*f;function l(t){var i=t?-1:1,n=t?a:o,e=a*a-o*o+i*c*c*u*u,s=2*n*c*u,r=e/s,h=Math.sqrt(r*r+1)-r;var f=h<1e-9?-18:Math.log(h);return f}function d(t){return(Math.exp(t)-Math.exp(-t))/2}function v(t){return(Math.exp(t)+Math.exp(-t))/2}function m(t){return d(t)/v(t)}var p=l(0);function w(t){return o*(v(p)/v(p+f*t))}function g(t){return o*(v(p)*m(p+f*t)-d(p))/c}function y(t){return 1-Math.pow(1-t,1.5)}var _=Date.now(),b=(l(1)-p)/f,M=n.duration?1e3*n.duration:1e3*b*.8;function P(){var n=(Date.now()-_)/M,r=y(n)*b;if(n<=1){this._flyToFrame=T(P,this);this._move(this.unproject(e.add(s.subtract(e).multiplyBy(g(r)/u)),h),this.getScaleZoom(o/w(r),h),{flyTo:true})}else{this._move(t,i)._moveEnd(true)}}this._moveStart(true,n.noMoveStart);P.call(this);return this},flyToBounds:function(t,i){var n=this._getBoundsCenterZoom(t,i);return this.flyTo(n.center,n.zoom,i)},setMaxBounds:function(t){t=j(t);if(this.listens("moveend",this._panInsideMaxBounds)){this.off("moveend",this._panInsideMaxBounds)}if(!t.isValid()){this.options.maxBounds=null;return this}this.options.maxBounds=t;if(this._loaded){this._panInsideMaxBounds()}return this.on("moveend",this._panInsideMaxBounds)},setMinZoom:function(t){var i=this.options.minZoom;this.options.minZoom=t;if(this._loaded&&i!==t){this.fire("zoomlevelschange");if(this.getZoom()<this.options.minZoom){return this.setZoom(t)}}return this},setMaxZoom:function(t){var i=this.options.maxZoom;this.options.maxZoom=t;if(this._loaded&&i!==t){this.fire("zoomlevelschange");if(this.getZoom()>this.options.maxZoom){return this.setZoom(t)}}return this},panInsideBounds:function(t,i){this._enforcingBounds=true;var n=this.getCenter(),e=this._limitCenter(n,this._zoom,j(t));if(!n.equals(e)){this.panTo(e,i)}this._enforcingBounds=false;return this},panInside:function(t,i){i=i||{};var n=A(i.paddingTopLeft||i.padding||[0,0]),e=A(i.paddingBottomRight||i.padding||[0,0]),s=this.project(this.getCenter()),r=this.project(t),h=this.getPixelBounds(),o=Z([h.min.add(n),h.max.subtract(e)]),a=o.getSize();if(!o.contains(r)){this._enforcingBounds=true;var u=r.subtract(o.getCenter());var f=o.extend(r).getSize().subtract(a);s.x+=u.x<0?-f.x:f.x;s.y+=u.y<0?-f.y:f.y;this.panTo(this.unproject(s),i);this._enforcingBounds=false}return this},invalidateSize:function(t){if(!this._loaded){return this}t=n({animate:false,pan:true},t===true?{animate:true}:t);var i=this.getSize();this._sizeChanged=true;this._lastCenter=null;var e=this.getSize(),r=i.divideBy(2).round(),h=e.divideBy(2).round(),o=r.subtract(h);if(!o.x&&!o.y){return this}if(t.animate&&t.pan){this.panBy(o)}else{if(t.pan){this._rawPanBy(o)}this.fire("move");if(t.debounceMoveend){clearTimeout(this._sizeTimer);this._sizeTimer=setTimeout(s(this.fire,this,"moveend"),200)}else{this.fire("moveend")}}return this.fire("resize",{oldSize:i,newSize:e})},stop:function(){this.setZoom(this._limitZoom(this._zoom));if(!this.options.zoomSnap){this.fire("viewreset")}return this._stop()},locate:function(t){t=this._locateOptions=n({timeout:1e4,watch:false},t);if(!("geolocation"in navigator)){this._handleGeolocationError({code:0,message:"Geolocation not supported."});return this}var i=s(this._handleGeolocationResponse,this),e=s(this._handleGeolocationError,this);if(t.watch){this._locationWatchId=navigator.geolocation.watchPosition(i,e,t)}else{navigator.geolocation.getCurrentPosition(i,e,t)}return this},stopLocate:function(){if(navigator.geolocation&&navigator.geolocation.clearWatch){navigator.geolocation.clearWatch(this._locationWatchId)}if(this._locateOptions){this._locateOptions.setView=false}return this},_handleGeolocationError:function(t){if(!this._container._leaflet_id){return}var i=t.code,n=t.message||(i===1?"permission denied":i===2?"position unavailable":"timeout");if(this._locateOptions.setView&&!this._loaded){this.fitWorld()}this.fire("locationerror",{code:i,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){if(!this._container._leaflet_id){return}var i=t.coords.latitude,n=t.coords.longitude,e=new N(i,n),s=e.toBounds(t.coords.accuracy*2),r=this._locateOptions;if(r.setView){var h=this.getBoundsZoom(s);this.setView(e,r.maxZoom?Math.min(h,r.maxZoom):h)}var o={latlng:e,bounds:s,timestamp:t.timestamp};for(var a in t.coords){if(typeof t.coords[a]==="number"){o[a]=t.coords[a]}}this.fire("locationfound",o)},addHandler:function(t,i){if(!i){return this}var n=this[t]=new i(this);this._handlers.push(n);if(this.options[t]){n.enable()}return this},remove:function(){this._initEvents(true);if(this.options.maxBounds){this.off("moveend",this._panInsideMaxBounds)}if(this._containerId!==this._container._leaflet_id){throw new Error("Map container is being reused by another instance")}try{delete this._container._leaflet_id;delete this._containerId}catch(t){this._container._leaflet_id=undefined;this._containerId=undefined}if(this._locationWatchId!==undefined){this.stopLocate()}this._stop();ui(this._mapPane);if(this._clearControlPos){this._clearControlPos()}if(this._resizeRequest){x(this._resizeRequest);this._resizeRequest=null}this._clearHandlers();if(this._loaded){this.fire("unload")}var t;for(t in this._layers){this._layers[t].remove()}for(t in this._panes){ui(this._panes[t])}this._layers=[];this._panes=[];delete this._mapPane;delete this._renderer;return this},createPane:function(t,i){var n="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e=ai("div",n,i||this._mapPane);if(t){this._panes[t]=e}return e},getCenter:function(){this._checkIfLoaded();if(this._lastCenter&&!this._moved()){return this._lastCenter.clone()}return this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),i=this.unproject(t.getBottomLeft()),n=this.unproject(t.getTopRight());return new R(i,n)},getMinZoom:function(){return this.options.minZoom===undefined?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===undefined?this._layersMaxZoom===undefined?Infinity:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,i,n){t=j(t);n=A(n||[0,0]);var e=this.getZoom()||0,s=this.getMinZoom(),r=this.getMaxZoom(),h=t.getNorthWest(),o=t.getSouthEast(),a=this.getSize().subtract(n),u=Z(this.project(o,e),this.project(h,e)).getSize(),f=Ot.any3d?this.options.zoomSnap:1,c=a.x/u.x,l=a.y/u.y,d=i?Math.max(c,l):Math.min(c,l);e=this.getScaleZoom(d,e);if(f){e=Math.round(e/(f/100))*(f/100);e=i?Math.ceil(e/f)*f:Math.floor(e/f)*f}return Math.max(s,Math.min(r,e))},getSize:function(){if(!this._size||this._sizeChanged){this._size=new C(this._container.clientWidth||0,this._container.clientHeight||0);this._sizeChanged=false}return this._size.clone()},getPixelBounds:function(t,i){var n=this._getTopLeftPoint(t,i);return new O(n,n.add(this.getSize()))},getPixelOrigin:function(){this._checkIfLoaded();return this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(t===undefined?this.getZoom():t)},getPane:function(t){return typeof t==="string"?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,i){var n=this.options.crs;i=i===undefined?this._zoom:i;return n.scale(t)/n.scale(i)},getScaleZoom:function(t,i){var n=this.options.crs;i=i===undefined?this._zoom:i;var e=n.zoom(t*n.scale(i));return isNaN(e)?Infinity:e},project:function(t,i){i=i===undefined?this._zoom:i;return this.options.crs.latLngToPoint(F(t),i)},unproject:function(t,i){i=i===undefined?this._zoom:i;return this.options.crs.pointToLatLng(A(t),i)},layerPointToLatLng:function(t){var i=A(t).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(t){var i=this.project(F(t))._round();return i._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(F(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(j(t))},distance:function(t,i){return this.options.crs.distance(F(t),F(i))},containerPointToLayerPoint:function(t){return A(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return A(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var i=this.containerPointToLayerPoint(A(t));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(t)))},mouseEventToContainerPoint:function(t){return Ji(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var i=this._container=hi(t);if(!i){throw new Error("Map container not found.")}else if(i._leaflet_id){throw new Error("Map container is already initialized.")}Zi(i,"scroll",this._onScroll,this);this._containerId=h(i)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Ot.any3d;vi(t,"leaflet-container"+(Ot.touch?" leaflet-touch":"")+(Ot.retina?" leaflet-retina":"")+(Ot.ielt9?" leaflet-oldie":"")+(Ot.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var i=oi(t,"position");if(i!=="absolute"&&i!=="relative"&&i!=="fixed"&&i!=="sticky"){t.style.position="relative"}this._initPanes();if(this._initControlPos){this._initControlPos()}},_initPanes:function(){var t=this._panes={};this._paneRenderers={};this._mapPane=this.createPane("mapPane",this._container);Mi(this._mapPane,new C(0,0));this.createPane("tilePane");this.createPane("overlayPane");this.createPane("shadowPane");this.createPane("markerPane");this.createPane("tooltipPane");this.createPane("popupPane");if(!this.options.markerZoomAnimation){vi(t.markerPane,"leaflet-zoom-hide");vi(t.shadowPane,"leaflet-zoom-hide")}},_resetView:function(t,i,n){Mi(this._mapPane,new C(0,0));var e=!this._loaded;this._loaded=true;i=this._limitZoom(i);this.fire("viewprereset");var s=this._zoom!==i;this._moveStart(s,n)._move(t,i)._moveEnd(s);this.fire("viewreset");if(e){this.fire("load")}},_moveStart:function(t,i){if(t){this.fire("zoomstart")}if(!i){this.fire("movestart")}return this},_move:function(t,i,n,e){if(i===undefined){i=this._zoom}var s=this._zoom!==i;this._zoom=i;this._lastCenter=t;this._pixelOrigin=this._getNewPixelOrigin(t);if(!e){if(s||n&&n.pinch){this.fire("zoom",n)}this.fire("move",n)}else if(n&&n.pinch){this.fire("zoom",n)}return this},_moveEnd:function(t){if(t){this.fire("zoomend")}return this.fire("moveend")},_stop:function(){x(this._flyToFrame);if(this._panAnim){this._panAnim.stop()}return this},_rawPanBy:function(t){Mi(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){if(!this._enforcingBounds){this.panInsideBounds(this.options.maxBounds)}},_checkIfLoaded:function(){if(!this._loaded){throw new Error("Set map center and zoom first.")}},_initEvents:function(t){this._targets={};this._targets[h(this._container)]=this;var i=t?ji:Zi;i(this._container,"click dblclick mousedown mouseup "+"mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this);if(this.options.trackResize){i(window,"resize",this._onResize,this)}if(Ot.any3d&&this.options.transform3DLimit){(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)}},_onResize:function(){x(this._resizeRequest);this._resizeRequest=T((function(){this.invalidateSize({debounceMoveend:true})}),this)},_onScroll:function(){this._container.scrollTop=0;this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();if(Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit){this._resetView(this.getCenter(),this.getZoom())}},_findEventTargets:function(t,i){var n=[],e,s=i==="mouseout"||i==="mouseover",r=t.target||t.srcElement,o=false;while(r){e=this._targets[h(r)];if(e&&(i==="click"||i==="preclick")&&this._draggableMoved(e)){o=true;break}if(e&&e.listens(i,true)){if(s&&!Qi(r,t)){break}n.push(e);if(s){break}}if(r===this._container){break}r=r.parentNode}if(!n.length&&!o&&!s&&this.listens(i,true)){n=[this]}return n},_isClickDisabled:function(t){while(t&&t!==this._container){if(t["_leaflet_disable_click"]){return true}t=t.parentNode}},_handleDOMEvent:function(t){var i=t.target||t.srcElement;if(!this._loaded||i["_leaflet_disable_events"]||t.type==="click"&&this._isClickDisabled(i)){return}var n=t.type;if(n==="mousedown"){Di(i)}this._fireDOMEvent(t,n)},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,i,e){if(t.type==="click"){var s=n({},t);s.type="preclick";this._fireDOMEvent(s,s.type,e)}var r=this._findEventTargets(t,i);if(e){var h=[];for(var o=0;o<e.length;o++){if(e[o].listens(i,true)){h.push(e[o])}}r=h.concat(r)}if(!r.length){return}if(i==="contextmenu"){Ki(t)}var a=r[0];var u={originalEvent:t};if(t.type!=="keypress"&&t.type!=="keydown"&&t.type!=="keyup"){var f=a.getLatLng&&(!a._radius||a._radius<=10);u.containerPoint=f?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(t);u.layerPoint=this.containerPointToLayerPoint(u.containerPoint);u.latlng=f?a.getLatLng():this.layerPointToLatLng(u.layerPoint)}for(o=0;o<r.length;o++){r[o].fire(i,u,true);if(u.originalEvent._stopped||r[o].options.bubblingMouseEvents===false&&g(this._mouseEvents,i)!==-1){return}}},_draggableMoved:function(t){t=t.dragging&&t.dragging.enabled()?t:this;return t.dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,i=this._handlers.length;t<i;t++){this._handlers[t].disable()}},whenReady:function(t,i){if(this._loaded){t.call(i||this,{target:this})}else{this.on("load",t,i)}return this},_getMapPanePos:function(){return Pi(this._mapPane)||new C(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,i){var n=t&&i!==undefined?this._getNewPixelOrigin(t,i):this.getPixelOrigin();return n.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,i){var n=this.getSize()._divideBy(2);return this.project(t,i)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,i,n){var e=this._getNewPixelOrigin(n,i);return this.project(t,i)._subtract(e)},_latLngBoundsToNewLayerBounds:function(t,i,n){var e=this._getNewPixelOrigin(n,i);return Z([this.project(t.getSouthWest(),i)._subtract(e),this.project(t.getNorthWest(),i)._subtract(e),this.project(t.getSouthEast(),i)._subtract(e),this.project(t.getNorthEast(),i)._subtract(e)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,i,n){if(!n){return t}var e=this.project(t,i),s=this.getSize().divideBy(2),r=new O(e.subtract(s),e.add(s)),h=this._getBoundsOffset(r,n,i);if(Math.abs(h.x)<=1&&Math.abs(h.y)<=1){return t}return this.unproject(e.add(h),i)},_limitOffset:function(t,i){if(!i){return t}var n=this.getPixelBounds(),e=new O(n.min.add(t),n.max.add(t));return t.add(this._getBoundsOffset(e,i))},_getBoundsOffset:function(t,i,n){var e=Z(this.project(i.getNorthEast(),n),this.project(i.getSouthWest(),n)),s=e.min.subtract(t.min),r=e.max.subtract(t.max),h=this._rebound(s.x,-r.x),o=this._rebound(s.y,-r.y);return new C(h,o)},_rebound:function(t,i){return t+i>0?Math.round(t-i)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(i))},_limitZoom:function(t){var i=this.getMinZoom(),n=this.getMaxZoom(),e=Ot.any3d?this.options.zoomSnap:1;if(e){t=Math.round(t/e)*e}return Math.max(i,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){mi(this._mapPane,"leaflet-pan-anim");this.fire("moveend")},_tryAnimatedPan:function(t,i){var n=this._getCenterOffset(t)._trunc();if((i&&i.animate)!==true&&!this.getSize().contains(n)){return false}this.panBy(n,i);return true},_createAnimProxy:function(){var t=this._proxy=ai("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t);this.on("zoomanim",(function(t){var i=ei,n=this._proxy.style[i];bi(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1));if(n===this._proxy.style[i]&&this._animatingZoom){this._onZoomTransitionEnd()}}),this);this.on("load moveend",this._animMoveEnd,this);this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ui(this._proxy);this.off("load moveend",this._animMoveEnd,this);delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),i=this.getZoom();bi(this._proxy,this.project(t,i),this.getZoomScale(i,1))},_catchTransitionEnd:function(t){if(this._animatingZoom&&t.propertyName.indexOf("transform")>=0){this._onZoomTransitionEnd()}},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,i,n){if(this._animatingZoom){return true}n=n||{};if(!this._zoomAnimated||n.animate===false||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold){return false}var e=this.getZoomScale(i),s=this._getCenterOffset(t)._divideBy(1-1/e);if(n.animate!==true&&!this.getSize().contains(s)){return false}T((function(){this._moveStart(true,n.noMoveStart||false)._animateZoom(t,i,true)}),this);return true},_animateZoom:function(t,i,n,e){if(!this._mapPane){return}if(n){this._animatingZoom=true;this._animateToCenter=t;this._animateToZoom=i;vi(this._mapPane,"leaflet-zoom-anim")}this.fire("zoomanim",{center:t,zoom:i,noUpdate:e});if(!this._tempFireZoomEvent){this._tempFireZoomEvent=this._zoom!==this._animateToZoom}this._move(this._animateToCenter,this._animateToZoom,undefined,true);setTimeout(s(this._onZoomTransitionEnd,this),250)},_onZoomTransitionEnd:function(){if(!this._animatingZoom){return}if(this._mapPane){mi(this._mapPane,"leaflet-zoom-anim")}this._animatingZoom=false;this._move(this._animateToCenter,this._animateToZoom,undefined,true);if(this._tempFireZoomEvent){this.fire("zoom")}delete this._tempFireZoomEvent;this.fire("move");this._moveEnd(true)}});function sn(t,i){return new en(t,i)}var rn=I.extend({options:{position:"topright"},initialize:function(t){d(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var i=this._map;if(i){i.removeControl(this)}this.options.position=t;if(i){i.addControl(this)}return this},getContainer:function(){return this._container},addTo:function(t){this.remove();this._map=t;var i=this._container=this.onAdd(t),n=this.getPosition(),e=t._controlCorners[n];vi(i,"leaflet-control");if(n.indexOf("bottom")!==-1){e.insertBefore(i,e.firstChild)}else{e.appendChild(i)}this._map.on("unload",this.remove,this);return this},remove:function(){if(!this._map){return this}ui(this._container);if(this.onRemove){this.onRemove(this._map)}this._map.off("unload",this.remove,this);this._map=null;return this},_refocusOnMap:function(t){if(this._map&&t&&t.screenX>0&&t.screenY>0){this._map.getContainer().focus()}}});var hn=function(t){return new rn(t)};en.include({addControl:function(t){t.addTo(this);return this},removeControl:function(t){t.remove();return this},_initControlPos:function(){var t=this._controlCorners={},i="leaflet-",n=this._controlContainer=ai("div",i+"control-container",this._container);function e(e,s){var r=i+e+" "+i+s;t[e+s]=ai("div",r,n)}e("top","left");e("top","right");e("bottom","left");e("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners){ui(this._controlCorners[t])}ui(this._controlContainer);delete this._controlCorners;delete this._controlContainer}});var on=rn.extend({options:{collapsed:true,position:"topright",autoZIndex:true,hideSingleBase:false,sortLayers:false,sortFunction:function(t,i,n,e){return n<e?-1:e<n?1:0}},initialize:function(t,i,n){d(this,n);this._layerControlInputs=[];this._layers=[];this._lastZIndex=0;this._handlingClick=false;this._preventClick=false;for(var e in t){this._addLayer(t[e],e)}for(e in i){this._addLayer(i[e],e,true)}},onAdd:function(t){this._initLayout();this._update();this._map=t;t.on("zoomend",this._checkDisabledLayers,this);for(var i=0;i<this._layers.length;i++){this._layers[i].layer.on("add remove",this._onLayerChange,this)}return this._container},addTo:function(t){rn.prototype.addTo.call(this,t);return this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++){this._layers[t].layer.off("add remove",this._onLayerChange,this)}},addBaseLayer:function(t,i){this._addLayer(t,i);return this._map?this._update():this},addOverlay:function(t,i){this._addLayer(t,i,true);return this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var i=this._getLayer(h(t));if(i){this._layers.splice(this._layers.indexOf(i),1)}return this._map?this._update():this},expand:function(){vi(this._container,"leaflet-control-layers-expanded");this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);if(t<this._section.clientHeight){vi(this._section,"leaflet-control-layers-scrollbar");this._section.style.height=t+"px"}else{mi(this._section,"leaflet-control-layers-scrollbar")}this._checkDisabledLayers();return this},collapse:function(){mi(this._container,"leaflet-control-layers-expanded");return this},_initLayout:function(){var t="leaflet-control-layers",i=this._container=ai("div",t),n=this.options.collapsed;i.setAttribute("aria-haspopup",true);qi(i);Gi(i);var e=this._section=ai("section",t+"-list");if(n){this._map.on("click",this.collapse,this);Zi(i,{mouseenter:this._expandSafely,mouseleave:this.collapse},this)}var s=this._layersLink=ai("a",t+"-toggle",i);s.href="#";s.title="Layers";s.setAttribute("role","button");Zi(s,{keydown:function(t){if(t.keyCode===13){this._expandSafely()}},click:function(t){Ki(t);this._expandSafely()}},this);if(!n){this.expand()}this._baseLayersList=ai("div",t+"-base",e);this._separator=ai("div",t+"-separator",e);this._overlaysList=ai("div",t+"-overlays",e);i.appendChild(e)},_getLayer:function(t){for(var i=0;i<this._layers.length;i++){if(this._layers[i]&&h(this._layers[i].layer)===t){return this._layers[i]}}},_addLayer:function(t,i,n){if(this._map){t.on("add remove",this._onLayerChange,this)}this._layers.push({layer:t,name:i,overlay:n});if(this.options.sortLayers){this._layers.sort(s((function(t,i){return this.options.sortFunction(t.layer,i.layer,t.name,i.name)}),this))}if(this.options.autoZIndex&&t.setZIndex){this._lastZIndex++;t.setZIndex(this._lastZIndex)}this._expandIfNotCollapsed()},_update:function(){if(!this._container){return this}fi(this._baseLayersList);fi(this._overlaysList);this._layerControlInputs=[];var t,i,n,e,s=0;for(n=0;n<this._layers.length;n++){e=this._layers[n];this._addItem(e);i=i||e.overlay;t=t||!e.overlay;s+=!e.overlay?1:0}if(this.options.hideSingleBase){t=t&&s>1;this._baseLayersList.style.display=t?"":"none"}this._separator.style.display=i&&t?"":"none";return this},_onLayerChange:function(t){if(!this._handlingClick){this._update()}var i=this._getLayer(h(t.target));var n=i.overlay?t.type==="add"?"overlayadd":"overlayremove":t.type==="add"?"baselayerchange":null;if(n){this._map.fire(n,i)}},_createRadioElement:function(t,i){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(i?' checked="checked"':"")+"/>";var e=document.createElement("div");e.innerHTML=n;return e.firstChild},_addItem:function(t){var i=document.createElement("label"),n=this._map.hasLayer(t.layer),e;if(t.overlay){e=document.createElement("input");e.type="checkbox";e.className="leaflet-control-layers-selector";e.defaultChecked=n}else{e=this._createRadioElement("leaflet-base-layers_"+h(this),n)}this._layerControlInputs.push(e);e.layerId=h(t.layer);Zi(e,"click",this._onInputClick,this);var s=document.createElement("span");s.innerHTML=" "+t.name;var r=document.createElement("span");i.appendChild(r);r.appendChild(e);r.appendChild(s);var o=t.overlay?this._overlaysList:this._baseLayersList;o.appendChild(i);this._checkDisabledLayers();return i},_onInputClick:function(){if(this._preventClick){return}var t=this._layerControlInputs,i,n;var e=[],s=[];this._handlingClick=true;for(var r=t.length-1;r>=0;r--){i=t[r];n=this._getLayer(i.layerId).layer;if(i.checked){e.push(n)}else if(!i.checked){s.push(n)}}for(r=0;r<s.length;r++){if(this._map.hasLayer(s[r])){this._map.removeLayer(s[r])}}for(r=0;r<e.length;r++){if(!this._map.hasLayer(e[r])){this._map.addLayer(e[r])}}this._handlingClick=false;this._refocusOnMap()},_checkDisabledLayers:function(){var t=this._layerControlInputs,i,n,e=this._map.getZoom();for(var s=t.length-1;s>=0;s--){i=t[s];n=this._getLayer(i.layerId).layer;i.disabled=n.options.minZoom!==undefined&&e<n.options.minZoom||n.options.maxZoom!==undefined&&e>n.options.maxZoom}},_expandIfNotCollapsed:function(){if(this._map&&!this.options.collapsed){this.expand()}return this},_expandSafely:function(){var t=this._section;this._preventClick=true;Zi(t,"click",Ki);this.expand();var i=this;setTimeout((function(){ji(t,"click",Ki);i._preventClick=false}))}});var an=function(t,i,n){return new on(t,i,n)};var un=rn.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var i="leaflet-control-zoom",n=ai("div",i+" leaflet-bar"),e=this.options;this._zoomInButton=this._createButton(e.zoomInText,e.zoomInTitle,i+"-in",n,this._zoomIn);this._zoomOutButton=this._createButton(e.zoomOutText,e.zoomOutTitle,i+"-out",n,this._zoomOut);this._updateDisabled();t.on("zoomend zoomlevelschange",this._updateDisabled,this);return n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){this._disabled=true;this._updateDisabled();return this},enable:function(){this._disabled=false;this._updateDisabled();return this},_zoomIn:function(t){if(!this._disabled&&this._map._zoom<this._map.getMaxZoom()){this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))}},_zoomOut:function(t){if(!this._disabled&&this._map._zoom>this._map.getMinZoom()){this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))}},_createButton:function(t,i,n,e,s){var r=ai("a",n,e);r.innerHTML=t;r.href="#";r.title=i;r.setAttribute("role","button");r.setAttribute("aria-label",i);qi(r);Zi(r,"click",Vi);Zi(r,"click",s,this);Zi(r,"click",this._refocusOnMap,this);return r},_updateDisabled:function(){var t=this._map,i="leaflet-disabled";mi(this._zoomInButton,i);mi(this._zoomOutButton,i);this._zoomInButton.setAttribute("aria-disabled","false");this._zoomOutButton.setAttribute("aria-disabled","false");if(this._disabled||t._zoom===t.getMinZoom()){vi(this._zoomOutButton,i);this._zoomOutButton.setAttribute("aria-disabled","true")}if(this._disabled||t._zoom===t.getMaxZoom()){vi(this._zoomInButton,i);this._zoomInButton.setAttribute("aria-disabled","true")}}});en.mergeOptions({zoomControl:true});en.addInitHook((function(){if(this.options.zoomControl){this.zoomControl=new un;this.addControl(this.zoomControl)}}));var fn=function(t){return new un(t)};var cn=rn.extend({options:{position:"bottomleft",maxWidth:100,metric:true,imperial:true},onAdd:function(t){var i="leaflet-control-scale",n=ai("div",i),e=this.options;this._addScales(e,i+"-line",n);t.on(e.updateWhenIdle?"moveend":"move",this._update,this);t.whenReady(this._update,this);return n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,i,n){if(t.metric){this._mScale=ai("div",i,n)}if(t.imperial){this._iScale=ai("div",i,n)}},_update:function(){var t=this._map,i=t.getSize().y/2;var n=t.distance(t.containerPointToLatLng([0,i]),t.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(n)},_updateScales:function(t){if(this.options.metric&&t){this._updateMetric(t)}if(this.options.imperial&&t){this._updateImperial(t)}},_updateMetric:function(t){var i=this._getRoundNum(t),n=i<1e3?i+" m":i/1e3+" km";this._updateScale(this._mScale,n,i/t)},_updateImperial:function(t){var i=t*3.2808399,n,e,s;if(i>5280){n=i/5280;e=this._getRoundNum(n);this._updateScale(this._iScale,e+" mi",e/n)}else{s=this._getRoundNum(i);this._updateScale(this._iScale,s+" ft",s/i)}},_updateScale:function(t,i,n){t.style.width=Math.round(this.options.maxWidth*n)+"px";t.innerHTML=i},_getRoundNum:function(t){var i=Math.pow(10,(Math.floor(t)+"").length-1),n=t/i;n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1;return i*n}});var ln=function(t){return new cn(t)};var dn='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>';var vn=rn.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Ot.inlineSvg?dn+" ":"")+"Leaflet</a>"},initialize:function(t){d(this,t);this._attributions={}},onAdd:function(t){t.attributionControl=this;this._container=ai("div","leaflet-control-attribution");qi(this._container);for(var i in t._layers){if(t._layers[i].getAttribution){this.addAttribution(t._layers[i].getAttribution())}}this._update();t.on("layeradd",this._addAttribution,this);return this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){if(t.layer.getAttribution){this.addAttribution(t.layer.getAttribution());t.layer.once("remove",(function(){this.removeAttribution(t.layer.getAttribution())}),this)}},setPrefix:function(t){this.options.prefix=t;this._update();return this},addAttribution:function(t){if(!t){return this}if(!this._attributions[t]){this._attributions[t]=0}this._attributions[t]++;this._update();return this},removeAttribution:function(t){if(!t){return this}if(this._attributions[t]){this._attributions[t]--;this._update()}return this},_update:function(){if(!this._map){return}var t=[];for(var i in this._attributions){if(this._attributions[i]){t.push(i)}}var n=[];if(this.options.prefix){n.push(this.options.prefix)}if(t.length){n.push(t.join(", "))}this._container.innerHTML=n.join(' <span aria-hidden="true">|</span> ')}});en.mergeOptions({attributionControl:true});en.addInitHook((function(){if(this.options.attributionControl){(new vn).addTo(this)}}));var mn=function(t){return new vn(t)};rn.Layers=on;rn.Zoom=un;rn.Scale=cn;rn.Attribution=vn;hn.layers=an;hn.zoom=fn;hn.scale=ln;hn.attribution=mn;var pn=I.extend({initialize:function(t){this._map=t},enable:function(){if(this._enabled){return this}this._enabled=true;this.addHooks();return this},disable:function(){if(!this._enabled){return this}this._enabled=false;this.removeHooks();return this},enabled:function(){return!!this._enabled}});pn.addTo=function(t,i){t.addHandler(i,this);return this};var wn={Events:B};var gn=Ot.touch?"touchstart mousedown":"mousedown";var yn=D.extend({options:{clickTolerance:3},initialize:function(t,i,n,e){d(this,e);this._element=t;this._dragStartTarget=i||t;this._preventOutline=n},enable:function(){if(this._enabled){return}Zi(this._dragStartTarget,gn,this._onDown,this);this._enabled=true},disable:function(){if(!this._enabled){return}if(yn._dragging===this){this.finishDrag(true)}ji(this._dragStartTarget,gn,this._onDown,this);this._enabled=false;this._moved=false},_onDown:function(t){if(!this._enabled){return}this._moved=false;if(di(this._element,"leaflet-zoom-anim")){return}if(t.touches&&t.touches.length!==1){if(yn._dragging===this){this.finishDrag()}return}if(yn._dragging||t.shiftKey||t.which!==1&&t.button!==1&&!t.touches){return}yn._dragging=this;if(this._preventOutline){Di(this._element)}zi();ki();if(this._moving){return}this.fire("down");var i=t.touches?t.touches[0]:t,n=Ei(this._element);this._startPoint=new C(i.clientX,i.clientY);this._startPos=Pi(this._element);this._parentScale=Ai(n);var e=t.type==="mousedown";Zi(document,e?"mousemove":"touchmove",this._onMove,this);Zi(document,e?"mouseup":"touchend touchcancel",this._onUp,this)},_onMove:function(t){if(!this._enabled){return}if(t.touches&&t.touches.length>1){this._moved=true;return}var i=t.touches&&t.touches.length===1?t.touches[0]:t,n=new C(i.clientX,i.clientY)._subtract(this._startPoint);if(!n.x&&!n.y){return}if(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance){return}n.x/=this._parentScale.x;n.y/=this._parentScale.y;Ki(t);if(!this._moved){this.fire("dragstart");this._moved=true;vi(document.body,"leaflet-dragging");this._lastTarget=t.target||t.srcElement;if(window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance){this._lastTarget=this._lastTarget.correspondingUseElement}vi(this._lastTarget,"leaflet-drag-target")}this._newPos=this._startPos.add(n);this._moving=true;this._lastEvent=t;this._updatePosition()},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t);Mi(this._element,this._newPos);this.fire("drag",t)},_onUp:function(){if(!this._enabled){return}this.finishDrag()},finishDrag:function(t){mi(document.body,"leaflet-dragging");if(this._lastTarget){mi(this._lastTarget,"leaflet-drag-target");this._lastTarget=null}ji(document,"mousemove touchmove",this._onMove,this);ji(document,"mouseup touchend touchcancel",this._onUp,this);Ii();Ti();var i=this._moved&&this._moving;this._moving=false;yn._dragging=false;if(i){this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}}});function _n(t,i,n){var e,s=[1,4,2,8],r,h,o,a,u,f,c,l;for(r=0,f=t.length;r<f;r++){t[r]._code=Cn(t[r],i)}for(o=0;o<4;o++){c=s[o];e=[];for(r=0,f=t.length,h=f-1;r<f;h=r++){a=t[r];u=t[h];if(!(a._code&c)){if(u._code&c){l=Dn(u,a,c,i,n);l._code=Cn(l,i);e.push(l)}e.push(a)}else if(!(u._code&c)){l=Dn(u,a,c,i,n);l._code=Cn(l,i);e.push(l)}}t=e}return t}function bn(t,i){var n,e,s,r,h,o,a,u,f;if(!t||t.length===0){throw new Error("latlngs not passed")}if(!On(t)){console.warn("latlngs are not flat! Only the first ring will be used");t=t[0]}var c=F([0,0]);var l=j(t);var d=l.getNorthWest().distanceTo(l.getSouthWest())*l.getNorthEast().distanceTo(l.getNorthWest());if(d<1700){c=Mn(t)}var v=t.length;var m=[];for(n=0;n<v;n++){var p=F(t[n]);m.push(i.project(F([p.lat-c.lat,p.lng-c.lng])))}o=a=u=0;for(n=0,e=v-1;n<v;e=n++){s=m[n];r=m[e];h=s.y*r.x-r.y*s.x;a+=(s.x+r.x)*h;u+=(s.y+r.y)*h;o+=h*3}if(o===0){f=m[0]}else{f=[a/o,u/o]}var w=i.unproject(A(f));return F([w.lat+c.lat,w.lng+c.lng])}function Mn(t){var i=0;var n=0;var e=0;for(var s=0;s<t.length;s++){var r=F(t[s]);i+=r.lat;n+=r.lng;e++}return F([i/e,n/e])}var Pn={__proto__:null,clipPolygon:_n,polygonCenter:bn,centroid:Mn};function kn(t,i){if(!i||!t.length){return t.slice()}var n=i*i;t=In(t,n);t=xn(t,n);return t}function Tn(t,i,n){return Math.sqrt(An(t,i,n,true))}function Ln(t,i,n){return An(t,i,n)}function xn(t,i){var n=t.length,e=typeof Uint8Array!==undefined+""?Uint8Array:Array,s=new e(n);s[0]=s[n-1]=1;zn(t,s,i,0,n-1);var r,h=[];for(r=0;r<n;r++){if(s[r]){h.push(t[r])}}return h}function zn(t,i,n,e,s){var r=0,h,o,a;for(o=e+1;o<=s-1;o++){a=An(t[o],t[e],t[s],true);if(a>r){h=o;r=a}}if(r>n){i[h]=1;zn(t,i,n,e,h);zn(t,i,n,h,s)}}function In(t,i){var n=[t[0]];for(var e=1,s=0,r=t.length;e<r;e++){if(En(t[e],t[s])>i){n.push(t[e]);s=e}}if(s<r-1){n.push(t[r-1])}return n}var Sn;function Bn(t,i,n,e,s){var r=e?Sn:Cn(t,n),h=Cn(i,n),o,a,u;Sn=h;while(true){if(!(r|h)){return[t,i]}if(r&h){return false}o=r||h;a=Dn(t,i,o,n,s);u=Cn(a,n);if(o===r){t=a;r=u}else{i=a;h=u}}}function Dn(t,i,n,e,s){var r=i.x-t.x,h=i.y-t.y,o=e.min,a=e.max,u,f;if(n&8){u=t.x+r*(a.y-t.y)/h;f=a.y}else if(n&4){u=t.x+r*(o.y-t.y)/h;f=o.y}else if(n&2){u=a.x;f=t.y+h*(a.x-t.x)/r}else if(n&1){u=o.x;f=t.y+h*(o.x-t.x)/r}return new C(u,f,s)}function Cn(t,i){var n=0;if(t.x<i.min.x){n|=1}else if(t.x>i.max.x){n|=2}if(t.y<i.min.y){n|=4}else if(t.y>i.max.y){n|=8}return n}function En(t,i){var n=i.x-t.x,e=i.y-t.y;return n*n+e*e}function An(t,i,n,e){var s=i.x,r=i.y,h=n.x-s,o=n.y-r,a=h*h+o*o,u;if(a>0){u=((t.x-s)*h+(t.y-r)*o)/a;if(u>1){s=n.x;r=n.y}else if(u>0){s+=h*u;r+=o*u}}h=t.x-s;o=t.y-r;return e?h*h+o*o:new C(s,r)}function On(t){return!w(t[0])||typeof t[0][0]!=="object"&&typeof t[0][0]!=="undefined"}function Zn(t){console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead.");return On(t)}function Rn(t,i){var n,e,s,r,h,o,a,u;if(!t||t.length===0){throw new Error("latlngs not passed")}if(!On(t)){console.warn("latlngs are not flat! Only the first ring will be used");t=t[0]}var f=F([0,0]);var c=j(t);var l=c.getNorthWest().distanceTo(c.getSouthWest())*c.getNorthEast().distanceTo(c.getNorthWest());if(l<1700){f=Mn(t)}var d=t.length;var v=[];for(n=0;n<d;n++){var m=F(t[n]);v.push(i.project(F([m.lat-f.lat,m.lng-f.lng])))}for(n=0,e=0;n<d-1;n++){e+=v[n].distanceTo(v[n+1])/2}if(e===0){u=v[0]}else{for(n=0,r=0;n<d-1;n++){h=v[n];o=v[n+1];s=h.distanceTo(o);r+=s;if(r>e){a=(r-e)/s;u=[o.x-a*(o.x-h.x),o.y-a*(o.y-h.y)];break}}}var p=i.unproject(A(u));return F([p.lat+f.lat,p.lng+f.lng])}var jn={__proto__:null,simplify:kn,pointToSegmentDistance:Tn,closestPointOnSegment:Ln,clipSegment:Bn,_getEdgeIntersection:Dn,_getBitCode:Cn,_sqClosestPointOnSegment:An,isFlat:On,_flat:Zn,polylineCenter:Rn};var Nn={project:function(t){return new C(t.lng,t.lat)},unproject:function(t){return new N(t.y,t.x)},bounds:new O([-180,-90],[180,90])};var Fn={R:6378137,R_MINOR:6356752.314245179,bounds:new O([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var i=Math.PI/180,n=this.R,e=t.lat*i,s=this.R_MINOR/n,r=Math.sqrt(1-s*s),h=r*Math.sin(e);var o=Math.tan(Math.PI/4-e/2)/Math.pow((1-h)/(1+h),r/2);e=-n*Math.log(Math.max(o,1e-10));return new C(t.lng*i*n,e)},unproject:function(t){var i=180/Math.PI,n=this.R,e=this.R_MINOR/n,s=Math.sqrt(1-e*e),r=Math.exp(-t.y/n),h=Math.PI/2-2*Math.atan(r);for(var o=0,a=.1,u;o<15&&Math.abs(a)>1e-7;o++){u=s*Math.sin(h);u=Math.pow((1-u)/(1+u),s/2);a=Math.PI/2-2*Math.atan(r*u)-h;h+=a}return new N(h*i,t.x*i/n)}};var Hn={__proto__:null,LonLat:Nn,Mercator:Fn,SphericalMercator:G};var Un=n({},U,{code:"EPSG:3395",projection:Fn,transformation:function(){var t=.5/(Math.PI*Fn.R);return K(t,.5,-t,.5)}()});var Wn=n({},U,{code:"EPSG:4326",projection:Nn,transformation:K(1/180,1,-1/180,.5)});var Gn=n({},H,{projection:Nn,transformation:K(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,i){var n=i.lng-t.lng,e=i.lat-t.lat;return Math.sqrt(n*n+e*e)},infinite:true});H.Earth=U;H.EPSG3395=Un;H.EPSG3857=V;H.EPSG900913=$;H.EPSG4326=Wn;H.Simple=Gn;var qn=D.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:true},addTo:function(t){t.addLayer(this);return this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){if(t){t.removeLayer(this)}return this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){this._map._targets[h(t)]=this;return this},removeInteractiveTarget:function(t){delete this._map._targets[h(t)];return this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var i=t.target;if(!i.hasLayer(this)){return}this._map=i;this._zoomAnimated=i._zoomAnimated;if(this.getEvents){var n=this.getEvents();i.on(n,this);this.once("remove",(function(){i.off(n,this)}),this)}this.onAdd(i);this.fire("add");i.fire("layeradd",{layer:this})}});en.include({addLayer:function(t){if(!t._layerAdd){throw new Error("The provided object is not a Layer.")}var i=h(t);if(this._layers[i]){return this}this._layers[i]=t;t._mapToAdd=this;if(t.beforeAdd){t.beforeAdd(this)}this.whenReady(t._layerAdd,t);return this},removeLayer:function(t){var i=h(t);if(!this._layers[i]){return this}if(this._loaded){t.onRemove(this)}delete this._layers[i];if(this._loaded){this.fire("layerremove",{layer:t});t.fire("remove")}t._map=t._mapToAdd=null;return this},hasLayer:function(t){return h(t)in this._layers},eachLayer:function(t,i){for(var n in this._layers){t.call(i,this._layers[n])}return this},_addLayers:function(t){t=t?w(t)?t:[t]:[];for(var i=0,n=t.length;i<n;i++){this.addLayer(t[i])}},_addZoomLimit:function(t){if(!isNaN(t.options.maxZoom)||!isNaN(t.options.minZoom)){this._zoomBoundLayers[h(t)]=t;this._updateZoomLevels()}},_removeZoomLimit:function(t){var i=h(t);if(this._zoomBoundLayers[i]){delete this._zoomBoundLayers[i];this._updateZoomLevels()}},_updateZoomLevels:function(){var t=Infinity,i=-Infinity,n=this._getZoomSpan();for(var e in this._zoomBoundLayers){var s=this._zoomBoundLayers[e].options;t=s.minZoom===undefined?t:Math.min(t,s.minZoom);i=s.maxZoom===undefined?i:Math.max(i,s.maxZoom)}this._layersMaxZoom=i===-Infinity?undefined:i;this._layersMinZoom=t===Infinity?undefined:t;if(n!==this._getZoomSpan()){this.fire("zoomlevelschange")}if(this.options.maxZoom===undefined&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom){this.setZoom(this._layersMaxZoom)}if(this.options.minZoom===undefined&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom){this.setZoom(this._layersMinZoom)}}});var Kn=qn.extend({initialize:function(t,i){d(this,i);this._layers={};var n,e;if(t){for(n=0,e=t.length;n<e;n++){this.addLayer(t[n])}}},addLayer:function(t){var i=this.getLayerId(t);this._layers[i]=t;if(this._map){this._map.addLayer(t)}return this},removeLayer:function(t){var i=t in this._layers?t:this.getLayerId(t);if(this._map&&this._layers[i]){this._map.removeLayer(this._layers[i])}delete this._layers[i];return this},hasLayer:function(t){var i=typeof t==="number"?t:this.getLayerId(t);return i in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var i=Array.prototype.slice.call(arguments,1),n,e;for(n in this._layers){e=this._layers[n];if(e[t]){e[t].apply(e,i)}}return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,i){for(var n in this._layers){t.call(i,this._layers[n])}return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];this.eachLayer(t.push,t);return t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return h(t)}});var Vn=function(t,i){return new Kn(t,i)};var $n=Kn.extend({addLayer:function(t){if(this.hasLayer(t)){return this}t.addEventParent(this);Kn.prototype.addLayer.call(this,t);return this.fire("layeradd",{layer:t})},removeLayer:function(t){if(!this.hasLayer(t)){return this}if(t in this._layers){t=this._layers[t]}t.removeEventParent(this);Kn.prototype.removeLayer.call(this,t);return this.fire("layerremove",{layer:t})},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new R;for(var i in this._layers){var n=this._layers[i];t.extend(n.getBounds?n.getBounds():n.getLatLng())}return t}});var Jn=function(t,i){return new $n(t,i)};var Xn=I.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:false},initialize:function(t){d(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,i){var n=this._getIconUrl(t);if(!n){if(t==="icon"){throw new Error("iconUrl not set in Icon options (see the docs).")}return null}var e=this._createImg(n,i&&i.tagName==="IMG"?i:null);this._setIconStyles(e,t);if(this.options.crossOrigin||this.options.crossOrigin===""){e.crossOrigin=this.options.crossOrigin===true?"":this.options.crossOrigin}return e},_setIconStyles:function(t,i){var n=this.options;var e=n[i+"Size"];if(typeof e==="number"){e=[e,e]}var s=A(e),r=A(i==="shadow"&&n.shadowAnchor||n.iconAnchor||s&&s.divideBy(2,true));t.className="leaflet-marker-"+i+" "+(n.className||"");if(r){t.style.marginLeft=-r.x+"px";t.style.marginTop=-r.y+"px"}if(s){t.style.width=s.x+"px";t.style.height=s.y+"px"}},_createImg:function(t,i){i=i||document.createElement("img");i.src=t;return i},_getIconUrl:function(t){return Ot.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});function Yn(t){return new Xn(t)}var Qn=Xn.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){if(typeof Qn.imagePath!=="string"){Qn.imagePath=this._detectIconPath()}return(this.options.imagePath||Qn.imagePath)+Xn.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){var i=function(t,i,n){var e=i.exec(t);return e&&e[n]};t=i(t,/^url\((['"])?(.+)\1\)$/,2);return t&&i(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=ai("div","leaflet-default-icon-path",document.body);var i=oi(t,"background-image")||oi(t,"backgroundImage");document.body.removeChild(t);i=this._stripUrl(i);if(i){return i}var n=document.querySelector('link[href$="leaflet.css"]');if(!n){return""}return n.href.substring(0,n.href.length-"leaflet.css".length-1)}});var te=pn.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;if(!this._draggable){this._draggable=new yn(t,t,true)}this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable();vi(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable();if(this._marker._icon){mi(this._marker._icon,"leaflet-marker-draggable")}},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var i=this._marker,n=i._map,e=this._marker.options.autoPanSpeed,s=this._marker.options.autoPanPadding,r=Pi(i._icon),h=n.getPixelBounds(),o=n.getPixelOrigin();var a=Z(h.min._subtract(o).add(s),h.max._subtract(o).subtract(s));if(!a.contains(r)){var u=A((Math.max(a.max.x,r.x)-a.max.x)/(h.max.x-a.max.x)-(Math.min(a.min.x,r.x)-a.min.x)/(h.min.x-a.min.x),(Math.max(a.max.y,r.y)-a.max.y)/(h.max.y-a.max.y)-(Math.min(a.min.y,r.y)-a.min.y)/(h.min.y-a.min.y)).multiplyBy(e);n.panBy(u,{animate:false});this._draggable._newPos._add(u);this._draggable._startPos._add(u);Mi(i._icon,this._draggable._newPos);this._onDrag(t);this._panRequest=T(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng();this._marker.closePopup&&this._marker.closePopup();this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){if(this._marker.options.autoPan){x(this._panRequest);this._panRequest=T(this._adjustPan.bind(this,t))}},_onDrag:function(t){var i=this._marker,n=i._shadow,e=Pi(i._icon),s=i._map.layerPointToLatLng(e);if(n){Mi(n,e)}i._latlng=s;t.latlng=s;t.oldLatLng=this._oldLatLng;i.fire("move",t).fire("drag",t)},_onDragEnd:function(t){x(this._panRequest);delete this._oldLatLng;this._marker.fire("moveend").fire("dragend",t)}});var ie=qn.extend({options:{icon:new Qn,interactive:true,keyboard:true,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:false,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:false,autoPanOnFocus:true,draggable:false,autoPan:false,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,i){d(this,i);this._latlng=F(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation;if(this._zoomAnimated){t.on("zoomanim",this._animateZoom,this)}this._initIcon();this.update()},onRemove:function(t){if(this.dragging&&this.dragging.enabled()){this.options.draggable=true;this.dragging.removeHooks()}delete this.dragging;if(this._zoomAnimated){t.off("zoomanim",this._animateZoom,this)}this._removeIcon();this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var i=this._latlng;this._latlng=F(t);this.update();return this.fire("move",{oldLatLng:i,latlng:this._latlng})},setZIndexOffset:function(t){this.options.zIndexOffset=t;return this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){this.options.icon=t;if(this._map){this._initIcon();this.update()}if(this._popup){this.bindPopup(this._popup,this._popup.options)}return this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,i="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");var n=t.icon.createIcon(this._icon),e=false;if(n!==this._icon){if(this._icon){this._removeIcon()}e=true;if(t.title){n.title=t.title}if(n.tagName==="IMG"){n.alt=t.alt||""}}vi(n,i);if(t.keyboard){n.tabIndex="0";n.setAttribute("role","button")}this._icon=n;if(t.riseOnHover){this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex})}if(this.options.autoPanOnFocus){Zi(n,"focus",this._panOnFocus,this)}var s=t.icon.createShadow(this._shadow),r=false;if(s!==this._shadow){this._removeShadow();r=true}if(s){vi(s,i);s.alt=""}this._shadow=s;if(t.opacity<1){this._updateOpacity()}if(e){this.getPane().appendChild(this._icon)}this._initInteraction();if(s&&r){this.getPane(t.shadowPane).appendChild(this._shadow)}},_removeIcon:function(){if(this.options.riseOnHover){this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex})}if(this.options.autoPanOnFocus){ji(this._icon,"focus",this._panOnFocus,this)}ui(this._icon);this.removeInteractiveTarget(this._icon);this._icon=null},_removeShadow:function(){if(this._shadow){ui(this._shadow)}this._shadow=null},_setPos:function(t){if(this._icon){Mi(this._icon,t)}if(this._shadow){Mi(this._shadow,t)}this._zIndex=t.y+this.options.zIndexOffset;this._resetZIndex()},_updateZIndex:function(t){if(this._icon){this._icon.style.zIndex=this._zIndex+t}},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(i)},_initInteraction:function(){if(!this.options.interactive){return}vi(this._icon,"leaflet-interactive");this.addInteractiveTarget(this._icon);if(te){var t=this.options.draggable;if(this.dragging){t=this.dragging.enabled();this.dragging.disable()}this.dragging=new te(this);if(t){this.dragging.enable()}}},setOpacity:function(t){this.options.opacity=t;if(this._map){this._updateOpacity()}return this},_updateOpacity:function(){var t=this.options.opacity;if(this._icon){gi(this._icon,t)}if(this._shadow){gi(this._shadow,t)}},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t=this._map;if(!t){return}var i=this.options.icon.options;var n=i.iconSize?A(i.iconSize):A(0,0);var e=i.iconAnchor?A(i.iconAnchor):A(0,0);t.panInside(this._latlng,{paddingTopLeft:e,paddingBottomRight:n.subtract(e)})},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function ne(t,i){return new ie(t,i)}var ee=qn.extend({options:{stroke:true,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:false,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:true,bubblingMouseEvents:true},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this);this._reset();this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){if(this._map){this._renderer._updatePath(this)}return this},setStyle:function(t){d(this,t);if(this._renderer){this._renderer._updateStyle(this);if(this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")){this._updateBounds()}}return this},bringToFront:function(){if(this._renderer){this._renderer._bringToFront(this)}return this},bringToBack:function(){if(this._renderer){this._renderer._bringToBack(this)}return this},getElement:function(){return this._path},_reset:function(){this._project();this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}});var se=ee.extend({options:{fill:true,radius:10},initialize:function(t,i){d(this,i);this._latlng=F(t);this._radius=this.options.radius},setLatLng:function(t){var i=this._latlng;this._latlng=F(t);this.redraw();return this.fire("move",{oldLatLng:i,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){this.options.radius=this._radius=t;return this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var i=t&&t.radius||this._radius;ee.prototype.setStyle.call(this,t);this.setRadius(i);return this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng);this._updateBounds()},_updateBounds:function(){var t=this._radius,i=this._radiusY||t,n=this._clickTolerance(),e=[t+n,i+n];this._pxBounds=new O(this._point.subtract(e),this._point.add(e))},_update:function(){if(this._map){this._updatePath()}},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function re(t,i){return new se(t,i)}var he=se.extend({initialize:function(t,i,e){if(typeof i==="number"){i=n({},e,{radius:i})}d(this,i);this._latlng=F(t);if(isNaN(this.options.radius)){throw new Error("Circle radius cannot be NaN")}this._mRadius=this.options.radius},setRadius:function(t){this._mRadius=t;return this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new R(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:ee.prototype.setStyle,_project:function(){var t=this._latlng.lng,i=this._latlng.lat,n=this._map,e=n.options.crs;if(e.distance===U.distance){var s=Math.PI/180,r=this._mRadius/U.R/s,h=n.project([i+r,t]),o=n.project([i-r,t]),a=h.add(o).divideBy(2),u=n.unproject(a).lat,f=Math.acos((Math.cos(r*s)-Math.sin(i*s)*Math.sin(u*s))/(Math.cos(i*s)*Math.cos(u*s)))/s;if(isNaN(f)||f===0){f=r/Math.cos(Math.PI/180*i)}this._point=a.subtract(n.getPixelOrigin());this._radius=isNaN(f)?0:a.x-n.project([u,t-f]).x;this._radiusY=a.y-h.y}else{var c=e.unproject(e.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng);this._radius=this._point.x-n.latLngToLayerPoint(c).x}this._updateBounds()}});function oe(t,i,n){return new he(t,i,n)}var ae=ee.extend({options:{smoothFactor:1,noClip:false},initialize:function(t,i){d(this,i);this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){this._setLatLngs(t);return this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){var i=Infinity,n=null,e=An,s,r;for(var h=0,o=this._parts.length;h<o;h++){var a=this._parts[h];for(var u=1,f=a.length;u<f;u++){s=a[u-1];r=a[u];var c=e(t,s,r,true);if(c<i){i=c;n=e(t,s,r)}}}if(n){n.distance=Math.sqrt(i)}return n},getCenter:function(){if(!this._map){throw new Error("Must add layer to map before using getCenter()")}return Rn(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(t,i){i=i||this._defaultShape();t=F(t);i.push(t);this._bounds.extend(t);return this.redraw()},_setLatLngs:function(t){this._bounds=new R;this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return On(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){var i=[],n=On(t);for(var e=0,s=t.length;e<s;e++){if(n){i[e]=F(t[e]);this._bounds.extend(i[e])}else{i[e]=this._convertLatLngs(t[e])}}return i},_project:function(){var t=new O;this._rings=[];this._projectLatlngs(this._latlngs,this._rings,t);if(this._bounds.isValid()&&t.isValid()){this._rawPxBounds=t;this._updateBounds()}},_updateBounds:function(){var t=this._clickTolerance(),i=new C(t,t);if(!this._rawPxBounds){return}this._pxBounds=new O([this._rawPxBounds.min.subtract(i),this._rawPxBounds.max.add(i)])},_projectLatlngs:function(t,i,n){var e=t[0]instanceof N,s=t.length,r,h;if(e){h=[];for(r=0;r<s;r++){h[r]=this._map.latLngToLayerPoint(t[r]);n.extend(h[r])}i.push(h)}else{for(r=0;r<s;r++){this._projectLatlngs(t[r],i,n)}}},_clipPoints:function(){var t=this._renderer._bounds;this._parts=[];if(!this._pxBounds||!this._pxBounds.intersects(t)){return}if(this.options.noClip){this._parts=this._rings;return}var i=this._parts,n,e,s,r,h,o,a;for(n=0,s=0,r=this._rings.length;n<r;n++){a=this._rings[n];for(e=0,h=a.length;e<h-1;e++){o=Bn(a[e],a[e+1],t,e,true);if(!o){continue}i[s]=i[s]||[];i[s].push(o[0]);if(o[1]!==a[e+1]||e===h-2){i[s].push(o[1]);s++}}}},_simplifyPoints:function(){var t=this._parts,i=this.options.smoothFactor;for(var n=0,e=t.length;n<e;n++){t[n]=kn(t[n],i)}},_update:function(){if(!this._map){return}this._clipPoints();this._simplifyPoints();this._updatePath()},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,i){var n,e,s,r,h,o,a=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t)){return false}for(n=0,r=this._parts.length;n<r;n++){o=this._parts[n];for(e=0,h=o.length,s=h-1;e<h;s=e++){if(!i&&e===0){continue}if(Tn(t,o[s],o[e])<=a){return true}}}return false}});function ue(t,i){return new ae(t,i)}ae._flat=Zn;var fe=ae.extend({options:{fill:true},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map){throw new Error("Must add layer to map before using getCenter()")}return bn(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(t){var i=ae.prototype._convertLatLngs.call(this,t),n=i.length;if(n>=2&&i[0]instanceof N&&i[0].equals(i[n-1])){i.pop()}return i},_setLatLngs:function(t){ae.prototype._setLatLngs.call(this,t);if(On(this._latlngs)){this._latlngs=[this._latlngs]}},_defaultShape:function(){return On(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,i=this.options.weight,n=new C(i,i);t=new O(t.min.subtract(n),t.max.add(n));this._parts=[];if(!this._pxBounds||!this._pxBounds.intersects(t)){return}if(this.options.noClip){this._parts=this._rings;return}for(var e=0,s=this._rings.length,r;e<s;e++){r=_n(this._rings[e],t,true);if(r.length){this._parts.push(r)}}},_updatePath:function(){this._renderer._updatePoly(this,true)},_containsPoint:function(t){var i=false,n,e,s,r,h,o,a,u;if(!this._pxBounds||!this._pxBounds.contains(t)){return false}for(r=0,a=this._parts.length;r<a;r++){n=this._parts[r];for(h=0,u=n.length,o=u-1;h<u;o=h++){e=n[h];s=n[o];if(e.y>t.y!==s.y>t.y&&t.x<(s.x-e.x)*(t.y-e.y)/(s.y-e.y)+e.x){i=!i}}}return i||ae.prototype._containsPoint.call(this,t,true)}});function ce(t,i){return new fe(t,i)}var le=$n.extend({initialize:function(t,i){d(this,i);this._layers={};if(t){this.addData(t)}},addData:function(t){var i=w(t)?t:t.features,n,e,s;if(i){for(n=0,e=i.length;n<e;n++){s=i[n];if(s.geometries||s.geometry||s.features||s.coordinates){this.addData(s)}}return this}var r=this.options;if(r.filter&&!r.filter(t)){return this}var h=de(t,r);if(!h){return this}h.feature=_e(t);h.defaultOptions=h.options;this.resetStyle(h);if(r.onEachFeature){r.onEachFeature(t,h)}return this.addLayer(h)},resetStyle:function(t){if(t===undefined){return this.eachLayer(this.resetStyle,this)}t.options=n({},t.defaultOptions);this._setLayerStyle(t,this.options.style);return this},setStyle:function(t){return this.eachLayer((function(i){this._setLayerStyle(i,t)}),this)},_setLayerStyle:function(t,i){if(t.setStyle){if(typeof i==="function"){i=i(t.feature)}t.setStyle(i)}}});function de(t,i){var n=t.type==="Feature"?t.geometry:t,e=n?n.coordinates:null,s=[],r=i&&i.pointToLayer,h=i&&i.coordsToLatLng||me,o,a,u,f;if(!e&&!n){return null}switch(n.type){case"Point":o=h(e);return ve(r,t,o,i);case"MultiPoint":for(u=0,f=e.length;u<f;u++){o=h(e[u]);s.push(ve(r,t,o,i))}return new $n(s);case"LineString":case"MultiLineString":a=pe(e,n.type==="LineString"?0:1,h);return new ae(a,i);case"Polygon":case"MultiPolygon":a=pe(e,n.type==="Polygon"?1:2,h);return new fe(a,i);case"GeometryCollection":for(u=0,f=n.geometries.length;u<f;u++){var c=de({geometry:n.geometries[u],type:"Feature",properties:t.properties},i);if(c){s.push(c)}}return new $n(s);case"FeatureCollection":for(u=0,f=n.features.length;u<f;u++){var l=de(n.features[u],i);if(l){s.push(l)}}return new $n(s);default:throw new Error("Invalid GeoJSON object.")}}function ve(t,i,n,e){return t?t(i,n):new ie(n,e&&e.markersInheritOptions&&e)}function me(t){return new N(t[1],t[0],t[2])}function pe(t,i,n){var e=[];for(var s=0,r=t.length,h;s<r;s++){h=i?pe(t[s],i-1,n):(n||me)(t[s]);e.push(h)}return e}function we(t,i){t=F(t);return t.alt!==undefined?[f(t.lng,i),f(t.lat,i),f(t.alt,i)]:[f(t.lng,i),f(t.lat,i)]}function ge(t,i,n,e){var s=[];for(var r=0,h=t.length;r<h;r++){s.push(i?ge(t[r],On(t[r])?0:i-1,n,e):we(t[r],e))}if(!i&&n&&s.length>0){s.push(s[0].slice())}return s}function ye(t,i){return t.feature?n({},t.feature,{geometry:i}):_e(i)}function _e(t){if(t.type==="Feature"||t.type==="FeatureCollection"){return t}return{type:"Feature",properties:{},geometry:t}}var be={toGeoJSON:function(t){return ye(this,{type:"Point",coordinates:we(this.getLatLng(),t)})}};ie.include(be);he.include(be);se.include(be);ae.include({toGeoJSON:function(t){var i=!On(this._latlngs);var n=ge(this._latlngs,i?1:0,false,t);return ye(this,{type:(i?"Multi":"")+"LineString",coordinates:n})}});fe.include({toGeoJSON:function(t){var i=!On(this._latlngs),n=i&&!On(this._latlngs[0]);var e=ge(this._latlngs,n?2:i?1:0,true,t);if(!i){e=[e]}return ye(this,{type:(n?"Multi":"")+"Polygon",coordinates:e})}});Kn.include({toMultiPoint:function(t){var i=[];this.eachLayer((function(n){i.push(n.toGeoJSON(t).geometry.coordinates)}));return ye(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(t){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(i==="MultiPoint"){return this.toMultiPoint(t)}var n=i==="GeometryCollection",e=[];this.eachLayer((function(i){if(i.toGeoJSON){var s=i.toGeoJSON(t);if(n){e.push(s.geometry)}else{var r=_e(s);if(r.type==="FeatureCollection"){e.push.apply(e,r.features)}else{e.push(r)}}}}));if(n){return ye(this,{geometries:e,type:"GeometryCollection"})}return{type:"FeatureCollection",features:e}}});function Me(t,i){return new le(t,i)}var Pe=Me;var ke=qn.extend({options:{opacity:1,alt:"",interactive:false,crossOrigin:false,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,i,n){this._url=t;this._bounds=j(i);d(this,n)},onAdd:function(){if(!this._image){this._initImage();if(this.options.opacity<1){this._updateOpacity()}}if(this.options.interactive){vi(this._image,"leaflet-interactive");this.addInteractiveTarget(this._image)}this.getPane().appendChild(this._image);this._reset()},onRemove:function(){ui(this._image);if(this.options.interactive){this.removeInteractiveTarget(this._image)}},setOpacity:function(t){this.options.opacity=t;if(this._image){this._updateOpacity()}return this},setStyle:function(t){if(t.opacity){this.setOpacity(t.opacity)}return this},bringToFront:function(){if(this._map){ci(this._image)}return this},bringToBack:function(){if(this._map){li(this._image)}return this},setUrl:function(t){this._url=t;if(this._image){this._image.src=t}return this},setBounds:function(t){this._bounds=j(t);if(this._map){this._reset()}return this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};if(this._zoomAnimated){t.zoomanim=this._animateZoom}return t},setZIndex:function(t){this.options.zIndex=t;this._updateZIndex();return this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t=this._url.tagName==="IMG";var i=this._image=t?this._url:ai("img");vi(i,"leaflet-image-layer");if(this._zoomAnimated){vi(i,"leaflet-zoom-animated")}if(this.options.className){vi(i,this.options.className)}i.onselectstart=u;i.onmousemove=u;i.onload=s(this.fire,this,"load");i.onerror=s(this._overlayOnError,this,"error");if(this.options.crossOrigin||this.options.crossOrigin===""){i.crossOrigin=this.options.crossOrigin===true?"":this.options.crossOrigin}if(this.options.zIndex){this._updateZIndex()}if(t){this._url=i.src;return}i.src=this._url;i.alt=this.options.alt},_animateZoom:function(t){var i=this._map.getZoomScale(t.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;bi(this._image,n,i)},_reset:function(){var t=this._image,i=new O(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=i.getSize();Mi(t,i.min);t.style.width=n.x+"px";t.style.height=n.y+"px"},_updateOpacity:function(){gi(this._image,this.options.opacity)},_updateZIndex:function(){if(this._image&&this.options.zIndex!==undefined&&this.options.zIndex!==null){this._image.style.zIndex=this.options.zIndex}},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;if(t&&this._url!==t){this._url=t;this._image.src=t}},getCenter:function(){return this._bounds.getCenter()}});var Te=function(t,i,n){return new ke(t,i,n)};var Le=ke.extend({options:{autoplay:true,loop:true,keepAspectRatio:true,muted:false,playsInline:true},_initImage:function(){var t=this._url.tagName==="VIDEO";var i=this._image=t?this._url:ai("video");vi(i,"leaflet-image-layer");if(this._zoomAnimated){vi(i,"leaflet-zoom-animated")}if(this.options.className){vi(i,this.options.className)}i.onselectstart=u;i.onmousemove=u;i.onloadeddata=s(this.fire,this,"load");if(t){var n=i.getElementsByTagName("source");var e=[];for(var r=0;r<n.length;r++){e.push(n[r].src)}this._url=n.length>0?e:[i.src];return}if(!w(this._url)){this._url=[this._url]}if(!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(i.style,"objectFit")){i.style["objectFit"]="fill"}i.autoplay=!!this.options.autoplay;i.loop=!!this.options.loop;i.muted=!!this.options.muted;i.playsInline=!!this.options.playsInline;for(var h=0;h<this._url.length;h++){var o=ai("source");o.src=this._url[h];i.appendChild(o)}}});function xe(t,i,n){return new Le(t,i,n)}var ze=ke.extend({_initImage:function(){var t=this._image=this._url;vi(t,"leaflet-image-layer");if(this._zoomAnimated){vi(t,"leaflet-zoom-animated")}if(this.options.className){vi(t,this.options.className)}t.onselectstart=u;t.onmousemove=u}});function Ie(t,i,n){return new ze(t,i,n)}var Se=qn.extend({options:{interactive:false,offset:[0,0],className:"",pane:undefined,content:""},initialize:function(t,i){if(t&&(t instanceof N||w(t))){this._latlng=F(t);d(this,i)}else{d(this,t);this._source=i}if(this.options.content){this._content=this.options.content}},openOn:function(t){t=arguments.length?t:this._source._map;if(!t.hasLayer(this)){t.addLayer(this)}return this},close:function(){if(this._map){this._map.removeLayer(this)}return this},toggle:function(t){if(this._map){this.close()}else{if(arguments.length){this._source=t}else{t=this._source}this._prepareOpen();this.openOn(t._map)}return this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated;if(!this._container){this._initLayout()}if(t._fadeAnimated){gi(this._container,0)}clearTimeout(this._removeTimeout);this.getPane().appendChild(this._container);this.update();if(t._fadeAnimated){gi(this._container,1)}this.bringToFront();if(this.options.interactive){vi(this._container,"leaflet-interactive");this.addInteractiveTarget(this._container)}},onRemove:function(t){if(t._fadeAnimated){gi(this._container,0);this._removeTimeout=setTimeout(s(ui,undefined,this._container),200)}else{ui(this._container)}if(this.options.interactive){mi(this._container,"leaflet-interactive");this.removeInteractiveTarget(this._container)}},getLatLng:function(){return this._latlng},setLatLng:function(t){this._latlng=F(t);if(this._map){this._updatePosition();this._adjustPan()}return this},getContent:function(){return this._content},setContent:function(t){this._content=t;this.update();return this},getElement:function(){return this._container},update:function(){if(!this._map){return}this._container.style.visibility="hidden";this._updateContent();this._updateLayout();this._updatePosition();this._container.style.visibility="";this._adjustPan()},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};if(this._zoomAnimated){t.zoomanim=this._animateZoom}return t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){if(this._map){ci(this._container)}return this},bringToBack:function(){if(this._map){li(this._container)}return this},_prepareOpen:function(t){var i=this._source;if(!i._map){return false}if(i instanceof $n){i=null;var n=this._source._layers;for(var e in n){if(n[e]._map){i=n[e];break}}if(!i){return false}this._source=i}if(!t){if(i.getCenter){t=i.getCenter()}else if(i.getLatLng){t=i.getLatLng()}else if(i.getBounds){t=i.getBounds().getCenter()}else{throw new Error("Unable to get source layer LatLng.")}}this.setLatLng(t);if(this._map){this.update()}return true},_updateContent:function(){if(!this._content){return}var t=this._contentNode;var i=typeof this._content==="function"?this._content(this._source||this):this._content;if(typeof i==="string"){t.innerHTML=i}else{while(t.hasChildNodes()){t.removeChild(t.firstChild)}t.appendChild(i)}this.fire("contentupdate")},_updatePosition:function(){if(!this._map){return}var t=this._map.latLngToLayerPoint(this._latlng),i=A(this.options.offset),n=this._getAnchor();if(this._zoomAnimated){Mi(this._container,t.add(n))}else{i=i.add(t).add(n)}var e=this._containerBottom=-i.y,s=this._containerLeft=-Math.round(this._containerWidth/2)+i.x;this._container.style.bottom=e+"px";this._container.style.left=s+"px"},_getAnchor:function(){return[0,0]}});en.include({_initOverlay:function(t,i,n,e){var s=i;if(!(s instanceof t)){s=new t(e).setContent(i)}if(n){s.setLatLng(n)}return s}});qn.include({_initOverlay:function(t,i,n,e){var s=n;if(s instanceof t){d(s,e);s._source=this}else{s=i&&!e?i:new t(e,this);s.setContent(n)}return s}});var Be=Se.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:true,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:false,closeButton:true,autoClose:true,closeOnEscapeKey:true,className:""},openOn:function(t){t=arguments.length?t:this._source._map;if(!t.hasLayer(this)&&t._popup&&t._popup.options.autoClose){t.removeLayer(t._popup)}t._popup=this;return Se.prototype.openOn.call(this,t)},onAdd:function(t){Se.prototype.onAdd.call(this,t);t.fire("popupopen",{popup:this});if(this._source){this._source.fire("popupopen",{popup:this},true);if(!(this._source instanceof ee)){this._source.on("preclick",Wi)}}},onRemove:function(t){Se.prototype.onRemove.call(this,t);t.fire("popupclose",{popup:this});if(this._source){this._source.fire("popupclose",{popup:this},true);if(!(this._source instanceof ee)){this._source.off("preclick",Wi)}}},getEvents:function(){var t=Se.prototype.getEvents.call(this);if(this.options.closeOnClick!==undefined?this.options.closeOnClick:this._map.options.closePopupOnClick){t.preclick=this.close}if(this.options.keepInView){t.moveend=this._adjustPan}return t},_initLayout:function(){var t="leaflet-popup",i=this._container=ai("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated");var n=this._wrapper=ai("div",t+"-content-wrapper",i);this._contentNode=ai("div",t+"-content",n);qi(i);Gi(this._contentNode);Zi(i,"contextmenu",Wi);this._tipContainer=ai("div",t+"-tip-container",i);this._tip=ai("div",t+"-tip",this._tipContainer);if(this.options.closeButton){var e=this._closeButton=ai("a",t+"-close-button",i);e.setAttribute("role","button");e.setAttribute("aria-label","Close popup");e.href="#close";e.innerHTML='<span aria-hidden="true">×</span>';Zi(e,"click",(function(t){Ki(t);this.close()}),this)}},_updateLayout:function(){var t=this._contentNode,i=t.style;i.width="";i.whiteSpace="nowrap";var n=t.offsetWidth;n=Math.min(n,this.options.maxWidth);n=Math.max(n,this.options.minWidth);i.width=n+1+"px";i.whiteSpace="";i.height="";var e=t.offsetHeight,s=this.options.maxHeight,r="leaflet-popup-scrolled";if(s&&e>s){i.height=s+"px";vi(t,r)}else{mi(t,r)}this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();Mi(this._container,i.add(n))},_adjustPan:function(){if(!this.options.autoPan){return}if(this._map._panAnim){this._map._panAnim.stop()}if(this._autopanning){this._autopanning=false;return}var t=this._map,i=parseInt(oi(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+i,e=this._containerWidth,s=new C(this._containerLeft,-n-this._containerBottom);s._add(Pi(this._container));var r=t.layerPointToContainerPoint(s),h=A(this.options.autoPanPadding),o=A(this.options.autoPanPaddingTopLeft||h),a=A(this.options.autoPanPaddingBottomRight||h),u=t.getSize(),f=0,c=0;if(r.x+e+a.x>u.x){f=r.x+e-u.x+a.x}if(r.x-f-o.x<0){f=r.x-o.x}if(r.y+n+a.y>u.y){c=r.y+n-u.y+a.y}if(r.y-c-o.y<0){c=r.y-o.y}if(f||c){if(this.options.keepInView){this._autopanning=true}t.fire("autopanstart").panBy([f,c])}},_getAnchor:function(){return A(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});var De=function(t,i){return new Be(t,i)};en.mergeOptions({closePopupOnClick:true});en.include({openPopup:function(t,i,n){this._initOverlay(Be,t,i,n).openOn(this);return this},closePopup:function(t){t=arguments.length?t:this._popup;if(t){t.close()}return this}});qn.include({bindPopup:function(t,i){this._popup=this._initOverlay(Be,this._popup,t,i);if(!this._popupHandlersAdded){this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup});this._popupHandlersAdded=true}return this},unbindPopup:function(){if(this._popup){this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup});this._popupHandlersAdded=false;this._popup=null}return this},openPopup:function(t){if(this._popup){if(!(this instanceof $n)){this._popup._source=this}if(this._popup._prepareOpen(t||this._latlng)){this._popup.openOn(this._map)}}return this},closePopup:function(){if(this._popup){this._popup.close()}return this},togglePopup:function(){if(this._popup){this._popup.toggle(this)}return this},isPopupOpen:function(){return this._popup?this._popup.isOpen():false},setPopupContent:function(t){if(this._popup){this._popup.setContent(t)}return this},getPopup:function(){return this._popup},_openPopup:function(t){if(!this._popup||!this._map){return}Vi(t);var i=t.layer||t.target;if(this._popup._source===i&&!(i instanceof ee)){if(this._map.hasLayer(this._popup)){this.closePopup()}else{this.openPopup(t.latlng)}return}this._popup._source=i;this.openPopup(t.latlng)},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){if(t.originalEvent.keyCode===13){this._openPopup(t)}}});var Ce=Se.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:false,sticky:false,opacity:.9},onAdd:function(t){Se.prototype.onAdd.call(this,t);this.setOpacity(this.options.opacity);t.fire("tooltipopen",{tooltip:this});if(this._source){this.addEventParent(this._source);this._source.fire("tooltipopen",{tooltip:this},true)}},onRemove:function(t){Se.prototype.onRemove.call(this,t);t.fire("tooltipclose",{tooltip:this});if(this._source){this.removeEventParent(this._source);this._source.fire("tooltipclose",{tooltip:this},true)}},getEvents:function(){var t=Se.prototype.getEvents.call(this);if(!this.options.permanent){t.preclick=this.close}return t},_initLayout:function(){var t="leaflet-tooltip",i=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ai("div",i);this._container.setAttribute("role","tooltip");this._container.setAttribute("id","leaflet-tooltip-"+h(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var i,n,e=this._map,s=this._container,r=e.latLngToContainerPoint(e.getCenter()),h=e.layerPointToContainerPoint(t),o=this.options.direction,a=s.offsetWidth,u=s.offsetHeight,f=A(this.options.offset),c=this._getAnchor();if(o==="top"){i=a/2;n=u}else if(o==="bottom"){i=a/2;n=0}else if(o==="center"){i=a/2;n=u/2}else if(o==="right"){i=0;n=u/2}else if(o==="left"){i=a;n=u/2}else if(h.x<r.x){o="right";i=0;n=u/2}else{o="left";i=a+(f.x+c.x)*2;n=u/2}t=t.subtract(A(i,n,true)).add(f).add(c);mi(s,"leaflet-tooltip-right");mi(s,"leaflet-tooltip-left");mi(s,"leaflet-tooltip-top");mi(s,"leaflet-tooltip-bottom");vi(s,"leaflet-tooltip-"+o);Mi(s,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t;if(this._container){gi(this._container,t)}},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(i)},_getAnchor:function(){return A(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});var Ee=function(t,i){return new Ce(t,i)};en.include({openTooltip:function(t,i,n){this._initOverlay(Ce,t,i,n).openOn(this);return this},closeTooltip:function(t){t.close();return this}});qn.include({bindTooltip:function(t,i){if(this._tooltip&&this.isTooltipOpen()){this.unbindTooltip()}this._tooltip=this._initOverlay(Ce,this._tooltip,t,i);this._initTooltipInteractions();if(this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)){this.openTooltip()}return this},unbindTooltip:function(){if(this._tooltip){this._initTooltipInteractions(true);this.closeTooltip();this._tooltip=null}return this},_initTooltipInteractions:function(t){if(!t&&this._tooltipHandlersAdded){return}var i=t?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip};if(!this._tooltip.options.permanent){n.mouseover=this._openTooltip;n.mouseout=this.closeTooltip;n.click=this._openTooltip;if(this._map){this._addFocusListeners()}else{n.add=this._addFocusListeners}}else{n.add=this._openTooltip}if(this._tooltip.options.sticky){n.mousemove=this._moveTooltip}this[i](n);this._tooltipHandlersAdded=!t},openTooltip:function(t){if(this._tooltip){if(!(this instanceof $n)){this._tooltip._source=this}if(this._tooltip._prepareOpen(t)){this._tooltip.openOn(this._map);if(this.getElement){this._setAriaDescribedByOnLayer(this)}else if(this.eachLayer){this.eachLayer(this._setAriaDescribedByOnLayer,this)}}}return this},closeTooltip:function(){if(this._tooltip){return this._tooltip.close()}},toggleTooltip:function(){if(this._tooltip){this._tooltip.toggle(this)}return this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){if(this._tooltip){this._tooltip.setContent(t)}return this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){if(this.getElement){this._addFocusListenersOnLayer(this)}else if(this.eachLayer){this.eachLayer(this._addFocusListenersOnLayer,this)}},_addFocusListenersOnLayer:function(t){var i=typeof t.getElement==="function"&&t.getElement();if(i){Zi(i,"focus",(function(){this._tooltip._source=t;this.openTooltip()}),this);Zi(i,"blur",this.closeTooltip,this)}},_setAriaDescribedByOnLayer:function(t){var i=typeof t.getElement==="function"&&t.getElement();if(i){i.setAttribute("aria-describedby",this._tooltip._container.id)}},_openTooltip:function(t){if(!this._tooltip||!this._map){return}if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=true;var i=this;this._map.once("moveend",(function(){i._openOnceFlag=false;i._openTooltip(t)}));return}this._tooltip._source=t.layer||t.target;this.openTooltip(this._tooltip.options.sticky?t.latlng:undefined)},_moveTooltip:function(t){var i=t.latlng,n,e;if(this._tooltip.options.sticky&&t.originalEvent){n=this._map.mouseEventToContainerPoint(t.originalEvent);e=this._map.containerPointToLayerPoint(n);i=this._map.layerPointToLatLng(e)}this._tooltip.setLatLng(i)}});var Ae=Xn.extend({options:{iconSize:[12,12],html:false,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var i=t&&t.tagName==="DIV"?t:document.createElement("div"),n=this.options;if(n.html instanceof Element){fi(i);i.appendChild(n.html)}else{i.innerHTML=n.html!==false?n.html:""}if(n.bgPos){var e=A(n.bgPos);i.style.backgroundPosition=-e.x+"px "+-e.y+"px"}this._setIconStyles(i,"icon");return i},createShadow:function(){return null}});function Oe(t){return new Ae(t)}Xn.Default=Qn;var Ze=qn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Ot.mobile,updateWhenZooming:true,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:undefined,maxNativeZoom:undefined,minNativeZoom:undefined,noWrap:false,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){d(this,t)},onAdd:function(){this._initContainer();this._levels={};this._tiles={};this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles();ui(this._container);t._removeZoomLimit(this);this._container=null;this._tileZoom=undefined},bringToFront:function(){if(this._map){ci(this._container);this._setAutoZIndex(Math.max)}return this},bringToBack:function(){if(this._map){li(this._container);this._setAutoZIndex(Math.min)}return this},getContainer:function(){return this._container},setOpacity:function(t){this.options.opacity=t;this._updateOpacity();return this},setZIndex:function(t){this.options.zIndex=t;this._updateZIndex();return this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var t=this._clampZoom(this._map.getZoom());if(t!==this._tileZoom){this._tileZoom=t;this._updateLevels()}this._update()}return this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};if(!this.options.updateWhenIdle){if(!this._onMove){this._onMove=o(this._onMoveEnd,this.options.updateInterval,this)}t.move=this._onMove}if(this._zoomAnimated){t.zoomanim=this._animateZoom}return t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof C?t:new C(t,t)},_updateZIndex:function(){if(this._container&&this.options.zIndex!==undefined&&this.options.zIndex!==null){this._container.style.zIndex=this.options.zIndex}},_setAutoZIndex:function(t){var i=this.getPane().children,n=-t(-Infinity,Infinity);for(var e=0,s=i.length,r;e<s;e++){r=i[e].style.zIndex;if(i[e]!==this._container&&r){n=t(n,+r)}}if(isFinite(n)){this.options.zIndex=n+t(-1,1);this._updateZIndex()}},_updateOpacity:function(){if(!this._map){return}if(Ot.ielt9){return}gi(this._container,this.options.opacity);var t=+new Date,i=false,n=false;for(var e in this._tiles){var s=this._tiles[e];if(!s.current||!s.loaded){continue}var r=Math.min(1,(t-s.loaded)/200);gi(s.el,r);if(r<1){i=true}else{if(s.active){n=true}else{this._onOpaqueTile(s)}s.active=true}}if(n&&!this._noPrune){this._pruneTiles()}if(i){x(this._fadeFrame);this._fadeFrame=T(this._updateOpacity,this)}},_onOpaqueTile:u,_initContainer:function(){if(this._container){return}this._container=ai("div","leaflet-layer "+(this.options.className||""));this._updateZIndex();if(this.options.opacity<1){this._updateOpacity()}this.getPane().appendChild(this._container)},_updateLevels:function(){var t=this._tileZoom,i=this.options.maxZoom;if(t===undefined){return undefined}for(var n in this._levels){n=Number(n);if(this._levels[n].el.children.length||n===t){this._levels[n].el.style.zIndex=i-Math.abs(t-n);this._onUpdateLevel(n)}else{ui(this._levels[n].el);this._removeTilesAtZoom(n);this._onRemoveLevel(n);delete this._levels[n]}}var e=this._levels[t],s=this._map;if(!e){e=this._levels[t]={};e.el=ai("div","leaflet-tile-container leaflet-zoom-animated",this._container);e.el.style.zIndex=i;e.origin=s.project(s.unproject(s.getPixelOrigin()),t).round();e.zoom=t;this._setZoomTransform(e,s.getCenter(),s.getZoom());this._onCreateLevel(e)}this._level=e;return e},_onUpdateLevel:u,_onRemoveLevel:u,_onCreateLevel:u,_pruneTiles:function(){if(!this._map){return}var t,i;var n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom){this._removeAllTiles();return}for(t in this._tiles){i=this._tiles[t];i.retain=i.current}for(t in this._tiles){i=this._tiles[t];if(i.current&&!i.active){var e=i.coords;if(!this._retainParent(e.x,e.y,e.z,e.z-5)){this._retainChildren(e.x,e.y,e.z,e.z+2)}}}for(t in this._tiles){if(!this._tiles[t].retain){this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var i in this._tiles){if(this._tiles[i].coords.z!==t){continue}this._removeTile(i)}},_removeAllTiles:function(){for(var t in this._tiles){this._removeTile(t)}},_invalidateAll:function(){for(var t in this._levels){ui(this._levels[t].el);this._onRemoveLevel(Number(t));delete this._levels[t]}this._removeAllTiles();this._tileZoom=undefined},_retainParent:function(t,i,n,e){var s=Math.floor(t/2),r=Math.floor(i/2),h=n-1,o=new C(+s,+r);o.z=+h;var a=this._tileCoordsToKey(o),u=this._tiles[a];if(u&&u.active){u.retain=true;return true}else if(u&&u.loaded){u.retain=true}if(h>e){return this._retainParent(s,r,h,e)}return false},_retainChildren:function(t,i,n,e){for(var s=2*t;s<2*t+2;s++){for(var r=2*i;r<2*i+2;r++){var h=new C(s,r);h.z=n+1;var o=this._tileCoordsToKey(h),a=this._tiles[o];if(a&&a.active){a.retain=true;continue}else if(a&&a.loaded){a.retain=true}if(n+1<e){this._retainChildren(s,r,n+1,e)}}}},_resetView:function(t){var i=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),i,i)},_animateZoom:function(t){this._setView(t.center,t.zoom,true,t.noUpdate)},_clampZoom:function(t){var i=this.options;if(undefined!==i.minNativeZoom&&t<i.minNativeZoom){return i.minNativeZoom}if(undefined!==i.maxNativeZoom&&i.maxNativeZoom<t){return i.maxNativeZoom}return t},_setView:function(t,i,n,e){var s=Math.round(i);if(this.options.maxZoom!==undefined&&s>this.options.maxZoom||this.options.minZoom!==undefined&&s<this.options.minZoom){s=undefined}else{s=this._clampZoom(s)}var r=this.options.updateWhenZooming&&s!==this._tileZoom;if(!e||r){this._tileZoom=s;if(this._abortLoading){this._abortLoading()}this._updateLevels();this._resetGrid();if(s!==undefined){this._update(t)}if(!n){this._pruneTiles()}this._noPrune=!!n}this._setZoomTransforms(t,i)},_setZoomTransforms:function(t,i){for(var n in this._levels){this._setZoomTransform(this._levels[n],t,i)}},_setZoomTransform:function(t,i,n){var e=this._map.getZoomScale(n,t.zoom),s=t.origin.multiplyBy(e).subtract(this._map._getNewPixelOrigin(i,n)).round();if(Ot.any3d){bi(t.el,s,e)}else{Mi(t.el,s)}},_resetGrid:function(){var t=this._map,i=t.options.crs,n=this._tileSize=this.getTileSize(),e=this._tileZoom;var s=this._map.getPixelWorldBounds(this._tileZoom);if(s){this._globalTileRange=this._pxBoundsToTileRange(s)}this._wrapX=i.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,i.wrapLng[0]],e).x/n.x),Math.ceil(t.project([0,i.wrapLng[1]],e).x/n.y)];this._wrapY=i.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([i.wrapLat[0],0],e).y/n.x),Math.ceil(t.project([i.wrapLat[1],0],e).y/n.y)]},_onMoveEnd:function(){if(!this._map||this._map._animatingZoom){return}this._update()},_getTiledPixelBounds:function(t){var i=this._map,n=i._animatingZoom?Math.max(i._animateToZoom,i.getZoom()):i.getZoom(),e=i.getZoomScale(n,this._tileZoom),s=i.project(t,this._tileZoom).floor(),r=i.getSize().divideBy(e*2);return new O(s.subtract(r),s.add(r))},_update:function(t){var i=this._map;if(!i){return}var n=this._clampZoom(i.getZoom());if(t===undefined){t=i.getCenter()}if(this._tileZoom===undefined){return}var e=this._getTiledPixelBounds(t),s=this._pxBoundsToTileRange(e),r=s.getCenter(),h=[],o=this.options.keepBuffer,a=new O(s.getBottomLeft().subtract([o,-o]),s.getTopRight().add([o,-o]));if(!(isFinite(s.min.x)&&isFinite(s.min.y)&&isFinite(s.max.x)&&isFinite(s.max.y))){throw new Error("Attempted to load an infinite number of tiles")}for(var u in this._tiles){var f=this._tiles[u].coords;if(f.z!==this._tileZoom||!a.contains(new C(f.x,f.y))){this._tiles[u].current=false}}if(Math.abs(n-this._tileZoom)>1){this._setView(t,n);return}for(var c=s.min.y;c<=s.max.y;c++){for(var l=s.min.x;l<=s.max.x;l++){var d=new C(l,c);d.z=this._tileZoom;if(!this._isValidTile(d)){continue}var v=this._tiles[this._tileCoordsToKey(d)];if(v){v.current=true}else{h.push(d)}}}h.sort((function(t,i){return t.distanceTo(r)-i.distanceTo(r)}));if(h.length!==0){if(!this._loading){this._loading=true;this.fire("loading")}var m=document.createDocumentFragment();for(l=0;l<h.length;l++){this._addTile(h[l],m)}this._level.el.appendChild(m)}},_isValidTile:function(t){var i=this._map.options.crs;if(!i.infinite){var n=this._globalTileRange;if(!i.wrapLng&&(t.x<n.min.x||t.x>n.max.x)||!i.wrapLat&&(t.y<n.min.y||t.y>n.max.y)){return false}}if(!this.options.bounds){return true}var e=this._tileCoordsToBounds(t);return j(this.options.bounds).overlaps(e)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var i=this._map,n=this.getTileSize(),e=t.scaleBy(n),s=e.add(n),r=i.unproject(e,t.z),h=i.unproject(s,t.z);return[r,h]},_tileCoordsToBounds:function(t){var i=this._tileCoordsToNwSe(t),n=new R(i[0],i[1]);if(!this.options.noWrap){n=this._map.wrapLatLngBounds(n)}return n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var i=t.split(":"),n=new C(+i[0],+i[1]);n.z=+i[2];return n},_removeTile:function(t){var i=this._tiles[t];if(!i){return}ui(i.el);delete this._tiles[t];this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(t)})},_initTile:function(t){vi(t,"leaflet-tile");var i=this.getTileSize();t.style.width=i.x+"px";t.style.height=i.y+"px";t.onselectstart=u;t.onmousemove=u;if(Ot.ielt9&&this.options.opacity<1){gi(t,this.options.opacity)}},_addTile:function(t,i){var n=this._getTilePos(t),e=this._tileCoordsToKey(t);var r=this.createTile(this._wrapCoords(t),s(this._tileReady,this,t));this._initTile(r);if(this.createTile.length<2){T(s(this._tileReady,this,t,null,r))}Mi(r,n);this._tiles[e]={el:r,coords:t,current:true};i.appendChild(r);this.fire("tileloadstart",{tile:r,coords:t})},_tileReady:function(t,i,n){if(i){this.fire("tileerror",{error:i,tile:n,coords:t})}var e=this._tileCoordsToKey(t);n=this._tiles[e];if(!n){return}n.loaded=+new Date;if(this._map._fadeAnimated){gi(n.el,0);x(this._fadeFrame);this._fadeFrame=T(this._updateOpacity,this)}else{n.active=true;this._pruneTiles()}if(!i){vi(n.el,"leaflet-tile-loaded");this.fire("tileload",{tile:n.el,coords:t})}if(this._noTilesToLoad()){this._loading=false;this.fire("load");if(Ot.ielt9||!this._map._fadeAnimated){T(this._pruneTiles,this)}else{setTimeout(s(this._pruneTiles,this),250)}}},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var i=new C(this._wrapX?a(t.x,this._wrapX):t.x,this._wrapY?a(t.y,this._wrapY):t.y);i.z=t.z;return i},_pxBoundsToTileRange:function(t){var i=this.getTileSize();return new O(t.min.unscaleBy(i).floor(),t.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles){if(!this._tiles[t].loaded){return false}}return true}});function Re(t){return new Ze(t)}var je=Ze.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:false,zoomReverse:false,detectRetina:false,crossOrigin:false,referrerPolicy:false},initialize:function(t,i){this._url=t;i=d(this,i);if(i.detectRetina&&Ot.retina&&i.maxZoom>0){i.tileSize=Math.floor(i.tileSize/2);if(!i.zoomReverse){i.zoomOffset++;i.maxZoom=Math.max(i.minZoom,i.maxZoom-1)}else{i.zoomOffset--;i.minZoom=Math.min(i.maxZoom,i.minZoom+1)}i.minZoom=Math.max(0,i.minZoom)}else if(!i.zoomReverse){i.maxZoom=Math.max(i.minZoom,i.maxZoom)}else{i.minZoom=Math.min(i.maxZoom,i.minZoom)}if(typeof i.subdomains==="string"){i.subdomains=i.subdomains.split("")}this.on("tileunload",this._onTileRemove)},setUrl:function(t,i){if(this._url===t&&i===undefined){i=true}this._url=t;if(!i){this.redraw()}return this},createTile:function(t,i){var n=document.createElement("img");Zi(n,"load",s(this._tileOnLoad,this,i,n));Zi(n,"error",s(this._tileOnError,this,i,n));if(this.options.crossOrigin||this.options.crossOrigin===""){n.crossOrigin=this.options.crossOrigin===true?"":this.options.crossOrigin}if(typeof this.options.referrerPolicy==="string"){n.referrerPolicy=this.options.referrerPolicy}n.alt="";n.src=this.getTileUrl(t);return n},getTileUrl:function(t){var i={r:Ot.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var e=this._globalTileRange.max.y-t.y;if(this.options.tms){i["y"]=e}i["-y"]=e}return p(this._url,n(i,this.options))},_tileOnLoad:function(t,i){if(Ot.ielt9){setTimeout(s(t,this,null,i),0)}else{t(null,i)}},_tileOnError:function(t,i,n){var e=this.options.errorTileUrl;if(e&&i.getAttribute("src")!==e){i.src=e}t(n,i)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,i=this.options.maxZoom,n=this.options.zoomReverse,e=this.options.zoomOffset;if(n){t=i-t}return t+e},_getSubdomain:function(t){var i=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var t,i;for(t in this._tiles){if(this._tiles[t].coords.z!==this._tileZoom){i=this._tiles[t].el;i.onload=u;i.onerror=u;if(!i.complete){i.src=y;var n=this._tiles[t].coords;ui(i);delete this._tiles[t];this.fire("tileabort",{tile:i,coords:n})}}}},_removeTile:function(t){var i=this._tiles[t];if(!i){return}i.el.setAttribute("src",y);return Ze.prototype._removeTile.call(this,t)},_tileReady:function(t,i,n){if(!this._map||n&&n.getAttribute("src")===y){return}return Ze.prototype._tileReady.call(this,t,i,n)}});function Ne(t,i){return new je(t,i)}var Fe=je.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:false,version:"1.1.1"},options:{crs:null,uppercase:false},initialize:function(t,i){this._url=t;var e=n({},this.defaultWmsParams);for(var s in i){if(!(s in this.options)){e[s]=i[s]}}i=d(this,i);var r=i.detectRetina&&Ot.retina?2:1;var h=this.getTileSize();e.width=h.x*r;e.height=h.y*r;this.wmsParams=e},onAdd:function(t){this._crs=this.options.crs||t.options.crs;this._wmsVersion=parseFloat(this.wmsParams.version);var i=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[i]=this._crs.code;je.prototype.onAdd.call(this,t)},getTileUrl:function(t){var i=this._tileCoordsToNwSe(t),n=this._crs,e=Z(n.project(i[0]),n.project(i[1])),s=e.min,r=e.max,h=(this._wmsVersion>=1.3&&this._crs===Wn?[s.y,s.x,r.y,r.x]:[s.x,s.y,r.x,r.y]).join(","),o=je.prototype.getTileUrl.call(this,t);return o+v(this.wmsParams,o,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+h},setParams:function(t,i){n(this.wmsParams,t);if(!i){this.redraw()}return this}});function He(t,i){return new Fe(t,i)}je.WMS=Fe;Ne.wms=He;var Ue=qn.extend({options:{padding:.1},initialize:function(t){d(this,t);h(this);this._layers=this._layers||{}},onAdd:function(){if(!this._container){this._initContainer();vi(this._container,"leaflet-zoom-animated")}this.getPane().appendChild(this._container);this._update();this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this);this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};if(this._zoomAnimated){t.zoomanim=this._onAnimZoom}return t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,i){var n=this._map.getZoomScale(i,this._zoom),e=this._map.getSize().multiplyBy(.5+this.options.padding),s=this._map.project(this._center,i),r=e.multiplyBy(-n).add(s).subtract(this._map._getNewPixelOrigin(t,i));if(Ot.any3d){bi(this._container,r,n)}else{Mi(this._container,r)}},_reset:function(){this._update();this._updateTransform(this._center,this._zoom);for(var t in this._layers){this._layers[t]._reset()}},_onZoomEnd:function(){for(var t in this._layers){this._layers[t]._project()}},_updatePaths:function(){for(var t in this._layers){this._layers[t]._update()}},_update:function(){var t=this.options.padding,i=this._map.getSize(),n=this._map.containerPointToLayerPoint(i.multiplyBy(-t)).round();this._bounds=new O(n,n.add(i.multiplyBy(1+t*2)).round());this._center=this._map.getCenter();this._zoom=this._map.getZoom()}});var We=Ue.extend({options:{tolerance:0},getEvents:function(){var t=Ue.prototype.getEvents.call(this);t.viewprereset=this._onViewPreReset;return t},_onViewPreReset:function(){this._postponeUpdatePaths=true},onAdd:function(){Ue.prototype.onAdd.call(this);this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Zi(t,"mousemove",this._onMouseMove,this);Zi(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this);Zi(t,"mouseout",this._handleMouseOut,this);t["_leaflet_disable_events"]=true;this._ctx=t.getContext("2d")},_destroyContainer:function(){x(this._redrawRequest);delete this._ctx;ui(this._container);ji(this._container);delete this._container},_updatePaths:function(){if(this._postponeUpdatePaths){return}var t;this._redrawBounds=null;for(var i in this._layers){t=this._layers[i];t._update()}this._redraw()},_update:function(){if(this._map._animatingZoom&&this._bounds){return}Ue.prototype._update.call(this);var t=this._bounds,i=this._container,n=t.getSize(),e=Ot.retina?2:1;Mi(i,t.min);i.width=e*n.x;i.height=e*n.y;i.style.width=n.x+"px";i.style.height=n.y+"px";if(Ot.retina){this._ctx.scale(2,2)}this._ctx.translate(-t.min.x,-t.min.y);this.fire("update")},_reset:function(){Ue.prototype._reset.call(this);if(this._postponeUpdatePaths){this._postponeUpdatePaths=false;this._updatePaths()}},_initPath:function(t){this._updateDashArray(t);this._layers[h(t)]=t;var i=t._order={layer:t,prev:this._drawLast,next:null};if(this._drawLast){this._drawLast.next=i}this._drawLast=i;this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var i=t._order;var n=i.next;var e=i.prev;if(n){n.prev=e}else{this._drawLast=e}if(e){e.next=n}else{this._drawFirst=n}delete t._order;delete this._layers[h(t)];this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t);t._project();t._update();this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t);this._requestRedraw(t)},_updateDashArray:function(t){if(typeof t.options.dashArray==="string"){var i=t.options.dashArray.split(/[, ]+/),n=[],e,s;for(s=0;s<i.length;s++){e=Number(i[s]);if(isNaN(e)){return}n.push(e)}t.options._dashArray=n}else{t.options._dashArray=t.options.dashArray}},_requestRedraw:function(t){if(!this._map){return}this._extendRedrawBounds(t);this._redrawRequest=this._redrawRequest||T(this._redraw,this)},_extendRedrawBounds:function(t){if(t._pxBounds){var i=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new O;this._redrawBounds.extend(t._pxBounds.min.subtract([i,i]));this._redrawBounds.extend(t._pxBounds.max.add([i,i]))}},_redraw:function(){this._redrawRequest=null;if(this._redrawBounds){this._redrawBounds.min._floor();this._redrawBounds.max._ceil()}this._clear();this._draw();this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var i=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,i.x,i.y)}else{this._ctx.save();this._ctx.setTransform(1,0,0,1,0,0);this._ctx.clearRect(0,0,this._container.width,this._container.height);this._ctx.restore()}},_draw:function(){var t,i=this._redrawBounds;this._ctx.save();if(i){var n=i.getSize();this._ctx.beginPath();this._ctx.rect(i.min.x,i.min.y,n.x,n.y);this._ctx.clip()}this._drawing=true;for(var e=this._drawFirst;e;e=e.next){t=e.layer;if(!i||t._pxBounds&&t._pxBounds.intersects(i)){t._updatePath()}}this._drawing=false;this._ctx.restore()},_updatePoly:function(t,i){if(!this._drawing){return}var n,e,s,r,h=t._parts,o=h.length,a=this._ctx;if(!o){return}a.beginPath();for(n=0;n<o;n++){for(e=0,s=h[n].length;e<s;e++){r=h[n][e];a[e?"lineTo":"moveTo"](r.x,r.y)}if(i){a.closePath()}}this._fillStroke(a,t)},_updateCircle:function(t){if(!this._drawing||t._empty()){return}var i=t._point,n=this._ctx,e=Math.max(Math.round(t._radius),1),s=(Math.max(Math.round(t._radiusY),1)||e)/e;if(s!==1){n.save();n.scale(1,s)}n.beginPath();n.arc(i.x,i.y/s,e,0,Math.PI*2,false);if(s!==1){n.restore()}this._fillStroke(n,t)},_fillStroke:function(t,i){var n=i.options;if(n.fill){t.globalAlpha=n.fillOpacity;t.fillStyle=n.fillColor||n.color;t.fill(n.fillRule||"evenodd")}if(n.stroke&&n.weight!==0){if(t.setLineDash){t.setLineDash(i.options&&i.options._dashArray||[])}t.globalAlpha=n.opacity;t.lineWidth=n.weight;t.strokeStyle=n.color;t.lineCap=n.lineCap;t.lineJoin=n.lineJoin;t.stroke()}},_onClick:function(t){var i=this._map.mouseEventToLayerPoint(t),n,e;for(var s=this._drawFirst;s;s=s.next){n=s.layer;if(n.options.interactive&&n._containsPoint(i)){if(!(t.type==="click"||t.type==="preclick")||!this._map._draggableMoved(n)){e=n}}}this._fireEvent(e?[e]:false,t)},_onMouseMove:function(t){if(!this._map||this._map.dragging.moving()||this._map._animatingZoom){return}var i=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,i)},_handleMouseOut:function(t){var i=this._hoveredLayer;if(i){mi(this._container,"leaflet-interactive");this._fireEvent([i],t,"mouseout");this._hoveredLayer=null;this._mouseHoverThrottled=false}},_handleMouseHover:function(t,i){if(this._mouseHoverThrottled){return}var n,e;for(var r=this._drawFirst;r;r=r.next){n=r.layer;if(n.options.interactive&&n._containsPoint(i)){e=n}}if(e!==this._hoveredLayer){this._handleMouseOut(t);if(e){vi(this._container,"leaflet-interactive");this._fireEvent([e],t,"mouseover");this._hoveredLayer=e}}this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:false,t);this._mouseHoverThrottled=true;setTimeout(s((function(){this._mouseHoverThrottled=false}),this),32)},_fireEvent:function(t,i,n){this._map._fireDOMEvent(i,n||i.type,t)},_bringToFront:function(t){var i=t._order;if(!i){return}var n=i.next;var e=i.prev;if(n){n.prev=e}else{return}if(e){e.next=n}else if(n){this._drawFirst=n}i.prev=this._drawLast;this._drawLast.next=i;i.next=null;this._drawLast=i;this._requestRedraw(t)},_bringToBack:function(t){var i=t._order;if(!i){return}var n=i.next;var e=i.prev;if(e){e.next=n}else{return}if(n){n.prev=e}else if(e){this._drawLast=e}i.prev=null;i.next=this._drawFirst;this._drawFirst.prev=i;this._drawFirst=i;this._requestRedraw(t)}});function Ge(t){return Ot.canvas?new We(t):null}var qe=function(){try{document.namespaces.add("lvml","urn:schemas-microsoft-com:vml");return function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}();var Ke={_initContainer:function(){this._container=ai("div","leaflet-vml-container")},_update:function(){if(this._map._animatingZoom){return}Ue.prototype._update.call(this);this.fire("update")},_initPath:function(t){var i=t._container=qe("shape");vi(i,"leaflet-vml-shape "+(this.options.className||""));i.coordsize="1 1";t._path=qe("path");i.appendChild(t._path);this._updateStyle(t);this._layers[h(t)]=t},_addPath:function(t){var i=t._container;this._container.appendChild(i);if(t.options.interactive){t.addInteractiveTarget(i)}},_removePath:function(t){var i=t._container;ui(i);t.removeInteractiveTarget(i);delete this._layers[h(t)]},_updateStyle:function(t){var i=t._stroke,n=t._fill,e=t.options,s=t._container;s.stroked=!!e.stroke;s.filled=!!e.fill;if(e.stroke){if(!i){i=t._stroke=qe("stroke")}s.appendChild(i);i.weight=e.weight+"px";i.color=e.color;i.opacity=e.opacity;if(e.dashArray){i.dashStyle=w(e.dashArray)?e.dashArray.join(" "):e.dashArray.replace(/( *, *)/g," ")}else{i.dashStyle=""}i.endcap=e.lineCap.replace("butt","flat");i.joinstyle=e.lineJoin}else if(i){s.removeChild(i);t._stroke=null}if(e.fill){if(!n){n=t._fill=qe("fill")}s.appendChild(n);n.color=e.fillColor||e.color;n.opacity=e.fillOpacity}else if(n){s.removeChild(n);t._fill=null}},_updateCircle:function(t){var i=t._point.round(),n=Math.round(t._radius),e=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+i.x+","+i.y+" "+n+","+e+" 0,"+65535*360)},_setPath:function(t,i){t._path.v=i},_bringToFront:function(t){ci(t._container)},_bringToBack:function(t){li(t._container)}};var Ve=Ot.vml?qe:J;var $e=Ue.extend({_initContainer:function(){this._container=Ve("svg");this._container.setAttribute("pointer-events","none");this._rootGroup=Ve("g");this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ui(this._container);ji(this._container);delete this._container;delete this._rootGroup;delete this._svgSize},_update:function(){if(this._map._animatingZoom&&this._bounds){return}Ue.prototype._update.call(this);var t=this._bounds,i=t.getSize(),n=this._container;if(!this._svgSize||!this._svgSize.equals(i)){this._svgSize=i;n.setAttribute("width",i.x);n.setAttribute("height",i.y)}Mi(n,t.min);n.setAttribute("viewBox",[t.min.x,t.min.y,i.x,i.y].join(" "));this.fire("update")},_initPath:function(t){var i=t._path=Ve("path");if(t.options.className){vi(i,t.options.className)}if(t.options.interactive){vi(i,"leaflet-interactive")}this._updateStyle(t);this._layers[h(t)]=t},_addPath:function(t){if(!this._rootGroup){this._initContainer()}this._rootGroup.appendChild(t._path);t.addInteractiveTarget(t._path)},_removePath:function(t){ui(t._path);t.removeInteractiveTarget(t._path);delete this._layers[h(t)]},_updatePath:function(t){t._project();t._update()},_updateStyle:function(t){var i=t._path,n=t.options;if(!i){return}if(n.stroke){i.setAttribute("stroke",n.color);i.setAttribute("stroke-opacity",n.opacity);i.setAttribute("stroke-width",n.weight);i.setAttribute("stroke-linecap",n.lineCap);i.setAttribute("stroke-linejoin",n.lineJoin);if(n.dashArray){i.setAttribute("stroke-dasharray",n.dashArray)}else{i.removeAttribute("stroke-dasharray")}if(n.dashOffset){i.setAttribute("stroke-dashoffset",n.dashOffset)}else{i.removeAttribute("stroke-dashoffset")}}else{i.setAttribute("stroke","none")}if(n.fill){i.setAttribute("fill",n.fillColor||n.color);i.setAttribute("fill-opacity",n.fillOpacity);i.setAttribute("fill-rule",n.fillRule||"evenodd")}else{i.setAttribute("fill","none")}},_updatePoly:function(t,i){this._setPath(t,X(t._parts,i))},_updateCircle:function(t){var i=t._point,n=Math.max(Math.round(t._radius),1),e=Math.max(Math.round(t._radiusY),1)||n,s="a"+n+","+e+" 0 1,0 ";var r=t._empty()?"M0 0":"M"+(i.x-n)+","+i.y+s+n*2+",0 "+s+-n*2+",0 ";this._setPath(t,r)},_setPath:function(t,i){t._path.setAttribute("d",i)},_bringToFront:function(t){ci(t._path)},_bringToBack:function(t){li(t._path)}});if(Ot.vml){$e.include(Ke)}function Je(t){return Ot.svg||Ot.vml?new $e(t):null}en.include({getRenderer:function(t){var i=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;if(!i){i=this._renderer=this._createRenderer()}if(!this.hasLayer(i)){this.addLayer(i)}return i},_getPaneRenderer:function(t){if(t==="overlayPane"||t===undefined){return false}var i=this._paneRenderers[t];if(i===undefined){i=this._createRenderer({pane:t});this._paneRenderers[t]=i}return i},_createRenderer:function(t){return this.options.preferCanvas&&Ge(t)||Je(t)}});var Xe=fe.extend({initialize:function(t,i){fe.prototype.initialize.call(this,this._boundsToLatLngs(t),i)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){t=j(t);return[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function Ye(t,i){return new Xe(t,i)}$e.create=Ve;$e.pointsToPath=X;le.geometryToLayer=de;le.coordsToLatLng=me;le.coordsToLatLngs=pe;le.latLngToCoords=we;le.latLngsToCoords=ge;le.getFeature=ye;le.asFeature=_e;en.mergeOptions({boxZoom:true});var Qe=pn.extend({initialize:function(t){this._map=t;this._container=t._container;this._pane=t._panes.overlayPane;this._resetStateTimeout=0;t.on("unload",this._destroy,this)},addHooks:function(){Zi(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){ji(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ui(this._pane);delete this._pane},_resetState:function(){this._resetStateTimeout=0;this._moved=false},_clearDeferredResetState:function(){if(this._resetStateTimeout!==0){clearTimeout(this._resetStateTimeout);this._resetStateTimeout=0}},_onMouseDown:function(t){if(!t.shiftKey||t.which!==1&&t.button!==1){return false}this._clearDeferredResetState();this._resetState();ki();zi();this._startPoint=this._map.mouseEventToContainerPoint(t);Zi(document,{contextmenu:Vi,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){if(!this._moved){this._moved=true;this._box=ai("div","leaflet-zoom-box",this._container);vi(this._container,"leaflet-crosshair");this._map.fire("boxzoomstart")}this._point=this._map.mouseEventToContainerPoint(t);var i=new O(this._point,this._startPoint),n=i.getSize();Mi(this._box,i.min);this._box.style.width=n.x+"px";this._box.style.height=n.y+"px"},_finish:function(){if(this._moved){ui(this._box);mi(this._container,"leaflet-crosshair")}Ti();Ii();ji(document,{contextmenu:Vi,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if(t.which!==1&&t.button!==1){return}this._finish();if(!this._moved){return}this._clearDeferredResetState();this._resetStateTimeout=setTimeout(s(this._resetState,this),0);var i=new R(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(i).fire("boxzoomend",{boxZoomBounds:i})},_onKeyDown:function(t){if(t.keyCode===27){this._finish();this._clearDeferredResetState();this._resetState()}}});en.addInitHook("addHandler","boxZoom",Qe);en.mergeOptions({doubleClickZoom:true});var ts=pn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var i=this._map,n=i.getZoom(),e=i.options.zoomDelta,s=t.originalEvent.shiftKey?n-e:n+e;if(i.options.doubleClickZoom==="center"){i.setZoom(s)}else{i.setZoomAround(t.containerPoint,s)}}});en.addInitHook("addHandler","doubleClickZoom",ts);en.mergeOptions({dragging:true,inertia:true,inertiaDeceleration:3400,inertiaMaxSpeed:Infinity,easeLinearity:.2,worldCopyJump:false,maxBoundsViscosity:0});var is=pn.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new yn(t._mapPane,t._container);this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this);this._draggable.on("predrag",this._onPreDragLimit,this);if(t.options.worldCopyJump){this._draggable.on("predrag",this._onPreDragWrap,this);t.on("zoomend",this._onZoomEnd,this);t.whenReady(this._onZoomEnd,this)}}vi(this._map._container,"leaflet-grab leaflet-touch-drag");this._draggable.enable();this._positions=[];this._times=[]},removeHooks:function(){mi(this._map._container,"leaflet-grab");mi(this._map._container,"leaflet-touch-drag");this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;t._stop();if(this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var i=j(this._map.options.maxBounds);this._offsetLimit=Z(this._map.latLngToContainerPoint(i.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(i.getSouthEast()).multiplyBy(-1).add(this._map.getSize()));this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else{this._offsetLimit=null}t.fire("movestart").fire("dragstart");if(t.options.inertia){this._positions=[];this._times=[]}},_onDrag:function(t){if(this._map.options.inertia){var i=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n);this._times.push(i);this._prunePositions(i)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){while(this._positions.length>1&&t-this._times[0]>50){this._positions.shift();this._times.shift()}},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(t).x;this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,i){return t-(t-i)*this._viscosity},_onPreDragLimit:function(){if(!this._viscosity||!this._offsetLimit){return}var t=this._draggable._newPos.subtract(this._draggable._startPos);var i=this._offsetLimit;if(t.x<i.min.x){t.x=this._viscousLimit(t.x,i.min.x)}if(t.y<i.min.y){t.y=this._viscousLimit(t.y,i.min.y)}if(t.x>i.max.x){t.x=this._viscousLimit(t.x,i.max.x)}if(t.y>i.max.y){t.y=this._viscousLimit(t.y,i.max.y)}this._draggable._newPos=this._draggable._startPos.add(t)},_onPreDragWrap:function(){var t=this._worldWidth,i=Math.round(t/2),n=this._initialWorldOffset,e=this._draggable._newPos.x,s=(e-i+n)%t+i-n,r=(e+i+n)%t-i-n,h=Math.abs(s+n)<Math.abs(r+n)?s:r;this._draggable._absPos=this._draggable._newPos.clone();this._draggable._newPos.x=h},_onDragEnd:function(t){var i=this._map,n=i.options,e=!n.inertia||t.noInertia||this._times.length<2;i.fire("dragend",t);if(e){i.fire("moveend")}else{this._prunePositions(+new Date);var s=this._lastPos.subtract(this._positions[0]),r=(this._lastTime-this._times[0])/1e3,h=n.easeLinearity,o=s.multiplyBy(h/r),a=o.distanceTo([0,0]),u=Math.min(n.inertiaMaxSpeed,a),f=o.multiplyBy(u/a),c=u/(n.inertiaDeceleration*h),l=f.multiplyBy(-c/2).round();if(!l.x&&!l.y){i.fire("moveend")}else{l=i._limitOffset(l,i.options.maxBounds);T((function(){i.panBy(l,{duration:c,easeLinearity:h,noMoveStart:true,animate:true})}))}}}});en.addInitHook("addHandler","dragging",is);en.mergeOptions({keyboard:true,keyboardPanDelta:80});var ns=pn.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t;this._setPanDelta(t.options.keyboardPanDelta);this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;if(t.tabIndex<=0){t.tabIndex="0"}Zi(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this);this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks();ji(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this);this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(this._focused){return}var t=document.body,i=document.documentElement,n=t.scrollTop||i.scrollTop,e=t.scrollLeft||i.scrollLeft;this._map._container.focus();window.scrollTo(e,n)},_onFocus:function(){this._focused=true;this._map.fire("focus")},_onBlur:function(){this._focused=false;this._map.fire("blur")},_setPanDelta:function(t){var i=this._panKeys={},n=this.keyCodes,e,s;for(e=0,s=n.left.length;e<s;e++){i[n.left[e]]=[-1*t,0]}for(e=0,s=n.right.length;e<s;e++){i[n.right[e]]=[t,0]}for(e=0,s=n.down.length;e<s;e++){i[n.down[e]]=[0,t]}for(e=0,s=n.up.length;e<s;e++){i[n.up[e]]=[0,-1*t]}},_setZoomDelta:function(t){var i=this._zoomKeys={},n=this.keyCodes,e,s;for(e=0,s=n.zoomIn.length;e<s;e++){i[n.zoomIn[e]]=t}for(e=0,s=n.zoomOut.length;e<s;e++){i[n.zoomOut[e]]=-t}},_addHooks:function(){Zi(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){ji(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(t.altKey||t.ctrlKey||t.metaKey){return}var i=t.keyCode,n=this._map,e;if(i in this._panKeys){if(!n._panAnim||!n._panAnim._inProgress){e=this._panKeys[i];if(t.shiftKey){e=A(e).multiplyBy(3)}if(n.options.maxBounds){e=n._limitOffset(A(e),n.options.maxBounds)}if(n.options.worldCopyJump){var s=n.wrapLatLng(n.unproject(n.project(n.getCenter()).add(e)));n.panTo(s)}else{n.panBy(e)}}}else if(i in this._zoomKeys){n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i])}else if(i===27&&n._popup&&n._popup.options.closeOnEscapeKey){n.closePopup()}else{return}Vi(t)}});en.addInitHook("addHandler","keyboard",ns);en.mergeOptions({scrollWheelZoom:true,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var es=pn.extend({addHooks:function(){Zi(this._map._container,"wheel",this._onWheelScroll,this);this._delta=0},removeHooks:function(){ji(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var i=Yi(t);var n=this._map.options.wheelDebounceTime;this._delta+=i;this._lastMousePos=this._map.mouseEventToContainerPoint(t);if(!this._startTime){this._startTime=+new Date}var e=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer);this._timer=setTimeout(s(this._performZoom,this),e);Vi(t)},_performZoom:function(){var t=this._map,i=t.getZoom(),n=this._map.options.zoomSnap||0;t._stop();var e=this._delta/(this._map.options.wheelPxPerZoomLevel*4),s=4*Math.log(2/(1+Math.exp(-Math.abs(e))))/Math.LN2,r=n?Math.ceil(s/n)*n:s,h=t._limitZoom(i+(this._delta>0?r:-r))-i;this._delta=0;this._startTime=null;if(!h){return}if(t.options.scrollWheelZoom==="center"){t.setZoom(i+h)}else{t.setZoomAround(this._lastMousePos,i+h)}}});en.addInitHook("addHandler","scrollWheelZoom",es);var ss=600;en.mergeOptions({tapHold:Ot.touchNative&&Ot.safari&&Ot.mobile,tapTolerance:15});var rs=pn.extend({addHooks:function(){Zi(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){ji(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){clearTimeout(this._holdTimeout);if(t.touches.length!==1){return}var i=t.touches[0];this._startPos=this._newPos=new C(i.clientX,i.clientY);this._holdTimeout=setTimeout(s((function(){this._cancel();if(!this._isTapValid()){return}Zi(document,"touchend",Ki);Zi(document,"touchend touchcancel",this._cancelClickPrevent);this._simulateEvent("contextmenu",i)}),this),ss);Zi(document,"touchend touchcancel contextmenu",this._cancel,this);Zi(document,"touchmove",this._onMove,this)},_cancelClickPrevent:function t(){ji(document,"touchend",Ki);ji(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout);ji(document,"touchend touchcancel contextmenu",this._cancel,this);ji(document,"touchmove",this._onMove,this)},_onMove:function(t){var i=t.touches[0];this._newPos=new C(i.clientX,i.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,i){var n=new MouseEvent(t,{bubbles:true,cancelable:true,view:window,screenX:i.screenX,screenY:i.screenY,clientX:i.clientX,clientY:i.clientY});n._simulated=true;i.target.dispatchEvent(n)}});en.addInitHook("addHandler","tapHold",rs);en.mergeOptions({touchZoom:Ot.touch,bounceAtZoomLimits:true});var hs=pn.extend({addHooks:function(){vi(this._map._container,"leaflet-touch-zoom");Zi(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){mi(this._map._container,"leaflet-touch-zoom");ji(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(!t.touches||t.touches.length!==2||i._animatingZoom||this._zooming){return}var n=i.mouseEventToContainerPoint(t.touches[0]),e=i.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=i.getSize()._divideBy(2);this._startLatLng=i.containerPointToLatLng(this._centerPoint);if(i.options.touchZoom!=="center"){this._pinchStartLatLng=i.containerPointToLatLng(n.add(e)._divideBy(2))}this._startDist=n.distanceTo(e);this._startZoom=i.getZoom();this._moved=false;this._zooming=true;i._stop();Zi(document,"touchmove",this._onTouchMove,this);Zi(document,"touchend touchcancel",this._onTouchEnd,this);Ki(t)},_onTouchMove:function(t){if(!t.touches||t.touches.length!==2||!this._zooming){return}var i=this._map,n=i.mouseEventToContainerPoint(t.touches[0]),e=i.mouseEventToContainerPoint(t.touches[1]),r=n.distanceTo(e)/this._startDist;this._zoom=i.getScaleZoom(r,this._startZoom);if(!i.options.bounceAtZoomLimits&&(this._zoom<i.getMinZoom()&&r<1||this._zoom>i.getMaxZoom()&&r>1)){this._zoom=i._limitZoom(this._zoom)}if(i.options.touchZoom==="center"){this._center=this._startLatLng;if(r===1){return}}else{var h=n._add(e)._divideBy(2)._subtract(this._centerPoint);if(r===1&&h.x===0&&h.y===0){return}this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(h),this._zoom)}if(!this._moved){i._moveStart(true,false);this._moved=true}x(this._animRequest);var o=s(i._move,i,this._center,this._zoom,{pinch:true,round:false},undefined);this._animRequest=T(o,this,true);Ki(t)},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=false;return}this._zooming=false;x(this._animRequest);ji(document,"touchmove",this._onTouchMove,this);ji(document,"touchend touchcancel",this._onTouchEnd,this);if(this._map.options.zoomAnimation){this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),true,this._map.options.zoomSnap)}else{this._map._resetView(this._center,this._map._limitZoom(this._zoom))}}});en.addInitHook("addHandler","touchZoom",hs);en.BoxZoom=Qe;en.DoubleClickZoom=ts;en.Drag=is;en.Keyboard=ns;en.ScrollWheelZoom=es;en.TapHold=rs;en.TouchZoom=hs;t.Bounds=O;t.Browser=Ot;t.CRS=H;t.Canvas=We;t.Circle=he;t.CircleMarker=se;t.Class=I;t.Control=rn;t.DivIcon=Ae;t.DivOverlay=Se;t.DomEvent=tn;t.DomUtil=Oi;t.Draggable=yn;t.Evented=D;t.FeatureGroup=$n;t.GeoJSON=le;t.GridLayer=Ze;t.Handler=pn;t.Icon=Xn;t.ImageOverlay=ke;t.LatLng=N;t.LatLngBounds=R;t.Layer=qn;t.LayerGroup=Kn;t.LineUtil=jn;t.Map=en;t.Marker=ie;t.Mixin=wn;t.Path=ee;t.Point=C;t.PolyUtil=Pn;t.Polygon=fe;t.Polyline=ae;t.Popup=Be;t.PosAnimation=nn;t.Projection=Hn;t.Rectangle=Xe;t.Renderer=Ue;t.SVG=$e;t.SVGOverlay=ze;t.TileLayer=je;t.Tooltip=Ce;t.Transformation=q;t.Util=z;t.VideoOverlay=Le;t.bind=s;t.bounds=Z;t.canvas=Ge;t.circle=oe;t.circleMarker=re;t.control=hn;t.divIcon=Oe;t.extend=n;t.featureGroup=Jn;t.geoJSON=Me;t.geoJson=Pe;t.gridLayer=Re;t.icon=Yn;t.imageOverlay=Te;t.latLng=F;t.latLngBounds=j;t.layerGroup=Vn;t.map=sn;t.marker=ne;t.point=A;t.polygon=ce;t.polyline=ue;t.popup=De;t.rectangle=Ye;t.setOptions=d;t.stamp=h;t.svg=Je;t.svgOverlay=Ie;t.tileLayer=Ne;t.tooltip=Ee;t.transformation=K;t.version=i;t.videoOverlay=xe;var os=window.L;t.noConflict=function(){window.L=os;return this};window.L=t}))})(j,j.exports);const N=j.exports;var F={exports:{}};const H=(t,i)=>i.some((i=>t instanceof i));let U;let W;function G(){return U||(U=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function q(){return W||(W=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const K=new WeakMap;const V=new WeakMap;const $=new WeakMap;const J=new WeakMap;const X=new WeakMap;function Y(t){const i=new Promise(((i,n)=>{const e=()=>{t.removeEventListener("success",s);t.removeEventListener("error",r)};const s=()=>{i(st(t.result));e()};const r=()=>{n(t.error);e()};t.addEventListener("success",s);t.addEventListener("error",r)}));i.then((i=>{if(i instanceof IDBCursor){K.set(i,t)}})).catch((()=>{}));X.set(i,t);return i}function Q(t){if(V.has(t))return;const i=new Promise(((i,n)=>{const e=()=>{t.removeEventListener("complete",s);t.removeEventListener("error",r);t.removeEventListener("abort",r)};const s=()=>{i();e()};const r=()=>{n(t.error||new DOMException("AbortError","AbortError"));e()};t.addEventListener("complete",s);t.addEventListener("error",r);t.addEventListener("abort",r)}));V.set(t,i)}let tt={get(t,i,n){if(t instanceof IDBTransaction){if(i==="done")return V.get(t);if(i==="objectStoreNames"){return t.objectStoreNames||$.get(t)}if(i==="store"){return n.objectStoreNames[1]?undefined:n.objectStore(n.objectStoreNames[0])}}return st(t[i])},set(t,i,n){t[i]=n;return true},has(t,i){if(t instanceof IDBTransaction&&(i==="done"||i==="store")){return true}return i in t}};function it(t){tt=t(tt)}function nt(t){if(t===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)){return function(i,...n){const e=t.call(rt(this),i,...n);$.set(e,i.sort?i.sort():[i]);return st(e)}}if(q().includes(t)){return function(...i){t.apply(rt(this),i);return st(K.get(this))}}return function(...i){return st(t.apply(rt(this),i))}}function et(t){if(typeof t==="function")return nt(t);if(t instanceof IDBTransaction)Q(t);if(H(t,G()))return new Proxy(t,tt);return t}function st(t){if(t instanceof IDBRequest)return Y(t);if(J.has(t))return J.get(t);const i=et(t);if(i!==t){J.set(t,i);X.set(i,t)}return i}const rt=t=>X.get(t);function ht(t,i,{blocked:n,upgrade:e,blocking:s,terminated:r}={}){const h=indexedDB.open(t,i);const o=st(h);if(e){h.addEventListener("upgradeneeded",(t=>{e(st(h.result),t.oldVersion,t.newVersion,st(h.transaction),t)}))}if(n){h.addEventListener("blocked",(t=>n(t.oldVersion,t.newVersion,t)))}o.then((t=>{if(r)t.addEventListener("close",(()=>r()));if(s){t.addEventListener("versionchange",(t=>s(t.oldVersion,t.newVersion,t)))}})).catch((()=>{}));return o}function ot(t,{blocked:i}={}){const n=indexedDB.deleteDatabase(t);if(i){n.addEventListener("blocked",(t=>i(t.oldVersion,t)))}return st(n).then((()=>undefined))}const at=["get","getKey","getAll","getAllKeys","count"];const ut=["put","add","delete","clear"];const ft=new Map;function ct(t,i){if(!(t instanceof IDBDatabase&&!(i in t)&&typeof i==="string")){return}if(ft.get(i))return ft.get(i);const n=i.replace(/FromIndex$/,"");const e=i!==n;const s=ut.includes(n);if(!(n in(e?IDBIndex:IDBObjectStore).prototype)||!(s||at.includes(n))){return}const r=async function(t,...i){const r=this.transaction(t,s?"readwrite":"readonly");let h=r.store;if(e)h=h.index(i.shift());return(await Promise.all([h[n](...i),s&&r.done]))[0]};ft.set(i,r);return r}it((t=>({...t,get:(i,n,e)=>ct(i,n)||t.get(i,n,e),has:(i,n)=>!!ct(i,n)||t.has(i,n)})));const lt=Object.freeze({__proto__:null,deleteDB:ot,openDB:ht,unwrap:rt,wrap:st});const dt=R(lt);(function(t,i){(function(t,n){n(i,j.exports,dt)})(Z,(function(t,i,n){const e="tileStore";const s="urlTemplate";let r;function h(){if(r){return r}r=n.openDB("leaflet.offline",2,{upgrade(t,i){n.deleteDB("leaflet_offline");n.deleteDB("leaflet_offline_areas");if(i<1){const i=t.createObjectStore(e,{keyPath:"key"});i.createIndex(s,"urlTemplate");i.createIndex("z","z")}}});return r}async function o(){const t=await h();return t.count(e)}async function a(t){const i=IDBKeyRange.only(t);const n=await h();return n.getAllFromIndex(e,s,i)}async function u(t){const i=await fetch(t);if(!i.ok){throw new Error(`Request failed with status ${i.statusText}`)}return i.blob()}async function f(t,i){const n=await h();return n.put(e,{blob:i,...t})}function c(t,n){return i.Util.template(t,{...n,r:i.Browser.retina?"@2x":""})}function l(t,n){const e=[];if(!t.min||!t.max){return e}const s=t.min.divideBy(n.x).floor();const r=t.max.divideBy(n.x).floor();for(let t=s.y;t<=r.y;t+=1){for(let n=s.x;n<=r.x;n+=1){e.push(new i.Point(n,t))}}return e}function d(t,n){const e={type:"FeatureCollection",features:[]};for(let s=0;s<n.length;s+=1){const r=new i.Point(n[s].x*t.getTileSize().x,n[s].y*t.getTileSize().y);const h=new i.Point(r.x+t.getTileSize().x,r.y+t.getTileSize().y);const o=i.CRS.EPSG3857.pointToLatLng(r,n[s].z);const a=i.CRS.EPSG3857.pointToLatLng(h,n[s].z);e.features.push({type:"Feature",properties:n[s],geometry:{type:"Polygon",coordinates:[[[o.lng,o.lat],[a.lng,o.lat],[a.lng,a.lat],[o.lng,a.lat],[o.lng,o.lat]]]}})}return e}async function v(t){const i=await h();return i.delete(e,t)}async function m(t){return(await h()).get(e,t).then((t=>t&&t.blob))}async function p(t){const i=await h();const n=await i.getKey(e,t);return n!==undefined}async function w(){return(await h()).clear(e)}class g extends i.TileLayer{createTile(t,n){const e=document.createElement("img");i.DomEvent.on(e,"load",i.Util.bind(this._tileOnLoad,this,n,e));i.DomEvent.on(e,"error",i.Util.bind(this._tileOnError,this,n,e));if(this.options.crossOrigin||this.options.crossOrigin===""){e.crossOrigin=this.options.crossOrigin===true?"":this.options.crossOrigin}e.alt="";e.setAttribute("role","presentation");this.setDataUrl(t).then((t=>e.src=t)).catch((()=>e.src=this.getTileUrl(t)));return e}setDataUrl(t){return m(this._getStorageKey(t)).then((t=>{if(t&&typeof t==="object"){return URL.createObjectURL(t)}throw new Error("tile not found in storage")}))}_getStorageKey(t){return c(this._url,{...t,...this.options,s:this.options.subdomains["0"]})}getTileUrls(t,i){const n=[];const e=l(t,this.getTileSize());for(let t=0;t<e.length;t+=1){const s=e[t];const r={...this.options,x:s.x,y:s.y,z:i+(this.options.zoomOffset||0)};n.push({key:c(this._url,{...r,s:this.options.subdomains?.[0]}),url:c(this._url,{...r,s:this._getSubdomain(s)}),z:i,x:s.x,y:s.y,urlTemplate:this._url,createdAt:Date.now()})}return n}}function y(t,i){return new g(t,i)}if(window.L){window.L.tileLayer.offline=y}class _ extends i.Control{status={storagesize:0,lengthToBeSaved:0,lengthSaved:0,lengthLoaded:0,_tilesforSave:[]};constructor(t,i){super(i);this._baseLayer=t;this.setStorageSize();this.options={...{position:"topleft",saveText:"+",rmText:"-",maxZoom:19,saveWhatYouSee:false,bounds:null,confirm:null,confirmRemoval:null,parallel:50,zoomlevels:undefined,alwaysDownload:true},...i}}setStorageSize(){if(this.status.storagesize){return Promise.resolve(this.status.storagesize)}return o().then((t=>{this.status.storagesize=t;this._baseLayer.fire("storagesize",this.status);return t})).catch((()=>0))}getStorageSize(t){this.setStorageSize().then((i=>{if(t){t(i)}}))}setLayer(t){this._baseLayer=t}onAdd(){const t=i.DomUtil.create("div","savetiles leaflet-bar");const{options:n}=this;this._createButton(n.saveText,"savetiles",t,this._saveTiles);this._createButton(n.rmText,"rmtiles",t,this._rmTiles);return t}_createButton(t,n,e,s){const r=i.DomUtil.create("a",n,e);r.innerHTML=t;r.href="#";r.ariaRoleDescription="button";i.DomEvent.on(r,"mousedown dblclick",i.DomEvent.stopPropagation).on(r,"click",i.DomEvent.stop).on(r,"click",s,this).on(r,"click",this._refocusOnMap,this);return r}_saveTiles(){const t=this._calculateTiles();this._resetStatus(t);const i=async()=>{this._baseLayer.fire("savestart",this.status);const i=async()=>{const n=t.shift();if(n===undefined){return Promise.resolve()}const e=await this._loadTile(n);if(e){await this._saveTile(n,e)}return i()};const n=Math.min(t.length,this.options.parallel);for(let t=0;t<n;t+=1){i()}};if(this.options.confirm){this.options.confirm(this.status,i)}else{i()}}_calculateTiles(){let t=[];const n=5;let e=[];if(this.options.saveWhatYouSee){const t=this._map.getZoom();if(t<n){throw new Error(`It's not possible to save with zoom below level ${n}.`)}const{maxZoom:i}=this.options;for(let n=t;n<=i;n+=1){e.push(n)}}else{e=this.options.zoomlevels||[this._map.getZoom()]}const s=this.options.bounds||this._map.getBounds();for(let n=0;n<e.length;n+=1){const r=i.bounds(this._map.project(s.getNorthWest(),e[n]),this._map.project(s.getSouthEast(),e[n]));t=t.concat(this._baseLayer.getTileUrls(r,e[n]))}return t}_resetStatus(t){this.status={lengthLoaded:0,lengthToBeSaved:t.length,lengthSaved:0,_tilesforSave:t,storagesize:this.status.storagesize}}async _loadTile(t){let i;if(this.options.alwaysDownload===true||await p(t.key)===false){i=await u(t.url);this.status.lengthLoaded+=1}this.status.lengthLoaded+=1;this._baseLayer.fire("loadtileend",this.status);if(this.status.lengthLoaded===this.status.lengthToBeSaved){this._baseLayer.fire("loadend",this.status)}return i}async _saveTile(t,i){await f(t,i);this.status.lengthSaved+=1;this._baseLayer.fire("savetileend",this.status);if(this.status.lengthSaved===this.status.lengthToBeSaved){this._baseLayer.fire("saveend",this.status);this.setStorageSize()}}_rmTiles(){const t=()=>{w().then((()=>{this.status.storagesize=0;this._baseLayer.fire("tilesremoved");this._baseLayer.fire("storagesize",this.status)}))};if(this.options.confirmRemoval){this.options.confirmRemoval(this.status,t)}else{t()}}}function b(t,i){return new _(t,i)}if(window.L){window.L.control.savetiles=b}t.downloadTile=u;t.getBlobByKey=m;t.getStorageInfo=a;t.getStorageLength=o;t.getStoredTilesAsJson=d;t.removeTile=v;t.saveTile=f;t.savetiles=b;t.tileLayerOffline=y;t.truncate=w}))})(F,F.exports);const vt=t("BlobWriter");const mt=window.CapacitorWebFetch||window.fetch;function pt(t){return window.btoa(Array.from(new Uint8Array(t)).map((function(t){return String.fromCharCode(t)})).join(""))}function wt({path:t,directory:i,blob:e,recursive:s}){return n.writeFile({directory:i,path:t,recursive:s,data:""}).then((function(){return new Promise((function(n,s){function r(t){s(t.target.error)}const h=window.indexedDB.open("Disc");h.onerror=r;h.onsuccess=function(){const s=h.result;const o=s.transaction("FileStorage","readwrite");o.onerror=r;const a=o.objectStore("FileStorage");const u=`/${i}/${t.replace(/^\//,"")}`;const f=a.get(u);f.onsuccess=function(){f.result.size=e.size;f.result.content=e;const t=a.put(f.result);t.onsuccess=function(){n(undefined)}}}}))}))}function gt({path:t,directory:i,blob:e,recursive:s}){return n.writeFile({directory:i,path:t,recursive:s,data:""}).then((function s(){if(e.size===0){return Promise.resolve()}const r=3*128*1024;const h=e.slice(0,r);e=e.slice(r);return new Response(h).arrayBuffer().then((function e(s){return n.appendFile({directory:i,path:t,data:pt(s)})})).then(s)}))}function yt(t){const{path:e,directory:s,blob:r,fast_mode:h=false,recursive:o,on_fallback:a}=t;if(!r||!Number.isSafeInteger(r.size)||typeof r.type!=="string"){return Promise.reject(new Error("Not a Blob."))}if(i.getPlatform()==="web"){return h?wt(t):gt(t)}return Promise.all([vt.get_config(),n.getUri({path:e,directory:s})]).then((function([t,i]){const n=i.uri.replace("file://","");return mt(t.base_url+n+(o?"?recursive=true":""),{headers:{authorization:t.auth_token},method:"put",body:r}).then((function(t){if(t.status!==204){throw new Error("Bad HTTP status: "+t.status)}return i.uri}))})).catch((function i(n){if(a!==undefined){a(n)}return gt(t)}))}const _t=Object.freeze(yt);const bt=2;async function Mt(){const t=await k("grw",bt,{upgrade(t,i){switch(i){case 0:{const i=[{name:"districts",keyPath:"id"},{name:"treks",keyPath:"id"},{name:"difficulties",keyPath:"id"},{name:"routes",keyPath:"id"},{name:"practices",keyPath:"id"},{name:"themes",keyPath:"id"},{name:"cities",keyPath:"id"},{name:"accessibilities",keyPath:"id"},{name:"ratings",keyPath:"id"},{name:"ratingsScale",keyPath:"id"},{name:"sensitiveAreas",keyPath:"id"},{name:"labels",keyPath:"id"},{name:"sources",keyPath:"id"},{name:"accessibilitiesLevel",keyPath:"id"},{name:"touristicContents",keyPath:"id"},{name:"touristicContentCategories",keyPath:"id"},{name:"touristicEvents",keyPath:"id"},{name:"touristicEventTypes",keyPath:"id"},{name:"networks",keyPath:"id"},{name:"pois",keyPath:"id"},{name:"poiTypes",keyPath:"id"},{name:"informationDesks",keyPath:"id"}];i.forEach((i=>{if(!t.objectStoreNames.contains(i.name)){t.createObjectStore(i.name,{keyPath:i.keyPath})}}))}case 1:{const i=[{name:"outdoorSites",keyPath:"id"},{name:"outdoorSiteTypes",keyPath:"id"},{name:"outdoorPractices",keyPath:"id"},{name:"outdoorCourses",keyPath:"id"},{name:"outdoorCourseTypes",keyPath:"id"},{name:"outdoorRatings",keyPath:"id"},{name:"outdoorRatingsScale",keyPath:"id"}];i.forEach((i=>{if(!t.objectStoreNames.contains(i.name)){t.createObjectStore(i.name,{keyPath:i.keyPath})}}))}case 2:{const i=[{name:"signages",keyPath:"id"}];i.forEach((i=>{if(!t.objectStoreNames.contains(i.name)){t.createObjectStore(i.name,{keyPath:i.keyPath})}}))}}}});return t}async function Pt(t,i){const n=await Mt();const e=await n.get(t,i);n.close();return e}async function kt(t){const i=await Mt();const n=await i.getAll(t);i.close();return n}async function Tt(t,i){if(i){const n=await Mt();const e=n.transaction(t,"readwrite");await Promise.all([...i.map((t=>e.store.put(t))),e.done]);n.close()}}async function Lt(t,i,n=false,h=[]){const o=e(t,i,n,h);const a=[];for(let t=0;t<o.length;t++){const i=await s(o[t]);if(!i){a.push(o[t])}}const u=a.map((t=>fetch(t)));const f=await Promise.all(u).catch((()=>null));if(f){const t=await Promise.all(f.map((t=>t.blob())));for(let i=0;i<t.length;i++){await _t({path:f[i].url,directory:r.Data,blob:t[i],fast_mode:true,recursive:true})}}}async function xt(t,i,n,e){const s=[];for(let r=n;r<=e;r++){s.push(...t.getTileUrls(N.bounds(N.CRS.EPSG3857.latLngToPoint(i.getNorthWest(),r),N.CRS.EPSG3857.latLngToPoint(i.getSouthEast(),r)),r))}const r=[];for(let t=0;t<s.length;t++){if(!await F.exports.getBlobByKey(s[t].key)){r.push(F.exports.downloadTile(s[t].url).catch((()=>null)))}else{r.push(new Promise((t=>t(null))))}}const h=await Promise.all(r).then((t=>t));for(let t=0;t<h.length;t++){if(h[t]){await F.exports.saveTile(s[t],h[t])}}}async function zt(t,i=[]){const n=await kt(t);await h(n,o,i);return n}export{N as L,Pt as a,F as b,Z as c,Lt as d,xt as e,kt as g,zt as h,j as l,Tt as w};
|
|
6
|
-
//# sourceMappingURL=p-
|
|
6
|
+
//# sourceMappingURL=p-f92d0101.js.map
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|