-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlambda-maps.html
More file actions
1715 lines (1491 loc) · 219 KB
/
lambda-maps.html
File metadata and controls
1715 lines (1491 loc) · 219 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<script crossorigin src="https://unpkg.com/react@17.0.2/umd/react.production.min.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@17.0.2/umd/react-dom.production.min.js"></script>
<script crossorigin src="https://unpkg.com/prop-types@15.8.1/prop-types.min.js"></script>
<script>
var GLOBAL_WEBPACK={ GOOG_MAP_API: "AIzaSyCE3HSVtJ6yOEkHiBpyoR_iU00gqYgTkfk" };
</script>
<script>
(()=>{var t={712:(t,e,o)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(o(533)),a=i(o(363)),r=o(832);function i(t){return t&&t.__esModule?t:{default:t}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=new Array(e);o<e;o++)n[o]=t[o];return n}var s=GLOBAL_WEBPACK.GOOG_MAP_API;function c(t,e){var o=e[0][0].group_lat,i=e[0][0].group_lng,c={change_rebounding:!1,init_zoom:e[0][0].group_zoom,pin_scale:.05,lat_center:o,lng_center:i,pin_svg:PIN_SVG_NO_HOLE};function _(t,e){if(e)try{document.getElementById(t).value=e}catch(t){console.log(t)}else document.getElementById(t).value=""}function p(t){return document.getElementById(t).value}function u(t){var e=p("location-id"),o=p("location-outing");o="undefined"!==o&&"false"!==o&&""!==o;var n=p("location-svg"),a=parseFloat(p("location-lat")),r=parseFloat(p("location-lng")),i=p("location-color"),l=p("location-title"),s=p("location-content"),c={location_id:e,group_type:o,marker_svg:n,lat:a,lng:r,pin_color:i,title_text:l,content_text:s,extra_text:p("location-extra")};document.getElementById("dragging_modified_title").innerHTML=l,document.getElementById("dragging_modified_content").innerHTML=s;var _=document.getElementById("mod_drag");_.ondragstart=f.startDragFromOutside(c),_.style.display="block"}var g,d,m,v,f=n.default.render(a.default.createElement(r.GmapGroups,{google_map_key:s,map_locations:e,map_options:c}),document.getElementById(t));f.drawShape=function(t,e){var o=[];if(void 0!==t.lat){o.push(t);var n,a=function(t,e){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function(t,e){if(t){if("string"==typeof t)return l(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?l(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){o&&(t=o);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i=!0,s=!1;return{s:function(){o=o.call(t)},n:function(){var t=o.next();return i=t.done,t},e:function(t){s=!0,r=t},f:function(){try{i||null==o.return||o.return()}finally{if(s)throw r}}}}(e);try{for(a.s();!(n=a.n()).done;){var r=n.value;o.push(r),o.push(t)}}catch(t){a.e(t)}finally{a.f()}}return o},f.getOutingDistance=function(t){var e,o=this.filterByPropertyValue("pin_color",t.pin_color);if(0===o.length)return!1;for(var n in o)if((e=o[n]).group_type)break;return t.extra_text=r.KmsDistance.getKms(t,e),console.log(" lat_lng_obj.extra_text ",t.extra_text),0},f.generateMember=function(t){var e=t.pin_color,o=Object.assign({},t),n=this._unixTimeId(),a=this._unixTimeId();delete o.group_type,o.content_text=this.labelInput(n,"Activity","gmap_activities",a),o.title_text="",o.location_id=n,o.pin_color=e,delete o.marker_svg,this.getOutingDistance(o),this.locationAdd(o),this.drawPolyline(e),document.getElementById(a).focus()},f.SvgButtons=r.SvgButtons,f.GmapDragDrop=r.GmapDragDrop,f.NORTH_SHORE_OUTING=NORTH_SHORE_OUTING,f.SASAMAT_OUTING=SASAMAT_OUTING,f.STEVESTON_OUTING=STEVESTON_OUTING,f.STANLEY_PARK_OUTING=STANLEY_PARK_OUTING,f.clearOutings=function(){f.locationsClearAll()},f.dropOnActivityDelete=function(t){t.preventDefault();var e=t.dataTransfer.getData("text"),o=JSON.parse(e),n=o.location_id;if(!f.locationExists(n))throw'Location id "'+n+'" does not exist on outing map';f.deleteMember(o)},f.setIdVal=_,f.getIdVal=p,f.dropOnModify=function(t){t.preventDefault();var e=t.dataTransfer.getData("text"),o=JSON.parse(e);_("location-id",o.location_id),_("location-lat",o.lat),_("location-lng",o.lng),_("location-color",o.pin_color),_("location-svg",o.marker_svg),_("location-outing",o.group_type),_("location-title",o.title_text),o.content_text.indexOf("<input")>-1&&(o.content_text=""),_("location-content",o.content_text),_("location-extra",o.extra_text),document.getElementById("dragging_modified_title").innerHTML=o.title_text,document.getElementById("dragging_modified_content").innerHTML=o.content_text,u()},f.prepareModifyDrag=u,f.reSizeOutings=function(t){f.numberLocations()>0&&f.reboundMap()},f.hideOutingInfo=function(){var t=f.filterByUndefProperty("group_type");for(var e in t){var o=t[e];f.locationHideInfo(o.location_id)}},f.showOutingInfo=function(){var t=f.locationsGetAll();for(var e in t){var o=t[e];f.locationShowInfo(o.location_id)}f.reboundMap()},setInterval((function(){var t=document.getElementById("number-activities"),e=f.numberLocations();0===e&&(e=""),t.innerHTML=e+" activities"}),1e3),g=SASAMAT_OUTING,document.getElementById("drag-sasamat").ondragstart=f.startDragFromOutside(g),d=STEVESTON_OUTING,document.getElementById("drag-steveston").ondragstart=f.startDragFromOutside(d),m=NORTH_SHORE_OUTING,document.getElementById("drag-north-shore").ondragstart=f.startDragFromOutside(m),v=STANLEY_PARK_OUTING,document.getElementById("drag-stanley").ondragstart=f.startDragFromOutside(v);var h=r.SvgButtons;return h.do_delete(delete_options),h.clear_all(clear_all_activities),h.resizeHover(resize_activities),h.resizeHideInfo(hide_activities),h.resizeShowInfo(show_activities),h.do_edit(edit_options),h.upMarkerHover(drag_edit_options),h.orcaHover(steveston_options),h.swimHover(sasamat_options),h.waterHover(north_shore_options),h.parkHover(stanley_options),f}window.activitiesMap=c;var _=c;e.default=_},53:(t,e,o)=>{"use strict";var n=c(o(712)),a=c(o(77)),r=c(o(76)),i=c(o(619)),l=c(o(666)),s=c(o(641));function c(t){return t&&t.__esModule?t:{default:t}}t.exports={activitiesMap:n.default,dynamicMap:a.default,eventsMap:r.default,hikeMap:i.default,mallsMap:l.default,simpleMap:s.default}},77:(t,e,o)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(832);function a(t,e,o,a){var r,i,l=[],s=[];function c(){var e;e=0===l.length?o:l;var a={google_map_key:GLOBAL_WEBPACK.GOOG_MAP_API,map_locations:e,map_options:{map_type:"terrain"}};r=n.GmapDragDrop.browserFactory(t,a),document.getElementById("create_a").disabled=!0,document.getElementById("destroy_a").disabled=!1}function _(){var t;t=0===s.length?a:s;var o={google_map_key:GLOBAL_WEBPACK.GOOG_MAP_API,map_locations:t,map_options:{map_type:"hybrid"}};i=n.GmapDragDrop.browserFactory(e,o),document.getElementById("create_b").disabled=!0,document.getElementById("destroy_b").disabled=!1}ReactDOM.render(React.createElement("img",{src:"/icons/green-dot.png"}),document.getElementById("green-dot-id")),c(),_();var p={};return p.createMapA=c,p.createMapB=_,p.destroyMapA=function(){l=r.locationsGetAll(),n.GmapDragDrop.browserDestroy(r),document.getElementById("create_a").disabled=!1,document.getElementById("destroy_a").disabled=!0},p.destroyMapB=function(){s=i.locationsGetAll(),n.GmapDragDrop.browserDestroy(i),document.getElementById("create_b").disabled=!1,document.getElementById("destroy_b").disabled=!0},p}window.dynamicMap=a;var r=a;e.default=r},76:(t,e,o)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(o(533)),a=i(o(363)),r=o(832);function i(t){return t&&t.__esModule?t:{default:t}}function l(t,e){var o={png_marker_location:"/icons/",onReady:function(t){t.gmap_params.gmap_event._gmapDragDrop_vars.container_id},onCenterChanged:function(t){var e=t.gmap_params;return e.moved_center,e.gmap_event,!0},onZoomChanged:function(t){var e=t.gmap_params;return e.map_zoom,e.gmap_event,!0},onMouseMove:function(t){if(t.gmap_params.gmap_event,0===Math.floor(33*Math.random())){var e=t.latLng;t.pageX,t.pageY,e.lat(),e.lng()}},onDoubleClick:function(t){var e=t.gmap_params.gmap_event,o=t.latLng,n=t.pixel,a=o.lat(),r=o.lng();console.log("onDoubleClick : at ".concat(a,",").concat(r," ").concat(n.x,",").concat(n.y)),e.locationAdd(o)},onAdd:function(t){var e=t.gmap_params,o=e.location_data,n=e.gmap_event;return console.log("onAdd : with this data",n._object_type),console.dir(o),o},onAfterAdd:function(t){var e=t.gmap_params,o=e.location_data,n=e.gmap_event;console.log("onAfterAdd : with this data",n._object_type),console.dir(o)},onRightClick:function(t){var e=t.gmap_params.gmap_event,o=t.latLng,n=t.pixel,a=o.lat(),r=o.lng();console.log("onRightClick : at ".concat(a,",").concat(r," ").concat(n.x,",").concat(n.y),e._object_type)},onRightClickMarker:function(t){var e=t.gmap_params,o=e.location_id,n=e.gmap_event,a=n.locationGet(o);console.log("onRightClickMarker : with this data"),console.dir(a),n.locationDelete(o)},onDelete:function(t){var e=t.gmap_params,o=e.location_data,n=e.gmap_event;return console.log("onDelete : with this data",n._object_type),console.dir(o),!0},onDragStartMarker:function(t){var e=t.gmap_params,o=e.location_data,n=e.gmap_event;return o.title_text="onDragStartMarker : "+o.title_text,console.log("onDragStartMarker : with this data",n._object_type),o},onDragMarker:function(t){var e=t.gmap_params,o=e.start_lat_lng,n=e.location_id,a=e.page_x,r=e.page_y,i=e.gmap_event;console.log("onDragMarker :",o,n,a,r,i._object_type)},onDragEndMarker:function(t){var e=t.gmap_params,o=e.from_location,n=e.gmap_event;console.log("onDragEndMarker : with this data",n._object_type),console.dir(o)},onDragDrop:function(t){var e=t.gmap_params,o=e.location_data,n=e.gmap_event;if(console.log("onDragDrop : with this data",n._object_type),console.dir(o),void 0===o.from_lat)o.title_text="onDragDrop 0km";else{var a={lat:o.from_lat,lng:o.from_lng},i={lat:o.lat,lng:o.lng},l=r.KmsDistance.getKms(a,i);o.title_text="onDragDrop ".concat(l)}return o}},i=n.default.render(a.default.createElement(r.GmapDragDrop,{google_map_key:GLOBAL_WEBPACK.GOOG_MAP_API,map_locations:e,map_options:o}),document.getElementById(t));return n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/black-dot.png"}),document.getElementById("black-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/blue-dot.png"}),document.getElementById("blue-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/circle-dot.png"}),document.getElementById("circle-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/cyan-dot.png"}),document.getElementById("cyan-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/green-dot.png"}),document.getElementById("green-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/grey-dot.png"}),document.getElementById("grey-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/pink-dot.png"}),document.getElementById("pink-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/purple-dot.png"}),document.getElementById("purple-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/rainbow-dot.png"}),document.getElementById("rainbow-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/red-dot.png"}),document.getElementById("red-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/square-dot.png"}),document.getElementById("square-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/stripe-dot.png"}),document.getElementById("stripe-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/transparent-dot.png"}),document.getElementById("transparent-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/yellow-dot.png"}),document.getElementById("yellow-dot-id")),n.default.render(a.default.createElement("img",{src:"https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/see-thru-dot.png"}),document.getElementById("see-thru-dot-id")),i}window.eventsMap=l;var s=l;e.default=s},619:(t,e,o)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(o(533)),a=i(o(363)),r=o(832);function i(t){return t&&t.__esModule?t:{default:t}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=new Array(e);o<e;o++)n[o]=t[o];return n}function s(t,e,o){var i=Object.values(e),s=i[0][0].group_lat,c=i[0][0].group_lng,_={change_rebounding:!1,init_zoom:i[0][0].group_zoom,pin_scale:.05,pin_svg:"m256,0c-70.703,0 -128,57.313 -128,128c0,51.5 30.563,95.563 74.375,115.875l53.625,268.125l53.625,-268.125c43.813,-20.312 74.375,-64.375 74.375,-115.875c0,-70.687 -57.312,-128 -128,-128z",map_styles:[{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:"#444444"}]},{featureType:"landscape",elementType:"all",stylers:[{color:"#f2f2f2"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"all",stylers:[{saturation:-100},{lightness:45}]},{featureType:"road.highway",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"road.arterial",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"all",stylers:[{color:"#46bcec"},{visibility:"on"}]}],lat_center:s,lng_center:c},p=n.default.render(a.default.createElement(r.GmapGroups,{google_map_key:GLOBAL_WEBPACK.GOOG_MAP_API,map_locations:i,map_options:_}),document.getElementById("gmap-hikes"));function u(){p.locationsClearAll()}p.drawShape=function(t,e){var o=[];if(void 0!==t.lat){o.push(t);var n,a=function(t,e){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function(t,e){if(t){if("string"==typeof t)return l(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?l(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){o&&(t=o);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i=!0,s=!1;return{s:function(){o=o.call(t)},n:function(){var t=o.next();return i=t.done,t},e:function(t){s=!0,r=t},f:function(){try{i||null==o.return||o.return()}finally{if(s)throw r}}}}(e);try{for(a.s();!(n=a.n()).done;){var r=n.value;o[r.order_index]=r}}catch(t){a.e(t)}finally{a.f()}}return o},p.getOutingDistance=function(t){var e=0,o=t.order_index;if(o>0){var n=o-1,a=o+1,i=this.filterByPropertyValue("pin_color",t.pin_color);for(var l in i){var s=i[l];n===s.order_index?t.extra_text=r.KmsDistance.getKms(t,s):a===s.order_index&&(e=s.location_id)}}return e},p.generateMember=function(){};var g=function(){var t=document.getElementById("number-hikes"),e=p.numberLocations();0===e&&(e=""),t.innerHTML=e+" activities"};function d(t){p.numberLocations()>0&&p.reboundMap()}function m(){var t=p.filterByUndefProperty("group_type");for(var e in t){var o=t[e];p.locationHideInfo(o.location_id)}}r.SvgButtons.treeHover(o.BURKE),document.getElementById("drag_burke").ondragstart=p.startDragFromOutside(BURKE_HIKE),r.SvgButtons.treeHover(o.ALOUETTE),document.getElementById("drag_alloutte").ondragstart=p.startDragFromOutside(ALOUETTE_HIKE),r.SvgButtons.treeHover(o.SWAN),document.getElementById("drag_swan").ondragstart=p.startDragFromOutside(SWAN_HIKE),r.SvgButtons.treeHover(o.BASTION),document.getElementById("drag_bastion").ondragstart=p.startDragFromOutside(BASTION_HIKE),setInterval(g,1e3),p.clearHikes=u,p.showNumberHikes=g,p.reSizeHikes=d,p.hideHikesInfo=m,p.showHikesInfo=function(){var t=p.locationsGetAll();for(var e in t){var o=t[e];p.locationShowInfo(o.location_id)}},u(),d(),m(),m(),p.showHikesInfo();var v={append_to_id:"icon_all",marker_icon_title:"Delete all",main_color:"#888",minor_color:"#888",minor_hover:"#f00",normal_opacity:NON_HOVER_OPACITY_HIKE},f={append_to_id:"icon_resize",marker_icon_title:"ReSize",main_color:"#888",minor_color:"#888",minor_hover:"#00f",normal_opacity:NON_HOVER_OPACITY_HIKE},h={append_to_id:"icon_hide",marker_icon_title:"Hide Info",main_color:"#888",minor_color:"#888",minor_hover:"#00f",normal_opacity:NON_HOVER_OPACITY_HIKE},y={append_to_id:"icon_show",marker_icon_title:"Show Info",main_color:"#888",minor_color:"#888",minor_hover:"#0f0",normal_opacity:NON_HOVER_OPACITY_HIKE},D=r.SvgButtons;return D.resizeHover(f),D.clear_all(v),D.resizeShowInfo(y),D.resizeHideInfo(h),p}window.hikeMap=s;var c=s;e.default=c},666:(t,e,o)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,a,r=(n=o(533))&&n.__esModule?n:{default:n},i=o(832),l=[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}];function s(t,e){var o={max_zoom:13,street_view:!1,zoom_control:!1,map_type_control:!1,pin_svg:"m256,0c-70.703,0 -128,57.313 -128,128c0,51.5 30.563,95.563 74.375,115.875l53.625,268.125l53.625,-268.125c43.813,-20.312 74.375,-64.375 74.375,-115.875c0,-70.687 -57.312,-128 -128,-128z",map_styles:l,onDragDrop:function(t){var e=t.gmap_params,o=e.location_data,n=e.gmap_event;return a=n._unixTimeId(),void 0!==o.showing_info_window&&(o.title_text=n.labelInput(o.location_id,"New Location","gmap_malls",a)),o},onAfterAdd:function(){null!==document.getElementById(a)&&document.getElementById(a).focus()},onDoubleClick:function(t){var e=t.gmap_params.gmap_event,o=t.latLng,n=e.newRandomColor();o.pin_color=n,e.locationAdd(o)}},n=r.default.render(React.createElement(i.GmapDragDrop,{google_map_key:GLOBAL_WEBPACK.GOOG_MAP_API,lat_center:49.275314,lng_center:-122.8547288,map_locations:e,map_options:o}),document.getElementById(t));function s(t,e){document.getElementById(t).ondragstart=n.startDragFromOutside(e)}n.dropOnMallDelete=function(t){t.preventDefault();var e=t.dataTransfer.getData("text"),o=JSON.parse(e).location_id;if(!n.locationExists(o))throw'Location id "'+o+'" does not exist on the mall map';n.locationDelete(o)};var c=i.SvgButtons;return c.do_delete(delete_malls_options),c.upMarkerHover(coquitlam_options),c.upMarkerHover(central_city_options),c.upMarkerHover(pacific_options),c.upMarkerHover(oakridge_options),c.upMarkerHover(park_royal_options),c.upMarkerHover(capilano_options),c.upMarkerHover(royal_city_options),c.upMarkerHover(richmond_options),c.upMarkerHover(lansdowne_options),c.upMarkerHover(aberdeen_options),c.upMarkerHover(lougheed_options),c.upMarkerHover(brentwood_options),c.upMarkerHover(metropolis_options),c.upMarkerHover(guildford_options),s("coquitlam_id",COQUITLAM_CENTRE),s("central_city_id",CENTRAL_CITY),s("pacific_id",PACIFIC),s("oakridge_id",OAKRIDGE),s("park_royal_id",PARK_ROYAL),s("capilano_id",CAPILANO),s("royal_city_id",ROYAL_CITY),s("richmond_id",RICHMOND_CENTRE),s("lansdowne_id",LANSDOWNE),s("aberdeen_id",ABERDEEN),s("lougheed_id",LOUGHEED),s("brentwood_id",BRENTWOOD),s("metropolis_id",METROPOLIS),s("guildford_id",GUILDFORD),n}window.mallsMap=s;var c=s;e.default=c},641:(t,e,o)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(832);function a(t,e){var o=ReactDOM.render(React.createElement(n.GmapDragDrop,{google_map_key:GLOBAL_WEBPACK.GOOG_MAP_API,map_locations:e,map_options:{pin_svg:"m330.98799,85.17422c19.10273,0 47.26773,11.66465 47.26773,39.81121c0,28.14654 -18.0507,79.97311 -18.0507,79.97311c0,0 47.15701,30.87814 58.89549,40.34646c24.58439,19.78564 16.22349,37.54103 -16.6849,23.6431c-53.4323,-22.55414 -78.51501,-33.68358 -82.53859,-47.76607c-4.02358,-14.0825 -0.46143,-42.65355 -0.46143,-42.65355l-30.87814,12.82744l-130.6369,-96.01202c0,0 -11.99689,8.52702 -18.27218,8.52702c-6.31222,0 -13.84257,-4.61418 -13.84257,-4.61418l14.52546,-19.5088l-15.57751,-19.01045l21.6313,9.20993c-0.40605,0 13.38115,-18.06917 13.38115,-18.06917c0,0 7.14277,4.20813 8.82233,12.58751c1.67956,8.37937 -1.43963,16.46342 -1.43963,16.46342l56.23773,41.21392c0,0 33.18525,-36.96886 107.62132,-36.96886l-0.00003,-0.00002l0.00002,0.00002l0.00003,-0.00003zm-5.94307,244.34892c35.32621,-43.42874 1.79032,-72.73806 -12.31065,-83.81211c-14.0825,-11.05559 -119.93198,-85.10407 -119.93198,-85.10407c-29.2355,39.99578 -1.55037,77.68446 16.13119,89.97667c17.8846,12.42141 38.09473,24.15989 49.99934,33.07451c12.2922,9.22838 15.17144,19.19502 6.12763,31.26574c-9.06227,12.08919 -38.42031,47.94768 -38.42031,47.94768l-184.12805,-105.54401c-2.65961,-1.57288 -5.67157,-2.4529 -8.75977,-2.5594c-19.41984,-0.70357 -26.60153,25.21505 -9.58883,34.60641l365.06163,209.36877c0.53855,0.30399 1.09189,0.58065 1.65816,0.82908c0,0 14.46622,6.60918 33.09239,7.85851c18.62599,1.24934 44.82886,-3.85081 61.75076,-26.85605c14.63325,-19.83363 -15.15927,-41.7538 -29.73991,-21.8814c-8.23466,11.19513 -18.26258,12.65376 -29.5596,11.8961c-11.09933,-0.74454 -19.80134,-4.51636 -20.11489,-4.65035l-130.85837,-75.06619c0,0 15.00331,-18.82552 49.59126,-61.34987l0.00002,-0.00002l-0.00002,-0.00002l0,0.00003zm48.7185,-281.86027c0,56.58858 84.88297,56.58858 84.88297,0c0,-56.58858 -84.88297,-56.58858 -84.88297,0",gestureHandling:"none"}}),document.getElementById(t));return o.dumpToDiv=function(t){var e=o.locationsGetAll(),n=JSON.stringify(e,null,2);document.getElementById(t).value=n},o}window.simpleMap=a;var r=a;e.default=r},832:(t,e,o)=>{t.exports.GmapDragDrop=o(544),t.exports.GmapGroups=o(543),t.exports.KmsDistance=o(10),t.exports.SvgButtons=o(179)},544:(t,e,o)=>{"use strict";var n=s(o(533)),a=s(o(363)),r=s(o(86)),i=s(o(10)),l=s(o(812));function s(t){return t&&t.__esModule?t:{default:t}}function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function _(t,e){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function(t,e){if(t){if("string"==typeof t)return p(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?p(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){o&&(t=o);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i=!0,l=!1;return{s:function(){o=o.call(t)},n:function(){var t=o.next();return i=t.done,t},e:function(t){l=!0,r=t},f:function(){try{i||null==o.return||o.return()}finally{if(l)throw r}}}}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=new Array(e);o<e;o++)n[o]=t[o];return n}function u(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function g(t,e){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},g(t,e)}function d(t,e){if(e&&("object"===c(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return m(t)}function m(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v(t){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},v(t)}function f(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function h(t){var e=k,o=D,n="\n.".concat(e," {\nbackground: url(").concat(t.src,") no-repeat #fff 0 0 !important;\nwidth: ").concat(o,"px !important;\nheight: 20px !important;\ntext-indent: -9999px !important;\nborder: 0 !important;\noutline: 0 !important;}\n.").concat(e," * {\ndisplay: none !important; }"),a=document.createElement("style");a.innerText=n;var r=document.getElementById(b);r.appendChild(a);var i=L._getIeDragTarget();i.classList.add(e),setTimeout((function(){r.removeChild(a),i.classList.remove(e)}),0)}"undefined"!=typeof DataTransfer&&"function"!=typeof DataTransfer.prototype.setDragImage&&(DataTransfer.prototype.setDragImage=h);var y=512,D=5,k="set-drag-image-ie--dragging-",b="ie_drag_style__id_",w="drag_canvas__id_",M="INSIDE_TO_INSIDE_MOVE",I=1e5,O="-8888px",E={position:"relative",height:"100%",width:"100%"},x={position:"absolute",width:"100%",height:"100%",left:0,top:0,display:"none",cursor:"url(ie_drag_drop.cur),auto"},T={blue:"#6991FD",red:"#FD7567",purple:"#8E67FD",yellow:"#FEFC6C",green:"#00E64D"},A=["black","blue","circle","cyan","green","grey","pink","purple","rainbow","red","see-thru","square","stripe","transparent","yellow"],L=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}(p,t);var e,o,r,i,l,s=(i=p,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=v(i);if(l){var o=v(this).constructor;t=Reflect.construct(e,arguments,o)}else t=e.apply(this,arguments);return d(this,t)});function p(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),f(m(e=s.call(this,t)),"_gmapDragDrop_vars",{current_page_x:0,current_page_y:0,last_marker_x:0,last_marker_y:0,center_lat_lng:{lat:0,lng:0},drag_start_pos:{lat:0,lng:0},dragging_location_id:0,am_dragging:!1,mouse_is_up:!0,container_id:"parent_id",map_number:0,browser_zoom_level:1,location_markers:{},location_info_windows:{},location_lat_lngs:{},location_datas:{}}),e._gmapDragDrop_vars.map_positions=e.props.map_locations,e._object_type="GmapDragDrop",e._gmapDragDrop_vars.browser_zoom_level=window.devicePixelRatio,e._gmapDragDrop_vars.on_ready_fired=!1,p._map_count++,e._gmapDragDrop_vars.map_number=p._map_count;var o=Object.assign({},e.props.map_defaults,e.props.map_options);return e.state={REACT_DIV_ID:"react__div_"+p._map_count,GOOGLE_DIV_ID:"google__div_"+p._map_count,DRAG_DIV_ID:"gmap_drag__div_"+p._map_count,IE_SVG_DRAG:"gmap_drag__ie_"+p._map_count,map_options:o},e}return e=p,o=[{key:"_canvasPin",value:function(t){var e,o=t.pin_color,n=t.title_text,a=t.content_text,r=t.marker_svg,i=this.state.map_options.pin_scale,l=document.getElementById(w),s=l.getContext("2d");s.fillStyle="rgba(0, 0, 0, 0.99)",s.font="10px Verdana";var c=n.replace(/<[^>]+>/g,"");""===c&&(c=a.replace(/<[^>]+>/g,""));var _=s.measureText(c).width;if(l.width=y*i*.8+_,l.height=y*i,s.clearRect(0,0,l.width,l.height),c){var p=y*i*.8;s.fillText(c,p,10)}return s.fillStyle=o,r?e=new Path2D(r):this.state.map_options.pin_svg?e=new Path2D(this.state.map_options.pin_svg):(s.fillStyle=o?T[o]:T.red,e=new Path2D("m255.5,511.07425c-17.90024,-179.00239 -89.5012,-196.90263 -89.5012,-268.50359a89.5012,89.5012 0 1 1 179.00239,0c0,71.60096 -71.60096,89.5012 -89.5012,268.50359l0.00001,0zm-17.90024,-268.50359a17.90024,17.90024 0 1 1 35.80048,0a17.90024,17.90024 0 1 1 -35.80048,0")),s.scale(i,i),s.fill(e),l}},{key:"_onDragStart_react",value:function(t){var e=this._gmapDragDrop_vars.drag_start_pos,o=this._locationIdForLatLng(e);if(o){var n=this._makeDragParameters(o,t),a=this._canvasPin(n),r=this.state.map_options.pin_scale,i=window.devicePixelRatio,l=y*r,s=l/2+(i-1)*l/2,c=l+(i-1)*l;t.dataTransfer.setDragImage(a,s,c)}else t.preventDefault()}},{key:"_startIePreload",value:function(){var t=document.getElementById(w);if("function"==typeof t.msToBlob){var e=t.getContext("2d");e.fillStyle="rgb(200,0,0)",e.fillRect(0,0,D,D);var o=t.msToBlob(),n=document.createElement("img"),a=URL.createObjectURL(o);n.onload=function(){document.getElementById("ie_drag_div__id_").style.backgroundImage="url("+a+")"},n.src=a,n.id="_ie_pre_load_drag_image",n.style.top="-9999px",n.style.left="-9999px",n.style.position="absolute",document.body.appendChild(n)}}},{key:"newRandomColor",value:function(){var t,e;do{for(var o in e="#"+Math.floor(16777215*Math.random()).toString(16),t=!0,this._gmapDragDrop_vars.location_datas)e===this._gmapDragDrop_vars.location_datas[o].pin_color&&(t=!1)}while(!t);return e}},{key:"labelInput",value:function(t,e,o,n){return"".concat(e,':<input \n id="').concat(n,'"\n\t\t\t\t\t\t\t\t\t\ttype="text" \n\t\t\t\t\t\t\t\t\t\tdata-location_id=').concat(t,'\n\t\t\t\t\t\t\t\t\t\tonkeypress =" if(event.keyCode === 13){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlet location_id = this.dataset.location_id;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlet location_change = ').concat(o,".locationGet(location_id)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocation_change.content_text = this.value\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocation_change.title_text = ''\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t").concat(o,'.locationModifyDirect(location_change)\n\t\t\t\t\t\t\t\t\t\t\t\t\t} "\n\t\t\t\t\t\t\t\t\t/>')}},{key:"_latLngDrop",value:function(t){var e=document.documentElement.scrollTop||document.body.scrollTop,o=document.documentElement.scrollLeft||document.body.scrollLeft,n=document.getElementById(this.state.GOOGLE_DIV_ID).getBoundingClientRect(),a=t.pageX-n.left-o,r=t.pageY-n.top-e;DataTransfer.prototype.setDragImage===h&&(r-=D);var i=this._convertXyToLatLng({x:a,y:r});return this._latLngToObj(i)}},{key:"_convertXyToLatLng",value:function(t){var e=this.state.map_options.google_map,o=e.getProjection().fromLatLngToPoint(e.getBounds().getNorthEast()),n=e.getProjection().fromLatLngToPoint(e.getBounds().getSouthWest()),a=Math.pow(2,e.getZoom()),r=new google.maps.Point(t.x/a+n.x,t.y/a+o.y),i=e.getProjection().fromPointToLatLng(r);return isNaN(i.lat())&&(i.lat=0,i.lng=0),i}},{key:"_makeDragParameters",value:function(t,e){var o=Object.assign({},this._gmapDragDrop_vars.location_datas[t],{from_id:this._gmapDragDrop_vars.container_id});if(void 0!==this.state.map_options.onDragStartMarker){var n=this._eventParameters("location_data",o),a=Object.assign({},e,n);o=this.state.map_options.onDragStartMarker(a)}var r=JSON.stringify(o);return e.dataTransfer.setData("text",r),this._gmapDragDrop_vars.drag_location=o,o}},{key:"_onDragEnd_react",value:function(t){var e=this._gmapDragDrop_vars.drag_location;if(this._hideIeImageDrag(),void 0!==this.state.map_options.onDragEndMarker){var o=this._eventParameters("from_location",e),n=Object.assign({},t,o);this.state.map_options.onDragEndMarker(n)}}},{key:"_checkLatLng",value:function(t,e){Array.isArray(t)||(t.from_lat=t.lat,t.from_lng=t.lng),t.lat=e.lat,t.lng=e.lng}},{key:"_onDropOnMap_react",value:function(t){t.preventDefault();var e=t.dataTransfer.getData("text");if(e){var o=this._latLngDrop(t),n=e.trim();try{try{var a=JSON.parse(n)}catch(t){throw t.message+'. "'+n+'"" is not a valid JSON location'}var r=a.location_id;if(this._checkLatLng(a,o),void 0!==this.state.map_options.onDragDrop){var i=this._eventParameters("location_data",a),l=Object.assign({},t,i);a=this.state.map_options.onDragDrop(l)}a&&(a.from_id===this._gmapDragDrop_vars.container_id?this._insideToInsideDrop(r,a):this._outsideToInsideDrop(r,a))}catch(t){console.log(t)}}}},{key:"getMap",value:function(){return this.state.map_options.google_map}},{key:"filterByProperty",value:function(t){var e=[];for(var o in this._gmapDragDrop_vars.location_datas){var n=this._gmapDragDrop_vars.location_datas[o];void 0!==n[t]&&e.push(n)}return e}},{key:"filterByUndefProperty",value:function(t){var e=[];for(var o in this._gmapDragDrop_vars.location_datas){var n=this._gmapDragDrop_vars.location_datas[o];void 0===n[t]&&e.push(n)}return e}},{key:"filterByPropertyValue",value:function(t,e){var o=[];for(var n in this._gmapDragDrop_vars.location_datas){var a=this._gmapDragDrop_vars.location_datas[n];void 0!==a[t]&&a[t]===e&&o.push(a)}return o}},{key:"_onStartIeDrag",value:function(t){var e=this._gmapDragDrop_vars.drag_start_pos,o=this._locationIdForLatLng(e);if(o){this._makeDragParameters(o,t),p._ie_drag_target=t.target;var n=document.getElementById("_ie_pre_load_drag_image");t.dataTransfer.setDragImage(n)}else t.preventDefault()}},{key:"_canvasSvg",value:function(){if(null===document.getElementById(w)){var t=' <canvas\n\t\t\t\t\t\t\t\tid="'.concat(w,'" style="').concat("position:fixed; left:-9999px; top:-9999px",'"></canvas>');window.document.body.insertAdjacentHTML("beforeend",t)}}},{key:"_ieCssStyle",value:function(){var t=b;if(null===document.getElementById(t)){var e=" <div id=".concat(t,"></div>\n\t\t\t\t <div id=").concat("ie_drag_div__id_","></div> ");window.document.body.insertAdjacentHTML("beforeend",e)}}},{key:"componentDidMount",value:function(){this._ieCssStyle(),this._addSvgToBody(),this._canvasSvg(),this._gmapDragDrop_vars.container_id=n.default.findDOMNode(this).parentNode.getAttribute("id"),this._lazyReactGoogleMap()}},{key:"_lazyReactGoogleMap",value:function(){var t=this._initGmap();if(this._isGoogleMapsReady())t();else if(this._pushInitMap(t),this._isFirstInitialization()){this._startIePreload();var e=document.createElement("script");e.src="https://maps.googleapis.com/maps/api/js?key="+this.props.google_map_key,e.addEventListener("load",this._initAllMaps,!1),document.body.appendChild(e),p._google_script_element=e}}},{key:"_initGmap",value:function(){var t=document.getElementById(this.state.GOOGLE_DIV_ID);this._gmapDragDrop_vars.center_lat_lng=this.centerMap();var e=this.state.map_options,o=e.scroll_wheel,n=e.gestureHandling,a=e.init_zoom,r=e.map_type,i=e.street_view,l=e.zoom_control,s=e.map_type_control,c=e.map_styles,p=this;return function(){var e=new google.maps.Map(t,{center:p._gmapDragDrop_vars.center_lat_lng,disableDoubleClickZoom:!0,scrollwheel:o,gestureHandling:n,zoom:a,mapTypeId:r,streetViewControl:i,zoomControl:l,mapTypeControl:s,styles:c});p.state.map_options.google_map=e,p._gmapDragDrop_vars.previous_zoom=e.getZoom();var u,g=_(p._gmapDragDrop_vars.map_positions);try{for(g.s();!(u=g.n()).done;){var d=u.value;p._placeMarker(d)}}catch(t){g.e(t)}finally{g.f()}p._googleEvents()}}},{key:"_ieDragDiv",value:function(){return a.default.createElement("div",{id:this.state.DRAG_DIV_ID,draggable:"true",onDragStart:this._onStartIeDrag,onDragEnd:this._onDragEnd_Overlay,onMouseMove:this._onMouseMoveOverlay,onContextMenu:this._onMouseDownOverlay,onMouseDown:this._onMouseDownOverlay,style:x})}},{key:"_normalDragDiv",value:function(){return a.default.createElement("div",{id:this.state.DRAG_DIV_ID,draggable:"true",onDragStart:this._onDragStart_react,onDragEnd:this._onDragEnd_Overlay,onMouseMove:this._onMouseMoveOverlay,onContextMenu:this._onMouseDownOverlay,onMouseDown:this._onMouseDownOverlay,style:x})}},{key:"render",value:function(){if(DataTransfer.prototype.setDragImage===h)var t=this._ieDragDiv();else t=this._normalDragDiv();var e=this._canvasIeSvg();return a.default.createElement("div",{id:this.state.REACT_DIV_ID,onDrop:this._onDropOnMap_react,onDragOver:this._onDragOver_react,onDragEnd:this._onDragEnd_react,onMouseMove:this._onMouseMove_react,onMouseDown:this._onMouseDown_react,onMouseUp:this._onMouseUp_react,style:E},a.default.createElement("div",{id:this.state.GOOGLE_DIV_ID,style:E}),t,e)}},{key:"_canvasIeSvg",value:function(){var t=this.state.IE_SVG_DRAG,e=y*this.state.map_options.pin_scale+"px",o={position:"fixed",zIndex:0,left:O,top:O,width:e,height:e};return a.default.createElement("div",null,a.default.createElement("svg",{viewBox:"0 0 512 512",preserveAspectRatio:"xMinYMin",id:t,style:o},a.default.createElement("use",{xlinkHref:"#svg_path_symbol__id_",x:0,y:0})))}},{key:"_stopDragging",value:function(){this._gmapDragDrop_vars.am_dragging=!1,document.getElementById(this.state.DRAG_DIV_ID).style.display="none"}},{key:"_onMouseMoveOverlay",value:function(t){if(this._gmapDragDrop_vars.mouse_is_up){var e=Math.abs(this._gmapDragDrop_vars.last_marker_x-t.pageX),o=Math.abs(this._gmapDragDrop_vars.last_marker_y-t.pageY);(e>15||o>15)&&this._stopDragging()}}},{key:"_addSvgToBody",value:function(){var t="use_svg__id_",e=document.getElementById(t);if(this.state.map_options.pin_svg){var o=this.state.map_options.pin_svg;if(null===e){var n='<svg style="height:0;" id="'.concat(t,'">\n\t\t\t\t\t\t\t\t<symbol id="').concat("svg_path_symbol__id_",'">\n\t\t\t\t\t\t\t\t\t<path fill="#000" d="').concat(o,'" style="fill:inherit" />\n\t\t\t\t\t\t\t\t</symbol>\n\t\t\t\t\t\t\t</svg>');window.document.body.insertAdjacentHTML("beforeend",n)}}}},{key:"_onDragOver_react",value:function(t){if(this._gmapDragDrop_vars.am_dragging){t.preventDefault();var e=this._gmapDragDrop_vars.drag_start_pos,o=this._locationIdForLatLng(e);if(this._gmapDragDrop_vars.dragging_location_id=o,void 0!==this.state.map_options.onDragMarker){var n=this._eventParameters("start_lat_lng",e,"location_id",o,"page_x",t.pageX,"page_y",t.pageY),a=Object.assign({},t,n);this.state.map_options.onDragMarker(a)}}else this._onDropOnMap_react(t)}},{key:"_hideIeImageDrag",value:function(){var t=document.getElementById(this.state.IE_SVG_DRAG);t.style.left=O,t.style.top=O}},{key:"_onMouseUp_react",value:function(){this._gmapDragDrop_vars.mouse_is_up=!0,this._hideIeImageDrag()}},{key:"_onMouseLeftDownOverlay",value:function(t){var e=Math.abs(this._gmapDragDrop_vars.last_marker_x-t.pageX),o=Math.abs(this._gmapDragDrop_vars.last_marker_y-t.pageY);this._gmapDragDrop_vars.am_dragging=e<15&&o<15}},{key:"_mouseOverMarker_googleListener",value:function(t,e){var o=this;t.addListener("mouseover",(function(t){o._gmapDragDrop_vars.mouse_is_up&&(document.getElementById(o.state.DRAG_DIV_ID).style.display="inline",o._gmapDragDrop_vars.last_marker_x=o._gmapDragDrop_vars.current_page_x,o._gmapDragDrop_vars.last_marker_y=o._gmapDragDrop_vars.current_page_y,o._gmapDragDrop_vars.drag_start_pos=e)}))}},{key:"startDragFromOutside",value:function(t){var e=JSON.stringify(t);return function(t){t.dataTransfer.setData("text",e)}}},{key:"_onMouseDown_react",value:function(){this._gmapDragDrop_vars.mouse_is_up=!1}},{key:"_onMouseMove_react",value:function(t){this._gmapDragDrop_vars.mouse_is_up&&(this._gmapDragDrop_vars.am_dragging=!1),this._gmapDragDrop_vars.current_page_x=t.pageX,this._gmapDragDrop_vars.current_page_y=t.pageY,this._gmapDragDrop_vars.browser_zoom_level!==window.devicePixelRatio&&this._browserResizeReDraw()}},{key:"_onDragEnd_Overlay",value:function(t){this._stopDragging(),this._gmapDragDrop_vars.mouse_is_up=!0}},{key:"_onMouseRightDownOverlay",value:function(t){if(t.preventDefault(),void 0!==this.state.map_options.onRightClickMarker){var e=this._gmapDragDrop_vars.drag_start_pos,o=this._locationIdForLatLng(e);if(o){var n=this._eventParameters("location_id",o),a=Object.assign({},t,n);this.state.map_options.onRightClickMarker(a)}}}},{key:"_onMouseDownOverlay",value:function(t){2===t.button?this._onMouseRightDownOverlay(t):this._onMouseLeftDownOverlay(t)}},{key:"_browserResizeReDraw",value:function(){this._gmapDragDrop_vars.browser_zoom_level=window.devicePixelRatio;var t=this.state.map_options.google_map;t.panBy(I,I),t.panBy(-1e5,-1e5)}},{key:"numberLocations",value:function(){var t=this._gmapDragDrop_vars.location_lat_lngs;return Object.keys(t).length}},{key:"centerMap",value:function(){var t=this.state.map_options.lat_center,e=this.state.map_options.lng_center;if(void 0===t||void 0===e){var o,n=0,a=0,r=_(this._gmapDragDrop_vars.map_positions);try{for(r.s();!(o=r.n()).done;){var i=o.value,l=i.lat,s=i.lng;n+=l,a+=s}}catch(t){r.e(t)}finally{r.f()}var c=this._gmapDragDrop_vars.map_positions.length;t=n/c,e=a/c}return{lat:t,lng:e}}},{key:"_pushInitMap",value:function(t){p._waiting_for_init.push(t)}},{key:"_isFirstInitialization",value:function(){return 1===p._waiting_for_init.length}},{key:"_isGoogleMapsReady",value:function(){return"undefined"!=typeof google}},{key:"_initAllMaps",value:function(){for(var t=p._waiting_for_init.pop();t;)t(),t=p._waiting_for_init.pop()}},{key:"_googleEvents",value:function(){var t=this.state.map_options.google_map;t.addListener("dblclick",this._onDoubleClick_googleListener),t.addListener("rightclick",this._onRightClick_googleListener),t.addListener("mousemove",this._onMouseMove_googleListener),t.addListener("zoom_changed",this._onZoomChanged_googleListener),t.addListener("center_changed",this._onCenterChanged_googleListener),t.addListener("idle",this._onIdle_googleListener)}},{key:"reCenter",value:function(t){this._gmapDragDrop_vars.center_lat_lng=t,this.state.map_options.google_map.panTo(this._gmapDragDrop_vars.center_lat_lng)}},{key:"_onRightClick_googleListener",value:function(t){if(void 0!==this.state.map_options.onRightClick){var e=this._eventParameters(),o=Object.assign({},t,e);this.state.map_options.onRightClick(o)}}},{key:"_eventParameters",value:function(){for(var t={gmap_params:{gmap_event:this}},e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];for(;o.length>0;){var a=o.shift(),r=o.shift();t.gmap_params[a]=r}return t}},{key:"_equalLatLngObj",value:function(t,e){return t.lat===e.lat&&t.lng===e.lng}},{key:"_locationIdForLatLng",value:function(t){var e=this._gmapDragDrop_vars.location_lat_lngs;for(var o in e){var n=e[o];if(this._equalLatLngObj(t,n))return o}return!1}},{key:"_onDoubleClick_googleListener",value:function(t){if(void 0!==this.state.map_options.onDoubleClick){var e=this._eventParameters(),o=Object.assign({},t,e);this.state.map_options.onDoubleClick(o)}}},{key:"_latLngToObj",value:function(t){var e,o;if("string"==typeof t){var n=t.split(","),a=n.shift(),r=n.shift();e=a.trim(),o=r.trim()}else t instanceof Array?(e=t.shift(),o=t.shift()):"lat"in t&&(e=t.lat,o=t.lng,e instanceof Function&&(e=e(),o=o()));var i=Number(e),l=Number(o),s={lat:i,lng:l};if(!p.validLatLng(s))throw new Error("Invalid lat/lng ="+i+"/"+l);return s}},{key:"_removeLocation",value:function(t){var e=this._gmapDragDrop_vars.location_info_windows[t];null!==e&&e.close();var o=this._gmapDragDrop_vars.location_markers[t];void 0!==o&&o.setMap(null),delete this._gmapDragDrop_vars.location_info_windows[t],delete this._gmapDragDrop_vars.location_markers[t],delete this._gmapDragDrop_vars.location_lat_lngs[t],delete this._gmapDragDrop_vars.location_datas[t]}},{key:"locationDelete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=this._gmapDragDrop_vars.location_datas[t];if(o.can_delete||e===M){var n=!0;if(void 0!==this.state.map_options.onDelete){var a=this._eventParameters("location_data",o);n=this.state.map_options.onDelete(a)}!1!==n&&this._removeLocation(t)}else alert(" Cannot Delete '".concat(t,"' "))}},{key:"locationExists",value:function(t){return t in this._gmapDragDrop_vars.location_lat_lngs}},{key:"locationsShowInfoAll",value:function(){for(var t in this._gmapDragDrop_vars.location_lat_lngs)this.locationShowInfo(t)}},{key:"locationsHideInfoAll",value:function(){for(var t in this._gmapDragDrop_vars.location_lat_lngs)this.locationHideInfo(t)}},{key:"locationGet",value:function(t){return this._gmapDragDrop_vars.location_datas[t]}},{key:"locationsGetAll",value:function(){var t=[],e=this._gmapDragDrop_vars.location_datas;for(var o in e){var n=e[o],a=Object.assign({},n);t.push(a)}return t}},{key:"locationsPutAll",value:function(t){for(var e in this.locationsClearAll(),t){var o=t[e];this.locationAdd(o)}}},{key:"locationsClearAll",value:function(){for(var t in this._gmapDragDrop_vars.location_lat_lngs)this.locationDelete(t)}},{key:"locationModifyDirect",value:function(t){var e=t.location_id;if(void 0!==t.can_change&&!t.can_change)throw" Cannot Change '".concat(e,"' ");this.locationExists(e)&&this._removeLocation(e),this._gmapDragDrop_vars.location_datas[e]=t,this.locationAdd(t)}},{key:"locationModifyJSON",value:function(t){var e=t.trim();try{var o=JSON.parse(e);this.locationModifyDirect(o)}catch(t){alert(t)}}},{key:"_markerInfoWindow",value:function(t,e){var o=t.title_text,n=t.content_text;return""!==o||""!==n?this._popUpWindow(t,e):null}},{key:"_popUpWindow",value:function(t,e){var o=t.title_text,n=t.content_text,a=t.info_style,r=t.title_style,i=t.content_style,l=t.showing_info_window,s=t.extra_text,c=!1;void 0!==t.disable_auto_pan&&(c=t.disable_auto_pan);var _='<div style="'.concat(a,'" ondragstart="event.preventDefault()">\n <div style="').concat(r,'" > ').concat(o,'</div>\n <span style="').concat(i,'">').concat(n,'</span>\n <span style="').concat(i,'">').concat(s,"</span>\n </div>"),p=new google.maps.InfoWindow({content:_,disableAutoPan:c});if(l){var u=this.state.map_options.google_map;p.open(u,e)}return p}},{key:"_unixTimeId",value:function(){return"_unix_time_"+Date.now()+"_"+Math.random()}},{key:"locationShowInfo",value:function(t){var e=this._gmapDragDrop_vars.location_info_windows[t];if(null!==e){var o=this.state.map_options.google_map,n=this._gmapDragDrop_vars.location_markers[t];e.open(o,n)}}},{key:"locationHideInfo",value:function(t){var e=this._gmapDragDrop_vars.location_info_windows[t];null!==e&&e.close()}},{key:"_outsideToInsideDrop",value:function(t,e){this._hideIeImageDrag();var o=this._addChangeEvent(e);if(o){if(this.locationExists(t)){if(!this._gmapDragDrop_vars.location_datas[t].can_change)throw" Cannot Change '".concat(t,"' ");this.locationDelete(t)}o.lat=o.from_lat,o.lng=o.from_lng,this._gmapDragDrop_vars.location_datas[t]=o,this.locationAdd(o)}}},{key:"_addChangeEvent",value:function(t){var e=Object.assign({},t);if(void 0!==this.state.map_options.onAdd){var o=this._eventParameters("location_data",e);e=this.state.map_options.onAdd(o)}return e}},{key:"_insideToInsideDrop",value:function(t,e){void 0===e.can_move||e.can_move?(this.locationDelete(t,M),this.locationAdd(e)):this._stopDragging()}},{key:"_onCenterChanged_googleListener",value:function(){if(this._gmapDragDrop_vars.on_ready_fired){var t=this.state.map_options.google_map,e=t.getCenter(),o={lat:e.lat(),lng:e.lng()};if(void 0===this.state.map_options.onCenterChanged)this._gmapDragDrop_vars.center_lat_lng=o;else{var n=this._eventParameters("moved_center",o);if(this.state.map_options.onCenterChanged(n))this._gmapDragDrop_vars.center_lat_lng=o;else{var a=this._gmapDragDrop_vars.center_lat_lng.lat,r=this._gmapDragDrop_vars.center_lat_lng.lng;o.lat===a&&o.lng===r||t.panTo(this._gmapDragDrop_vars.center_lat_lng)}}}}},{key:"_onZoomChanged_googleListener",value:function(){if(this._gmapDragDrop_vars.on_ready_fired){var t=this.state.map_options.google_map,e=t.getZoom();if(void 0===this.state.map_options.onZoomChanged)e>this.state.map_options.max_zoom?t.setZoom(this.state.map_options.max_zoom):e<this.state.map_options.min_zoom&&t.setZoom(this.state.map_options.min_zoom);else{var o=this._eventParameters("map_zoom",e);this.state.map_options.onZoomChanged(o)?this._gmapDragDrop_vars.previous_zoom=e:e!==this._gmapDragDrop_vars.previous_zoom&&t.setZoom(this._gmapDragDrop_vars.previous_zoom)}}}},{key:"_onMouseMove_googleListener",value:function(t){if(void 0!==this.state.map_options.onMouseMove){t.pageX=this._gmapDragDrop_vars.current_page_x,t.pageY=this._gmapDragDrop_vars.current_page_y,this._gmapDragDrop_vars.mouse_lat=t.latLng.lat,this._gmapDragDrop_vars.mouse_lng=t.latLng.lng;var e=this._eventParameters(),o=Object.assign({},t,e);this.state.map_options.onMouseMove(o)}}},{key:"_onIdle_googleListener",value:function(){if(!this._gmapDragDrop_vars.on_ready_fired){if(void 0!==this.state.map_options.onReady){var t=this._eventParameters(),e=Object.assign({},t);this.state.map_options.onReady(e)}return this._gmapDragDrop_vars.on_ready_fired=!0,!0}return!1}},{key:"reboundMap",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=new google.maps.LatLngBounds;if(t)for(var o in t){var n=t[o];"object"===c(n)&&e.extend(n)}else{var a=this._gmapDragDrop_vars.location_lat_lngs;for(var r in a){var i=a[r];e.extend(i)}var l=this.state.map_options.google_map;l.fitBounds(e,100)}}},{key:"locationAdd",value:function(t){if(void 0===t[0]&&t){var e=this._addChangeEvent(t);if(e&&(this._placeMarker(e),this.state.map_options.change_rebounding&&this.reboundMap(),void 0!==this.state.map_options.onAfterAdd)){var o=this._eventParameters("location_data",e);this.state.map_options.onAfterAdd(o)}}return t}},{key:"_placeMarker",value:function(t){var e=Object.assign({},this.props.marker_defaults,t);void 0===e.location_id&&(e.location_id=this._unixTimeId());var o=e.location_id,n=this.state.map_options.google_map;try{var a=this._latLngToObj(e),r=this._getMakerIcon(e),i=new google.maps.Marker({position:a,icon:r,map:n,draggable:!1,raiseOnDrag:!1});i.location_id=o,this._mouseOverMarker_googleListener(i,a);var l=this._markerInfoWindow(e,i);this._gmapDragDrop_vars.location_datas[o]=e,this._gmapDragDrop_vars.location_markers[o]=i,this._gmapDragDrop_vars.location_lat_lngs[o]=a,this._gmapDragDrop_vars.location_info_windows[o]=l,this.state.map_options.change_rebounding&&this.reboundMap()}catch(t){throw t}}},{key:"_getMakerIcon",value:function(t){var e,o;if(t.marker_svg)e=t.marker_svg;else{if(!this.state.map_options.pin_svg){o=t.pin_color,A.includes(o)||(o="red");var n=this.state.map_options.png_marker_location+"".concat(o,"-dot.png");console.log("CCCCCCCCCC",n);var a="https://steens-bucket.s3.us-east-2.amazonaws.com/map-icons/".concat(o,"-dot.png");return console.log("VVVVVVVVVVV",a),a}e=this.state.map_options.pin_svg}return{path:e,fillColor:t.pin_color,fillOpacity:.9,origin:new google.maps.Point(0,0),size:new google.maps.Size(0,0),anchor:new google.maps.Point(256,y),strokeWeight:0,scale:this.state.map_options.pin_scale}}}],r=[{key:"browserFactory",value:function(t,e){var o=a.default.createElement(p,e),r=document.getElementById(t);return n.default.render(o,r)}},{key:"browserDestroy",value:function(t){t.locationsClearAll(),p._google_script_element.removeEventListener("load",this._initAllMaps,!1);var e=t._gmapDragDrop_vars.container_id,o=document.getElementById(e);n.default.unmountComponentAtNode(o)}},{key:"validLatLng",value:function(t){return t.lat==t.lat&&t.lng==t.lng&&!(t.lat<-90||t.lat>90)&&!(t.lng<-180||t.lng>180)}},{key:"_getIeDragTarget",value:function(){return p._ie_drag_target}}],o&&u(e.prototype,o),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),p}(l.default);f(L,"_map_count",0),f(L,"_waiting_for_init",[]),f(L,"_ie_drag_target",""),f(L,"_google_script_element",""),L.displayName="GmapDragDropComponent",L.propTypes={google_map_key:r.default.string.isRequired,map_locations:r.default.array,lat_center:r.default.number,lng_center:r.default.number,map_type:r.default.string,street_view:r.default.bool,zoom_control:r.default.bool,map_type_control:r.default.bool,pin_svg:r.default.string,scroll_wheel:r.default.bool,gestureHandling:r.default.string,change_rebounding:r.default.bool,png_marker_location:r.default.string,pin_scale:r.default.number,map_styles:r.default.array,init_zoom:r.default.number,max_zoom:r.default.number,min_zoom:r.default.number,onReady:r.default.func,onCenterChanged:r.default.func,onZoomChanged:r.default.func,onMouseMove:r.default.func,onDoubleClick:r.default.func,onAdd:r.default.func,onAfterAdd:r.default.func,onRightClick:r.default.func,onRightClickMarker:r.default.func,onDelete:r.default.func,onDragStartMarker:r.default.func,onDragMarker:r.default.func,onDragEndMarker:r.default.func,onDragDrop:r.default.func},L.defaultProps={map_defaults:{map_type:"roadmap",street_view:!0,zoom_control:!0,map_type_control:!0,scroll_wheel:!0,gestureHandling:"auto",change_rebounding:!0,png_marker_location:"//maps.google.com/mapfiles/ms/icons/",pin_scale:.1,map_styles:[],init_zoom:14,max_zoom:20,min_zoom:0,onReady:function(t){t.gmap_params.gmap_event._gmapDragDrop_vars.container_id},onCenterChanged:function(t){var e=t.gmap_params;return e.moved_center,e.gmap_event,!0},onZoomChanged:function(t){var e=t.gmap_params;return e.map_zoom,e.gmap_event,!0},onMouseMove:function(t){t.gmap_params.gmap_event;var e=t.latLng;t.pageX,t.pageY,e.lat(),e.lng()},onDoubleClick:function(t){var e=t.gmap_params.gmap_event,o=t.latLng;t.pixel,o.lat(),o.lng(),e.locationAdd(o)},onAdd:function(t){var e=t.gmap_params,o=e.location_data;return e.gmap_event,o},onAfterAdd:function(t){var e=t.gmap_params;e.location_data,e.gmap_event},onRightClick:function(t){t.gmap_params.gmap_event;var e=t.latLng;t.pixel,e.lat(),e.lng()},onRightClickMarker:function(t){var e=t.gmap_params,o=e.location_id,n=e.gmap_event;n.locationGet(o),n.locationDelete(o)},onDelete:function(t){var e=t.gmap_params;return e.location_data,e.gmap_event,console.log("onDelete : with this data"),!0},onDragStartMarker:function(t){var e=t.gmap_params,o=e.location_data;return e.gmap_event,o.title_text,o},onDragMarker:function(t){var e=t.gmap_params;e.start_lat_lng,e.location_id,e.page_x,e.page_y,e.gmap_event},onDragEndMarker:function(t){var e=t.gmap_params;e.from_location,e.gmap_event},onDragDrop:function(t){var e=t.gmap_params,o=e.location_data,n=(e.gmap_event,{});if(void 0===o.from_lat)n.title_text="onDragDrop 0km";else{var a={lat:o.from_lat,lng:o.from_lng},r={lat:o.lat,lng:o.lng},l=i.default.getKms(a,r);n.title_text="onDragDrop ".concat(l)}return o.title_text+=" - moved",o}},marker_defaults:{pin_color:"#d00",showing_info_window:!0,can_move:!0,can_delete:!0,can_change:!0,title_text:"",content_text:"",extra_text:"",title_style:"color:black; font-size: 12px;",content_style:"color:blue;",info_style:"font-family: Arial, sans-serif;"}},t.exports=L},543:(t,e,o)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var a,r=(a=o(544))&&a.__esModule?a:{default:a};function i(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}function s(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return c(t)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _(t){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(u,t);var e,o,n,a,p=(n=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=_(n);if(a){var o=_(this).constructor;t=Reflect.construct(e,arguments,o)}else t=e.apply(this,arguments);return s(this,t)});function u(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),function(t,e,o){e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o}(c(e=p.call(this,t)),"_gmapGroup_vars",{group_colors:{},group_polylines:{},next_location_id:0}),e._object_type="GmapGroups";var o=t.map_locations,n=[].concat.apply([],o);for(var a in e._gmapDragDrop_vars.map_positions=n,n){var r=n[a].pin_color;e._gmapGroup_vars.group_colors[r]=r}return e.state.map_options.onDragDrop=e._onDragDropGroup,e.state.map_options.onDragEndMarker=e._onDragEndMarkerGroup,e.state.map_options.onAdd=e._onAddGroup,e.state.map_options.onRightClickMarker=e._onRightClickMarkerGroup,e}return e=u,(o=[{key:"_onIdle_googleListener",value:function(t){if(r.default.prototype._onIdle_googleListener.call(this,t))for(var e in this._gmapGroup_vars.group_colors)this.drawPolyline(e)}},{key:"_onDoubleClick_googleListener",value:function(t){r.default.prototype._onDoubleClick_googleListener.call(this,t)}},{key:"_onRightClick_googleListener",value:function(t){r.default.prototype._onRightClick_googleListener.call(this,t)}},{key:"_onZoomChanged_googleListener",value:function(t){r.default.prototype._onZoomChanged_googleListener.call(this,t)}},{key:"_onDropOnMap_react",value:function(t){r.default.prototype._onDropOnMap_react.call(this,t)}},{key:"_onDragOver_react",value:function(t){r.default.prototype._onDragOver_react.call(this,t)}},{key:"_onDragEnd_react",value:function(t){r.default.prototype._onDragEnd_react.call(this,t)}},{key:"_onMouseMove_react",value:function(t){r.default.prototype._onMouseMove_react.call(this,t)}},{key:"_onMouseDown_react",value:function(t){r.default.prototype._onMouseDown_react.call(this,t)}},{key:"_onMouseUp_react",value:function(t){r.default.prototype._onMouseUp_react.call(this,t)}},{key:"_onStartIeDrag",value:function(t){r.default.prototype._onStartIeDrag.call(this,t)}},{key:"_onDragStart_react",value:function(t){r.default.prototype._onDragStart_react.call(this,t)}},{key:"_onDragEnd_Overlay",value:function(t){r.default.prototype._onDragEnd_Overlay.call(this,t)}},{key:"_onMouseMoveOverlay",value:function(t){r.default.prototype._onMouseMoveOverlay.call(this,t)}},{key:"_onMouseDownOverlay",value:function(t){r.default.prototype._onMouseDownOverlay.call(this,t)}},{key:"_onMouseMove_googleListener",value:function(t){r.default.prototype._onMouseMove_googleListener.call(this,t)}},{key:"_onCenterChanged_googleListener",value:function(t){r.default.prototype._onCenterChanged_googleListener.call(this,t)}},{key:"drawPolyline",value:function(t){var e,o=[],n={},a=this.filterByPropertyValue("pin_color",t);for(var r in a){var i=a[r];i.group_type?n=i:o.push(i)}this._clearPolyline(t),e=void 0===n.from_lat?{lat:n.lat,lng:n.lng}:{lat:n.from_lat,lng:n.from_lng};var l=this._drawMembers(e,o,t);this._gmapGroup_vars.group_polylines[t]=l}},{key:"_clearPolyline",value:function(t){void 0!==this._gmapGroup_vars.group_polylines[t]&&null!==this._gmapGroup_vars.group_polylines[t]&&this._gmapGroup_vars.group_polylines[t].setMap(null)}},{key:"locationsClearAll",value:function(){for(var t in this._gmapDragDrop_vars.location_lat_lngs)this.locationDelete(t);for(var e in this._gmapGroup_vars.group_polylines)this._clearPolyline(e);this._gmapGroup_vars.group_polylines={}}},{key:"_draggedInGroup",value:function(t){var e=this.getMap();for(var o in t){var n=Number.parseInt(o);if(Number.isInteger(n)){var a=t[o],r=a.location_id;this.locationExists(r)||this.locationAdd(a);var i=a.pin_color;if(a.group_zoom&&e.setZoom(a.group_zoom),a.group_lat){var l={lat:a.group_lat,lng:a.group_lng};e.panTo(l)}}}this.drawPolyline(i)}},{key:"_onDragDropGroup",value:function(t){var e=t.gmap_params.location_data;return Array.isArray(e)?(this._draggedInGroup(e),this.reboundMap(e),!1):"showing_info_window"in e?void 0!==e.group_type&&e.group_type?(this.generateMember(e),!1):e:(this._dragInModified(e),!1)}},{key:"_dragInModified",value:function(t){return t.lat=t.from_lat,t.lng=t.from_lng,delete t.from_lat,delete t.from_lng,this.locationModifyDirect(t),this.drawPolyline(t.pin_color),!1}},{key:"deleteMember",value:function(t){var e=this.filterByPropertyValue("pin_color",t.pin_color),o=e.length;if(void 0!==t.group_type&&t.group_type){if(t.group_type)for(var n in e){var a=e[n];this._removeLocation(a.location_id)}}else this._removeLocation(t.location_id);return o>0&&this.drawPolyline(t.pin_color),!0}},{key:"_onAddGroup",value:function(t){this._gmapGroup_vars.next_location_id=0;var e=t.gmap_params.location_data;if(this._gmapGroup_vars.next_location_id=this.getOutingDistance(e),"function"==typeof e.lat)try{throw new Error("Cannot add single locations in GmapGroups, only arrays")}catch(t){console.log(t)}return e}},{key:"_onDragEndMarkerGroup",value:function(t){var e=t.gmap_params.from_location;this._gmapGroup_vars.next_location_id&&this._insideToInsideDrop(this._gmapGroup_vars.next_location_id),void 0!==e&&this.drawPolyline(e.pin_color)}},{key:"_onRightClickMarkerGroup",value:function(t){var e=t.gmap_params.location_id;this.locationShowInfo(e)}},{key:"_drawMembers",value:function(t,e,o){var n=this.getMap(),a=this.drawShape(t,e);if(a.length>1){var r=new google.maps.Polyline({path:a,strokeColor:o,strokeOpacity:.3,strokeWeight:1});return r.setMap(n),r}return null}}])&&i(e.prototype,o),Object.defineProperty(e,"prototype",{writable:!1}),u}(r.default);t.exports=p},10:t=>{"use strict";function e(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var o,n;return o=t,n=[{key:"degreesToRadians",value:function(t){return t*Math.PI/180}},{key:"getDistance",value:function(t,e){var o=this.degreesToRadians(e.lat-t.lat),n=this.degreesToRadians(e.lng-t.lng),a=Math.sin(o/2)*Math.sin(o/2)+Math.cos(this.degreesToRadians(t.lat))*Math.cos(this.degreesToRadians(e.lat))*Math.sin(n/2)*Math.sin(n/2);return 2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))*6378137}},{key:"getKms",value:function(t,e){var o=this.getDistance(t,e);return Math.round(o/100)/10+" km"}}],null&&e(o.prototype,null),n&&e(o,n),Object.defineProperty(o,"prototype",{writable:!1}),t}();t.exports=o},179:t=>{"use strict";function e(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var o,n,a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var o,n;return o=t,n=[{key:"standardMapImage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,o='<a href="images/'.concat(t,'" target="_blank"><img width="').concat(e,'px" src="images/').concat(t,'"/></a>');return o}},{key:"insertDefault",value:function(t){var e=t.append_to_id,o=t.marker_icon_title,n=t.normal_opacity,a=t.hover_opacity,r=t.main_color,i=t.minor_color,l=t.minor_hover,s=t.background_color,c=t.relative_position;return void 0===o&&(o=""),void 0===n&&(n=1),void 0===a&&(a=1),void 0===l&&(l=i),void 0===s&&(s="#ffffff"),void 0===c&&(c="beforeend"),{append_to_id:e,marker_icon_title:o,main_color:r,minor_color:i,minor_hover:l,normal_opacity:n,hover_opacity:a,background_color:s,relative_position:c}}},{key:"clear_all",value:function(t){var e=this.initSvg(t),o=e.append_to_id,n=e.marker_icon_title,a=e.main_color,r=e.background_color,i=e.relative_position,l=e.svg_css,s=e.main_svg,c=e.minor_svg,_=document.getElementById(o),p=" ".concat(l,' \n <svg width="32" height="32" viewBox=\'0 0 300 300\' >\n <g display="inline" class="').concat(s,'">\n <title>').concat(n,'</title>\n <rect stroke="null" height="512" width="512" y="0" x="0" stroke-width="5" fill="').concat(r,'"></rect>\n <g class="').concat(c,'" transform="rotate(-45 244,245)" stroke="null">\n <path d="m245,163c-22,0 -41,18 -41,41c0,16 9,30 23,37l17,86l17,-86c14,-6 23,-20 23,-37c0,-22 -18,-41 -41,-41l0,0l2,0zm0,0" stroke="null"></path>\n </g>\n <g class="').concat(c,'" transform="rotate(33 27,273)" stroke="null">\n <path d="m27,192c-22,0 -40,18 -40,40c0,16 9,30 23,37l17,85l17,-85c14,-6 23,-20 23,-37c0,-22 -18,-40 -40,-40l0,0zm0,0" stroke="null"></path>\n </g>\n <g stroke="null">\n <path fill="').concat(a,'" d="m290.96816,8.04289c-6.78995,-6.79189 -17.80179,-6.79189 -24.59563,0.00194l-94.6721,94.6721l-17.06223,-17.06223c-5.6845,-5.6845 -14.90276,-5.6845 -20.58823,0l-10.26257,10.26257c-24.84312,5.92034 -49.68526,11.84069 -74.52838,17.76394l-39.69735,9.46381c-3.32413,0.79197 -6.03001,3.19796 -7.20535,6.40659c-1.1763,3.20863 -0.6658,6.79287 1.35877,9.54534c43.93282,59.71491 96.48606,112.26814 156.19999,156.19902c1.7761,1.30636 3.89772,1.98186 6.04069,1.98186c1.18019,0 2.36717,-0.20479 3.50562,-0.62212c3.20863,-1.1763 5.61365,-3.88219 6.40659,-7.20632l11.8533,-49.72505c5.12546,-21.50055 10.24996,-43.00013 15.37251,-64.50068l10.26257,-10.26257c5.6845,-5.6845 5.6845,-14.90276 0,-20.58823l-17.06126,-17.06126l94.67307,-94.67307c6.79384,-6.79384 6.79189,-17.80567 0,-24.59563l-0.00001,-0.00001zm-131.31902,261.54618c-8.28557,-6.37553 -16.41003,-12.94032 -24.39375,-19.66136l13.42462,-37.83196l-26.5309,26.52896c-9.55213,-8.44668 -18.86551,-17.14861 -27.94499,-26.0893l13.33145,-21.06186l-21.12689,13.26545c-8.31177,-8.4428 -16.41391,-17.09232 -24.29864,-25.94469l26.63378,-26.63281l-38.06392,13.50615c-7.28493,-8.59226 -14.37576,-17.35922 -21.25985,-26.30476l90.74915,-21.63157l61.10958,61.10958l-21.62963,90.74818l-0.00001,-0.00001z" stroke="null"></path>\n </g>\n </g>\n </svg>\n ');_.insertAdjacentHTML(i,p)}},{key:"initSvg",value:function(t){this.unique_class_count++;var e=this.unique_class_count,o=this.insertDefault(t),n=o.normal_opacity,a=o.hover_opacity,r=o.minor_color,i=o.minor_hover,l="clear-main-".concat(e),s="clear-minor-".concat(e),c="\n <style>\n .".concat(l," {\n fill :").concat(r,";\n fill-opacity:").concat(n,";\n opacity:").concat(n,";\n }\n .").concat(l,":hover {\n fill:").concat(i,";\n fill-opacity:").concat(a,";\n opacity:").concat(a,";\n cursor:pointer;\n }\n .").concat(s,"{\n fill: inherit\n }\n </style> ");return o.svg_css=c,o.main_svg=l,o.minor_svg=s,o}},{key:"upMarkerHover",value:function(t){var e=this.initSvg(t),o=e.append_to_id,n=e.marker_icon_title,a=e.main_color,r=e.relative_position,i=e.svg_css,l=e.main_svg,s=e.minor_svg,c=document.getElementById(o),_=" ".concat(i,' \n <svg width="32" height="32" viewBox=\'0 0 512 512\' >\n <g display="inline" class="').concat(l,'" style="float:right">\n <title>').concat(n,'</title>\n \n <g class="').concat(s,'" transform="rotate(-90 436,112.58331298828121) ">\n <rect transform="rotate(45 496.4166870117188,136) " height="100.80909" width="36.95837" y="85.09545" x="477.93749" stroke-width="5" stroke="null" ></rect>\n <path d="m515.75596,114.31625l-6.74279,-22.15675l-172.20624,0.34951l-9.85121,39.49548l183.14319,0.47142l5.65705,-18.15966z" ></path>\n <rect transform="rotate(135 495.7499694824219,89.66665649414061) " height="100.80909" width="36.95837" y="39.26214" x="477.2708" stroke-width="5" stroke="null" ></rect>\n </g>\n <g display="inline" stroke="null" >\n <path fill="').concat(a,'" d="m244.5,1.99999c-69.87445,0 -126.5,56.64136 -126.5,126.5c0,50.89648 30.20484,94.44312 73.50342,114.51709l52.99658,264.98291l52.99658,-264.98291c43.29957,-20.07397 73.50342,-63.62061 73.50342,-114.51709c0,-69.85864 -56.64037,-126.5 -126.5,-126.5zm0,0" stroke="null"></path>\n </g>\n </g>\n </svg>\n ');c.insertAdjacentHTML(r,_)}},{key:"resizeHover",value:function(t){var e=this.initSvg(t),o=e.append_to_id,n=e.marker_icon_title,a=e.main_color,r=e.background_color,i=e.relative_position,l=e.svg_css,s=e.main_svg,c=e.minor_svg,_=document.getElementById(o),p=" ".concat(l,' \n <svg width="32" height="32"\n viewBox=\'0 0 512 512\'\n >\n <g display="inline" class="').concat(s,'">\n <title>').concat(n,'</title>\n <rect stroke="null" height="512" width="512" y="0" x="0" stroke-width="5" fill="').concat(r,'"></rect>\n <g>\n <path fill="').concat(a,'" d="m397.555,0.001l-327.531,0c-6.903,0 -12.5,5.597 -12.5,12.5l0,238.977l-45.024,0c-6.903,0 -12.5,5.597 -12.5,12.5l0,133.576c0,6.902 5.597,12.5 12.5,12.5l133.576,0c6.903,0 12.5,-5.598 12.5,-12.5l0,-45.022l238.979,0c6.902,0 12.5,-5.599 12.5,-12.5l0,-327.531c0,-6.904 -5.598,-12.5 -12.5,-12.5zm-305.031,317.529l0,-31.054l31.053,0l0,31.054l-31.053,0l0,0zm-22.5,35l53.553,0l0,22.522l-88.577,0l0,-88.576l22.523,0l0,53.554c0.001,6.903 5.597,12.5 12.501,12.5zm76.052,-101.052l-53.553,0l0,-216.477l282.53,0l0,282.529l-216.477,0l0,-53.554c0,-6.903 -5.596,-12.498 -12.5,-12.498z" ></path>\n </g>\n <g class="').concat(c,'" stroke="null" transform="rotate(-0.039856404066085815 242.00148010263317,174.1156921386567) ">\n <path stroke="null" d="m242.00147,46.5548c-34.64617,0 -62.99304,28.34687 -62.99304,62.99304c0,25.19722 14.17343,47.24478 36.221,58.26856l26.77204,133.8602l26.77204,-133.8602c22.04756,-9.44896 36.221,-31.49652 36.221,-58.26856c0,-34.64617 -28.34687,-62.99304 -62.99304,-62.99304l0,0zm0,0"></path>\n </g>\n </g>\n </svg>\n \n ');_.insertAdjacentHTML(i,p)}},{key:"resizeHideInfo",value:function(t){var e=this.initSvg(t),o=e.append_to_id,n=e.marker_icon_title,a=e.main_color,r=e.background_color,i=e.relative_position,l=e.svg_css,s=e.main_svg,c=e.minor_svg,_=document.getElementById(o),p=" ".concat(l,' \n <svg width="32" height="32" viewBox=\'0 0 512 512\' >\n <g display="inline" class="').concat(s,'">\n <rect stroke="null" height="512" width="512" y="0" x="0" stroke-width="5" fill="').concat(r,'"></rect>\n <g class="').concat(c,'" >\n <title>').concat(n,'</title>\n <path d="M 175.0204,456.47655 H 92.06649 L 287.6426,259.90358 210.67085,259.93163 53.66462,417.07152 V 336.12075 H -0.64761 V 510.78771 H 172.0204"\n stroke="null"></path>\n </g>\n <g>\n <rect opacity="1" height="170.66667" width="478.81481" y="54.51852" x="18.96296" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="null" stroke-width="36"\n stroke="').concat(a,'" fill="#ffffff"></rect>\n </g>\n </g>\n </svg>\n ');_.insertAdjacentHTML(i,p)}},{key:"resizeShowInfo",value:function(t){var e=this.initSvg(t),o=e.append_to_id,n=e.marker_icon_title,a=e.main_color,r=e.background_color,i=e.relative_position,l=e.svg_css,s=e.main_svg,c=e.minor_svg,_=document.getElementById(o),p=" ".concat(l,' \n <svg width="32" height="32" viewBox=\'0 0 512 512\' >\n <g display="inline" class="').concat(s,'">\n <rect stroke="null" height="512" width="512" y="0" x="0" stroke-width="5" fill="').concat(r,'"></rect>\n <g class="').concat(c,'" transform="rotate(-180 143.49749755859375,385.34564208984375) ">\n <title>').concat(n,'</title>\n <path d="m175.0204,456.47655l-82.95391,0l195.57611,-196.57297l-76.97175,0.02805l-157.00623,157.13989l0,-80.95077l-54.31223,0l0,174.66696l172.66801,0"\n stroke="null"></path>\n </g>\n <g>\n <rect opacity="1" height="170.66667" width="478.81481" y="54.51852" x="18.96296" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="null" stroke-width="36"\n stroke="').concat(a,'" fill="#ffffff"></rect>\n </g>\n </g>\n </svg>\n ');_.insertAdjacentHTML(i,p)}},{key:"do_delete",value:function(t){var e=this.initSvg(t),o=e.append_to_id,n=e.marker_icon_title,a=e.main_color,r=e.background_color,i=e.relative_position,l=e.svg_css,s=e.main_svg,c=e.minor_svg,_=document.getElementById(o),p=" ".concat(l,' \n <svg width="32" height="32" viewBox=\'0 0 512 512\' >\n <g display="inline" class="').concat(s,'" style="cursor: inherit">\n <title>').concat(n,'</title>\n <rect stroke="null" height="512" width="512" y="0" x="0" stroke-width="5" fill="').concat(r,'"></rect>\n <g class="').concat(c,'" stroke="null" display="inline">\n <rect stroke="null" transform="rotate(-90 393.08407592773443,392.5536193847656) " height="183.41317" width="44.95837" y="300.84702" x="370.60487" stroke-width="5" ></rect>\n </g>\n <g display="inline">\n <rect stroke="null" fill="#ffffff" stroke-width="5" x="185.00379" y="374.64714" width="213.52858" height="27.5" transform="rotate(-78.98575592041016 291.76806640624994,388.39712524414057)"></rect>\n </g>\n <g display="inline" stroke="null">\n <path fill="').concat(a,'" d="m255.5,1.99999c-69.87445,0 -126.5,56.64136 -126.5,126.5c0,50.89648 30.20484,94.44312 73.50342,114.51709l52.99658,264.98291l52.99658,-264.98291c43.29957,-20.07397 73.50342,-63.62061 73.50342,-114.51709c0,-69.85864 -56.64037,-126.5 -126.5,-126.5zm0,0" stroke="null"></path>\n </g>\n </g>\n </svg> ');_.insertAdjacentHTML(i,p)}},{key:"do_edit",value:function(t){var e=this.initSvg(t),o=e.append_to_id,n=e.marker_icon_title,a=e.main_color,r=e.relative_position,i=e.svg_css,l=e.main_svg,s=e.minor_svg,c=document.getElementById(o),_=" ".concat(i,' \n <svg width="32" height="32" viewBox=\'0 0 512 512\' >\n <g display="inline" class="').concat(l,'">\n <title>').concat(n,'</title>\n <g class="').concat(s,'" stroke="null" display="inline">\n <path d="m421.83777,313.61972l-83.83821,83.83821l44.59479,44.59479l83.83821,-83.83821l-44.59479,-44.59479z" stroke="null"/>\n <path d="m323.34562,409.14034l-55.94706,102.20756l102.22026,-55.94621l-46.2732,-46.26135z" stroke="null"/>\n <path d="m464.43963,268.66817l-30.15888,30.12758l45.22801,45.22801l30.13825,-30.15888l-45.20737,-45.1967l-0.00001,-0.00001z" id="svg_26" stroke="null"/>\n </g>\n <g display="inline" stroke="null">\n <path fill="').concat(a,'" d="m255.5,1.99999c-69.87445,0 -126.5,56.64136 -126.5,126.5c0,50.89648 30.20484,94.44312 73.50342,114.51709l52.99658,264.98291l52.99658,-264.98291c43.29957,-20.07397 73.50342,-63.62061 73.50342,-114.51709c0,-69.85864 -56.64037,-126.5 -126.5,-126.5zm0,0" stroke="null"/>\n </g>\n </g>\n </svg>');c.insertAdjacentHTML(r,_)}},{key:"orcaHover",value:function(t){var e=this.initSvg(t),o=e.append_to_id,n=e.marker_icon_title,a=e.main_color,r=e.relative_position,i=e.svg_css,l=e.main_svg,s=e.minor_svg,c=document.getElementById(o),_=" ".concat(i,' \n <svg width="32" height="32" viewBox=\'0 0 512 512\' >\n <g display="inline" class="').concat(l,'">\n <title>').concat(n,'</title>\n <path fill="').concat(a,'" d="m462.69404,269.48885c-4.16165,-1.39225 -8.41392,-4.78536 -10.94698,-8.41748c-24.88993,-35.70275 -52.74383,-68.42553 -89.53053,-92.61889c-26.77084,-17.60615 -56.57941,-25.7633 -88.07697,-28.83745c-29.61576,-2.88845 -59.00407,-0.47889 -88.2982,3.9111c-17.73321,2.65745 -26.24486,-1.66413 -34.22698,-17.77319c-8.82707,-17.80962 -11.67287,-37.09855 -13.48449,-56.58651c-0.81563,-8.75776 -3.34958,-10.46543 -10.98785,-6.09765c-13.66574,7.81597 -19.33247,20.97439 -19.6621,35.55082c-0.4709,20.66609 0.39093,41.4379 2.0444,62.05245c1.12748,14.03979 -0.9027,25.54918 -10.23353,37.19273c-17.04819,21.26848 -33.75964,42.86569 -48.29609,65.92446c-1.59127,-1.10883 -3.1861,-2.21854 -4.77737,-3.32736c-2.51618,-3.29449 -5.33622,-6.82976 -7.80087,-10.60314c-3.30959,-5.06435 -6.32954,-5.9706 -10.83859,-1.14525c-13.65596,14.62619 -18.68299,42.95187 -11.85412,62.90717c0.50022,4.06747 1.93245,8.00789 4.29226,11.36102c-9.08028,20.7496 -16.26899,42.16645 -18.72653,65.09817c-1.12748,10.51962 0.52954,21.36265 1.21455,32.04132c0.39182,6.06033 1.689,12.06381 2.06661,18.12147c0.73211,11.80259 14.66261,24.81707 26.27774,22.9788c7.5361,-1.19323 15.99001,-2.90445 21.84421,-7.29355c23.59186,-17.69323 50.46399,-29.52869 75.63556,-44.35212c11.83191,-6.96747 22.69271,-15.17793 32.58862,-25.09161c4.62632,-3.52816 8.63871,-7.84885 11.78926,-12.74261c42.61514,4.03104 88.84817,-12.11889 113.3756,-40.94835c5.25981,-6.18383 9.38148,-13.67373 12.58268,-21.17696c2.99329,-7.02167 0.34029,-9.88525 -7.32642,-9.93234c-13.17352,-0.07996 -26.3497,-0.02221 -39.52322,-0.02221l0,0.94001c-5.87198,0 -11.74484,0.02132 -17.6177,0.03199c5.41974,-1.80095 10.66089,-3.97951 15.6124,-6.81821c6.5721,-2.66456 12.68041,-6.82976 18.78517,-12.25305c13.14775,-11.68265 28.26083,-22.05745 44.138,-29.57933c18.08505,-8.56585 35.68054,-10.32416 52.63099,-7.15583c3.09547,0.97555 6.22115,2.10659 9.39214,3.40377c2.23986,0.91691 4.55702,1.26164 6.85553,1.14881c10.21132,3.81336 20.15521,9.27664 29.79346,15.96424c1.76897,1.22966 3.48729,2.53484 5.16919,3.88977c-0.12794,1.20745 -0.25411,2.41489 -0.38116,3.62145c-0.09773,0.04709 -0.19991,0.09773 -0.29764,0.14482c-1.69256,10.83148 -10.1278,16.5924 -16.84917,23.62029c-8.66714,9.06251 -16.26544,18.63679 -13.18773,32.30608c0.99688,4.43264 3.16122,8.65292 5.15852,12.78969c0.62371,1.28652 2.54461,2.84492 3.70497,2.72142s2.81293,-2.08082 3.04572,-3.4402c1.72188,-10.04873 10.421,-9.56984 17.18235,-13.0749c6.26824,-3.25184 12.5427,-2.33848 18.2272,-4.48417c3.30959,-1.25098 5.10344,-6.51079 7.65516,-10.35348c0.17059,0.13416 0.34118,0.27276 0.51088,0.39893c3.58147,9.27575 12.12955,10.96564 21.1201,9.38503c13.57156,-2.38913 24.13916,4.01683 34.63035,10.41478c3.76183,2.29406 6.00614,7.08298 10.34815,12.47695c1.1568,-4.84311 2.51973,-7.90926 2.52773,-10.97986c0.08974,-32.93158 -16.12861,-54.86286 -47.27522,-65.29186z" stroke="null"></path>\n <g class="').concat(s,'" stroke="null" transform="rotate(-0.039856404066085815 242.00148010263317,174.1156921386567) ">\n <rect transform="rotate(45 462.41668701171875,95.5) " height="100.80909" width="36.95837" y="45.09545" x="443.93749" stroke-width="5" stroke="null"></rect>\n <rect stroke="null" transform="rotate(90 380.0000305175781,72.6666412353516) " height="224.91314" width="36.95837" y="-39.78993" x="361.52084" stroke-width="5"></rect>\n <rect transform="rotate(135 461.75,49.66668319702148) " height="100.80909" width="36.95837" y="-0.73786" x="443.2708" stroke-width="5" stroke="null"></rect>\n </g>\n </g>\n </svg>\n ');c.insertAdjacentHTML(r,_)}},{key:"swimHover",value:function(t){var e=this.initSvg(t),o=e.append_to_id,n=e.marker_icon_title,a=e.main_color,r=e.relative_position,i=e.svg_css,l=e.main_svg,s=e.minor_svg,c=document.getElementById(o),_=" ".concat(i,' \n <svg width="32" height="32" viewBox=\'0 0 512 512\' >\n <g display="inline" class="').concat(l,'">\n <title>').concat(n,'</title>\n <path fill="').concat(a,'" d="m131.69976,223.00068c23.91062,0 43.28664,-21.03779 43.28664,-47.00159c0,-25.97096 -19.37602,-47.01794 -43.28664,-47.01794c-23.90244,0 -43.28766,21.04698 -43.28766,47.01794c0,25.96381 19.38522,47.00159 43.28766,47.00159zm-129.64427,-185.00068m41.80372,216.01212l42.67037,20.87733c0,0.14206 -0.04088,0.27798 -0.04088,0.42004l0,93.39407c23.16967,-5.74566 48.28113,0 67.3945,17.563c6.59801,-6.16672 13.92878,-10.81374 21.6377,-14.28239l0.51917,-50.23621l4.68074,5.52287c2.95459,3.47683 6.89643,5.77325 11.19903,6.51522l66.30914,11.44942c10.62058,1.83244 20.51044,-6.04204 22.18242,-17.48226c1.67812,-11.48315 -5.53104,-22.27133 -16.09439,-24.09355l-59.66923,-10.30581c-36.77141,-43.30912 -6.72371,-8.02573 -43.55031,-51.29908c-3.29083,-3.86928 -7.93989,-7.2296 -21.86254,-7.2296l-15.47506,0c-5.84275,0 -11.29714,1.59125 -16.21703,4.18201l-40.62332,-19.87782l-27.48045,-75.02779c-3.94899,-10.78614 -15.19606,-16.09541 -25.16869,-11.7693c-9.93891,4.28932 -14.79339,16.53385 -10.83724,27.33839l30.37883,82.93906c1.85901,5.07523 5.45541,9.15811 10.04724,11.40241l0,-0.00001zm-41.80372,-216.01212m358.12474,185.00068c23.91164,0 43.28766,-21.03779 43.28766,-47.00159c0,-25.97096 -19.37602,-47.01794 -43.28766,-47.01794c-23.89324,0 -43.27846,21.04698 -43.27846,47.01794c0.00102,25.96381 19.38624,47.00159 43.27846,47.00159zm-358.12474,-185.00068m260.23899,204.60869c1.85799,5.07523 5.45439,9.15913 10.04622,11.40241l42.66117,20.87733c0,0.14206 -0.0419,0.27798 -0.0419,0.42004l0,91.35724c16.10257,1.49109 31.8178,7.79374 44.233,19.50888c12.58895,-11.86742 28.54332,-18.17926 44.86051,-19.56305l0.4599,-44.87482l4.69812,5.53309c2.95459,3.47683 6.89541,5.77325 11.19903,6.51522c2.45177,0.42106 66.8927,11.71616 69.36899,11.71616c9.3625,0 17.59877,-7.39107 19.11235,-17.749c1.67914,-11.48315 -5.52798,-22.27133 -16.09235,-24.09355l-59.66208,-10.30581c-100.05953,-117.8811 57.25936,67.45888 -43.54827,-51.29908c-3.3082,-3.89687 -7.98281,-7.2296 -21.87071,-7.2296l-15.48426,0c-5.84275,0 -11.29101,1.59125 -16.2109,4.18201l-40.62127,-19.87782l-27.48249,-75.02779c-3.94797,-10.78717 -15.18686,-16.09541 -25.16767,-11.77033c-9.93993,4.28932 -14.79339,16.53385 -10.83622,27.33839l30.37883,82.94008zm-260.23899,-204.60869m473.49786,371.7878c-7.58628,8.25875 -19.87884,8.23218 -27.47227,-0.01737c-20.07711,-21.82472 -55.07843,-21.82472 -75.15451,0.01737c-7.33997,7.97259 -20.12514,7.95419 -27.48147,-0.01737c-19.90235,-21.63872 -55.21742,-21.64485 -75.13816,-0.0092l-0.29433,0.32295c-7.62,7.97974 -19.69795,7.83666 -27.21882,-0.31375c-20.15887,-21.91466 -53.62923,-23.40677 -75.7953,0.70518c-6.92096,7.49838 -19.28608,7.52598 -26.22339,-0.02555c-20.37042,-22.12928 -53.51273,-22.12928 -73.91994,0.01737c-8.317,9.05284 -22.89782,9.06204 -31.23219,-0.0092c-6.58165,-7.15091 -17.25436,-7.14171 -23.83499,-0.00818c-6.5837,7.14886 -6.5837,18.74034 -0.0092,25.89022c10.53984,11.4484 24.55141,17.75718 39.46131,17.75718c14.91603,0 28.92964,-6.3098 39.45313,-17.749c7.24084,-7.86426 19.01423,-7.86426 26.2704,0c19.56713,21.2892 53.61391,22.02095 74.5127,-0.697c7.63533,-8.2935 19.94527,-8.19436 27.52235,0.03679c20.2161,21.9586 53.86021,23.07565 75.10546,0l0.28616,-0.31375c7.28274,-7.61489 20.07813,-7.48101 27.21779,0.26776c20.09346,21.82472 55.07843,21.82472 75.15349,0.0184c7.35735,-7.98894 20.13536,-7.99814 27.49067,-0.0092c20.74243,22.53194 54.41106,22.60246 75.16167,-0.01635c6.57552,-7.1601 6.55815,-18.7526 -0.03168,-25.88307c-6.59903,-7.14886 -17.26253,-7.13149 -23.82886,0.03577l-0.00002,0z" stroke="null"></path>\n <g class="').concat(s,'" stroke="null" transform="rotate(-0.039856404066085815 242.00148010263317,174.1156921386567) ">\n <rect transform="rotate(45 462.41668701171875,95.5) " height="100.80909" width="36.95837" y="45.09545" x="443.93749" stroke-width="5" stroke="null"></rect>\n <rect stroke="null" transform="rotate(90 380.0000305175781,72.6666412353516) " height="224.91314" width="36.95837" y="-39.78993" x="361.52084" stroke-width="5"></rect>\n <rect transform="rotate(135 461.75,49.66668319702148) " height="100.80909" width="36.95837" y="-0.73786" x="443.2708" stroke-width="5" stroke="null"></rect>\n </g>\n </g>\n </svg>\n ');c.insertAdjacentHTML(r,_)}},{key:"treeHover",value:function(t){var e=this.initSvg(t),o=e.append_to_id,n=e.marker_icon_title,a=e.main_color,r=e.relative_position,i=e.svg_css,l=e.main_svg,s=e.minor_svg,c=document.getElementById(o),_=" ".concat(i,' \n <svg width="32" height="32" viewBox=\'0 0 512 512\' >\n <g display="inline" class="').concat(l,'">\n <title>').concat(n,'</title>\n <path fill="').concat(a,'" d="m387.15613,447.1595l-49.26753,0c-6.03664,0 -10.94834,4.9117 -10.94834,10.94834l0,41.05627c0,6.03664 4.9117,10.94834 10.94834,10.94834l49.26753,0c6.03664,0 10.94834,-4.9117 10.94834,-10.94834l0,-41.05627c0,-6.03664 -4.9117,-10.94834 -10.94834,-10.94834zm-387.15613,-447.1595m487.67831,406.98183l-115.54604,-281.67204c-2.5277,-6.16528 -7.06989,-6.8304 -8.90374,-6.8304c-1.84206,0 -6.40067,0.67195 -8.95027,6.88787l-25.49184,62.19889c-2.11029,5.14435 -2.11029,12.61112 0,17.75684l84.85921,206.85246c2.45927,5.99832 9.09123,10.35029 15.76971,10.35029l47.68549,0c4.16311,0 7.73363,-1.76542 9.79876,-4.84464c2.03776,-3.0368 2.32242,-6.93714 0.7787,-10.69927l0.00002,0zm-487.67831,-406.98183m348.62755,391.63225c2.08429,-3.10796 2.38537,-7.07263 0.82523,-10.87854l-152.49532,-371.89731c-2.53865,-6.18855 -7.08905,-6.8564 -8.927,-6.8564s-6.38836,0.66785 -8.927,6.85777l-152.49395,371.89457c-1.56151,3.80592 -1.26043,7.77058 0.82523,10.87854c2.08429,3.10796 5.63976,4.89117 9.75223,4.89117l301.68698,0c4.11384,0.00137 7.66931,-1.78184 9.7536,-4.8898zm-348.62755,-391.63225m221.56249,432.10553l-67.05858,0c-6.03664,0 -10.94834,4.9117 -10.94834,10.94834l0,56.11024c0,6.03664 4.9117,10.94834 10.94834,10.94834l67.05858,0c6.03664,0 10.94834,-4.9117 10.94834,-10.94834l0,-56.11024c0,-6.03664 -4.9117,-10.94834 -10.94834,-10.94834z" stroke="null"></path>\n <g class="').concat(s,'" stroke="null" transform="rotate(-0.039856404066085815 242.00148010263317,174.1156921386567) ">\n <rect transform="rotate(45 462.41668701171875,95.5) " height="100.80909" width="36.95837" y="45.09545" x="443.93749" stroke-width="5" stroke="null"></rect>\n <rect stroke="null" transform="rotate(90 380.0000305175781,72.6666412353516) " height="224.91314" width="36.95837" y="-39.78993" x="361.52084" stroke-width="5"></rect>\n <rect transform="rotate(135 461.75,49.66668319702148) " height="100.80909" width="36.95837" y="-0.73786" x="443.2708" stroke-width="5" stroke="null"></rect>\n </g>\n </g>\n </svg>\n ');c.insertAdjacentHTML(r,_)}},{key:"parkHover",value:function(t){var e=this.initSvg(t),o=e.append_to_id,n=e.marker_icon_title,a=e.main_color,r=e.relative_position,i=e.svg_css,l=e.main_svg,s=e.minor_svg,c=document.getElementById(o),_=" ".concat(i,' \n <svg width="32" height="32" viewBox=\'0 0 512 512\' >\n <g display="inline" class="').concat(l,'">\n <title>').concat(n,'</title>\n <path fill="').concat(a,'" d="m287.96851,354.81117c-3.8843,-3.83228 -9.12938,-5.97887 -14.57982,-5.97887l-18.36463,0l0,-11.87833l15.41856,0c4.95121,0 8.96693,-4.01481 8.96693,-8.96784l0,-11.73048c0,-4.95212 -4.01572,-8.96784 -8.96693,-8.96784l-15.41856,0l0,-15.3492l15.41856,0c4.95121,0 8.96693,-4.01572 8.96693,-8.96784l0,-11.73139c0,-4.95212 -4.01572,-8.96693 -8.96693,-8.96693l-15.41856,0l0,-11.59814c0,-8.28882 -6.70899,-15.00603 -15.00238,-15.00603s-15.00603,6.71721 -15.00603,15.00603l0,11.59814l-135.05429,0l0,-11.59814c0,-8.28882 -6.70899,-15.00603 -15.00238,-15.00603c-8.2943,0 -15.00603,6.71721 -15.00603,15.00603l0,11.59814l-15.41947,0c-4.95029,0 -8.96601,4.01481 -8.96601,8.96693l0,11.73139c0,4.95212 4.01572,8.96784 8.96601,8.96784l15.41947,0l0,15.3492l-15.41947,0c-4.95029,0 -8.96601,4.01572 -8.96601,8.96784l0,11.73048c0,4.95303 4.01572,8.96784 8.96601,8.96784l15.41947,0l0,11.87833l-18.3765,0c-5.45043,0 -10.69917,2.14659 -14.58255,5.97887l-23.38612,23.06486c-2.58101,2.5509 -3.3723,6.41785 -1.99326,9.78924c1.37538,3.36408 4.65915,5.56086 8.2943,5.56086l20.03025,0l0,37.51416c0,8.28608 6.71174,15.00603 15.00603,15.00603c8.29339,0 15.00603,-6.71995 15.00603,-15.00603l0,-37.51416l195.07203,0l0,37.51416c0,8.28608 6.71174,15.00603 15.00603,15.00603c8.2943,0 15.00603,-6.71995 15.00603,-15.00603l0,-37.51416l20.01656,0c3.63697,0 6.918,-2.19678 8.29795,-5.56086c1.37538,-3.37047 0.58502,-7.23835 -1.99417,-9.78924l-23.38703,-23.06486l-0.00001,0l-0.00001,0zm-198.00715,-62.87347l135.05429,0l0,15.3492l-135.05429,0l0,-15.3492zm0,45.01718l135.05429,0l0,11.87833l-135.05429,0l0,-11.87833zm-1.89104,-336.53047c0,-0.02921 -0.02464,-0.05932 -0.05567,-0.05932l-79.02854,0c-4.95485,0 -8.97149,4.01664 -8.97149,8.96967l0,77.78367c0,0.0429 -0.0146,0.07301 -0.0146,0.14603c0.3678,0 0.73561,0.10313 1.12896,0.10313c48.00616,0 86.94134,-38.9215 86.94134,-86.94317l-0.00001,0l0.00001,-0.00001zm-85.00558,111.73662l0,73.29975c0,6.21433 5.04156,11.25498 11.25407,11.25498c6.21342,0 11.25498,-5.04065 11.25498,-11.25498l0,-73.29975c0,-6.21251 -5.04156,-11.25315 -11.25498,-11.25315c-6.21251,0 -11.25407,5.04065 -11.25407,11.25315zm54.82011,-22.93252c-5.37742,3.10579 -7.22283,9.98546 -4.11976,15.37292l36.66721,63.4959c2.08179,3.61142 5.86295,5.62749 9.7573,5.62749c1.90564,0 3.83958,-0.48371 5.61288,-1.50955c5.38107,-3.10671 7.22648,-9.9882 4.11976,-15.37292l-36.66721,-63.4959c-3.10398,-5.37012 -9.96264,-7.24564 -15.37019,-4.11794l0.00001,0zm36.02013,-16.5311l63.49681,36.66539c1.77239,1.02583 3.70816,1.50955 5.61288,1.50955c3.89525,0 7.67551,-2.01607 9.7573,-5.62749c3.10762,-5.38473 1.26131,-12.26439 -4.11612,-15.37292l-63.49773,-36.66448c-5.39111,-3.12861 -12.28082,-1.25948 -15.37019,4.11976c-3.10762,5.38381 -1.26131,12.26439 4.11703,15.37019l0.00002,0zm18.81641,-47.66939l73.31435,-0.0146c6.21251,0 11.25498,-5.04065 11.25498,-11.25315c0,-6.22072 -5.04247,-11.25498 -11.25498,-11.25498l-73.31435,0.01551c-6.21251,0 -11.25498,5.04065 -11.25498,11.25407c0,6.22072 5.04247,11.25315 11.25498,11.25315zm288.33265,-25.08003c-18.90494,0 -35.22794,23.5723 -43.15443,57.82552c26.31669,9.72353 45.71902,40.48033 47.91763,79.19738c15.16483,8.52064 25.86491,23.51207 29.60136,41.02245c8.60369,-18.8876 13.93639,-44.81823 13.93639,-73.45855c-0.00091,-57.75981 -21.63198,-104.5868 -48.30095,-104.5868zm-15.00694,363.36373c0,4.95212 4.01664,8.96693 8.96693,8.96693l12.07455,0c4.95485,0 8.97058,-4.01481 8.97058,-8.96693l0,-124.6426c-8.3518,7.52492 -18.62475,12.58108 -30.01298,14.25947l0,110.38313l0.00091,0l0.00001,0zm4.80791,-216.61729c0.0146,-0.78307 0.16245,-1.52415 0.16245,-2.31543c0,-41.48608 -22.67242,-75.11686 -50.64741,-75.11686c-27.97043,0 -50.64194,33.63078 -50.64194,75.11686c0,9.75364 1.34892,19.00624 3.63332,27.55608c-12.38395,7.8188 -20.51578,20.75856 -20.51578,35.45702c0,23.89995 21.4102,43.28129 47.83276,43.28129c1.15543,0 2.22599,-0.28749 3.36864,-0.3678l0,113.00613c0,4.95212 4.01572,8.96693 8.96693,8.96693l26.52569,0c4.95121,0 8.96693,-4.01481 8.96693,-8.96693l0,-125.76975c3.02001,0.75386 6.13858,1.25309 9.37855,1.25309c24.34167,0 44.07805,-21.13823 44.07805,-47.20849c0.00091,-21.19664 -13.14146,-38.92789 -31.10817,-44.89215l0,0.00001l-0.00002,0z" stroke="null"></path>\n <g class="').concat(s,'" stroke="null" transform="rotate(-0.039856404066085815 242.00148010263317,174.1156921386567) ">\n <rect stroke-width="5" x="443.93749" y="413.09545" width="36.95837" height="100.80909" transform="rotate(45 462.4166870117186,463.50000000000006)" stroke="null"></rect>\n <rect stroke-width="5" x="379.02084" y="345.71007" width="36.95837" height="189.91314" transform="rotate(90 397.5000305175781,440.6666564941407)" stroke="null"></rect>\n <rect stroke-width="5" x="443.2708" y="367.26214" width="36.95837" height="100.80909" transform="rotate(135 461.75000000000006,417.6666870117187)" stroke="null"></rect>\n </g>\n </g>\n </svg>\n ');c.insertAdjacentHTML(r,_)}},{key:"waterHover",value:function(t){var e=this.initSvg(t),o=e.append_to_id,n=e.marker_icon_title,a=e.main_color,r=e.relative_position,i=e.svg_css,l=e.main_svg,s=e.minor_svg,c=document.getElementById(o),_=" ".concat(i,' \n <svg width="32" height="32" viewBox=\'0 0 512 512\' >\n <g display="inline" class="').concat(l,'">\n <title>').concat(n,'</title>\n <path stroke="null" fill="').concat(a,'" d="m -39.42355,256.63632 c 27.42465,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.19068,15.20681 48.61989,23.57645 76.04454,23.57645 27.42465,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.19068,15.20681 48.61989,23.57645 76.04454,23.57645 13.02206,0 23.57645,-10.55439 23.57645,-23.57645 0,-13.02206 -10.55439,-23.57645 -23.57645,-23.57645 -25.45471,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85812,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33531 -40.8318,30.4241 -66.28913,30.4241 -25.45733,0 -49.61796,-11.08617 -66.28651,-30.41886 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67379,19.33531 -40.83442,30.42148 -66.28913,30.42148 -13.02206,0 -23.57645,10.55439 -23.57645,23.57645 0,13.02206 10.55439,23.57645 23.57645,23.57645 z m 725.14179,78.3367 c -25.45471,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85812,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33531 -40.8318,30.4241 -66.28913,30.4241 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33531 -40.8318,30.4241 -66.28651,30.4241 -13.02206,0 -23.57645,10.55439 -23.57645,23.57645 0,13.02206 10.55439,23.57645 23.57645,23.57645 27.42465,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.19068,15.20681 48.61989,23.57645 76.04454,23.57645 27.42465,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.19068,15.20681 48.61989,23.57645 76.04454,23.57645 13.02206,0 23.57645,-10.55439 23.57645,-23.57645 0,-13.01944 -10.55701,-23.57645 -23.57907,-23.57645 z M 587.05157,460.46 c -25.45471,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85812,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33531 -40.8318,30.4241 -66.28913,30.4241 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33793 -40.8318,30.4241 -66.28651,30.4241 -13.02206,0 -23.57645,10.55439 -23.57645,23.57645 0,13.02206 10.55439,23.57645 23.57645,23.57645 27.42465,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47498,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47498,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04454,23.57645 27.42465,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04454,23.57645 13.02206,0 23.57645,-10.55439 23.57645,-23.57645 0,-13.02206 -10.55701,-23.57645 -23.57907,-23.57645 z"/>\n <g class="').concat(s,'" stroke="null" transform="rotate(-0.039856404066085815 242.00148010263317,174.1156921386567) ">\n <rect transform="rotate(45 462.41668701171875,95.5) " height="100.80909" width="36.95837" y="45.09545" x="443.93749" stroke-width="5" stroke="null"></rect>\n <rect stroke="null" transform="rotate(90 380.0000305175781,72.6666412353516) " height="224.91314" width="36.95837" y="-39.78993" x="361.52084" stroke-width="5"></rect>\n <rect transform="rotate(135 461.75,49.66668319702148) " height="100.80909" width="36.95837" y="-0.73786" x="443.2708" stroke-width="5" stroke="null"></rect>\n </g>\n </g>\n </svg>\n ');c.insertAdjacentHTML(r,_)}},{key:"Hover",value:function(t){var e=this.initSvg(t),o=e.append_to_id,n=e.marker_icon_title,a=e.main_color,r=e.relative_position,i=e.svg_css,l=e.main_svg,s=e.minor_svg,c=document.getElementById(o),_=" ".concat(i,' \n <svg width="32" height="32" viewBox=\'0 0 512 512\' >\n <g display="inline" class="').concat(l,'">\n <title>').concat(n,'</title>\n <path stroke="null" fill="').concat(a,'" d="M260,150.168V110h109.271l-27.5-55l27.5-55H230v150.168L2.821,466.145L0,470.167V490h475l15-0.1v-19.833L260,150.168z M260,30h60.729l-12.5,25l12.5,25H260V30z M245,180.695l94.541,131.495l-36.1,24.595L245,296.771l-58.441,40.014l-36.1-24.595 L245,180.695z M44.188,460l88.753-123.444l53.66,36.56L245,333.129l58.399,39.986l53.66-36.56L445.813,460H44.188z"/>\n <g class="').concat(s,'" stroke="null" transform="rotate(-0.039856404066085815 242.00148010263317,174.1156921386567) ">\n <rect transform="rotate(45 462.41668701171875,95.5) " height="100.80909" width="36.95837" y="45.09545" x="443.93749" stroke-width="5" stroke="null"></rect>\n <rect stroke="null" transform="rotate(90 380.0000305175781,72.6666412353516) " height="224.91314" width="36.95837" y="-39.78993" x="361.52084" stroke-width="5"></rect>\n <rect transform="rotate(135 461.75,49.66668319702148) " height="100.80909" width="36.95837" y="-0.73786" x="443.2708" stroke-width="5" stroke="null"></rect>\n </g>\n </g>\n </svg>\n ');c.insertAdjacentHTML(r,_)}}],null&&e(o.prototype,null),n&&e(o,n),Object.defineProperty(o,"prototype",{writable:!1}),t}();(n="unique_class_count")in(o=a)?Object.defineProperty(o,n,{value:0,enumerable:!0,configurable:!0,writable:!0}):o[n]=0,t.exports=a},251:(t,e)=>{"use strict";var o={constructor:1,render:1,shouldComponentUpdate:1,componentWillMount:1,componentDidMount:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillUnmount:1};e.default=function(t,e){var n=t.constructor.prototype,a="function"==typeof e?e:e&&"object"==typeof e?function(t){return!e[t]&&1!==o[t]&&"function"==typeof n[t]}:function(t){return 1!==o[t]&&"function"==typeof n[t]},r=Object.getOwnPropertyNames(n).filter(a);return r.push("setState"),r.forEach((function(e){t[e]=t[e].bind(t)})),t},t.exports=e.default},812:(t,e,o)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(363),a=o(251),r=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,Object.getPrototypeOf(e).call(this,t));return a(o),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(n.Component);e.default=r,e.autoBind=a,e.Component=r},86:t=>{"use strict";t.exports=PropTypes},363:t=>{"use strict";t.exports=React},533:t=>{"use strict";t.exports=ReactDOM}},e={};!function o(n){var a=e[n];if(void 0!==a)return a.exports;var r=e[n]={exports:{}};return t[n](r,r.exports,o),r.exports}(53)})();
</script>
<style>
/* */</style>
<div style="height: 500px">
<div id="map_canvas" style="float: left; height: 100%">
<button id="create_a" onClick="gmap_dynamic.createMapA()" disabled>Create Map A</button>
<button id="destroy_a" onClick="gmap_dynamic.destroyMapA()">Destroy Map A</button>
<div id="gmap-dynamic-id-A" style="width: 400px; height: 400px; background-color: #ccc"></div>
</div>
<div style="float: left; margin-left: 12px; margin-top: 200px">
Drag markers between maps
<br /><br />
<div style="font-size: 200%; text-align: center">
<div id="green-dot-id" title="green-dot.png"></div>
<br />
⇆
</div>
<br />
Locations Saved on Destroy
</div>
<div id="map_side" style="float: left; height: 100%; margin-left: 12px">
<button id="create_b" onClick="gmap_dynamic.createMapB()" disabled>Create Map B</button>
<button id="destroy_b" onClick="gmap_dynamic.destroyMapB()">Destroy Map B</button>
<div id="gmap-dynamic-id-B" style="width: 400px; height: 400px; background-color: #ccc"></div>
</div>
</div>
<script>// window.gmap_dynamic.dynamicMap("gmap-dynamic-id-A", "gmap-dynamic-id-B", locations_a, locations_b);
locations_a = [
{ lat: 49.448333, lng: -123.2002442, title_text: "Unnecessary Mountain", can_move: false, pin_color: "red" },
{ lat: 49.4125595, lng: -123.1919322, title_text: "Mount Strachan", can_move: false, pin_color: "green" },
];
locations_b = [
{ lat: 49.4256143, lng: -123.2137832, title_text: "Saint Marks Summit", can_move: false, pin_color: "blue" },
{ lat: 49.3948431, lng: -123.2315385, title_text: "Black Mountain", can_move: false, pin_color: "yellow" },
];
</script>
<script>
window.gmap_dynamic= window.dynamicMap("gmap-dynamic-id-A", "gmap-dynamic-id-B", locations_a, locations_b);
</script>
<hr><hr>
<style>.grid-container {
display: flex;
align-items: center;
}
.grid-cell {
display: flex;
flex-direction:column;
}
.slide-right {
text-align: right;
display:inline-block;
vertical-align: top;
margin-top: 5px;
margin-left:16px;
}
.slide-left {
text-align: left;
}
.outings-vancouver {
float: right;
margin-top: 15px;
margin-right: 4px;
}
.outing-locations {
float: right;
clear: both;
margin-right: 4px;
}
.activity-commands {
float:left;
margin-left: 4px;
clear:both;
}</style>
<div class="grid-container">
<div class="grid-cell" style="width: 200px">
<div class="outing-locations">
Can add new spokes by dragging from the below icons when they are visible on the map.
<br /><br />
</div>
<br /><br />
<br /><br />
<div id="drag-steveston" draggable="true" class="outing-locations">
<div id="icon_steveston" style="float: right"></div>
<div class="outings-vancouver">Steveston</div>
</div>
<br /><br />
<div id="drag-sasamat" draggable="true" class="outing-locations">
<div id="icon_sasamat" style="float: right"></div>
<div class="outings-vancouver">Sasamat Lake</div>
</div>
<br /><br />
<div id="drag-north-shore" draggable="true" class="outing-locations">
<div id="icon_north_shore" style="float: right"></div>
<div class="outings-vancouver">North Shore</div>
</div>
<br /><br />
<div id="drag-stanley" draggable="true" class="outing-locations">
<div id="icon_stanley" style="float: right"></div>
<div class="outings-vancouver">Stanley Park</div>
</div>
</div>
<div class="grid-cell" style="width: 100%">
<div class="slide-left" style="width: 100%; height: 500px">
Add new locations on the map connected to the "North Shore" hub by dragging from the "water" icon in the center of hub.
<div id="gmap-activites-id" style="width: 100%; height: 100%"></div>
</div>
</div>
<div class="grid-cell" style="align-items: left; width: 200px">
<br />
<br />
<div
id="delete_container"
ondragover="event.preventDefault()"
ondrop="gmap_activities.dropOnActivityDelete(event)"
style="cursor: not-allowed"
class="activity-commands"
>
<div style="float: left">
<div id="outing_delete" style="float: left"></div>
<div style="margin-top: 15px">Drag Here to Delete</div>
</div>
</div>
<br /><br />
<div onClick="gmap_activities.clearOutings(event)" class="activity-commands">
<div style="float: left">
<div id="icon_all_activities" style="float: left"></div>
<div style="margin-top: 15px">Clear All <span id="number-activities">0</span></div>
</div>
</div>
<br /><br />
<div onClick="gmap_activities.reSizeOutings(event) " class="activity-commands">
<div id="icon_resize_activities" style="float: left"></div>
<div style="float: left; margin-top: 15px">Resize Map</div>
</div>
<br /><br />
<div onClick="gmap_activities.hideOutingInfo(event)" class="activity-commands">
<div id="icon_hide_activities" style="float: left"></div>
<div style="float: left; margin-top: 15px">Hide Info</div>
</div>
<br /><br />
<div onClick="gmap_activities.showOutingInfo(event)" class="activity-commands">
<div id="icon_show_activities" style="float: left"></div>
<div style="float: left; margin-top: 15px">Show Info</div>
</div>
<br /><br />
</div>
</div>
<div
ondragover="event.preventDefault()"
class="slide-left"
style="background-color: #eee; margin-top: 24px; padding: 4px"
ondrop="gmap_activities.dropOnModify(event)"
>
<div id="edit_container" style="float: left; clear: both; cursor: not-allowed">
<div id="icon_edit" style="float: right"></div>
<div style="float: right; margin-top: 15px">Drag Here to Modify</div>
</div>
<div class="slide-right">Lat <input type="text" id="location-lat" onKeyUp="gmap_activities.prepareModifyDrag(event)" /></div>
<div class="slide-right">Lng <input type="text" id="location-lng" onKeyUp="gmap_activities.prepareModifyDrag(event)" /></div>
<div class="slide-right">Title <input type="text" id="location-title" style="width: 200px" onKeyUp="gmap_activities.prepareModifyDrag(event)" /></div>
<div draggable="true" id="mod_drag" style="display: none; float: right">
<div id="dragging_modified_title" style="margin-top: 8px; margin-right: 8px; vertical-align: top; display: inline-block"></div>
<div id="dragging_modified_content" style="margin-top: 8px; margin-right: 8px; vertical-align: top; display: inline-block"></div>
<div id="icon_drag" style="float: left"></div>
</div>
<br />
<div class="slide-right">Activity <input type="text" id="location-content" style="width: 600px" onKeyUp="gmap_activities.prepareModifyDrag(event)" /></div>
<div class="slide-right" style="display: Xnone">Id <input type="text" id="location-id" disabled /></div>
<div class="slide-right" style="display: Xnone">Svg <input type="text" id="location-svg" disabled /></div>
<div class="slide-right" style="display: Xnone">Outing <input type="text" id="location-outing" disabled /></div>
<div class="slide-right" style="display: Xnone">Color <input type="text" id="location-color" /></div>
<div class="slide-right" style="display: Xnone">Extra <input type="text" id="location-extra" /></div>
<br /><br />
</div>
<script>// window.gmap_activities = window.activitiesMap("gmap-activites-id", [NORTH_SHORE_OUTING]);
var STEVESTON_COLOR = "#0101ff";
var NORTH_SHORE_COLOR = "#148aa5";
var SASAMAT_COLOR = "#ff01ff";
var STANLEY_COLOR = "#ff0101";
const CAN_MOVE_ACTIVITIES = true;
var NON_HOVER_OUTING = "#ccc";
var HOVER_COLOR_OUTING = "#0f0";
var NON_HOVER_OPACITY_OUTING = 0.75;
const SKI_ICON_PATH =
"m330.98799,85.17422c19.10273,0 47.26773,11.66465 47.26773,39.81121c0,28.14654 -18.0507,79.97311 -18.0507,79.97311c0,0 47.15701,30.87814 58.89549,40.34646c24.58439,19.78564 16.22349,37.54103 -16.6849,23.6431c-53.4323,-22.55414 -78.51501,-33.68358 -82.53859,-47.76607c-4.02358,-14.0825 -0.46143,-42.65355 -0.46143,-42.65355l-30.87814,12.82744l-130.6369,-96.01202c0,0 -11.99689,8.52702 -18.27218,8.52702c-6.31222,0 -13.84257,-4.61418 -13.84257,-4.61418l14.52546,-19.5088l-15.57751,-19.01045l21.6313,9.20993c-0.40605,0 13.38115,-18.06917 13.38115,-18.06917c0,0 7.14277,4.20813 8.82233,12.58751c1.67956,8.37937 -1.43963,16.46342 -1.43963,16.46342l56.23773,41.21392c0,0 33.18525,-36.96886 107.62132,-36.96886l-0.00003,-0.00002l0.00002,0.00002l0.00003,-0.00003zm-5.94307,244.34892c35.32621,-43.42874 1.79032,-72.73806 -12.31065,-83.81211c-14.0825,-11.05559 -119.93198,-85.10407 -119.93198,-85.10407c-29.2355,39.99578 -1.55037,77.68446 16.13119,89.97667c17.8846,12.42141 38.09473,24.15989 49.99934,33.07451c12.2922,9.22838 15.17144,19.19502 6.12763,31.26574c-9.06227,12.08919 -38.42031,47.94768 -38.42031,47.94768l-184.12805,-105.54401c-2.65961,-1.57288 -5.67157,-2.4529 -8.75977,-2.5594c-19.41984,-0.70357 -26.60153,25.21505 -9.58883,34.60641l365.06163,209.36877c0.53855,0.30399 1.09189,0.58065 1.65816,0.82908c0,0 14.46622,6.60918 33.09239,7.85851c18.62599,1.24934 44.82886,-3.85081 61.75076,-26.85605c14.63325,-19.83363 -15.15927,-41.7538 -29.73991,-21.8814c-8.23466,11.19513 -18.26258,12.65376 -29.5596,11.8961c-11.09933,-0.74454 -19.80134,-4.51636 -20.11489,-4.65035l-130.85837,-75.06619c0,0 15.00331,-18.82552 49.59126,-61.34987l0.00002,-0.00002l-0.00002,-0.00002l0,0.00003zm48.7185,-281.86027c0,56.58858 84.88297,56.58858 84.88297,0c0,-56.58858 -84.88297,-56.58858 -84.88297,0";
const TOTEM_PATH =
"m245.8775,69.43478c-4.66067,-4.66545 -4.65709,-12.22545 0.00716,-16.88731s12.22426,-4.65948 16.88851,0.00597l2.2354,2.2354c4.66425,4.66186 4.66783,12.22187 0.00716,16.88731c-2.33213,2.33332 -5.39028,3.50117 -8.44724,3.50117c-3.05457,0 -6.10914,-1.16427 -8.44007,-3.49401l-2.25093,-2.24854zm261.80112,320.73476c-2.26764,2.6426 -5.57776,4.16391 -9.06102,4.16391l-46.22935,0c-5.3855,0 -10.10468,-3.60506 -11.51972,-8.8007l-21.36767,-78.37041l-37.10982,0c-5.97182,0 -11.02535,-4.4111 -11.83139,-10.32799l-10.47367,-76.84074l-34.75261,0l0,92.34287l17.11539,0c6.59396,0 11.94125,5.3461 11.94125,11.94125l0,46.97448c0,1.31354 -0.21255,2.57812 -0.60423,3.7591l42.50846,60.70692c1.81626,2.59483 2.52796,5.80345 1.97747,8.9225l-7.13609,40.4677c-1.14397,6.49484 -7.32834,10.83668 -13.83274,9.68674l-40.4677,-7.1349c-3.11905,-0.5493 -5.89181,-2.3166 -7.70808,-4.91024l-32.85157,-46.91597l0,33.72925c0,3.16682 -1.25861,6.20467 -3.49759,8.44366l-29.05664,29.05545c-2.33213,2.33213 -5.38789,3.49759 -8.44366,3.49759s-6.11153,-1.16547 -8.44366,-3.49759l-29.05664,-29.05545c-2.23898,-2.23898 -3.49759,-5.27684 -3.49759,-8.44366l0,-33.72686l-32.84799,46.91119c-1.81626,2.59364 -4.58902,4.36094 -7.70808,4.91024l-40.46889,7.13609c-3.11786,0.5481 -6.32767,-0.1624 -8.9225,-1.97866s-4.36094,-4.58902 -4.91024,-7.70808l-7.13609,-40.46889c-0.55049,-3.11905 0.16121,-6.32767 1.97747,-8.9225l42.50846,-60.70692c-0.39167,-1.18218 -0.60423,-2.44557 -0.60423,-3.75791l0,-46.97448c0,-6.59515 5.34729,-11.94125 11.94125,-11.94125l17.11539,0l0,-92.34167l-34.75023,0l-10.47606,76.84074c-0.80723,5.91689 -5.85957,10.32799 -11.83139,10.32799l-37.10743,0l-21.36767,78.37041c-1.41623,5.19564 -6.13541,8.8007 -11.51972,8.8007l-46.23054,0c-3.48326,0 -6.79218,-1.52012 -9.06102,-4.16391c-2.26884,-2.6426 -3.26951,-6.14497 -2.7429,-9.58763l35.64821,-232.45311c0.8944,-5.82852 5.90734,-10.13095 11.80392,-10.13095l137.81514,0l0,-32.92202l-39.24491,0c-6.59396,0 -11.94125,-5.3461 -11.94125,-11.94125l0,-46.72252c0,-3.10114 1.20607,-6.07929 3.36266,-8.30753l33.38057,-34.4708c2.24973,-2.32257 5.3449,-3.63372 8.57859,-3.63372l98.50694,0c3.16682,0 6.20467,1.25861 8.44366,3.49759l23.76308,23.76547l23.76667,-23.76547c4.66664,-4.66306 12.22545,-4.66306 16.88851,0c4.66306,4.66306 4.66306,12.22426 0,16.88731l-28.71273,28.71154l0,88.9014l140.77537,0c5.89659,0 10.90952,4.30363 11.80392,10.13095l35.64701,232.45311c0.52541,3.44266 -0.47526,6.94384 -2.7441,9.58763zm-310.33274,-308.97621c6.59396,0 11.94125,5.3461 11.94125,11.94125l0,44.86327l89.02678,0l0,-88.9014l-25.21275,-25.21395l-88.50137,0l-26.49763,27.36337l0,29.94746l39.24372,0zm16.93508,301.99894l-34.08152,0l-43.53301,62.17091l4.20332,23.83712l23.83831,-4.20451l49.57409,-70.79966l0,-11.00386l-0.00119,0zm58.11328,0l-34.23078,0l0,81.42498l17.11539,17.1142l17.11539,-17.1142l0,-81.42498zm57.96521,0l-34.08271,0l0,11.00505l49.57767,70.80205l23.83712,4.20213l4.20332,-23.83593l-43.5354,-62.1733zm-150.30688,-46.97329l0,23.09199l150.45495,0l0,-23.09199l-150.45495,0zm304.65348,34.23198l-31.98344,-208.57062l-394.88394,0l-31.98463,208.57062l23.19707,0l21.36767,-78.37041c1.41623,-5.19564 6.13541,-8.8007 11.51972,-8.8007l35.80583,0l10.47606,-76.84074c0.80723,-5.91689 5.85957,-10.32799 11.83139,-10.32799l57.11499,0c6.59396,0 11.94125,5.3461 11.94125,11.94125l0,104.28411l92.34167,0l0,-104.28411c0,-6.59515 5.34729,-11.94125 11.94125,-11.94125l57.11738,0c5.97182,0 11.02535,4.4111 11.83139,10.32799l10.47367,76.84074l35.80703,0c5.3855,0 10.10468,3.60506 11.51972,8.8007l21.36767,78.37041l23.19826,0z";
const THEATRE_PATH =
"m44.99634,1.42444c-13.30551,0 -28.22551,14.11279 -28.22551,28.22551l0,197.57877c0,62.54786 28.22551,141.1283 141.12749,141.1283c10.12391,0 19.36775,-0.48096 28.22544,-1.75043l0,-82.91248l-112.9019,0c0,0 14.11272,-56.45129 84.67646,-56.45129c14.11272,0 19.65991,2.08873 28.22544,5.29228l0,-61.7433c0,-25.87435 10.31054,-47.49232 28.22551,-56.45109c28.22551,-14.11279 39.62066,-8.41406 56.45095,0c28.22551,14.11279 28.22551,14.11279 28.22551,14.11279l0,-98.78938c0,-14.11279 -14.91999,-28.22558 -28.22551,-28.22558c-28.22544,0 -56.45095,28.22558 -112.9019,28.22558c-56.45102,0 -84.67646,-28.22558 -112.90197,-28.22558l0,-0.01409l-0.00001,0.00001zm49.39463,98.78938c19.48574,0 35.28183,15.795 35.28183,35.28191c0,19.48689 -15.79609,35.28191 -35.28183,35.28191c-19.48574,0 -35.28191,-15.795 -35.28191,-35.28191c0,-19.48689 15.79615,-35.28191 35.28191,-35.28191zm148.18381,42.33829c-13.30551,0 -28.22551,14.11279 -28.22551,28.22544l0,197.57945c0,62.54746 28.22551,141.12721 141.12741,141.12721c112.90197,0 141.12749,-78.57975 141.12749,-141.12721l0,-197.57945c0,-14.11272 -14.91999,-28.22544 -28.22551,-28.22544c-28.22551,0 -56.45095,28.22544 -112.90197,28.22544c-56.45095,0 -84.67646,-28.22544 -112.9019,-28.22544l-0.00001,0zm49.39455,98.78952c19.48574,0 35.28191,15.7952 35.28191,35.28231c0,19.48643 -15.79615,35.28163 -35.28191,35.28163c-19.48574,0 -35.28183,-15.7952 -35.28183,-35.28163c0,-19.4871 15.79609,-35.28231 35.28183,-35.28231zm127.01469,0c19.48574,0 35.28191,15.7952 35.28191,35.28231c0,19.48643 -15.79615,35.28163 -35.28191,35.28163c-19.48574,0 -35.28183,-15.7952 -35.28183,-35.28163c0,-19.4871 15.79609,-35.28231 35.28183,-35.28231zm-148.18381,155.24041l169.35292,0c0,0 -14.11272,56.45142 -84.67646,56.45142c-70.56367,0 -84.67646,-56.45142 -84.67646,-56.45142z";
const GONDOLA_PATH =
"m219.55794,139.05722l81.01556,0l0,23.7772l-81.01556,0l0,-23.7772zm-40.23993,46.03199l-80.8141,140.0419l80.8347,139.81755l161.55952,0l80.72481,-139.81755l-80.72481,-140.0419l-161.58012,0zm38.96476,152.81419l-42.38505,0l0,-12.7494l42.34155,0l0.0435,12.7494l0,0zm-48.04432,-33.28259l38.62822,-74.70611l102.51028,0l38.60533,74.70611l-179.74383,0zm104.58901,-283.70785l0,-4.65196l-63.1426,0l0,4.65196l-211.68486,0l0,18.2736l211.66197,0l0,4.78703l29.3678,0l41.84934,41.82645l-28.69702,28.63063l11.83137,12.01223l40.66346,-40.66346l-41.73716,-41.82645l9.88542,0l0,-4.80993l211.68486,0l0,-18.2301l-211.68257,0z";
const FLOWER_PATH =
"m424.5562,368.73208c-1.49443,-2.49019 -37.31213,-61.00033 -99.49326,-61.00033c-22.03696,0 -40.7432,7.35924 -55.80354,16.95778l0,-45.54168c37.90645,-7.40001 69.60467,-32.3192 86.30841,-65.9619c1.63713,-2.36788 2.80696,-4.95216 3.47498,-7.6368c5.95263,-14.39545 9.25668,-30.15361 9.25668,-46.67388l0,-135.3533c0,-12.9904 -10.53157,-23.52198 -23.52198,-23.52198l-10.85931,0l-176.36308,0l-10.85931,0c-0.13643,0 -0.26972,0.01882 -0.40615,0.02039c-0.42183,0.00627 -0.84209,0.03293 -1.26235,0.06429c-0.36694,0.02666 -0.73389,0.05018 -1.09612,0.09252c-0.37949,0.04548 -0.75427,0.10977 -1.13219,0.17249c-0.39046,0.06429 -0.78093,0.12702 -1.16512,0.2117c-0.34969,0.07684 -0.69468,0.17406 -1.04124,0.26658c-0.39203,0.10506 -0.78407,0.20543 -1.16826,0.33088c-0.34813,0.11291 -0.68998,0.24933 -1.03497,0.37949c-0.36381,0.138 -0.72918,0.26815 -1.08515,0.4234c-0.3591,0.15681 -0.71036,0.33715 -1.06476,0.51278c-0.3246,0.16152 -0.65077,0.31676 -0.96597,0.49083c-0.35753,0.19915 -0.70252,0.42026 -1.05065,0.6398c-0.29951,0.18818 -0.60059,0.37008 -0.8907,0.5708c-0.32617,0.22581 -0.64137,0.47201 -0.95813,0.71664c-0.29795,0.23052 -0.59903,0.45946 -0.88599,0.70252c-0.2807,0.23992 -0.55198,0.49396 -0.82327,0.74957c-0.30422,0.2854 -0.60687,0.5708 -0.8954,0.87031c-0.09566,0.09879 -0.20072,0.18504 -0.29481,0.28697c-0.15054,0.16152 -0.27756,0.33872 -0.4234,0.50337c-0.27913,0.31676 -0.55198,0.63666 -0.81386,0.96754c-0.22895,0.29167 -0.44849,0.58805 -0.66175,0.88599c-0.22895,0.32147 -0.45162,0.64607 -0.66646,0.97695c-0.20856,0.32617 -0.40771,0.65391 -0.59903,0.98635c-0.18974,0.32774 -0.36851,0.66018 -0.54257,0.99733c-0.1772,0.34656 -0.34656,0.69468 -0.50494,1.04908c-0.15525,0.34499 -0.30108,0.69468 -0.44065,1.04751c-0.14113,0.35753 -0.27285,0.71664 -0.39517,1.07887c-0.12388,0.36224 -0.23522,0.72918 -0.34185,1.10083c-0.1035,0.36851 -0.20072,0.73859 -0.2854,1.11181c-0.08625,0.37008 -0.16309,0.74173 -0.23052,1.11651c-0.07213,0.3936 -0.13015,0.7872 -0.18034,1.18237c-0.04548,0.36067 -0.08782,0.72134 -0.11761,1.08828c-0.0345,0.42496 -0.05332,0.84993 -0.06429,1.27489c-0.00627,0.21797 -0.03293,0.42967 -0.03293,0.65077l0,135.35486c0,59.53412 42.67671,109.26899 99.04007,120.27257l0,45.54168c-15.06034,-9.6001 -33.76658,-16.95778 -55.80197,-16.95778c-62.18113,0 -98.0004,58.50857 -99.49326,60.99876c-5.05879,8.43028 -4.34059,19.11709 1.80178,26.79467c4.7828,5.97772 48.15106,58.40664 97.68991,58.40664c22.03696,0 40.7432,-7.35924 55.80354,-16.95778l0,24.79844c0,12.9904 10.53157,23.52198 23.52198,23.52198c12.9904,0 23.52198,-10.53157 23.52198,-23.52198l0,-27.62107c16.04669,10.8797 35.39744,19.78041 55.80197,19.78041c0,0 0,0 0,0c62.18113,0 97.99883,-58.507 99.49326,-60.99719c4.47074,-7.44863 4.47074,-16.75392 0.00314,-24.20255zm-258.14429,38.15735c-15.20931,0 -34.46597,-13.81367 -48.56347,-27.36547c10.22736,-10.9926 27.28079,-24.74669 48.56504,-24.74669c22.14359,0 39.69726,14.87687 49.75839,26.05294c-10.07838,11.19646 -27.62578,26.05921 -49.75996,26.05921zm154.84361,-359.84548l0,106.74744l-114.74177,-106.74744l114.74177,0zm-75.51809,187.35098c-41.64174,0 -75.51809,-33.87792 -75.51809,-75.51809l0,-81.3437l135.99623,126.52158c-13.78545,18.40673 -35.76438,30.34021 -60.47814,30.34021zm79.32395,172.4945c-15.20931,0 -34.46754,-13.81367 -48.56504,-27.36547c10.22892,-10.9926 27.28236,-24.74669 48.56661,-24.74669c22.14516,0 39.69882,14.88 49.76153,26.05608c-10.06584,11.17608 -27.62578,26.05608 -49.76309,26.05608z";
const LEAF_PATH =
"m71.89044,45.28387c15.7331,32.73957 15.55846,71.59162 -0.54427,115.48119c-48.95251,133.52873 2.72985,211.21759 3.25547,211.98228c29.39083,45.74281 66.91696,68.88042 111.61701,68.88042c33.69756,0 71.01174,-12.99477 110.89809,-38.61298l4.75944,-3.04353c-63.04261,-58.99531 -132.92002,-122.89587 -143.11034,-208.21136c-1.42088,-11.87909 8.47441,-17.96446 17.73386,-17.18959c-6.43635,3.7811 -11.02962,11.35177 -8.19803,20.34502c25.85051,82.216 80.99859,143.44267 142.7424,199.20115c1.18011,1.0699 2.37887,2.12962 3.55898,3.19104c1.19028,1.06142 2.37039,2.1398 3.55898,3.19952c16.55375,14.73781 33.48561,29.14159 50.42765,43.47415c15.72462,13.29828 31.4289,26.55077 46.78389,39.98808c15.83483,13.8612 35.11844,-12.50475 19.35821,-26.29305c-29.00425,-25.37914 -59.34459,-50.00376 -88.52518,-75.61349c-1.19028,-1.04277 -2.35174,-2.11267 -3.54202,-3.16391c-1.19028,-1.05125 -2.36022,-2.11267 -3.5505,-3.17239c32.36993,-22.16097 58.93088,-45.53087 65.54187,-77.0988c5.69878,-27.22391 -3.8184,-58.78336 -29.07716,-96.46549c-58.1187,-86.71432 -247.34997,-165.54768 -337.20277,-199.16215c12.39454,10.3107 24.79926,24.15325 33.51444,42.28387z";
const BRIDGE_SVG = `
<svg width="64" height="32" viewBox='0 0 512 512' style="display: block; margin:auto" >
<g stroke="null">
<path stroke="null" fill="#148aa5" d="m739.33204,327.7715l-233.24083,-0.32269l0.02706,-16.65515l233.23459,0.32269c0.00833,0 0.01457,0 0.02498,0c9.1874,0 16.64058,-7.44069 16.65515,-16.63225c0.01249,-9.19781 -7.43444,-16.66556 -16.63225,-16.67805l-6.58919,-0.00833l-226.35393,-175.82844l0.0687,-41.68576c0.01457,-9.19781 -7.43028,-16.66764 -16.62809,-16.68222c-0.01041,0 -0.01874,0 -0.02915,0c-9.18532,0 -16.6385,7.43861 -16.65515,16.62809l-0.06454,39.89534l-225.13394,130.34114l-224.55517,-130.00595l0.06662,-40.84468c0.01457,-9.19781 -7.43028,-16.66764 -16.62809,-16.68222c-0.01041,0 -0.01874,0 -0.02915,0c-9.18532,0 -16.6385,7.43861 -16.65515,16.62809l-0.0687,42.36654l-206.29488,174.5564l-27.10626,-0.03747c-0.00833,0 -0.01666,0 -0.0229,0c-9.1874,0 -16.64266,7.44069 -16.65515,16.63225c-0.01249,9.19781 7.43444,16.66556 16.63225,16.67805l233.10759,0.32269l-0.02706,16.65515l-233.10135,-0.32061c-0.00833,0 -0.01666,0 -0.0229,0c-9.1874,0 -16.64266,7.44069 -16.65515,16.63225c-0.01249,9.19781 7.43444,16.66556 16.63225,16.67805l233.0951,0.32269l-0.07911,48.90785l-16.65932,-0.0229c-0.00625,0 -0.01457,0 -0.0229,0c-9.1874,0 -16.64266,7.44069 -16.65515,16.63225c-0.01249,9.19781 7.43444,16.66556 16.63225,16.67805l33.28532,0.0458c0.00625,0 0.01249,0 0.02082,0c0.01041,0 0.01874,0 0.02915,0c0.00625,0 0.01249,0 0.01874,0l33.26867,0.0458c0.00625,0 0.01457,0 0.0229,0c9.1874,0 16.64266,-7.44069 16.65515,-16.63225c0.01249,-9.19781 -7.43444,-16.66556 -16.63225,-16.67805l-16.65099,-0.0229l0.07911,-48.90785l449.68911,0.6204l-0.07911,48.90785l-16.65932,-0.0229c-0.00625,0 -0.01457,0 -0.0229,0c-9.1874,0 -16.64266,7.44069 -16.65515,16.63225c-0.01249,9.19781 7.43444,16.66556 16.63225,16.67805l66.62061,0.0916c0.00625,0 0.01457,0 0.0229,0c9.1874,0 16.64266,-7.44069 16.65515,-16.63225c0.01249,-9.19781 -7.43444,-16.66556 -16.63225,-16.67805l-16.65099,-0.0229l0.07911,-48.90785l233.24916,0.32269c0.00833,0 0.01457,0 0.02498,0c9.1874,0 16.64266,-7.44069 16.65515,-16.63225c0.00625,-9.19989 -7.43861,-16.66764 -16.63642,-16.67805zm-232.99309,-152.90471l56.65875,102.69567l-56.82738,-0.07911l0.16863,-102.61656zm-33.47686,102.57075l-84.51449,-0.11659l84.70394,-116.46948l-0.18945,116.58607zm128.2072,0.17696l-57.9058,-104.95452l135.25233,105.0607l-77.34653,-0.10618zm-171.30032,-113.8796l-82.56792,113.52984l-18.39978,-0.02498l-47.54421,-27.52472l148.51191,-85.98014zm-167.61121,113.41118l-28.21591,-0.03956l14.0736,-8.14853l14.14231,8.18809zm-94.54297,-0.12908l-17.50248,-0.02498l-82.92184,-112.71999l147.5813,85.44301l-47.15698,27.30196zm-58.89678,-0.08119l-85.54503,-0.11867l0.18945,-115.91153l85.35557,116.0302zm-159.53554,-96.70606l-52.58864,96.41251l-61.25349,-0.08536l113.84213,-96.32715zm-14.67527,96.46456l55.52203,-101.79004l-0.16655,101.86499l-55.35548,-0.07495zm88.58459,50.08829l0.02706,-16.65515l449.68911,0.6204l-0.02706,16.65515l-449.68911,-0.6204z"/>
</g>
</svg>
`;
const BRIDGE_PATH =
"m739.33204,327.7715l-233.24083,-0.32269l0.02706,-16.65515l233.23459,0.32269c0.00833,0 0.01457,0 0.02498,0c9.1874,0 16.64058,-7.44069 16.65515,-16.63225c0.01249,-9.19781 -7.43444,-16.66556 -16.63225,-16.67805l-6.58919,-0.00833l-226.35393,-175.82844l0.0687,-41.68576c0.01457,-9.19781 -7.43028,-16.66764 -16.62809,-16.68222c-0.01041,0 -0.01874,0 -0.02915,0c-9.18532,0 -16.6385,7.43861 -16.65515,16.62809l-0.06454,39.89534l-225.13394,130.34114l-224.55517,-130.00595l0.06662,-40.84468c0.01457,-9.19781 -7.43028,-16.66764 -16.62809,-16.68222c-0.01041,0 -0.01874,0 -0.02915,0c-9.18532,0 -16.6385,7.43861 -16.65515,16.62809l-0.0687,42.36654l-206.29488,174.5564l-27.10626,-0.03747c-0.00833,0 -0.01666,0 -0.0229,0c-9.1874,0 -16.64266,7.44069 -16.65515,16.63225c-0.01249,9.19781 7.43444,16.66556 16.63225,16.67805l233.10759,0.32269l-0.02706,16.65515l-233.10135,-0.32061c-0.00833,0 -0.01666,0 -0.0229,0c-9.1874,0 -16.64266,7.44069 -16.65515,16.63225c-0.01249,9.19781 7.43444,16.66556 16.63225,16.67805l233.0951,0.32269l-0.07911,48.90785l-16.65932,-0.0229c-0.00625,0 -0.01457,0 -0.0229,0c-9.1874,0 -16.64266,7.44069 -16.65515,16.63225c-0.01249,9.19781 7.43444,16.66556 16.63225,16.67805l33.28532,0.0458c0.00625,0 0.01249,0 0.02082,0c0.01041,0 0.01874,0 0.02915,0c0.00625,0 0.01249,0 0.01874,0l33.26867,0.0458c0.00625,0 0.01457,0 0.0229,0c9.1874,0 16.64266,-7.44069 16.65515,-16.63225c0.01249,-9.19781 -7.43444,-16.66556 -16.63225,-16.67805l-16.65099,-0.0229l0.07911,-48.90785l449.68911,0.6204l-0.07911,48.90785l-16.65932,-0.0229c-0.00625,0 -0.01457,0 -0.0229,0c-9.1874,0 -16.64266,7.44069 -16.65515,16.63225c-0.01249,9.19781 7.43444,16.66556 16.63225,16.67805l66.62061,0.0916c0.00625,0 0.01457,0 0.0229,0c9.1874,0 16.64266,-7.44069 16.65515,-16.63225c0.01249,-9.19781 -7.43444,-16.66556 -16.63225,-16.67805l-16.65099,-0.0229l0.07911,-48.90785l233.24916,0.32269c0.00833,0 0.01457,0 0.02498,0c9.1874,0 16.64266,-7.44069 16.65515,-16.63225c0.00625,-9.19989 -7.43861,-16.66764 -16.63642,-16.67805zm-232.99309,-152.90471l56.65875,102.69567l-56.82738,-0.07911l0.16863,-102.61656zm-33.47686,102.57075l-84.51449,-0.11659l84.70394,-116.46948l-0.18945,116.58607zm128.2072,0.17696l-57.9058,-104.95452l135.25233,105.0607l-77.34653,-0.10618zm-171.30032,-113.8796l-82.56792,113.52984l-18.39978,-0.02498l-47.54421,-27.52472l148.51191,-85.98014zm-167.61121,113.41118l-28.21591,-0.03956l14.0736,-8.14853l14.14231,8.18809zm-94.54297,-0.12908l-17.50248,-0.02498l-82.92184,-112.71999l147.5813,85.44301l-47.15698,27.30196zm-58.89678,-0.08119l-85.54503,-0.11867l0.18945,-115.91153l85.35557,116.0302zm-159.53554,-96.70606l-52.58864,96.41251l-61.25349,-0.08536l113.84213,-96.32715zm-14.67527,96.46456l55.52203,-101.79004l-0.16655,101.86499l-55.35548,-0.07495zm88.58459,50.08829l0.02706,-16.65515l449.68911,0.6204l-0.02706,16.65515l-449.68911,-0.6204z";
const FISH_HOOK =
"m286.20576,265.6732c-9.06551,-15.77485 -28.87781,-33.61855 -71.10405,-45.03312l9.31178,51.57591c-34.33764,9.47596 -71.83261,29.48638 -111.62455,65.03723l-73.6536,-61.40471c0,0 21.71538,86.90969 0,166.26071c31.42499,-28.88096 57.98373,-51.44962 75.7114,-65.88971c92.2298,72.06546 183.98364,131.51815 330.20946,-18.45306c0.00158,0 -60.93742,-85.67359 -158.85044,-92.09325zm144.99367,-61.94461c50.06592,-41.46927 17.17276,-105.6777 17.17276,-105.6777l-62.69211,-95.05089l-10.09243,123.87344c0,0 9.10655,-8.08673 21.74617,-24.76537c18.69302,23.75266 26.27932,55.60468 0,72.80112c-48.54566,31.84571 -67.75885,-24.78274 -67.75885,-24.78274c0,0 -27.30624,-68.23798 -44.98497,-123.87028c-17.70635,18.19969 -42.5033,14.66663 -42.5033,14.66663c0,0 24.79695,79.88777 51.58302,138.54322c36.42621,53.58477 87.47801,65.71763 137.52972,24.26257z";
const PLAIN_FISH =
"m458.5793,239.97737c1.56992,-3.37074 12.29747,-17.5903 22.00981,-32.32973c0.00903,-0.01032 0.01677,-0.02064 0.02193,-0.02967c2.19169,-3.32559 4.32792,-6.6757 6.3016,-9.9355c0.05547,-0.09159 0.11094,-0.18447 0.16641,-0.27606c0.31992,-0.53148 23.03793,-36.95305 -9.32018,-22.20331c0,0.00258 -0.00258,0.00645 -0.00516,0.00903c-6.07972,3.11791 -13.81192,7.76703 -23.53458,14.28277c-21.20872,14.21698 -64.35115,35.02839 -64.35115,35.02839s-7.50774,4.05573 -12.45872,0.9662c-25.02065,-15.60888 -61.47576,-43.33592 -109.53563,-58.77452c-0.80108,-0.258 -1.81631,-0.86816 -0.43602,-2.14654l20.58179,-14.39371c0,0 1.61249,-1.39319 -0.45795,-2.06656c-10.18576,-3.31914 -52.60966,-17.54515 -89.3189,-4.46595c-7.47807,2.66383 -13.61584,4.85165 -18.66228,6.6499c-2.16976,0.77399 -4.37436,1.68344 -8.77064,2.22652c-100.10838,3.42363 -167.80963,76.9092 -167.80963,105.97783c0,19.50852 10.51858,32.59934 48.95125,50.79722c0.77141,-0.12255 6.63829,4.08927 19.52658,0.21672c3.45459,-1.03844 27.98891,-10.27864 28.96414,-10.69531c0.97781,-0.44634 1.61249,-0.66692 2.01754,-0.60114c0.52116,0.08256 0.90428,1.24097 0.9017,1.47575c-0.08127,6.94918 -13.1063,12.5774 -20.50181,18.75258c-1.26935,0.59211 -1.60991,3.53973 0.61275,4.49432c0.00258,0 26.11714,14.00155 67.4755,18.35527c3.34365,0.35217 46.87823,28.24691 90.77788,20.76368c23.21853,-3.95898 34.26729,-5.31347 39.30986,-6.70408c4.40145,-1.21259 2.30005,-2.60836 2.30005,-2.60836l-22.00594,-17.53354c-1.48994,-1.65248 -0.28509,-2.92183 0.96233,-3.27528c48.8674,-13.9048 87.50518,-35.82431 110.51602,-54.60269c3.09856,-2.52967 11.15196,3.48426 16.90145,6.38932c19.09314,9.64525 98.34625,42.31554 104.87747,35.3999c0.56244,-0.58308 0.60243,-1.45124 0.02967,-2.64448c-11.15196,-23.42493 -51.45899,-43.40558 -36.03716,-76.49898zm-374.52278,-2.25619c-7.0498,0 -12.76445,-5.82043 -12.76445,-12.99923s5.71466,-12.99794 12.76445,-12.99794s12.76574,5.81914 12.76574,12.99794s-5.71595,12.99923 -12.76574,12.99923zm57.12462,73.95899c-0.7856,0.70562 -1.50155,1.77116 -1.08617,0.23865c0,0 19.89938,-29.94067 22.47936,-68.64166c1.9324,-29.00413 -17.39164,-64.5253 -17.39164,-64.5253s0.03741,-1.03715 0.71594,-0.21801c6.87952,8.32044 74.61689,61.83954 -4.71749,133.14631z";
const BINOCULAR_PATH_2 =
"m492.68928,152.94378c-0.27408,-0.0877 -142.91455,-34.25959 -226.11328,-54.97979c-16.97083,12.19093 -29.66606,29.84147 -38.04185,59.38694c-5.05397,17.81499 -7.08214,33.34965 -7.20274,45.86948c-10.94114,-2.66403 -21.76169,-5.31709 -32.20949,-7.89341c-0.26311,-15.14 2.65306,-31.14608 7.31237,-47.60164c6.59977,-23.17593 17.31068,-40.9361 36.98939,-59.11286c-13.69287,-3.40951 -28.39435,-7.31237 -28.44916,-7.33429c-6.00776,-1.7212 -24.18453,8.34289 -38.23918,26.9253c-14.78918,-3.67263 -25.12735,-6.24895 -25.1712,-6.25991c-3.81515,-1.08534 -18.74685,8.58408 -23.31845,24.73268c-4.60449,16.15956 2.88329,32.69187 6.67651,33.78818c0.04385,0.01096 9.83387,3.13544 23.89949,7.6303c0.43852,6.7094 1.54579,13.05701 3.01484,18.7907c-16.57616,12.17997 -28.99731,29.73184 -37.24154,58.8059c-11.05077,38.89697 -7.68511,67.05012 -1.43616,76.22621c82.82598,26.46485 222.21043,71.01875 222.4845,71.07357c15.04133,4.29752 36.89072,-26.2127 48.79662,-68.10258c3.89189,-13.73672 6.24895,-27.013 7.10407,-38.77637c33.9307,10.84247 57.90693,18.50566 58.02752,18.52758c15.04133,4.28656 36.90169,-26.23462 48.77469,-68.10258c11.93878,-41.84603 9.39535,-79.3178 -5.65694,-83.59339zm-128.72834,166.12337c-9.03357,31.74904 -25.35758,54.88112 -36.50702,51.72375c-11.13848,-3.15736 -12.87064,-31.44208 -3.859,-63.18016c9.00068,-31.74904 25.35758,-54.88112 36.49605,-51.72375c11.14944,3.16833 12.87064,31.46401 3.86996,63.18016zm117.76528,-89.38189c-9.0226,31.73808 -25.36854,54.88112 -36.49605,51.71279c-11.13848,-3.15736 -12.87064,-31.44208 -3.859,-63.1692c9.00068,-31.74904 25.34661,-54.89208 36.48509,-51.72375c11.14944,3.1464 12.89257,31.42015 3.86996,63.18016zm-362.25266,-52.73236c-13.67095,-3.40951 -28.39435,-7.31237 -28.4382,-7.32333c-6.01872,-1.71024 -24.18453,8.34289 -38.25014,26.93626c-14.76725,-3.67263 -25.12735,-6.25991 -25.14928,-6.27087c-3.82611,-1.08534 -18.74685,8.58408 -23.34037,24.74364c-4.58256,16.15956 2.90521,32.70283 6.69843,33.79914c0.02193,0 9.82291,3.12447 23.88853,7.61933c1.60061,24.65594 12.10323,44.54295 18.33025,46.32993c0.05482,0.01096 10.93018,3.04773 26.48677,8.03593c-7.73993,-22.58392 -4.79086,-48.06209 2.80655,-74.73523c6.56688,-23.17593 17.29972,-40.9361 36.96747,-59.13479z";
const CONE_PATH =
"m363.94927,82.35498c-1.19384,0 -2.38227,0.03781 -3.5617,0.09543c-12.10042,-45.7313 -53.74783,-79.45042 -103.28752,-79.45042c-49.64413,0 -91.37437,33.86317 -103.36855,79.74753c-33.70471,3.60132 -59.9565,32.12193 -59.9565,66.77739c0,37.10075 30.07278,67.17353 67.16993,67.17353c15.8926,0 30.48873,-5.52982 41.98773,-14.75639c15.8854,9.36342 34.39436,14.75639 54.16738,14.75639c22.40918,0 43.19598,-6.91092 60.37425,-18.69983c12.06621,11.57283 28.43418,18.69983 46.47497,18.69983c37.09895,0 67.17173,-30.07278 67.17173,-67.17353c0,-37.09535 -30.07458,-67.16993 -67.17173,-67.16993zm-106.84922,-14.32423c-23.05922,0 -41.81847,18.75925 -41.81847,41.81847c0,7.46012 -6.04481,13.50493 -13.50493,13.50493c-7.46012,0 -13.50493,-6.04481 -13.50493,-13.50493c0,-37.95066 30.87588,-68.82834 68.82834,-68.82834c7.46012,0 13.50493,6.04481 13.50493,13.50493c0,7.46012 -6.04481,13.50493 -13.50493,13.50493zm0,175.67756c-12.66943,0 -25.21461,-1.84027 -37.27721,-5.33895l28.29914,105.05397c1.93931,7.20263 -2.32645,14.61234 -9.52728,16.55345c-1.17583,0.31692 -2.36066,0.46817 -3.52209,0.46817c-5.95658,0 -11.40897,-3.97045 -13.03136,-9.99545l-30.17722,-112.02972c-8.36586,2.91346 -17.13326,4.67091 -26.03571,5.13908l64.71924,244.42487c3.24839,12.26788 14.34944,20.8138 27.04228,20.8138c12.69284,0 23.79389,-8.54412 27.04228,-20.8138l64.97133,-245.37742c-12.09502,-1.84928 -23.64804,-6.016 -34.08825,-12.29669c-18.10741,8.80702 -37.98127,13.39869 -58.41513,13.39869z";
const TREES_PATH_2 =
"m387.15613,447.1595l-49.26753,0c-6.03664,0 -10.94834,4.9117 -10.94834,10.94834l0,41.05627c0,6.03664 4.9117,10.94834 10.94834,10.94834l49.26753,0c6.03664,0 10.94834,-4.9117 10.94834,-10.94834l0,-41.05627c0,-6.03664 -4.9117,-10.94834 -10.94834,-10.94834zm-387.15613,-447.1595m487.67831,406.98183l-115.54604,-281.67204c-2.5277,-6.16528 -7.06989,-6.8304 -8.90374,-6.8304c-1.84206,0 -6.40067,0.67195 -8.95027,6.88787l-25.49184,62.19889c-2.11029,5.14435 -2.11029,12.61112 0,17.75684l84.85921,206.85246c2.45927,5.99832 9.09123,10.35029 15.76971,10.35029l47.68549,0c4.16311,0 7.73363,-1.76542 9.79876,-4.84464c2.03776,-3.0368 2.32242,-6.93714 0.7787,-10.69927l0.00002,0zm-487.67831,-406.98183m348.62755,391.63225c2.08429,-3.10796 2.38537,-7.07263 0.82523,-10.87854l-152.49532,-371.89731c-2.53865,-6.18855 -7.08905,-6.8564 -8.927,-6.8564s-6.38836,0.66785 -8.927,6.85777l-152.49395,371.89457c-1.56151,3.80592 -1.26043,7.77058 0.82523,10.87854c2.08429,3.10796 5.63976,4.89117 9.75223,4.89117l301.68698,0c4.11384,0.00137 7.66931,-1.78184 9.7536,-4.8898zm-348.62755,-391.63225m221.56249,432.10553l-67.05858,0c-6.03664,0 -10.94834,4.9117 -10.94834,10.94834l0,56.11024c0,6.03664 4.9117,10.94834 10.94834,10.94834l67.05858,0c6.03664,0 10.94834,-4.9117 10.94834,-10.94834l0,-56.11024c0,-6.03664 -4.9117,-10.94834 -10.94834,-10.94834z";
const PARK_PATH_2 =
"m324.49688,401.82503c-4.37702,-4.3184 -10.28743,-6.73728 -16.42925,-6.73728l-20.69416,0l0,-13.38508l17.37438,0c5.57926,0 10.10437,-4.52408 10.10437,-10.1054l0,-13.21847c0,-5.58029 -4.52511,-10.1054 -10.10437,-10.1054l-17.37438,0l0,-17.29622l17.37438,0c5.57926,0 10.10437,-4.52511 10.10437,-10.1054l0,-13.2195c0,-5.58029 -4.52511,-10.10437 -10.10437,-10.10437l-17.37438,0l0,-13.06935c0,-9.34024 -7.56002,-16.90952 -16.90541,-16.90952s-16.90952,7.56928 -16.90952,16.90952l0,13.06935l-152.18572,0l0,-13.06935c0,-9.34024 -7.56002,-16.90952 -16.90541,-16.90952c-9.34642,0 -16.90952,7.56928 -16.90952,16.90952l0,13.06935l-17.37541,0c-5.57823,0 -10.10334,4.52408 -10.10334,10.10437l0,13.2195c0,5.58029 4.52511,10.1054 10.10334,10.1054l17.37541,0l0,17.29622l-17.37541,0c-5.57823,0 -10.10334,4.52511 -10.10334,10.1054l0,13.21847c0,5.58132 4.52511,10.1054 10.10334,10.1054l17.37541,0l0,13.38508l-20.70753,0c-6.14181,0 -12.05634,2.41888 -16.43233,6.73728l-26.35261,25.9906c-2.90841,2.87448 -3.80007,7.23195 -2.2461,11.03099c1.54985,3.79081 5.25016,6.26625 9.34642,6.26625l22.57106,0l0,42.27278c0,9.33716 7.56311,16.90952 16.90952,16.90952c9.34539,0 16.90952,-7.57237 16.90952,-16.90952l0,-42.27278l219.81662,0l0,42.27278c0,9.33716 7.56311,16.90952 16.90952,16.90952c9.34642,0 16.90952,-7.57237 16.90952,-16.90952l0,-42.27278l22.55563,0c4.09831,0 7.79554,-2.47544 9.35053,-6.26625c1.54985,-3.79801 0.65923,-8.15652 -2.24713,-11.03099l-26.35364,-25.9906zm-223.12406,-70.84887l152.18572,0l0,17.29622l-152.18572,0l0,-17.29622zm0,50.72754l152.18572,0l0,13.38508l-152.18572,0l0,-13.38508zm-2.13092,-379.21886c0,-0.03291 -0.02777,-0.06685 -0.06273,-0.06685l-89.05319,0c-5.58337,0 -10.10951,4.52614 -10.10951,10.10746l0,87.65041c0,0.04834 -0.01645,0.08227 -0.01645,0.16455c0.41446,0 0.82892,0.11621 1.27217,0.11621c54.09567,0 97.96972,-43.85863 97.96972,-97.97178zm-95.78841,125.91024l0,82.59771c0,7.00261 5.68107,12.68266 12.68163,12.68266c7.00158,0 12.68266,-5.68005 12.68266,-12.68266l0,-82.59771c0,-7.00056 -5.68107,-12.6806 -12.68266,-12.6806c-7.00056,0 -12.68163,5.68005 -12.68163,12.6806zm61.77396,-25.84148c-6.05954,3.49976 -8.13903,11.2521 -4.64235,17.32295l41.31839,71.55026c2.34586,4.06952 6.60666,6.34133 10.995,6.34133c2.14737,0 4.32663,-0.54507 6.32487,-1.70103c6.06365,-3.50079 8.14315,-11.25519 4.64235,-17.32295l-41.31839,-71.55026c-3.49771,-6.05131 -11.22639,-8.16474 -17.31987,-4.6403zm40.58923,-18.62804l71.55129,41.31634c1.99722,1.15596 4.17853,1.70103 6.32487,1.70103c4.38936,0 8.64914,-2.27181 10.995,-6.34133c3.50182,-6.06777 1.4213,-13.82011 -4.63824,-17.32295l-71.55232,-41.31531c-6.07496,-3.52547 -13.83862,-1.41924 -17.31987,4.64235c-3.50182,6.06674 -1.4213,13.82011 4.63927,17.31987zm21.20324,-53.71618l82.61416,-0.01645c7.00056,0 12.68266,-5.68005 12.68266,-12.6806c0,-7.00981 -5.6821,-12.68266 -12.68266,-12.68266l-82.61416,0.01748c-7.00056,0 -12.68266,5.68005 -12.68266,12.68163c0,7.00981 5.6821,12.6806 12.68266,12.6806zm324.90722,-28.26139c-21.303,0 -39.69655,26.56241 -48.62851,65.1606c29.65492,10.95694 51.51841,45.6152 53.99591,89.24345c17.08847,9.60147 29.14584,26.49454 33.35625,46.22609c9.69505,-21.28346 15.7042,-50.50335 15.7042,-82.77666c-0.00103,-65.08655 -24.37596,-117.85348 -54.42785,-117.85348zm-16.91055,409.45587c0,5.58029 4.52614,10.10437 10.10437,10.10437l13.60619,0c5.58337,0 10.10849,-4.52408 10.10849,-10.10437l0,-140.45333c-9.41121,8.47944 -20.98727,14.17697 -33.82008,16.06826l0,124.38507l0.00103,0zm5.41779,-244.09487c0.01645,-0.8824 0.18306,-1.71749 0.18306,-2.60914c0,-46.74853 -25.54838,-84.64532 -57.07196,-84.64532c-31.51844,0 -57.06579,37.89679 -57.06579,84.64532c0,10.99088 1.52003,21.41715 4.0942,31.05153c-13.95483,8.8106 -23.11818,23.39175 -23.11818,39.95469c0,26.93162 24.12605,48.77146 53.90027,48.77146c1.302,0 2.50835,-0.32396 3.79595,-0.41446l0,127.34079c0,5.58029 4.52511,10.10437 10.10437,10.10437l29.89043,0c5.57926,0 10.10437,-4.52408 10.10437,-10.10437l0,-141.72345c3.40309,0.84949 6.91725,1.41204 10.5682,1.41204c27.42938,0 49.66928,-23.81958 49.66928,-53.19682c0.00103,-23.8854 -14.80843,-43.86583 -35.0542,-50.58665z";
const SWIM_PATH_2 =
"m131.69976,185.00068c23.91062,0 43.28664,-21.03779 43.28664,-47.00159c0,-25.97096 -19.37602,-47.01794 -43.28664,-47.01794c-23.90244,0 -43.28766,21.04698 -43.28766,47.01794c0,25.96381 19.38522,47.00159 43.28766,47.00159zm-129.64427,-185.00068m41.80372,216.01212l42.67037,20.87733c0,0.14206 -0.04088,0.27798 -0.04088,0.42004l0,93.39407c23.16967,-5.74566 48.28113,0 67.3945,17.563c6.59801,-6.16672 13.92878,-10.81374 21.6377,-14.28239l0.51917,-50.23621l4.68074,5.52287c2.95459,3.47683 6.89643,5.77325 11.19903,6.51522l66.30914,11.44942c10.62058,1.83244 20.51044,-6.04204 22.18242,-17.48226c1.67812,-11.48315 -5.53104,-22.27133 -16.09439,-24.09355l-59.66923,-10.30581c-36.77141,-43.30912 -6.72371,-8.02573 -43.55031,-51.29908c-3.29083,-3.86928 -7.93989,-7.2296 -21.86254,-7.2296l-15.47506,0c-5.84275,0 -11.29714,1.59125 -16.21703,4.18201l-40.62332,-19.87782l-27.48045,-75.02779c-3.94899,-10.78614 -15.19606,-16.09541 -25.16869,-11.7693c-9.93891,4.28932 -14.79339,16.53385 -10.83724,27.33839l30.37883,82.93906c1.85901,5.07523 5.45541,9.15811 10.04724,11.40241zm-41.80372,-216.01212m358.12474,185.00068c23.91164,0 43.28766,-21.03779 43.28766,-47.00159c0,-25.97096 -19.37602,-47.01794 -43.28766,-47.01794c-23.89324,0 -43.27846,21.04698 -43.27846,47.01794c0.00102,25.96381 19.38624,47.00159 43.27846,47.00159zm-358.12474,-185.00068m260.23899,204.60869c1.85799,5.07523 5.45439,9.15913 10.04622,11.40241l42.66117,20.87733c0,0.14206 -0.0419,0.27798 -0.0419,0.42004l0,91.35724c16.10257,1.49109 31.8178,7.79374 44.233,19.50888c12.58895,-11.86742 28.54332,-18.17926 44.86051,-19.56305l0.4599,-44.87482l4.69812,5.53309c2.95459,3.47683 6.89541,5.77325 11.19903,6.51522c2.45177,0.42106 66.8927,11.71616 69.36899,11.71616c9.3625,0 17.59877,-7.39107 19.11235,-17.749c1.67914,-11.48315 -5.52798,-22.27133 -16.09235,-24.09355l-59.66208,-10.30581c-100.05953,-117.8811 57.25936,67.45888 -43.54827,-51.29908c-3.3082,-3.89687 -7.98281,-7.2296 -21.87071,-7.2296l-15.48426,0c-5.84275,0 -11.29101,1.59125 -16.2109,4.18201l-40.62127,-19.87782l-27.48249,-75.02779c-3.94797,-10.78717 -15.18686,-16.09541 -25.16767,-11.77033c-9.93993,4.28932 -14.79339,16.53385 -10.83622,27.33839l30.37883,82.94008zm-260.23899,-204.60869m473.49786,371.7878c-7.58628,8.25875 -19.87884,8.23218 -27.47227,-0.01737c-20.07711,-21.82472 -55.07843,-21.82472 -75.15451,0.01737c-7.33997,7.97259 -20.12514,7.95419 -27.48147,-0.01737c-19.90235,-21.63872 -55.21742,-21.64485 -75.13816,-0.0092l-0.29433,0.32295c-7.62,7.97974 -19.69795,7.83666 -27.21882,-0.31375c-20.15887,-21.91466 -53.62923,-23.40677 -75.7953,0.70518c-6.92096,7.49838 -19.28608,7.52598 -26.22339,-0.02555c-20.37042,-22.12928 -53.51273,-22.12928 -73.91994,0.01737c-8.317,9.05284 -22.89782,9.06204 -31.23219,-0.0092c-6.58165,-7.15091 -17.25436,-7.14171 -23.83499,-0.00818c-6.5837,7.14886 -6.5837,18.74034 -0.0092,25.89022c10.53984,11.4484 24.55141,17.75718 39.46131,17.75718c14.91603,0 28.92964,-6.3098 39.45313,-17.749c7.24084,-7.86426 19.01423,-7.86426 26.2704,0c19.56713,21.2892 53.61391,22.02095 74.5127,-0.697c7.63533,-8.2935 19.94527,-8.19436 27.52235,0.03679c20.2161,21.9586 53.86021,23.07565 75.10546,0l0.28616,-0.31375c7.28274,-7.61489 20.07813,-7.48101 27.21779,0.26776c20.09346,21.82472 55.07843,21.82472 75.15349,0.0184c7.35735,-7.98894 20.13536,-7.99814 27.49067,-0.0092c20.74243,22.53194 54.41106,22.60246 75.16167,-0.01635c6.57552,-7.1601 6.55815,-18.7526 -0.03168,-25.88307c-6.59903,-7.14886 -17.26253,-7.13149 -23.82886,0.03577z";
const ORCA_PATH =
"m462.69404,269.48885c-4.16165,-1.39225 -8.41392,-4.78536 -10.94698,-8.41748c-24.88993,-35.70275 -52.74383,-68.42553 -89.53053,-92.61889c-26.77084,-17.60615 -56.57941,-25.7633 -88.07697,-28.83745c-29.61576,-2.88845 -59.00407,-0.47889 -88.2982,3.9111c-17.73321,2.65745 -26.24486,-1.66413 -34.22698,-17.77319c-8.82707,-17.80962 -11.67287,-37.09855 -13.48449,-56.58651c-0.81563,-8.75776 -3.34958,-10.46543 -10.98785,-6.09765c-13.66574,7.81597 -19.33247,20.97439 -19.6621,35.55082c-0.4709,20.66609 0.39093,41.4379 2.0444,62.05245c1.12748,14.03979 -0.9027,25.54918 -10.23353,37.19273c-17.04819,21.26848 -33.75964,42.86569 -48.29609,65.92446c-1.59127,-1.10883 -3.1861,-2.21854 -4.77737,-3.32736c-2.51618,-3.29449 -5.33622,-6.82976 -7.80087,-10.60314c-3.30959,-5.06435 -6.32954,-5.9706 -10.83859,-1.14525c-13.65596,14.62619 -18.68299,42.95187 -11.85412,62.90717c0.50022,4.06747 1.93245,8.00789 4.29226,11.36102c-9.08028,20.7496 -16.26899,42.16645 -18.72653,65.09817c-1.12748,10.51962 0.52954,21.36265 1.21455,32.04132c0.39182,6.06033 1.689,12.06381 2.06661,18.12147c0.73211,11.80259 14.66261,24.81707 26.27774,22.9788c7.5361,-1.19323 15.99001,-2.90445 21.84421,-7.29355c23.59186,-17.69323 50.46399,-29.52869 75.63556,-44.35212c11.83191,-6.96747 22.69271,-15.17793 32.58862,-25.09161c4.62632,-3.52816 8.63871,-7.84885 11.78926,-12.74261c42.61514,4.03104 88.84817,-12.11889 113.3756,-40.94835c5.25981,-6.18383 9.38148,-13.67373 12.58268,-21.17696c2.99329,-7.02167 0.34029,-9.88525 -7.32642,-9.93234c-13.17352,-0.07996 -26.3497,-0.02221 -39.52322,-0.02221l0,0.94001c-5.87198,0 -11.74484,0.02132 -17.6177,0.03199c5.41974,-1.80095 10.66089,-3.97951 15.6124,-6.81821c6.5721,-2.66456 12.68041,-6.82976 18.78517,-12.25305c13.14775,-11.68265 28.26083,-22.05745 44.138,-29.57933c18.08505,-8.56585 35.68054,-10.32416 52.63099,-7.15583c3.09547,0.97555 6.22115,2.10659 9.39214,3.40377c2.23986,0.91691 4.55702,1.26164 6.85553,1.14881c10.21132,3.81336 20.15521,9.27664 29.79346,15.96424c1.76897,1.22966 3.48729,2.53484 5.16919,3.88977c-0.12794,1.20745 -0.25411,2.41489 -0.38116,3.62145c-0.09773,0.04709 -0.19991,0.09773 -0.29764,0.14482c-1.69256,10.83148 -10.1278,16.5924 -16.84917,23.62029c-8.66714,9.06251 -16.26544,18.63679 -13.18773,32.30608c0.99688,4.43264 3.16122,8.65292 5.15852,12.78969c0.62371,1.28652 2.54461,2.84492 3.70497,2.72142s2.81293,-2.08082 3.04572,-3.4402c1.72188,-10.04873 10.421,-9.56984 17.18235,-13.0749c6.26824,-3.25184 12.5427,-2.33848 18.2272,-4.48417c3.30959,-1.25098 5.10344,-6.51079 7.65516,-10.35348c0.17059,0.13416 0.34118,0.27276 0.51088,0.39893c3.58147,9.27575 12.12955,10.96564 21.1201,9.38503c13.57156,-2.38913 24.13916,4.01683 34.63035,10.41478c3.76183,2.29406 6.00614,7.08298 10.34815,12.47695c1.1568,-4.84311 2.51973,-7.90926 2.52773,-10.97986c0.08974,-32.93158 -16.12861,-54.86286 -47.27522,-65.29186z";
const WATER_PATH_2 =
"m -39.42355,256.63632 c 27.42465,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.19068,15.20681 48.61989,23.57645 76.04454,23.57645 27.42465,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.19068,15.20681 48.61989,23.57645 76.04454,23.57645 13.02206,0 23.57645,-10.55439 23.57645,-23.57645 0,-13.02206 -10.55439,-23.57645 -23.57645,-23.57645 -25.45471,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85812,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33531 -40.8318,30.4241 -66.28913,30.4241 -25.45733,0 -49.61796,-11.08617 -66.28651,-30.41886 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67379,19.33531 -40.83442,30.42148 -66.28913,30.42148 -13.02206,0 -23.57645,10.55439 -23.57645,23.57645 0,13.02206 10.55439,23.57645 23.57645,23.57645 z m 725.14179,78.3367 c -25.45471,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85812,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33531 -40.8318,30.4241 -66.28913,30.4241 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33531 -40.8318,30.4241 -66.28651,30.4241 -13.02206,0 -23.57645,10.55439 -23.57645,23.57645 0,13.02206 10.55439,23.57645 23.57645,23.57645 27.42465,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.19068,15.20681 48.61989,23.57645 76.04454,23.57645 27.42465,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.19068,15.20681 48.61989,23.57645 76.04454,23.57645 13.02206,0 23.57645,-10.55439 23.57645,-23.57645 0,-13.01944 -10.55701,-23.57645 -23.57907,-23.57645 z M 587.05157,460.46 c -25.45471,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85812,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33531 -40.8318,30.4241 -66.28913,30.4241 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33793 -40.8318,30.4241 -66.28651,30.4241 -13.02206,0 -23.57645,10.55439 -23.57645,23.57645 0,13.02206 10.55439,23.57645 23.57645,23.57645 27.42465,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47498,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47498,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04454,23.57645 27.42465,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04454,23.57645 13.02206,0 23.57645,-10.55439 23.57645,-23.57645 0,-13.02206 -10.55701,-23.57645 -23.57907,-23.57645 z";
const MAN_FISH_2 =
"M 87.025,330.166 H 11.606 C 5.199,330.166 0,335.365 0,341.774 v 48.217 c 0,6.411 5.199,11.608 11.606,11.608 h 75.419 c 6.412,0 11.61,-5.197 11.61,-11.608 v -48.217 c 0,-6.409 -5.198,-11.608 -11.61,-11.608 z m 392.822,34.72 c -6.379,-6.378 -16.741,-6.362 -23.087,0.016 -5.328,5.325 -14.588,5.349 -19.962,-0.024 C 425.267,353.35 408.19,349.476 392.771,353 319.761,215.601 320.782,125.128 322.09,105.915 l 10.938,-8.291 c 3.57,-2.727 4.286,-7.846 1.561,-11.441 -2.726,-3.578 -7.845,-4.305 -11.45,-1.569 L 195.405,181.51 c -4.942,-4.806 -12.455,-6.297 -18.878,-2.894 l -41.474,21.958 -31.316,-24.437 c -3.73,-6.999 -9.142,-11.881 -17.221,-15.3 -2.239,-0.947 -9.721,-3.24 -16.997,-1.553 -10.933,2.535 -20.887,9.279 -25.097,20.545 0,0 -28.857,76.792 -38.047,101.554 -7.222,19.46 7.112,37.677 20.586,37.677 0.048,0 0.08,0 0.112,0 l 78.785,-0.374 26.485,66.777 c 3.826,9.607 13.027,15.467 22.768,15.467 3.013,0 6.059,-0.558 9.024,-1.73 12.583,-4.99 18.722,-19.23 13.744,-31.803 l -32.653,-82.316 c -3.702,-9.335 -12.726,-15.458 -22.771,-15.458 -0.032,0 -0.08,0 -0.124,0 l -41.89,0.198 20.427,-54.5 22.419,17.509 c 2.934,2.279 6.472,3.452 10.045,3.452 2.613,0 5.242,-0.622 7.651,-1.897 l 50.818,-26.908 c 3.457,-1.833 5.787,-4.839 7.192,-8.196 l 114.531,-86.869 c -0.924,29.937 4.034,116.016 71.337,243.091 -5.214,2.208 -10.093,5.277 -14.224,9.407 -5.243,5.247 -14.651,5.247 -19.898,0 -17.696,-17.699 -48.488,-17.691 -66.154,-0.023 -5.342,5.332 -14.639,5.316 -19.966,0 -6.375,-6.378 -16.709,-6.378 -23.088,0 -6.375,6.377 -6.375,16.71 0,23.087 18.226,18.241 47.9,18.258 66.143,0 5.327,-5.325 14.619,-5.333 19.977,0.024 8.817,8.827 20.555,13.689 33.038,13.689 12.486,0 24.22,-4.862 33.069,-13.721 5.327,-5.325 14.591,-5.349 19.982,0.024 18.21,18.217 47.864,18.225 66.122,-0.024 6.38,-6.378 6.365,-16.703 -0.015,-23.08 z M 106.162,156.405 c 20.23,0 36.64,-16.407 36.64,-36.649 0,-20.234 -16.409,-36.641 -36.64,-36.641 -20.25,0 -36.643,16.406 -36.643,36.641 10e-4,20.242 16.393,36.649 36.643,36.649 z";
const HIKE_MAN_2 =
"m 386.604,202.858 c 0,-11.185 -9.066,-20.251 -20.253,-20.251 h -68.479 l -38.62,-54.832 0.127,-0.933 c 1.378,-10.474 -1.474,-21.067 -7.911,-29.444 -6.441,-8.378 -15.932,-13.852 -26.408,-15.23 -11.596,-1.511 -22.592,2.224 -30.852,9.225 V 45.779 c 0,-7.847 -6.362,-14.217 -14.225,-14.217 H 140.59 c -7.867,0 -14.225,6.37 -14.225,14.217 v 168.953 c 0,20.68 15.821,37.476 35.979,39.446 l -3.043,7.073 -23.859,90.136 -53.73,72.188 c -8.006,10.768 -5.794,25.987 4.984,34.001 4.348,3.245 9.443,4.811 14.491,4.811 7.422,0 14.729,-3.385 19.511,-9.795 l 56.529,-75.945 c 1.851,-2.484 3.213,-5.299 4.003,-8.289 l 16.266,-61.414 44.521,40.877 -6.076,88.603 c -0.917,13.393 9.177,24.99 22.58,25.908 0.552,0.04 1.124,0.056 1.691,0.056 12.66,0 23.339,-9.819 24.208,-22.642 l 6.882,-100.264 c 0.508,-7.364 -2.371,-14.572 -7.815,-19.564 l -45.994,-42.219 13.992,-90.613 19.331,27.435 c 3.801,5.387 9.972,8.592 16.552,8.592 h 70.882 l 1.339,232.294 c 0,4.478 3.626,8.101 8.101,8.101 4.479,0 8.101,-3.624 8.101,-8.101 l -1.339,-234.036 c 7.136,-3.126 12.152,-10.221 12.152,-18.513 z M 246.413,78.492 c 21.688,0 39.255,-17.573 39.255,-39.251 0,-21.67 -17.567,-39.24 -39.255,-39.24 -21.652,0 -39.242,17.57 -39.242,39.24 0,21.678 17.59,39.251 39.242,39.251 z";
const CAR_PARK_2 =
"m509.70001,286.19093l0,62.36568c0,15.16179 -11.45684,21.27698 -23.60281,21.27698l-52.46025,0c-1.46441,26.61776 -23.60281,47.11947 -50.22143,47.11947c-26.6169,0 -48.75616,-20.50171 -50.99498,-47.11947l-182.62025,0c-1.46441,26.61776 -23.60281,47.11947 -50.22057,47.11947s-47.98089,-20.50171 -50.22057,-47.11947l-27.39304,0c-18.95116,0 -21.96612,-9.04487 -21.96612,-21.19084l0,-60.04071c0,-10.68156 0.77527,-18.26203 6.11606,-28.94359l53.23553,-105.00664c6.11606,-12.92124 21.96612,-23.60281 36.52405,-23.60281l202.34668,0c14.38565,0 28.08217,9.04487 36.52319,23.60281l47.98089,78.30274l96.56563,21.19084c24.98107,3.96338 29.63272,19.1243 30.40799,32.04555zm-381.95198,78.30274c0,-15.16093 -12.14597,-27.30603 -27.3069,-27.30603s-27.3069,12.14597 -27.3069,27.30603c0,15.16179 12.14597,27.3069 27.3069,27.3069s27.3069,-11.97282 27.3069,-27.3069zm54.69993,-203.81109l-74.59865,0c-12.14597,0.77527 -17.48675,5.34078 -24.37808,18.26203l-23.60281,53.23553l122.40725,0l0,-71.49755l0.17228,0zm160.48185,71.41227l-31.95854,-53.23553c-6.11606,-9.90629 -15.16093,-18.26203 -28.94359,-18.26203l-67.70732,0c0,0 0,70.72228 0,71.49755l128.60945,0zm67.79346,132.39882c0,-15.16093 -11.45684,-27.30603 -26.6169,-27.30603c-15.16179,0 -27.3069,12.14597 -27.3069,27.30603c0,15.16179 12.14597,27.3069 27.3069,27.3069c14.38479,0.17228 26.6169,-11.97282 26.6169,-27.3069z";
const THEATRE_SVG = `
<svg width="32" height="32" viewBox='0 0 512 512' >
<g stroke="null">
<path stroke="null" fill="#f00" d="m192.34495,18.96l0,189.94536c0,85.50098 71.42609,155.05985 159.22083,155.05985c87.79614,0 159.22223,-69.55887 159.22223,-155.05985l0,-189.94536l-318.44307,0l0.00001,0zm122.649,107.66326c0,20.08572 -16.78059,36.42763 -37.40549,36.42763s-37.40549,-16.34192 -37.40549,-36.42763c0,-20.08708 16.78059,-36.42763 37.40549,-36.42763s37.40549,16.34056 37.40549,36.42763zm73.14646,0c0,-20.08708 16.78059,-36.42763 37.40549,-36.42763s37.40549,16.34192 37.40549,36.42763c0,20.08572 -16.78059,36.42763 -37.40549,36.42763s-37.40549,-16.34192 -37.40549,-36.42763zm-81.54304,100.45716c5.26863,12.10039 24.03073,21.61425 44.96981,21.61425s39.70257,-9.51386 44.97121,-21.61425l46.28522,0c-2.0988,17.76709 -12.35818,34.41906 -28.86647,46.47593c-16.92722,12.36421 -39.08397,19.17459 -62.38996,19.17459c-23.3032,0 -45.46135,-6.80902 -62.38856,-19.17459c-16.50969,-12.05823 -26.76907,-28.70884 -28.86787,-46.47593l46.28662,0z"/>
<path stroke="null" fill="#f44" d="m247.37864,380.13986l-1.64915,-0.95601l-41.53884,0c-5.26724,-12.10039 -24.03073,-21.61425 -44.96841,-21.61425c-20.93909,0 -39.70257,9.51386 -44.97121,21.61425l-46.28383,0c2.0988,-17.76709 12.35818,-34.41906 28.86647,-46.47593c16.93001,-12.36557 39.08676,-19.17459 62.38996,-19.17459c1.80555,0 3.73957,0.05576 6.08274,0.17543l12.46012,0.63779l-5.95985,-10.67521c-16.14663,-28.92643 -24.68145,-61.69729 -24.68145,-94.76733l0,-89.08023l-147.12518,0l0,189.94536c0,85.50098 71.42609,155.05985 159.22223,155.05985c48.53623,0 93.88307,-21.35179 124.41824,-58.5804l6.02269,-7.34618l-9.0487,-3.27192c-11.46727,-4.14633 -22.64828,-9.35747 -33.23582,-15.49062l-0.00001,-0.00001zm-162.13513,-189.08182c20.62629,0 37.40549,16.34192 37.40549,36.42763c0,20.08708 -16.78059,36.42763 -37.40549,36.42763c-20.62489,0 -37.40409,-16.34192 -37.40409,-36.42763c0,-20.08572 16.7792,-36.42763 37.40409,-36.42763z"/>
</g>
</svg>
`;
var PIN_SVG_NO_HOLE =
"m256,0c-70.703,0 -128,57.313 -128,128c0,51.5 30.563,95.563 74.375,115.875l53.625,268.125l53.625,-268.125c43.813,-20.312 74.375,-64.375 74.375,-115.875c0,-70.687 -57.312,-128 -128,-128z";
var PIN_SVG_HAS_HOLE =
"m256,0c-70.703,0 -128,57.313 -128,128c0,51.5 30.563,95.563 74.375,115.875l53.625,268.125l53.625,-268.125c43.813,-20.312 74.375,-64.375 74.375,-115.875c0,-70.687 -57.312,-128 -128,-128zm0,192c-35.344,0 -64,-28.656 -64,-64s28.656,-64 64,-64s64,28.656 64,64s-28.656,64 -64,64z";
var STANLEY_PARK = {
location_id: "STANLEY_PARK",
lat: 49.3006,
lng: -123.125,
pin_color: STANLEY_COLOR,
title_text: "Visit Stanley Park",
group_type: true,
title_style: "color: ".concat(STANLEY_COLOR, "; font-size: 16px; font-weight:bold; "),
marker_svg: PARK_PATH_2,
can_move: CAN_MOVE_ACTIVITIES,
group_lat: 49.29999460222812,
group_lng: -123.12838696340592,
group_zoom: 16,
};
var VANCOUVER_AQUARIUM = {
location_id: "VANCOUVER_AQUARIUM",
lat: 49.301028448370104,
lng: -123.1303740539247,
pin_color: STANLEY_COLOR,
marker_svg: ORCA_PATH,
can_move: CAN_MOVE_ACTIVITIES,
content_text: "Vancouver Aquarium",
};
var THEATRE_STARS = {
location_id: "THEATRE_STARS",
lat: 49.29859374164774,
lng: -123.13408623120131,
pin_color: STANLEY_COLOR,
marker_svg: THEATRE_PATH,
can_move: CAN_MOVE_ACTIVITIES,
title_text: THEATRE_SVG,
};
var ROSE_GARDEN = {
location_id: "rose_garden",
lat: 49.298748185948476,
lng: -123.13655332352153,
pin_color: STANLEY_COLOR,
marker_svg: FLOWER_PATH,
can_move: CAN_MOVE_ACTIVITIES,
title_text: "Rose Garden",
};
var TOTEM_POLES = {
location_id: "totem_poles",
lat: 49.29945424568891,
lng: -123.12079550987937,
pin_color: STANLEY_COLOR,
marker_svg: TOTEM_PATH,
can_move: CAN_MOVE_ACTIVITIES,
title_text: "Totem Poles",
};
var STANLEY_PARK_OUTING = [STANLEY_PARK, VANCOUVER_AQUARIUM, THEATRE_STARS, ROSE_GARDEN, TOTEM_POLES];
var NORTH_SHORE = {
location_id: "north_shore",
lat: 49.35643927612489,
lng: -123.0685231089592,
pin_color: NORTH_SHORE_COLOR,
title_text: "Visit the <a href='http://vancouversnorthshore.com/'>North Shore</a>",
title_style: "color: ".concat(NORTH_SHORE_COLOR, "; font-size: 16px; font-weight:bold; "),
marker_svg: WATER_PATH_2,
can_move: CAN_MOVE_ACTIVITIES,
group_type: true,
group_lat: 49.367238543988286,
group_lng: -123.0699056749604,
group_zoom: 13,
};
var LYNN_CREEK = {
location_id: "Lynn Creek Ecology",
lat: 49.3469483290511,
lng: -123.01933489674076,
marker_svg: LEAF_PATH,
can_move: CAN_MOVE_ACTIVITIES,
pin_color: NORTH_SHORE_COLOR,
title_text: "<a href='http://www.lynncanyonecologycentre.ca/' target='_blank'>Lynn Canyon Ecology Centre</a>",
content_text: "",
order_index: 1,
};
var SUSPENSION_BRIDGE = {
location_id: "Capilano Suspension Bridge",
lat: 49.34431680519281,
lng: -123.1154057370374,
marker_svg: TREES_PATH_2,
can_move: CAN_MOVE_ACTIVITIES,
pin_color: NORTH_SHORE_COLOR,
title_text: "<a href='https://www.capbridge.com/' target='_blank'>Capilano Suspension Bridge</a>",
order_index: 3,
};
var HATCHERY_URL = "https://www.tripadvisor.ca/Attraction_Review-g181717-d155847-Reviews-Capilano_Salmon_Hatchery-North_Vancouver_British_Columbia.html";
var HATCHERY = {
location_id: "HATCHERY",
lat: 49.35890968429735,
lng: -123.11046738078812,
marker_svg: PLAIN_FISH,
can_move: CAN_MOVE_ACTIVITIES,
pin_color: NORTH_SHORE_COLOR,
title_text: "<a href='".concat(HATCHERY_URL, "' target='_blank'>Capilano River Hatchery</a>"),
order_index: 4,
};
var GROUSE = {
location_id: "Grouse",
lat: 49.38048692077353,
lng: -123.08179818027958,
marker_svg: GONDOLA_PATH,
can_move: CAN_MOVE_ACTIVITIES,
pin_color: NORTH_SHORE_COLOR,
title_text: "<a href='https://www.grousemountain.com/' target='_blank'>Grouse Mountain</a>",
order_index: 2,
};
var NORTH_SHORE_OUTING = [NORTH_SHORE, LYNN_CREEK, SUSPENSION_BRIDGE, HATCHERY, GROUSE];
var STEVESTON = {
location_id: "steveston",
lat: 49.125515219688346,
lng: -123.19314694541674,
pin_color: STEVESTON_COLOR,
title_text: "Visit <a href='https://www.visitrichmondbc.com/things-to-do/steveston-village/'>Steveston</a>",
title_style: "color: ".concat(STEVESTON_COLOR, "; font-size: 16px; font-weight:bold; "),
marker_svg: CAR_PARK_2,
can_move: CAN_MOVE_ACTIVITIES,
group_type: true,
group_lat: 49.12533062792256,
group_lng: -123.18892228671896,
group_zoom: 16,
};
var GARRY_POINT_PARK = {
location_id: "Garry Point Park",
lat: 49.12450214052779,
lng: -123.19713597062844,
marker_svg: BINOCULAR_PATH_2,
can_move: CAN_MOVE_ACTIVITIES,
pin_color: STEVESTON_COLOR,
title_text: "<a href='http://www.richmond.ca/parks/parks/SigParks/parkinfo/park.aspx?ID=17' target='_blank'>Garry Point Park</a>",
order_index: 1,
};
var MARYS_ICE_CREAM = {
location_id: "Marys Ice Cream",
lat: 49.12453021459576,
lng: -123.18427506512461,
marker_svg: CONE_PATH,
can_move: CAN_MOVE_ACTIVITIES,
pin_color: STEVESTON_COLOR,
content_text: "Mary's Ice Cream",
order_index: 3,
};
var SEABREEZE_ADVENTURES = {
location_id: "Seabreeze Adventures",
lat: 49.123649970228,
lng: -123.18069116765884,
marker_svg: ORCA_PATH,
can_move: CAN_MOVE_ACTIVITIES,
pin_color: STEVESTON_COLOR,
title_text: "<a href='http://www.seabreezeadventures.ca/' target='_blank'>Steveston Seabreeze</a>",
content_text: "Eco-Tours",
order_index: 4,
};
var GEORGIA_CANNERY = {
location_id: "Georgia Cannery",
lat: 49.12551316365467,
lng: -123.18719284231094,
pin_color: STEVESTON_COLOR,
marker_svg: FISH_HOOK,
can_move: CAN_MOVE_ACTIVITIES,
title_text: "<a href='http://gulfofgeorgiacannery.org/' target='_blank'> Gulf of Georgia Cannery</a>",
content_text: "Historical Site",
order_index: 2,
};
var STEVESTON_OUTING = [STEVESTON, GARRY_POINT_PARK, GEORGIA_CANNERY, MARYS_ICE_CREAM, SEABREEZE_ADVENTURES];
var VAN_TRAILS_SASAMAT = "https://www.vancouvertrails.com/trails/sasamat-lake/";
var SASAMAT = {
location_id: "sasamat",
lat: 49.31833185480837,
lng: -122.89149357226643,
pin_color: SASAMAT_COLOR,
marker_svg: CAR_PARK_2,
can_move: CAN_MOVE_ACTIVITIES,
title_style: "color: ".concat(SASAMAT_COLOR, "; font-size: 16px; font-weight:bold; "),
title_text: "Visit <a href='".concat(VAN_TRAILS_SASAMAT, "' target='_blank'>Sasamat Lake</a>"),
group_type: true,
group_lat: 49.322732829467164,
group_lng: -122.88177324679653,
group_zoom: 15,
};
var FISH_URL = "http://www.fishingwithrod.com/articles/region_two/sasamat_lake.html";
var SASAMAT_FISH = {
location_id: "sasamat_fish",
lat: 49.316289665483986,
lng: -122.88698746112141,
pin_color: SASAMAT_COLOR,
marker_svg: MAN_FISH_2,
can_move: CAN_MOVE_ACTIVITIES,
title_text: "<a href='".concat(FISH_URL, "' target='_blank'>Fish at Sasamat</a>"),
};
var WHITE_PINE_URL = "https://www.tripadvisor.ca/Attraction_Review-g815383-d3923634-Reviews-White_Pine_Beach_Sasamat_Lake-Port_Moody_British_Columbia.html";
var SASAMAT_SWIM = {
location_id: "sasamat swim",
lat: 49.32218762262639,
lng: -122.88518630109843,
pin_color: SASAMAT_COLOR,
marker_svg: SWIM_PATH_2,
can_move: CAN_MOVE_ACTIVITIES,
title_text: "<a href='".concat(WHITE_PINE_URL, "' target='_blank'> White Pine Beach</a>"),
};
var BUNTZEN_RIDGE_TRAIL_HREF =
'<a href="http://trailpeak.com/trail-White-Pine-to-Buntzen-Lake-near-Coquitlam-BC-5209" target="_blank">Buntzen Ridge Trail Hike</a>';
var BUNTZEN_RIDGE_TRAIL = {
location_id: "sasamat BUNTZEN_RIDGE_TRAIL",
lat: 49.325916969909045,
lng: -122.8747565880135,
pin_color: SASAMAT_COLOR,
title_text: BUNTZEN_RIDGE_TRAIL_HREF,
marker_svg: HIKE_MAN_2,
can_move: CAN_MOVE_ACTIVITIES,
content_text: "Buntzen Ridge Trail",
};
var SASAMAT_OUTING = [SASAMAT, SASAMAT_FISH, BUNTZEN_RIDGE_TRAIL, SASAMAT_SWIM];
const delete_options = {
append_to_id: "outing_delete",
marker_icon_title: "Delete",
main_color: "#f00",
minor_color: "#0f0",
minor_hover: "#00f",
normal_opacity: NON_HOVER_OPACITY_OUTING,
};
const clear_all_activities = {
append_to_id: "icon_all_activities",
marker_icon_title: "Delete all",
main_color: "#888",
minor_color: "#888",
minor_hover: "#f00",
normal_opacity: NON_HOVER_OPACITY_OUTING,
};
const resize_activities = {
append_to_id: "icon_resize_activities",
marker_icon_title: "ReSize",
main_color: "#888",
minor_color: "#888",
minor_hover: "#00f",
normal_opacity: NON_HOVER_OPACITY_OUTING,
};
const hide_activities = {
append_to_id: "icon_hide_activities",
marker_icon_title: "Hide Info",
main_color: "#888",
minor_color: "#888",
minor_hover: "#00f",
normal_opacity: NON_HOVER_OPACITY_OUTING,
};
const show_activities = {
append_to_id: "icon_show_activities",
marker_icon_title: "Show Info",
main_color: "#888",
minor_color: "#888",
minor_hover: "#0f0",
normal_opacity: NON_HOVER_OPACITY_OUTING,
};
const edit_options = {
append_to_id: "icon_edit",
marker_icon_title: "Edit Marker",
main_color: "#f00",
minor_color: "#0f0",
minor_hover: "#00f",
normal_opacity: NON_HOVER_OPACITY_OUTING,
};
const drag_edit_options = {
append_to_id: "icon_drag",
marker_icon_title: "Drag Changes to Map",
main_color: "#f49",
minor_color: NON_HOVER_OUTING,
minor_hover: HOVER_COLOR_OUTING,
normal_opacity: NON_HOVER_OPACITY_OUTING,
};
///////////////
const steveston_options = {
append_to_id: "icon_steveston",
marker_icon_title: "Steveston",
main_color: STEVESTON_COLOR,
minor_color: NON_HOVER_OUTING,
minor_hover: HOVER_COLOR_OUTING,
normal_opacity: NON_HOVER_OPACITY_OUTING,
};
const sasamat_options = {
append_to_id: "icon_sasamat",
marker_icon_title: "Sasamat Lake",
main_color: SASAMAT_COLOR,
minor_color: NON_HOVER_OUTING,
minor_hover: HOVER_COLOR_OUTING,
normal_opacity: NON_HOVER_OPACITY_OUTING,
};
const north_shore_options = {
append_to_id: "icon_north_shore",
marker_icon_title: "North Shore",
main_color: NORTH_SHORE_COLOR,
minor_color: NON_HOVER_OUTING,
minor_hover: HOVER_COLOR_OUTING,
normal_opacity: NON_HOVER_OPACITY_OUTING,
};
const stanley_options = {
append_to_id: "icon_stanley",
marker_icon_title: "Stanley Park",
main_color: STANLEY_COLOR,
minor_color: NON_HOVER_OUTING,
minor_hover: HOVER_COLOR_OUTING,
normal_opacity: NON_HOVER_OPACITY_OUTING,
};
</script>
<script>
window.gmap_activities = window.activitiesMap("gmap-activites-id", [NORTH_SHORE_OUTING]);
</script>
<hr><hr>
<style>
/* */</style>
<div id="gmap-events-id" style="width: 700px; height: 500px; float: left"></div>
<br />
<div style="float: left">
Dragging pins on the map show distance.
<br /><br />
Map events are logged in the console.
<br /><br />
The below pins are plain un-draggable icons.
<br />
<span id="black-dot-id" title="black-dot.png"></span>
<br /><br />
<span id="blue-dot-id" title="blue-dot.png"></span>
<span id="circle-dot-id" title="circle-dot.png"></span>
<br /><br />
<span id="cyan-dot-id" title="cyan-dot.png"></span>
<span id="green-dot-id" title="green-dot.png"></span>
<span id="grey-dot-id" title="grey-dot.png"></span>
<br /><br />
<span id="pink-dot-id" title="pink-dot.png"></span>
<span id="purple-dot-id" title="purple-dot.png"></span>
<span id="rainbow-dot-id" title="rainbow-dot.png"></span>
<span id="red-dot-id" title="red-dot.png"></span>
<br /><br />
<span id="square-dot-id" title="square-dot.png"></span>
<span id="stripe-dot-id" title="stripe-dot.png"></span>
<span id="transparent-dot-id" title="transparent-dot.png"></span>
<span id="yellow-dot-id" title="yellow-dot.png"></span>
<span id="see-thru-dot-id" title="see-thru-dot.png"></span>
</div>
<div style="clear: both"></div>
<script>// window.gmap_events = window.eventsMap("gmap-events-id", events_locations);
var VANCOUVER = {
lat: 49.27324752004365,
lng: -123.1184429292939,
title_text: "Vancouver",
pin_color: "stripe",
};
var RICHMOND = {
lat: 49.16650744083447,
lng: -123.11981622030953,
title_text: "Richmond",
pin_color: "see-thru",
};
var BURNABY = {
lat: 49.24904940098245,
lng: -122.99072686484078,
title_text: "Burnaby",
pin_color: "black",
};
var NEW_WESTMINSTER = {
lat: 49.21138429632658,
lng: -122.91770640661935,
title_text: "New Westminster",
pin_color: "transparent",
};
var COQUITLAM = {
lat: 49.285790021849046,
lng: -122.79685679724435,
title_text: "Coquitlam",
pin_color: "cyan",
};
var SURREY = {
lat: 49.17952591962596,
lng: -122.85865489294747,
title_text: "Surrey",
pin_color: "square",
};
var NORTH_VANCOUVER = {
lat: 49.323845935661964,
lng: -123.0742615824006,
title_text: "North Vancouver",
pin_color: "pink",
};
var WEST_VANCOUVER = {
lat: 49.33816525290107,
lng: -123.16283885290841,
title_text: "West Vancouver",
pin_color: "circle",
};
var PORT_MOODY = {
lat: 49.28489423464641,
lng: -122.87376109411935,
title_text: "Port Moody",
pin_color: "grey",
};
var PORT_COQUITLAM = {
lat: 49.25532412674462,
lng: -122.77831736853341,
title_text: "Port Coquitlam",
pin_color: "rainbow",
};
var events_locations = [VANCOUVER, RICHMOND, BURNABY, NEW_WESTMINSTER, COQUITLAM, SURREY, NORTH_VANCOUVER, WEST_VANCOUVER, PORT_MOODY, PORT_COQUITLAM];
</script>
<script>
window.gmap_events = window.eventsMap("gmap-events-id", events_locations);
</script>
<hr><hr>
<style>
.hike-commands {
float: right;
clear: both;
margin-right: 4px;
}
.hike-words {
float: right;
margin: 15px 5px;
}</style>
<div style="float: left">
<div id="drag_alloutte" draggable="true" class="hike-commands">
<div id="icon_alloutte" style="float: right"></div>
<div class="hike-words">Alouette Mountain Hike</div>
</div>
<div id="drag_bastion" draggable="true" class="hike-commands">
<div id="icon_bastion" style="float: right"></div>
<div class="hike-words">Bastion Hike</div>
</div>
<div id="drag_burke" draggable="true" class="hike-commands">
<div id="icon_burke" style="float: right"></div>
<div class="hike-words">Burke Mountain Hike</div>
</div>
<div id="drag_swan" draggable="true" class="hike-commands">
<div id="icon_swan" style="float: right"></div>
<div class="hike-words">Swan Falls Hike</div>
</div>
<div onClick="gmap_hike.clearHikes(event)" class="hike-commands" style="margin-top: 24px">
<div id="icon_all" style="float: right"></div>
<div class="hike-words">Clear All <span id="number-hikes">0</span></div>
</div>
<div onClick="gmap_hike.reSizeHikes(event) " class="hike-commands">
<div id="icon_resize" style="float: right"></div>
<div class="hike-words">Resize Map</div>
</div>
<div onClick="gmap_hike.hideHikesInfo(event)" class="hike-commands">
<div id="icon_hide" style="float: right"></div>
<div class="hike-words">Hide Info</div>
</div>
<br /><br />
<div onClick="gmap_hike.showHikesInfo(event)" class="hike-commands">
<div id="icon_show" style="float: right"></div>
<div class="hike-words">Show Info</div>
</div>
</div>
<div style="float: left; width: 1000px; height: 600px; clear: right">
<div id="gmap-hikes" style="width: 100%; height: 100%"></div>
</div>
<div style="clear: both"></div>
<script>// window.gmap_hike = window.hikeMap("gmap-hikes", [BASTION_HIKE], hike_options);
const BINOCULAR_PATH =
"m492.68928,152.94378c-0.27408,-0.0877 -142.91455,-34.25959 -226.11328,-54.97979c-16.97083,12.19093 -29.66606,29.84147 -38.04185,59.38694c-5.05397,17.81499 -7.08214,33.34965 -7.20274,45.86948c-10.94114,-2.66403 -21.76169,-5.31709 -32.20949,-7.89341c-0.26311,-15.14 2.65306,-31.14608 7.31237,-47.60164c6.59977,-23.17593 17.31068,-40.9361 36.98939,-59.11286c-13.69287,-3.40951 -28.39435,-7.31237 -28.44916,-7.33429c-6.00776,-1.7212 -24.18453,8.34289 -38.23918,26.9253c-14.78918,-3.67263 -25.12735,-6.24895 -25.1712,-6.25991c-3.81515,-1.08534 -18.74685,8.58408 -23.31845,24.73268c-4.60449,16.15956 2.88329,32.69187 6.67651,33.78818c0.04385,0.01096 9.83387,3.13544 23.89949,7.6303c0.43852,6.7094 1.54579,13.05701 3.01484,18.7907c-16.57616,12.17997 -28.99731,29.73184 -37.24154,58.8059c-11.05077,38.89697 -7.68511,67.05012 -1.43616,76.22621c82.82598,26.46485 222.21043,71.01875 222.4845,71.07357c15.04133,4.29752 36.89072,-26.2127 48.79662,-68.10258c3.89189,-13.73672 6.24895,-27.013 7.10407,-38.77637c33.9307,10.84247 57.90693,18.50566 58.02752,18.52758c15.04133,4.28656 36.90169,-26.23462 48.77469,-68.10258c11.93878,-41.84603 9.39535,-79.3178 -5.65694,-83.59339zm-128.72834,166.12337c-9.03357,31.74904 -25.35758,54.88112 -36.50702,51.72375c-11.13848,-3.15736 -12.87064,-31.44208 -3.859,-63.18016c9.00068,-31.74904 25.35758,-54.88112 36.49605,-51.72375c11.14944,3.16833 12.87064,31.46401 3.86996,63.18016zm117.76528,-89.38189c-9.0226,31.73808 -25.36854,54.88112 -36.49605,51.71279c-11.13848,-3.15736 -12.87064,-31.44208 -3.859,-63.1692c9.00068,-31.74904 25.34661,-54.89208 36.48509,-51.72375c11.14944,3.1464 12.89257,31.42015 3.86996,63.18016zm-362.25266,-52.73236c-13.67095,-3.40951 -28.39435,-7.31237 -28.4382,-7.32333c-6.01872,-1.71024 -24.18453,8.34289 -38.25014,26.93626c-14.76725,-3.67263 -25.12735,-6.25991 -25.14928,-6.27087c-3.82611,-1.08534 -18.74685,8.58408 -23.34037,24.74364c-4.58256,16.15956 2.90521,32.70283 6.69843,33.79914c0.02193,0 9.82291,3.12447 23.88853,7.61933c1.60061,24.65594 12.10323,44.54295 18.33025,46.32993c0.05482,0.01096 10.93018,3.04773 26.48677,8.03593c-7.73993,-22.58392 -4.79086,-48.06209 2.80655,-74.73523c6.56688,-23.17593 17.29972,-40.9361 36.96747,-59.13479z";
const TREES_PATH =
"m387.15613,447.1595l-49.26753,0c-6.03664,0 -10.94834,4.9117 -10.94834,10.94834l0,41.05627c0,6.03664 4.9117,10.94834 10.94834,10.94834l49.26753,0c6.03664,0 10.94834,-4.9117 10.94834,-10.94834l0,-41.05627c0,-6.03664 -4.9117,-10.94834 -10.94834,-10.94834zm-387.15613,-447.1595m487.67831,406.98183l-115.54604,-281.67204c-2.5277,-6.16528 -7.06989,-6.8304 -8.90374,-6.8304c-1.84206,0 -6.40067,0.67195 -8.95027,6.88787l-25.49184,62.19889c-2.11029,5.14435 -2.11029,12.61112 0,17.75684l84.85921,206.85246c2.45927,5.99832 9.09123,10.35029 15.76971,10.35029l47.68549,0c4.16311,0 7.73363,-1.76542 9.79876,-4.84464c2.03776,-3.0368 2.32242,-6.93714 0.7787,-10.69927l0.00002,0zm-487.67831,-406.98183m348.62755,391.63225c2.08429,-3.10796 2.38537,-7.07263 0.82523,-10.87854l-152.49532,-371.89731c-2.53865,-6.18855 -7.08905,-6.8564 -8.927,-6.8564s-6.38836,0.66785 -8.927,6.85777l-152.49395,371.89457c-1.56151,3.80592 -1.26043,7.77058 0.82523,10.87854c2.08429,3.10796 5.63976,4.89117 9.75223,4.89117l301.68698,0c4.11384,0.00137 7.66931,-1.78184 9.7536,-4.8898zm-348.62755,-391.63225m221.56249,432.10553l-67.05858,0c-6.03664,0 -10.94834,4.9117 -10.94834,10.94834l0,56.11024c0,6.03664 4.9117,10.94834 10.94834,10.94834l67.05858,0c6.03664,0 10.94834,-4.9117 10.94834,-10.94834l0,-56.11024c0,-6.03664 -4.9117,-10.94834 -10.94834,-10.94834z";
const PARK_PATH =
"m324.49688,401.82503c-4.37702,-4.3184 -10.28743,-6.73728 -16.42925,-6.73728l-20.69416,0l0,-13.38508l17.37438,0c5.57926,0 10.10437,-4.52408 10.10437,-10.1054l0,-13.21847c0,-5.58029 -4.52511,-10.1054 -10.10437,-10.1054l-17.37438,0l0,-17.29622l17.37438,0c5.57926,0 10.10437,-4.52511 10.10437,-10.1054l0,-13.2195c0,-5.58029 -4.52511,-10.10437 -10.10437,-10.10437l-17.37438,0l0,-13.06935c0,-9.34024 -7.56002,-16.90952 -16.90541,-16.90952s-16.90952,7.56928 -16.90952,16.90952l0,13.06935l-152.18572,0l0,-13.06935c0,-9.34024 -7.56002,-16.90952 -16.90541,-16.90952c-9.34642,0 -16.90952,7.56928 -16.90952,16.90952l0,13.06935l-17.37541,0c-5.57823,0 -10.10334,4.52408 -10.10334,10.10437l0,13.2195c0,5.58029 4.52511,10.1054 10.10334,10.1054l17.37541,0l0,17.29622l-17.37541,0c-5.57823,0 -10.10334,4.52511 -10.10334,10.1054l0,13.21847c0,5.58132 4.52511,10.1054 10.10334,10.1054l17.37541,0l0,13.38508l-20.70753,0c-6.14181,0 -12.05634,2.41888 -16.43233,6.73728l-26.35261,25.9906c-2.90841,2.87448 -3.80007,7.23195 -2.2461,11.03099c1.54985,3.79081 5.25016,6.26625 9.34642,6.26625l22.57106,0l0,42.27278c0,9.33716 7.56311,16.90952 16.90952,16.90952c9.34539,0 16.90952,-7.57237 16.90952,-16.90952l0,-42.27278l219.81662,0l0,42.27278c0,9.33716 7.56311,16.90952 16.90952,16.90952c9.34642,0 16.90952,-7.57237 16.90952,-16.90952l0,-42.27278l22.55563,0c4.09831,0 7.79554,-2.47544 9.35053,-6.26625c1.54985,-3.79801 0.65923,-8.15652 -2.24713,-11.03099l-26.35364,-25.9906zm-223.12406,-70.84887l152.18572,0l0,17.29622l-152.18572,0l0,-17.29622zm0,50.72754l152.18572,0l0,13.38508l-152.18572,0l0,-13.38508zm-2.13092,-379.21886c0,-0.03291 -0.02777,-0.06685 -0.06273,-0.06685l-89.05319,0c-5.58337,0 -10.10951,4.52614 -10.10951,10.10746l0,87.65041c0,0.04834 -0.01645,0.08227 -0.01645,0.16455c0.41446,0 0.82892,0.11621 1.27217,0.11621c54.09567,0 97.96972,-43.85863 97.96972,-97.97178zm-95.78841,125.91024l0,82.59771c0,7.00261 5.68107,12.68266 12.68163,12.68266c7.00158,0 12.68266,-5.68005 12.68266,-12.68266l0,-82.59771c0,-7.00056 -5.68107,-12.6806 -12.68266,-12.6806c-7.00056,0 -12.68163,5.68005 -12.68163,12.6806zm61.77396,-25.84148c-6.05954,3.49976 -8.13903,11.2521 -4.64235,17.32295l41.31839,71.55026c2.34586,4.06952 6.60666,6.34133 10.995,6.34133c2.14737,0 4.32663,-0.54507 6.32487,-1.70103c6.06365,-3.50079 8.14315,-11.25519 4.64235,-17.32295l-41.31839,-71.55026c-3.49771,-6.05131 -11.22639,-8.16474 -17.31987,-4.6403zm40.58923,-18.62804l71.55129,41.31634c1.99722,1.15596 4.17853,1.70103 6.32487,1.70103c4.38936,0 8.64914,-2.27181 10.995,-6.34133c3.50182,-6.06777 1.4213,-13.82011 -4.63824,-17.32295l-71.55232,-41.31531c-6.07496,-3.52547 -13.83862,-1.41924 -17.31987,4.64235c-3.50182,6.06674 -1.4213,13.82011 4.63927,17.31987zm21.20324,-53.71618l82.61416,-0.01645c7.00056,0 12.68266,-5.68005 12.68266,-12.6806c0,-7.00981 -5.6821,-12.68266 -12.68266,-12.68266l-82.61416,0.01748c-7.00056,0 -12.68266,5.68005 -12.68266,12.68163c0,7.00981 5.6821,12.6806 12.68266,12.6806zm324.90722,-28.26139c-21.303,0 -39.69655,26.56241 -48.62851,65.1606c29.65492,10.95694 51.51841,45.6152 53.99591,89.24345c17.08847,9.60147 29.14584,26.49454 33.35625,46.22609c9.69505,-21.28346 15.7042,-50.50335 15.7042,-82.77666c-0.00103,-65.08655 -24.37596,-117.85348 -54.42785,-117.85348zm-16.91055,409.45587c0,5.58029 4.52614,10.10437 10.10437,10.10437l13.60619,0c5.58337,0 10.10849,-4.52408 10.10849,-10.10437l0,-140.45333c-9.41121,8.47944 -20.98727,14.17697 -33.82008,16.06826l0,124.38507l0.00103,0zm5.41779,-244.09487c0.01645,-0.8824 0.18306,-1.71749 0.18306,-2.60914c0,-46.74853 -25.54838,-84.64532 -57.07196,-84.64532c-31.51844,0 -57.06579,37.89679 -57.06579,84.64532c0,10.99088 1.52003,21.41715 4.0942,31.05153c-13.95483,8.8106 -23.11818,23.39175 -23.11818,39.95469c0,26.93162 24.12605,48.77146 53.90027,48.77146c1.302,0 2.50835,-0.32396 3.79595,-0.41446l0,127.34079c0,5.58029 4.52511,10.10437 10.10437,10.10437l29.89043,0c5.57926,0 10.10437,-4.52408 10.10437,-10.10437l0,-141.72345c3.40309,0.84949 6.91725,1.41204 10.5682,1.41204c27.42938,0 49.66928,-23.81958 49.66928,-53.19682c0.00103,-23.8854 -14.80843,-43.86583 -35.0542,-50.58665z";
const SWIM_PATH =
"m131.69976,185.00068c23.91062,0 43.28664,-21.03779 43.28664,-47.00159c0,-25.97096 -19.37602,-47.01794 -43.28664,-47.01794c-23.90244,0 -43.28766,21.04698 -43.28766,47.01794c0,25.96381 19.38522,47.00159 43.28766,47.00159zm-129.64427,-185.00068m41.80372,216.01212l42.67037,20.87733c0,0.14206 -0.04088,0.27798 -0.04088,0.42004l0,93.39407c23.16967,-5.74566 48.28113,0 67.3945,17.563c6.59801,-6.16672 13.92878,-10.81374 21.6377,-14.28239l0.51917,-50.23621l4.68074,5.52287c2.95459,3.47683 6.89643,5.77325 11.19903,6.51522l66.30914,11.44942c10.62058,1.83244 20.51044,-6.04204 22.18242,-17.48226c1.67812,-11.48315 -5.53104,-22.27133 -16.09439,-24.09355l-59.66923,-10.30581c-36.77141,-43.30912 -6.72371,-8.02573 -43.55031,-51.29908c-3.29083,-3.86928 -7.93989,-7.2296 -21.86254,-7.2296l-15.47506,0c-5.84275,0 -11.29714,1.59125 -16.21703,4.18201l-40.62332,-19.87782l-27.48045,-75.02779c-3.94899,-10.78614 -15.19606,-16.09541 -25.16869,-11.7693c-9.93891,4.28932 -14.79339,16.53385 -10.83724,27.33839l30.37883,82.93906c1.85901,5.07523 5.45541,9.15811 10.04724,11.40241zm-41.80372,-216.01212m358.12474,185.00068c23.91164,0 43.28766,-21.03779 43.28766,-47.00159c0,-25.97096 -19.37602,-47.01794 -43.28766,-47.01794c-23.89324,0 -43.27846,21.04698 -43.27846,47.01794c0.00102,25.96381 19.38624,47.00159 43.27846,47.00159zm-358.12474,-185.00068m260.23899,204.60869c1.85799,5.07523 5.45439,9.15913 10.04622,11.40241l42.66117,20.87733c0,0.14206 -0.0419,0.27798 -0.0419,0.42004l0,91.35724c16.10257,1.49109 31.8178,7.79374 44.233,19.50888c12.58895,-11.86742 28.54332,-18.17926 44.86051,-19.56305l0.4599,-44.87482l4.69812,5.53309c2.95459,3.47683 6.89541,5.77325 11.19903,6.51522c2.45177,0.42106 66.8927,11.71616 69.36899,11.71616c9.3625,0 17.59877,-7.39107 19.11235,-17.749c1.67914,-11.48315 -5.52798,-22.27133 -16.09235,-24.09355l-59.66208,-10.30581c-100.05953,-117.8811 57.25936,67.45888 -43.54827,-51.29908c-3.3082,-3.89687 -7.98281,-7.2296 -21.87071,-7.2296l-15.48426,0c-5.84275,0 -11.29101,1.59125 -16.2109,4.18201l-40.62127,-19.87782l-27.48249,-75.02779c-3.94797,-10.78717 -15.18686,-16.09541 -25.16767,-11.77033c-9.93993,4.28932 -14.79339,16.53385 -10.83622,27.33839l30.37883,82.94008zm-260.23899,-204.60869m473.49786,371.7878c-7.58628,8.25875 -19.87884,8.23218 -27.47227,-0.01737c-20.07711,-21.82472 -55.07843,-21.82472 -75.15451,0.01737c-7.33997,7.97259 -20.12514,7.95419 -27.48147,-0.01737c-19.90235,-21.63872 -55.21742,-21.64485 -75.13816,-0.0092l-0.29433,0.32295c-7.62,7.97974 -19.69795,7.83666 -27.21882,-0.31375c-20.15887,-21.91466 -53.62923,-23.40677 -75.7953,0.70518c-6.92096,7.49838 -19.28608,7.52598 -26.22339,-0.02555c-20.37042,-22.12928 -53.51273,-22.12928 -73.91994,0.01737c-8.317,9.05284 -22.89782,9.06204 -31.23219,-0.0092c-6.58165,-7.15091 -17.25436,-7.14171 -23.83499,-0.00818c-6.5837,7.14886 -6.5837,18.74034 -0.0092,25.89022c10.53984,11.4484 24.55141,17.75718 39.46131,17.75718c14.91603,0 28.92964,-6.3098 39.45313,-17.749c7.24084,-7.86426 19.01423,-7.86426 26.2704,0c19.56713,21.2892 53.61391,22.02095 74.5127,-0.697c7.63533,-8.2935 19.94527,-8.19436 27.52235,0.03679c20.2161,21.9586 53.86021,23.07565 75.10546,0l0.28616,-0.31375c7.28274,-7.61489 20.07813,-7.48101 27.21779,0.26776c20.09346,21.82472 55.07843,21.82472 75.15349,0.0184c7.35735,-7.98894 20.13536,-7.99814 27.49067,-0.0092c20.74243,22.53194 54.41106,22.60246 75.16167,-0.01635c6.57552,-7.1601 6.55815,-18.7526 -0.03168,-25.88307c-6.59903,-7.14886 -17.26253,-7.13149 -23.82886,0.03577z";
const WATER_PATH =
"m -39.42355,256.63632 c 27.42465,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.19068,15.20681 48.61989,23.57645 76.04454,23.57645 27.42465,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.19068,15.20681 48.61989,23.57645 76.04454,23.57645 13.02206,0 23.57645,-10.55439 23.57645,-23.57645 0,-13.02206 -10.55439,-23.57645 -23.57645,-23.57645 -25.45471,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85812,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33531 -40.8318,30.4241 -66.28913,30.4241 -25.45733,0 -49.61796,-11.08617 -66.28651,-30.41886 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67379,19.33531 -40.83442,30.42148 -66.28913,30.42148 -13.02206,0 -23.57645,10.55439 -23.57645,23.57645 0,13.02206 10.55439,23.57645 23.57645,23.57645 z m 725.14179,78.3367 c -25.45471,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85812,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33531 -40.8318,30.4241 -66.28913,30.4241 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33531 -40.8318,30.4241 -66.28651,30.4241 -13.02206,0 -23.57645,10.55439 -23.57645,23.57645 0,13.02206 10.55439,23.57645 23.57645,23.57645 27.42465,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.19068,15.20681 48.61989,23.57645 76.04454,23.57645 27.42465,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.19068,15.20681 48.61989,23.57645 76.04454,23.57645 13.02206,0 23.57645,-10.55439 23.57645,-23.57645 0,-13.01944 -10.55701,-23.57645 -23.57907,-23.57645 z M 587.05157,460.46 c -25.45471,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85812,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28913,-30.4241 -4.47691,-5.19206 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.66855,19.33269 -40.82918,30.42148 -66.28651,30.42148 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33531 -40.8318,30.4241 -66.28913,30.4241 -25.45733,0 -49.61534,-11.08879 -66.28651,-30.42148 -4.47953,-5.19468 -10.99711,-8.18103 -17.85523,-8.18103 -6.85813,0 -13.37571,2.98635 -17.85523,8.18103 -16.67117,19.33793 -40.8318,30.4241 -66.28651,30.4241 -13.02206,0 -23.57645,10.55439 -23.57645,23.57645 0,13.02206 10.55439,23.57645 23.57645,23.57645 27.42465,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47498,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04454,-23.57645 2.76368,-1.89398 5.47498,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04192,23.57645 27.42203,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04454,23.57645 27.42465,0 53.85386,-8.36964 76.04192,-23.57645 2.76368,-1.89398 5.47236,-3.87702 8.09982,-5.98056 2.62485,2.10354 5.33614,4.08659 8.09982,5.98056 22.18806,15.20681 48.61989,23.57645 76.04454,23.57645 13.02206,0 23.57645,-10.55439 23.57645,-23.57645 0,-13.02206 -10.55701,-23.57645 -23.57907,-23.57645 z";
const MOUNTAIN_PATH =
"m 212.5,224.789 -69.68,75.289 37.207,26.803 47.466,-34.195 47.475,34.196 37.207,-26.801 -69.675,-75.28 V 0.603 H 104.54 V 101.86 H 212.5 Z m 120.207,97.476 -57.739,41.588 -47.473,-34.194 -47.468,34.195 L 122.29,322.262 0,454.397 h 455 z";
const MAN_FISH =
"M 87.025,330.166 H 11.606 C 5.199,330.166 0,335.365 0,341.774 v 48.217 c 0,6.411 5.199,11.608 11.606,11.608 h 75.419 c 6.412,0 11.61,-5.197 11.61,-11.608 v -48.217 c 0,-6.409 -5.198,-11.608 -11.61,-11.608 z m 392.822,34.72 c -6.379,-6.378 -16.741,-6.362 -23.087,0.016 -5.328,5.325 -14.588,5.349 -19.962,-0.024 C 425.267,353.35 408.19,349.476 392.771,353 319.761,215.601 320.782,125.128 322.09,105.915 l 10.938,-8.291 c 3.57,-2.727 4.286,-7.846 1.561,-11.441 -2.726,-3.578 -7.845,-4.305 -11.45,-1.569 L 195.405,181.51 c -4.942,-4.806 -12.455,-6.297 -18.878,-2.894 l -41.474,21.958 -31.316,-24.437 c -3.73,-6.999 -9.142,-11.881 -17.221,-15.3 -2.239,-0.947 -9.721,-3.24 -16.997,-1.553 -10.933,2.535 -20.887,9.279 -25.097,20.545 0,0 -28.857,76.792 -38.047,101.554 -7.222,19.46 7.112,37.677 20.586,37.677 0.048,0 0.08,0 0.112,0 l 78.785,-0.374 26.485,66.777 c 3.826,9.607 13.027,15.467 22.768,15.467 3.013,0 6.059,-0.558 9.024,-1.73 12.583,-4.99 18.722,-19.23 13.744,-31.803 l -32.653,-82.316 c -3.702,-9.335 -12.726,-15.458 -22.771,-15.458 -0.032,0 -0.08,0 -0.124,0 l -41.89,0.198 20.427,-54.5 22.419,17.509 c 2.934,2.279 6.472,3.452 10.045,3.452 2.613,0 5.242,-0.622 7.651,-1.897 l 50.818,-26.908 c 3.457,-1.833 5.787,-4.839 7.192,-8.196 l 114.531,-86.869 c -0.924,29.937 4.034,116.016 71.337,243.091 -5.214,2.208 -10.093,5.277 -14.224,9.407 -5.243,5.247 -14.651,5.247 -19.898,0 -17.696,-17.699 -48.488,-17.691 -66.154,-0.023 -5.342,5.332 -14.639,5.316 -19.966,0 -6.375,-6.378 -16.709,-6.378 -23.088,0 -6.375,6.377 -6.375,16.71 0,23.087 18.226,18.241 47.9,18.258 66.143,0 5.327,-5.325 14.619,-5.333 19.977,0.024 8.817,8.827 20.555,13.689 33.038,13.689 12.486,0 24.22,-4.862 33.069,-13.721 5.327,-5.325 14.591,-5.349 19.982,0.024 18.21,18.217 47.864,18.225 66.122,-0.024 6.38,-6.378 6.365,-16.703 -0.015,-23.08 z M 106.162,156.405 c 20.23,0 36.64,-16.407 36.64,-36.649 0,-20.234 -16.409,-36.641 -36.64,-36.641 -20.25,0 -36.643,16.406 -36.643,36.641 10e-4,20.242 16.393,36.649 36.643,36.649 z";
const HIKE_MAN =
"m 386.604,202.858 c 0,-11.185 -9.066,-20.251 -20.253,-20.251 h -68.479 l -38.62,-54.832 0.127,-0.933 c 1.378,-10.474 -1.474,-21.067 -7.911,-29.444 -6.441,-8.378 -15.932,-13.852 -26.408,-15.23 -11.596,-1.511 -22.592,2.224 -30.852,9.225 V 45.779 c 0,-7.847 -6.362,-14.217 -14.225,-14.217 H 140.59 c -7.867,0 -14.225,6.37 -14.225,14.217 v 168.953 c 0,20.68 15.821,37.476 35.979,39.446 l -3.043,7.073 -23.859,90.136 -53.73,72.188 c -8.006,10.768 -5.794,25.987 4.984,34.001 4.348,3.245 9.443,4.811 14.491,4.811 7.422,0 14.729,-3.385 19.511,-9.795 l 56.529,-75.945 c 1.851,-2.484 3.213,-5.299 4.003,-8.289 l 16.266,-61.414 44.521,40.877 -6.076,88.603 c -0.917,13.393 9.177,24.99 22.58,25.908 0.552,0.04 1.124,0.056 1.691,0.056 12.66,0 23.339,-9.819 24.208,-22.642 l 6.882,-100.264 c 0.508,-7.364 -2.371,-14.572 -7.815,-19.564 l -45.994,-42.219 13.992,-90.613 19.331,27.435 c 3.801,5.387 9.972,8.592 16.552,8.592 h 70.882 l 1.339,232.294 c 0,4.478 3.626,8.101 8.101,8.101 4.479,0 8.101,-3.624 8.101,-8.101 l -1.339,-234.036 c 7.136,-3.126 12.152,-10.221 12.152,-18.513 z M 246.413,78.492 c 21.688,0 39.255,-17.573 39.255,-39.251 0,-21.67 -17.567,-39.24 -39.255,-39.24 -21.652,0 -39.242,17.57 -39.242,39.24 0,21.678 17.59,39.251 39.242,39.251 z";
const CAR_PARK =
"m509.70001,286.19093l0,62.36568c0,15.16179 -11.45684,21.27698 -23.60281,21.27698l-52.46025,0c-1.46441,26.61776 -23.60281,47.11947 -50.22143,47.11947c-26.6169,0 -48.75616,-20.50171 -50.99498,-47.11947l-182.62025,0c-1.46441,26.61776 -23.60281,47.11947 -50.22057,47.11947s-47.98089,-20.50171 -50.22057,-47.11947l-27.39304,0c-18.95116,0 -21.96612,-9.04487 -21.96612,-21.19084l0,-60.04071c0,-10.68156 0.77527,-18.26203 6.11606,-28.94359l53.23553,-105.00664c6.11606,-12.92124 21.96612,-23.60281 36.52405,-23.60281l202.34668,0c14.38565,0 28.08217,9.04487 36.52319,23.60281l47.98089,78.30274l96.56563,21.19084c24.98107,3.96338 29.63272,19.1243 30.40799,32.04555zm-381.95198,78.30274c0,-15.16093 -12.14597,-27.30603 -27.3069,-27.30603s-27.3069,12.14597 -27.3069,27.30603c0,15.16179 12.14597,27.3069 27.3069,27.3069s27.3069,-11.97282 27.3069,-27.3069zm54.69993,-203.81109l-74.59865,0c-12.14597,0.77527 -17.48675,5.34078 -24.37808,18.26203l-23.60281,53.23553l122.40725,0l0,-71.49755l0.17228,0zm160.48185,71.41227l-31.95854,-53.23553c-6.11606,-9.90629 -15.16093,-18.26203 -28.94359,-18.26203l-67.70732,0c0,0 0,70.72228 0,71.49755l128.60945,0zm67.79346,132.39882c0,-15.16093 -11.45684,-27.30603 -26.6169,-27.30603c-15.16179,0 -27.3069,12.14597 -27.3069,27.30603c0,15.16179 12.14597,27.3069 27.3069,27.3069c14.38479,0.17228 26.6169,-11.97282 26.6169,-27.3069z";
var BURKE_COLOR = "#060";
var BURKE_HOVER = "#080";
var ALOUETTE_COLOR = "#006";
var ALOUETTE_HOVER = "#008";
var SWAN_COLOR = "#600";
var SWAN_HOVER = "#800";
var BASTION_COLOR = "#606";
var BASTION_HOVER = "#808";
var CAN_MOVE_HIKES = false; /// CANNOT be TRUE, the indexes are not handled leading to unk-unks
var SWAN_STREETVIEW =
"https://www.google.ca/maps/place/Buntzen+Lake/@49.3356061,-122.8560224,3a,75y,19.35h,84.44t/data=!3m7!1e1!3m5!1sR60c4Gjv--BjkYEWc3MM2w!2e0!6s%2F%2Fgeo0.ggpht.com%2Fcbk%3Fpanoid%3DR60c4Gjv--BjkYEWc3MM2w%26output%3Dthumbnail%26cb_client%3Dmaps_sv.tactile.gps%26thumb%3D2%26w%3D203%26h%3D100%26yaw%3D73.829185%26pitch%3D0%26thumbfov%3D100!7i13312!8i6656!4m5!3m4!1s0x54867c6c78e46731:0x3249c68d91b95fd5!8m2!3d49.3506255!4d-122.8598586";
var SWAN_PARKING = {
location_id: "SWAN_PARKING",
lat: 49.33637893455591,
lng: -122.85809945315123,
pin_color: SWAN_COLOR,
hover_color: SWAN_HOVER,
title_text: "Swan Falls Hike Parking",
title_style: "color: ".concat(ALOUETTE_COLOR, "; font-size: 16px; font-weight:bold; "),
marker_svg: CAR_PARK,
can_move: CAN_MOVE_HIKES,
group_type: true,
group_lat: 49.36042241229385,
group_lng: -122.84934472292657,
group_zoom: 13,
order_index: 0,
};
var swan_walk_url = "http://forums.clubtread.com/27-british-columbia/34939-tangled-summit-lindsay-lake-aug-12-2010-a.html";
var SWAN_BIKE = {
location_id: "SWAN_BIKE",
lat: 49.338808405725935,
lng: -122.85463373943537,
marker_svg: HIKE_MAN,
can_move: CAN_MOVE_HIKES,
pin_color: SWAN_COLOR,
title_text: '<a href="'.concat(swan_walk_url, '" target="_blank">Dirt Road</a>'),
content_text: '<a target="_blank" href="'.concat(SWAN_STREETVIEW, '">Street View</a>'),
disable_auto_pan: true,
order_index: 1,
};
var swan_walk_img = "http://www.clubtread.com/forumPix/265000/265968.jpg";
var SWAN_WALK = {
location_id: "SWAN_WALK",
lat: 49.368904718354486,
lng: -122.8580779954791,
marker_svg: HIKE_MAN,
can_move: CAN_MOVE_HIKES,
pin_color: SWAN_COLOR,
title_text: '<a href="'.concat(swan_walk_img, '" target="_blank">Get Off Dirt Road</a>'),
disable_auto_pan: true,
order_index: 2,
};
var swan_swim_url = "http://www.buntzenlake.ca/swan-falls-loop/#prettyPhoto[1385]/14/";
var SWAN_SWIM = {
location_id: "SWAN_SWIM",
lat: 49.367376531251395,
lng: -122.85191863627165,
marker_svg: SWIM_PATH,
can_move: CAN_MOVE_HIKES,
pin_color: SWAN_COLOR,
title_text: '<a href="'.concat(swan_swim_url, '" target="_blank">Water Fall</a>'),
disable_auto_pan: true,
order_index: 3,
};
var swan_peak_url = "http://fieldandforest.co/adventures/halvorlunden";
var swan_peak_img = "<img src='https://steens-bucket.s3.us-east-2.amazonaws.com/map-images/swan_falls.jpg' width='60px' >";
var SWAN_SUMMIT = {
location_id: "SWAN_SUMMIT",
lat: 49.367926602842765,
lng: -122.82982729375362,
marker_svg: MOUNTAIN_PATH,
can_move: CAN_MOVE_HIKES,
pin_color: SWAN_COLOR,
title_text: '<a href="'.concat(swan_peak_url, '" target="_blank">Swan Falls Summit</a>'),
content_text: swan_peak_img,
disable_auto_pan: true,
order_index: 4,
};
var SWAN_HIKE = [SWAN_PARKING, SWAN_BIKE, SWAN_WALK, SWAN_SWIM, SWAN_SUMMIT];
var bastion_streetview =
"https://www.google.ca/maps/@49.3108934,-122.8117843,3a,60y,324.13h,81.44t/data=!3m6!1e1!3m4!1syDCCPi9uoqBH4yoyrGhVLw!2e0!7i13312!8i6656";
var bastion_page = "http://www.buntzenlake.ca/east-bastion-trail-and-white-rock-viewpoint/";
var BASTION_PARKING = {
location_id: "BASTION_PARKING",
lat: 49.31084084797064,
lng: -122.81200837343931,
pin_color: BASTION_COLOR,
hover_color: BASTION_HOVER,
title_text: '<a target="_blank" href="'.concat(bastion_page, '">East Bastion Trail</a>'),
content_text: '<a target="_blank" href="'.concat(bastion_streetview, '">Stree View</a>'),
title_style: "color: ".concat(BASTION_COLOR, "; font-size: 16px; font-weight:bold; "),
marker_svg: CAR_PARK,
can_move: CAN_MOVE_HIKES,
group_type: true,
group_lat: 49.33429588090191,
group_lng: -122.80588768422605,
group_zoom: 13,
order_index: 0,
};
var WOOD_PATHS_IMG = "<img src='https://steens-bucket.s3.us-east-2.amazonaws.com/map-images/above_pumping_station.jpg' width='60px' >";
var WOOD_PATHS = {
location_id: "WOOD_PATHS",
lat: 49.31714967936051,
lng: -122.81145952641964,
marker_svg: TREES_PATH,
can_move: CAN_MOVE_HIKES,
pin_color: BASTION_COLOR,
title_text: "Wood bike paths",
content_text: WOOD_PATHS_IMG,
disable_auto_pan: true,
order_index: 1,
};
var FORD_IMG = "images/portage.jpg";
var FORD_STREAM = {
location_id: "FORD_STREAM",
lat: 49.324422717095025,
lng: -122.81592272222042,
can_move: CAN_MOVE_HIKES,
marker_svg: WATER_PATH,
pin_color: BASTION_COLOR,
title_text: "Ford small stream",
content_text: FORD_IMG,
disable_auto_pan: true,
order_index: 2,
};
var CYPRESS_IMG = "<img src='https://steens-bucket.s3.us-east-2.amazonaws.com/map-images/cypress_lake.jpg' width='60px' >";
var CYPRESS_LAKE_URL = "http://www.trailpeak.com/trail-Cypress-Lake-Coquitlam-near-Coquitlam-BC-5760";
var CYPRESS_LAKE = {
location_id: "CYPRESS_LAKE",
lat: 49.336141236888444,
lng: -122.8173141181469,
marker_svg: SWIM_PATH,
can_move: CAN_MOVE_HIKES,
pin_color: BASTION_COLOR,
title_text: '<a href="'.concat(CYPRESS_LAKE_URL, '" target="_blank">Cypress Lake</a>'),
content_text: CYPRESS_IMG,
disable_auto_pan: true,
order_index: 3,
};
var WHITE_ROCK_IMG = "<img src='https://steens-bucket.s3.us-east-2.amazonaws.com/map-images/white_rock.jpg' width='60px' >";
var WHITE_ROCK_URL = "http://www.buntzenlake.ca/east-bastion-trail-and-white-rock-viewpoint/";
var WHITE_ROCK = {
location_id: "WHITE_ROCK",
lat: 49.34374699288048,
lng: -122.82076310366392,
marker_svg: MOUNTAIN_PATH,
can_move: CAN_MOVE_HIKES,