ws-voice-infinity-global-module 1.1.0 → 1.2.0
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/README.md +3 -0
- package/lib/assets/fonts/BebasNeue-Bold.eot +0 -0
- package/lib/assets/fonts/BebasNeue-Bold.ttf +0 -0
- package/lib/assets/fonts/BebasNeue-Bold.woff +0 -0
- package/lib/assets/fonts/BebasNeue-Bold.woff2 +0 -0
- package/lib/assets/images/svg/khv-logo-dark-9-may.svg +170 -0
- package/lib/assets/images/svg/khv-logo-dark-min-9-may.svg +41 -0
- package/lib/assets/images/svg/khv-logo-light-9-may.svg +170 -0
- package/lib/assets/localSave/Control.Geocoder.min.js +1 -1
- package/lib/assets/localSave/leaflet.js +5 -5
- package/lib/assets/localSave/lz-string.js +1 -1
- package/lib/configs.d.ts +1 -0
- package/lib/fontFaces.scss +8 -0
- package/lib/index.css +2 -2
- package/lib/module/components/footer/templates/default/footerTemplate.js +1 -1
- package/lib/module/components/topNavInfinity/templates/default/topNavInfinityTemplate.js +1 -1
- package/lib/module/components/topNavMainPage/templates/default/topNavMainPageTemplate.js +1 -1
- package/lib/module/config/globalConfig.js +1 -1
- package/lib/module/services/utilService.js +1 -1
- package/lib/services.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,3 +21,6 @@
|
|
|
21
21
|
|
|
22
22
|
Принудительно отключить капчу
|
|
23
23
|
- WS_VOICE_INFINITY_CAPTCHA_DISABLED - для отключения устанавливаем true
|
|
24
|
+
|
|
25
|
+
Дата, до которой должен показываться контент к 9 маю
|
|
26
|
+
- WS_VOICE_INFINITY_SHOW_VICTORY_DAY_CONTENT_BEFORE_DATE - устанавливается строкой в формате 'DD.MM.YYYY hh:mm:ss', либо 'DD.MM.YYYY' если время неважно (по умолчанию выставится 10.05.2025)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
<svg width="64" height="53" viewBox="0 0 64 53" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_534_83931)">
|
|
3
|
+
<mask id="mask0_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="43" y="26" width="39" height="9">
|
|
4
|
+
<path d="M50.5623 29.8976C46.0372 29.6642 44.0835 29.9317 44.1741 30.3247L43.1704 27.3746C43.3282 27.0771 45.2668 26.9939 49.144 26.9843C54.641 26.9707 72.9076 27.7525 81.7681 29.6287V34.6475C74.1412 32.2432 56.0744 30.1814 50.5623 29.8976Z" fill="white"/>
|
|
5
|
+
</mask>
|
|
6
|
+
<g mask="url(#mask0_534_83931)">
|
|
7
|
+
<path d="M81.6104 25.0318L42.551 27.0035L43.3282 36.5879L82.3875 34.6162L81.6104 25.0318Z" fill="url(#paint0_linear_534_83931)"/>
|
|
8
|
+
</g>
|
|
9
|
+
<mask id="mask1_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="2" y="21" width="80" height="15">
|
|
10
|
+
<path d="M81.7682 35.9998H2.62061V21.9998H81.7682V35.9998Z" fill="white"/>
|
|
11
|
+
</mask>
|
|
12
|
+
<g mask="url(#mask1_534_83931)">
|
|
13
|
+
<path d="M83.2334 31.2485C75.479 28.9902 55.3325 27.7608 49.4982 27.713C45.1594 27.6721 43.4373 27.8509 43.4306 28.0678L43.2661 27.5657C43.2929 27.3869 44.9663 27.23 49.2615 27.2273C55.1344 27.2218 75.5562 28.2425 83.4265 30.4503L83.2334 31.2485ZM83.0387 32.0481C75.4001 29.738 55.5305 28.3011 49.7348 28.1988C45.3557 28.1156 43.5816 28.3134 43.5967 28.57L43.7612 29.0721C43.7243 28.776 45.5504 28.559 49.9715 28.6846C55.7286 28.8415 75.3212 30.4871 82.8457 32.8464L83.0387 32.0481ZM82.656 33.6228C75.2373 31.2144 55.9233 29.3805 50.2082 29.1703C45.7451 29.0011 43.8686 29.2386 43.9274 29.5742L44.0919 30.0764C44.013 29.7025 45.9398 29.4446 50.4448 29.6561C56.1247 29.9208 75.1634 31.9826 82.4597 34.4442L83.2485 34.7117L83.0773 33.7483C83.0757 33.7483 82.6644 33.6241 82.656 33.6228Z" fill="#221E20"/>
|
|
14
|
+
</g>
|
|
15
|
+
<mask id="mask2_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="43" y="27" width="7" height="6">
|
|
16
|
+
<path d="M46.6331 31.2786C45.0939 30.988 44.2211 30.6564 44.159 30.3958L43.1687 27.3747C43.2241 27.5466 44.6625 27.7445 46.717 27.8482C48.0262 27.9151 48.5666 28.0856 48.5834 28.2821L49.1356 32.448C49.087 32.0646 48.5029 31.632 46.6331 31.2786Z" fill="white"/>
|
|
17
|
+
</mask>
|
|
18
|
+
<g mask="url(#mask2_534_83931)">
|
|
19
|
+
<path d="M43.1939 32.7141L49.5922 32.4276L49.1121 27.1087L42.7155 27.3952L43.1939 32.7141Z" fill="url(#paint1_linear_534_83931)"/>
|
|
20
|
+
</g>
|
|
21
|
+
<mask id="mask3_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="43" y="27" width="7" height="6">
|
|
22
|
+
<path d="M46.6968 28.7064C44.775 28.5399 43.4809 28.3284 43.4171 28.1306L43.2526 27.627C43.3097 27.8017 44.7045 27.9941 46.7119 28.1347C48.0681 28.2288 48.6287 28.4212 48.6321 28.63L48.716 29.2631C48.6388 29.0448 48.0278 28.821 46.6968 28.7064ZM48.716 29.2631C48.7227 29.2836 48.7261 29.304 48.7244 29.3232L48.716 29.2631ZM43.9123 29.6411L43.9223 29.6697C43.9173 29.6602 43.914 29.6506 43.9123 29.6411ZM46.6683 29.8485C44.921 29.6179 43.7696 29.3573 43.7461 29.1362L43.5816 28.6327C43.6521 28.8497 44.8472 29.0762 46.6817 29.2768C48.2309 29.446 48.7764 29.7434 48.8134 30.0177L48.9057 30.7122C48.8671 30.4107 48.3115 30.0655 46.6683 29.8485ZM46.6398 30.9933C45.0587 30.7136 44.1305 30.3984 44.0768 30.1446L43.9207 29.6697C44.0331 29.9003 45.057 30.176 46.6549 30.4216C48.3904 30.689 48.9426 31.0629 48.9997 31.4068L49.092 32.1013C49.0416 31.7247 48.4659 31.3154 46.6398 30.9933Z" fill="white"/>
|
|
23
|
+
</mask>
|
|
24
|
+
<g mask="url(#mask3_534_83931)">
|
|
25
|
+
<path d="M43.5732 33.1821L50.3458 31.8544L48.7697 26.5451L41.9988 27.8728L43.5732 33.1821Z" fill="url(#paint2_linear_534_83931)"/>
|
|
26
|
+
</g>
|
|
27
|
+
<mask id="mask4_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="28" y="26" width="22" height="7">
|
|
28
|
+
<path d="M29.2879 30.3833L29.2963 30.4557C29.2896 30.4311 29.2862 30.4065 29.2879 30.3833ZM46.2302 32.9609C42.3161 32.7699 35.9598 30.3629 31.824 29.8894C30.258 29.7106 29.298 29.9781 29.2862 30.3833L28.8985 26.7878C28.9488 26.7019 29.7428 26.7046 31.1241 26.8629C35.2582 27.3364 39.9813 28.9356 43.8955 29.1266C46.2621 29.2412 48.6187 28.7036 48.5834 28.282L49.1356 32.4479C49.0198 32.7535 48.2276 32.9773 46.8915 32.9773C46.6851 32.9773 46.4635 32.9718 46.2302 32.9609Z" fill="white"/>
|
|
29
|
+
</mask>
|
|
30
|
+
<g mask="url(#mask4_534_83931)">
|
|
31
|
+
<path d="M49.0551 25.7959L28.3379 26.7265L28.9824 33.8821L49.6996 32.9528L49.0551 25.7959Z" fill="url(#paint3_linear_534_83931)"/>
|
|
32
|
+
</g>
|
|
33
|
+
<mask id="mask5_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="29" y="26" width="21" height="7">
|
|
34
|
+
<path d="M29.1687 28.9069L29.1704 28.9233C29.1687 28.9178 29.1687 28.9123 29.1687 28.9069ZM44.4796 30.0845C40.5654 29.8934 35.4344 28.0923 31.3004 27.6188C29.8502 27.4523 29.0798 27.5205 29.0697 27.6966L29.0193 27.0839C29.0563 26.9679 29.7797 26.9543 31.1846 27.1153C35.3186 27.5888 40.1777 29.2562 44.0919 29.4472C46.4048 29.5605 48.6522 29.0461 48.6321 28.6299L48.7244 29.3244C48.7177 29.6888 47.0728 30.1022 45.1325 30.1022C44.9177 30.1008 44.6995 30.0954 44.4796 30.0845ZM29.2644 30.079L29.2694 30.15C29.2644 30.1254 29.2627 30.1022 29.2644 30.079ZM45.2584 31.363C41.3442 31.172 35.6677 29.1006 31.5337 28.6272C30.0214 28.4539 29.162 28.6203 29.1687 28.9055L29.1201 28.3092C29.1049 28.0732 29.9207 27.9517 31.4179 28.1223C35.5519 28.5958 40.9548 30.532 44.8707 30.7231C46.9738 30.8254 48.7815 30.4092 48.8167 30.0162L48.909 30.7108C48.852 31.0506 47.5915 31.378 45.9063 31.378C45.6948 31.3794 45.48 31.3739 45.2584 31.363ZM46.0355 32.6416C42.1214 32.4506 35.8993 30.1104 31.767 29.6369C30.2278 29.4609 29.2896 29.7038 29.2661 30.079L29.2224 29.5373C29.1553 29.1825 30.0633 28.9506 31.6528 29.1334C35.7869 29.6069 41.7353 31.8133 45.6495 32.003C47.5428 32.0958 48.909 31.7778 49.0013 31.4067L49.0937 32.1012C48.9896 32.4137 48.1051 32.658 46.6952 32.658C46.4853 32.658 46.2655 32.6525 46.0355 32.6416Z" fill="white"/>
|
|
35
|
+
</mask>
|
|
36
|
+
<g mask="url(#mask5_534_83931)">
|
|
37
|
+
<path d="M32.2269 38.636L51.6617 31.7465L45.8845 20.975L26.448 27.8658L32.2269 38.636Z" fill="url(#paint4_linear_534_83931)"/>
|
|
38
|
+
</g>
|
|
39
|
+
<mask id="mask6_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="28" y="26" width="6" height="7">
|
|
40
|
+
<path d="M31.7183 31.5106C30.0163 31.2063 29.2258 30.8078 29.1419 30.4735L28.9002 26.7879C28.9203 26.9039 29.6756 27.0895 31.3826 27.3447C32.5508 27.5193 33.2071 27.7854 33.2172 28.0351L33.4404 32.3224C33.4001 32.0141 32.8227 31.707 31.7183 31.5106ZM33.4404 32.3224C33.4421 32.3361 33.4421 32.3511 33.4421 32.3647L33.4404 32.3224Z" fill="white"/>
|
|
41
|
+
</mask>
|
|
42
|
+
<g mask="url(#mask6_534_83931)">
|
|
43
|
+
<path d="M28.9186 32.5681L33.9423 32.343L33.4236 26.5847L28.4 26.8098L28.9186 32.5681Z" fill="url(#paint5_linear_534_83931)"/>
|
|
44
|
+
</g>
|
|
45
|
+
<mask id="mask7_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="28" y="27" width="6" height="6">
|
|
46
|
+
<path d="M28.9203 27.095V27.0991C28.9203 27.0977 28.9203 27.0964 28.9203 27.095ZM29.0009 28.3231V28.3353C29.0009 28.3312 29.0009 28.3272 29.0009 28.3231ZM31.4665 28.3858C29.7612 28.1184 28.9304 27.8646 28.9606 27.709L28.9203 27.0991C28.9371 27.2369 29.7209 27.4361 31.4111 27.6926C32.5777 27.87 33.1718 28.132 33.1802 28.3886L33.2272 29.0954C33.197 28.8307 32.6079 28.5646 31.4665 28.3858ZM33.2272 29.094C33.2272 29.0995 33.2289 29.1049 33.2289 29.1104L33.2272 29.094ZM31.579 29.7749C29.8754 29.4911 29.063 29.1732 29.0412 28.9371L29.0009 28.3353C29.0311 28.5305 29.8535 28.8102 31.5219 29.0804C32.6834 29.2687 33.2725 29.5539 33.2742 29.8336L33.3195 30.5268C33.2826 30.2443 32.6985 29.9605 31.579 29.7749ZM33.3212 30.5268C33.3229 30.5363 33.3229 30.5472 33.3229 30.5568L33.3212 30.5268ZM31.6914 31.1626C29.9895 30.8624 29.1939 30.479 29.1234 30.1652L29.0831 29.5511C29.1284 29.8254 29.9324 30.1774 31.6361 30.4681C32.7942 30.6659 33.3766 30.9743 33.3716 31.2786L33.4169 31.9568C33.3682 31.6566 32.7908 31.3564 31.6914 31.1626ZM33.4152 31.9581C33.4169 31.9732 33.4186 31.9882 33.4186 32.0032L33.4152 31.9581Z" fill="white"/>
|
|
47
|
+
</mask>
|
|
48
|
+
<g mask="url(#mask7_534_83931)">
|
|
49
|
+
<path d="M29.6387 33.343L35.6308 31.2185L32.7002 25.7549L26.7081 27.8781L29.6387 33.343Z" fill="url(#paint6_linear_534_83931)"/>
|
|
50
|
+
</g>
|
|
51
|
+
<mask id="mask8_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="2" y="23" width="32" height="11">
|
|
52
|
+
<path d="M27.3291 33.3334C17.8308 32.7672 7.60058 30.1773 2.62061 27.9968V23.9278C9.58787 27.2777 20.993 28.5781 27.1412 28.8141C31.2282 28.9711 33.2323 28.5071 33.2172 28.0282L33.4421 32.3633C33.4236 32.8777 31.9835 33.3866 29.0848 33.3866C28.5494 33.388 27.9636 33.3703 27.3291 33.3334Z" fill="white"/>
|
|
53
|
+
</mask>
|
|
54
|
+
<g mask="url(#mask8_534_83931)">
|
|
55
|
+
<path d="M33.3162 22.3231L1.88209 23.966L2.74649 34.9927L34.1806 33.3498L33.3162 22.3231Z" fill="url(#paint7_linear_534_83931)"/>
|
|
56
|
+
</g>
|
|
57
|
+
<mask id="mask9_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="2" y="24" width="32" height="10">
|
|
58
|
+
<path d="M27.1932 29.9439C19.9355 29.6178 8.75368 27.8248 2.62061 24.9402V24.2648C9.30253 27.4564 20.6371 28.9219 27.163 29.1921C31.2483 29.3572 33.2541 28.881 33.2423 28.3911C33.2574 28.432 33.286 29.0556 33.2793 29.1143C33.2843 29.5523 31.8123 29.9835 28.828 29.9835C28.3261 29.9835 27.7823 29.9712 27.1932 29.9439ZM27.257 31.4504C18.6297 31.0001 7.78353 28.6299 2.62061 26.2897V25.6157C8.24511 28.2151 19.2625 30.3096 27.2251 30.6971C31.3054 30.8964 33.3162 30.3683 33.3162 29.8348L33.3531 30.558C33.3464 31.0287 31.8945 31.4968 28.9589 31.4968C28.4386 31.4981 27.8713 31.4831 27.257 31.4504ZM27.3191 32.9568C17.8694 32.4028 7.47134 29.7256 2.62061 27.6406V26.9638C7.37735 29.0747 18.0439 31.6837 27.2872 32.2036C31.3658 32.4246 33.3783 31.8584 33.3917 31.2812L33.4286 32.003C33.4119 32.5092 31.9701 33.01 29.0596 33.01C28.5292 33.01 27.9485 32.9936 27.3191 32.9568Z" fill="white"/>
|
|
59
|
+
</mask>
|
|
60
|
+
<g mask="url(#mask9_534_83931)">
|
|
61
|
+
<path d="M7.54352 42.1865L37.3713 31.6128L28.5074 15.0871L-1.32208 25.6608L7.54352 42.1865Z" fill="url(#paint8_linear_534_83931)"/>
|
|
62
|
+
</g>
|
|
63
|
+
</g>
|
|
64
|
+
<path d="M31.3061 28.9399V17.8999H35.7695V19.4749H32.989V28.9399H31.3061Z" fill="#151617"/>
|
|
65
|
+
<path d="M36.4427 20.5548C36.4427 18.7848 37.35 17.7798 39.0183 17.7798C40.6866 17.7798 41.5939 18.7848 41.5939 20.5548V26.2998C41.5939 28.0698 40.6866 29.0748 39.0183 29.0748C37.35 29.0748 36.4427 28.0698 36.4427 26.2998V20.5548ZM38.1403 26.4048C38.1403 27.1998 38.4768 27.4998 39.0183 27.4998C39.5598 27.4998 39.8964 27.1998 39.8964 26.4048V20.4498C39.8964 19.6548 39.5598 19.3548 39.0183 19.3548C38.4768 19.3548 38.1403 19.6548 38.1403 20.4498V26.4048Z" fill="#151617"/>
|
|
66
|
+
<path d="M42.0915 27.3799C42.8671 27.3799 43.1012 27.2749 43.1305 26.2399L43.4086 17.8999H48.2085V28.9399H46.4817V19.4749H45.0037L44.8134 26.1499C44.7549 28.1749 44.0378 28.9549 42.3549 28.9549H42.0915V27.3799Z" fill="#151617"/>
|
|
67
|
+
<path d="M49.0281 20.5548C49.0281 18.7848 49.9354 17.7798 51.6037 17.7798C53.272 17.7798 54.1793 18.7848 54.1793 20.5548V26.2998C54.1793 28.0698 53.272 29.0748 51.6037 29.0748C49.9354 29.0748 49.0281 28.0698 49.0281 26.2998V20.5548ZM50.7256 26.4048C50.7256 27.1998 51.0622 27.4998 51.6037 27.4998C52.1451 27.4998 52.4817 27.1998 52.4817 26.4048V20.4498C52.4817 19.6548 52.1451 19.3548 51.6037 19.3548C51.0622 19.3548 50.7256 19.6548 50.7256 20.4498V26.4048Z" fill="#151617"/>
|
|
68
|
+
<path d="M59.9305 24.8298V26.2998C59.9305 28.0698 59.0671 29.0748 57.4134 29.0748C55.7451 29.0748 54.8964 28.0698 54.8964 26.2998V20.5548C54.8964 18.7848 55.7598 17.7798 57.4134 17.7798C59.0817 17.7798 59.9305 18.7848 59.9305 20.5548V21.6198H58.3354V20.4348C58.3354 19.6398 57.9988 19.3398 57.4573 19.3398C56.9159 19.3398 56.5793 19.6398 56.5793 20.4348V26.4048C56.5793 27.1998 56.9159 27.4698 57.4573 27.4698C57.9988 27.4698 58.3354 27.1848 58.3354 26.4048V24.8298H59.9305Z" fill="#151617"/>
|
|
69
|
+
<path d="M35.9305 34.4147C35.9305 37.5947 32.0378 38.7047 31.9939 41.9447V42.0647H35.8427V42.7247H31.2915V42.1847C31.2915 38.2847 35.2281 37.4597 35.2281 34.4297C35.2281 33.1547 34.8183 32.2547 33.589 32.2547C32.4037 32.2547 31.9793 33.1997 31.9793 34.3847V35.1347H31.3061V34.4297C31.3061 32.8397 31.9646 31.5947 33.6329 31.5947C35.2866 31.6097 35.9305 32.8097 35.9305 34.4147Z" fill="#151617"/>
|
|
70
|
+
<path d="M40.4963 32.3598H36.5451V31.6848H41.2281V32.3448L38.1988 42.7398H37.4817L40.4963 32.3598Z" fill="#151617"/>
|
|
71
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M26.528 1.77481C23.689 -1.43519 16.6939 -0.0401934 14.3817 3.94981C12.0841 7.93981 13.0061 9.70981 13.9573 10.6998C16.4598 13.0698 19.928 12.9948 22.7085 12.1548C23.2061 12.6798 24.0988 13.4148 25.1524 13.1148C24.5085 12.6198 24.6549 11.8398 24.8598 11.2848C25.7963 10.8048 26.5427 10.2798 26.9671 9.82981C28.6939 7.93981 29.3671 4.98481 26.528 1.77481Z" fill="#5FBEE5"/>
|
|
72
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.0793 28.0997C14.6744 24.1547 0.859753 31.0847 0.113411 37.0247C-0.20854 39.3497 1.28414 41.7197 3.55244 43.6997C2.9817 44.8547 1.97195 45.1847 1.97195 45.1847C3.43536 46.2047 4.7817 45.7097 5.55731 45.2297C9.62561 47.9297 14.8793 49.3397 17.3817 47.6897C21.9037 44.6897 23.4841 32.0447 19.0793 28.0997Z" fill="#8DCD55"/>
|
|
73
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.1085 45.7249C11.2061 42.6499 3.0256 48.3199 5.65974 50.9449C6.55242 51.8299 7.63535 52.0849 8.71828 51.9499C9.40608 52.3399 10.489 52.8499 10.9573 52.9549C10.6207 52.3999 10.6353 51.7399 10.7378 51.2449C12.9768 49.9549 14.528 47.3149 13.1085 45.7249Z" fill="#F6D05B"/>
|
|
74
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.7378 19.3099C18.9768 16.1299 20.0597 12.6799 18.6402 11.5699C15.6549 9.21491 10.7524 7.53491 6.28901 11.7949C1.8256 16.0549 0.347548 23.9149 6.93291 25.2799C9.50852 25.8049 12.3036 24.1999 14.6012 21.8899C15.4793 22.3699 16.8988 22.9399 18.0549 22.3549C17.2646 21.7399 16.8988 20.2549 16.7378 19.3099Z" fill="#EF6969"/>
|
|
75
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.7671 23.7497C8.49877 22.6247 2.14755 23.1197 0.757308 26.5847C0.30365 27.7097 0.728041 28.6247 1.59146 29.3147C0.801211 30.4997 0.0695038 30.6047 0.0695038 30.6047C1.62072 31.4897 2.89389 30.5597 3.27438 30.2297C5.16219 30.9347 7.56219 31.0547 8.84999 30.4997C11.3963 29.3897 13.0207 24.8747 10.7671 23.7497Z" fill="#E779AF"/>
|
|
76
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.9573 10.6997C15.4793 12.1547 17.3671 12.6797 19.2402 12.6947C19.1671 12.2147 18.9768 11.8397 18.6402 11.5697C17.1622 10.3997 15.2012 9.39471 13.0646 9.19971C13.2549 9.84471 13.6061 10.3247 13.9573 10.6997Z" fill="#E54445"/>
|
|
77
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.7671 23.7497C9.36219 23.0447 6.39145 22.9697 4.00609 23.8397C4.70853 24.5147 5.67438 25.0097 6.93292 25.2647C8.41097 25.5647 9.96218 25.1597 11.4549 24.3347C11.2793 24.0947 11.0597 23.8847 10.7671 23.7497Z" fill="#E25490"/>
|
|
78
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.07439 30.6948C6.50853 30.9348 7.95731 30.8748 8.85 30.4848C9.99146 29.9898 10.9427 28.8348 11.4402 27.5898C9.25975 28.2498 6.99146 29.3598 5.07439 30.6948Z" fill="#DE5396"/>
|
|
79
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.45975 46.3548C9.44999 47.3898 11.5573 48.0948 13.4012 48.3198C13.7671 47.3898 13.7378 46.4448 13.0939 45.7248C12.128 44.1198 9.44999 44.8848 7.45975 46.3548Z" fill="#F0C534"/>
|
|
80
|
+
<defs>
|
|
81
|
+
<linearGradient id="paint0_linear_534_83931" x1="83.499" y1="29.7464" x2="43.6242" y2="32.9786" gradientUnits="userSpaceOnUse">
|
|
82
|
+
<stop stop-color="#F9B621"/>
|
|
83
|
+
<stop offset="0.2" stop-color="#FEEDD8"/>
|
|
84
|
+
<stop offset="0.3" stop-color="#FFDD74"/>
|
|
85
|
+
<stop offset="0.5" stop-color="#DD8A22"/>
|
|
86
|
+
<stop offset="0.8" stop-color="#FFDD74"/>
|
|
87
|
+
<stop offset="1" stop-color="#DB751B"/>
|
|
88
|
+
</linearGradient>
|
|
89
|
+
<linearGradient id="paint1_linear_534_83931" x1="43.4102" y1="30.0345" x2="48.8761" y2="29.5423" gradientUnits="userSpaceOnUse">
|
|
90
|
+
<stop stop-color="#DD8A22"/>
|
|
91
|
+
<stop offset="0.0487" stop-color="#E9A63E"/>
|
|
92
|
+
<stop offset="0.1034" stop-color="#F2BE56"/>
|
|
93
|
+
<stop offset="0.1613" stop-color="#F9D067"/>
|
|
94
|
+
<stop offset="0.224" stop-color="#FEDA71"/>
|
|
95
|
+
<stop offset="0.3" stop-color="#FFDD74"/>
|
|
96
|
+
<stop offset="0.7778" stop-color="#C87B19"/>
|
|
97
|
+
<stop offset="1" stop-color="#C87B19"/>
|
|
98
|
+
</linearGradient>
|
|
99
|
+
<linearGradient id="paint2_linear_534_83931" x1="44.0406" y1="30.2813" x2="48.7151" y2="28.8944" gradientUnits="userSpaceOnUse">
|
|
100
|
+
<stop stop-color="#221E20"/>
|
|
101
|
+
<stop offset="0.0976" stop-color="#302E30"/>
|
|
102
|
+
<stop offset="0.2197" stop-color="#3C3B3D"/>
|
|
103
|
+
<stop offset="0.33" stop-color="#404041"/>
|
|
104
|
+
<stop offset="0.3408" stop-color="#3F3F40"/>
|
|
105
|
+
<stop offset="0.5462" stop-color="#2F2D2E"/>
|
|
106
|
+
<stop offset="0.7614" stop-color="#252223"/>
|
|
107
|
+
<stop offset="1" stop-color="#221E20"/>
|
|
108
|
+
</linearGradient>
|
|
109
|
+
<linearGradient id="paint3_linear_534_83931" x1="48.8627" y1="29.3964" x2="29.2944" y2="31.1586" gradientUnits="userSpaceOnUse">
|
|
110
|
+
<stop stop-color="#E4A50D"/>
|
|
111
|
+
<stop offset="0.2" stop-color="#FCE0B7"/>
|
|
112
|
+
<stop offset="0.3801" stop-color="#FFDD74"/>
|
|
113
|
+
<stop offset="0.4562" stop-color="#FBD36A"/>
|
|
114
|
+
<stop offset="0.5858" stop-color="#F0B84F"/>
|
|
115
|
+
<stop offset="0.7522" stop-color="#DE8C24"/>
|
|
116
|
+
<stop offset="0.7602" stop-color="#DD8A22"/>
|
|
117
|
+
<stop offset="1" stop-color="#B36317"/>
|
|
118
|
+
</linearGradient>
|
|
119
|
+
<linearGradient id="paint4_linear_534_83931" x1="30.6777" y1="32.7743" x2="46.3463" y2="24.3698" gradientUnits="userSpaceOnUse">
|
|
120
|
+
<stop stop-color="#221E20"/>
|
|
121
|
+
<stop offset="0.3828" stop-color="#242022"/>
|
|
122
|
+
<stop offset="0.5705" stop-color="#2B282A"/>
|
|
123
|
+
<stop offset="0.7151" stop-color="#363536"/>
|
|
124
|
+
<stop offset="0.7953" stop-color="#404041"/>
|
|
125
|
+
<stop offset="0.8784" stop-color="#373537"/>
|
|
126
|
+
<stop offset="1" stop-color="#221E20"/>
|
|
127
|
+
</linearGradient>
|
|
128
|
+
<linearGradient id="paint5_linear_534_83931" x1="29.0694" y1="29.6708" x2="33.3298" y2="29.2871" gradientUnits="userSpaceOnUse">
|
|
129
|
+
<stop stop-color="#DD8A22"/>
|
|
130
|
+
<stop offset="0.0487" stop-color="#E9A63E"/>
|
|
131
|
+
<stop offset="0.1034" stop-color="#F2BE56"/>
|
|
132
|
+
<stop offset="0.1613" stop-color="#F9D067"/>
|
|
133
|
+
<stop offset="0.224" stop-color="#FEDA71"/>
|
|
134
|
+
<stop offset="0.3" stop-color="#FFDD74"/>
|
|
135
|
+
<stop offset="0.7778" stop-color="#C87B19"/>
|
|
136
|
+
<stop offset="1" stop-color="#C87B19"/>
|
|
137
|
+
</linearGradient>
|
|
138
|
+
<linearGradient id="paint6_linear_534_83931" x1="29.163" y1="30.2597" x2="33.0791" y2="28.1591" gradientUnits="userSpaceOnUse">
|
|
139
|
+
<stop stop-color="#221E20"/>
|
|
140
|
+
<stop offset="0.0976" stop-color="#302E30"/>
|
|
141
|
+
<stop offset="0.2197" stop-color="#3C3B3D"/>
|
|
142
|
+
<stop offset="0.33" stop-color="#404041"/>
|
|
143
|
+
<stop offset="0.3408" stop-color="#3F3F40"/>
|
|
144
|
+
<stop offset="0.5462" stop-color="#2F2D2E"/>
|
|
145
|
+
<stop offset="0.7614" stop-color="#252223"/>
|
|
146
|
+
<stop offset="1" stop-color="#221E20"/>
|
|
147
|
+
</linearGradient>
|
|
148
|
+
<linearGradient id="paint7_linear_534_83931" x1="33.205" y1="27.8641" x2="0.84324" y2="30.3985" gradientUnits="userSpaceOnUse">
|
|
149
|
+
<stop stop-color="#F9B621"/>
|
|
150
|
+
<stop offset="0.2" stop-color="#FEEDD8"/>
|
|
151
|
+
<stop offset="0.3" stop-color="#FFDD74"/>
|
|
152
|
+
<stop offset="0.5" stop-color="#DD8A22"/>
|
|
153
|
+
<stop offset="0.8" stop-color="#FFDD74"/>
|
|
154
|
+
<stop offset="1" stop-color="#DC9315"/>
|
|
155
|
+
</linearGradient>
|
|
156
|
+
<linearGradient id="paint8_linear_534_83931" x1="4.52764" y1="33.4213" x2="28.9216" y2="20.3365" gradientUnits="userSpaceOnUse">
|
|
157
|
+
<stop stop-color="#221E20"/>
|
|
158
|
+
<stop offset="0.3772" stop-color="#242022"/>
|
|
159
|
+
<stop offset="0.5621" stop-color="#2B282A"/>
|
|
160
|
+
<stop offset="0.7046" stop-color="#363536"/>
|
|
161
|
+
<stop offset="0.7836" stop-color="#404041"/>
|
|
162
|
+
<stop offset="0.8571" stop-color="#3A393B"/>
|
|
163
|
+
<stop offset="0.9612" stop-color="#2A2729"/>
|
|
164
|
+
<stop offset="1" stop-color="#221E20"/>
|
|
165
|
+
</linearGradient>
|
|
166
|
+
<clipPath id="clip0_534_83931">
|
|
167
|
+
<rect width="59" height="14" fill="white" transform="matrix(1 0 0 -1 5 36)"/>
|
|
168
|
+
</clipPath>
|
|
169
|
+
</defs>
|
|
170
|
+
</svg>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<svg width="30" height="54" viewBox="0 0 30 54" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_560_26975)">
|
|
3
|
+
<g clip-path="url(#clip1_560_26975)">
|
|
4
|
+
<mask id="mask0_560_26975" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="-9" y="24" width="40" height="9">
|
|
5
|
+
<path d="M-0.801525 27.8976C-5.2905 27.6642 -7.22861 27.9317 -7.1387 28.3247L-8.1344 25.3746C-7.97788 25.0771 -6.05475 24.9939 -2.20849 24.9843C3.24454 24.9707 21.3653 25.7525 30.155 27.6287V32.6475C22.5891 30.2432 4.66649 28.1814 -0.801525 27.8976Z" fill="white"/>
|
|
6
|
+
</mask>
|
|
7
|
+
<g mask="url(#mask0_560_26975)">
|
|
8
|
+
<path d="M29.9986 23.0318L-8.74878 25.0035L-7.97786 34.5879L30.7695 32.6162L29.9986 23.0318Z" fill="url(#paint0_linear_560_26975)"/>
|
|
9
|
+
</g>
|
|
10
|
+
<mask id="mask1_560_26975" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="-49" y="19" width="80" height="15">
|
|
11
|
+
<path d="M30.155 33.9998H-48.3604V19.9998H30.155V33.9998Z" fill="white"/>
|
|
12
|
+
</mask>
|
|
13
|
+
<g mask="url(#mask1_560_26975)">
|
|
14
|
+
<path d="M31.6086 29.2485C23.9161 26.9902 3.93048 25.7608 -1.85723 25.713C-6.16138 25.6721 -7.86972 25.8509 -7.87638 26.0678L-8.03955 25.5657C-8.01291 25.3869 -6.35286 25.23 -2.092 25.2273C3.73401 25.2218 23.9926 26.2425 31.8001 28.4503L31.6086 29.2485ZM31.4154 30.0481C23.8378 27.738 4.12696 26.3011 -1.62245 26.1988C-5.96656 26.1156 -7.72652 26.3134 -7.71154 26.57L-7.54836 27.0721C-7.58499 26.776 -5.77342 26.559 -1.38769 26.6846C4.32343 26.8415 23.7595 28.4871 31.224 30.8464L31.4154 30.0481ZM31.0358 31.6228C23.6763 29.2144 4.51658 27.3805 -1.15291 27.1703C-5.58028 27.0011 -7.4418 27.2386 -7.38352 27.5742L-7.22035 28.0764C-7.2986 27.7025 -5.38713 27.4446 -0.918141 27.6561C4.71638 27.9208 23.603 29.9826 30.841 32.4442L31.6236 32.7117L31.4537 31.7483C31.4521 31.7483 31.0441 31.6241 31.0358 31.6228Z" fill="#221E20"/>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
<path d="M2.01331 25.1318V15.1091H6.06543V16.539H3.54116V25.1318H2.01331Z" fill="#151617"/>
|
|
18
|
+
<path d="M6.67651 17.5193C6.67651 15.9124 7.50022 15 9.01479 15C10.5294 15 11.3531 15.9124 11.3531 17.5193V22.7349C11.3531 24.3418 10.5294 25.2542 9.01479 25.2542C7.50022 25.2542 6.67651 24.3418 6.67651 22.7349V17.5193ZM8.21765 22.8302C8.21765 23.552 8.52322 23.8243 9.01479 23.8243C9.50636 23.8243 9.81193 23.552 9.81193 22.8302V17.424C9.81193 16.7022 9.50636 16.4299 9.01479 16.4299C8.52322 16.4299 8.21765 16.7022 8.21765 17.424V22.8302Z" fill="#151617"/>
|
|
19
|
+
<path d="M11.8048 23.7156C12.5089 23.7156 12.7215 23.6202 12.7481 22.6806L13.0005 15.1091H17.3582V25.1318H15.7905V16.539H14.4487L14.2759 22.5989C14.2228 24.4373 13.5718 25.1454 12.0439 25.1454H11.8048V23.7156V23.7156Z" fill="#151617"/>
|
|
20
|
+
<path d="M18.1022 17.5193C18.1022 15.9124 18.9259 15 20.4404 15C21.955 15 22.7787 15.9124 22.7787 17.5193V22.7349C22.7787 24.3418 21.955 25.2542 20.4404 25.2542C18.9259 25.2542 18.1022 24.3418 18.1022 22.7349V17.5193ZM19.6433 22.8302C19.6433 23.552 19.9489 23.8243 20.4404 23.8243C20.932 23.8243 21.2376 23.552 21.2376 22.8302V17.424C21.2376 16.7022 20.932 16.4299 20.4404 16.4299C19.9489 16.4299 19.6433 16.7022 19.6433 17.424V22.8302Z" fill="#151617"/>
|
|
21
|
+
<path d="M27.9999 21.4004V22.7349C27.9999 24.3418 27.2161 25.2542 25.7148 25.2542C24.2003 25.2542 23.4297 24.3418 23.4297 22.7349V17.5193C23.4297 15.9124 24.2135 15 25.7148 15C27.2294 15 27.9999 15.9124 27.9999 17.5193V18.4862H26.5518V17.4103C26.5518 16.6886 26.2462 16.4162 25.7547 16.4162C25.2631 16.4162 24.9575 16.6886 24.9575 17.4103V22.8302C24.9575 23.552 25.2631 23.7971 25.7547 23.7971C26.2462 23.7971 26.5518 23.5383 26.5518 22.8302V21.4004H27.9999Z" fill="#151617"/>
|
|
22
|
+
<path d="M6.21155 30.1021C6.21155 32.9891 2.67757 33.9968 2.63771 36.9383V37.0472H6.13184V37.6464H2V37.1562C2 33.6155 5.57384 32.8665 5.57384 30.1158C5.57384 28.9582 5.20184 28.1412 4.08585 28.1412C3.00971 28.1412 2.62443 28.9991 2.62443 30.0749V30.7558H2.01329V30.1158C2.01329 28.6723 2.61114 27.542 4.1257 27.542C5.62698 27.5556 6.21155 28.645 6.21155 30.1021Z" fill="#151617"/>
|
|
23
|
+
<path d="M10.3567 28.2366H6.76953V27.6238H11.0209V28.223L8.27081 37.6601H7.61981L10.3567 28.2366Z" fill="#151617"/>
|
|
24
|
+
</g>
|
|
25
|
+
<defs>
|
|
26
|
+
<linearGradient id="paint0_linear_560_26975" x1="31.8721" y1="27.7464" x2="-7.68831" y2="30.9275" gradientUnits="userSpaceOnUse">
|
|
27
|
+
<stop stop-color="#F9B621"/>
|
|
28
|
+
<stop offset="0.2" stop-color="#FEEDD8"/>
|
|
29
|
+
<stop offset="0.3" stop-color="#FFDD74"/>
|
|
30
|
+
<stop offset="0.5" stop-color="#DD8A22"/>
|
|
31
|
+
<stop offset="0.8" stop-color="#FFDD74"/>
|
|
32
|
+
<stop offset="1" stop-color="#DB751B"/>
|
|
33
|
+
</linearGradient>
|
|
34
|
+
<clipPath id="clip0_560_26975">
|
|
35
|
+
<rect width="30" height="54" fill="white"/>
|
|
36
|
+
</clipPath>
|
|
37
|
+
<clipPath id="clip1_560_26975">
|
|
38
|
+
<rect width="76" height="14" fill="white" transform="matrix(1 0 0 -1 -46 34)"/>
|
|
39
|
+
</clipPath>
|
|
40
|
+
</defs>
|
|
41
|
+
</svg>
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
<svg width="64" height="53" viewBox="0 0 64 53" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_534_83931)">
|
|
3
|
+
<mask id="mask0_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="43" y="26" width="39" height="9">
|
|
4
|
+
<path d="M50.5623 29.8976C46.0372 29.6642 44.0835 29.9317 44.1741 30.3247L43.1704 27.3746C43.3282 27.0771 45.2668 26.9939 49.144 26.9843C54.641 26.9707 72.9076 27.7525 81.7681 29.6287V34.6475C74.1412 32.2432 56.0744 30.1814 50.5623 29.8976Z" fill="white"/>
|
|
5
|
+
</mask>
|
|
6
|
+
<g mask="url(#mask0_534_83931)">
|
|
7
|
+
<path d="M81.6104 25.0318L42.551 27.0035L43.3282 36.5879L82.3875 34.6162L81.6104 25.0318Z" fill="url(#paint0_linear_534_83931)"/>
|
|
8
|
+
</g>
|
|
9
|
+
<mask id="mask1_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="2" y="21" width="80" height="15">
|
|
10
|
+
<path d="M81.7682 35.9998H2.62061V21.9998H81.7682V35.9998Z" fill="white"/>
|
|
11
|
+
</mask>
|
|
12
|
+
<g mask="url(#mask1_534_83931)">
|
|
13
|
+
<path d="M83.2334 31.2485C75.479 28.9902 55.3325 27.7608 49.4982 27.713C45.1594 27.6721 43.4373 27.8509 43.4306 28.0678L43.2661 27.5657C43.2929 27.3869 44.9663 27.23 49.2615 27.2273C55.1344 27.2218 75.5562 28.2425 83.4265 30.4503L83.2334 31.2485ZM83.0387 32.0481C75.4001 29.738 55.5305 28.3011 49.7348 28.1988C45.3557 28.1156 43.5816 28.3134 43.5967 28.57L43.7612 29.0721C43.7243 28.776 45.5504 28.559 49.9715 28.6846C55.7286 28.8415 75.3212 30.4871 82.8457 32.8464L83.0387 32.0481ZM82.656 33.6228C75.2373 31.2144 55.9233 29.3805 50.2082 29.1703C45.7451 29.0011 43.8686 29.2386 43.9274 29.5742L44.0919 30.0764C44.013 29.7025 45.9398 29.4446 50.4448 29.6561C56.1247 29.9208 75.1634 31.9826 82.4597 34.4442L83.2485 34.7117L83.0773 33.7483C83.0757 33.7483 82.6644 33.6241 82.656 33.6228Z" fill="#221E20"/>
|
|
14
|
+
</g>
|
|
15
|
+
<mask id="mask2_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="43" y="27" width="7" height="6">
|
|
16
|
+
<path d="M46.6331 31.2786C45.0939 30.988 44.2211 30.6564 44.159 30.3958L43.1687 27.3747C43.2241 27.5466 44.6625 27.7445 46.717 27.8482C48.0262 27.9151 48.5666 28.0856 48.5834 28.2821L49.1356 32.448C49.087 32.0646 48.5029 31.632 46.6331 31.2786Z" fill="white"/>
|
|
17
|
+
</mask>
|
|
18
|
+
<g mask="url(#mask2_534_83931)">
|
|
19
|
+
<path d="M43.1939 32.7141L49.5922 32.4276L49.1121 27.1087L42.7155 27.3952L43.1939 32.7141Z" fill="url(#paint1_linear_534_83931)"/>
|
|
20
|
+
</g>
|
|
21
|
+
<mask id="mask3_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="43" y="27" width="7" height="6">
|
|
22
|
+
<path d="M46.6968 28.7064C44.775 28.5399 43.4809 28.3284 43.4171 28.1306L43.2526 27.627C43.3097 27.8017 44.7045 27.9941 46.7119 28.1347C48.0681 28.2288 48.6287 28.4212 48.6321 28.63L48.716 29.2631C48.6388 29.0448 48.0278 28.821 46.6968 28.7064ZM48.716 29.2631C48.7227 29.2836 48.7261 29.304 48.7244 29.3232L48.716 29.2631ZM43.9123 29.6411L43.9223 29.6697C43.9173 29.6602 43.914 29.6506 43.9123 29.6411ZM46.6683 29.8485C44.921 29.6179 43.7696 29.3573 43.7461 29.1362L43.5816 28.6327C43.6521 28.8497 44.8472 29.0762 46.6817 29.2768C48.2309 29.446 48.7764 29.7434 48.8134 30.0177L48.9057 30.7122C48.8671 30.4107 48.3115 30.0655 46.6683 29.8485ZM46.6398 30.9933C45.0587 30.7136 44.1305 30.3984 44.0768 30.1446L43.9207 29.6697C44.0331 29.9003 45.057 30.176 46.6549 30.4216C48.3904 30.689 48.9426 31.0629 48.9997 31.4068L49.092 32.1013C49.0416 31.7247 48.4659 31.3154 46.6398 30.9933Z" fill="white"/>
|
|
23
|
+
</mask>
|
|
24
|
+
<g mask="url(#mask3_534_83931)">
|
|
25
|
+
<path d="M43.5732 33.1821L50.3458 31.8544L48.7697 26.5451L41.9988 27.8728L43.5732 33.1821Z" fill="url(#paint2_linear_534_83931)"/>
|
|
26
|
+
</g>
|
|
27
|
+
<mask id="mask4_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="28" y="26" width="22" height="7">
|
|
28
|
+
<path d="M29.2879 30.3833L29.2963 30.4557C29.2896 30.4311 29.2862 30.4065 29.2879 30.3833ZM46.2302 32.9609C42.3161 32.7699 35.9598 30.3629 31.824 29.8894C30.258 29.7106 29.298 29.9781 29.2862 30.3833L28.8985 26.7878C28.9488 26.7019 29.7428 26.7046 31.1241 26.8629C35.2582 27.3364 39.9813 28.9356 43.8955 29.1266C46.2621 29.2412 48.6187 28.7036 48.5834 28.282L49.1356 32.4479C49.0198 32.7535 48.2276 32.9773 46.8915 32.9773C46.6851 32.9773 46.4635 32.9718 46.2302 32.9609Z" fill="white"/>
|
|
29
|
+
</mask>
|
|
30
|
+
<g mask="url(#mask4_534_83931)">
|
|
31
|
+
<path d="M49.0551 25.7959L28.3379 26.7265L28.9824 33.8821L49.6996 32.9528L49.0551 25.7959Z" fill="url(#paint3_linear_534_83931)"/>
|
|
32
|
+
</g>
|
|
33
|
+
<mask id="mask5_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="29" y="26" width="21" height="7">
|
|
34
|
+
<path d="M29.1687 28.9069L29.1704 28.9233C29.1687 28.9178 29.1687 28.9123 29.1687 28.9069ZM44.4796 30.0845C40.5654 29.8934 35.4344 28.0923 31.3004 27.6188C29.8502 27.4523 29.0798 27.5205 29.0697 27.6966L29.0193 27.0839C29.0563 26.9679 29.7797 26.9543 31.1846 27.1153C35.3186 27.5888 40.1777 29.2562 44.0919 29.4472C46.4048 29.5605 48.6522 29.0461 48.6321 28.6299L48.7244 29.3244C48.7177 29.6888 47.0728 30.1022 45.1325 30.1022C44.9177 30.1008 44.6995 30.0954 44.4796 30.0845ZM29.2644 30.079L29.2694 30.15C29.2644 30.1254 29.2627 30.1022 29.2644 30.079ZM45.2584 31.363C41.3442 31.172 35.6677 29.1006 31.5337 28.6272C30.0214 28.4539 29.162 28.6203 29.1687 28.9055L29.1201 28.3092C29.1049 28.0732 29.9207 27.9517 31.4179 28.1223C35.5519 28.5958 40.9548 30.532 44.8707 30.7231C46.9738 30.8254 48.7815 30.4092 48.8167 30.0162L48.909 30.7108C48.852 31.0506 47.5915 31.378 45.9063 31.378C45.6948 31.3794 45.48 31.3739 45.2584 31.363ZM46.0355 32.6416C42.1214 32.4506 35.8993 30.1104 31.767 29.6369C30.2278 29.4609 29.2896 29.7038 29.2661 30.079L29.2224 29.5373C29.1553 29.1825 30.0633 28.9506 31.6528 29.1334C35.7869 29.6069 41.7353 31.8133 45.6495 32.003C47.5428 32.0958 48.909 31.7778 49.0013 31.4067L49.0937 32.1012C48.9896 32.4137 48.1051 32.658 46.6952 32.658C46.4853 32.658 46.2655 32.6525 46.0355 32.6416Z" fill="white"/>
|
|
35
|
+
</mask>
|
|
36
|
+
<g mask="url(#mask5_534_83931)">
|
|
37
|
+
<path d="M32.2269 38.636L51.6617 31.7465L45.8845 20.975L26.448 27.8658L32.2269 38.636Z" fill="url(#paint4_linear_534_83931)"/>
|
|
38
|
+
</g>
|
|
39
|
+
<mask id="mask6_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="28" y="26" width="6" height="7">
|
|
40
|
+
<path d="M31.7183 31.5106C30.0163 31.2063 29.2258 30.8078 29.1419 30.4735L28.9002 26.7879C28.9203 26.9039 29.6756 27.0895 31.3826 27.3447C32.5508 27.5193 33.2071 27.7854 33.2172 28.0351L33.4404 32.3224C33.4001 32.0141 32.8227 31.707 31.7183 31.5106ZM33.4404 32.3224C33.4421 32.3361 33.4421 32.3511 33.4421 32.3647L33.4404 32.3224Z" fill="white"/>
|
|
41
|
+
</mask>
|
|
42
|
+
<g mask="url(#mask6_534_83931)">
|
|
43
|
+
<path d="M28.9186 32.5681L33.9423 32.343L33.4236 26.5847L28.4 26.8098L28.9186 32.5681Z" fill="url(#paint5_linear_534_83931)"/>
|
|
44
|
+
</g>
|
|
45
|
+
<mask id="mask7_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="28" y="27" width="6" height="6">
|
|
46
|
+
<path d="M28.9203 27.095V27.0991C28.9203 27.0977 28.9203 27.0964 28.9203 27.095ZM29.0009 28.3231V28.3353C29.0009 28.3312 29.0009 28.3272 29.0009 28.3231ZM31.4665 28.3858C29.7612 28.1184 28.9304 27.8646 28.9606 27.709L28.9203 27.0991C28.9371 27.2369 29.7209 27.4361 31.4111 27.6926C32.5777 27.87 33.1718 28.132 33.1802 28.3886L33.2272 29.0954C33.197 28.8307 32.6079 28.5646 31.4665 28.3858ZM33.2272 29.094C33.2272 29.0995 33.2289 29.1049 33.2289 29.1104L33.2272 29.094ZM31.579 29.7749C29.8754 29.4911 29.063 29.1732 29.0412 28.9371L29.0009 28.3353C29.0311 28.5305 29.8535 28.8102 31.5219 29.0804C32.6834 29.2687 33.2725 29.5539 33.2742 29.8336L33.3195 30.5268C33.2826 30.2443 32.6985 29.9605 31.579 29.7749ZM33.3212 30.5268C33.3229 30.5363 33.3229 30.5472 33.3229 30.5568L33.3212 30.5268ZM31.6914 31.1626C29.9895 30.8624 29.1939 30.479 29.1234 30.1652L29.0831 29.5511C29.1284 29.8254 29.9324 30.1774 31.6361 30.4681C32.7942 30.6659 33.3766 30.9743 33.3716 31.2786L33.4169 31.9568C33.3682 31.6566 32.7908 31.3564 31.6914 31.1626ZM33.4152 31.9581C33.4169 31.9732 33.4186 31.9882 33.4186 32.0032L33.4152 31.9581Z" fill="white"/>
|
|
47
|
+
</mask>
|
|
48
|
+
<g mask="url(#mask7_534_83931)">
|
|
49
|
+
<path d="M29.6387 33.343L35.6308 31.2185L32.7002 25.7549L26.7081 27.8781L29.6387 33.343Z" fill="url(#paint6_linear_534_83931)"/>
|
|
50
|
+
</g>
|
|
51
|
+
<mask id="mask8_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="2" y="23" width="32" height="11">
|
|
52
|
+
<path d="M27.3291 33.3334C17.8308 32.7672 7.60058 30.1773 2.62061 27.9968V23.9278C9.58787 27.2777 20.993 28.5781 27.1412 28.8141C31.2282 28.9711 33.2323 28.5071 33.2172 28.0282L33.4421 32.3633C33.4236 32.8777 31.9835 33.3866 29.0848 33.3866C28.5494 33.388 27.9636 33.3703 27.3291 33.3334Z" fill="white"/>
|
|
53
|
+
</mask>
|
|
54
|
+
<g mask="url(#mask8_534_83931)">
|
|
55
|
+
<path d="M33.3162 22.3231L1.88209 23.966L2.74649 34.9927L34.1806 33.3498L33.3162 22.3231Z" fill="url(#paint7_linear_534_83931)"/>
|
|
56
|
+
</g>
|
|
57
|
+
<mask id="mask9_534_83931" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="2" y="24" width="32" height="10">
|
|
58
|
+
<path d="M27.1932 29.9439C19.9355 29.6178 8.75368 27.8248 2.62061 24.9402V24.2648C9.30253 27.4564 20.6371 28.9219 27.163 29.1921C31.2483 29.3572 33.2541 28.881 33.2423 28.3911C33.2574 28.432 33.286 29.0556 33.2793 29.1143C33.2843 29.5523 31.8123 29.9835 28.828 29.9835C28.3261 29.9835 27.7823 29.9712 27.1932 29.9439ZM27.257 31.4504C18.6297 31.0001 7.78353 28.6299 2.62061 26.2897V25.6157C8.24511 28.2151 19.2625 30.3096 27.2251 30.6971C31.3054 30.8964 33.3162 30.3683 33.3162 29.8348L33.3531 30.558C33.3464 31.0287 31.8945 31.4968 28.9589 31.4968C28.4386 31.4981 27.8713 31.4831 27.257 31.4504ZM27.3191 32.9568C17.8694 32.4028 7.47134 29.7256 2.62061 27.6406V26.9638C7.37735 29.0747 18.0439 31.6837 27.2872 32.2036C31.3658 32.4246 33.3783 31.8584 33.3917 31.2812L33.4286 32.003C33.4119 32.5092 31.9701 33.01 29.0596 33.01C28.5292 33.01 27.9485 32.9936 27.3191 32.9568Z" fill="white"/>
|
|
59
|
+
</mask>
|
|
60
|
+
<g mask="url(#mask9_534_83931)">
|
|
61
|
+
<path d="M7.54352 42.1865L37.3713 31.6128L28.5074 15.0871L-1.32208 25.6608L7.54352 42.1865Z" fill="url(#paint8_linear_534_83931)"/>
|
|
62
|
+
</g>
|
|
63
|
+
</g>
|
|
64
|
+
<path d="M31.3061 28.9399V17.8999H35.7695V19.4749H32.989V28.9399H31.3061Z" fill="white"/>
|
|
65
|
+
<path d="M36.4427 20.5548C36.4427 18.7848 37.35 17.7798 39.0183 17.7798C40.6866 17.7798 41.5939 18.7848 41.5939 20.5548V26.2998C41.5939 28.0698 40.6866 29.0748 39.0183 29.0748C37.35 29.0748 36.4427 28.0698 36.4427 26.2998V20.5548ZM38.1403 26.4048C38.1403 27.1998 38.4768 27.4998 39.0183 27.4998C39.5598 27.4998 39.8964 27.1998 39.8964 26.4048V20.4498C39.8964 19.6548 39.5598 19.3548 39.0183 19.3548C38.4768 19.3548 38.1403 19.6548 38.1403 20.4498V26.4048Z" fill="white"/>
|
|
66
|
+
<path d="M42.0915 27.3799C42.8671 27.3799 43.1012 27.2749 43.1305 26.2399L43.4086 17.8999H48.2085V28.9399H46.4817V19.4749H45.0037L44.8134 26.1499C44.7549 28.1749 44.0378 28.9549 42.3549 28.9549H42.0915V27.3799Z" fill="white"/>
|
|
67
|
+
<path d="M49.0281 20.5548C49.0281 18.7848 49.9354 17.7798 51.6037 17.7798C53.272 17.7798 54.1793 18.7848 54.1793 20.5548V26.2998C54.1793 28.0698 53.272 29.0748 51.6037 29.0748C49.9354 29.0748 49.0281 28.0698 49.0281 26.2998V20.5548ZM50.7256 26.4048C50.7256 27.1998 51.0622 27.4998 51.6037 27.4998C52.1451 27.4998 52.4817 27.1998 52.4817 26.4048V20.4498C52.4817 19.6548 52.1451 19.3548 51.6037 19.3548C51.0622 19.3548 50.7256 19.6548 50.7256 20.4498V26.4048Z" fill="white"/>
|
|
68
|
+
<path d="M59.9305 24.8298V26.2998C59.9305 28.0698 59.0671 29.0748 57.4134 29.0748C55.7451 29.0748 54.8964 28.0698 54.8964 26.2998V20.5548C54.8964 18.7848 55.7598 17.7798 57.4134 17.7798C59.0817 17.7798 59.9305 18.7848 59.9305 20.5548V21.6198H58.3354V20.4348C58.3354 19.6398 57.9988 19.3398 57.4573 19.3398C56.9159 19.3398 56.5793 19.6398 56.5793 20.4348V26.4048C56.5793 27.1998 56.9159 27.4698 57.4573 27.4698C57.9988 27.4698 58.3354 27.1848 58.3354 26.4048V24.8298H59.9305Z" fill="white"/>
|
|
69
|
+
<path d="M35.9305 34.4147C35.9305 37.5947 32.0378 38.7047 31.9939 41.9447V42.0647H35.8427V42.7247H31.2915V42.1847C31.2915 38.2847 35.2281 37.4597 35.2281 34.4297C35.2281 33.1547 34.8183 32.2547 33.589 32.2547C32.4037 32.2547 31.9793 33.1997 31.9793 34.3847V35.1347H31.3061V34.4297C31.3061 32.8397 31.9646 31.5947 33.6329 31.5947C35.2866 31.6097 35.9305 32.8097 35.9305 34.4147Z" fill="white"/>
|
|
70
|
+
<path d="M40.4963 32.3598H36.5451V31.6848H41.2281V32.3448L38.1988 42.7398H37.4817L40.4963 32.3598Z" fill="white"/>
|
|
71
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M26.528 1.77481C23.689 -1.43519 16.6939 -0.0401934 14.3817 3.94981C12.0841 7.93981 13.0061 9.70981 13.9573 10.6998C16.4598 13.0698 19.928 12.9948 22.7085 12.1548C23.2061 12.6798 24.0988 13.4148 25.1524 13.1148C24.5085 12.6198 24.6549 11.8398 24.8598 11.2848C25.7963 10.8048 26.5427 10.2798 26.9671 9.82981C28.6939 7.93981 29.3671 4.98481 26.528 1.77481Z" fill="#5FBEE5"/>
|
|
72
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.0793 28.0997C14.6744 24.1547 0.859753 31.0847 0.113411 37.0247C-0.20854 39.3497 1.28414 41.7197 3.55244 43.6997C2.9817 44.8547 1.97195 45.1847 1.97195 45.1847C3.43536 46.2047 4.7817 45.7097 5.55731 45.2297C9.62561 47.9297 14.8793 49.3397 17.3817 47.6897C21.9037 44.6897 23.4841 32.0447 19.0793 28.0997Z" fill="#8DCD55"/>
|
|
73
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.1085 45.7249C11.2061 42.6499 3.0256 48.3199 5.65974 50.9449C6.55242 51.8299 7.63535 52.0849 8.71828 51.9499C9.40608 52.3399 10.489 52.8499 10.9573 52.9549C10.6207 52.3999 10.6353 51.7399 10.7378 51.2449C12.9768 49.9549 14.528 47.3149 13.1085 45.7249Z" fill="#F6D05B"/>
|
|
74
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.7378 19.3099C18.9768 16.1299 20.0597 12.6799 18.6402 11.5699C15.6549 9.21491 10.7524 7.53491 6.28901 11.7949C1.8256 16.0549 0.347548 23.9149 6.93291 25.2799C9.50852 25.8049 12.3036 24.1999 14.6012 21.8899C15.4793 22.3699 16.8988 22.9399 18.0549 22.3549C17.2646 21.7399 16.8988 20.2549 16.7378 19.3099Z" fill="#EF6969"/>
|
|
75
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.7671 23.7497C8.49877 22.6247 2.14755 23.1197 0.757308 26.5847C0.30365 27.7097 0.728041 28.6247 1.59146 29.3147C0.801211 30.4997 0.0695038 30.6047 0.0695038 30.6047C1.62072 31.4897 2.89389 30.5597 3.27438 30.2297C5.16219 30.9347 7.56219 31.0547 8.84999 30.4997C11.3963 29.3897 13.0207 24.8747 10.7671 23.7497Z" fill="#E779AF"/>
|
|
76
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.9573 10.6997C15.4793 12.1547 17.3671 12.6797 19.2402 12.6947C19.1671 12.2147 18.9768 11.8397 18.6402 11.5697C17.1622 10.3997 15.2012 9.39471 13.0646 9.19971C13.2549 9.84471 13.6061 10.3247 13.9573 10.6997Z" fill="#E54445"/>
|
|
77
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.7671 23.7497C9.36219 23.0447 6.39145 22.9697 4.00609 23.8397C4.70853 24.5147 5.67438 25.0097 6.93292 25.2647C8.41097 25.5647 9.96218 25.1597 11.4549 24.3347C11.2793 24.0947 11.0597 23.8847 10.7671 23.7497Z" fill="#E25490"/>
|
|
78
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.07439 30.6948C6.50853 30.9348 7.95731 30.8748 8.85 30.4848C9.99146 29.9898 10.9427 28.8348 11.4402 27.5898C9.25975 28.2498 6.99146 29.3598 5.07439 30.6948Z" fill="#DE5396"/>
|
|
79
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.45975 46.3548C9.44999 47.3898 11.5573 48.0948 13.4012 48.3198C13.7671 47.3898 13.7378 46.4448 13.0939 45.7248C12.128 44.1198 9.44999 44.8848 7.45975 46.3548Z" fill="#F0C534"/>
|
|
80
|
+
<defs>
|
|
81
|
+
<linearGradient id="paint0_linear_534_83931" x1="83.499" y1="29.7464" x2="43.6242" y2="32.9786" gradientUnits="userSpaceOnUse">
|
|
82
|
+
<stop stop-color="#F9B621"/>
|
|
83
|
+
<stop offset="0.2" stop-color="#FEEDD8"/>
|
|
84
|
+
<stop offset="0.3" stop-color="#FFDD74"/>
|
|
85
|
+
<stop offset="0.5" stop-color="#DD8A22"/>
|
|
86
|
+
<stop offset="0.8" stop-color="#FFDD74"/>
|
|
87
|
+
<stop offset="1" stop-color="#DB751B"/>
|
|
88
|
+
</linearGradient>
|
|
89
|
+
<linearGradient id="paint1_linear_534_83931" x1="43.4102" y1="30.0345" x2="48.8761" y2="29.5423" gradientUnits="userSpaceOnUse">
|
|
90
|
+
<stop stop-color="#DD8A22"/>
|
|
91
|
+
<stop offset="0.0487" stop-color="#E9A63E"/>
|
|
92
|
+
<stop offset="0.1034" stop-color="#F2BE56"/>
|
|
93
|
+
<stop offset="0.1613" stop-color="#F9D067"/>
|
|
94
|
+
<stop offset="0.224" stop-color="#FEDA71"/>
|
|
95
|
+
<stop offset="0.3" stop-color="#FFDD74"/>
|
|
96
|
+
<stop offset="0.7778" stop-color="#C87B19"/>
|
|
97
|
+
<stop offset="1" stop-color="#C87B19"/>
|
|
98
|
+
</linearGradient>
|
|
99
|
+
<linearGradient id="paint2_linear_534_83931" x1="44.0406" y1="30.2813" x2="48.7151" y2="28.8944" gradientUnits="userSpaceOnUse">
|
|
100
|
+
<stop stop-color="#221E20"/>
|
|
101
|
+
<stop offset="0.0976" stop-color="#302E30"/>
|
|
102
|
+
<stop offset="0.2197" stop-color="#3C3B3D"/>
|
|
103
|
+
<stop offset="0.33" stop-color="#404041"/>
|
|
104
|
+
<stop offset="0.3408" stop-color="#3F3F40"/>
|
|
105
|
+
<stop offset="0.5462" stop-color="#2F2D2E"/>
|
|
106
|
+
<stop offset="0.7614" stop-color="#252223"/>
|
|
107
|
+
<stop offset="1" stop-color="#221E20"/>
|
|
108
|
+
</linearGradient>
|
|
109
|
+
<linearGradient id="paint3_linear_534_83931" x1="48.8627" y1="29.3964" x2="29.2944" y2="31.1586" gradientUnits="userSpaceOnUse">
|
|
110
|
+
<stop stop-color="#E4A50D"/>
|
|
111
|
+
<stop offset="0.2" stop-color="#FCE0B7"/>
|
|
112
|
+
<stop offset="0.3801" stop-color="#FFDD74"/>
|
|
113
|
+
<stop offset="0.4562" stop-color="#FBD36A"/>
|
|
114
|
+
<stop offset="0.5858" stop-color="#F0B84F"/>
|
|
115
|
+
<stop offset="0.7522" stop-color="#DE8C24"/>
|
|
116
|
+
<stop offset="0.7602" stop-color="#DD8A22"/>
|
|
117
|
+
<stop offset="1" stop-color="#B36317"/>
|
|
118
|
+
</linearGradient>
|
|
119
|
+
<linearGradient id="paint4_linear_534_83931" x1="30.6777" y1="32.7743" x2="46.3463" y2="24.3698" gradientUnits="userSpaceOnUse">
|
|
120
|
+
<stop stop-color="#221E20"/>
|
|
121
|
+
<stop offset="0.3828" stop-color="#242022"/>
|
|
122
|
+
<stop offset="0.5705" stop-color="#2B282A"/>
|
|
123
|
+
<stop offset="0.7151" stop-color="#363536"/>
|
|
124
|
+
<stop offset="0.7953" stop-color="#404041"/>
|
|
125
|
+
<stop offset="0.8784" stop-color="#373537"/>
|
|
126
|
+
<stop offset="1" stop-color="#221E20"/>
|
|
127
|
+
</linearGradient>
|
|
128
|
+
<linearGradient id="paint5_linear_534_83931" x1="29.0694" y1="29.6708" x2="33.3298" y2="29.2871" gradientUnits="userSpaceOnUse">
|
|
129
|
+
<stop stop-color="#DD8A22"/>
|
|
130
|
+
<stop offset="0.0487" stop-color="#E9A63E"/>
|
|
131
|
+
<stop offset="0.1034" stop-color="#F2BE56"/>
|
|
132
|
+
<stop offset="0.1613" stop-color="#F9D067"/>
|
|
133
|
+
<stop offset="0.224" stop-color="#FEDA71"/>
|
|
134
|
+
<stop offset="0.3" stop-color="#FFDD74"/>
|
|
135
|
+
<stop offset="0.7778" stop-color="#C87B19"/>
|
|
136
|
+
<stop offset="1" stop-color="#C87B19"/>
|
|
137
|
+
</linearGradient>
|
|
138
|
+
<linearGradient id="paint6_linear_534_83931" x1="29.163" y1="30.2597" x2="33.0791" y2="28.1591" gradientUnits="userSpaceOnUse">
|
|
139
|
+
<stop stop-color="#221E20"/>
|
|
140
|
+
<stop offset="0.0976" stop-color="#302E30"/>
|
|
141
|
+
<stop offset="0.2197" stop-color="#3C3B3D"/>
|
|
142
|
+
<stop offset="0.33" stop-color="#404041"/>
|
|
143
|
+
<stop offset="0.3408" stop-color="#3F3F40"/>
|
|
144
|
+
<stop offset="0.5462" stop-color="#2F2D2E"/>
|
|
145
|
+
<stop offset="0.7614" stop-color="#252223"/>
|
|
146
|
+
<stop offset="1" stop-color="#221E20"/>
|
|
147
|
+
</linearGradient>
|
|
148
|
+
<linearGradient id="paint7_linear_534_83931" x1="33.205" y1="27.8641" x2="0.84324" y2="30.3985" gradientUnits="userSpaceOnUse">
|
|
149
|
+
<stop stop-color="#F9B621"/>
|
|
150
|
+
<stop offset="0.2" stop-color="#FEEDD8"/>
|
|
151
|
+
<stop offset="0.3" stop-color="#FFDD74"/>
|
|
152
|
+
<stop offset="0.5" stop-color="#DD8A22"/>
|
|
153
|
+
<stop offset="0.8" stop-color="#FFDD74"/>
|
|
154
|
+
<stop offset="1" stop-color="#DC9315"/>
|
|
155
|
+
</linearGradient>
|
|
156
|
+
<linearGradient id="paint8_linear_534_83931" x1="4.52764" y1="33.4213" x2="28.9216" y2="20.3365" gradientUnits="userSpaceOnUse">
|
|
157
|
+
<stop stop-color="#221E20"/>
|
|
158
|
+
<stop offset="0.3772" stop-color="#242022"/>
|
|
159
|
+
<stop offset="0.5621" stop-color="#2B282A"/>
|
|
160
|
+
<stop offset="0.7046" stop-color="#363536"/>
|
|
161
|
+
<stop offset="0.7836" stop-color="#404041"/>
|
|
162
|
+
<stop offset="0.8571" stop-color="#3A393B"/>
|
|
163
|
+
<stop offset="0.9612" stop-color="#2A2729"/>
|
|
164
|
+
<stop offset="1" stop-color="#221E20"/>
|
|
165
|
+
</linearGradient>
|
|
166
|
+
<clipPath id="clip0_534_83931">
|
|
167
|
+
<rect width="59" height="14" fill="white" transform="matrix(1 0 0 -1 5 36)"/>
|
|
168
|
+
</clipPath>
|
|
169
|
+
</defs>
|
|
170
|
+
</svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";window.L=window.L||{},window.L.Control=window.L.Control||{},window.L.Control.Geocoder=function(e){function t(e){return d[e]}function o(t,o,s,n,r){var l="_l_geocoder_"+a++;o[r||"callback"]=l,window[l]=e.Util.bind(s,n);var c=document.createElement("script");c.type="text/javascript",c.src=t+i(o),c.id=l,document.getElementsByTagName("head")[0].appendChild(c)}function s(e,t,o){var s=new XMLHttpRequest;s.onreadystatechange=function(){if(4===s.readyState){var e;if(200!==s.status&&304!==s.status)e="";else if("string"==typeof s.response)try{e=JSON.parse(s.response)}catch(t){e=s.response}else e=s.response;o(e)}},s.open("GET",e+i(t),!0),s.responseType="json",s.setRequestHeader("Accept","application/json"),s.send(null)}function n(e,o){return e.replace(/\{ *([\w_]+) *\}/g,function(e,s){var n=o[s];return void 0===n?n="":"function"==typeof n&&(n=n(o)),function(e){return null==e?"":e?(e=""+e,c.test(e)?e.replace(l,t):e):e+""}(n)})}function i(t,o,s){var n=[];for(var i in t){var r=encodeURIComponent(s?i.toUpperCase():i),a=t[i];if(e.Util.isArray(a))for(var l=0;l<a.length;l++)n.push(r+"="+encodeURIComponent(a[l]));else n.push(r+"="+encodeURIComponent(a))}return(o&&-1!==o.indexOf("?")?"&":"?")+n.join("&")}function r(e,t){return new x(e,t)}e=e&&e.hasOwnProperty("default")?e["default"]:e;var a=0,l=/[&<>"'`]/g,c=/[&<>"'`]/,d={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},u=e.Class.extend({options:{service_url:"https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"},initialize:function(t,o){e.setOptions(this,o),this._accessToken=t},geocode:function(t,o,n){var i={SingleLine:t,outFields:"Addr_Type",forStorage:!1,maxLocations:10,f:"json"};this._key&&this._key.length&&(i.token=this._key),s(this.options.service_url+"/findAddressCandidates",e.extend(i,this.options.geocodingQueryParams),function(t){var s,i,r,a=[];if(t.candidates&&t.candidates.length)for(var l=0;l<=t.candidates.length-1;l++)s=t.candidates[l],i=e.latLng(s.location.y,s.location.x),r=e.latLngBounds(e.latLng(s.extent.ymax,s.extent.xmax),e.latLng(s.extent.ymin,s.extent.xmin)),a[l]={name:s.address,bbox:r,center:i};o.call(n,a)})},suggest:function(e,t,o){return this.geocode(e,t,o)},reverse:function(t,o,n,i){var r={location:encodeURIComponent(t.lng)+","+encodeURIComponent(t.lat),distance:100,f:"json"};s(this.options.service_url+"/reverseGeocode",r,function(t){var o,s=[];t&&!t.error&&(o=e.latLng(t.location.y,t.location.x),s.push({name:t.address.Match_addr,center:o,bounds:e.latLngBounds(o,o)})),n.call(i,s)})}}),p=e.Class.extend({initialize:function(e){this.key=e},geocode:function(t,s,n){o("https://dev.virtualearth.net/REST/v1/Locations",{query:t,key:this.key},function(t){var o=[];if(0<t.resourceSets.length)for(var i=t.resourceSets[0].resources.length-1;0<=i;i--){var r=t.resourceSets[0].resources[i],a=r.bbox;o[i]={name:r.name,bbox:e.latLngBounds([a[0],a[1]],[a[2],a[3]]),center:e.latLng(r.point.coordinates)}}s.call(n,o)},this,"jsonp")},reverse:function(t,s,n,i){o("//dev.virtualearth.net/REST/v1/Locations/"+t.lat+","+t.lng,{key:this.key},function(t){for(var o=[],s=t.resourceSets[0].resources.length-1;0<=s;s--){var r=t.resourceSets[0].resources[s],a=r.bbox;o[s]={name:r.name,bbox:e.latLngBounds([a[0],a[1]],[a[2],a[3]]),center:e.latLng(r.point.coordinates)}}n.call(i,o)},this,"jsonp")}}),h=e.Class.extend({options:{serviceUrl:"https://maps.googleapis.com/maps/api/geocode/json",geocodingQueryParams:{},reverseQueryParams:{}},initialize:function(t,o){this._key=t,e.setOptions(this,o),this.options.serviceUrl=this.options.service_url||this.options.serviceUrl},geocode:function(t,o,n){var i={address:t};this._key&&this._key.length&&(i.key=this._key),i=e.Util.extend(i,this.options.geocodingQueryParams),s(this.options.serviceUrl,i,function(t){var s,i,r,a=[];if(t.results&&t.results.length)for(var l=0;l<=t.results.length-1;l++)s=t.results[l],i=e.latLng(s.geometry.location),r=e.latLngBounds(e.latLng(s.geometry.viewport.northeast),e.latLng(s.geometry.viewport.southwest)),a[l]={name:s.formatted_address,bbox:r,center:i,properties:s.address_components};o.call(n,a)})},reverse:function(t,o,n,i){var r={latlng:encodeURIComponent(t.lat)+","+encodeURIComponent(t.lng)};r=e.Util.extend(r,this.options.reverseQueryParams),this._key&&this._key.length&&(r.key=this._key),s(this.options.serviceUrl,r,function(t){var o,s,r,a=[];if(t.results&&t.results.length)for(var l=0;l<=t.results.length-1;l++)o=t.results[l],s=e.latLng(o.geometry.location),r=e.latLngBounds(e.latLng(o.geometry.viewport.northeast),e.latLng(o.geometry.viewport.southwest)),a[l]={name:o.formatted_address,bbox:r,center:s,properties:o.address_components};n.call(i,a)})}}),g=e.Class.extend({options:{geocodeUrl:"https://geocoder.api.here.com/6.2/geocode.json",reverseGeocodeUrl:"https://reverse.geocoder.api.here.com/6.2/reversegeocode.json",app_id:"<insert your app_id here>",app_code:"<insert your app_code here>",geocodingQueryParams:{},reverseQueryParams:{},reverseGeocodeProxRadius:null},initialize:function(t){e.setOptions(this,t)},geocode:function(t,o,s){var n={searchtext:t,gen:9,app_id:this.options.app_id,app_code:this.options.app_code,jsonattributes:1};n=e.Util.extend(n,this.options.geocodingQueryParams),this.getJSON(this.options.geocodeUrl,n,o,s)},reverse:function(t,o,s,n){var i=this.options.reverseGeocodeProxRadius?this.options.reverseGeocodeProxRadius:null,r=i?","+encodeURIComponent(i):"",a={prox:encodeURIComponent(t.lat)+","+encodeURIComponent(t.lng)+r,mode:"retrieveAddresses",app_id:this.options.app_id,app_code:this.options.app_code,gen:9,jsonattributes:1};a=e.Util.extend(a,this.options.reverseQueryParams),this.getJSON(this.options.reverseGeocodeUrl,a,s,n)},getJSON:function(t,o,n,i){s(t,o,function(t){var o,s,r,a=[];if(t.response.view&&t.response.view.length)for(var l=0;l<=t.response.view[0].result.length-1;l++)o=t.response.view[0].result[l].location,s=e.latLng(o.displayPosition.latitude,o.displayPosition.longitude),r=e.latLngBounds(e.latLng(o.mapView.topLeft.latitude,o.mapView.topLeft.longitude),e.latLng(o.mapView.bottomRight.latitude,o.mapView.bottomRight.longitude)),a[l]={name:o.address.label,bbox:r,center:s};n.call(i,a)})}}),m=e.Class.extend({options:{next:void 0,sizeInMeters:1e4},initialize:function(t){e.Util.setOptions(this,t)},geocode:function(t,o,s){var n,i;if((n=t.match(/^([NS])\s*(\d{1,3}(?:\.\d*)?)\W*([EW])\s*(\d{1,3}(?:\.\d*)?)$/))?i=e.latLng((/N/i.test(n[1])?1:-1)*parseFloat(n[2]),(/E/i.test(n[3])?1:-1)*parseFloat(n[4])):(n=t.match(/^(\d{1,3}(?:\.\d*)?)\s*([NS])\W*(\d{1,3}(?:\.\d*)?)\s*([EW])$/))?i=e.latLng((/N/i.test(n[2])?1:-1)*parseFloat(n[1]),(/E/i.test(n[4])?1:-1)*parseFloat(n[3])):(n=t.match(/^([NS])\s*(\d{1,3})°?\s*(\d{1,3}(?:\.\d*)?)?['′]?\W*([EW])\s*(\d{1,3})°?\s*(\d{1,3}(?:\.\d*)?)?['′]?$/))?i=e.latLng((/N/i.test(n[1])?1:-1)*(parseFloat(n[2])+parseFloat(n[3]/60)),(/E/i.test(n[4])?1:-1)*(parseFloat(n[5])+parseFloat(n[6]/60))):(n=t.match(/^(\d{1,3})°?\s*(\d{1,3}(?:\.\d*)?)?['′]?\s*([NS])\W*(\d{1,3})°?\s*(\d{1,3}(?:\.\d*)?)?['′]?\s*([EW])$/))?i=e.latLng((/N/i.test(n[3])?1:-1)*(parseFloat(n[1])+parseFloat(n[2]/60)),(/E/i.test(n[6])?1:-1)*(parseFloat(n[4])+parseFloat(n[5]/60))):(n=t.match(/^([NS])\s*(\d{1,3})°?\s*(\d{1,2})['′]?\s*(\d{1,3}(?:\.\d*)?)?["″]?\W*([EW])\s*(\d{1,3})°?\s*(\d{1,2})['′]?\s*(\d{1,3}(?:\.\d*)?)?["″]?$/))?i=e.latLng((/N/i.test(n[1])?1:-1)*(parseFloat(n[2])+parseFloat(n[3]/60+parseFloat(n[4]/3600))),(/E/i.test(n[5])?1:-1)*(parseFloat(n[6])+parseFloat(n[7]/60)+parseFloat(n[8]/3600))):(n=t.match(/^(\d{1,3})°?\s*(\d{1,2})['′]?\s*(\d{1,3}(?:\.\d*)?)?["″]\s*([NS])\W*(\d{1,3})°?\s*(\d{1,2})['′]?\s*(\d{1,3}(?:\.\d*)?)?["″]?\s*([EW])$/))?i=e.latLng((/N/i.test(n[4])?1:-1)*(parseFloat(n[1])+parseFloat(n[2]/60+parseFloat(n[3]/3600))),(/E/i.test(n[8])?1:-1)*(parseFloat(n[5])+parseFloat(n[6]/60)+parseFloat(n[7]/3600))):(n=t.match(/^\s*([+-]?\d+(?:\.\d*)?)\s*[\s,]\s*([+-]?\d+(?:\.\d*)?)\s*$/))&&(i=e.latLng(parseFloat(n[1]),parseFloat(n[2]))),i){var r=[{name:t,center:i,bbox:i.toBounds(this.options.sizeInMeters)}];o.call(s,r)}else this.options.next&&this.options.next.geocode(t,o,s)}}),f=e.Class.extend({options:{serviceUrl:"https://api.mapbox.com/geocoding/v5/mapbox.places/",geocodingQueryParams:{},reverseQueryParams:{}},initialize:function(t,o){e.setOptions(this,o),this.options.geocodingQueryParams.access_token=t,this.options.reverseQueryParams.access_token=t},geocode:function(t,o,n){var i=this.options.geocodingQueryParams;void 0!==i.proximity&&void 0!==i.proximity.lat&&void 0!==i.proximity.lng&&(i.proximity=i.proximity.lng+","+i.proximity.lat),s(this.options.serviceUrl+encodeURIComponent(t)+".json",i,function(t){var s,i,r,a=[];if(t.features&&t.features.length)for(var l=0;l<=t.features.length-1;l++){s=t.features[l],i=e.latLng(s.center.reverse()),r=s.bbox?e.latLngBounds(e.latLng(s.bbox.slice(0,2).reverse()),e.latLng(s.bbox.slice(2,4).reverse())):e.latLngBounds(i,i);for(var c={text:s.text,address:s.address},d=0;d<(s.context||[]).length;d++)c[s.context[d].id.split(".")[0]]=s.context[d].text;a[l]={name:s.place_name,bbox:r,center:i,properties:c}}o.call(n,a)})},suggest:function(e,t,o){return this.geocode(e,t,o)},reverse:function(t,o,n,i){s(this.options.serviceUrl+encodeURIComponent(t.lng)+","+encodeURIComponent(t.lat)+".json",this.options.reverseQueryParams,function(t){var o,s,r,a=[];if(t.features&&t.features.length)for(var l=0;l<=t.features.length-1;l++)o=t.features[l],s=e.latLng(o.center.reverse()),r=o.bbox?e.latLngBounds(e.latLng(o.bbox.slice(0,2).reverse()),e.latLng(o.bbox.slice(2,4).reverse())):e.latLngBounds(s,s),a[l]={name:o.place_name,bbox:r,center:s};n.call(i,a)})}}),v=e.Class.extend({options:{serviceUrl:"https://www.mapquestapi.com/geocoding/v1"},initialize:function(t,o){this._key=decodeURIComponent(t),e.Util.setOptions(this,o)},_formatName:function(){var e,t=[];for(e=0;e<arguments.length;e++)arguments[e]&&t.push(arguments[e]);return t.join(", ")},geocode:function(t,o,n){s(this.options.serviceUrl+"/address",{key:this._key,location:t,limit:5,outFormat:"json"},e.bind(function(t){var s,i,r=[];if(t.results&&t.results[0].locations)for(var a=t.results[0].locations.length-1;0<=a;a--)s=t.results[0].locations[a],i=e.latLng(s.latLng),r[a]={name:this._formatName(s.street,s.adminArea4,s.adminArea3,s.adminArea1),bbox:e.latLngBounds(i,i),center:i};o.call(n,r)},this))},reverse:function(t,o,n,i){s(this.options.serviceUrl+"/reverse",{key:this._key,location:t.lat+","+t.lng,outputFormat:"json"},e.bind(function(t){var o,s,r=[];if(t.results&&t.results[0].locations)for(var a=t.results[0].locations.length-1;0<=a;a--)o=t.results[0].locations[a],s=e.latLng(o.latLng),r[a]={name:this._formatName(o.street,o.adminArea4,o.adminArea3,o.adminArea1),bbox:e.latLngBounds(s,s),center:s};n.call(i,r)},this))}}),_=e.Class.extend({options:{userId:"<insert your userId here>",apiKey:"<insert your apiKey here>",serviceUrl:"https://neutrinoapi.com/"},initialize:function(t){e.Util.setOptions(this,t)},geocode:function(t,o,n){s(this.options.serviceUrl+"geocode-address",{apiKey:this.options.apiKey,userId:this.options.userId,address:t.split(/\s+/).join(".")},function(t){var s,i,r=[];t.locations&&(t.geometry=t.locations[0],s=e.latLng(t.geometry.latitude,t.geometry.longitude),i=e.latLngBounds(s,s),r[0]={name:t.geometry.address,bbox:i,center:s}),o.call(n,r)})},suggest:function(e,t,o){return this.geocode(e,t,o)},reverse:function(t,o,n,i){s(this.options.serviceUrl+"geocode-reverse",{apiKey:this.options.apiKey,userId:this.options.userId,latitude:t.lat,longitude:t.lng},function(o){var s,r,a=[];200==o.status.status&&o.found&&(s=e.latLng(t.lat,t.lng),r=e.latLngBounds(s,s),a[0]={name:o.address,bbox:r,center:s}),n.call(i,a)})}}),b=e.Class.extend({options:{serviceUrl:"https://nominatim.openstreetmap.org/",geocodingQueryParams:{},reverseQueryParams:{},htmlTemplate:function(e){var t=e.address,o=[];return(t.road||t.building)&&o.push("{building} {road} {house_number}"),(t.city||t.town||t.village||t.hamlet)&&o.push('<span class="'+(0<o.length?"leaflet-control-geocoder-address-detail":"")+'">{postcode} {city} {town} {village} {hamlet}</span>'),(t.state||t.country)&&o.push('<span class="'+(0<o.length?"leaflet-control-geocoder-address-context":"")+'">{state} {country}</span>'),n(o.join("<br/>"),t)}},initialize:function(t){e.Util.setOptions(this,t)},geocode:function(t,o,n){s(this.options.serviceUrl+"search",e.extend({q:t,limit:5,format:"json",addressdetails:1},this.options.geocodingQueryParams),e.bind(function(t){for(var s=[],i=t.length-1;0<=i;i--){for(var r=t[i].boundingbox,a=0;a<4;a++)r[a]=parseFloat(r[a]);s[i]={icon:t[i].icon,name:t[i].display_name,html:this.options.htmlTemplate?this.options.htmlTemplate(t[i]):void 0,bbox:e.latLngBounds([r[0],r[2]],[r[1],r[3]]),center:e.latLng(t[i].lat,t[i].lon),properties:t[i]}}o.call(n,s)},this))},reverse:function(t,o,n,i){s(this.options.serviceUrl+"reverse",e.extend({lat:t.lat,lon:t.lng,zoom:Math.round(Math.log(o/256)/Math.log(2)),addressdetails:1,format:"json"},this.options.reverseQueryParams),e.bind(function(t){var o,s=[];t&&t.lat&&t.lon&&(o=e.latLng(t.lat,t.lon),s.push({name:t.display_name,html:this.options.htmlTemplate?this.options.htmlTemplate(t):void 0,center:o,bounds:e.latLngBounds(o,o),properties:t})),n.call(i,s)},this))}}),L=e.Class.extend({options:{OpenLocationCode:void 0,codeLength:void 0},initialize:function(t){e.setOptions(this,t)},geocode:function(t,o,s){try{var n=this.options.OpenLocationCode.decode(t),i={name:t,center:e.latLng(n.latitudeCenter,n.longitudeCenter),bbox:e.latLngBounds(e.latLng(n.latitudeLo,n.longitudeLo),e.latLng(n.latitudeHi,n.longitudeHi))};o.call(s,[i])}catch(t){console.warn(t),o.call(s,[])}},reverse:function(t,o,s,n){try{var i={name:this.options.OpenLocationCode.encode(t.lat,t.lng,this.options.codeLength),center:e.latLng(t.lat,t.lng),bbox:e.latLngBounds(e.latLng(t.lat,t.lng),e.latLng(t.lat,t.lng))};s.call(n,[i])}catch(t){console.warn(t),s.call(n,[])}}}),y=e.Class.extend({options:{serviceUrl:"https://api.opencagedata.com/geocode/v1/json"},initialize:function(e){this._accessToken=e},geocode:function(t,o,n){s(this.options.serviceUrl,{key:this._accessToken,q:t},function(t){var s,i,r,a=[];if(t.results&&t.results.length)for(var l=0;l<t.results.length;l++)r=t.results[l],s=e.latLng(r.geometry),i=r.annotations&&r.annotations.bounds?e.latLngBounds(e.latLng(r.annotations.bounds.northeast),e.latLng(r.annotations.bounds.southwest)):e.latLngBounds(s,s),a.push({name:r.formatted,bbox:i,center:s});o.call(n,a)})},suggest:function(e,t,o){return this.geocode(e,t,o)},reverse:function(t,o,n,i){s(this.options.serviceUrl,{key:this._accessToken,q:[t.lat,t.lng].join(",")},function(t){var o,s,r,a=[];if(t.results&&t.results.length)for(var l=0;l<t.results.length;l++)r=t.results[l],o=e.latLng(r.geometry),s=r.annotations&&r.annotations.bounds?e.latLngBounds(e.latLng(r.annotations.bounds.northeast),e.latLng(r.annotations.bounds.southwest)):e.latLngBounds(o,o),a.push({name:r.formatted,bbox:s,center:o});n.call(i,a)})}}),x=e.Class.extend({options:{serviceUrl:"https://api.geocode.earth/v1",geocodingQueryParams:{},reverseQueryParams:{}},initialize:function(t,o){e.Util.setOptions(this,o),this._apiKey=t,this._lastSuggest=0},geocode:function(t,o,n){var i=this;s(this.options.serviceUrl+"/search",e.extend({api_key:this._apiKey,text:t},this.options.geocodingQueryParams),function(e){o.call(n,i._parseResults(e,"bbox"))})},suggest:function(t,o,n){var i=this;s(this.options.serviceUrl+"/autocomplete",e.extend({api_key:this._apiKey,text:t},this.options.geocodingQueryParams),e.bind(function(e){e.geocoding.timestamp>this._lastSuggest&&(this._lastSuggest=e.geocoding.timestamp,o.call(n,i._parseResults(e,"bbox")))},this))},reverse:function(t,o,n,i){var r=this;s(this.options.serviceUrl+"/reverse",e.extend({api_key:this._apiKey,"point.lat":t.lat,"point.lon":t.lng},this.options.reverseQueryParams),function(e){n.call(i,r._parseResults(e,"bounds"))})},_parseResults:function(t,o){var s=[];return e.geoJson(t,{pointToLayer:function(t,o){return e.circleMarker(o)},onEachFeature:function(t,n){var i,r,a={};n.getBounds?r=(i=n.getBounds()).getCenter():i=n.feature.bbox?(r=n.getLatLng(),e.latLngBounds(e.GeoJSON.coordsToLatLng(n.feature.bbox.slice(0,2)),e.GeoJSON.coordsToLatLng(n.feature.bbox.slice(2,4)))):(r=n.getLatLng(),e.latLngBounds(r,r)),a.name=n.feature.properties.label,a.center=r,a[o]=i,a.properties=n.feature.properties,s.push(a)}}),s}}),U=x,C=r,k=x,w=r,D=k.extend({options:{serviceUrl:"https://api.openrouteservice.org/geocode"}}),E=e.Class.extend({options:{serviceUrl:"https://photon.komoot.de/api/",reverseUrl:"https://photon.komoot.de/reverse/",nameProperties:["name","street","suburb","hamlet","town","city","state","country"]},initialize:function(t){e.setOptions(this,t)},geocode:function(t,o,n){var i=e.extend({q:t},this.options.geocodingQueryParams);s(this.options.serviceUrl,i,e.bind(function(e){o.call(n,this._decodeFeatures(e))},this))},suggest:function(e,t,o){return this.geocode(e,t,o)},reverse:function(t,o,n,i){var r=e.extend({lat:t.lat,lon:t.lng},this.options.reverseQueryParams);s(this.options.reverseUrl,r,e.bind(function(e){n.call(i,this._decodeFeatures(e))},this))},_decodeFeatures:function(t){var o,s,n,i,r,a,l=[];if(t&&t.features)for(o=0;o<t.features.length;o++)n=(s=t.features[o]).geometry.coordinates,i=e.latLng(n[1],n[0]),a=(r=s.properties.extent)?e.latLngBounds([r[1],r[0]],[r[3],r[2]]):e.latLngBounds(i,i),l.push({name:this._decodeFeatureName(s),html:this.options.htmlTemplate?this.options.htmlTemplate(s):void 0,center:i,bbox:a,properties:s.properties});return l},_decodeFeatureName:function(e){return(this.options.nameProperties||[]).map(function(t){return e.properties[t]}).filter(function(e){return!!e}).join(", ")}}),R=e.Class.extend({options:{serviceUrl:"https://api.what3words.com/v2/"},initialize:function(e){this._accessToken=e},geocode:function(t,o,n){s(this.options.serviceUrl+"forward",{key:this._accessToken,addr:t.split(/\s+/).join(".")},function(t){var s,i,r=[];t.geometry&&(s=e.latLng(t.geometry.lat,t.geometry.lng),i=e.latLngBounds(s,s),r[0]={name:t.words,bbox:i,center:s}),o.call(n,r)})},suggest:function(e,t,o){return this.geocode(e,t,o)},reverse:function(t,o,n,i){s(this.options.serviceUrl+"reverse",{key:this._accessToken,coords:[t.lat,t.lng].join(",")},function(t){var o,s,r=[];200==t.status.status&&(o=e.latLng(t.geometry.lat,t.geometry.lng),s=e.latLngBounds(o,o),r[0]={name:t.words,bbox:s,center:o}),n.call(i,r)})}}),P=Object.freeze({ArcGis:u,arcgis:function(e,t){return new u(e,t)},Bing:p,bing:function(e){return new p(e)},Google:h,google:function(e,t){return new h(e,t)},HERE:g,here:function(e){return new g(e)},LatLng:m,latLng:function(e){return new m(e)},Mapbox:f,mapbox:function(e,t){return new f(e,t)},MapQuest:v,mapQuest:function(e,t){return new v(e,t)},Neutrino:_,neutrino:function(e){return new _(e)},Nominatim:b,nominatim:function(e){return new b(e)},OpenLocationCode:L,openLocationCode:function(e){return new L(e)},OpenCage:y,opencage:function(e){return new y(e)},Pelias:x,pelias:r,GeocodeEarth:U,geocodeEarth:C,Mapzen:k,mapzen:w,Openrouteservice:D,openrouteservice:function(e,t){return new D(e,t)},Photon:E,photon:function(e){return new E(e)},What3Words:R,what3words:function(e){return new R(e)}}),T=e.Control.extend({options:{showUniqueResult:!0,showResultIcons:!1,collapsed:!0,expand:"touch",position:"topright",placeholder:"Search...",errorMessage:"Nothing found.",queryMinLength:1,suggestMinLength:3,suggestTimeout:250,defaultMarkGeocode:!0},includes:e.Evented.prototype||e.Mixin.Events,initialize:function(t){e.Util.setOptions(this,t),this.options.geocoder||(this.options.geocoder=new b),this._requestCount=0},addThrobberClass:function(){e.DomUtil.addClass(this._container,"leaflet-control-geocoder-throbber")},removeThrobberClass:function(){e.DomUtil.removeClass(this._container,"leaflet-control-geocoder-throbber")},onAdd:function(t){var o,s="leaflet-control-geocoder",n=e.DomUtil.create("div",s+" leaflet-bar"),i=e.DomUtil.create("button",s+"-icon",n),r=this._form=e.DomUtil.create("div",s+"-form",n);return this._map=t,this._container=n,i.innerHTML=" ",i.type="button",(o=this._input=e.DomUtil.create("input","",r)).type="text",o.placeholder=this.options.placeholder,e.DomEvent.disableClickPropagation(o),this._errorElement=e.DomUtil.create("div",s+"-form-no-error",n),this._errorElement.innerHTML=this.options.errorMessage,this._alts=e.DomUtil.create("ul",s+"-alternatives leaflet-control-geocoder-alternatives-minimized",n),e.DomEvent.disableClickPropagation(this._alts),e.DomEvent.addListener(o,"keydown",this._keydown,this),this.options.geocoder.suggest&&e.DomEvent.addListener(o,"input",this._change,this),e.DomEvent.addListener(o,"blur",function(){this.options.collapsed&&!this._preventBlurCollapse&&this._collapse(),this._preventBlurCollapse=!1},this),this.options.collapsed?"click"===this.options.expand?e.DomEvent.addListener(n,"click",function(e){0===e.button&&2!==e.detail&&this._toggle()},this):e.Browser.touch&&"touch"===this.options.expand?e.DomEvent.addListener(n,"touchstart mousedown",function(e){this._toggle(),e.preventDefault(),e.stopPropagation()},this):(e.DomEvent.addListener(n,"mouseover",this._expand,this),e.DomEvent.addListener(n,"mouseout",this._collapse,this),this._map.on("movestart",this._collapse,this)):(this._expand(),e.Browser.touch?e.DomEvent.addListener(n,"touchstart",function(){this._geocode()},this):e.DomEvent.addListener(n,"click",function(){this._geocode()},this)),this.options.defaultMarkGeocode&&this.on("markgeocode",this.markGeocode,this),this.on("startgeocode",this.addThrobberClass,this),this.on("finishgeocode",this.removeThrobberClass,this),this.on("startsuggest",this.addThrobberClass,this),this.on("finishsuggest",this.removeThrobberClass,this),e.DomEvent.disableClickPropagation(n),n},_geocodeResult:function(t,o){if(!o&&this.options.showUniqueResult&&1===t.length)this._geocodeResultSelected(t[0]);else if(0<t.length){this._alts.innerHTML="",this._results=t,e.DomUtil.removeClass(this._alts,"leaflet-control-geocoder-alternatives-minimized"),e.DomUtil.addClass(this._container,"leaflet-control-geocoder-options-open");for(var s=0;s<t.length;s++)this._alts.appendChild(this._createAlt(t[s],s))}else e.DomUtil.addClass(this._container,"leaflet-control-geocoder-options-error"),e.DomUtil.addClass(this._errorElement,"leaflet-control-geocoder-error")},markGeocode:function(t){return t=t.geocode||t,this._map.fitBounds(t.bbox),this._geocodeMarker&&this._map.removeLayer(this._geocodeMarker),this._geocodeMarker=new e.Marker(t.center).bindPopup(t.html||t.name).addTo(this._map).openPopup(),this},_geocode:function(e){var t=this._input.value;if(e||!(t.length<this.options.queryMinLength)){var o=++this._requestCount,s=e?"suggest":"geocode",n={input:t};this._lastGeocode=t,e||this._clearResults(),this.fire("start"+s,n),this.options.geocoder[s](t,function(t){o===this._requestCount&&(n.results=t,this.fire("finish"+s,n),this._geocodeResult(t,e))},this)}},_geocodeResultSelected:function(e){this.fire("markgeocode",{geocode:e})},_toggle:function(){e.DomUtil.hasClass(this._container,"leaflet-control-geocoder-expanded")?this._collapse():this._expand()},_expand:function(){e.DomUtil.addClass(this._container,"leaflet-control-geocoder-expanded"),this._input.select(),this.fire("expand")},_collapse:function(){e.DomUtil.removeClass(this._container,"leaflet-control-geocoder-expanded"),e.DomUtil.addClass(this._alts,"leaflet-control-geocoder-alternatives-minimized"),e.DomUtil.removeClass(this._errorElement,"leaflet-control-geocoder-error"),e.DomUtil.removeClass(this._container,"leaflet-control-geocoder-options-open"),e.DomUtil.removeClass(this._container,"leaflet-control-geocoder-options-error"),this._input.blur(),this.fire("collapse")},_clearResults:function(){e.DomUtil.addClass(this._alts,"leaflet-control-geocoder-alternatives-minimized"),this._selection=null,e.DomUtil.removeClass(this._errorElement,"leaflet-control-geocoder-error"),e.DomUtil.removeClass(this._container,"leaflet-control-geocoder-options-open"),e.DomUtil.removeClass(this._container,"leaflet-control-geocoder-options-error")},_createAlt:function(t,o){var s=e.DomUtil.create("li",""),n=e.DomUtil.create("a","",s),i=this.options.showResultIcons&&t.icon?e.DomUtil.create("img","",n):null,r=t.html?void 0:document.createTextNode(t.name);return i&&(i.src=t.icon),s.setAttribute("data-result-index",o),t.html?n.innerHTML=n.innerHTML+t.html:n.appendChild(r),e.DomEvent.addListener(s,"mousedown touchstart",function(o){this._preventBlurCollapse=!0,e.DomEvent.stop(o),this._geocodeResultSelected(t),e.DomEvent.on(s,"click",function(){this.options.collapsed?this._collapse():this._clearResults()},this)},this),s},_keydown:function(t){function o(t){s._selection&&(e.DomUtil.removeClass(s._selection,"leaflet-control-geocoder-selected"),s._selection=s._selection[0<t?"nextSibling":"previousSibling"]),s._selection||(s._selection=s._alts[0<t?"firstChild":"lastChild"]),s._selection&&e.DomUtil.addClass(s._selection,"leaflet-control-geocoder-selected")}var s=this;switch(t.keyCode){case 27:this.options.collapsed?this._collapse():this._clearResults();break;case 38:o(-1);break;case 40:o(1);break;case 13:if(this._selection){var n=parseInt(this._selection.getAttribute("data-result-index"),10);this._geocodeResultSelected(this._results[n]),this._clearResults()}else this._geocode();break;default:return}e.DomEvent.preventDefault(t)},_change:function(){var t=this._input.value;t!==this._lastGeocode&&(clearTimeout(this._suggestTimeout),t.length>=this.options.suggestMinLength?this._suggestTimeout=setTimeout(e.bind(function(){this._geocode(!0)},this),this.options.suggestTimeout):this._clearResults())}});return e.Util.extend(T,P),e.Util.extend(e.Control,{Geocoder:T,geocoder:function(e){return new T(e)}}),T}(L);
|
|
1
|
+
"use strict";window.L=window.L||{},window.L.Control=window.L.Control||{},window.L.Control.Geocoder=function(e){function t(e){return d[e]}function o(t,o,s,n,r){var l="_l_geocoder_"+a++;o[r||"callback"]=l,window[l]=e.Util.bind(s,n);var c=document.createElement("script");c.type="text/javascript",c.src=t+i(o),c.id=l,document.getElementsByTagName("head")[0].appendChild(c)}function s(e,t,o){var s=new XMLHttpRequest;s.onreadystatechange=function(){if(4===s.readyState){var e;if(200!==s.status&&304!==s.status)e="";else if("string"==typeof s.response)try{e=JSON.parse(s.response)}catch(t){e=s.response}else e=s.response;o(e)}},s.open("GET",e+i(t),!0),s.responseType="json",s.setRequestHeader("Accept","application/json"),s.send(null)}function n(e,o){return e.replace(/\{ *([\w_]+) *\}/g,function(e,s){var n=o[s];return void 0===n?n="":"function"==typeof n&&(n=n(o)),function(e){return null==e?"":e?(e=""+e,c.test(e)?e.replace(l,t):e):e+""}(n)})}function i(t,o,s){var n=[];for(var i in t){var r=encodeURIComponent(s?i.toUpperCase():i),a=t[i];if(e.Util.isArray(a))for(var l=0;l<a.length;l++)n.push(r+"="+encodeURIComponent(a[l]));else n.push(r+"="+encodeURIComponent(a))}return(o&&-1!==o.indexOf("?")?"&":"?")+n.join("&")}function r(e,t){return new x(e,t)}e=e&&e.hasOwnProperty("default")?e["default"]:e;var a=0,l=/[&<>"'`]/g,c=/[&<>"'`]/,d={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},u=e.Class.extend({options:{service_url:"https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"},initialize:function(t,o){e.setOptions(this,o),this._accessToken=t},geocode:function(t,o,n){var i={SingleLine:t,outFields:"Addr_Type",forStorage:!1,maxLocations:10,f:"json"};this._key&&this._key.length&&(i.token=this._key),s(this.options.service_url+"/findAddressCandidates",e.extend(i,this.options.geocodingQueryParams),function(t){var s,i,r,a=[];if(t.candidates&&t.candidates.length)for(var l=0;l<=t.candidates.length-1;l++)s=t.candidates[l],i=e.latLng(s.location.y,s.location.x),r=e.latLngBounds(e.latLng(s.extent.ymax,s.extent.xmax),e.latLng(s.extent.ymin,s.extent.xmin)),a[l]={name:s.address,bbox:r,center:i};o.call(n,a)})},suggest:function(e,t,o){return this.geocode(e,t,o)},reverse:function(t,o,n,i){var r={location:encodeURIComponent(t.lng)+","+encodeURIComponent(t.lat),distance:100,f:"json"};s(this.options.service_url+"/reverseGeocode",r,function(t){var o,s=[];t&&!t.error&&(o=e.latLng(t.location.y,t.location.x),s.push({name:t.address.Match_addr,center:o,bounds:e.latLngBounds(o,o)})),n.call(i,s)})}}),p=e.Class.extend({initialize:function(e){this.key=e},geocode:function(t,s,n){o("https://dev.virtualearth.net/REST/v1/Locations",{query:t,key:this.key},function(t){var o=[];if(0<t.resourceSets.length)for(var i=t.resourceSets[0].resources.length-1;0<=i;i--){var r=t.resourceSets[0].resources[i],a=r.bbox;o[i]={name:r.name,bbox:e.latLngBounds([a[0],a[1]],[a[2],a[3]]),center:e.latLng(r.point.coordinates)}}s.call(n,o)},this,"jsonp")},reverse:function(t,s,n,i){o("//dev.virtualearth.net/REST/v1/Locations/"+t.lat+","+t.lng,{key:this.key},function(t){for(var o=[],s=t.resourceSets[0].resources.length-1;0<=s;s--){var r=t.resourceSets[0].resources[s],a=r.bbox;o[s]={name:r.name,bbox:e.latLngBounds([a[0],a[1]],[a[2],a[3]]),center:e.latLng(r.point.coordinates)}}n.call(i,o)},this,"jsonp")}}),h=e.Class.extend({options:{serviceUrl:"https://maps.googleapis.com/maps/api/geocode/json",geocodingQueryParams:{},reverseQueryParams:{}},initialize:function(t,o){this._key=t,e.setOptions(this,o),this.options.serviceUrl=this.options.service_url||this.options.serviceUrl},geocode:function(t,o,n){var i={address:t};this._key&&this._key.length&&(i.key=this._key),i=e.Util.extend(i,this.options.geocodingQueryParams),s(this.options.serviceUrl,i,function(t){var s,i,r,a=[];if(t.results&&t.results.length)for(var l=0;l<=t.results.length-1;l++)s=t.results[l],i=e.latLng(s.geometry.location),r=e.latLngBounds(e.latLng(s.geometry.viewport.northeast),e.latLng(s.geometry.viewport.southwest)),a[l]={name:s.formatted_address,bbox:r,center:i,properties:s.address_components};o.call(n,a)})},reverse:function(t,o,n,i){var r={latlng:encodeURIComponent(t.lat)+","+encodeURIComponent(t.lng)};r=e.Util.extend(r,this.options.reverseQueryParams),this._key&&this._key.length&&(r.key=this._key),s(this.options.serviceUrl,r,function(t){var o,s,r,a=[];if(t.results&&t.results.length)for(var l=0;l<=t.results.length-1;l++)o=t.results[l],s=e.latLng(o.geometry.location),r=e.latLngBounds(e.latLng(o.geometry.viewport.northeast),e.latLng(o.geometry.viewport.southwest)),a[l]={name:o.formatted_address,bbox:r,center:s,properties:o.address_components};n.call(i,a)})}}),g=e.Class.extend({options:{geocodeUrl:"https://geocoder.api.here.com/6.2/geocode.json",reverseGeocodeUrl:"https://reverse.geocoder.api.here.com/6.2/reversegeocode.json",app_id:"<insert your app_id here>",app_code:"<insert your app_code here>",geocodingQueryParams:{},reverseQueryParams:{},reverseGeocodeProxRadius:null},initialize:function(t){e.setOptions(this,t)},geocode:function(t,o,s){var n={searchtext:t,gen:9,app_id:this.options.app_id,app_code:this.options.app_code,jsonattributes:1};n=e.Util.extend(n,this.options.geocodingQueryParams),this.getJSON(this.options.geocodeUrl,n,o,s)},reverse:function(t,o,s,n){var i=this.options.reverseGeocodeProxRadius?this.options.reverseGeocodeProxRadius:null,r=i?","+encodeURIComponent(i):"",a={prox:encodeURIComponent(t.lat)+","+encodeURIComponent(t.lng)+r,mode:"retrieveAddresses",app_id:this.options.app_id,app_code:this.options.app_code,gen:9,jsonattributes:1};a=e.Util.extend(a,this.options.reverseQueryParams),this.getJSON(this.options.reverseGeocodeUrl,a,s,n)},getJSON:function(t,o,n,i){s(t,o,function(t){var o,s,r,a=[];if(t.response.view&&t.response.view.length)for(var l=0;l<=t.response.view[0].result.length-1;l++)o=t.response.view[0].result[l].location,s=e.latLng(o.displayPosition.latitude,o.displayPosition.longitude),r=e.latLngBounds(e.latLng(o.mapView.topLeft.latitude,o.mapView.topLeft.longitude),e.latLng(o.mapView.bottomRight.latitude,o.mapView.bottomRight.longitude)),a[l]={name:o.address.label,bbox:r,center:s};n.call(i,a)})}}),m=e.Class.extend({options:{next:void 0,sizeInMeters:1e4},initialize:function(t){e.Util.setOptions(this,t)},geocode:function(t,o,s){var n,i;if((n=t.match(/^([NS])\s*(\d{1,3}(?:\.\d*)?)\W*([EW])\s*(\d{1,3}(?:\.\d*)?)$/))?i=e.latLng((/N/i.test(n[1])?1:-1)*parseFloat(n[2]),(/E/i.test(n[3])?1:-1)*parseFloat(n[4])):(n=t.match(/^(\d{1,3}(?:\.\d*)?)\s*([NS])\W*(\d{1,3}(?:\.\d*)?)\s*([EW])$/))?i=e.latLng((/N/i.test(n[2])?1:-1)*parseFloat(n[1]),(/E/i.test(n[4])?1:-1)*parseFloat(n[3])):(n=t.match(/^([NS])\s*(\d{1,3})°?\s*(\d{1,3}(?:\.\d*)?)?['′]?\W*([EW])\s*(\d{1,3})°?\s*(\d{1,3}(?:\.\d*)?)?['′]?$/))?i=e.latLng((/N/i.test(n[1])?1:-1)*(parseFloat(n[2])+parseFloat(n[3]/60)),(/E/i.test(n[4])?1:-1)*(parseFloat(n[5])+parseFloat(n[6]/60))):(n=t.match(/^(\d{1,3})°?\s*(\d{1,3}(?:\.\d*)?)?['′]?\s*([NS])\W*(\d{1,3})°?\s*(\d{1,3}(?:\.\d*)?)?['′]?\s*([EW])$/))?i=e.latLng((/N/i.test(n[3])?1:-1)*(parseFloat(n[1])+parseFloat(n[2]/60)),(/E/i.test(n[6])?1:-1)*(parseFloat(n[4])+parseFloat(n[5]/60))):(n=t.match(/^([NS])\s*(\d{1,3})°?\s*(\d{1,2})['′]?\s*(\d{1,3}(?:\.\d*)?)?["″]?\W*([EW])\s*(\d{1,3})°?\s*(\d{1,2})['′]?\s*(\d{1,3}(?:\.\d*)?)?["″]?$/))?i=e.latLng((/N/i.test(n[1])?1:-1)*(parseFloat(n[2])+parseFloat(n[3]/60+parseFloat(n[4]/3600))),(/E/i.test(n[5])?1:-1)*(parseFloat(n[6])+parseFloat(n[7]/60)+parseFloat(n[8]/3600))):(n=t.match(/^(\d{1,3})°?\s*(\d{1,2})['′]?\s*(\d{1,3}(?:\.\d*)?)?["″]\s*([NS])\W*(\d{1,3})°?\s*(\d{1,2})['′]?\s*(\d{1,3}(?:\.\d*)?)?["″]?\s*([EW])$/))?i=e.latLng((/N/i.test(n[4])?1:-1)*(parseFloat(n[1])+parseFloat(n[2]/60+parseFloat(n[3]/3600))),(/E/i.test(n[8])?1:-1)*(parseFloat(n[5])+parseFloat(n[6]/60)+parseFloat(n[7]/3600))):(n=t.match(/^\s*([+-]?\d+(?:\.\d*)?)\s*[\s,]\s*([+-]?\d+(?:\.\d*)?)\s*$/))&&(i=e.latLng(parseFloat(n[1]),parseFloat(n[2]))),i){var r=[{name:t,center:i,bbox:i.toBounds(this.options.sizeInMeters)}];o.call(s,r)}else this.options.next&&this.options.next.geocode(t,o,s)}}),f=e.Class.extend({options:{serviceUrl:"https://api.mapbox.com/geocoding/v5/mapbox.places/",geocodingQueryParams:{},reverseQueryParams:{}},initialize:function(t,o){e.setOptions(this,o),this.options.geocodingQueryParams.access_token=t,this.options.reverseQueryParams.access_token=t},geocode:function(t,o,n){var i=this.options.geocodingQueryParams;void 0!==i.proximity&&void 0!==i.proximity.lat&&void 0!==i.proximity.lng&&(i.proximity=i.proximity.lng+","+i.proximity.lat),s(this.options.serviceUrl+encodeURIComponent(t)+".json",i,function(t){var s,i,r,a=[];if(t.features&&t.features.length)for(var l=0;l<=t.features.length-1;l++){s=t.features[l],i=e.latLng(s.center.reverse()),r=s.bbox?e.latLngBounds(e.latLng(s.bbox.slice(0,2).reverse()),e.latLng(s.bbox.slice(2,4).reverse())):e.latLngBounds(i,i);for(var c={text:s.text,address:s.address},d=0;d<(s.context||[]).length;d++)c[s.context[d].id.split(".")[0]]=s.context[d].text;a[l]={name:s.place_name,bbox:r,center:i,properties:c}}o.call(n,a)})},suggest:function(e,t,o){return this.geocode(e,t,o)},reverse:function(t,o,n,i){s(this.options.serviceUrl+encodeURIComponent(t.lng)+","+encodeURIComponent(t.lat)+".json",this.options.reverseQueryParams,function(t){var o,s,r,a=[];if(t.features&&t.features.length)for(var l=0;l<=t.features.length-1;l++)o=t.features[l],s=e.latLng(o.center.reverse()),r=o.bbox?e.latLngBounds(e.latLng(o.bbox.slice(0,2).reverse()),e.latLng(o.bbox.slice(2,4).reverse())):e.latLngBounds(s,s),a[l]={name:o.place_name,bbox:r,center:s};n.call(i,a)})}}),v=e.Class.extend({options:{serviceUrl:"https://www.mapquestapi.com/geocoding/v1"},initialize:function(t,o){this._key=decodeURIComponent(t),e.Util.setOptions(this,o)},_formatName:function(){var e,t=[];for(e=0;e<arguments.length;e++)arguments[e]&&t.push(arguments[e]);return t.join(", ")},geocode:function(t,o,n){s(this.options.serviceUrl+"/address",{key:this._key,location:t,limit:5,outFormat:"json"},e.bind(function(t){var s,i,r=[];if(t.results&&t.results[0].locations)for(var a=t.results[0].locations.length-1;0<=a;a--)s=t.results[0].locations[a],i=e.latLng(s.latLng),r[a]={name:this._formatName(s.street,s.adminArea4,s.adminArea3,s.adminArea1),bbox:e.latLngBounds(i,i),center:i};o.call(n,r)},this))},reverse:function(t,o,n,i){s(this.options.serviceUrl+"/reverse",{key:this._key,location:t.lat+","+t.lng,outputFormat:"json"},e.bind(function(t){var o,s,r=[];if(t.results&&t.results[0].locations)for(var a=t.results[0].locations.length-1;0<=a;a--)o=t.results[0].locations[a],s=e.latLng(o.latLng),r[a]={name:this._formatName(o.street,o.adminArea4,o.adminArea3,o.adminArea1),bbox:e.latLngBounds(s,s),center:s};n.call(i,r)},this))}}),_=e.Class.extend({options:{userId:"<insert your userId here>",apiKey:"<insert your apiKey here>",serviceUrl:"https://neutrinoapi.com/"},initialize:function(t){e.Util.setOptions(this,t)},geocode:function(t,o,n){s(this.options.serviceUrl+"geocode-address",{apiKey:this.options.apiKey,userId:this.options.userId,address:t.split(/\s+/).join(".")},function(t){var s,i,r=[];t.locations&&(t.geometry=t.locations[0],s=e.latLng(t.geometry.latitude,t.geometry.longitude),i=e.latLngBounds(s,s),r[0]={name:t.geometry.address,bbox:i,center:s}),o.call(n,r)})},suggest:function(e,t,o){return this.geocode(e,t,o)},reverse:function(t,o,n,i){s(this.options.serviceUrl+"geocode-reverse",{apiKey:this.options.apiKey,userId:this.options.userId,latitude:t.lat,longitude:t.lng},function(o){var s,r,a=[];200==o.status.status&&o.found&&(s=e.latLng(t.lat,t.lng),r=e.latLngBounds(s,s),a[0]={name:o.address,bbox:r,center:s}),n.call(i,a)})}}),b=e.Class.extend({options:{serviceUrl:"https://nominatim.openstreetmap.org/",geocodingQueryParams:{},reverseQueryParams:{},htmlTemplate:function(e){var t=e.address,o=[];return(t.road||t.building)&&o.push("{building} {road} {house_number}"),(t.city||t.town||t.village||t.hamlet)&&o.push('<span class="'+(0<o.length?"leaflet-control-geocoder-address-detail":"")+'">{postcode} {city} {town} {village} {hamlet}</span>'),(t.state||t.country)&&o.push('<span class="'+(0<o.length?"leaflet-control-geocoder-address-context":"")+'">{state} {country}</span>'),n(o.join("<br/>"),t)}},initialize:function(t){e.Util.setOptions(this,t)},geocode:function(t,o,n){s(this.options.serviceUrl+"search",e.extend({q:t,limit:5,format:"json",addressdetails:1},this.options.geocodingQueryParams),e.bind(function(t){for(var s=[],i=t.length-1;0<=i;i--){for(var r=t[i].boundingbox,a=0;a<4;a++)r[a]=parseFloat(r[a]);s[i]={icon:t[i].icon,name:t[i].display_name,html:this.options.htmlTemplate?this.options.htmlTemplate(t[i]):void 0,bbox:e.latLngBounds([r[0],r[2]],[r[1],r[3]]),center:e.latLng(t[i].lat,t[i].lon),properties:t[i]}}o.call(n,s)},this))},reverse:function(t,o,n,i){s(this.options.serviceUrl+"reverse",e.extend({lat:t.lat,lon:t.lng,zoom:Math.round(Math.log(o/256)/Math.log(2)),addressdetails:1,format:"json"},this.options.reverseQueryParams),e.bind(function(t){var o,s=[];t&&t.lat&&t.lon&&(o=e.latLng(t.lat,t.lon),s.push({name:t.display_name,html:this.options.htmlTemplate?this.options.htmlTemplate(t):void 0,center:o,bounds:e.latLngBounds(o,o),properties:t})),n.call(i,s)},this))}}),L=e.Class.extend({options:{OpenLocationCode:void 0,codeLength:void 0},initialize:function(t){e.setOptions(this,t)},geocode:function(t,o,s){try{var n=this.options.OpenLocationCode.decode(t),i={name:t,center:e.latLng(n.latitudeCenter,n.longitudeCenter),bbox:e.latLngBounds(e.latLng(n.latitudeLo,n.longitudeLo),e.latLng(n.latitudeHi,n.longitudeHi))};o.call(s,[i])}catch(t){console.warn(t),o.call(s,[])}},reverse:function(t,o,s,n){try{var i={name:this.options.OpenLocationCode.encode(t.lat,t.lng,this.options.codeLength),center:e.latLng(t.lat,t.lng),bbox:e.latLngBounds(e.latLng(t.lat,t.lng),e.latLng(t.lat,t.lng))};s.call(n,[i])}catch(t){console.warn(t),s.call(n,[])}}}),y=e.Class.extend({options:{serviceUrl:"https://api.opencagedata.com/geocode/v1/json"},initialize:function(e){this._accessToken=e},geocode:function(t,o,n){s(this.options.serviceUrl,{key:this._accessToken,q:t},function(t){var s,i,r,a=[];if(t.results&&t.results.length)for(var l=0;l<t.results.length;l++)r=t.results[l],s=e.latLng(r.geometry),i=r.annotations&&r.annotations.bounds?e.latLngBounds(e.latLng(r.annotations.bounds.northeast),e.latLng(r.annotations.bounds.southwest)):e.latLngBounds(s,s),a.push({name:r.formatted,bbox:i,center:s});o.call(n,a)})},suggest:function(e,t,o){return this.geocode(e,t,o)},reverse:function(t,o,n,i){s(this.options.serviceUrl,{key:this._accessToken,q:[t.lat,t.lng].join(",")},function(t){var o,s,r,a=[];if(t.results&&t.results.length)for(var l=0;l<t.results.length;l++)r=t.results[l],o=e.latLng(r.geometry),s=r.annotations&&r.annotations.bounds?e.latLngBounds(e.latLng(r.annotations.bounds.northeast),e.latLng(r.annotations.bounds.southwest)):e.latLngBounds(o,o),a.push({name:r.formatted,bbox:s,center:o});n.call(i,a)})}}),x=e.Class.extend({options:{serviceUrl:"https://api.geocode.earth/v1",geocodingQueryParams:{},reverseQueryParams:{}},initialize:function(t,o){e.Util.setOptions(this,o),this._apiKey=t,this._lastSuggest=0},geocode:function(t,o,n){var i=this;s(this.options.serviceUrl+"/search",e.extend({api_key:this._apiKey,text:t},this.options.geocodingQueryParams),function(e){o.call(n,i._parseResults(e,"bbox"))})},suggest:function(t,o,n){var i=this;s(this.options.serviceUrl+"/autocomplete",e.extend({api_key:this._apiKey,text:t},this.options.geocodingQueryParams),e.bind(function(e){e.geocoding.timestamp>this._lastSuggest&&(this._lastSuggest=e.geocoding.timestamp,o.call(n,i._parseResults(e,"bbox")))},this))},reverse:function(t,o,n,i){var r=this;s(this.options.serviceUrl+"/reverse",e.extend({api_key:this._apiKey,"point.lat":t.lat,"point.lon":t.lng},this.options.reverseQueryParams),function(e){n.call(i,r._parseResults(e,"bounds"))})},_parseResults:function(t,o){var s=[];return e.geoJson(t,{pointToLayer:function(t,o){return e.circleMarker(o)},onEachFeature:function(t,n){var i,r,a={};n.getBounds?r=(i=n.getBounds()).getCenter():i=n.feature.bbox?(r=n.getLatLng(),e.latLngBounds(e.GeoJSON.coordsToLatLng(n.feature.bbox.slice(0,2)),e.GeoJSON.coordsToLatLng(n.feature.bbox.slice(2,4)))):(r=n.getLatLng(),e.latLngBounds(r,r)),a.name=n.feature.properties.label,a.center=r,a[o]=i,a.properties=n.feature.properties,s.push(a)}}),s}}),U=x,C=r,w=x,k=r,D=w.extend({options:{serviceUrl:"https://api.openrouteservice.org/geocode"}}),E=e.Class.extend({options:{serviceUrl:"https://photon.komoot.de/api/",reverseUrl:"https://photon.komoot.de/reverse/",nameProperties:["name","street","suburb","hamlet","town","city","state","country"]},initialize:function(t){e.setOptions(this,t)},geocode:function(t,o,n){var i=e.extend({q:t},this.options.geocodingQueryParams);s(this.options.serviceUrl,i,e.bind(function(e){o.call(n,this._decodeFeatures(e))},this))},suggest:function(e,t,o){return this.geocode(e,t,o)},reverse:function(t,o,n,i){var r=e.extend({lat:t.lat,lon:t.lng},this.options.reverseQueryParams);s(this.options.reverseUrl,r,e.bind(function(e){n.call(i,this._decodeFeatures(e))},this))},_decodeFeatures:function(t){var o,s,n,i,r,a,l=[];if(t&&t.features)for(o=0;o<t.features.length;o++)n=(s=t.features[o]).geometry.coordinates,i=e.latLng(n[1],n[0]),a=(r=s.properties.extent)?e.latLngBounds([r[1],r[0]],[r[3],r[2]]):e.latLngBounds(i,i),l.push({name:this._decodeFeatureName(s),html:this.options.htmlTemplate?this.options.htmlTemplate(s):void 0,center:i,bbox:a,properties:s.properties});return l},_decodeFeatureName:function(e){return(this.options.nameProperties||[]).map(function(t){return e.properties[t]}).filter(function(e){return!!e}).join(", ")}}),R=e.Class.extend({options:{serviceUrl:"https://api.what3words.com/v2/"},initialize:function(e){this._accessToken=e},geocode:function(t,o,n){s(this.options.serviceUrl+"forward",{key:this._accessToken,addr:t.split(/\s+/).join(".")},function(t){var s,i,r=[];t.geometry&&(s=e.latLng(t.geometry.lat,t.geometry.lng),i=e.latLngBounds(s,s),r[0]={name:t.words,bbox:i,center:s}),o.call(n,r)})},suggest:function(e,t,o){return this.geocode(e,t,o)},reverse:function(t,o,n,i){s(this.options.serviceUrl+"reverse",{key:this._accessToken,coords:[t.lat,t.lng].join(",")},function(t){var o,s,r=[];200==t.status.status&&(o=e.latLng(t.geometry.lat,t.geometry.lng),s=e.latLngBounds(o,o),r[0]={name:t.words,bbox:s,center:o}),n.call(i,r)})}}),P=Object.freeze({ArcGis:u,arcgis:function(e,t){return new u(e,t)},Bing:p,bing:function(e){return new p(e)},Google:h,google:function(e,t){return new h(e,t)},HERE:g,here:function(e){return new g(e)},LatLng:m,latLng:function(e){return new m(e)},Mapbox:f,mapbox:function(e,t){return new f(e,t)},MapQuest:v,mapQuest:function(e,t){return new v(e,t)},Neutrino:_,neutrino:function(e){return new _(e)},Nominatim:b,nominatim:function(e){return new b(e)},OpenLocationCode:L,openLocationCode:function(e){return new L(e)},OpenCage:y,opencage:function(e){return new y(e)},Pelias:x,pelias:r,GeocodeEarth:U,geocodeEarth:C,Mapzen:w,mapzen:k,Openrouteservice:D,openrouteservice:function(e,t){return new D(e,t)},Photon:E,photon:function(e){return new E(e)},What3Words:R,what3words:function(e){return new R(e)}}),T=e.Control.extend({options:{showUniqueResult:!0,showResultIcons:!1,collapsed:!0,expand:"touch",position:"topright",placeholder:"Search...",errorMessage:"Nothing found.",queryMinLength:1,suggestMinLength:3,suggestTimeout:250,defaultMarkGeocode:!0},includes:e.Evented.prototype||e.Mixin.Events,initialize:function(t){e.Util.setOptions(this,t),this.options.geocoder||(this.options.geocoder=new b),this._requestCount=0},addThrobberClass:function(){e.DomUtil.addClass(this._container,"leaflet-control-geocoder-throbber")},removeThrobberClass:function(){e.DomUtil.removeClass(this._container,"leaflet-control-geocoder-throbber")},onAdd:function(t){var o,s="leaflet-control-geocoder",n=e.DomUtil.create("div",s+" leaflet-bar"),i=e.DomUtil.create("button",s+"-icon",n),r=this._form=e.DomUtil.create("div",s+"-form",n);return this._map=t,this._container=n,i.innerHTML=" ",i.type="button",(o=this._input=e.DomUtil.create("input","",r)).type="text",o.placeholder=this.options.placeholder,e.DomEvent.disableClickPropagation(o),this._errorElement=e.DomUtil.create("div",s+"-form-no-error",n),this._errorElement.innerHTML=this.options.errorMessage,this._alts=e.DomUtil.create("ul",s+"-alternatives leaflet-control-geocoder-alternatives-minimized",n),e.DomEvent.disableClickPropagation(this._alts),e.DomEvent.addListener(o,"keydown",this._keydown,this),this.options.geocoder.suggest&&e.DomEvent.addListener(o,"input",this._change,this),e.DomEvent.addListener(o,"blur",function(){this.options.collapsed&&!this._preventBlurCollapse&&this._collapse(),this._preventBlurCollapse=!1},this),this.options.collapsed?"click"===this.options.expand?e.DomEvent.addListener(n,"click",function(e){0===e.button&&2!==e.detail&&this._toggle()},this):e.Browser.touch&&"touch"===this.options.expand?e.DomEvent.addListener(n,"touchstart mousedown",function(e){this._toggle(),e.preventDefault(),e.stopPropagation()},this):(e.DomEvent.addListener(n,"mouseover",this._expand,this),e.DomEvent.addListener(n,"mouseout",this._collapse,this),this._map.on("movestart",this._collapse,this)):(this._expand(),e.Browser.touch?e.DomEvent.addListener(n,"touchstart",function(){this._geocode()},this):e.DomEvent.addListener(n,"click",function(){this._geocode()},this)),this.options.defaultMarkGeocode&&this.on("markgeocode",this.markGeocode,this),this.on("startgeocode",this.addThrobberClass,this),this.on("finishgeocode",this.removeThrobberClass,this),this.on("startsuggest",this.addThrobberClass,this),this.on("finishsuggest",this.removeThrobberClass,this),e.DomEvent.disableClickPropagation(n),n},_geocodeResult:function(t,o){if(!o&&this.options.showUniqueResult&&1===t.length)this._geocodeResultSelected(t[0]);else if(0<t.length){this._alts.innerHTML="",this._results=t,e.DomUtil.removeClass(this._alts,"leaflet-control-geocoder-alternatives-minimized"),e.DomUtil.addClass(this._container,"leaflet-control-geocoder-options-open");for(var s=0;s<t.length;s++)this._alts.appendChild(this._createAlt(t[s],s))}else e.DomUtil.addClass(this._container,"leaflet-control-geocoder-options-error"),e.DomUtil.addClass(this._errorElement,"leaflet-control-geocoder-error")},markGeocode:function(t){return t=t.geocode||t,this._map.fitBounds(t.bbox),this._geocodeMarker&&this._map.removeLayer(this._geocodeMarker),this._geocodeMarker=new e.Marker(t.center).bindPopup(t.html||t.name).addTo(this._map).openPopup(),this},_geocode:function(e){var t=this._input.value;if(e||!(t.length<this.options.queryMinLength)){var o=++this._requestCount,s=e?"suggest":"geocode",n={input:t};this._lastGeocode=t,e||this._clearResults(),this.fire("start"+s,n),this.options.geocoder[s](t,function(t){o===this._requestCount&&(n.results=t,this.fire("finish"+s,n),this._geocodeResult(t,e))},this)}},_geocodeResultSelected:function(e){this.fire("markgeocode",{geocode:e})},_toggle:function(){e.DomUtil.hasClass(this._container,"leaflet-control-geocoder-expanded")?this._collapse():this._expand()},_expand:function(){e.DomUtil.addClass(this._container,"leaflet-control-geocoder-expanded"),this._input.select(),this.fire("expand")},_collapse:function(){e.DomUtil.removeClass(this._container,"leaflet-control-geocoder-expanded"),e.DomUtil.addClass(this._alts,"leaflet-control-geocoder-alternatives-minimized"),e.DomUtil.removeClass(this._errorElement,"leaflet-control-geocoder-error"),e.DomUtil.removeClass(this._container,"leaflet-control-geocoder-options-open"),e.DomUtil.removeClass(this._container,"leaflet-control-geocoder-options-error"),this._input.blur(),this.fire("collapse")},_clearResults:function(){e.DomUtil.addClass(this._alts,"leaflet-control-geocoder-alternatives-minimized"),this._selection=null,e.DomUtil.removeClass(this._errorElement,"leaflet-control-geocoder-error"),e.DomUtil.removeClass(this._container,"leaflet-control-geocoder-options-open"),e.DomUtil.removeClass(this._container,"leaflet-control-geocoder-options-error")},_createAlt:function(t,o){var s=e.DomUtil.create("li",""),n=e.DomUtil.create("a","",s),i=this.options.showResultIcons&&t.icon?e.DomUtil.create("img","",n):null,r=t.html?void 0:document.createTextNode(t.name);return i&&(i.src=t.icon),s.setAttribute("data-result-index",o),t.html?n.innerHTML=n.innerHTML+t.html:n.appendChild(r),e.DomEvent.addListener(s,"mousedown touchstart",function(o){this._preventBlurCollapse=!0,e.DomEvent.stop(o),this._geocodeResultSelected(t),e.DomEvent.on(s,"click",function(){this.options.collapsed?this._collapse():this._clearResults()},this)},this),s},_keydown:function(t){function o(t){s._selection&&(e.DomUtil.removeClass(s._selection,"leaflet-control-geocoder-selected"),s._selection=s._selection[0<t?"nextSibling":"previousSibling"]),s._selection||(s._selection=s._alts[0<t?"firstChild":"lastChild"]),s._selection&&e.DomUtil.addClass(s._selection,"leaflet-control-geocoder-selected")}var s=this;switch(t.keyCode){case 27:this.options.collapsed?this._collapse():this._clearResults();break;case 38:o(-1);break;case 40:o(1);break;case 13:if(this._selection){var n=parseInt(this._selection.getAttribute("data-result-index"),10);this._geocodeResultSelected(this._results[n]),this._clearResults()}else this._geocode();break;default:return}e.DomEvent.preventDefault(t)},_change:function(){var t=this._input.value;t!==this._lastGeocode&&(clearTimeout(this._suggestTimeout),t.length>=this.options.suggestMinLength?this._suggestTimeout=setTimeout(e.bind(function(){this._geocode(!0)},this),this.options.suggestTimeout):this._clearResults())}});return e.Util.extend(T,P),e.Util.extend(e.Control,{Geocoder:T,geocoder:function(e){return new T(e)}}),T}(L);
|