calagator 1.0.0.rc2 → 1.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (713) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/calagator.js +12 -12
  3. data/app/assets/javascripts/calagator/forms.js +30 -27
  4. data/app/assets/javascripts/calagator/mapping.js +33 -0
  5. data/app/assets/stylesheets/calagator/changes.scss +60 -37
  6. data/app/assets/stylesheets/calagator/forms.scss +110 -115
  7. data/app/assets/stylesheets/calagator/index.scss +2 -0
  8. data/app/assets/stylesheets/calagator/layout.scss +14 -5
  9. data/app/assets/stylesheets/calagator/mobile.scss +110 -26
  10. data/app/assets/stylesheets/calagator/typography.scss +1 -1
  11. data/app/assets/stylesheets/calagator/variables.scss +4 -4
  12. data/app/controllers/calagator/admin_controller.rb +31 -18
  13. data/app/controllers/calagator/application_controller.rb +5 -2
  14. data/app/controllers/calagator/events_controller.rb +8 -38
  15. data/app/controllers/calagator/site_controller.rb +2 -0
  16. data/app/controllers/calagator/venues_controller.rb +105 -59
  17. data/app/helpers/calagator/application_helper.rb +12 -64
  18. data/app/helpers/calagator/events_helper.rb +25 -19
  19. data/app/helpers/calagator/mapping_helper.rb +75 -67
  20. data/app/helpers/calagator/tags_helper.rb +40 -21
  21. data/app/models/calagator/event.rb +26 -95
  22. data/app/models/calagator/event/browse.rb +91 -0
  23. data/app/models/calagator/event/ical_renderer.rb +4 -4
  24. data/app/models/calagator/event/saver.rb +2 -2
  25. data/app/models/calagator/event/search.rb +18 -8
  26. data/app/models/calagator/event/search_engine/apache_sunspot.rb +2 -2
  27. data/app/models/calagator/source.rb +4 -15
  28. data/app/models/calagator/source/parser.rb +7 -12
  29. data/app/models/calagator/source/parser/facebook.rb +14 -7
  30. data/app/models/calagator/source/parser/hcal.rb +6 -6
  31. data/app/models/calagator/source/parser/ical.rb +58 -144
  32. data/app/models/calagator/source/parser/meetup.rb +7 -8
  33. data/app/models/calagator/source/parser/not_configured_error.rb +7 -0
  34. data/app/models/calagator/source/parser/plancast.rb +3 -3
  35. data/app/models/calagator/venue.rb +16 -59
  36. data/app/models/calagator/venue/geocoder.rb +27 -18
  37. data/app/models/calagator/venue/search.rb +21 -5
  38. data/app/observers/calagator/cache_observer.rb +1 -1
  39. data/app/views/calagator/admin/events.html.erb +11 -2
  40. data/app/views/calagator/events/_feed_item.html.erb +1 -1
  41. data/app/views/calagator/events/_form.html.erb +17 -16
  42. data/app/views/calagator/events/_hcal.html.erb +1 -1
  43. data/app/views/calagator/events/_item.html.erb +2 -2
  44. data/app/views/calagator/events/duplicates.html.erb +2 -2
  45. data/app/views/calagator/events/index.html.erb +28 -17
  46. data/app/views/calagator/events/search.html.erb +0 -2
  47. data/app/views/calagator/events/show.html.erb +13 -13
  48. data/app/views/calagator/site/_description.html.erb +3 -1
  49. data/app/views/calagator/site/about.html.erb +7 -2
  50. data/app/views/calagator/site/defunct.html.erb +1 -1
  51. data/app/views/calagator/site/index.html.erb +0 -2
  52. data/app/views/calagator/sources/edit.html.erb +0 -1
  53. data/app/views/calagator/sources/new.html.erb +2 -8
  54. data/app/views/calagator/venues/_form.html.erb +4 -5
  55. data/app/views/calagator/venues/duplicates.html.erb +3 -3
  56. data/app/views/calagator/venues/index.html.erb +1 -3
  57. data/app/views/calagator/venues/show.html.erb +3 -5
  58. data/app/views/calagator/versions/_chooser.html.erb +6 -8
  59. data/app/views/layouts/calagator/_global_search.html.erb +1 -1
  60. data/app/views/paper_trail_manager/changes/index.html.erb +35 -0
  61. data/bin/calagator +41 -0
  62. data/config/initializers/formtastic.rb +18 -0
  63. data/config/initializers/machine_tag_extensions.rb +51 -0
  64. data/config/initializers/paper_trail.rb +19 -0
  65. data/config/initializers/paper_trail_manager.rb +3 -0
  66. data/config/routes.rb +11 -3
  67. data/db/migrate/20150702171204_drop_reimport_column_from_sources.rb +9 -0
  68. data/lib/active_model/sequential_validator.rb +11 -0
  69. data/lib/calagator.rb +3 -1
  70. data/lib/calagator/duplicate_checking.rb +23 -11
  71. data/lib/calagator/duplicate_checking/controller_actions.rb +3 -3
  72. data/lib/calagator/duplicate_checking/duplicate_finder.rb +41 -32
  73. data/lib/calagator/engine.rb +2 -0
  74. data/lib/calagator/machine_tag.rb +87 -0
  75. data/lib/calagator/vcalendar.rb +126 -0
  76. data/lib/calagator/version.rb +1 -1
  77. data/lib/generators/calagator/templates/config/initializers/01_calagator.rb +5 -0
  78. data/rails_template.rb +49 -0
  79. data/spec/controllers/calagator/events_controller_spec.rb +95 -117
  80. data/spec/controllers/calagator/sources_controller_spec.rb +1 -0
  81. data/spec/controllers/calagator/venues_controller_spec.rb +14 -29
  82. data/spec/dummy/Gemfile +5 -0
  83. data/spec/dummy/Gemfile.lock +44 -32
  84. data/spec/dummy/config/initializers/01_calagator.rb +11 -3
  85. data/spec/dummy/config/initializers/02_geokit.rb +3 -0
  86. data/spec/dummy/config/secrets.yml +2 -2
  87. data/spec/dummy/db/development.sqlite3 +0 -0
  88. data/spec/dummy/db/schema.rb +1 -2
  89. data/spec/dummy/db/test.sqlite3 +0 -0
  90. data/spec/dummy/log/development.log +526 -569
  91. data/spec/dummy/log/test.log +37740 -9929
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-CM0lWINTV2Fozcd1RwxoKr7XjvPKhbaf4mKvGQurzM.cache +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-JFij_jVTTPwh1M96-jXDbPsY97nLMyh5ODhUlLgpP4.cache +1 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-WQ_M_l86BBak0BXil7pbDrtyjVyacvTwIu5SrYaj8s.cache +1 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{HvUWnS9L_Yk-EbPkDIOHefFQhMqe8m6aBP8gJhycy7w.cache → -bJnviXBsj5kb6d5LHVmGD891bbIuY92L2tGbJrzLrg.cache} +0 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{zfjyLHsD8d3avRJ33XXsYOc1iN_s6c946QvaEo1HQ7Y.cache → -vk4DB_Yk2HvguraSy3P1nPB11xHa_6H2ZxmEPPMtrY.cache} +0 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-x8hI4xenTIkKPiBubWuma_o64mXCLdcZ_zg7Rnvd-o.cache +1 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/0UaBkInwinp7izvw2222cMR6raZfpgUNk-p9mKyKxig.cache +0 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{L0F7-zlKWC9kxtFBC9vOu-xopYMKObCQKmNc1Pv60pc.cache → 0gVYaX7Kx7UVfSHrQBVHR26qSpeM_nJA4PNa3SICSCw.cache} +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/0wxbsXOn2HbzuEIGbNIk7g196SEgfOnnqixxxM-BLP8.cache +1 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1KrCfTQ9oKASBMMY4XcCIwCn_5zQAVK0GrV9VAKNioQ.cache +0 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1Kt7OsU8Q-3pxCE0KJWNTqOzRPYl-UcDoKw3-3ehebY.cache +0 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1ybNORBSX1Qv5oGTDrF5g335IvzqzwygyN86Tjg7SXw.cache +1 -0
  104. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/2AmxoU75mmVlNk2hfKqfErkRLbT_37gss2iUv-iGihU.cache +0 -0
  105. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/2EJTGPTU9uVU_i5hzb_U_105FZQr1po1d3FNJ6hobm0.cache +1 -0
  106. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/39_ZPr0WnEKMeiaYuxeOJgy23E_bamwQ0uSm7HHqcWg.cache +1 -0
  107. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{lpp5T7JbUliesO0txxVbscFe7fS9GAUTpOYNhAtX894.cache → 3FL3QieTrUFtbuni7TScaxvsKFHuY4CehiWx6dGJ4C0.cache} +1 -1
  108. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{kF2SJ5GNfozSohM0lTUaGEBTcn7A7opkDm-jpa7ZO0E.cache → 3S4-0rKBaicJ0IgCaWQHidWu9_zZF6zGIE0xHx_RWzU.cache} +0 -0
  109. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3SydfXibg6WXyjo0v-9YsQ4TGFP_6Kz9ciIKB68Nw7s.cache +1 -0
  110. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3u4WCc6Baxcwg6Ta8sJaKRV4M7W99K3vezshAsl9Zdc.cache +0 -0
  111. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3zGcrT-De2CtkK4d-nj1ajprSA-SHEz1W9yurK6xkXU.cache +1 -0
  112. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/43k2jEexn58q3kRCoCfhkU6-TVQjbNnGYSXp8U1PTis.cache +1 -0
  113. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/46bw-5QE_Qz5EAtiMAyrKUfRSy6SrVeVwuu6s_bPO8g.cache +1 -0
  114. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4CgVjSup9P8sg_jTQxDp2r0QVAwaENem5pelYlJWtJo.cache +0 -0
  115. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{Lq8gMYUIIzLJ7GU15KKjaRPL1aI2QlKcQ4sHaGW9JRQ.cache → 4DSqPV1APtk00P1aXDAH-qQSsaF5TAMQBfd9oMur6_o.cache} +0 -0
  116. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{NBOfmd7xPabkoT34Ykfk9qTCDZ13e28nh8UFxBDBxIs.cache → 4Oe7Y_e4YxH0Jfrr5rbICT9MzThOKV9qqphk1PdxTTM.cache} +2 -3
  117. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4_yeYhL5f2i_NwkmmR0UbTBZOQNN19UwjO9-NtlUsRQ.cache +1 -0
  118. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{rzVOBTt660H6JpBl1NLbpzhdLnC3HJmrMpTon45NB4w.cache → 4aD9Yj2KTsHlKNuC0rtwtyhhU7jeuN0FTpRyXNot29s.cache} +0 -0
  119. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{BMzhTLHHAzlwl711L66mY0ECJ9DBscknzJ4cgx9Ee1E.cache → 4sxntryh2E9D9Q25Z96qJd4caeioyzINEaHVonTqCto.cache} +0 -0
  120. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4vgKOr_8Zp2YzfDYXHZiRVr6pgyzRwNfqgTpQu0EIIw.cache +0 -0
  121. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/5B9kly5TOk7mxcTXIEeuxn1WeZ-Mtm2EVJe1-yOMjxQ.cache +1 -0
  122. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/5RC0f89sdAT1hGYl6BI5vt1haLupwNiQTLptuF8gSDg.cache +0 -0
  123. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/5i8VAi45Ga3-NjZP27jq7E2bvXDOcQdMhkIBCO5ZVSI.cache +1 -0
  124. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{KinkCedmgVViMEbJ-Q-VRboA_44wOxCBrHK08ZSpTy0.cache → 61GLw4h3P-XBf2RCFH6-sbJqw6y15BBYPRY9oWMZtCE.cache} +0 -0
  125. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6B5HvycXYZPpPmbs1eXzFVthg7peetAAmcA0M1pZHQs.cache +1 -0
  126. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{LWYGtCOeJxQaeHzYF3LMuL9oQ5fYMTmLz8qjN6uR8QU.cache → 6FJuhB9nI2jzlYAmWawD3hxfUVCT7THoxJYsATs804I.cache} +0 -0
  127. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6GKdO9-qWeOYbyU03RISMR5oUC0m_rv5VhWSyhO92ys.cache +1 -0
  128. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6LDHmfvaqUXab4-cuqHjCVFqZODkUq-dkkadgv-yZhs.cache +1 -0
  129. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6aTmTgYIdIIteIn_sDcUER2XO86I__oJoPfjzinHZdg.cache +1 -0
  130. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{Oelg1AERisvp2Q8x6SIbOumG_DleW2mCaM0jmjxY-Ys.cache → 6lxssPY51lye296Fh7kwXSO2JESerV5iOy9qu6zhBkM.cache} +0 -0
  131. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{tC-vsJCGI_MgsUn5Mxnhdbso71KY8noAOMn3OB04qIE.cache → 6oFIx18LWzdPlnmYxqG-T_CYI4X5DelrWb1vjRNlABY.cache} +0 -0
  132. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{bu7LexOV0udwhvnVuQSD3ZPQMq7avJh-1CQJgCQ2-rU.cache → 74nJo9K2hvhhW5dvJ4gUQRB-ULjjBNfeRajcaPkRcbo.cache} +0 -0
  133. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/7hlpw2xxiq_7pT9SxnOgXQn8-imUsZrf_U4YcC5bvyo.cache +1 -0
  134. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{-QRXXaNzwr5UzS4CbkIVAeHMc2WE0l9wZDPzBQILZrw.cache → 7sBT2IpEm3k1NJcidwUSpBpTXcf5Ds8sqRyiOQIA_qg.cache} +0 -0
  135. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{u5oaYZ8Tmn0ICqRsYuTEiMRzoJYbpyNBqMSaDLIN5Gk.cache → 8KasOZr9BXOb09itfJh-fdgeK6cAY1omWf0B6_JZzNw.cache} +0 -0
  136. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8l2x814Pyfvpi_HPpBbllERtN3CHl8EIT6tz8atRQkY.cache +1 -0
  137. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8ouJRTPFtdwFYLq_S6Xu0S_f2dLVCXmifmeh67_ut3M.cache +0 -0
  138. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8pAxWhO-DIPrXxNj63J647oPDPN6BtXwgVDnCkc6L_E.cache +1 -0
  139. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/91quTonSGY8bccDKSSCsznIF7i915pwqkUtGebPeLew.cache +1 -0
  140. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9nIFT3TM5uu8kr68sJM8vcmaPnjV_Ii6hYc9wJaCtaQ.cache +1 -0
  141. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{q_M_h5oreqAMwBcbMKADGYMXLAkkGd_PydzvyxVsST8.cache → A8Q89vNLh4UxmumVfzLCiTwUxBOyNY95v7qjMbAeqAQ.cache} +2 -2
  142. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/B7l_FAy2IoBgaixEVFDHvcxfMN8rrelQ4h31n3y7Kew.cache +0 -0
  143. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/BPMcQc7GpnAgi8YgdcFYh-yrtvrmw4elkfSGUh89U8Q.cache +1 -0
  144. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{ayez6jQlWzdCHdYgK9Fk2Y90ALcbcg7LC2tE6kU9VYo.cache → C-0kj-Vq4D9vsbbCysdsndx8Hc7_v2dh3PTenKoyEdQ.cache} +0 -0
  145. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{lMQvQ4Btrrg7I6uXipJB13rCSP7-D5nFTnXMPM1QoKU.cache → C3X9syB2bCpHBnTTcrwTzlxI43n_uB5Uz-IeEI23YQI.cache} +0 -0
  146. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CffzJR-i9TbrCs7U6MCyBn5w5D0YOS4wR1yJKirEXrQ.cache +0 -0
  147. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CvR5TPIIW6fned7G1UwR2TndU6MIxwDYOnEqZvZXsyY.cache +0 -0
  148. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{SEP16Zv2UVoeCrQXE6cGuRYIfiZzGrMNix31WqZtZkQ.cache → DKohyv6aSryVJJRVZM7igobeI2e_YdRivDKa0L90Fnc.cache} +2 -2
  149. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Dl71tiEuaQBWniKohhUEzMTWVcSt2hbNoG3xOuF4Ag8.cache +1 -0
  150. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{9eQ9IhPa1zhAwQuKwbhkc6_dcAkyIPPlIfsx1B9GPJo.cache → Dng8OComRqPFMwfqsnpoFF_fNK3BB46nxxS6tqoGkUI.cache} +1 -1
  151. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EUd7KVHqfOtjHBjtHDHLAv8CaBhIneSGeqFjlk7cews.cache +0 -0
  152. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{fcjY2wjB4GW_z_Of917NNoMxCewTirRwOdpPB22TnNM.cache → Et-7gHzyD4VSv1mSV3uHUA7wrcNDhDvndYxkE6e00lA.cache} +0 -0
  153. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Et7dTDeFk8tMdiFdSqcgxGJjvyhvgRtliHywwcZQVVc.cache +1 -0
  154. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/F5oSjTErkof6BH3eO8vb92ZWA8rf2z0ZXdCNgIKXqNU.cache +1 -0
  155. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FP_LiTK_Oc5n9BbhTNh0j9fIVt4HQGMSt1NueH-Xj6A.cache +1 -0
  156. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Fzldh_KNPqsQDNpvYHCtwjsaEv0mEGiL2j2KKI_zkHw.cache +1 -0
  157. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/GE5yU16tibYtN3wPUGqgxLKaX_UQf9kjCg4qR5FeMmc.cache +1 -0
  158. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{u8m8iZT48OS_DhivHwmSTACVizjBps-YW3pjge80Bm0.cache → GSwjPTXPuFxHypa3rzcYEWcKLsmZwvuAlJ_oIF3HonI.cache} +0 -0
  159. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/G_h6Bka-NoC-vzOjIr0y_9vvEeq-Q55H_P1n79PKLf0.cache +1 -0
  160. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{HbLpDGDnzdotGM4QmNJ6QVL96eQhANVvCCU9WNijhI0.cache → Gkzn1iYnIwzFoPwcBR6WG6Mvf0xfMVTMUpS0NjHu1Q8.cache} +0 -0
  161. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{NzzL7BW6nRZKA-CdGxAYc_zL3Kqqe_WHIlPhR1gWEyo.cache → Gyo1WcEFU9CuikSIpl1IhxDgyMy8VKK7B7NOpqqv4jg.cache} +1 -1
  162. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{9do7vyNwdjXWbWbGgTUBDlh8FSW0-noqxNO2gvOejbw.cache → H9UIPn51OCU6E87RFTz9tCzt0Q1SGse3DStrTcx3T10.cache} +0 -0
  163. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HFpIlamToq4aEzP29vQDsYbKe8TfVEkm2dGgUrWdnJw.cache +0 -0
  164. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HQAOQoZJEbAlUUaDUbuXdP9ilOezH_yhWRnw-IEkqGI.cache +1 -0
  165. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HlJc5ujl_hot9tSDxDyrQ1QmokQBWiy0teo7gh1TioA.cache +0 -0
  166. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/I6bAdQ5L-Pby9BvwvD4qSlzfKjSkqMooCl3GZocSvp4.cache +1 -0
  167. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{HGnjWLME9JWn3uGDW_QnYRcDFS6IhCR7t3apHttOtGI.cache → I84VBkR7C5je36txQrkLkL1uumKVbfcWYMpLeI5k6cI.cache} +2 -3
  168. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/IC-MbrmrQ1o2lkpzLlHYd-j56UWyP8yof5nP-0JgEog.cache +1 -0
  169. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{g-5FDnQyTqAqd-TDObr0TcUxnC30DGjrVKf2q69LUVM.cache → IGelgUszB4KkHDF_TzjPnM4RZfGwcCsIktxAVx4VnAE.cache} +0 -0
  170. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{WxVzEo1ODfC9ECj9tyXxV5Z7jFKilKEdc3VibPrw0jA.cache → IafuTSM39seclmF4STGkL2TNWAJzlnhb_P4CIx12Uf4.cache} +0 -0
  171. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{1nhhIadFVR52B-FgTMyfuZOa5PzZwIByXaRn69CGUBQ.cache → ImpjCGyWf8UrREPfIyQcjbL9momr79e3YtLlPnC7AuI.cache} +0 -0
  172. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{TKgOi7Ftr76ruIJ5RmmhRIh262a2qHyi_5MVK-48P9U.cache → JZc09Mk5dRIUP_bomipJJScNG2VYtMeINbDnR0aoC-0.cache} +0 -0
  173. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JkbF2omnxvaOqdaQTOPCuzUaWhKvBEj4gTq9ORFUyQg.cache +1 -0
  174. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JkgPld2eJbmoGUWT7uRyDnr2rp0_DCk1yTAiJEG7qnQ.cache +0 -0
  175. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JqvEnh7aLXcBwD07lM28zsJunAylRs7G1ykdaprDBsI.cache +0 -0
  176. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/K-MJtoVLhA5Wf6_I2ux_4inbeL9ng91Wfmb7PEVB6Sg.cache +2 -0
  177. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/K8AAlTWwvMqqiQVkdAx48IB3vNjWXA-vLAcFdKTBY54.cache +0 -0
  178. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KcafFTnVrlOeYAIOGXwo9t2j_mp4zlCq6DTIbtpbTLo.cache +0 -0
  179. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{4fyZxS_A78vFl_wHhYHIPanxmAM6w3PSqtbW6Dwuj9A.cache → Ks7DEPPWj6YuTeXouutfjHlKf1AC68uds-by08EWsg4.cache} +0 -0
  180. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{DSsx0LkfmLNk9fClQZ47Mk5rLintYsZJDYYBACkM0Ig.cache → L5VOGLk1LLTin2sd1Px-fofQehF967uO6CZoEEqcDR8.cache} +0 -0
  181. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/L7BIQCJVXKD9h7tKsWKUjsWUSfv276RKnqbnhDChU3Y.cache +0 -0
  182. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/LEWaI9ATzw1GnEe5yL_HPE_wK0JZlkqjxCeqxjmT4xM.cache +2 -0
  183. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/LFBN2_kju7MwVnihmGVYZ3R7yyJRxCqreeiv2zHDrNQ.cache +0 -0
  184. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{sPbgcSt4rlae9bfUTSX23x82VqRIPn_Bhgo-CtHujBQ.cache → LtWuvNZJhF6koogfVYKlcN_EjaEo-tPVWIhPzpjxFvw.cache} +0 -0
  185. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MVgSIOnw2TsRNwfGztaLvnxwo3NguMGWVHNfsH2RuAk.cache +0 -0
  186. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MaSRqrqKwoPFtXu-QqlaGLj_9KeE62Wk90SIQOib1Kw.cache +1 -0
  187. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{XTDpRpmipNkv9WpGkmF0Vvkb27fmKFe5aT7s7dRWLyc.cache → MhnSDK3JiZuqugrVkXld3eZGq14bUGy0UaLeFAkvGKs.cache} +0 -0
  188. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MjSyTrQ_8B4c30wWSpxlKrUm4X2jxVjiu7j0Nrfgrqc.cache +0 -0
  189. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MnLVN_EBHhhFEH1fIWD4N51ubbl3QL0eSvwDPuPiTM4.cache +0 -0
  190. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Nyk8W03K_VxsCo8lfIa39zw3hA1z29XbmC_99RHnhak.cache +1 -0
  191. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OLrvx37PbZQt94vFiBV4BDlhPNEFmbBL4yIVxRXWil4.cache +1 -0
  192. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Opl04BInvaylUxd2uK_QCPQBWRUsQLwEvLBR6y1PbhY.cache +1 -0
  193. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/P2CUV3D3WMdWuVwagDJh8mwkI2OD-ZyjbAKepUd0qBg.cache +1 -0
  194. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{MKOxhMFuqMD0wOe5SkZtpPcPaY4x6X9A_XGgPmS9PIA.cache → PAtYUFgOgo3fBaxhcIp1yI2fO56VkINs5l5_FG5z7EQ.cache} +2 -2
  195. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/PPO02Mp0SXB-yjdzGMzSP9ix13rSUtEb1xbWhOiHJEI.cache +1 -0
  196. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{Jz8AiitybkjFHUelOkIF1_aq_Cl8zgyzRA8ijNcnQT0.cache → PbqyNx9qNRhQZj2c9bhwg-PuOn3IkRICCVBWgp8mL04.cache} +3 -2
  197. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/PimkCLMjcDuSnonWB6GXXZjb1X_wQ16zfKdI3Ttcfus.cache +1 -0
  198. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{D4-shRW8wkt0-lLOO254vVqfhm9hpeWzXYOfHdqgtyw.cache → QSrGTde25VUGX4NvfFgJv2ocA9VJH4Akr0DXdjEnRQM.cache} +3 -2
  199. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{oMDGAkmSaSGqqnsEjIYWKLVEyIsTN8nAUCZlk70zQTc.cache → QZf8Fpr5MW6FkWIuDU8dYheYmlqSdrTm9xVQXoyEVIc.cache} +0 -0
  200. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{1dW4dskNEo3bs-SpM8q-IUnVpprh4dNZKtNzW3-lWXM.cache → R0HWvhi4s-gRvgjagjaPSfUU73GRWSTEJehV-M8d-EE.cache} +0 -0
  201. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/S8HN741XqI-7y_sNqABtBFvER-Ao1wn3ct03L0wnmLo.cache +1 -0
  202. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{hMwMYJPmTwL7LhPtVwjOqGo1_g3CSKgWqj7ZAzRR0Ms.cache → SR-k5Yf7o0eg7IhodFZhdIVYU6Y0sLrOCDlqZeL03lE.cache} +0 -0
  203. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/SSjem1Zuze5DkJFaJ-hDeZvkqdp7Djb_M2VnyDXs1-E.cache +1 -0
  204. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/SWzO5j4n958IHuZkqyIVoUaQ5zHuffKRJreuAV1w7Bc.cache +2 -0
  205. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/S_pktQq-yuAM0EO6Kpb4w4bg5XJSP1o4QMPGQGCttDQ.cache +2 -0
  206. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{G9idZakJPHNAIKfi2xwBD7oyQLJS4Y4F05fZ6r8nH84.cache → SdCK5UjZMqFyQFTgIjdInjSqAcG7HMNo9T2x0Gxr7A8.cache} +0 -0
  207. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/TOYFZlUJzAN4K0Jvky0bxsneVLeeXxIkRymJSTt8trU.cache +1 -0
  208. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/TaoYnZXIMZgzCDZhAnPByPcXmZPZJQ1JhlY1RvsOyzs.cache +1 -0
  209. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UD7tuztLnVAPY-whkpY2trBgQbxNoG94p8NVcKfyw5M.cache +0 -0
  210. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{VKGIqMPpqdWi86y0x0Wzyoew7Pg8osEnxy4lFOVxtVo.cache → U_0sctT5J-1jwPIoOCTym5OmOAsAGiUm3UId1yde_jA.cache} +0 -0
  211. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{4yIXvErpzraqwVLqlKlJo52fDdeN-KePEDApAy9aVD8.cache → U_SgfET_We4s6fDTXahCmwW9adI1thd1G1w8-gJxDMk.cache} +2 -2
  212. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UiLLZtw0rop4mu0JbcNh2Fn8brR3X8DeK80YkEDsJNM.cache +0 -0
  213. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UnMANIFvjeRgdFZsr6mzVSCQSaBqybUndFxJzNs0rw0.cache +0 -0
  214. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/V4WTOVTwKsILC45jqGZT-cZc19GsWQHKMBJrpA1VOi8.cache +1 -0
  215. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/W01Lew8woRpkSmZE6XSQeKXlYVXWl6ksmHgmC0ZnjJA.cache +0 -0
  216. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{UWERgmCxRld6okYE-EUUJDWG0o1zVg7aYPUcVJAPXMU.cache → WJzfWuUHxXUAC_ZEQ8CV-qCcZUeRlBxJCcOhje0HU_0.cache} +2 -3
  217. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/W_0UfcooTvxUo5Q42XZ27r8FBCzrfQMjBXfEEXq4vwc.cache +0 -0
  218. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Waeu72e5dsKvswCxZaijrrJvOri_PG-At5-IJy5uaoo.cache +0 -0
  219. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{7lxkIvY2J3NEnjAxXT_WtTFxJwIh8l2ieBi-mBhHZ8o.cache → XO02oAAZAzpwgqHvkouy97hU8fBPCp-G4d5GSq-EoG0.cache} +1 -1
  220. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Y9SVAMkzGjz-yNtu_yPiz-uKw1ZERPt7blt9daMnQTs.cache +0 -0
  221. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Z0qO4F-mhKjGw5Ej7YtGiS8kroGIWQGCHagvAWlgQMM.cache +2 -0
  222. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ZAFCZjDJxSOWd-5nqfaRvLQtP20yilzo0CORTcHrgSs.cache +1 -0
  223. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{l05ZVGiMp2V9QrcZMazXw7uiw34MEfsWw95IRV1Jsx8.cache → ZF5jU0FhmRjni2ln0uWAh-O0k62evn0CoFTF0q5v47M.cache} +0 -0
  224. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{3Mg04TwzIMoX1bvSJVVaJ1I8ZafFLIXWtmc4kMjJ4_8.cache → ZhvALGIYzCvro62IIx-2ij6qrfv4zVsBnMWyxNTDzmw.cache} +0 -0
  225. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Zi5DTtW1h-ogjoKalq_DknaVo7wSfZpH8Um408WjhDc.cache +1 -0
  226. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{fdnfriKz2GbU2z94ulK4uPFgNBPlRSZ_BL7kmSGveYI.cache → ZxwVrRpE6_Hjp3e1yzgT80y7qollErdT53nQGG9vUvU.cache} +0 -0
  227. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/_fzKO-DaP_thRKtWjgTFB5j2lt5fAY1kuXq5txxsHd4.cache +1 -0
  228. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{6NPR0mGMJ9501qGnLdTMHpK_TeFfwTtiOjFHi3T-AoA.cache → _vGE2qpJzgh_OPWd3qL9QvbOFyN81nVJxkh4BoVCTKk.cache} +0 -0
  229. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/a-SqoQIv6M_N6GfphrkJGEvqH2xgd-bfPlaAcmpHD4Y.cache +1 -0
  230. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{PQzclE4zTGDBfkfn2zJss9H_1saDcwhThmvHtTx4skE.cache → aEnM3EnVrymBcTAU-wEYwZoyLh8e_H_GKHC3PHUFGjQ.cache} +2 -3
  231. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/agjUySuoaM3-ErO0r2sOrmvGogA5QmjCAg0B_AwHwzY.cache +2 -0
  232. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/aj2p5GFKeOpI-JmuONrqTyUEbR4zxVcVtxoC-rSuysY.cache +1 -0
  233. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/aw7aOgF0P_3eoW4iSqtSZfPkLczM8yLVcOn65q_ShHM.cache +1 -0
  234. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{aUib9rGacOwj8ufwDin1K5-lbBpe796If5BVAgQ9Blg.cache → bBrRInHv98t3ZLxFsu7dQnu5q70fJHrE9j9S44tU0Bc.cache} +0 -0
  235. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bN2tUA8wLg7aeBn3dG-WbvHMFarrxvJZQ-xYwKXqczg.cache +2 -0
  236. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{OBuHk7KUE0IkbsCF4if5p4cnYw2g_g2SpyBUADNgULo.cache → bnhMwM67gymJECELtIptrkYska7ODKv7W_W-3KeavP4.cache} +0 -0
  237. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bnmej52QU9wRmAZskcoQZl497zNPhGXEZZAYnZycptg.cache +0 -0
  238. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{_0RCXSG_DADlxRxSEXKcjVsvR9kaLaRHthZx0shTQI0.cache → bsg6fFe9Tex4p2t_UcF7zv8Ru0A5ehTH8fGKfzTDzj8.cache} +0 -0
  239. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bwGpc1h47WuDsLsMhvoTjnIS800YLNJOOySNHO7-6mM.cache +1 -0
  240. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/cgSIwBf2Cq_bHktNcJr_x_jb6_G8Q9lDorxK2UhzlqY.cache +1 -0
  241. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{v5_cCFN2POu8Y349gC2HxPlbZsnj8K1cvqtG00JYgDY.cache → cgq4nY8bweDo9cHweuSQFVejmg84JbGtcsdg6QS00Rk.cache} +0 -0
  242. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/czTTIqM_CW1ncM7NCS5NAPmoB0jyPkvEHZv3M9lFG0c.cache +1 -0
  243. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{Hju7sGCP7VOL2FkbI1BQDRzbNIzH265DW3LEfx4W834.cache → d4L5NW1wFlEwERhy4bjjZTMO10ZFf_gfz6rYvLB03N8.cache} +0 -0
  244. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{W6z5DtuKcZG7qIM5srq8Ogt2aBHW69U7kAw0H40olOA.cache → d8kT2hsoAXK4A9vuSzCcy0TokSxCr5aBjhwRcwMndYU.cache} +2 -2
  245. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/dWZ05uwqUlRqnvG5iYry5Na0kfloRylu4oQFRO-F_U0.cache +1 -0
  246. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{ikxzCLkfQUMO2-OzKt0OG2uygtlcLSpWD2wQt8inqyE.cache → d_-A08Mn4jMEZYPNrrVsSyxim8VkA_a9Y8bbMCEVuTQ.cache} +0 -0
  247. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/e3itI4K0fzgOF0qvr2hSDiVuCVdIBbklXseauFFl4aA.cache +1 -0
  248. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{pbemQCRMxOx-e5pbWUCPj5rz1VSc2kMYrblHGZl38wY.cache → eA42_ijsjusyJ7fx2RowQ7eqAkVTNB-3NRuPNfbFt4Y.cache} +0 -0
  249. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{492uWEEmI-dMs5877QLAtgkL7AQtuEkoxEDGieTbMqY.cache → eBppNLcezYhsM5OLZaYwyIpFpYCglrJhkb1zzjpA85A.cache} +0 -0
  250. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/eBrQ0MbNG9pnyxHs94p-6Ok939_9nKksfEsbsE0gSxE.cache +2 -0
  251. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/eYUfp36vvKOliKFWcx92z78GX3fMMKMs-PLMi0YtfOU.cache +0 -0
  252. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{QYRTS0WpI_okBVTRJmGCGZd6sZhmHobQ0rw2ik-DZCI.cache → ehj64fvN81Sg2NxAEnnHL1IaQ5z6-cbRvAcDIk8wlCA.cache} +2 -2
  253. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ejmfrf2mm81vGCOqcoPpNVPZYbsWeaEGS6xNVwfkPpo.cache +0 -0
  254. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/eoEd4UV5nSlYjQzJ6P_F5AUEvR2VosHmgprE5hFYtJ8.cache +1 -0
  255. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/etnKCIhWMzKBW6mJpC24ZFOHXoPnt3JwyDVvZXqzF-o.cache +4 -0
  256. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/f0nQwf6fHe7_TsaA_3BCXfOnf7dzVzQOx-FFlB3RPZ0.cache +1 -0
  257. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/fApwBSxQisjWmbttGgRrm8GgXusHtYgd1YTegH5h84g.cache +0 -0
  258. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/fCfDAmkX8tLWkasjJfsRrCtmbIKxVTKxafyik3W-ESo.cache +1 -0
  259. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{c9ym4VJutCcUZccMVbdjNEfQxSqBni4Bvg8a4_dWAo0.cache → fDdH7RP8RtFC6Fnl9Lj0JtoaZPp2iDT4KE2yCFuXIzY.cache} +2 -2
  260. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/fTqozBAS_SII5CjZCXswgTxdCMmWCzXUNVM1JpIkG_Y.cache +1 -0
  261. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/fc8JZOjsC8XdcYiloVrs6YM3NhT1kBGDoiSsCpL6weM.cache +0 -0
  262. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{F39vQwc1hVpQj-gGVO6-8K87ToK6XBNARwukyn920xY.cache → fxOWAC10AzTZ4b8sO2KQGdTghvZ9wjRHssfIzjDP4f8.cache} +0 -0
  263. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/g0PzPE6n_9Mut_00_xqtjHiFuoOuqbZ0r7kLWObruwE.cache +1 -0
  264. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gO-VQK_zQtDUypMbSPCJw015AVl-3CUD8h8oKphjaqU.cache +2 -0
  265. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ggsAD43FWPWzcrgq7QLDCqZz1uG11Hr_s_4udUfsIn0.cache +0 -0
  266. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gi8NNMD2YRwYMZ9bZ5PQQoK1xlCgL_r47ma6inbeevk.cache +1 -0
  267. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/h6E2A8tMd5U4n1wQS9k2IDNoMf6ikKVWXbS2oEdmVfE.cache +1 -0
  268. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/h6mz5YPJo7HQjRJFinSwPC_gWpDWpU2rr4PbaXiE62Q.cache +0 -0
  269. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/hGDfvkacbR-Sy9RIJogUt9sXTu_bSrR1xvgSD_4IZqo.cache +1 -0
  270. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{U8FM4l2inQIHSONqZEhQn0pu_bgllZUwe_AjLOh5NIU.cache → hRdr-ItJ4dwplre4rsT9EfuxLQ5D-ZmaMeOQaTzQzww.cache} +0 -0
  271. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{0vLoW82xn4rxR0-3zyJgKzHc-9IXdkTh65u0-uqhqO0.cache → hiPZGqG18nS7kmTo4_dfD9lzXj-cUFDol4E67cqad68.cache} +0 -0
  272. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{YULj-wrqC2ySj0wkpDCqB84v_aZeK9OoKhmsLqC8GWE.cache → hp-TPUFPy7joDPmyt1d-_HoW2m3ERzMb3lp_M8TDeVU.cache} +2 -2
  273. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/hxIG17KnxiLuQ70lkGSFxGt3ECPEu4u9QunTq3iSqOg.cache +1 -0
  274. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/hyN_Gp1wMva9oTM42fPomYdptXaAF9GNEFGOmHHMSak.cache +1 -0
  275. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/i2rr3T0693pJZa_2fS-y2seMSwP9Bb3KCpNz-WtF0LI.cache +1 -0
  276. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/iBAmr_8aeBAPDF34AevZUZcCUJi5WBdnq73Vm7uHl6E.cache +1 -0
  277. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/iG03lSFouLI1FWbmUS9a8plxaGy8wGRYrbYn3j2qjkk.cache +0 -0
  278. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{Hwh0VVOY-6sDxDf0SbjJjQnlccR6VXE3g9MiH5o7rMI.cache → iSGDuS4a228p1Nqnhp84tR4qIK6cwjemprApZosvW70.cache} +2 -2
  279. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{imuUb4LccuXS0GPLX3yQ_x4Oshu77Dk_UTWPDEtM3dU.cache → ibpvR1QwtXfUm25zTK9Qx_gimKCWn4MMMmfUuFOcGVM.cache} +0 -0
  280. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{B0eOP4X4cOHoMtZ7x6absPsJnABT3jq1E6jsva8gyR4.cache → iuMxLzvWe820-zKmXK_15nPmCd4asWxZu0HzG6xRcLg.cache} +0 -0
  281. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{TcwoDlkrTO7lt-jkvEvmtQStPWmQSgu5gzNZ-ajbxpw.cache → ivuBHRysV13PRpBnrYESDoRfZnorZCcPjXUVlSTa0fY.cache} +0 -0
  282. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{XPm5rrlQF637ISyozSqcoJAtTNPYTp_lYal-9tMjo6E.cache → jLEcj_D-FpOB5VmzBpxChpq7sxqz69tsQrBsL90kTFE.cache} +3 -2
  283. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{ZUmJZre1IJHSMwSOW23zoHaV0U72WcEDmWKGlDyajrY.cache → jj9LTUx_LKuFRNCPzoFSbeHGb2aN8GzxD2qFkevsKdM.cache} +2 -2
  284. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{7ezWh0pTlj2GRyU0a97nMhB3JPyqkgSDT-ohBqvQaV0.cache → jvR_HCZt7rcS5qKmisBTJt9vNgmRginULGZYTQAamSk.cache} +2 -2
  285. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/k2euylpZTRJbYgAlvLfrATwsXw6J2AKKXgEbmjLp7Vw.cache +1 -0
  286. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/k3cdiSr9NbwtcrqQc-eL5c-eKnFPby3OPVai0WOHGNk.cache +0 -0
  287. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/k4YBR-wpofT0fecwOQKSSXB77QyhNc376ttqTWxLerk.cache +0 -0
  288. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/k5sCOS2HfUnfeMPSJnMOV9Cz0hIUMn7FMQI-ZSTExio.cache +0 -0
  289. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kIVRueGRmauP1vY62opmX36wXH8f-N5VnUUO9nXOhjQ.cache +0 -0
  290. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kPI4lE4F1jcXEUqU8Qcdv_HckliCmy0vCuZdweFPRpU.cache +1 -0
  291. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kPY0kfCuKaHHyWBrbHF4eU-HJpUjHKy_Faqi_UyCrZM.cache +1 -0
  292. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lAkpXeiBBsUnWtpBWcbhExfs0_wOP-wF9WY6vHreAYg.cache +1 -0
  293. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lIWHueWYdKUjaWBC_u6cyFiZl1iCaxj0GXVQTWT4rYE.cache +0 -0
  294. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lIvh6tHxLW0QVgk-8xZS0LBvhU9-wtGYw4mpMqnXRmY.cache +0 -0
  295. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lLmbARryMupn5oy7AbTtqw_KKZy5f68f3zZFU6RS2zc.cache +1 -0
  296. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{YBmsByvOaVRcAY4hNvqL2wWDAeQtRsUntBxYHwPP5oQ.cache → lMW3iKrXTeCIMs3fB-Y-73ZiLNrfOJ1LuZRGGAAXFc8.cache} +0 -0
  297. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{WgCdtlGcqm66Ubc85vHHYt4un1z2dZFvsiV4qXl9zsU.cache → mXdXPff8_el8fCx2X6Rx-3QIw4Htsde83jWP_PoEVCc.cache} +0 -0
  298. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/mdcSiBbHlQn_X80SZyItNVF8jb3RxHzU-uzpXawQg7w.cache +0 -0
  299. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{OhbqNLdsM2bvhwBvBq8TNpRvHGl7qfjGqIP2K5O-2lU.cache → mwwOMegtGKWqJSN4mA53tSGhtZxTE2eK-ByAmNRPoeA.cache} +2 -2
  300. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/n-i5oQ6AX_TMOnZpKLcZCe4rij5-xZeOMsKy1Cge6lo.cache +0 -0
  301. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/n3EH1dZwL2YVIhmETDo9SU_tYWUReC-GFW3L1NbjsnE.cache +0 -0
  302. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/nK9IAE55bI-GX3zuobSEMXZRT5EqdVo7cIhNS0kHyjQ.cache +0 -0
  303. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/naD43kxGQkEzIbT8g9QxVaEO6_HE-k79Up8kaL1NYKs.cache +1 -0
  304. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/nkKZoh8GCdzk8kB_bkajVlx20okuBlD9MZfB-Vrz3sE.cache +3 -0
  305. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oa-1gMX_jz6ZmhcG8BbCqpNa3dJ4W5w6DTWa8M10d8c.cache +1 -0
  306. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{g3curw29agbLQ9ViGh3otu4CxWEZbXb31rvAE6g76FM.cache → ob-vJQhYx3VzNgZUnP_SUoXcpNx9Ro-8YD_uQDw5UEc.cache} +0 -0
  307. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ojOoUWxQR3s65QQvw3yFQzD_2pbx3cYsp9HFYd4b5dY.cache +0 -0
  308. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ojpQjOULkrUnD9gWEbTorBXwveZEQK68jS_78bmEL0U.cache +1 -0
  309. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oqCyksOGic1ZqExB1GFNayGfaor5SY4kv7N1pS1idGk.cache +0 -0
  310. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/osjOVwTVsifzfGbqdjG1MujfZ0vceU9N1lMb-G0QwXk.cache +1 -0
  311. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pChZ09lincqUJVkL0kguwCa429-WC4aYz6ahmmdxozU.cache +2 -0
  312. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/p_Oy4QSKhWN-pggvBi-6f0NEa6ujDX_w_RirRWP23IY.cache +1 -0
  313. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{GpYLDIWKggrumk9fDWW49Uxn8BYLoKGmtkH9ZC99A30.cache → pbeju-d6XSTW8pZW5_OLzgcwLQvPQQwdFEha159h2P8.cache} +1 -1
  314. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{7ZCA9dnnS54E6dL9BT1WHOfpksaZsHoCmU8IX8NRC5g.cache → pxs9Nl3i4-zBqQwpD5vpHzqtbIAelJjeDBPDO2bkCLE.cache} +0 -0
  315. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qGC_Dyy32qITfgrAJip3czalhqrrCVTyBJ0Htd6F_dI.cache +0 -0
  316. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qMZ8B3hehq2tvLVvDfr6wZa53ALO41NozO0aMzcdYlg.cache +1 -0
  317. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qjw-jum71TRIElzX-3-F7Yyw04oatHuT4FKLD9NryUo.cache +3 -0
  318. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qkAxdSG2XMZ2bu0xk-tSk5-lqhemJq3zM1EhHWo1fqM.cache +1 -0
  319. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{1UJuyHB_BCR2CKbRo2wNU6iVkyNT47O_uz6EffK_Sjo.cache → qkk_Qr7CWnJUtbMjXSC5xi-y4TR88zkoyghg5fwWV94.cache} +0 -0
  320. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{am3GaEr953agoKca2px7PNp27F3IB5hZwMoKqd5bc_8.cache → qwJCk5ByeQfBtRmXdyhDIGGqpAjCyQ1ioTwDsTO6-ao.cache} +2 -2
  321. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{IC_-lZ-VxASXg4we8mxUIlU6t1kstl4b9x4IFWvFg9w.cache → r0BdqXFNzUKOEjxHHzkUd-SJlVUXxV2CXjwgPw-NeUI.cache} +0 -0
  322. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{LN_6FUXcZdKx1QtMDtUnrN4dPUHYqYzOnc_Wx4Cxyu0.cache → rFI1AJrtf2vXnktvk0G6uFRuSu_OPfRh8er0gsXT8lw.cache} +0 -0
  323. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{DsZp_LKwD-fZAAqmcEnQFU4Z0i3fKA7YOk2wiqluy-g.cache → rL58QLztXBsSe7YscyhbSsC2aKSPodMZolGi6OKFnQs.cache} +0 -0
  324. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/rSAM9fBAly0xr_dfXy5kjqpnciw1qUkokPfdAMoAejo.cache +0 -0
  325. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{amFTwOKy9_iOFeb-lAqMNXwMvo-vGV31aLrsnTvd52A.cache → rXpB67ivQJI3emEFQG93hKnPOkR3boJ8Z7hCvpmJEAs.cache} +0 -0
  326. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{xtkJdP8LaqGO3-oAQWbo5NBy3HgzcOYKbSYFDcINupw.cache → rpNUu5n5KoPdBGeugoqkXY-k9esv2MvFW23Z18Gn1KQ.cache} +1 -1
  327. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/s2lPSbICcA_Apjy2itzFG-95ZzwDOtRJyGKmevZKxPI.cache +1 -0
  328. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sJ4GY3aR689-vhRRG9nuH9cumdB3ZHN223SwQTxHz70.cache +0 -0
  329. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sUgTPVkD2GqgoFQItvr0H2YPvU7tEX8Oo1wCSayGEMA.cache +1 -0
  330. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{6sBG4x4EJuL5UDlbtGoUwLZAJXL8kG4NNennmtfSpDA.cache → scpgMEKCQSh0luauGs7Hx-3UY_te2qOm1wmjpYiidZY.cache} +2 -2
  331. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/svWopiYn_ImD5azpckheOPWG0IpoKyvpPBEGdjUO-A4.cache +0 -0
  332. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/tKIzU1AtdMQhJI65SNPtVVCmbrgl0uthCEuF1XBNcVE.cache +3 -0
  333. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{lSPm2rxSyGyJ-EVNPu2gGc9ADQWObBAhM-EHQ0V59Qc.cache → t_yR9FkP_OmW1B_sXaA6BeL3xTcZO3IHlqzWfT6UoP4.cache} +2 -2
  334. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/texVQvRVrRl_sVsd8VaE9l66yCNI9nrdbfkRFI2UIkE.cache +2 -0
  335. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{hgQpPE0rXk_OnfgQccFlmaA1dJn01vok_XCtDKkVxCw.cache → u73eCLbYaY1bpAPNXwl0BOGHAGbXgH_6YgLbLFF7W9A.cache} +0 -0
  336. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/uGXCz5079Zno9lsmr2_01Tz_kwcZTTuGZenHbgiIVgg.cache +0 -0
  337. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{EgZlel4BhcPrrFxzqlehCB_OlxbvMJ226GltqbOYEws.cache → uISSZ0g-xElg0O3tQVmcU1M9GOgoX6tFUkQWDxcJ07w.cache} +2 -2
  338. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/uzZdLk5IGVdR5xbl8WZeEZ9euK1nV8cPCKfDD1qHO4M.cache +1 -0
  339. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/v8UN-M4s8ucBEJD-DvI4A4zZ-hAREEjAMcyT_Ba2pZg.cache +0 -0
  340. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{8n38gUgyxnUQ9BjHollOMHsBbMFGPJoAYbR0LaNZdcY.cache → v8rOV13UMfOTA3iKCQMO5nAzcN8cGhINIf56mdJenes.cache} +0 -0
  341. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/vJ93Rc797Z0qDJgLeWNehGzx21gIi_srOcm45ypYg0I.cache +0 -0
  342. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{FOzrGOY2sBllKK3Sx5B1PSEWIZ3pt_Kp_yaak-TPQXk.cache → vc715u61mBuX1Jdxpxro-qTWvSxhxDuihIx7Y9c3LJE.cache} +2 -2
  343. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{oN_19zPzfrn1Z2b45GHLn__s3PlwCKL8xKN8srdb1VQ.cache → vd13HQN6TvjFJBtmtwUk6-WtK26vMsp0sj32NUpQQQI.cache} +0 -0
  344. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{jTjvunIzIzxQCGG_JXfjGZymcZdo9jtjaxtwK71e9Wc.cache → vqj8adL7l0AvvT0YgINETqC2jmDxJ9ZMVAHaXUvbTz4.cache} +1 -1
  345. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/wCJtaqO_4AZlyJEez1KpYAettXce6w2hYN8YL38jZXc.cache +0 -0
  346. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/wlQNyOWShV9rsnim_VWrmfZs80Y6aJLzadLTnPs9iqo.cache +1 -0
  347. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/wmAMyLrFnDS3pZ6SUon84W4jt5_PyrK8xbNuZxYPFG8.cache +1 -0
  348. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/wuRYsr4Gf7zcIyZ4NPYe_C67iDKQSNBqOttDrQgAdpg.cache +1 -0
  349. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{mKHxxZbCo5G8KXJPgaIg7UB-gezoKiI12tv624oewXE.cache → xRNP_vHnd_JBtZzX96YAAmPOgXl6YKHkeo9CF_EeLQo.cache} +0 -0
  350. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xh0JMD2o4PaiLJCB3ioSEAOsFucioe1R4Gv5kS667Ag.cache +1 -0
  351. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{E0inPV6J1c1XE9HxEUxFuUk_MrPfktmphOM7x1n-7n4.cache → xkbt7a41mJ-R1Wss_itH937dHiCiBOkHALnr6Z3TRys.cache} +0 -0
  352. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/yHp0eXZvugOBE78wpW6tbuwcIvrnvatB6urQOcn7QRg.cache +1 -0
  353. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{YFCSXcL1zONYMWk_91aekSkdf4mFlTI7Ec6BtMQ7NyQ.cache → yiPzYOHv5xkzVyXUX4h01WXasEbQQD1A4kRbDBiIYzM.cache} +0 -0
  354. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/yrtRtOfd3-o_-yufFzhmWkaXxTyOoA8uC1g5gxMHrzE.cache +1 -0
  355. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/zd03k-k5WknVSGioOMxt2hU394PBkFaFs1AiE6oHxTY.cache +0 -0
  356. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/{i57e6t-L_dOsmCreSANUdC6RLPFSU7rpfEs332SENS4.cache → zmVfGVgKVKgMgS_uc8fEqDABWGEAnxibHQAzxTAib8M.cache} +0 -0
  357. data/spec/dummy/tmp/pids/server.pid +1 -0
  358. data/spec/factories.rb +8 -0
  359. data/spec/features/admin_search_event_spec.rb +33 -0
  360. data/spec/features/filter_venues_spec.rb +14 -0
  361. data/spec/features/jsonp_output_spec.rb +9 -0
  362. data/spec/features/managing_event_spec.rb +21 -1
  363. data/spec/features/managing_venue_spec.rb +22 -0
  364. data/spec/features/recent_changes_spec.rb +24 -0
  365. data/spec/features/search_event_spec.rb +4 -0
  366. data/spec/helpers/calagator/application_helper_spec.rb +3 -38
  367. data/spec/helpers/calagator/tags_helper_spec.rb +5 -50
  368. data/spec/lib/calagator/vcalendar_spec.rb +66 -0
  369. data/spec/models/calagator/event/browse_spec.rb +189 -0
  370. data/spec/models/calagator/event/cloner_spec.rb +6 -4
  371. data/spec/models/calagator/event/search_spec.rb +139 -58
  372. data/spec/models/calagator/event_spec.rb +39 -125
  373. data/spec/models/calagator/source/parser_facebook_spec.rb +66 -48
  374. data/spec/models/calagator/source/parser_ical_spec.rb +185 -231
  375. data/spec/models/calagator/source/parser_spec.rb +171 -161
  376. data/spec/models/calagator/source_spec.rb +1 -0
  377. data/spec/models/calagator/venue/search_spec.rb +16 -2
  378. data/spec/models/calagator/venue_spec.rb +40 -22
  379. data/spec/models/tag_spec.rb +44 -21
  380. data/spec/requests/jsonp_event_search_spec.rb +2 -0
  381. data/spec/support/fixtures/vcr_cassettes/latin1.yml +600 -0
  382. data/vendor/assets/images/markers-matte.png +0 -0
  383. data/vendor/assets/images/markers-matte@2x.png +0 -0
  384. data/vendor/assets/images/markers-plain.png +0 -0
  385. data/vendor/assets/images/markers-shadow.png +0 -0
  386. data/vendor/assets/images/markers-shadow@2x.png +0 -0
  387. data/vendor/assets/images/markers-soft.png +0 -0
  388. data/vendor/assets/images/markers-soft@2x.png +0 -0
  389. data/vendor/assets/javascripts/jquery.timepicker.js +1158 -0
  390. data/vendor/assets/javascripts/leaflet.awesome-markers.js +123 -0
  391. data/vendor/assets/javascripts/leaflet.js +9 -0
  392. data/vendor/assets/javascripts/leaflet_google_layer.js +177 -0
  393. data/vendor/assets/javascripts/mustache.js +325 -0
  394. data/vendor/assets/stylesheets/jquery.timepicker.css +72 -0
  395. data/vendor/assets/stylesheets/leaflet.awesome-markers.css.scss +88 -0
  396. data/vendor/gems/mofo-0.2.8/CHANGELOG +46 -0
  397. data/vendor/gems/mofo-0.2.8/LICENSE +18 -0
  398. data/vendor/gems/mofo-0.2.8/Manifest.txt +55 -0
  399. data/vendor/gems/mofo-0.2.8/README +200 -0
  400. data/vendor/gems/mofo-0.2.8/Rakefile +25 -0
  401. data/vendor/gems/mofo-0.2.8/init.rb +2 -0
  402. data/vendor/gems/mofo-0.2.8/lib/microformat.rb +325 -0
  403. data/vendor/gems/mofo-0.2.8/lib/microformat/array.rb +5 -0
  404. data/vendor/gems/mofo-0.2.8/lib/microformat/simple.rb +30 -0
  405. data/vendor/gems/mofo-0.2.8/lib/microformat/string.rb +24 -0
  406. data/vendor/gems/mofo-0.2.8/lib/microformat/time.rb +11 -0
  407. data/vendor/gems/mofo-0.2.8/lib/mofo.rb +3 -0
  408. data/vendor/gems/mofo-0.2.8/lib/mofo/adr.rb +9 -0
  409. data/vendor/gems/mofo-0.2.8/lib/mofo/geo.rb +6 -0
  410. data/vendor/gems/mofo-0.2.8/lib/mofo/hcalendar.rb +15 -0
  411. data/vendor/gems/mofo-0.2.8/lib/mofo/hcard.rb +35 -0
  412. data/vendor/gems/mofo-0.2.8/lib/mofo/hentry.rb +15 -0
  413. data/vendor/gems/mofo-0.2.8/lib/mofo/hfeed.rb +6 -0
  414. data/vendor/gems/mofo-0.2.8/lib/mofo/hresume.rb +17 -0
  415. data/vendor/gems/mofo-0.2.8/lib/mofo/hreview.rb +14 -0
  416. data/vendor/gems/mofo-0.2.8/lib/mofo/rel_bookmark.rb +6 -0
  417. data/vendor/gems/mofo-0.2.8/lib/mofo/rel_tag.rb +6 -0
  418. data/vendor/gems/mofo-0.2.8/lib/mofo/xfn.rb +66 -0
  419. data/vendor/gems/mofo-0.2.8/lib/mofo/xoxo.rb +54 -0
  420. data/vendor/gems/mofo-0.2.8/mofo.gemspec +16 -0
  421. data/vendor/gems/mofo-0.2.8/site/index.html +384 -0
  422. data/vendor/gems/mofo-0.2.8/site/mofo-logo.png +0 -0
  423. data/vendor/gems/mofo-0.2.8/site/mootools.v1.00.js +2 -0
  424. data/vendor/gems/mofo-0.2.8/site/style.css +159 -0
  425. data/vendor/gems/mofo-0.2.8/test/base_url_test.rb +22 -0
  426. data/vendor/gems/mofo-0.2.8/test/ext_test.rb +80 -0
  427. data/vendor/gems/mofo-0.2.8/test/fixtures/bob.html +69 -0
  428. data/vendor/gems/mofo-0.2.8/test/fixtures/chowhound.html +1052 -0
  429. data/vendor/gems/mofo-0.2.8/test/fixtures/corkd.html +403 -0
  430. data/vendor/gems/mofo-0.2.8/test/fixtures/event_addr.html +26 -0
  431. data/vendor/gems/mofo-0.2.8/test/fixtures/events.html +39 -0
  432. data/vendor/gems/mofo-0.2.8/test/fixtures/fake.html +1 -0
  433. data/vendor/gems/mofo-0.2.8/test/fixtures/fauxtank.html +535 -0
  434. data/vendor/gems/mofo-0.2.8/test/fixtures/hatom.html +1101 -0
  435. data/vendor/gems/mofo-0.2.8/test/fixtures/hresume.html +409 -0
  436. data/vendor/gems/mofo-0.2.8/test/fixtures/include_pattern_single_attribute.html +246 -0
  437. data/vendor/gems/mofo-0.2.8/test/fixtures/simple.html +5 -0
  438. data/vendor/gems/mofo-0.2.8/test/fixtures/stoneship.html +225 -0
  439. data/vendor/gems/mofo-0.2.8/test/fixtures/upcoming.html +335 -0
  440. data/vendor/gems/mofo-0.2.8/test/fixtures/upcoming_single.html +479 -0
  441. data/vendor/gems/mofo-0.2.8/test/fixtures/xfn.html +200 -0
  442. data/vendor/gems/mofo-0.2.8/test/hatom_test.rb +38 -0
  443. data/vendor/gems/mofo-0.2.8/test/hcalendar_test.rb +33 -0
  444. data/vendor/gems/mofo-0.2.8/test/hcard_test.rb +148 -0
  445. data/vendor/gems/mofo-0.2.8/test/hresume_test.rb +23 -0
  446. data/vendor/gems/mofo-0.2.8/test/hreview_test.rb +37 -0
  447. data/vendor/gems/mofo-0.2.8/test/include_pattern_test.rb +27 -0
  448. data/vendor/gems/mofo-0.2.8/test/reltag_test.rb +40 -0
  449. data/vendor/gems/mofo-0.2.8/test/subclass_test.rb +34 -0
  450. data/vendor/gems/mofo-0.2.8/test/test_helper.rb +24 -0
  451. data/vendor/gems/mofo-0.2.8/test/xfn_test.rb +75 -0
  452. data/vendor/gems/mofo-0.2.8/test/xoxo_test.rb +49 -0
  453. metadata +769 -834
  454. data/config/initializers/load_tag_model_extensions.rb +0 -3
  455. data/db/development +0 -0
  456. data/db/development.sqlite3 +0 -0
  457. data/db/development.sqlite3.bak +0 -0
  458. data/db/development.sqlite3.old +0 -0
  459. data/db/development~20111112@110950.sqlite3 +0 -0
  460. data/db/production.sqlite3 +0 -0
  461. data/db/test2.sqlite3 +0 -0
  462. data/lib/calagator/tag_model_extensions.rb +0 -104
  463. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/--OwaUZluwmI4Wfgx4S-4D1DOJmBSXhII36xQC9lTN8.cache +0 -0
  464. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-06HvMdq2EzfXbTCmoTvlAXM1XD9fHk_X-0rzG_RhCg.cache +0 -2
  465. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-DAAbgaAoIKH5QsQyRAvoHQZN7ZoPjEPbXwwR9a70po.cache +0 -2
  466. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-GSCSxOqf0iT_7CP_TFGqxkqJ-N5M2JrDwt0OqY5FYU.cache +0 -1
  467. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-_3vhj7DYmslseqd4hjG1vtp11elQmzhsG9ywFPmZ6M.cache +0 -0
  468. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-ahLpQPEKekWi5S2fcnHPeaXv_BSPF7T4PtkYJPrD8g.cache +0 -3
  469. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-rHs1xCJQx5m6OTLBA618hLkgOLCAHDOLkBXIwy_Tt0.cache +0 -1
  470. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/09WqBXii9c5q7j--9O_qMaXuKarRWqAJ1whI3Nmdejc.cache +0 -2
  471. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/0f9NOjhM3-1GWhRgwApojaupxwoidUkrAAlpBxEyYVI.cache +0 -0
  472. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/0g75KcQh1h6wyJtqGcFxCToEcZwogukVsbPjdzAV8xE.cache +0 -0
  473. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1YkOOzfQmioi60L569U3T1suqWDN8UfZW35Raeh3R7c.cache +0 -1
  474. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1nFBGdTQcqhefkIXJMhSq_CRArxAkRi4x7RBDRmmsPY.cache +0 -1
  475. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1sB5GwNy66fLiagqXI1zPPZVeinS6ppGQjTBL0Hx1KU.cache +0 -0
  476. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/2dt5F9N3DkC7qdiQ4_NgUH3MZ7gj7yS7ChqaRMHjShI.cache +0 -1
  477. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/38lZgBhWOkWlLY2lli5UnnzN-orqPgsimWRveeJg3as.cache +0 -1
  478. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3ZAAULySYZ8RGou_4xY_isR_pYquxW3ZmLE8zI51ABI.cache +0 -2
  479. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3mDmOBvOt3t028Dsi-38eapsiUy0FyOTDdgopIqO2g4.cache +0 -2
  480. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3nkI3Jhw1sGjvAaFsnXxdsY5T_-rQTmZXr3OEVFnQqo.cache +0 -0
  481. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3ooRS_qkoTkJsZWp5DZiWwzIfWtT_QgrUo86KC5jc0U.cache +0 -0
  482. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3qF-oy9-uWqZtMVndK89hnzo6jfhEpOg3VTYgKzuYXE.cache +0 -2
  483. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3sp5fgGWjMZDPXZABmOOB8OeeIXf1xm5ciSS0QC1hPg.cache +0 -1
  484. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4DWXup2A8HzEnOKYcJDJ4oFniLzYphKagh04TCGIndU.cache +0 -1
  485. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4SFMH8g9VP4YpiUaFi5VkNKoTDwDAK5FOccdxnuATG8.cache +0 -0
  486. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4_Ly7KA6Nuh3kgSqx--1HMcFlTxCtGZnMwn15MVdzB0.cache +0 -1
  487. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4n0_2OhimVPsWaFZn8hOaOBWrKHsb8Lh5fnUL4HvAh4.cache +0 -1
  488. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4xjJDS8f1W8D2HdvAH-BmV3FlU7rEJDUWbW9e47FxLw.cache +0 -1
  489. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/5CPQYzJE_vS1YElI8u9GvFzXfr7ohImt8NyqXoyvWeQ.cache +0 -0
  490. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/5D-PTXFpqQK08JiTFGbvAtS5pKdFsMp8awUjSjC6eHU.cache +0 -0
  491. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/68jfOTuryeIGb7WCiwObEdDyJIHTxMy6XpjYQTymJE8.cache +0 -1
  492. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6HhuZw1xhwclPR6tJMT0dafd3TBWeu2uWwYKwDmrubo.cache +0 -1
  493. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6kIsM7yUUbIyWjeydQHrNBrweGTpUvQkrCXHWaCKxfw.cache +0 -1
  494. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6m5IT1S-mgkJ147ag3psPy6Dfqi1dogEPqtfeWNuN0M.cache +0 -1
  495. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/779Z1NNZa9zkONo2kP4b75yXXLExBAdp7y5rsKGLaIo.cache +0 -1
  496. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/7EquzKvhE-eKM-cx8AS4THsEVDW2au0NS8cbC1F2LLM.cache +0 -0
  497. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8W1DbaUcCWs10Jw6iimZCb95roZUTMyKIN21uJOXonQ.cache +0 -1
  498. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8_wL1JvxSMrMNE1qncsybMNMlOXnl_viwk7jeLJ8xvQ.cache +0 -1
  499. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/93DgiNVLGqceo1HoQq4NBCFv9nrUw4hGSeARgXWqwfg.cache +0 -0
  500. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9Cazr0wlHaT4gKtGegU6LSOEYfJdAGbmX3Ti3_V5kQY.cache +0 -0
  501. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9Za5jknSDsTu95CPW8wAkmf5LnsYW43F82lYyrYsd2Q.cache +0 -0
  502. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9aBCDlXhLQER17xWzWjyWbEF2PHJycisCetQ8q-bWjk.cache +0 -1
  503. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9xJohi0bXRM9TQTYXCCboIIS-HHf5qYNVLehOzwN89E.cache +0 -1
  504. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/A43todbGb1tLrBUzg0ksSyHCBx5uaHfZJa_wZKMesNQ.cache +0 -1
  505. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/A8w00FZP2f0eSypWcOPs15d_oNRfpPltDP_1eCNcz68.cache +0 -1
  506. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Af7AQLEMtklmu7krsmJ_-LIQXAM1Ng0k-ThQA7MJ1lw.cache +0 -0
  507. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/AfxcCksFufDAgzIenClTQrPXmx9eumoGAJYtvr1EKJg.cache +0 -1
  508. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Bo0miH9nx66jNpz2N81jyKToOGc7sqwjjiXTMeCHPpg.cache +0 -1
  509. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Boeff53T4u5_10rdBzY9dEPslhdmu2LNqpvxuBplSZA.cache +0 -0
  510. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/BsPUKjY_4PtHQ3LzhBodpHdMnlktqJSS5R78OVOYf08.cache +0 -2
  511. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/C1OFuA8ybF3DfxBm2hMWuR9dWv6WJG_3ifPIaKC8HRI.cache +0 -0
  512. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CYTtubvECLvd036XaEU-DPyRwt2QyOwDqANdrJAJSCg.cache +0 -1
  513. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CatBXPectCZMMntu53C4DDdPvBwSjjk3jyTap_wFCyc.cache +0 -1
  514. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CkD_94THD2OgRWThxiXiv2r71O-O7Y0iQMw3-1WSE-E.cache +0 -1
  515. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CliCrUlbib1SL6WkRAzAhh3FHbaC16gwmcC8tV6Jvnk.cache +0 -1
  516. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CsenXWdo25rdaDgO5NKkZV-i942d9hIR70YHVB0NU8c.cache +0 -1
  517. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/DAY-DXXXpweL91vR0SQmRmv-ZAaD8_OhE-iGB0KGlDY.cache +0 -1
  518. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/DVnxmXCo-Oeavex5Ndtble7U2KL5yiSwfrkwwZ4XuEE.cache +0 -1
  519. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/DbqtuCVZlgS4UlNc1bRqgQQnhP9JL0D4IIzPNK7VBV4.cache +0 -1
  520. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Dzjs3-_9x8xYyu4BMraw0yrz3yeFhkDfOg10jdSLr80.cache +0 -2
  521. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EEfUmPqKKE8SPYa6zCfrMumlBju4GLs7wAmGwx2hd7E.cache +0 -0
  522. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/E_qgL8wDd-5IDSg1FRPBVD24B5mobsonOtKJM0vbjv0.cache +0 -0
  523. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FSwzxsOJ9P3GsXOv24kCdSCYAIQeeccctaKG1j32cZk.cache +0 -0
  524. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FYOzTPfQ7xAljHQEb4uakVd5EvNCAlhxIe34P_HJRYA.cache +0 -0
  525. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Fc6wo-Jt8uTeDU7ETRD6FbbQ19AE1XS9TfWPKoCU_80.cache +0 -0
  526. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FxIJEoxx2fhOqASvJzdZOmR4C75PzFRGHOHyDRlKLeE.cache +0 -0
  527. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/G0eG2dwG7lpZ27hfjCy5iNKeqoR2gptbHHS4KIL7wzk.cache +0 -1
  528. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/G98NbyhLQx1RxgVvnwVWQ2v-wTrcYa3bKl2lal2RvQI.cache +0 -1
  529. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/GCTIXphc0-RGVzLsQnE6V5bqX7dJCYEPTrJuy9wI_1E.cache +0 -1
  530. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/GTHULezga48q5V8g_fUYNhBls2cf-etWTcJ1Dmei0IM.cache +0 -1
  531. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/GVLRz7R-25K1MUgnZQEpsC-swGl3X5PCT0E-E_i4RJs.cache +0 -1
  532. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/GmPYAtoJXAyaEs3H5wqkq5Y3QlAOCMYCDs9hWy4ImU8.cache +0 -0
  533. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/GoCWQ0NBGz-SrbXyyt6OvWf1tkstUDGiZ45U8tvMYKM.cache +0 -1
  534. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/H1H-aXzYWn4-Ujg0ZfrvRdM2TQBHLA2wXvz57yv1BZE.cache +0 -0
  535. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HIr80WylPe5VQgwbjROHS2zgDRiS1vYIagWZ2HepE5o.cache +0 -0
  536. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HstJEKW2aMaejTai9k2Imtx9yE5E6cDXcYr5-oxqik0.cache +0 -1
  537. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ID5yWOqqbKWyYhgJnkW6A_cPdHkOsE1gJniMfq3Litk.cache +0 -1
  538. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/IFdwoAhZ_8L9QC0sL6Z5MZL0VfCicekXGr4649NPpSY.cache +0 -1
  539. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/IJjd2gt4bO09IX3yZZvvrglD_4M24qPE1ub9pc3fPdw.cache +0 -1
  540. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ISOheaHgwNWZbehg_qzZ69lyRV7cNk2cxBiOMz7a6Ng.cache +0 -0
  541. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/IY7cTldo-33qNEJgxHHcTs5MBtTiaUGyqhYwWbPBhhM.cache +0 -0
  542. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/IYf0GEZZDHdSs7e8SJ6JYpLV7Sbe25dHw1u3ejb-teA.cache +0 -1
  543. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/J4o4PLygQIgYPvvnIb2Qa75IxGujHA9lR6CJkABSJKk.cache +0 -1
  544. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JC00Kq0yGORIbYzA3eadMkrvAxkWn7MeXhS9eS-koNk.cache +0 -1
  545. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Jk1IdGKUwc3pmHR2eYkEfJ6ekwHAJkK3UKlAlyNaSX8.cache +0 -2
  546. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JxNiPxz4ZNHrIbkqB3yVV8MrSYIoLNMIeDsUj0WL3Pg.cache +0 -0
  547. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/K-3VKBtjGdMAceatsmaf2p7uDkVp1jLkIpDfu4Ih6J0.cache +0 -1
  548. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KBrcHlPmHvon4O9z5RIK590-dmdHBX6GCVxKrIMYUFM.cache +0 -1
  549. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KPJWhQiendyRNEvpOXttPAJnS4mkIvg7al8w3olN8jw.cache +0 -1
  550. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KUUYcXkld9ynAsF-3h9Lca9wGymuxfNg8Vf8WJGQK80.cache +0 -0
  551. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KYzqCBXSZvAJBL_xLq8HG8uICaHRoP2B8VnjwRJPCiw.cache +0 -0
  552. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KiLwfVpOgSYdCJCWgNrjcAJYyJ8Zldb6hdhRfMSWKXU.cache +0 -1
  553. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/L5_sK_R_mM0n7gyomdbwP0u0piloCkfPiYLtl58dvbQ.cache +0 -0
  554. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/LAAmnKIHnbJ4HPHBiVdAICpz67Woer-y0oHOpNqyHjk.cache +0 -1
  555. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/LEFtFK2-fzxCRq0i16JjRlR74HfD0nKNBswaTtX-CJ0.cache +0 -4
  556. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/LdFWyb8Z94JiBfMWlg-_gqEa37aXk6Yo1mHJZhG2Y-s.cache +0 -1
  557. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/LfWya92hyOpdKpM5VsnEJ-Hf_4-UGUPsLr_3CHOeLAA.cache +0 -0
  558. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Lk2Uszo5fp3yHQpU4lXxzMhqL66b9gEwfEKduk6VkOI.cache +0 -0
  559. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/M0cWwU_32emTAwyQ2qjEL5FkSq2us43bc0kxRSLnKC4.cache +0 -0
  560. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MjI7LUIpaxMeeeT4R7CchFhlSnVSnsjbuIs9U9jbe9c.cache +0 -2
  561. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/N3q5wZltFPW_qZ4fLfeMlI7oOjwFC3Hnx_MT0sE-Zr4.cache +0 -1
  562. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/N9KeO9xWzOVR3LcLugLs1lu9RIh4xFHF1wytwCWzILU.cache +0 -2
  563. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/NArwe9irdS1ldw5S--zITePqlPCUe0u2xmvruJRcHBI.cache +0 -1
  564. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/NdM7PpCB_8yVHQg0rvSxRh2IBpxh_blJ6OGLW4YiI6E.cache +0 -1
  565. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OC9u-yR4NMJOLRXSWzJJreR_aLiXca7jui1psRLtWag.cache +0 -1
  566. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OT9Zj-nnP5q7RkKbNxqeL9-S67v2xX9FcNLut2Unb64.cache +0 -0
  567. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OU4lE9oD_QnToAW-6gLdp5MaaTONuhwQINkVIWXQeSc.cache +0 -1
  568. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVjOLoZg0zmJM0X-vItgWVT5a33_jA05NxB3V52ZUjQ.cache +0 -0
  569. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/PECChy2GWlJVmHPmIvD5O2FWxwVSe3SXgaWJInopVG0.cache +0 -0
  570. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/PS8j0-rqtxzE3BpihB5r3X5JdY-NFK8OfpfbnF1Ot5o.cache +0 -0
  571. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/PgLnRH7G5aLv7Aas58k_WF191xos9E44xOomGM9Tlnk.cache +0 -1
  572. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/PtfTpJtNEsd8vEwUJUDwIDRiesBFs9CXjynV-z_u5Ow.cache +0 -1
  573. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/PuZWuf65fQH7CNAYKeaxcV463uMYKS7kLXdbIFtsAyg.cache +0 -1
  574. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/PvjOqgAzIuUkLvUWiA-5_41rYXLqn6N0NbpGalhaSTs.cache +0 -1
  575. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/PyZlJDmUzw6jN4G9DUgFgMO4LHlIkG7_ZFpIn8nD7gk.cache +0 -2
  576. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/PzR1CIoGDUxp-M_skFnLxdzb-HF4RqZh_R0tc5DI7vw.cache +0 -1
  577. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/QKEPT614i5DIc95YHN0sIQATMIZeZK7vaE8BrwSH2Ag.cache +0 -2
  578. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/QMrDnhWc9ZUI3sEjrduvcLnN5szM1mE1-Ml6eUXQqDQ.cache +0 -1
  579. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/QO9_uaCRV1IR9CQFO25iyEPqB6J08UHoZPjqLoa64X0.cache +0 -1
  580. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/QpioGZ1WAzC6z1yYS7H1fFxW_McZgwjci0yLdVNWZhs.cache +0 -1
  581. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/R0ZGnsJY3oQe-ADSvO0FGBOJkMaVmr_CWNkDoCbaXgE.cache +0 -1
  582. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/RJIw9Pc_2NNMmRvkDJM9IXocQqBmU3ZHKQnZelspUYw.cache +0 -0
  583. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/RaHQfsc6ZjY7IHCE-zagvqM8KREpr6QhiA3NgeW_JP4.cache +0 -2
  584. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/RcDl36solJuQXGn9pgMwD2OX6sPjQAqvVr3gV9bmOeg.cache +0 -0
  585. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Rn46iPvRGDcWHmXJ1XaGXmVSvZeljysdo2w26-MVijI.cache +0 -1
  586. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Rt-nLNYUdYjqZGwW48I3qcf5tKUmkzLHkVfchfstL-w.cache +0 -1
  587. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/SF-zSpVhBpKZ38i35G1E8bHb9dLo1lULuX8i3dIpc2U.cache +0 -1
  588. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/S_9u3rzJJ1z2_9EYycr600v3eBGSl7GjzbejG_tZy5s.cache +0 -1
  589. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/SrWEvAd3qTZazQK5mLdIUADuANJPJdCCBPjzsGTuHuo.cache +0 -1
  590. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/T6Pq-E5gRl25ZwRD6qsBSU6HOLyVPqRbypiPEooQeuE.cache +0 -0
  591. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/T7K1zb94zGn8vcP9sBBR6jX_9aFLcSNr23NE9GekBNs.cache +0 -0
  592. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/TCJgzQ3V-jQvqduysKOWm199gCXtfi5c8UdR_dZ0KuQ.cache +0 -1
  593. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/TPtcI_HxPrTYKvTns3KQB2piLzBHg3JkWPwyLIlJ854.cache +0 -1
  594. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/TfG-p7kai7La89tgeL5iqIqlm71IdQTgov-B1rL4tc8.cache +0 -0
  595. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/U0HYuod362T1_EGUyy0Z-7FN6UIc3-4zh9YknXlcvV4.cache +0 -0
  596. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/U1ATCve8oB2EusYK91IBJFIyur1Z5VIfvjDGYgeJuCI.cache +0 -0
  597. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/U3PwomGhZeap6b8etRuJjBtBjCoO9vdnYlf4GgfKju8.cache +0 -0
  598. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UfmRgIoRYbKZH1zzmPV-tzxNzsmIrbFGu2Q7SWY7McI.cache +0 -1
  599. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Uq3_ICbnSrb9SaRGzHSlEvnZPc1VMJgguSn2k5x4GPw.cache +0 -1
  600. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/V93AT8xztZyz8OaxZgWGvq8W1Ozc6yKd5aMnDiyUkuU.cache +0 -1
  601. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/VNXs4EIx4UxymaN0deQaBLr6qSU5Ona_A-dKytyL0Oc.cache +0 -0
  602. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/WRReZFoKPGi9erdMckyPSkKaIcWDDiZtg78HFHlm1oE.cache +0 -1
  603. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Wk5lS6U3o3LGDLGnZJuZKWXz0DZwmsAhm-qpPqgCG54.cache +0 -1
  604. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/WqS9zuxbB4EYb444IADDuDYntkRFQINdaL1nj8BX9t4.cache +0 -1
  605. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/XUO313PayfqeY2_k4pmu5pjK4fM_IVxtH1E9108tolM.cache +0 -0
  606. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/XqI0eacrOF0GxYtV0Zu7HnAZAb2uQ49nAFVnDENSx2o.cache +0 -1
  607. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/YFI1dxeRA9r6dgjAHGEA9GkqekQBFliLDH8JDO0nfMM.cache +0 -0
  608. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/YOwcXxHXMgrnf37FK2OGoyy1XFhwEaSkgsaPqh7Xoc8.cache +0 -1
  609. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/YUrxjPRQcRlMXcnlVulKB_alu6NppMlDrSRIcgH-85o.cache +0 -1
  610. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/YfH_8xiMUARXq3ZHUy6Z-_8pueQv1r1pU_b7CG5TNCc.cache +0 -1
  611. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ZrFz_qGtd0-gLZmdtUDjbwvpCobv78Jm7hf3WQzTeN4.cache +0 -0
  612. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/_W8nCz9cZ0qiyyohk-naPx1XjOUBCe01SQq91RIFlCQ.cache +0 -1
  613. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/aD_DQ2q8oDzn6jqfx4u1aVekXoWgi1I-qyJkGY2_HKU.cache +0 -2
  614. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/aDk4YymTRNfD31hIDN3ypnI8SOpumM0_nkS_EFhgRz8.cache +0 -1
  615. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/aIE1I7EQyLKi9Qf5zCuew1yb5MAp88B6Ce2Mic9jIOY.cache +0 -0
  616. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/aKswD2W_ol1bBJ1yVajr6dz_J0v3IhC5qAbZYUeVgi0.cache +0 -2
  617. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/amMKLUpoxmbHVXGT2YnHTXMhufWEfHbUMhLgCnCfSOo.cache +0 -1
  618. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bbocKuDpVsDPoc0lBA51Ne2p3gUt2ytmlZJ_xHPsz2I.cache +0 -1
  619. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bhvqRJUBiiolDbI1drSVZVLXBgQE9kjVqo_21OCc4Pk.cache +0 -1
  620. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bi1_tRbmZbAYeIxvb39-LDgLyKh-nRE1vgSD5nYccno.cache +0 -1
  621. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/cMAVzU0EdGMM7b-7Lk0-1718U9a9LgIZFhSBIU9YVx8.cache +0 -1
  622. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/cUr83yMkb3y411dY7dceoHZE_ndccfDgiqSLghy5QIQ.cache +0 -1
  623. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/caHVJPhIJiPK34VTKRq0xNClWlJZyyH01ql9Ep57aYM.cache +0 -1
  624. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/cm2dngwohMC2n3ZjWyjKdAAEU2tSaNuW4mP4ApxkdeM.cache +0 -1
  625. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/coO19ZONcRC8CQKpX8uC1uSkUtHvWO3kVUhniQ3v8qA.cache +0 -2
  626. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/czXdj9PEDOiEQkb_KI3F78ICDpr7ImqszyHUGlzMOes.cache +0 -1
  627. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/d74CYtCYVHj4Mrv_L8mJQWPdb4dD9f-KTvL5YDQu0NI.cache +0 -2
  628. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/dA7CuS0cYO4d1KixhAlzMMVfYHbg8BGw7fztrFl72O4.cache +0 -0
  629. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/dE2RlePn8DgXKT9Em83cTIOvE0xli8hnWJVBmSRewuU.cache +0 -1
  630. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/dqBFtUDtlfe54kfEr0N-v0XC3tSglzeW9gxOZM9_Sjc.cache +0 -1
  631. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/dzSoZ9i4--Ys_st_dM-BotRpFd-HpiOeIyzdIBZ7364.cache +0 -1
  632. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/e2OwQEuy1cJdPI977PdxXWUr3hGYkiEuuS3Qvw_WQ-M.cache +0 -1
  633. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/eHEoDI7RCaM3nzMRGdhvTfeKAheOrXVZ45Ne7q_Fq8A.cache +0 -0
  634. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/eT8GSDZsjE2TMJFV_csHfxHUko3B2wrNpYsTlCMsGMk.cache +0 -1
  635. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/earzugSghrneUi471OE55UfXk6d2c9EQzVHTqO14re8.cache +0 -2
  636. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/euWFaKUx1XUjC2W9YyYAcA41TmIl12WmHjoNmfDwoTQ.cache +0 -3
  637. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/f4o2YFSkpO88PmwG2EyiIAAjxLckmp_8ZUmdReBdDsY.cache +0 -2
  638. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/fKoY9bm5G6OI0dgT8R7ciqcuWQ4ef98WTN2_9zdArVo.cache +0 -1
  639. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/fcpf55fwOXcfFWJrXI-vYrHnagOgcf7IjDeVLN_1VWE.cache +0 -0
  640. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/fisahNovyr1oux3ybaPqgTWYI1-g_BoU4j1kswgOjZY.cache +0 -1
  641. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/fmigrpQ6EeSKO2rFZNPSzczl-uo5xwx4ZQflWdqakTU.cache +0 -0
  642. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/fx9FCB6Ru_olyipEY0rHGlpMCWa1famLkC_hgQAPR1Y.cache +0 -0
  643. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/g03JGRz9D5d7xELe1wTaRYpbuED7FDaG_5t6iruY9vU.cache +0 -1
  644. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gVQr5n2_FGt8aZn20_5w320hwVRkX9NVuzo090uPycw.cache +0 -1
  645. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gagoNHiBTzVBbl8RJmVSsnjDfwAT2-0FjzWr3XsFhuE.cache +0 -1
  646. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gcef9gtF_Wthitjx_UZRE_2tLIHsmf1P5m30MbMtdrI.cache +0 -0
  647. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/hDUTLv8HjrpyKYYEr_4etFT0cUjPw80TPNU3S_2UynE.cache +0 -1
  648. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/hWGaTlXC_nPWvuZNiHzfChwvYNPwYYD8UDVGPciQm1I.cache +0 -0
  649. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/hbeZKE3qtiFLD3BjizU576Hqdh5xXntqZfM0FYTM3PU.cache +0 -1
  650. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/hqQrvCWzuysphVcx0NEE2ikHmZ9SiQ9wr45jCYbDhmg.cache +0 -2
  651. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/hvcjQ3rONenwXA1vHKWT9TLGSesNRgBAQH8ES8fNK6U.cache +0 -0
  652. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/iLdTVJoXLBW7vvgRBD73cDv_53cyn5Dj42ypOdjWwbQ.cache +0 -1
  653. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/iS-wicKyZl1qzuZuj8Ow8pbPAVXpPJjL_ojkTg5ZpLs.cache +0 -1
  654. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/jS2t6DUOUzmPi-nWWkWLJjBjrZRfPeyUWgEdc8dP0jE.cache +0 -0
  655. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/k0ikdk9nC4MCpQwLoDwEKPeZSY1hR7epbdVYq9Zkhws.cache +0 -1
  656. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/k9eEMVYlB4KPZ0yt_6lKQFhXGUDHek-lDTgtyEFVtSA.cache +0 -0
  657. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kMFpURZJu5nT01tDF1Soq5C9xTCEpCDYX8Eo75y4vgY.cache +0 -0
  658. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kVvtGhmwyGw55nVmGOrxPtaZK_ly_7Ng6zWDiONxq_s.cache +0 -2
  659. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kXSCp0NlPOGNMDOOIGFIhTc8tA5grC0HXjvaKuvyg1E.cache +0 -0
  660. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kwHSKA76BdPw_SjLngFRS-IVh8lJEKqTT7bXWPO10b4.cache +0 -1
  661. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lHoZfFi9gsmYpD3ocyMoZhAwPZ2SNmqxObpUAuOYUgw.cache +0 -1
  662. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lJvgSsVNrMgtsf5dTSFNM3qt1qaGIRJ4-fuh_YZV1cU.cache +0 -1
  663. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lvcfYRfN25Ef7NbU95__Lr4M3SBkC5UJZ2-6YDsQ6jw.cache +0 -2
  664. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/m7rdXE3GRbAeEvyI2z64tghrnKE9khowudaAIthCeTs.cache +0 -1
  665. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/m_INboeEtfDvEbwS_mJBqTvFDvNCWlx9DHteZREfGQs.cache +0 -1
  666. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/muBi0HyipbN-TMLLOS7bqi3Z9ESwQan9QV9Pk9Lgn0Y.cache +0 -0
  667. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/n-r8lTw6yt_ciZUTOIj-M8WSZMKb1DBMVGN6-Z3tRtY.cache +0 -0
  668. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/nOFPvgD0GNU8jPlY_JBf66zQzv4n_9QKVCy9syE5kpw.cache +0 -1
  669. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/nejXEXoYSovy8Xz9rvxSKJFa9oGXN1RoQL6oZujf9wQ.cache +0 -0
  670. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/nnIqEkn2xEPYH91Ngs-2_XFtqNYy4GiaZSG804K7pzQ.cache +0 -0
  671. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/nsIqcVLwEQV4ZopKEz0LoNaPkLk04nJ3lhVPApcB-zk.cache +0 -0
  672. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/nu9o-j9f6Gs0ppCl3wiJFJ-Y9UmgZGZcqvjgJzexvWY.cache +0 -1
  673. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/p51w_EEYVRNYubpunSbQxICGTKsuDbANjDxM3aJbZpo.cache +0 -1
  674. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pZawKE6pURSnEQ8dm_BJ0eF2YmTDPyh_HfNJjcWnCm4.cache +0 -1
  675. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pqbr03GeuOV7S_AF7j4-wUQ1uLMop_Odqn0JYHjnRjM.cache +0 -1
  676. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pqcnUlBgm0d_meWr5tiFzRR8GIDbAvtnUxxDoXOtaaM.cache +0 -0
  677. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qqinPq4F6NFT9rsLOqVlspjipJMN6r062Koju1AjQGQ.cache +0 -1
  678. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/r8npnkKP9rYJiBk_52OI-Y5FLIlbFc748FuP9G7TMGg.cache +0 -0
  679. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/rF69hyScrrazmp5NA8n9aJ4fNxPoNmIF9k1Sut_BFNA.cache +0 -1
  680. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/rVghhNQIIa3fecryeofx80fKc6EGDAQhmENJa3PrX0U.cache +0 -0
  681. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ruJwmqfbJCZ5oQ3Hx-2rJbU9Gt9xQbFS5GOlWOGZwuM.cache +0 -0
  682. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/s9pYw_QCzMRaeOAAo0fODXUvVtXl4tKVzxxaztieMPA.cache +0 -1
  683. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sDV9kc6QFHvcUsurgg12dywYOg--_I97YL203PQme0E.cache +0 -1
  684. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sJgWcOooDZHW8pR9jzfWjLEXXJ8bHNB30Loti7p9raE.cache +0 -0
  685. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sX1luLvKZqQ9pClgAxIQSXcuEp6an4pgQSmEIiY07ic.cache +0 -0
  686. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sYhn_esbvJzsCUa42LytU87Z159mnyAwHHjM_hujqgo.cache +0 -2
  687. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/snbqM0-nJ6OU_02u_ZFVPIpG3VxW1TuAB-NpjsZly5g.cache +0 -0
  688. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/spG7AcPxLjJU_RvRt6N-VZno8UnGPuLdQDft7Ya0Ofk.cache +0 -2
  689. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sq0hUuwDL2H50ECGGpf_WCjNdCbI4pZ_XTYeaHzGEDE.cache +0 -1
  690. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sr2UrqtvON6zdx-2DD0p3RuTdf8Y_CmDSfLZwDdFrOk.cache +0 -1
  691. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/tBo-KvHwFmQ29hNiKOqTz8S4w01ND4aoFOjkKs-BO-g.cache +0 -1
  692. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/tj--zdg1sPy01xwlYPl-BtJOn7Fv0iGjcsgi6c5fx5s.cache +0 -1
  693. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/uBKpA2YlX-60_ApX1s7wAb9XHES6Z38KlSoxA5BO_4E.cache +0 -1
  694. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/uUaek6PHr_k7qEFtWgBVECXSxCMBgdIRcqYhMyv4ALE.cache +0 -1
  695. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/udL3_UqAmHjZVusC5vI-VV-sQsLDc6Ivq8qSEWqtEIs.cache +0 -3
  696. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ue6-3WO8ocTx_v3brAM4inP9sj9WjsGhq0B-_GPiPII.cache +0 -1
  697. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/uqvegjMmpSE6oAZlc-TMZr5RqiliJsYd3kZP4bjCQZU.cache +0 -2
  698. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/v1VWiGob1c2NdptdDDzIC1d-c6eF6vUfZC4TdvZMMCY.cache +0 -1
  699. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/v5LSrAYaOcnBDWtkxIRxeI7ASw9K_AYAURZsw-u0P_c.cache +0 -1
  700. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/vfeCE9ATNG98mPKmYHtGDCVHXcTIN7cztuEfhWlyu1U.cache +0 -1
  701. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/vjsuuL5mct10Z-YMwKYWnhLvLeja15PRlDjwpYJrD5E.cache +0 -1
  702. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/vwfpJzPzVNbodE8KRvExGmANM1n0y9zC8E2r8zdzh2U.cache +0 -0
  703. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/wsKLQSv-A3s0EfOGHy3A46YkIjSma2uysdq6ZlgfG3c.cache +0 -1
  704. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xFetut3sVsc2jnyOtL8ya-0d5q9zTTCJOimp_ozx0vs.cache +0 -0
  705. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xGBu2Dhtz4S3YnL-5HfOyPzS7WKWxK0OvQbWoDZKUmc.cache +0 -1
  706. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xT_OMNIfbbdi1Pr6R_9uHUGLPbGw1mHa9Vh_68VkB04.cache +0 -2
  707. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xWRPIEju_yg9gLY4lKum_g_EOgUNpLVG0IF6Iyeq65Y.cache +0 -0
  708. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xb7Q6EekWHnIWCzlb0UgGDJDQP0aC-_6H9Kwa5gkHVo.cache +0 -0
  709. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xnbxGiQ7HWUd85j-z0zGIfAyvgKzUcatvGgoVKj-JxU.cache +0 -1
  710. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/yHNvrHhUplyQubqMfCpMwplC339QUjZKOlTWxNpaOUg.cache +0 -2
  711. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/zbFdijxL7t2Bf2mwy-PsRF49bznXdWvaMHdNUcathiw.cache +0 -3
  712. data/spec/models/calagator/source/parser_ical_non_standard_spec.rb +0 -91
  713. data/spec/support/rspec-activemodel-mocks_patch.rb +0 -9
@@ -0,0 +1,123 @@
1
+ /*
2
+ Leaflet.AwesomeMarkers, a plugin that adds colorful iconic markers for Leaflet, based on the Font Awesome icons
3
+ (c) 2012-2013, Lennard Voogdt
4
+
5
+ http://leafletjs.com
6
+ https://github.com/lvoogdt
7
+ */
8
+
9
+ /*global L*/
10
+
11
+ (function (window, document, undefined) {
12
+ "use strict";
13
+ /*
14
+ * Leaflet.AwesomeMarkers assumes that you have already included the Leaflet library.
15
+ */
16
+
17
+ L.AwesomeMarkers = {};
18
+
19
+ L.AwesomeMarkers.version = '2.0.1';
20
+
21
+ L.AwesomeMarkers.Icon = L.Icon.extend({
22
+ options: {
23
+ iconSize: [35, 45],
24
+ iconAnchor: [17, 42],
25
+ popupAnchor: [1, -32],
26
+ shadowAnchor: [10, 12],
27
+ shadowSize: [36, 16],
28
+ className: 'awesome-marker',
29
+ prefix: 'glyphicon',
30
+ spinClass: 'fa-spin',
31
+ extraClasses: '',
32
+ icon: 'home',
33
+ markerColor: 'blue',
34
+ iconColor: 'white'
35
+ },
36
+
37
+ initialize: function (options) {
38
+ options = L.Util.setOptions(this, options);
39
+ },
40
+
41
+ createIcon: function () {
42
+ var div = document.createElement('div'),
43
+ options = this.options;
44
+
45
+ if (options.icon) {
46
+ div.innerHTML = this._createInner();
47
+ }
48
+
49
+ if (options.bgPos) {
50
+ div.style.backgroundPosition =
51
+ (-options.bgPos.x) + 'px ' + (-options.bgPos.y) + 'px';
52
+ }
53
+
54
+ this._setIconStyles(div, 'icon-' + options.markerColor);
55
+ return div;
56
+ },
57
+
58
+ _createInner: function() {
59
+ var iconClass, iconSpinClass = "", iconColorClass = "", iconColorStyle = "", options = this.options;
60
+
61
+ if(options.icon.slice(0,options.prefix.length+1) === options.prefix + "-") {
62
+ iconClass = options.icon;
63
+ } else {
64
+ iconClass = options.prefix + "-" + options.icon;
65
+ }
66
+
67
+ if(options.spin && typeof options.spinClass === "string") {
68
+ iconSpinClass = options.spinClass;
69
+ }
70
+
71
+ if(options.iconColor) {
72
+ if(options.iconColor === 'white' || options.iconColor === 'black') {
73
+ iconColorClass = "icon-" + options.iconColor;
74
+ } else {
75
+ iconColorStyle = "style='color: " + options.iconColor + "' ";
76
+ }
77
+ }
78
+
79
+ return "<i " + iconColorStyle + "class='" + options.extraClasses + " " + options.prefix + " " + iconClass + " " + iconSpinClass + " " + iconColorClass + "'></i>";
80
+ },
81
+
82
+ _setIconStyles: function (img, name) {
83
+ var options = this.options,
84
+ size = L.point(options[name === 'shadow' ? 'shadowSize' : 'iconSize']),
85
+ anchor;
86
+
87
+ if (name === 'shadow') {
88
+ anchor = L.point(options.shadowAnchor || options.iconAnchor);
89
+ } else {
90
+ anchor = L.point(options.iconAnchor);
91
+ }
92
+
93
+ if (!anchor && size) {
94
+ anchor = size.divideBy(2, true);
95
+ }
96
+
97
+ img.className = 'awesome-marker-' + name + ' ' + options.className;
98
+
99
+ if (anchor) {
100
+ img.style.marginLeft = (-anchor.x) + 'px';
101
+ img.style.marginTop = (-anchor.y) + 'px';
102
+ }
103
+
104
+ if (size) {
105
+ img.style.width = size.x + 'px';
106
+ img.style.height = size.y + 'px';
107
+ }
108
+ },
109
+
110
+ createShadow: function () {
111
+ var div = document.createElement('div');
112
+
113
+ this._setIconStyles(div, 'shadow');
114
+ return div;
115
+ }
116
+ });
117
+
118
+ L.AwesomeMarkers.icon = function (options) {
119
+ return new L.AwesomeMarkers.Icon(options);
120
+ };
121
+
122
+ }(this, document));
123
+
@@ -0,0 +1,9 @@
1
+ /*
2
+ Leaflet, a JavaScript library for mobile-friendly interactive maps. http://leafletjs.com
3
+ (c) 2010-2013, Vladimir Agafonkin
4
+ (c) 2010-2011, CloudMade
5
+ */
6
+ !function(t,e,i){var n=t.L,o={};o.version="0.7.3","object"==typeof module&&"object"==typeof module.exports?module.exports=o:"function"==typeof define&&define.amd&&define(o),o.noConflict=function(){return t.L=n,this},t.L=o,o.Util={extend:function(t){var e,i,n,o,s=Array.prototype.slice.call(arguments,1);for(i=0,n=s.length;n>i;i++){o=s[i]||{};for(e in o)o.hasOwnProperty(e)&&(t[e]=o[e])}return t},bind:function(t,e){var i=arguments.length>2?Array.prototype.slice.call(arguments,2):null;return function(){return t.apply(e,i||arguments)}},stamp:function(){var t=0,e="_leaflet_id";return function(i){return i[e]=i[e]||++t,i[e]}}(),invokeEach:function(t,e,i){var n,o;if("object"==typeof t){o=Array.prototype.slice.call(arguments,3);for(n in t)e.apply(i,[n,t[n]].concat(o));return!0}return!1},limitExecByInterval:function(t,e,i){var n,o;return function s(){var a=arguments;return n?void(o=!0):(n=!0,setTimeout(function(){n=!1,o&&(s.apply(i,a),o=!1)},e),void t.apply(i,a))}},falseFn:function(){return!1},formatNum:function(t,e){var i=Math.pow(10,e||5);return Math.round(t*i)/i},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},splitWords:function(t){return o.Util.trim(t).split(/\s+/)},setOptions:function(t,e){return t.options=o.extend({},t.options,e),t.options},getParamString:function(t,e,i){var n=[];for(var o in t)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(e&&-1!==e.indexOf("?")?"&":"?")+n.join("&")},template:function(t,e){return t.replace(/\{ *([\w_]+) *\}/g,function(t,n){var o=e[n];if(o===i)throw new Error("No value provided for variable "+t);return"function"==typeof o&&(o=o(e)),o})},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},emptyImageUrl:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="},function(){function e(e){var i,n,o=["webkit","moz","o","ms"];for(i=0;i<o.length&&!n;i++)n=t[o[i]+e];return n}function i(e){var i=+new Date,o=Math.max(0,16-(i-n));return n=i+o,t.setTimeout(e,o)}var n=0,s=t.requestAnimationFrame||e("RequestAnimationFrame")||i,a=t.cancelAnimationFrame||e("CancelAnimationFrame")||e("CancelRequestAnimationFrame")||function(e){t.clearTimeout(e)};o.Util.requestAnimFrame=function(e,n,a,r){return e=o.bind(e,n),a&&s===i?void e():s.call(t,e,r)},o.Util.cancelAnimFrame=function(e){e&&a.call(t,e)}}(),o.extend=o.Util.extend,o.bind=o.Util.bind,o.stamp=o.Util.stamp,o.setOptions=o.Util.setOptions,o.Class=function(){},o.Class.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments),this._initHooks&&this.callInitHooks()},i=function(){};i.prototype=this.prototype;var n=new i;n.constructor=e,e.prototype=n;for(var s in this)this.hasOwnProperty(s)&&"prototype"!==s&&(e[s]=this[s]);t.statics&&(o.extend(e,t.statics),delete t.statics),t.includes&&(o.Util.extend.apply(null,[n].concat(t.includes)),delete t.includes),t.options&&n.options&&(t.options=o.extend({},n.options,t.options)),o.extend(n,t),n._initHooks=[];var a=this;return e.__super__=a.prototype,n.callInitHooks=function(){if(!this._initHooksCalled){a.prototype.callInitHooks&&a.prototype.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=n._initHooks.length;e>t;t++)n._initHooks[t].call(this)}},e},o.Class.include=function(t){o.extend(this.prototype,t)},o.Class.mergeOptions=function(t){o.extend(this.prototype.options,t)},o.Class.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"==typeof t?t:function(){this[t].apply(this,e)};this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i)};var s="_leaflet_events";o.Mixin={},o.Mixin.Events={addEventListener:function(t,e,i){if(o.Util.invokeEach(t,this.addEventListener,this,e,i))return this;var n,a,r,h,l,u,c,d=this[s]=this[s]||{},p=i&&i!==this&&o.stamp(i);for(t=o.Util.splitWords(t),n=0,a=t.length;a>n;n++)r={action:e,context:i||this},h=t[n],p?(l=h+"_idx",u=l+"_len",c=d[l]=d[l]||{},c[p]||(c[p]=[],d[u]=(d[u]||0)+1),c[p].push(r)):(d[h]=d[h]||[],d[h].push(r));return this},hasEventListeners:function(t){var e=this[s];return!!e&&(t in e&&e[t].length>0||t+"_idx"in e&&e[t+"_idx_len"]>0)},removeEventListener:function(t,e,i){if(!this[s])return this;if(!t)return this.clearAllEventListeners();if(o.Util.invokeEach(t,this.removeEventListener,this,e,i))return this;var n,a,r,h,l,u,c,d,p,_=this[s],m=i&&i!==this&&o.stamp(i);for(t=o.Util.splitWords(t),n=0,a=t.length;a>n;n++)if(r=t[n],u=r+"_idx",c=u+"_len",d=_[u],e){if(h=m&&d?d[m]:_[r]){for(l=h.length-1;l>=0;l--)h[l].action!==e||i&&h[l].context!==i||(p=h.splice(l,1),p[0].action=o.Util.falseFn);i&&d&&0===h.length&&(delete d[m],_[c]--)}}else delete _[r],delete _[u],delete _[c];return this},clearAllEventListeners:function(){return delete this[s],this},fireEvent:function(t,e){if(!this.hasEventListeners(t))return this;var i,n,a,r,h,l=o.Util.extend({},e,{type:t,target:this}),u=this[s];if(u[t])for(i=u[t].slice(),n=0,a=i.length;a>n;n++)i[n].action.call(i[n].context,l);r=u[t+"_idx"];for(h in r)if(i=r[h].slice())for(n=0,a=i.length;a>n;n++)i[n].action.call(i[n].context,l);return this},addOneTimeEventListener:function(t,e,i){if(o.Util.invokeEach(t,this.addOneTimeEventListener,this,e,i))return this;var n=o.bind(function(){this.removeEventListener(t,e,i).removeEventListener(t,n,i)},this);return this.addEventListener(t,e,i).addEventListener(t,n,i)}},o.Mixin.Events.on=o.Mixin.Events.addEventListener,o.Mixin.Events.off=o.Mixin.Events.removeEventListener,o.Mixin.Events.once=o.Mixin.Events.addOneTimeEventListener,o.Mixin.Events.fire=o.Mixin.Events.fireEvent,function(){var n="ActiveXObject"in t,s=n&&!e.addEventListener,a=navigator.userAgent.toLowerCase(),r=-1!==a.indexOf("webkit"),h=-1!==a.indexOf("chrome"),l=-1!==a.indexOf("phantom"),u=-1!==a.indexOf("android"),c=-1!==a.search("android [23]"),d=-1!==a.indexOf("gecko"),p=typeof orientation!=i+"",_=t.navigator&&t.navigator.msPointerEnabled&&t.navigator.msMaxTouchPoints&&!t.PointerEvent,m=t.PointerEvent&&t.navigator.pointerEnabled&&t.navigator.maxTouchPoints||_,f="devicePixelRatio"in t&&t.devicePixelRatio>1||"matchMedia"in t&&t.matchMedia("(min-resolution:144dpi)")&&t.matchMedia("(min-resolution:144dpi)").matches,g=e.documentElement,v=n&&"transition"in g.style,y="WebKitCSSMatrix"in t&&"m11"in new t.WebKitCSSMatrix&&!c,P="MozPerspective"in g.style,L="OTransition"in g.style,x=!t.L_DISABLE_3D&&(v||y||P||L)&&!l,w=!t.L_NO_TOUCH&&!l&&function(){var t="ontouchstart";if(m||t in g)return!0;var i=e.createElement("div"),n=!1;return i.setAttribute?(i.setAttribute(t,"return;"),"function"==typeof i[t]&&(n=!0),i.removeAttribute(t),i=null,n):!1}();o.Browser={ie:n,ielt9:s,webkit:r,gecko:d&&!r&&!t.opera&&!n,android:u,android23:c,chrome:h,ie3d:v,webkit3d:y,gecko3d:P,opera3d:L,any3d:x,mobile:p,mobileWebkit:p&&r,mobileWebkit3d:p&&y,mobileOpera:p&&t.opera,touch:w,msPointer:_,pointer:m,retina:f}}(),o.Point=function(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e},o.Point.prototype={clone:function(){return new o.Point(this.x,this.y)},add:function(t){return this.clone()._add(o.point(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(o.point(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},distanceTo:function(t){t=o.point(t);var e=t.x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return t=o.point(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=o.point(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+o.Util.formatNum(this.x)+", "+o.Util.formatNum(this.y)+")"}},o.point=function(t,e,n){return t instanceof o.Point?t:o.Util.isArray(t)?new o.Point(t[0],t[1]):t===i||null===t?t:new o.Point(t,e,n)},o.Bounds=function(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;o>n;n++)this.extend(i[n])},o.Bounds.prototype={extend:function(t){return t=o.point(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new o.Point((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new o.Point(this.min.x,this.max.y)},getTopRight:function(){return new o.Point(this.max.x,this.min.y)},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,i;return t="number"==typeof t[0]||t instanceof o.Point?o.point(t):o.bounds(t),t instanceof o.Bounds?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=o.bounds(t);var e=this.min,i=this.max,n=t.min,s=t.max,a=s.x>=e.x&&n.x<=i.x,r=s.y>=e.y&&n.y<=i.y;return a&&r},isValid:function(){return!(!this.min||!this.max)}},o.bounds=function(t,e){return!t||t instanceof o.Bounds?t:new o.Bounds(t,e)},o.Transformation=function(t,e,i,n){this._a=t,this._b=e,this._c=i,this._d=n},o.Transformation.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new o.Point((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}},o.DomUtil={get:function(t){return"string"==typeof t?e.getElementById(t):t},getStyle:function(t,i){var n=t.style[i];if(!n&&t.currentStyle&&(n=t.currentStyle[i]),(!n||"auto"===n)&&e.defaultView){var o=e.defaultView.getComputedStyle(t,null);n=o?o[i]:null}return"auto"===n?null:n},getViewportOffset:function(t){var i,n=0,s=0,a=t,r=e.body,h=e.documentElement;do{if(n+=a.offsetTop||0,s+=a.offsetLeft||0,n+=parseInt(o.DomUtil.getStyle(a,"borderTopWidth"),10)||0,s+=parseInt(o.DomUtil.getStyle(a,"borderLeftWidth"),10)||0,i=o.DomUtil.getStyle(a,"position"),a.offsetParent===r&&"absolute"===i)break;if("fixed"===i){n+=r.scrollTop||h.scrollTop||0,s+=r.scrollLeft||h.scrollLeft||0;break}if("relative"===i&&!a.offsetLeft){var l=o.DomUtil.getStyle(a,"width"),u=o.DomUtil.getStyle(a,"max-width"),c=a.getBoundingClientRect();("none"!==l||"none"!==u)&&(s+=c.left+a.clientLeft),n+=c.top+(r.scrollTop||h.scrollTop||0);break}a=a.offsetParent}while(a);a=t;do{if(a===r)break;n-=a.scrollTop||0,s-=a.scrollLeft||0,a=a.parentNode}while(a);return new o.Point(s,n)},documentIsLtr:function(){return o.DomUtil._docIsLtrCached||(o.DomUtil._docIsLtrCached=!0,o.DomUtil._docIsLtr="ltr"===o.DomUtil.getStyle(e.body,"direction")),o.DomUtil._docIsLtr},create:function(t,i,n){var o=e.createElement(t);return o.className=i,n&&n.appendChild(o),o},hasClass:function(t,e){if(t.classList!==i)return t.classList.contains(e);var n=o.DomUtil._getClass(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)},addClass:function(t,e){if(t.classList!==i)for(var n=o.Util.splitWords(e),s=0,a=n.length;a>s;s++)t.classList.add(n[s]);else if(!o.DomUtil.hasClass(t,e)){var r=o.DomUtil._getClass(t);o.DomUtil._setClass(t,(r?r+" ":"")+e)}},removeClass:function(t,e){t.classList!==i?t.classList.remove(e):o.DomUtil._setClass(t,o.Util.trim((" "+o.DomUtil._getClass(t)+" ").replace(" "+e+" "," ")))},_setClass:function(t,e){t.className.baseVal===i?t.className=e:t.className.baseVal=e},_getClass:function(t){return t.className.baseVal===i?t.className:t.className.baseVal},setOpacity:function(t,e){if("opacity"in t.style)t.style.opacity=e;else if("filter"in t.style){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=t.filters.item(n)}catch(o){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"}},testProp:function(t){for(var i=e.documentElement.style,n=0;n<t.length;n++)if(t[n]in i)return t[n];return!1},getTranslateString:function(t){var e=o.Browser.webkit3d,i="translate"+(e?"3d":"")+"(",n=(e?",0":"")+")";return i+t.x+"px,"+t.y+"px"+n},getScaleString:function(t,e){var i=o.DomUtil.getTranslateString(e.add(e.multiplyBy(-1*t))),n=" scale("+t+") ";return i+n},setPosition:function(t,e,i){t._leaflet_pos=e,!i&&o.Browser.any3d?t.style[o.DomUtil.TRANSFORM]=o.DomUtil.getTranslateString(e):(t.style.left=e.x+"px",t.style.top=e.y+"px")},getPosition:function(t){return t._leaflet_pos}},o.DomUtil.TRANSFORM=o.DomUtil.testProp(["transform","WebkitTransform","OTransform","MozTransform","msTransform"]),o.DomUtil.TRANSITION=o.DomUtil.testProp(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),o.DomUtil.TRANSITION_END="webkitTransition"===o.DomUtil.TRANSITION||"OTransition"===o.DomUtil.TRANSITION?o.DomUtil.TRANSITION+"End":"transitionend",function(){if("onselectstart"in e)o.extend(o.DomUtil,{disableTextSelection:function(){o.DomEvent.on(t,"selectstart",o.DomEvent.preventDefault)},enableTextSelection:function(){o.DomEvent.off(t,"selectstart",o.DomEvent.preventDefault)}});else{var i=o.DomUtil.testProp(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);o.extend(o.DomUtil,{disableTextSelection:function(){if(i){var t=e.documentElement.style;this._userSelect=t[i],t[i]="none"}},enableTextSelection:function(){i&&(e.documentElement.style[i]=this._userSelect,delete this._userSelect)}})}o.extend(o.DomUtil,{disableImageDrag:function(){o.DomEvent.on(t,"dragstart",o.DomEvent.preventDefault)},enableImageDrag:function(){o.DomEvent.off(t,"dragstart",o.DomEvent.preventDefault)}})}(),o.LatLng=function(t,e,n){if(t=parseFloat(t),e=parseFloat(e),isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=t,this.lng=e,n!==i&&(this.alt=parseFloat(n))},o.extend(o.LatLng,{DEG_TO_RAD:Math.PI/180,RAD_TO_DEG:180/Math.PI,MAX_MARGIN:1e-9}),o.LatLng.prototype={equals:function(t){if(!t)return!1;t=o.latLng(t);var e=Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng));return e<=o.LatLng.MAX_MARGIN},toString:function(t){return"LatLng("+o.Util.formatNum(this.lat,t)+", "+o.Util.formatNum(this.lng,t)+")"},distanceTo:function(t){t=o.latLng(t);var e=6378137,i=o.LatLng.DEG_TO_RAD,n=(t.lat-this.lat)*i,s=(t.lng-this.lng)*i,a=this.lat*i,r=t.lat*i,h=Math.sin(n/2),l=Math.sin(s/2),u=h*h+l*l*Math.cos(a)*Math.cos(r);return 2*e*Math.atan2(Math.sqrt(u),Math.sqrt(1-u))},wrap:function(t,e){var i=this.lng;return t=t||-180,e=e||180,i=(i+e)%(e-t)+(t>i||i===e?e:t),new o.LatLng(this.lat,i)}},o.latLng=function(t,e){return t instanceof o.LatLng?t:o.Util.isArray(t)?"number"==typeof t[0]||"string"==typeof t[0]?new o.LatLng(t[0],t[1],t[2]):null:t===i||null===t?t:"object"==typeof t&&"lat"in t?new o.LatLng(t.lat,"lng"in t?t.lng:t.lon):e===i?null:new o.LatLng(t,e)},o.LatLngBounds=function(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;o>n;n++)this.extend(i[n])},o.LatLngBounds.prototype={extend:function(t){if(!t)return this;var e=o.latLng(t);return t=null!==e?e:o.latLngBounds(t),t instanceof o.LatLng?this._southWest||this._northEast?(this._southWest.lat=Math.min(t.lat,this._southWest.lat),this._southWest.lng=Math.min(t.lng,this._southWest.lng),this._northEast.lat=Math.max(t.lat,this._northEast.lat),this._northEast.lng=Math.max(t.lng,this._northEast.lng)):(this._southWest=new o.LatLng(t.lat,t.lng),this._northEast=new o.LatLng(t.lat,t.lng)):t instanceof o.LatLngBounds&&(this.extend(t._southWest),this.extend(t._northEast)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,s=Math.abs(e.lng-i.lng)*t;return new o.LatLngBounds(new o.LatLng(e.lat-n,e.lng-s),new o.LatLng(i.lat+n,i.lng+s))},getCenter:function(){return new o.LatLng((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new o.LatLng(this.getNorth(),this.getWest())},getSouthEast:function(){return new o.LatLng(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof o.LatLng?o.latLng(t):o.latLngBounds(t);var e,i,n=this._southWest,s=this._northEast;return t instanceof o.LatLngBounds?(e=t.getSouthWest(),i=t.getNorthEast()):e=i=t,e.lat>=n.lat&&i.lat<=s.lat&&e.lng>=n.lng&&i.lng<=s.lng},intersects:function(t){t=o.latLngBounds(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),s=t.getNorthEast(),a=s.lat>=e.lat&&n.lat<=i.lat,r=s.lng>=e.lng&&n.lng<=i.lng;return a&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t){return t?(t=o.latLngBounds(t),this._southWest.equals(t.getSouthWest())&&this._northEast.equals(t.getNorthEast())):!1},isValid:function(){return!(!this._southWest||!this._northEast)}},o.latLngBounds=function(t,e){return!t||t instanceof o.LatLngBounds?t:new o.LatLngBounds(t,e)},o.Projection={},o.Projection.SphericalMercator={MAX_LATITUDE:85.0511287798,project:function(t){var e=o.LatLng.DEG_TO_RAD,i=this.MAX_LATITUDE,n=Math.max(Math.min(i,t.lat),-i),s=t.lng*e,a=n*e;return a=Math.log(Math.tan(Math.PI/4+a/2)),new o.Point(s,a)},unproject:function(t){var e=o.LatLng.RAD_TO_DEG,i=t.x*e,n=(2*Math.atan(Math.exp(t.y))-Math.PI/2)*e;return new o.LatLng(n,i)}},o.Projection.LonLat={project:function(t){return new o.Point(t.lng,t.lat)},unproject:function(t){return new o.LatLng(t.y,t.x)}},o.CRS={latLngToPoint:function(t,e){var i=this.projection.project(t),n=this.scale(e);return this.transformation._transform(i,n)},pointToLatLng:function(t,e){var i=this.scale(e),n=this.transformation.untransform(t,i);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},scale:function(t){return 256*Math.pow(2,t)},getSize:function(t){var e=this.scale(t);return o.point(e,e)}},o.CRS.Simple=o.extend({},o.CRS,{projection:o.Projection.LonLat,transformation:new o.Transformation(1,0,-1,0),scale:function(t){return Math.pow(2,t)}}),o.CRS.EPSG3857=o.extend({},o.CRS,{code:"EPSG:3857",projection:o.Projection.SphericalMercator,transformation:new o.Transformation(.5/Math.PI,.5,-.5/Math.PI,.5),project:function(t){var e=this.projection.project(t),i=6378137;return e.multiplyBy(i)}}),o.CRS.EPSG900913=o.extend({},o.CRS.EPSG3857,{code:"EPSG:900913"}),o.CRS.EPSG4326=o.extend({},o.CRS,{code:"EPSG:4326",projection:o.Projection.LonLat,transformation:new o.Transformation(1/360,.5,-1/360,.5)}),o.Map=o.Class.extend({includes:o.Mixin.Events,options:{crs:o.CRS.EPSG3857,fadeAnimation:o.DomUtil.TRANSITION&&!o.Browser.android23,trackResize:!0,markerZoomAnimation:o.DomUtil.TRANSITION&&o.Browser.any3d},initialize:function(t,e){e=o.setOptions(this,e),this._initContainer(t),this._initLayout(),this._onResize=o.bind(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),e.center&&e.zoom!==i&&this.setView(o.latLng(e.center),e.zoom,{reset:!0}),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._tileLayersNum=0,this.callInitHooks(),this._addLayers(e.layers)},setView:function(t,e){return e=e===i?this.getZoom():e,this._resetView(o.latLng(t),this._limitZoom(e)),this},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=this._limitZoom(t),this)},zoomIn:function(t,e){return this.setZoom(this._zoom+(t||1),e)},zoomOut:function(t,e){return this.setZoom(this._zoom-(t||1),e)},setZoomAround:function(t,e,i){var n=this.getZoomScale(e),s=this.getSize().divideBy(2),a=t instanceof o.Point?t:this.latLngToContainerPoint(t),r=a.subtract(s).multiplyBy(1-1/n),h=this.containerPointToLatLng(s.add(r));return this.setView(h,e,{zoom:i})},fitBounds:function(t,e){e=e||{},t=t.getBounds?t.getBounds():o.latLngBounds(t);var i=o.point(e.paddingTopLeft||e.padding||[0,0]),n=o.point(e.paddingBottomRight||e.padding||[0,0]),s=this.getBoundsZoom(t,!1,i.add(n)),a=n.subtract(i).divideBy(2),r=this.project(t.getSouthWest(),s),h=this.project(t.getNorthEast(),s),l=this.unproject(r.add(h).divideBy(2).add(a),s);return s=e&&e.maxZoom?Math.min(e.maxZoom,s):s,this.setView(l,s,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t){return this.fire("movestart"),this._rawPanBy(o.point(t)),this.fire("move"),this.fire("moveend")},setMaxBounds:function(t){return t=o.latLngBounds(t),this.options.maxBounds=t,t?(this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds,this)):this.off("moveend",this._panInsideMaxBounds,this)},panInsideBounds:function(t,e){var i=this.getCenter(),n=this._limitCenter(i,this._zoom,t);return i.equals(n)?this:this.panTo(n,e)},addLayer:function(t){var e=o.stamp(t);return this._layers[e]?this:(this._layers[e]=t,!t.options||isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[e]=t,this._updateZoomLevels()),this.options.zoomAnimation&&o.TileLayer&&t instanceof o.TileLayer&&(this._tileLayersNum++,this._tileLayersToLoad++,t.on("load",this._onTileLayerLoad,this)),this._loaded&&this._layerAdd(t),this)},removeLayer:function(t){var e=o.stamp(t);return this._layers[e]?(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&this.fire("layerremove",{layer:t}),this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels()),this.options.zoomAnimation&&o.TileLayer&&t instanceof o.TileLayer&&(this._tileLayersNum--,this._tileLayersToLoad--,t.off("load",this._onTileLayerLoad,this)),this):this},hasLayer:function(t){return t?o.stamp(t)in this._layers:!1},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},invalidateSize:function(t){if(!this._loaded)return this;t=o.extend({animate:!1,pan:!0},t===!0?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._initialCenter=null;var i=this.getSize(),n=e.divideBy(2).round(),s=i.divideBy(2).round(),a=n.subtract(s);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(o.bind(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i})):this},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){this._loaded&&this.fire("unload"),this._initEvents("off");try{delete this._container._leaflet}catch(t){this._container._leaflet=i}return this._clearPanes(),this._clearControlPos&&this._clearControlPos(),this._clearHandlers(),this},getCenter:function(){return this._checkIfLoaded(),this._initialCenter&&!this._moved()?this._initialCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),e=this.unproject(t.getBottomLeft()),i=this.unproject(t.getTopRight());return new o.LatLngBounds(e,i)},getMinZoom:function(){return this.options.minZoom===i?this._layersMinZoom===i?0:this._layersMinZoom:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===i?this._layersMaxZoom===i?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=o.latLngBounds(t);var n,s=this.getMinZoom()-(e?1:0),a=this.getMaxZoom(),r=this.getSize(),h=t.getNorthWest(),l=t.getSouthEast(),u=!0;i=o.point(i||[0,0]);do s++,n=this.project(l,s).subtract(this.project(h,s)).add(i),u=e?n.x<r.x||n.y<r.y:r.contains(n);while(u&&a>=s);return u&&e?null:e?s:s-1},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new o.Point(this._container.clientWidth,this._container.clientHeight),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(){var t=this._getTopLeftPoint();return new o.Bounds(t,t.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._initialTopLeftPoint},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t){var e=this.options.crs;return e.scale(t)/e.scale(this._zoom)},getScaleZoom:function(t){return this._zoom+Math.log(t)/Math.LN2},project:function(t,e){return e=e===i?this._zoom:e,this.options.crs.latLngToPoint(o.latLng(t),e)},unproject:function(t,e){return e=e===i?this._zoom:e,this.options.crs.pointToLatLng(o.point(t),e)},layerPointToLatLng:function(t){var e=o.point(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){var e=this.project(o.latLng(t))._round();return e._subtract(this.getPixelOrigin())},containerPointToLayerPoint:function(t){return o.point(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return o.point(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(o.point(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(o.latLng(t)))},mouseEventToContainerPoint:function(t){return o.DomEvent.getMousePosition(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=o.DomUtil.get(t);if(!e)throw new Error("Map container not found.");if(e._leaflet)throw new Error("Map container is already initialized.");e._leaflet=!0},_initLayout:function(){var t=this._container;o.DomUtil.addClass(t,"leaflet-container"+(o.Browser.touch?" leaflet-touch":"")+(o.Browser.retina?" leaflet-retina":"")+(o.Browser.ielt9?" leaflet-oldie":"")+(this.options.fadeAnimation?" leaflet-fade-anim":""));var e=o.DomUtil.getStyle(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._mapPane=t.mapPane=this._createPane("leaflet-map-pane",this._container),this._tilePane=t.tilePane=this._createPane("leaflet-tile-pane",this._mapPane),t.objectsPane=this._createPane("leaflet-objects-pane",this._mapPane),t.shadowPane=this._createPane("leaflet-shadow-pane"),t.overlayPane=this._createPane("leaflet-overlay-pane"),t.markerPane=this._createPane("leaflet-marker-pane"),t.popupPane=this._createPane("leaflet-popup-pane");var e=" leaflet-zoom-hide";this.options.markerZoomAnimation||(o.DomUtil.addClass(t.markerPane,e),o.DomUtil.addClass(t.shadowPane,e),o.DomUtil.addClass(t.popupPane,e))},_createPane:function(t,e){return o.DomUtil.create("div",t,e||this._panes.objectsPane)},_clearPanes:function(){this._container.removeChild(this._mapPane)},_addLayers:function(t){t=t?o.Util.isArray(t)?t:[t]:[];for(var e=0,i=t.length;i>e;e++)this.addLayer(t[e])},_resetView:function(t,e,i,n){var s=this._zoom!==e;n||(this.fire("movestart"),s&&this.fire("zoomstart")),this._zoom=e,this._initialCenter=t,this._initialTopLeftPoint=this._getNewTopLeftPoint(t),i?this._initialTopLeftPoint._add(this._getMapPanePos()):o.DomUtil.setPosition(this._mapPane,new o.Point(0,0)),this._tileLayersToLoad=this._tileLayersNum;var a=!this._loaded;this._loaded=!0,this.fire("viewreset",{hard:!i}),a&&(this.fire("load"),this.eachLayer(this._layerAdd,this)),this.fire("move"),(s||n)&&this.fire("zoomend"),this.fire("moveend",{hard:!i})},_rawPanBy:function(t){o.DomUtil.setPosition(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_updateZoomLevels:function(){var t,e=1/0,n=-1/0,o=this._getZoomSpan();for(t in this._zoomBoundLayers){var s=this._zoomBoundLayers[t];isNaN(s.options.minZoom)||(e=Math.min(e,s.options.minZoom)),isNaN(s.options.maxZoom)||(n=Math.max(n,s.options.maxZoom))}t===i?this._layersMaxZoom=this._layersMinZoom=i:(this._layersMaxZoom=n,this._layersMinZoom=e),o!==this._getZoomSpan()&&this.fire("zoomlevelschange")},_panInsideMaxBounds:function(){this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){if(o.DomEvent){e=e||"on",o.DomEvent[e](this._container,"click",this._onMouseClick,this);var i,n,s=["dblclick","mousedown","mouseup","mouseenter","mouseleave","mousemove","contextmenu"];for(i=0,n=s.length;n>i;i++)o.DomEvent[e](this._container,s[i],this._fireMouseEvent,this);this.options.trackResize&&o.DomEvent[e](t,"resize",this._onResize,this)}},_onResize:function(){o.Util.cancelAnimFrame(this._resizeRequest),this._resizeRequest=o.Util.requestAnimFrame(function(){this.invalidateSize({debounceMoveend:!0})},this,!1,this._container)},_onMouseClick:function(t){!this._loaded||!t._simulated&&(this.dragging&&this.dragging.moved()||this.boxZoom&&this.boxZoom.moved())||o.DomEvent._skipped(t)||(this.fire("preclick"),this._fireMouseEvent(t))},_fireMouseEvent:function(t){if(this._loaded&&!o.DomEvent._skipped(t)){var e=t.type;if(e="mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":e,this.hasEventListeners(e)){"contextmenu"===e&&o.DomEvent.preventDefault(t);var i=this.mouseEventToContainerPoint(t),n=this.containerPointToLayerPoint(i),s=this.layerPointToLatLng(n);this.fire(e,{latlng:s,layerPoint:n,containerPoint:i,originalEvent:t})}}},_onTileLayerLoad:function(){this._tileLayersToLoad--,this._tileLayersNum&&!this._tileLayersToLoad&&this.fire("tilelayersload")},_clearHandlers:function(){for(var t=0,e=this._handlers.length;e>t;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,this):this.on("load",t,e),this},_layerAdd:function(t){t.onAdd(this),this.fire("layeradd",{layer:t})},_getMapPanePos:function(){return o.DomUtil.getPosition(this._mapPane)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(){return this.getPixelOrigin().subtract(this._getMapPanePos())},_getNewTopLeftPoint:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._round()},_latLngToNewLayerPoint:function(t,e,i){var n=this._getNewTopLeftPoint(i,e).add(this._getMapPanePos());return this.project(t,e)._subtract(n)},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){if(!i)return t;var n=this.project(t,e),s=this.getSize().divideBy(2),a=new o.Bounds(n.subtract(s),n.add(s)),r=this._getBoundsOffset(a,i,e);return this.unproject(n.add(r),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),n=new o.Bounds(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(n,e))},_getBoundsOffset:function(t,e,i){var n=this.project(e.getNorthWest(),i).subtract(t.min),s=this.project(e.getSouthEast(),i).subtract(t.max),a=this._rebound(n.x,-s.x),r=this._rebound(n.y,-s.y);return new o.Point(a,r)},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom();return Math.max(e,Math.min(i,t))}}),o.map=function(t,e){return new o.Map(t,e)},o.Projection.Mercator={MAX_LATITUDE:85.0840591556,R_MINOR:6356752.314245179,R_MAJOR:6378137,project:function(t){var e=o.LatLng.DEG_TO_RAD,i=this.MAX_LATITUDE,n=Math.max(Math.min(i,t.lat),-i),s=this.R_MAJOR,a=this.R_MINOR,r=t.lng*e*s,h=n*e,l=a/s,u=Math.sqrt(1-l*l),c=u*Math.sin(h);c=Math.pow((1-c)/(1+c),.5*u);var d=Math.tan(.5*(.5*Math.PI-h))/c;return h=-s*Math.log(d),new o.Point(r,h)},unproject:function(t){for(var e,i=o.LatLng.RAD_TO_DEG,n=this.R_MAJOR,s=this.R_MINOR,a=t.x*i/n,r=s/n,h=Math.sqrt(1-r*r),l=Math.exp(-t.y/n),u=Math.PI/2-2*Math.atan(l),c=15,d=1e-7,p=c,_=.1;Math.abs(_)>d&&--p>0;)e=h*Math.sin(u),_=Math.PI/2-2*Math.atan(l*Math.pow((1-e)/(1+e),.5*h))-u,u+=_;
7
+ return new o.LatLng(u*i,a)}},o.CRS.EPSG3395=o.extend({},o.CRS,{code:"EPSG:3395",projection:o.Projection.Mercator,transformation:function(){var t=o.Projection.Mercator,e=t.R_MAJOR,i=.5/(Math.PI*e);return new o.Transformation(i,.5,-i,.5)}()}),o.TileLayer=o.Class.extend({includes:o.Mixin.Events,options:{minZoom:0,maxZoom:18,tileSize:256,subdomains:"abc",errorTileUrl:"",attribution:"",zoomOffset:0,opacity:1,unloadInvisibleTiles:o.Browser.mobile,updateWhenIdle:o.Browser.mobile},initialize:function(t,e){e=o.setOptions(this,e),e.detectRetina&&o.Browser.retina&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomOffset++,e.minZoom>0&&e.minZoom--,this.options.maxZoom--),e.bounds&&(e.bounds=o.latLngBounds(e.bounds)),this._url=t;var i=this.options.subdomains;"string"==typeof i&&(this.options.subdomains=i.split(""))},onAdd:function(t){this._map=t,this._animated=t._zoomAnimated,this._initContainer(),t.on({viewreset:this._reset,moveend:this._update},this),this._animated&&t.on({zoomanim:this._animateZoom,zoomend:this._endZoomAnim},this),this.options.updateWhenIdle||(this._limitedUpdate=o.Util.limitExecByInterval(this._update,150,this),t.on("move",this._limitedUpdate,this)),this._reset(),this._update()},addTo:function(t){return t.addLayer(this),this},onRemove:function(t){this._container.parentNode.removeChild(this._container),t.off({viewreset:this._reset,moveend:this._update},this),this._animated&&t.off({zoomanim:this._animateZoom,zoomend:this._endZoomAnim},this),this.options.updateWhenIdle||t.off("move",this._limitedUpdate,this),this._container=null,this._map=null},bringToFront:function(){var t=this._map._panes.tilePane;return this._container&&(t.appendChild(this._container),this._setAutoZIndex(t,Math.max)),this},bringToBack:function(){var t=this._map._panes.tilePane;return this._container&&(t.insertBefore(this._container,t.firstChild),this._setAutoZIndex(t,Math.min)),this},getAttribution:function(){return this.options.attribution},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},setUrl:function(t,e){return this._url=t,e||this.redraw(),this},redraw:function(){return this._map&&(this._reset({hard:!0}),this._update()),this},_updateZIndex:function(){this._container&&this.options.zIndex!==i&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t,e){var i,n,o,s=t.children,a=-e(1/0,-1/0);for(n=0,o=s.length;o>n;n++)s[n]!==this._container&&(i=parseInt(s[n].style.zIndex,10),isNaN(i)||(a=e(a,i)));this.options.zIndex=this._container.style.zIndex=(isFinite(a)?a:0)+e(1,-1)},_updateOpacity:function(){var t,e=this._tiles;if(o.Browser.ielt9)for(t in e)o.DomUtil.setOpacity(e[t],this.options.opacity);else o.DomUtil.setOpacity(this._container,this.options.opacity)},_initContainer:function(){var t=this._map._panes.tilePane;if(!this._container){if(this._container=o.DomUtil.create("div","leaflet-layer"),this._updateZIndex(),this._animated){var e="leaflet-tile-container";this._bgBuffer=o.DomUtil.create("div",e,this._container),this._tileContainer=o.DomUtil.create("div",e,this._container)}else this._tileContainer=this._container;t.appendChild(this._container),this.options.opacity<1&&this._updateOpacity()}},_reset:function(t){for(var e in this._tiles)this.fire("tileunload",{tile:this._tiles[e]});this._tiles={},this._tilesToLoad=0,this.options.reuseTiles&&(this._unusedTiles=[]),this._tileContainer.innerHTML="",this._animated&&t&&t.hard&&this._clearBgBuffer(),this._initContainer()},_getTileSize:function(){var t=this._map,e=t.getZoom()+this.options.zoomOffset,i=this.options.maxNativeZoom,n=this.options.tileSize;return i&&e>i&&(n=Math.round(t.getZoomScale(e)/t.getZoomScale(i)*n)),n},_update:function(){if(this._map){var t=this._map,e=t.getPixelBounds(),i=t.getZoom(),n=this._getTileSize();if(!(i>this.options.maxZoom||i<this.options.minZoom)){var s=o.bounds(e.min.divideBy(n)._floor(),e.max.divideBy(n)._floor());this._addTilesFromCenterOut(s),(this.options.unloadInvisibleTiles||this.options.reuseTiles)&&this._removeOtherTiles(s)}}},_addTilesFromCenterOut:function(t){var i,n,s,a=[],r=t.getCenter();for(i=t.min.y;i<=t.max.y;i++)for(n=t.min.x;n<=t.max.x;n++)s=new o.Point(n,i),this._tileShouldBeLoaded(s)&&a.push(s);var h=a.length;if(0!==h){a.sort(function(t,e){return t.distanceTo(r)-e.distanceTo(r)});var l=e.createDocumentFragment();for(this._tilesToLoad||this.fire("loading"),this._tilesToLoad+=h,n=0;h>n;n++)this._addTile(a[n],l);this._tileContainer.appendChild(l)}},_tileShouldBeLoaded:function(t){if(t.x+":"+t.y in this._tiles)return!1;var e=this.options;if(!e.continuousWorld){var i=this._getWrapTileNum();if(e.noWrap&&(t.x<0||t.x>=i.x)||t.y<0||t.y>=i.y)return!1}if(e.bounds){var n=e.tileSize,o=t.multiplyBy(n),s=o.add([n,n]),a=this._map.unproject(o),r=this._map.unproject(s);if(e.continuousWorld||e.noWrap||(a=a.wrap(),r=r.wrap()),!e.bounds.intersects([a,r]))return!1}return!0},_removeOtherTiles:function(t){var e,i,n,o;for(o in this._tiles)e=o.split(":"),i=parseInt(e[0],10),n=parseInt(e[1],10),(i<t.min.x||i>t.max.x||n<t.min.y||n>t.max.y)&&this._removeTile(o)},_removeTile:function(t){var e=this._tiles[t];this.fire("tileunload",{tile:e,url:e.src}),this.options.reuseTiles?(o.DomUtil.removeClass(e,"leaflet-tile-loaded"),this._unusedTiles.push(e)):e.parentNode===this._tileContainer&&this._tileContainer.removeChild(e),o.Browser.android||(e.onload=null,e.src=o.Util.emptyImageUrl),delete this._tiles[t]},_addTile:function(t,e){var i=this._getTilePos(t),n=this._getTile();o.DomUtil.setPosition(n,i,o.Browser.chrome),this._tiles[t.x+":"+t.y]=n,this._loadTile(n,t),n.parentNode!==this._tileContainer&&e.appendChild(n)},_getZoomForUrl:function(){var t=this.options,e=this._map.getZoom();return t.zoomReverse&&(e=t.maxZoom-e),e+=t.zoomOffset,t.maxNativeZoom?Math.min(e,t.maxNativeZoom):e},_getTilePos:function(t){var e=this._map.getPixelOrigin(),i=this._getTileSize();return t.multiplyBy(i).subtract(e)},getTileUrl:function(t){return o.Util.template(this._url,o.extend({s:this._getSubdomain(t),z:t.z,x:t.x,y:t.y},this.options))},_getWrapTileNum:function(){var t=this._map.options.crs,e=t.getSize(this._map.getZoom());return e.divideBy(this._getTileSize())._floor()},_adjustTilePoint:function(t){var e=this._getWrapTileNum();this.options.continuousWorld||this.options.noWrap||(t.x=(t.x%e.x+e.x)%e.x),this.options.tms&&(t.y=e.y-t.y-1),t.z=this._getZoomForUrl()},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_getTile:function(){if(this.options.reuseTiles&&this._unusedTiles.length>0){var t=this._unusedTiles.pop();return this._resetTile(t),t}return this._createTile()},_resetTile:function(){},_createTile:function(){var t=o.DomUtil.create("img","leaflet-tile");return t.style.width=t.style.height=this._getTileSize()+"px",t.galleryimg="no",t.onselectstart=t.onmousemove=o.Util.falseFn,o.Browser.ielt9&&this.options.opacity!==i&&o.DomUtil.setOpacity(t,this.options.opacity),o.Browser.mobileWebkit3d&&(t.style.WebkitBackfaceVisibility="hidden"),t},_loadTile:function(t,e){t._layer=this,t.onload=this._tileOnLoad,t.onerror=this._tileOnError,this._adjustTilePoint(e),t.src=this.getTileUrl(e),this.fire("tileloadstart",{tile:t,url:t.src})},_tileLoaded:function(){this._tilesToLoad--,this._animated&&o.DomUtil.addClass(this._tileContainer,"leaflet-zoom-animated"),this._tilesToLoad||(this.fire("load"),this._animated&&(clearTimeout(this._clearBgBufferTimer),this._clearBgBufferTimer=setTimeout(o.bind(this._clearBgBuffer,this),500)))},_tileOnLoad:function(){var t=this._layer;this.src!==o.Util.emptyImageUrl&&(o.DomUtil.addClass(this,"leaflet-tile-loaded"),t.fire("tileload",{tile:this,url:this.src})),t._tileLoaded()},_tileOnError:function(){var t=this._layer;t.fire("tileerror",{tile:this,url:this.src});var e=t.options.errorTileUrl;e&&(this.src=e),t._tileLoaded()}}),o.tileLayer=function(t,e){return new o.TileLayer(t,e)},o.TileLayer.WMS=o.TileLayer.extend({defaultWmsParams:{service:"WMS",request:"GetMap",version:"1.1.1",layers:"",styles:"",format:"image/jpeg",transparent:!1},initialize:function(t,e){this._url=t;var i=o.extend({},this.defaultWmsParams),n=e.tileSize||this.options.tileSize;i.width=i.height=e.detectRetina&&o.Browser.retina?2*n:n;for(var s in e)this.options.hasOwnProperty(s)||"crs"===s||(i[s]=e[s]);this.wmsParams=i,o.setOptions(this,e)},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,o.TileLayer.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._map,i=this.options.tileSize,n=t.multiplyBy(i),s=n.add([i,i]),a=this._crs.project(e.unproject(n,t.z)),r=this._crs.project(e.unproject(s,t.z)),h=this._wmsVersion>=1.3&&this._crs===o.CRS.EPSG4326?[r.y,a.x,a.y,r.x].join(","):[a.x,r.y,r.x,a.y].join(","),l=o.Util.template(this._url,{s:this._getSubdomain(t)});return l+o.Util.getParamString(this.wmsParams,l,!0)+"&BBOX="+h},setParams:function(t,e){return o.extend(this.wmsParams,t),e||this.redraw(),this}}),o.tileLayer.wms=function(t,e){return new o.TileLayer.WMS(t,e)},o.TileLayer.Canvas=o.TileLayer.extend({options:{async:!1},initialize:function(t){o.setOptions(this,t)},redraw:function(){this._map&&(this._reset({hard:!0}),this._update());for(var t in this._tiles)this._redrawTile(this._tiles[t]);return this},_redrawTile:function(t){this.drawTile(t,t._tilePoint,this._map._zoom)},_createTile:function(){var t=o.DomUtil.create("canvas","leaflet-tile");return t.width=t.height=this.options.tileSize,t.onselectstart=t.onmousemove=o.Util.falseFn,t},_loadTile:function(t,e){t._layer=this,t._tilePoint=e,this._redrawTile(t),this.options.async||this.tileDrawn(t)},drawTile:function(){},tileDrawn:function(t){this._tileOnLoad.call(t)}}),o.tileLayer.canvas=function(t){return new o.TileLayer.Canvas(t)},o.ImageOverlay=o.Class.extend({includes:o.Mixin.Events,options:{opacity:1},initialize:function(t,e,i){this._url=t,this._bounds=o.latLngBounds(e),o.setOptions(this,i)},onAdd:function(t){this._map=t,this._image||this._initImage(),t._panes.overlayPane.appendChild(this._image),t.on("viewreset",this._reset,this),t.options.zoomAnimation&&o.Browser.any3d&&t.on("zoomanim",this._animateZoom,this),this._reset()},onRemove:function(t){t.getPanes().overlayPane.removeChild(this._image),t.off("viewreset",this._reset,this),t.options.zoomAnimation&&t.off("zoomanim",this._animateZoom,this)},addTo:function(t){return t.addLayer(this),this},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},bringToFront:function(){return this._image&&this._map._panes.overlayPane.appendChild(this._image),this},bringToBack:function(){var t=this._map._panes.overlayPane;return this._image&&t.insertBefore(this._image,t.firstChild),this},setUrl:function(t){this._url=t,this._image.src=this._url},getAttribution:function(){return this.options.attribution},_initImage:function(){this._image=o.DomUtil.create("img","leaflet-image-layer"),this._map.options.zoomAnimation&&o.Browser.any3d?o.DomUtil.addClass(this._image,"leaflet-zoom-animated"):o.DomUtil.addClass(this._image,"leaflet-zoom-hide"),this._updateOpacity(),o.extend(this._image,{galleryimg:"no",onselectstart:o.Util.falseFn,onmousemove:o.Util.falseFn,onload:o.bind(this._onImageLoad,this),src:this._url})},_animateZoom:function(t){var e=this._map,i=this._image,n=e.getZoomScale(t.zoom),s=this._bounds.getNorthWest(),a=this._bounds.getSouthEast(),r=e._latLngToNewLayerPoint(s,t.zoom,t.center),h=e._latLngToNewLayerPoint(a,t.zoom,t.center)._subtract(r),l=r._add(h._multiplyBy(.5*(1-1/n)));i.style[o.DomUtil.TRANSFORM]=o.DomUtil.getTranslateString(l)+" scale("+n+") "},_reset:function(){var t=this._image,e=this._map.latLngToLayerPoint(this._bounds.getNorthWest()),i=this._map.latLngToLayerPoint(this._bounds.getSouthEast())._subtract(e);o.DomUtil.setPosition(t,e),t.style.width=i.x+"px",t.style.height=i.y+"px"},_onImageLoad:function(){this.fire("load")},_updateOpacity:function(){o.DomUtil.setOpacity(this._image,this.options.opacity)}}),o.imageOverlay=function(t,e,i){return new o.ImageOverlay(t,e,i)},o.Icon=o.Class.extend({options:{className:""},initialize:function(t){o.setOptions(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(!i){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n;return n=e&&"IMG"===e.tagName?this._createImg(i,e):this._createImg(i),this._setIconStyles(n,t),n},_setIconStyles:function(t,e){var i,n=this.options,s=o.point(n[e+"Size"]);i=o.point("shadow"===e?n.shadowAnchor||n.iconAnchor:n.iconAnchor),!i&&s&&(i=s.divideBy(2,!0)),t.className="leaflet-marker-"+e+" "+n.className,i&&(t.style.marginLeft=-i.x+"px",t.style.marginTop=-i.y+"px"),s&&(t.style.width=s.x+"px",t.style.height=s.y+"px")},_createImg:function(t,i){return i=i||e.createElement("img"),i.src=t,i},_getIconUrl:function(t){return o.Browser.retina&&this.options[t+"RetinaUrl"]?this.options[t+"RetinaUrl"]:this.options[t+"Url"]}}),o.icon=function(t){return new o.Icon(t)},o.Icon.Default=o.Icon.extend({options:{iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],shadowSize:[41,41]},_getIconUrl:function(t){var e=t+"Url";if(this.options[e])return this.options[e];o.Browser.retina&&"icon"===t&&(t+="-2x");var i=o.Icon.Default.imagePath;if(!i)throw new Error("Couldn't autodetect L.Icon.Default.imagePath, set it manually.");return i+"/marker-"+t+".png"}}),o.Icon.Default.imagePath=function(){var t,i,n,o,s,a=e.getElementsByTagName("script"),r=/[\/^]leaflet[\-\._]?([\w\-\._]*)\.js\??/;for(t=0,i=a.length;i>t;t++)if(n=a[t].src,o=n.match(r))return s=n.split(r)[0],(s?s+"/":"")+"images"}(),o.Marker=o.Class.extend({includes:o.Mixin.Events,options:{icon:new o.Icon.Default,title:"",alt:"",clickable:!0,draggable:!1,keyboard:!0,zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250},initialize:function(t,e){o.setOptions(this,e),this._latlng=o.latLng(t)},onAdd:function(t){this._map=t,t.on("viewreset",this.update,this),this._initIcon(),this.update(),this.fire("add"),t.options.zoomAnimation&&t.options.markerZoomAnimation&&t.on("zoomanim",this._animateZoom,this)},addTo:function(t){return t.addLayer(this),this},onRemove:function(t){this.dragging&&this.dragging.disable(),this._removeIcon(),this._removeShadow(),this.fire("remove"),t.off({viewreset:this.update,zoomanim:this._animateZoom},this),this._map=null},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=o.latLng(t),this.update(),this.fire("move",{latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update(),this},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup),this},update:function(){if(this._icon){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e=this._map,i=e.options.zoomAnimation&&e.options.markerZoomAnimation,n=i?"leaflet-zoom-animated":"leaflet-zoom-hide",s=t.icon.createIcon(this._icon),a=!1;s!==this._icon&&(this._icon&&this._removeIcon(),a=!0,t.title&&(s.title=t.title),t.alt&&(s.alt=t.alt)),o.DomUtil.addClass(s,n),t.keyboard&&(s.tabIndex="0"),this._icon=s,this._initInteraction(),t.riseOnHover&&o.DomEvent.on(s,"mouseover",this._bringToFront,this).on(s,"mouseout",this._resetZIndex,this);var r=t.icon.createShadow(this._shadow),h=!1;r!==this._shadow&&(this._removeShadow(),h=!0),r&&o.DomUtil.addClass(r,n),this._shadow=r,t.opacity<1&&this._updateOpacity();var l=this._map._panes;a&&l.markerPane.appendChild(this._icon),r&&h&&l.shadowPane.appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&o.DomEvent.off(this._icon,"mouseover",this._bringToFront).off(this._icon,"mouseout",this._resetZIndex),this._map._panes.markerPane.removeChild(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&this._map._panes.shadowPane.removeChild(this._shadow),this._shadow=null},_setPos:function(t){o.DomUtil.setPosition(this._icon,t),this._shadow&&o.DomUtil.setPosition(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.clickable){var t=this._icon,e=["dblclick","mousedown","mouseover","mouseout","contextmenu"];o.DomUtil.addClass(t,"leaflet-clickable"),o.DomEvent.on(t,"click",this._onMouseClick,this),o.DomEvent.on(t,"keypress",this._onKeyPress,this);for(var i=0;i<e.length;i++)o.DomEvent.on(t,e[i],this._fireMouseEvent,this);o.Handler.MarkerDrag&&(this.dragging=new o.Handler.MarkerDrag(this),this.options.draggable&&this.dragging.enable())}},_onMouseClick:function(t){var e=this.dragging&&this.dragging.moved();(this.hasEventListeners(t.type)||e)&&o.DomEvent.stopPropagation(t),e||(this.dragging&&this.dragging._enabled||!this._map.dragging||!this._map.dragging.moved())&&this.fire(t.type,{originalEvent:t,latlng:this._latlng})},_onKeyPress:function(t){13===t.keyCode&&this.fire("click",{originalEvent:t,latlng:this._latlng})},_fireMouseEvent:function(t){this.fire(t.type,{originalEvent:t,latlng:this._latlng}),"contextmenu"===t.type&&this.hasEventListeners(t.type)&&o.DomEvent.preventDefault(t),"mousedown"!==t.type?o.DomEvent.stopPropagation(t):o.DomEvent.preventDefault(t)},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){o.DomUtil.setOpacity(this._icon,this.options.opacity),this._shadow&&o.DomUtil.setOpacity(this._shadow,this.options.opacity)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)}}),o.marker=function(t,e){return new o.Marker(t,e)},o.DivIcon=o.Icon.extend({options:{iconSize:[12,12],className:"leaflet-div-icon",html:!1},createIcon:function(t){var i=t&&"DIV"===t.tagName?t:e.createElement("div"),n=this.options;return i.innerHTML=n.html!==!1?n.html:"",n.bgPos&&(i.style.backgroundPosition=-n.bgPos.x+"px "+-n.bgPos.y+"px"),this._setIconStyles(i,"icon"),i},createShadow:function(){return null}}),o.divIcon=function(t){return new o.DivIcon(t)},o.Map.mergeOptions({closePopupOnClick:!0}),o.Popup=o.Class.extend({includes:o.Mixin.Events,options:{minWidth:50,maxWidth:300,autoPan:!0,closeButton:!0,offset:[0,7],autoPanPadding:[5,5],keepInView:!1,className:"",zoomAnimation:!0},initialize:function(t,e){o.setOptions(this,t),this._source=e,this._animated=o.Browser.any3d&&this.options.zoomAnimation,this._isOpen=!1},onAdd:function(t){this._map=t,this._container||this._initLayout();var e=t.options.fadeAnimation;e&&o.DomUtil.setOpacity(this._container,0),t._panes.popupPane.appendChild(this._container),t.on(this._getEvents(),this),this.update(),e&&o.DomUtil.setOpacity(this._container,1),this.fire("open"),t.fire("popupopen",{popup:this}),this._source&&this._source.fire("popupopen",{popup:this})},addTo:function(t){return t.addLayer(this),this},openOn:function(t){return t.openPopup(this),this},onRemove:function(t){t._panes.popupPane.removeChild(this._container),o.Util.falseFn(this._container.offsetWidth),t.off(this._getEvents(),this),t.options.fadeAnimation&&o.DomUtil.setOpacity(this._container,0),this._map=null,this.fire("close"),t.fire("popupclose",{popup:this}),this._source&&this._source.fire("popupclose",{popup:this})},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=o.latLng(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},_getEvents:function(){var t={viewreset:this._updatePosition};return this._animated&&(t.zoomanim=this._zoomAnimation),("closeOnClick"in this.options?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t,e="leaflet-popup",i=e+" "+this.options.className+" leaflet-zoom-"+(this._animated?"animated":"hide"),n=this._container=o.DomUtil.create("div",i);this.options.closeButton&&(t=this._closeButton=o.DomUtil.create("a",e+"-close-button",n),t.href="#close",t.innerHTML="&#215;",o.DomEvent.disableClickPropagation(t),o.DomEvent.on(t,"click",this._onCloseButtonClick,this));var s=this._wrapper=o.DomUtil.create("div",e+"-content-wrapper",n);o.DomEvent.disableClickPropagation(s),this._contentNode=o.DomUtil.create("div",e+"-content",s),o.DomEvent.disableScrollPropagation(this._contentNode),o.DomEvent.on(s,"contextmenu",o.DomEvent.stopPropagation),this._tipContainer=o.DomUtil.create("div",e+"-tip-container",n),this._tip=o.DomUtil.create("div",e+"-tip",this._tipContainer)},_updateContent:function(){if(this._content){if("string"==typeof this._content)this._contentNode.innerHTML=this._content;else{for(;this._contentNode.hasChildNodes();)this._contentNode.removeChild(this._contentNode.firstChild);this._contentNode.appendChild(this._content)}this.fire("contentupdate")}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var i=t.offsetWidth;i=Math.min(i,this.options.maxWidth),i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="";var n=t.offsetHeight,s=this.options.maxHeight,a="leaflet-popup-scrolled";s&&n>s?(e.height=s+"px",o.DomUtil.addClass(t,a)):o.DomUtil.removeClass(t,a),this._containerWidth=this._container.offsetWidth},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=this._animated,i=o.point(this.options.offset);e&&o.DomUtil.setPosition(this._container,t),this._containerBottom=-i.y-(e?0:t.y),this._containerLeft=-Math.round(this._containerWidth/2)+i.x+(e?0:t.x),this._container.style.bottom=this._containerBottom+"px",this._container.style.left=this._containerLeft+"px"}},_zoomAnimation:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);o.DomUtil.setPosition(this._container,e)},_adjustPan:function(){if(this.options.autoPan){var t=this._map,e=this._container.offsetHeight,i=this._containerWidth,n=new o.Point(this._containerLeft,-e-this._containerBottom);this._animated&&n._add(o.DomUtil.getPosition(this._container));var s=t.layerPointToContainerPoint(n),a=o.point(this.options.autoPanPadding),r=o.point(this.options.autoPanPaddingTopLeft||a),h=o.point(this.options.autoPanPaddingBottomRight||a),l=t.getSize(),u=0,c=0;s.x+i+h.x>l.x&&(u=s.x+i-l.x+h.x),s.x-u-r.x<0&&(u=s.x-r.x),s.y+e+h.y>l.y&&(c=s.y+e-l.y+h.y),s.y-c-r.y<0&&(c=s.y-r.y),(u||c)&&t.fire("autopanstart").panBy([u,c])}},_onCloseButtonClick:function(t){this._close(),o.DomEvent.stop(t)}}),o.popup=function(t,e){return new o.Popup(t,e)},o.Map.include({openPopup:function(t,e,i){if(this.closePopup(),!(t instanceof o.Popup)){var n=t;t=new o.Popup(i).setLatLng(e).setContent(n)}return t._isOpen=!0,this._popup=t,this.addLayer(t)},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&(this.removeLayer(t),t._isOpen=!1),this}}),o.Marker.include({openPopup:function(){return this._popup&&this._map&&!this._map.hasLayer(this._popup)&&(this._popup.setLatLng(this._latlng),this._map.openPopup(this._popup)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(){return this._popup&&(this._popup._isOpen?this.closePopup():this.openPopup()),this},bindPopup:function(t,e){var i=o.point(this.options.icon.options.popupAnchor||[0,0]);return i=i.add(o.Popup.prototype.options.offset),e&&e.offset&&(i=i.add(e.offset)),e=o.extend({offset:i},e),this._popupHandlersAdded||(this.on("click",this.togglePopup,this).on("remove",this.closePopup,this).on("move",this._movePopup,this),this._popupHandlersAdded=!0),t instanceof o.Popup?(o.setOptions(t,e),this._popup=t):this._popup=new o.Popup(e,this).setContent(t),this},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},unbindPopup:function(){return this._popup&&(this._popup=null,this.off("click",this.togglePopup,this).off("remove",this.closePopup,this).off("move",this._movePopup,this),this._popupHandlersAdded=!1),this},getPopup:function(){return this._popup},_movePopup:function(t){this._popup.setLatLng(t.latlng)}}),o.LayerGroup=o.Class.extend({initialize:function(t){this._layers={};var e,i;if(t)for(e=0,i=t.length;i>e;e++)this.addLayer(t[e])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return t?t in this._layers||this.getLayerId(t)in this._layers:!1},clearLayers:function(){return this.eachLayer(this.removeLayer,this),this},invoke:function(t){var e,i,n=Array.prototype.slice.call(arguments,1);for(e in this._layers)i=this._layers[e],i[t]&&i[t].apply(i,n);return this},onAdd:function(t){this._map=t,this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t),this._map=null},addTo:function(t){return t.addLayer(this),this},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];for(var e in this._layers)t.push(this._layers[e]);return t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return o.stamp(t)}}),o.layerGroup=function(t){return new o.LayerGroup(t)},o.FeatureGroup=o.LayerGroup.extend({includes:o.Mixin.Events,statics:{EVENTS:"click dblclick mouseover mouseout mousemove contextmenu popupopen popupclose"},addLayer:function(t){return this.hasLayer(t)?this:("on"in t&&t.on(o.FeatureGroup.EVENTS,this._propagateEvent,this),o.LayerGroup.prototype.addLayer.call(this,t),this._popupContent&&t.bindPopup&&t.bindPopup(this._popupContent,this._popupOptions),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.off(o.FeatureGroup.EVENTS,this._propagateEvent,this),o.LayerGroup.prototype.removeLayer.call(this,t),this._popupContent&&this.invoke("unbindPopup"),this.fire("layerremove",{layer:t})):this},bindPopup:function(t,e){return this._popupContent=t,this._popupOptions=e,this.invoke("bindPopup",t,e)},openPopup:function(t){for(var e in this._layers){this._layers[e].openPopup(t);break}return this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new o.LatLngBounds;return this.eachLayer(function(e){t.extend(e instanceof o.Marker?e.getLatLng():e.getBounds())}),t},_propagateEvent:function(t){t=o.extend({layer:t.target,target:this},t),this.fire(t.type,t)}}),o.featureGroup=function(t){return new o.FeatureGroup(t)},o.Path=o.Class.extend({includes:[o.Mixin.Events],statics:{CLIP_PADDING:function(){var e=o.Browser.mobile?1280:2e3,i=(e/Math.max(t.outerWidth,t.outerHeight)-1)/2;return Math.max(0,Math.min(.5,i))}()},options:{stroke:!0,color:"#0033ff",dashArray:null,lineCap:null,lineJoin:null,weight:5,opacity:.5,fill:!1,fillColor:null,fillOpacity:.2,clickable:!0},initialize:function(t){o.setOptions(this,t)},onAdd:function(t){this._map=t,this._container||(this._initElements(),this._initEvents()),this.projectLatlngs(),this._updatePath(),this._container&&this._map._pathRoot.appendChild(this._container),this.fire("add"),t.on({viewreset:this.projectLatlngs,moveend:this._updatePath},this)},addTo:function(t){return t.addLayer(this),this},onRemove:function(t){t._pathRoot.removeChild(this._container),this.fire("remove"),this._map=null,o.Browser.vml&&(this._container=null,this._stroke=null,this._fill=null),t.off({viewreset:this.projectLatlngs,moveend:this._updatePath},this)},projectLatlngs:function(){},setStyle:function(t){return o.setOptions(this,t),this._container&&this._updateStyle(),this},redraw:function(){return this._map&&(this.projectLatlngs(),this._updatePath()),this}}),o.Map.include({_updatePathViewport:function(){var t=o.Path.CLIP_PADDING,e=this.getSize(),i=o.DomUtil.getPosition(this._mapPane),n=i.multiplyBy(-1)._subtract(e.multiplyBy(t)._round()),s=n.add(e.multiplyBy(1+2*t)._round());this._pathViewport=new o.Bounds(n,s)}}),o.Path.SVG_NS="http://www.w3.org/2000/svg",o.Browser.svg=!(!e.createElementNS||!e.createElementNS(o.Path.SVG_NS,"svg").createSVGRect),o.Path=o.Path.extend({statics:{SVG:o.Browser.svg},bringToFront:function(){var t=this._map._pathRoot,e=this._container;return e&&t.lastChild!==e&&t.appendChild(e),this},bringToBack:function(){var t=this._map._pathRoot,e=this._container,i=t.firstChild;return e&&i!==e&&t.insertBefore(e,i),this},getPathString:function(){},_createElement:function(t){return e.createElementNS(o.Path.SVG_NS,t)},_initElements:function(){this._map._initPathRoot(),this._initPath(),this._initStyle()},_initPath:function(){this._container=this._createElement("g"),this._path=this._createElement("path"),this.options.className&&o.DomUtil.addClass(this._path,this.options.className),this._container.appendChild(this._path)},_initStyle:function(){this.options.stroke&&(this._path.setAttribute("stroke-linejoin","round"),this._path.setAttribute("stroke-linecap","round")),this.options.fill&&this._path.setAttribute("fill-rule","evenodd"),this.options.pointerEvents&&this._path.setAttribute("pointer-events",this.options.pointerEvents),this.options.clickable||this.options.pointerEvents||this._path.setAttribute("pointer-events","none"),this._updateStyle()},_updateStyle:function(){this.options.stroke?(this._path.setAttribute("stroke",this.options.color),this._path.setAttribute("stroke-opacity",this.options.opacity),this._path.setAttribute("stroke-width",this.options.weight),this.options.dashArray?this._path.setAttribute("stroke-dasharray",this.options.dashArray):this._path.removeAttribute("stroke-dasharray"),this.options.lineCap&&this._path.setAttribute("stroke-linecap",this.options.lineCap),this.options.lineJoin&&this._path.setAttribute("stroke-linejoin",this.options.lineJoin)):this._path.setAttribute("stroke","none"),this.options.fill?(this._path.setAttribute("fill",this.options.fillColor||this.options.color),this._path.setAttribute("fill-opacity",this.options.fillOpacity)):this._path.setAttribute("fill","none")},_updatePath:function(){var t=this.getPathString();t||(t="M0 0"),this._path.setAttribute("d",t)},_initEvents:function(){if(this.options.clickable){(o.Browser.svg||!o.Browser.vml)&&o.DomUtil.addClass(this._path,"leaflet-clickable"),o.DomEvent.on(this._container,"click",this._onMouseClick,this);for(var t=["dblclick","mousedown","mouseover","mouseout","mousemove","contextmenu"],e=0;e<t.length;e++)o.DomEvent.on(this._container,t[e],this._fireMouseEvent,this)}},_onMouseClick:function(t){this._map.dragging&&this._map.dragging.moved()||this._fireMouseEvent(t)},_fireMouseEvent:function(t){if(this.hasEventListeners(t.type)){var e=this._map,i=e.mouseEventToContainerPoint(t),n=e.containerPointToLayerPoint(i),s=e.layerPointToLatLng(n);this.fire(t.type,{latlng:s,layerPoint:n,containerPoint:i,originalEvent:t}),"contextmenu"===t.type&&o.DomEvent.preventDefault(t),"mousemove"!==t.type&&o.DomEvent.stopPropagation(t)}}}),o.Map.include({_initPathRoot:function(){this._pathRoot||(this._pathRoot=o.Path.prototype._createElement("svg"),this._panes.overlayPane.appendChild(this._pathRoot),this.options.zoomAnimation&&o.Browser.any3d?(o.DomUtil.addClass(this._pathRoot,"leaflet-zoom-animated"),this.on({zoomanim:this._animatePathZoom,zoomend:this._endPathZoom})):o.DomUtil.addClass(this._pathRoot,"leaflet-zoom-hide"),this.on("moveend",this._updateSvgViewport),this._updateSvgViewport())
8
+ },_animatePathZoom:function(t){var e=this.getZoomScale(t.zoom),i=this._getCenterOffset(t.center)._multiplyBy(-e)._add(this._pathViewport.min);this._pathRoot.style[o.DomUtil.TRANSFORM]=o.DomUtil.getTranslateString(i)+" scale("+e+") ",this._pathZooming=!0},_endPathZoom:function(){this._pathZooming=!1},_updateSvgViewport:function(){if(!this._pathZooming){this._updatePathViewport();var t=this._pathViewport,e=t.min,i=t.max,n=i.x-e.x,s=i.y-e.y,a=this._pathRoot,r=this._panes.overlayPane;o.Browser.mobileWebkit&&r.removeChild(a),o.DomUtil.setPosition(a,e),a.setAttribute("width",n),a.setAttribute("height",s),a.setAttribute("viewBox",[e.x,e.y,n,s].join(" ")),o.Browser.mobileWebkit&&r.appendChild(a)}}}),o.Path.include({bindPopup:function(t,e){return t instanceof o.Popup?this._popup=t:((!this._popup||e)&&(this._popup=new o.Popup(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on("click",this._openPopup,this).on("remove",this.closePopup,this),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this._popup=null,this.off("click",this._openPopup).off("remove",this.closePopup),this._popupHandlersAdded=!1),this},openPopup:function(t){return this._popup&&(t=t||this._latlng||this._latlngs[Math.floor(this._latlngs.length/2)],this._openPopup({latlng:t})),this},closePopup:function(){return this._popup&&this._popup._close(),this},_openPopup:function(t){this._popup.setLatLng(t.latlng),this._map.openPopup(this._popup)}}),o.Browser.vml=!o.Browser.svg&&function(){try{var t=e.createElement("div");t.innerHTML='<v:shape adj="1"/>';var i=t.firstChild;return i.style.behavior="url(#default#VML)",i&&"object"==typeof i.adj}catch(n){return!1}}(),o.Path=o.Browser.svg||!o.Browser.vml?o.Path:o.Path.extend({statics:{VML:!0,CLIP_PADDING:.02},_createElement:function(){try{return e.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return e.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return e.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),_initPath:function(){var t=this._container=this._createElement("shape");o.DomUtil.addClass(t,"leaflet-vml-shape"+(this.options.className?" "+this.options.className:"")),this.options.clickable&&o.DomUtil.addClass(t,"leaflet-clickable"),t.coordsize="1 1",this._path=this._createElement("path"),t.appendChild(this._path),this._map._pathRoot.appendChild(t)},_initStyle:function(){this._updateStyle()},_updateStyle:function(){var t=this._stroke,e=this._fill,i=this.options,n=this._container;n.stroked=i.stroke,n.filled=i.fill,i.stroke?(t||(t=this._stroke=this._createElement("stroke"),t.endcap="round",n.appendChild(t)),t.weight=i.weight+"px",t.color=i.color,t.opacity=i.opacity,t.dashStyle=i.dashArray?o.Util.isArray(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):"",i.lineCap&&(t.endcap=i.lineCap.replace("butt","flat")),i.lineJoin&&(t.joinstyle=i.lineJoin)):t&&(n.removeChild(t),this._stroke=null),i.fill?(e||(e=this._fill=this._createElement("fill"),n.appendChild(e)),e.color=i.fillColor||i.color,e.opacity=i.fillOpacity):e&&(n.removeChild(e),this._fill=null)},_updatePath:function(){var t=this._container.style;t.display="none",this._path.v=this.getPathString()+" ",t.display=""}}),o.Map.include(o.Browser.svg||!o.Browser.vml?{}:{_initPathRoot:function(){if(!this._pathRoot){var t=this._pathRoot=e.createElement("div");t.className="leaflet-vml-container",this._panes.overlayPane.appendChild(t),this.on("moveend",this._updatePathViewport),this._updatePathViewport()}}}),o.Browser.canvas=function(){return!!e.createElement("canvas").getContext}(),o.Path=o.Path.SVG&&!t.L_PREFER_CANVAS||!o.Browser.canvas?o.Path:o.Path.extend({statics:{CANVAS:!0,SVG:!1},redraw:function(){return this._map&&(this.projectLatlngs(),this._requestUpdate()),this},setStyle:function(t){return o.setOptions(this,t),this._map&&(this._updateStyle(),this._requestUpdate()),this},onRemove:function(t){t.off("viewreset",this.projectLatlngs,this).off("moveend",this._updatePath,this),this.options.clickable&&(this._map.off("click",this._onClick,this),this._map.off("mousemove",this._onMouseMove,this)),this._requestUpdate(),this.fire("remove"),this._map=null},_requestUpdate:function(){this._map&&!o.Path._updateRequest&&(o.Path._updateRequest=o.Util.requestAnimFrame(this._fireMapMoveEnd,this._map))},_fireMapMoveEnd:function(){o.Path._updateRequest=null,this.fire("moveend")},_initElements:function(){this._map._initPathRoot(),this._ctx=this._map._canvasCtx},_updateStyle:function(){var t=this.options;t.stroke&&(this._ctx.lineWidth=t.weight,this._ctx.strokeStyle=t.color),t.fill&&(this._ctx.fillStyle=t.fillColor||t.color)},_drawPath:function(){var t,e,i,n,s,a;for(this._ctx.beginPath(),t=0,i=this._parts.length;i>t;t++){for(e=0,n=this._parts[t].length;n>e;e++)s=this._parts[t][e],a=(0===e?"move":"line")+"To",this._ctx[a](s.x,s.y);this instanceof o.Polygon&&this._ctx.closePath()}},_checkIfEmpty:function(){return!this._parts.length},_updatePath:function(){if(!this._checkIfEmpty()){var t=this._ctx,e=this.options;this._drawPath(),t.save(),this._updateStyle(),e.fill&&(t.globalAlpha=e.fillOpacity,t.fill()),e.stroke&&(t.globalAlpha=e.opacity,t.stroke()),t.restore()}},_initEvents:function(){this.options.clickable&&(this._map.on("mousemove",this._onMouseMove,this),this._map.on("click",this._onClick,this))},_onClick:function(t){this._containsPoint(t.layerPoint)&&this.fire("click",t)},_onMouseMove:function(t){this._map&&!this._map._animatingZoom&&(this._containsPoint(t.layerPoint)?(this._ctx.canvas.style.cursor="pointer",this._mouseInside=!0,this.fire("mouseover",t)):this._mouseInside&&(this._ctx.canvas.style.cursor="",this._mouseInside=!1,this.fire("mouseout",t)))}}),o.Map.include(o.Path.SVG&&!t.L_PREFER_CANVAS||!o.Browser.canvas?{}:{_initPathRoot:function(){var t,i=this._pathRoot;i||(i=this._pathRoot=e.createElement("canvas"),i.style.position="absolute",t=this._canvasCtx=i.getContext("2d"),t.lineCap="round",t.lineJoin="round",this._panes.overlayPane.appendChild(i),this.options.zoomAnimation&&(this._pathRoot.className="leaflet-zoom-animated",this.on("zoomanim",this._animatePathZoom),this.on("zoomend",this._endPathZoom)),this.on("moveend",this._updateCanvasViewport),this._updateCanvasViewport())},_updateCanvasViewport:function(){if(!this._pathZooming){this._updatePathViewport();var t=this._pathViewport,e=t.min,i=t.max.subtract(e),n=this._pathRoot;o.DomUtil.setPosition(n,e),n.width=i.x,n.height=i.y,n.getContext("2d").translate(-e.x,-e.y)}}}),o.LineUtil={simplify:function(t,e){if(!e||!t.length)return t.slice();var i=e*e;return t=this._reducePoints(t,i),t=this._simplifyDP(t,i)},pointToSegmentDistance:function(t,e,i){return Math.sqrt(this._sqClosestPointOnSegment(t,e,i,!0))},closestPointOnSegment:function(t,e,i){return this._sqClosestPointOnSegment(t,e,i)},_simplifyDP:function(t,e){var n=t.length,o=typeof Uint8Array!=i+""?Uint8Array:Array,s=new o(n);s[0]=s[n-1]=1,this._simplifyDPStep(t,s,e,0,n-1);var a,r=[];for(a=0;n>a;a++)s[a]&&r.push(t[a]);return r},_simplifyDPStep:function(t,e,i,n,o){var s,a,r,h=0;for(a=n+1;o-1>=a;a++)r=this._sqClosestPointOnSegment(t[a],t[n],t[o],!0),r>h&&(s=a,h=r);h>i&&(e[s]=1,this._simplifyDPStep(t,e,i,n,s),this._simplifyDPStep(t,e,i,s,o))},_reducePoints:function(t,e){for(var i=[t[0]],n=1,o=0,s=t.length;s>n;n++)this._sqDist(t[n],t[o])>e&&(i.push(t[n]),o=n);return s-1>o&&i.push(t[s-1]),i},clipSegment:function(t,e,i,n){var o,s,a,r=n?this._lastCode:this._getBitCode(t,i),h=this._getBitCode(e,i);for(this._lastCode=h;;){if(!(r|h))return[t,e];if(r&h)return!1;o=r||h,s=this._getEdgeIntersection(t,e,o,i),a=this._getBitCode(s,i),o===r?(t=s,r=a):(e=s,h=a)}},_getEdgeIntersection:function(t,e,i,n){var s=e.x-t.x,a=e.y-t.y,r=n.min,h=n.max;return 8&i?new o.Point(t.x+s*(h.y-t.y)/a,h.y):4&i?new o.Point(t.x+s*(r.y-t.y)/a,r.y):2&i?new o.Point(h.x,t.y+a*(h.x-t.x)/s):1&i?new o.Point(r.x,t.y+a*(r.x-t.x)/s):void 0},_getBitCode:function(t,e){var i=0;return t.x<e.min.x?i|=1:t.x>e.max.x&&(i|=2),t.y<e.min.y?i|=4:t.y>e.max.y&&(i|=8),i},_sqDist:function(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n},_sqClosestPointOnSegment:function(t,e,i,n){var s,a=e.x,r=e.y,h=i.x-a,l=i.y-r,u=h*h+l*l;return u>0&&(s=((t.x-a)*h+(t.y-r)*l)/u,s>1?(a=i.x,r=i.y):s>0&&(a+=h*s,r+=l*s)),h=t.x-a,l=t.y-r,n?h*h+l*l:new o.Point(a,r)}},o.Polyline=o.Path.extend({initialize:function(t,e){o.Path.prototype.initialize.call(this,e),this._latlngs=this._convertLatLngs(t)},options:{smoothFactor:1,noClip:!1},projectLatlngs:function(){this._originalPoints=[];for(var t=0,e=this._latlngs.length;e>t;t++)this._originalPoints[t]=this._map.latLngToLayerPoint(this._latlngs[t])},getPathString:function(){for(var t=0,e=this._parts.length,i="";e>t;t++)i+=this._getPathPartStr(this._parts[t]);return i},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._latlngs=this._convertLatLngs(t),this.redraw()},addLatLng:function(t){return this._latlngs.push(o.latLng(t)),this.redraw()},spliceLatLngs:function(){var t=[].splice.apply(this._latlngs,arguments);return this._convertLatLngs(this._latlngs,!0),this.redraw(),t},closestLayerPoint:function(t){for(var e,i,n=1/0,s=this._parts,a=null,r=0,h=s.length;h>r;r++)for(var l=s[r],u=1,c=l.length;c>u;u++){e=l[u-1],i=l[u];var d=o.LineUtil._sqClosestPointOnSegment(t,e,i,!0);n>d&&(n=d,a=o.LineUtil._sqClosestPointOnSegment(t,e,i))}return a&&(a.distance=Math.sqrt(n)),a},getBounds:function(){return new o.LatLngBounds(this.getLatLngs())},_convertLatLngs:function(t,e){var i,n,s=e?t:[];for(i=0,n=t.length;n>i;i++){if(o.Util.isArray(t[i])&&"number"!=typeof t[i][0])return;s[i]=o.latLng(t[i])}return s},_initEvents:function(){o.Path.prototype._initEvents.call(this)},_getPathPartStr:function(t){for(var e,i=o.Path.VML,n=0,s=t.length,a="";s>n;n++)e=t[n],i&&e._round(),a+=(n?"L":"M")+e.x+" "+e.y;return a},_clipPoints:function(){var t,e,i,n=this._originalPoints,s=n.length;if(this.options.noClip)return void(this._parts=[n]);this._parts=[];var a=this._parts,r=this._map._pathViewport,h=o.LineUtil;for(t=0,e=0;s-1>t;t++)i=h.clipSegment(n[t],n[t+1],r,t),i&&(a[e]=a[e]||[],a[e].push(i[0]),(i[1]!==n[t+1]||t===s-2)&&(a[e].push(i[1]),e++))},_simplifyPoints:function(){for(var t=this._parts,e=o.LineUtil,i=0,n=t.length;n>i;i++)t[i]=e.simplify(t[i],this.options.smoothFactor)},_updatePath:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),o.Path.prototype._updatePath.call(this))}}),o.polyline=function(t,e){return new o.Polyline(t,e)},o.PolyUtil={},o.PolyUtil.clipPolygon=function(t,e){var i,n,s,a,r,h,l,u,c,d=[1,4,2,8],p=o.LineUtil;for(n=0,l=t.length;l>n;n++)t[n]._code=p._getBitCode(t[n],e);for(a=0;4>a;a++){for(u=d[a],i=[],n=0,l=t.length,s=l-1;l>n;s=n++)r=t[n],h=t[s],r._code&u?h._code&u||(c=p._getEdgeIntersection(h,r,u,e),c._code=p._getBitCode(c,e),i.push(c)):(h._code&u&&(c=p._getEdgeIntersection(h,r,u,e),c._code=p._getBitCode(c,e),i.push(c)),i.push(r));t=i}return t},o.Polygon=o.Polyline.extend({options:{fill:!0},initialize:function(t,e){o.Polyline.prototype.initialize.call(this,t,e),this._initWithHoles(t)},_initWithHoles:function(t){var e,i,n;if(t&&o.Util.isArray(t[0])&&"number"!=typeof t[0][0])for(this._latlngs=this._convertLatLngs(t[0]),this._holes=t.slice(1),e=0,i=this._holes.length;i>e;e++)n=this._holes[e]=this._convertLatLngs(this._holes[e]),n[0].equals(n[n.length-1])&&n.pop();t=this._latlngs,t.length>=2&&t[0].equals(t[t.length-1])&&t.pop()},projectLatlngs:function(){if(o.Polyline.prototype.projectLatlngs.call(this),this._holePoints=[],this._holes){var t,e,i,n;for(t=0,i=this._holes.length;i>t;t++)for(this._holePoints[t]=[],e=0,n=this._holes[t].length;n>e;e++)this._holePoints[t][e]=this._map.latLngToLayerPoint(this._holes[t][e])}},setLatLngs:function(t){return t&&o.Util.isArray(t[0])&&"number"!=typeof t[0][0]?(this._initWithHoles(t),this.redraw()):o.Polyline.prototype.setLatLngs.call(this,t)},_clipPoints:function(){var t=this._originalPoints,e=[];if(this._parts=[t].concat(this._holePoints),!this.options.noClip){for(var i=0,n=this._parts.length;n>i;i++){var s=o.PolyUtil.clipPolygon(this._parts[i],this._map._pathViewport);s.length&&e.push(s)}this._parts=e}},_getPathPartStr:function(t){var e=o.Polyline.prototype._getPathPartStr.call(this,t);return e+(o.Browser.svg?"z":"x")}}),o.polygon=function(t,e){return new o.Polygon(t,e)},function(){function t(t){return o.FeatureGroup.extend({initialize:function(t,e){this._layers={},this._options=e,this.setLatLngs(t)},setLatLngs:function(e){var i=0,n=e.length;for(this.eachLayer(function(t){n>i?t.setLatLngs(e[i++]):this.removeLayer(t)},this);n>i;)this.addLayer(new t(e[i++],this._options));return this},getLatLngs:function(){var t=[];return this.eachLayer(function(e){t.push(e.getLatLngs())}),t}})}o.MultiPolyline=t(o.Polyline),o.MultiPolygon=t(o.Polygon),o.multiPolyline=function(t,e){return new o.MultiPolyline(t,e)},o.multiPolygon=function(t,e){return new o.MultiPolygon(t,e)}}(),o.Rectangle=o.Polygon.extend({initialize:function(t,e){o.Polygon.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=o.latLngBounds(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}}),o.rectangle=function(t,e){return new o.Rectangle(t,e)},o.Circle=o.Path.extend({initialize:function(t,e,i){o.Path.prototype.initialize.call(this,i),this._latlng=o.latLng(t),this._mRadius=e},options:{fill:!0},setLatLng:function(t){return this._latlng=o.latLng(t),this.redraw()},setRadius:function(t){return this._mRadius=t,this.redraw()},projectLatlngs:function(){var t=this._getLngRadius(),e=this._latlng,i=this._map.latLngToLayerPoint([e.lat,e.lng-t]);this._point=this._map.latLngToLayerPoint(e),this._radius=Math.max(this._point.x-i.x,1)},getBounds:function(){var t=this._getLngRadius(),e=this._mRadius/40075017*360,i=this._latlng;return new o.LatLngBounds([i.lat-e,i.lng-t],[i.lat+e,i.lng+t])},getLatLng:function(){return this._latlng},getPathString:function(){var t=this._point,e=this._radius;return this._checkIfEmpty()?"":o.Browser.svg?"M"+t.x+","+(t.y-e)+"A"+e+","+e+",0,1,1,"+(t.x-.1)+","+(t.y-e)+" z":(t._round(),e=Math.round(e),"AL "+t.x+","+t.y+" "+e+","+e+" 0,23592600")},getRadius:function(){return this._mRadius},_getLatRadius:function(){return this._mRadius/40075017*360},_getLngRadius:function(){return this._getLatRadius()/Math.cos(o.LatLng.DEG_TO_RAD*this._latlng.lat)},_checkIfEmpty:function(){if(!this._map)return!1;var t=this._map._pathViewport,e=this._radius,i=this._point;return i.x-e>t.max.x||i.y-e>t.max.y||i.x+e<t.min.x||i.y+e<t.min.y}}),o.circle=function(t,e,i){return new o.Circle(t,e,i)},o.CircleMarker=o.Circle.extend({options:{radius:10,weight:2},initialize:function(t,e){o.Circle.prototype.initialize.call(this,t,null,e),this._radius=this.options.radius},projectLatlngs:function(){this._point=this._map.latLngToLayerPoint(this._latlng)},_updateStyle:function(){o.Circle.prototype._updateStyle.call(this),this.setRadius(this.options.radius)},setLatLng:function(t){return o.Circle.prototype.setLatLng.call(this,t),this._popup&&this._popup._isOpen&&this._popup.setLatLng(t),this},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius}}),o.circleMarker=function(t,e){return new o.CircleMarker(t,e)},o.Polyline.include(o.Path.CANVAS?{_containsPoint:function(t,e){var i,n,s,a,r,h,l,u=this.options.weight/2;for(o.Browser.touch&&(u+=10),i=0,a=this._parts.length;a>i;i++)for(l=this._parts[i],n=0,r=l.length,s=r-1;r>n;s=n++)if((e||0!==n)&&(h=o.LineUtil.pointToSegmentDistance(t,l[s],l[n]),u>=h))return!0;return!1}}:{}),o.Polygon.include(o.Path.CANVAS?{_containsPoint:function(t){var e,i,n,s,a,r,h,l,u=!1;if(o.Polyline.prototype._containsPoint.call(this,t,!0))return!0;for(s=0,h=this._parts.length;h>s;s++)for(e=this._parts[s],a=0,l=e.length,r=l-1;l>a;r=a++)i=e[a],n=e[r],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(u=!u);return u}}:{}),o.Circle.include(o.Path.CANVAS?{_drawPath:function(){var t=this._point;this._ctx.beginPath(),this._ctx.arc(t.x,t.y,this._radius,0,2*Math.PI,!1)},_containsPoint:function(t){var e=this._point,i=this.options.stroke?this.options.weight/2:0;return t.distanceTo(e)<=this._radius+i}}:{}),o.CircleMarker.include(o.Path.CANVAS?{_updateStyle:function(){o.Path.prototype._updateStyle.call(this)}}:{}),o.GeoJSON=o.FeatureGroup.extend({initialize:function(t,e){o.setOptions(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,s=o.Util.isArray(t)?t:t.features;if(s){for(e=0,i=s.length;i>e;e++)n=s[e],(n.geometries||n.geometry||n.features||n.coordinates)&&this.addData(s[e]);return this}var a=this.options;if(!a.filter||a.filter(t)){var r=o.GeoJSON.geometryToLayer(t,a.pointToLayer,a.coordsToLatLng,a);return r.feature=o.GeoJSON.asFeature(t),r.defaultOptions=r.options,this.resetStyle(r),a.onEachFeature&&a.onEachFeature(t,r),this.addLayer(r)}},resetStyle:function(t){var e=this.options.style;e&&(o.Util.extend(t.options,t.defaultOptions),this._setLayerStyle(t,e))},setStyle:function(t){this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(t,e){"function"==typeof e&&(e=e(t.feature)),t.setStyle&&t.setStyle(e)}}),o.extend(o.GeoJSON,{geometryToLayer:function(t,e,i,n){var s,a,r,h,l="Feature"===t.type?t.geometry:t,u=l.coordinates,c=[];switch(i=i||this.coordsToLatLng,l.type){case"Point":return s=i(u),e?e(t,s):new o.Marker(s);case"MultiPoint":for(r=0,h=u.length;h>r;r++)s=i(u[r]),c.push(e?e(t,s):new o.Marker(s));return new o.FeatureGroup(c);case"LineString":return a=this.coordsToLatLngs(u,0,i),new o.Polyline(a,n);case"Polygon":if(2===u.length&&!u[1].length)throw new Error("Invalid GeoJSON object.");return a=this.coordsToLatLngs(u,1,i),new o.Polygon(a,n);case"MultiLineString":return a=this.coordsToLatLngs(u,1,i),new o.MultiPolyline(a,n);case"MultiPolygon":return a=this.coordsToLatLngs(u,2,i),new o.MultiPolygon(a,n);case"GeometryCollection":for(r=0,h=l.geometries.length;h>r;r++)c.push(this.geometryToLayer({geometry:l.geometries[r],type:"Feature",properties:t.properties},e,i,n));return new o.FeatureGroup(c);default:throw new Error("Invalid GeoJSON object.")}},coordsToLatLng:function(t){return new o.LatLng(t[1],t[0],t[2])},coordsToLatLngs:function(t,e,i){var n,o,s,a=[];for(o=0,s=t.length;s>o;o++)n=e?this.coordsToLatLngs(t[o],e-1,i):(i||this.coordsToLatLng)(t[o]),a.push(n);return a},latLngToCoords:function(t){var e=[t.lng,t.lat];return t.alt!==i&&e.push(t.alt),e},latLngsToCoords:function(t){for(var e=[],i=0,n=t.length;n>i;i++)e.push(o.GeoJSON.latLngToCoords(t[i]));return e},getFeature:function(t,e){return t.feature?o.extend({},t.feature,{geometry:e}):o.GeoJSON.asFeature(e)},asFeature:function(t){return"Feature"===t.type?t:{type:"Feature",properties:{},geometry:t}}});var a={toGeoJSON:function(){return o.GeoJSON.getFeature(this,{type:"Point",coordinates:o.GeoJSON.latLngToCoords(this.getLatLng())})}};o.Marker.include(a),o.Circle.include(a),o.CircleMarker.include(a),o.Polyline.include({toGeoJSON:function(){return o.GeoJSON.getFeature(this,{type:"LineString",coordinates:o.GeoJSON.latLngsToCoords(this.getLatLngs())})}}),o.Polygon.include({toGeoJSON:function(){var t,e,i,n=[o.GeoJSON.latLngsToCoords(this.getLatLngs())];if(n[0].push(n[0][0]),this._holes)for(t=0,e=this._holes.length;e>t;t++)i=o.GeoJSON.latLngsToCoords(this._holes[t]),i.push(i[0]),n.push(i);return o.GeoJSON.getFeature(this,{type:"Polygon",coordinates:n})}}),function(){function t(t){return function(){var e=[];return this.eachLayer(function(t){e.push(t.toGeoJSON().geometry.coordinates)}),o.GeoJSON.getFeature(this,{type:t,coordinates:e})}}o.MultiPolyline.include({toGeoJSON:t("MultiLineString")}),o.MultiPolygon.include({toGeoJSON:t("MultiPolygon")}),o.LayerGroup.include({toGeoJSON:function(){var e,i=this.feature&&this.feature.geometry,n=[];if(i&&"MultiPoint"===i.type)return t("MultiPoint").call(this);var s=i&&"GeometryCollection"===i.type;return this.eachLayer(function(t){t.toGeoJSON&&(e=t.toGeoJSON(),n.push(s?e.geometry:o.GeoJSON.asFeature(e)))}),s?o.GeoJSON.getFeature(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}})}(),o.geoJson=function(t,e){return new o.GeoJSON(t,e)},o.DomEvent={addListener:function(t,e,i,n){var s,a,r,h=o.stamp(i),l="_leaflet_"+e+h;return t[l]?this:(s=function(e){return i.call(n||t,e||o.DomEvent._getEvent())},o.Browser.pointer&&0===e.indexOf("touch")?this.addPointerListener(t,e,s,h):(o.Browser.touch&&"dblclick"===e&&this.addDoubleTapListener&&this.addDoubleTapListener(t,s,h),"addEventListener"in t?"mousewheel"===e?(t.addEventListener("DOMMouseScroll",s,!1),t.addEventListener(e,s,!1)):"mouseenter"===e||"mouseleave"===e?(a=s,r="mouseenter"===e?"mouseover":"mouseout",s=function(e){return o.DomEvent._checkMouse(t,e)?a(e):void 0},t.addEventListener(r,s,!1)):"click"===e&&o.Browser.android?(a=s,s=function(t){return o.DomEvent._filterClick(t,a)},t.addEventListener(e,s,!1)):t.addEventListener(e,s,!1):"attachEvent"in t&&t.attachEvent("on"+e,s),t[l]=s,this))},removeListener:function(t,e,i){var n=o.stamp(i),s="_leaflet_"+e+n,a=t[s];return a?(o.Browser.pointer&&0===e.indexOf("touch")?this.removePointerListener(t,e,n):o.Browser.touch&&"dblclick"===e&&this.removeDoubleTapListener?this.removeDoubleTapListener(t,n):"removeEventListener"in t?"mousewheel"===e?(t.removeEventListener("DOMMouseScroll",a,!1),t.removeEventListener(e,a,!1)):"mouseenter"===e||"mouseleave"===e?t.removeEventListener("mouseenter"===e?"mouseover":"mouseout",a,!1):t.removeEventListener(e,a,!1):"detachEvent"in t&&t.detachEvent("on"+e,a),t[s]=null,this):this},stopPropagation:function(t){return t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,o.DomEvent._skipped(t),this},disableScrollPropagation:function(t){var e=o.DomEvent.stopPropagation;return o.DomEvent.on(t,"mousewheel",e).on(t,"MozMousePixelScroll",e)},disableClickPropagation:function(t){for(var e=o.DomEvent.stopPropagation,i=o.Draggable.START.length-1;i>=0;i--)o.DomEvent.on(t,o.Draggable.START[i],e);return o.DomEvent.on(t,"click",o.DomEvent._fakeStop).on(t,"dblclick",e)},preventDefault:function(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this},stop:function(t){return o.DomEvent.preventDefault(t).stopPropagation(t)},getMousePosition:function(t,e){if(!e)return new o.Point(t.clientX,t.clientY);var i=e.getBoundingClientRect();return new o.Point(t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop)},getWheelDelta:function(t){var e=0;return t.wheelDelta&&(e=t.wheelDelta/120),t.detail&&(e=-t.detail/3),e},_skipEvents:{},_fakeStop:function(t){o.DomEvent._skipEvents[t.type]=!0},_skipped:function(t){var e=this._skipEvents[t.type];return this._skipEvents[t.type]=!1,e},_checkMouse:function(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(n){return!1}return i!==t},_getEvent:function(){var e=t.event;if(!e)for(var i=arguments.callee.caller;i&&(e=i.arguments[0],!e||t.Event!==e.constructor);)i=i.caller;return e},_filterClick:function(t,e){var i=t.timeStamp||t.originalEvent.timeStamp,n=o.DomEvent._lastClick&&i-o.DomEvent._lastClick;return n&&n>100&&500>n||t.target._simulatedClick&&!t._simulated?void o.DomEvent.stop(t):(o.DomEvent._lastClick=i,e(t))}},o.DomEvent.on=o.DomEvent.addListener,o.DomEvent.off=o.DomEvent.removeListener,o.Draggable=o.Class.extend({includes:o.Mixin.Events,statics:{START:o.Browser.touch?["touchstart","mousedown"]:["mousedown"],END:{mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},MOVE:{mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"}},initialize:function(t,e){this._element=t,this._dragStartTarget=e||t},enable:function(){if(!this._enabled){for(var t=o.Draggable.START.length-1;t>=0;t--)o.DomEvent.on(this._dragStartTarget,o.Draggable.START[t],this._onDown,this);this._enabled=!0}},disable:function(){if(this._enabled){for(var t=o.Draggable.START.length-1;t>=0;t--)o.DomEvent.off(this._dragStartTarget,o.Draggable.START[t],this._onDown,this);this._enabled=!1,this._moved=!1}},_onDown:function(t){if(this._moved=!1,!(t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(o.DomEvent.stopPropagation(t),o.Draggable._disabled||(o.DomUtil.disableImageDrag(),o.DomUtil.disableTextSelection(),this._moving)))){var i=t.touches?t.touches[0]:t;this._startPoint=new o.Point(i.clientX,i.clientY),this._startPos=this._newPos=o.DomUtil.getPosition(this._element),o.DomEvent.on(e,o.Draggable.MOVE[t.type],this._onMove,this).on(e,o.Draggable.END[t.type],this._onUp,this)}},_onMove:function(t){if(t.touches&&t.touches.length>1)return void(this._moved=!0);var i=t.touches&&1===t.touches.length?t.touches[0]:t,n=new o.Point(i.clientX,i.clientY),s=n.subtract(this._startPoint);(s.x||s.y)&&(o.Browser.touch&&Math.abs(s.x)+Math.abs(s.y)<3||(o.DomEvent.preventDefault(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=o.DomUtil.getPosition(this._element).subtract(s),o.DomUtil.addClass(e.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,o.DomUtil.addClass(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(s),this._moving=!0,o.Util.cancelAnimFrame(this._animRequest),this._animRequest=o.Util.requestAnimFrame(this._updatePosition,this,!0,this._dragStartTarget)))},_updatePosition:function(){this.fire("predrag"),o.DomUtil.setPosition(this._element,this._newPos),this.fire("drag")},_onUp:function(){o.DomUtil.removeClass(e.body,"leaflet-dragging"),this._lastTarget&&(o.DomUtil.removeClass(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null);for(var t in o.Draggable.MOVE)o.DomEvent.off(e,o.Draggable.MOVE[t],this._onMove).off(e,o.Draggable.END[t],this._onUp);o.DomUtil.enableImageDrag(),o.DomUtil.enableTextSelection(),this._moved&&this._moving&&(o.Util.cancelAnimFrame(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1}}),o.Handler=o.Class.extend({initialize:function(t){this._map=t},enable:function(){this._enabled||(this._enabled=!0,this.addHooks())},disable:function(){this._enabled&&(this._enabled=!1,this.removeHooks())},enabled:function(){return!!this._enabled}}),o.Map.mergeOptions({dragging:!0,inertia:!o.Browser.android23,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,inertiaThreshold:o.Browser.touch?32:18,easeLinearity:.25,worldCopyJump:!1}),o.Map.Drag=o.Handler.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new o.Draggable(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDrag,this),t.on("viewreset",this._onViewReset,this),t.whenReady(this._onViewReset,this))}this._draggable.enable()},removeHooks:function(){this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},_onDragStart:function(){var t=this._map;t._panAnim&&t._panAnim.stop(),t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(){if(this._map.options.inertia){var t=this._lastTime=+new Date,e=this._lastPos=this._draggable._newPos;this._positions.push(e),this._times.push(t),t-this._times[0]>200&&(this._positions.shift(),this._times.shift())}this._map.fire("move").fire("drag")},_onViewReset:function(){var t=this._map.getSize()._divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.project([0,180]).x},_onPreDrag:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,s=(n+e+i)%t-e-i,a=Math.abs(o+i)<Math.abs(s+i)?o:s;this._draggable._newPos.x=a},_onDragEnd:function(t){var e=this._map,i=e.options,n=+new Date-this._lastTime,s=!i.inertia||n>i.inertiaThreshold||!this._positions[0];if(e.fire("dragend",t),s)e.fire("moveend");else{var a=this._lastPos.subtract(this._positions[0]),r=(this._lastTime+n-this._times[0])/1e3,h=i.easeLinearity,l=a.multiplyBy(h/r),u=l.distanceTo([0,0]),c=Math.min(i.inertiaMaxSpeed,u),d=l.multiplyBy(c/u),p=c/(i.inertiaDeceleration*h),_=d.multiplyBy(-p/2).round();_.x&&_.y?(_=e._limitOffset(_,e.options.maxBounds),o.Util.requestAnimFrame(function(){e.panBy(_,{duration:p,easeLinearity:h,noMoveStart:!0})})):e.fire("moveend")}}}),o.Map.addInitHook("addHandler","dragging",o.Map.Drag),o.Map.mergeOptions({doubleClickZoom:!0}),o.Map.DoubleClickZoom=o.Handler.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom()+(t.originalEvent.shiftKey?-1:1);"center"===e.options.doubleClickZoom?e.setZoom(i):e.setZoomAround(t.containerPoint,i)}}),o.Map.addInitHook("addHandler","doubleClickZoom",o.Map.DoubleClickZoom),o.Map.mergeOptions({scrollWheelZoom:!0}),o.Map.ScrollWheelZoom=o.Handler.extend({addHooks:function(){o.DomEvent.on(this._map._container,"mousewheel",this._onWheelScroll,this),o.DomEvent.on(this._map._container,"MozMousePixelScroll",o.DomEvent.preventDefault),this._delta=0},removeHooks:function(){o.DomEvent.off(this._map._container,"mousewheel",this._onWheelScroll),o.DomEvent.off(this._map._container,"MozMousePixelScroll",o.DomEvent.preventDefault)},_onWheelScroll:function(t){var e=o.DomEvent.getWheelDelta(t);this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var i=Math.max(40-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(o.bind(this._performZoom,this),i),o.DomEvent.preventDefault(t),o.DomEvent.stopPropagation(t)},_performZoom:function(){var t=this._map,e=this._delta,i=t.getZoom();e=e>0?Math.ceil(e):Math.floor(e),e=Math.max(Math.min(e,4),-4),e=t._limitZoom(i+e)-i,this._delta=0,this._startTime=null,e&&("center"===t.options.scrollWheelZoom?t.setZoom(i+e):t.setZoomAround(this._lastMousePos,i+e))}}),o.Map.addInitHook("addHandler","scrollWheelZoom",o.Map.ScrollWheelZoom),o.extend(o.DomEvent,{_touchstart:o.Browser.msPointer?"MSPointerDown":o.Browser.pointer?"pointerdown":"touchstart",_touchend:o.Browser.msPointer?"MSPointerUp":o.Browser.pointer?"pointerup":"touchend",addDoubleTapListener:function(t,i,n){function s(t){var e;if(o.Browser.pointer?(_.push(t.pointerId),e=_.length):e=t.touches.length,!(e>1)){var i=Date.now(),n=i-(r||i);h=t.touches?t.touches[0]:t,l=n>0&&u>=n,r=i}}function a(t){if(o.Browser.pointer){var e=_.indexOf(t.pointerId);if(-1===e)return;_.splice(e,1)}if(l){if(o.Browser.pointer){var n,s={};for(var a in h)n=h[a],s[a]="function"==typeof n?n.bind(h):n;h=s}h.type="dblclick",i(h),r=null}}var r,h,l=!1,u=250,c="_leaflet_",d=this._touchstart,p=this._touchend,_=[];t[c+d+n]=s,t[c+p+n]=a;var m=o.Browser.pointer?e.documentElement:t;return t.addEventListener(d,s,!1),m.addEventListener(p,a,!1),o.Browser.pointer&&m.addEventListener(o.DomEvent.POINTER_CANCEL,a,!1),this},removeDoubleTapListener:function(t,i){var n="_leaflet_";return t.removeEventListener(this._touchstart,t[n+this._touchstart+i],!1),(o.Browser.pointer?e.documentElement:t).removeEventListener(this._touchend,t[n+this._touchend+i],!1),o.Browser.pointer&&e.documentElement.removeEventListener(o.DomEvent.POINTER_CANCEL,t[n+this._touchend+i],!1),this}}),o.extend(o.DomEvent,{POINTER_DOWN:o.Browser.msPointer?"MSPointerDown":"pointerdown",POINTER_MOVE:o.Browser.msPointer?"MSPointerMove":"pointermove",POINTER_UP:o.Browser.msPointer?"MSPointerUp":"pointerup",POINTER_CANCEL:o.Browser.msPointer?"MSPointerCancel":"pointercancel",_pointers:[],_pointerDocumentListener:!1,addPointerListener:function(t,e,i,n){switch(e){case"touchstart":return this.addPointerListenerStart(t,e,i,n);case"touchend":return this.addPointerListenerEnd(t,e,i,n);case"touchmove":return this.addPointerListenerMove(t,e,i,n);default:throw"Unknown touch event type"}},addPointerListenerStart:function(t,i,n,s){var a="_leaflet_",r=this._pointers,h=function(t){o.DomEvent.preventDefault(t);for(var e=!1,i=0;i<r.length;i++)if(r[i].pointerId===t.pointerId){e=!0;
9
+ break}e||r.push(t),t.touches=r.slice(),t.changedTouches=[t],n(t)};if(t[a+"touchstart"+s]=h,t.addEventListener(this.POINTER_DOWN,h,!1),!this._pointerDocumentListener){var l=function(t){for(var e=0;e<r.length;e++)if(r[e].pointerId===t.pointerId){r.splice(e,1);break}};e.documentElement.addEventListener(this.POINTER_UP,l,!1),e.documentElement.addEventListener(this.POINTER_CANCEL,l,!1),this._pointerDocumentListener=!0}return this},addPointerListenerMove:function(t,e,i,n){function o(t){if(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&"mouse"!==t.pointerType||0!==t.buttons){for(var e=0;e<a.length;e++)if(a[e].pointerId===t.pointerId){a[e]=t;break}t.touches=a.slice(),t.changedTouches=[t],i(t)}}var s="_leaflet_",a=this._pointers;return t[s+"touchmove"+n]=o,t.addEventListener(this.POINTER_MOVE,o,!1),this},addPointerListenerEnd:function(t,e,i,n){var o="_leaflet_",s=this._pointers,a=function(t){for(var e=0;e<s.length;e++)if(s[e].pointerId===t.pointerId){s.splice(e,1);break}t.touches=s.slice(),t.changedTouches=[t],i(t)};return t[o+"touchend"+n]=a,t.addEventListener(this.POINTER_UP,a,!1),t.addEventListener(this.POINTER_CANCEL,a,!1),this},removePointerListener:function(t,e,i){var n="_leaflet_",o=t[n+e+i];switch(e){case"touchstart":t.removeEventListener(this.POINTER_DOWN,o,!1);break;case"touchmove":t.removeEventListener(this.POINTER_MOVE,o,!1);break;case"touchend":t.removeEventListener(this.POINTER_UP,o,!1),t.removeEventListener(this.POINTER_CANCEL,o,!1)}return this}}),o.Map.mergeOptions({touchZoom:o.Browser.touch&&!o.Browser.android23,bounceAtZoomLimits:!0}),o.Map.TouchZoom=o.Handler.extend({addHooks:function(){o.DomEvent.on(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){o.DomEvent.off(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(t.touches&&2===t.touches.length&&!i._animatingZoom&&!this._zooming){var n=i.mouseEventToLayerPoint(t.touches[0]),s=i.mouseEventToLayerPoint(t.touches[1]),a=i._getCenterLayerPoint();this._startCenter=n.add(s)._divideBy(2),this._startDist=n.distanceTo(s),this._moved=!1,this._zooming=!0,this._centerOffset=a.subtract(this._startCenter),i._panAnim&&i._panAnim.stop(),o.DomEvent.on(e,"touchmove",this._onTouchMove,this).on(e,"touchend",this._onTouchEnd,this),o.DomEvent.preventDefault(t)}},_onTouchMove:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&this._zooming){var i=e.mouseEventToLayerPoint(t.touches[0]),n=e.mouseEventToLayerPoint(t.touches[1]);this._scale=i.distanceTo(n)/this._startDist,this._delta=i._add(n)._divideBy(2)._subtract(this._startCenter),1!==this._scale&&(e.options.bounceAtZoomLimits||!(e.getZoom()===e.getMinZoom()&&this._scale<1||e.getZoom()===e.getMaxZoom()&&this._scale>1))&&(this._moved||(o.DomUtil.addClass(e._mapPane,"leaflet-touching"),e.fire("movestart").fire("zoomstart"),this._moved=!0),o.Util.cancelAnimFrame(this._animRequest),this._animRequest=o.Util.requestAnimFrame(this._updateOnMove,this,!0,this._map._container),o.DomEvent.preventDefault(t))}},_updateOnMove:function(){var t=this._map,e=this._getScaleOrigin(),i=t.layerPointToLatLng(e),n=t.getScaleZoom(this._scale);t._animateZoom(i,n,this._startCenter,this._scale,this._delta,!1,!0)},_onTouchEnd:function(){if(!this._moved||!this._zooming)return void(this._zooming=!1);var t=this._map;this._zooming=!1,o.DomUtil.removeClass(t._mapPane,"leaflet-touching"),o.Util.cancelAnimFrame(this._animRequest),o.DomEvent.off(e,"touchmove",this._onTouchMove).off(e,"touchend",this._onTouchEnd);var i=this._getScaleOrigin(),n=t.layerPointToLatLng(i),s=t.getZoom(),a=t.getScaleZoom(this._scale)-s,r=a>0?Math.ceil(a):Math.floor(a),h=t._limitZoom(s+r),l=t.getZoomScale(h)/this._scale;t._animateZoom(n,h,i,l)},_getScaleOrigin:function(){var t=this._centerOffset.subtract(this._delta).divideBy(this._scale);return this._startCenter.add(t)}}),o.Map.addInitHook("addHandler","touchZoom",o.Map.TouchZoom),o.Map.mergeOptions({tap:!0,tapTolerance:15}),o.Map.Tap=o.Handler.extend({addHooks:function(){o.DomEvent.on(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){o.DomEvent.off(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(o.DomEvent.preventDefault(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var i=t.touches[0],n=i.target;this._startPos=this._newPos=new o.Point(i.clientX,i.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&o.DomUtil.addClass(n,"leaflet-active"),this._holdTimeout=setTimeout(o.bind(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",i))},this),1e3),o.DomEvent.on(e,"touchmove",this._onMove,this).on(e,"touchend",this._onUp,this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),o.DomEvent.off(e,"touchmove",this._onMove,this).off(e,"touchend",this._onUp,this),this._fireClick&&t&&t.changedTouches){var i=t.changedTouches[0],n=i.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&o.DomUtil.removeClass(n,"leaflet-active"),this._isTapValid()&&this._simulateEvent("click",i)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new o.Point(e.clientX,e.clientY)},_simulateEvent:function(i,n){var o=e.createEvent("MouseEvents");o._simulated=!0,n.target._simulatedClick=!0,o.initMouseEvent(i,!0,!0,t,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),n.target.dispatchEvent(o)}}),o.Browser.touch&&!o.Browser.pointer&&o.Map.addInitHook("addHandler","tap",o.Map.Tap),o.Map.mergeOptions({boxZoom:!0}),o.Map.BoxZoom=o.Handler.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._moved=!1},addHooks:function(){o.DomEvent.on(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){o.DomEvent.off(this._container,"mousedown",this._onMouseDown),this._moved=!1},moved:function(){return this._moved},_onMouseDown:function(t){return this._moved=!1,!t.shiftKey||1!==t.which&&1!==t.button?!1:(o.DomUtil.disableTextSelection(),o.DomUtil.disableImageDrag(),this._startLayerPoint=this._map.mouseEventToLayerPoint(t),void o.DomEvent.on(e,"mousemove",this._onMouseMove,this).on(e,"mouseup",this._onMouseUp,this).on(e,"keydown",this._onKeyDown,this))},_onMouseMove:function(t){this._moved||(this._box=o.DomUtil.create("div","leaflet-zoom-box",this._pane),o.DomUtil.setPosition(this._box,this._startLayerPoint),this._container.style.cursor="crosshair",this._map.fire("boxzoomstart"));var e=this._startLayerPoint,i=this._box,n=this._map.mouseEventToLayerPoint(t),s=n.subtract(e),a=new o.Point(Math.min(n.x,e.x),Math.min(n.y,e.y));o.DomUtil.setPosition(i,a),this._moved=!0,i.style.width=Math.max(0,Math.abs(s.x)-4)+"px",i.style.height=Math.max(0,Math.abs(s.y)-4)+"px"},_finish:function(){this._moved&&(this._pane.removeChild(this._box),this._container.style.cursor=""),o.DomUtil.enableTextSelection(),o.DomUtil.enableImageDrag(),o.DomEvent.off(e,"mousemove",this._onMouseMove).off(e,"mouseup",this._onMouseUp).off(e,"keydown",this._onKeyDown)},_onMouseUp:function(t){this._finish();var e=this._map,i=e.mouseEventToLayerPoint(t);if(!this._startLayerPoint.equals(i)){var n=new o.LatLngBounds(e.layerPointToLatLng(this._startLayerPoint),e.layerPointToLatLng(i));e.fitBounds(n),e.fire("boxzoomend",{boxZoomBounds:n})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}}),o.Map.addInitHook("addHandler","boxZoom",o.Map.BoxZoom),o.Map.mergeOptions({keyboard:!0,keyboardPanOffset:80,keyboardZoomOffset:1}),o.Map.Keyboard=o.Handler.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,173]},initialize:function(t){this._map=t,this._setPanOffset(t.options.keyboardPanOffset),this._setZoomOffset(t.options.keyboardZoomOffset)},addHooks:function(){var t=this._map._container;-1===t.tabIndex&&(t.tabIndex="0"),o.DomEvent.on(t,"focus",this._onFocus,this).on(t,"blur",this._onBlur,this).on(t,"mousedown",this._onMouseDown,this),this._map.on("focus",this._addHooks,this).on("blur",this._removeHooks,this)},removeHooks:function(){this._removeHooks();var t=this._map._container;o.DomEvent.off(t,"focus",this._onFocus,this).off(t,"blur",this._onBlur,this).off(t,"mousedown",this._onMouseDown,this),this._map.off("focus",this._addHooks,this).off("blur",this._removeHooks,this)},_onMouseDown:function(){if(!this._focused){var i=e.body,n=e.documentElement,o=i.scrollTop||n.scrollTop,s=i.scrollLeft||n.scrollLeft;this._map._container.focus(),t.scrollTo(s,o)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanOffset:function(t){var e,i,n=this._panKeys={},o=this.keyCodes;for(e=0,i=o.left.length;i>e;e++)n[o.left[e]]=[-1*t,0];for(e=0,i=o.right.length;i>e;e++)n[o.right[e]]=[t,0];for(e=0,i=o.down.length;i>e;e++)n[o.down[e]]=[0,t];for(e=0,i=o.up.length;i>e;e++)n[o.up[e]]=[0,-1*t]},_setZoomOffset:function(t){var e,i,n=this._zoomKeys={},o=this.keyCodes;for(e=0,i=o.zoomIn.length;i>e;e++)n[o.zoomIn[e]]=t;for(e=0,i=o.zoomOut.length;i>e;e++)n[o.zoomOut[e]]=-t},_addHooks:function(){o.DomEvent.on(e,"keydown",this._onKeyDown,this)},_removeHooks:function(){o.DomEvent.off(e,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){var e=t.keyCode,i=this._map;if(e in this._panKeys){if(i._panAnim&&i._panAnim._inProgress)return;i.panBy(this._panKeys[e]),i.options.maxBounds&&i.panInsideBounds(i.options.maxBounds)}else{if(!(e in this._zoomKeys))return;i.setZoom(i.getZoom()+this._zoomKeys[e])}o.DomEvent.stop(t)}}),o.Map.addInitHook("addHandler","keyboard",o.Map.Keyboard),o.Handler.MarkerDrag=o.Handler.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new o.Draggable(t,t)),this._draggable.on("dragstart",this._onDragStart,this).on("drag",this._onDrag,this).on("dragend",this._onDragEnd,this),this._draggable.enable(),o.DomUtil.addClass(this._marker._icon,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off("dragstart",this._onDragStart,this).off("drag",this._onDrag,this).off("dragend",this._onDragEnd,this),this._draggable.disable(),o.DomUtil.removeClass(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_onDragStart:function(){this._marker.closePopup().fire("movestart").fire("dragstart")},_onDrag:function(){var t=this._marker,e=t._shadow,i=o.DomUtil.getPosition(t._icon),n=t._map.layerPointToLatLng(i);e&&o.DomUtil.setPosition(e,i),t._latlng=n,t.fire("move",{latlng:n}).fire("drag")},_onDragEnd:function(t){this._marker.fire("moveend").fire("dragend",t)}}),o.Control=o.Class.extend({options:{position:"topright"},initialize:function(t){o.setOptions(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return o.DomUtil.addClass(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this},removeFrom:function(t){var e=this.getPosition(),i=t._controlCorners[e];return i.removeChild(this._container),this._map=null,this.onRemove&&this.onRemove(t),this},_refocusOnMap:function(){this._map&&this._map.getContainer().focus()}}),o.control=function(t){return new o.Control(t)},o.Map.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.removeFrom(this),this},_initControlPos:function(){function t(t,s){var a=i+t+" "+i+s;e[t+s]=o.DomUtil.create("div",a,n)}var e=this._controlCorners={},i="leaflet-",n=this._controlContainer=o.DomUtil.create("div",i+"control-container",this._container);t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){this._container.removeChild(this._controlContainer)}}),o.Control.Zoom=o.Control.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"-",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=o.DomUtil.create("div",e+" leaflet-bar");return this._map=t,this._zoomInButton=this._createButton(this.options.zoomInText,this.options.zoomInTitle,e+"-in",i,this._zoomIn,this),this._zoomOutButton=this._createButton(this.options.zoomOutText,this.options.zoomOutTitle,e+"-out",i,this._zoomOut,this),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},_zoomIn:function(t){this._map.zoomIn(t.shiftKey?3:1)},_zoomOut:function(t){this._map.zoomOut(t.shiftKey?3:1)},_createButton:function(t,e,i,n,s,a){var r=o.DomUtil.create("a",i,n);r.innerHTML=t,r.href="#",r.title=e;var h=o.DomEvent.stopPropagation;return o.DomEvent.on(r,"click",h).on(r,"mousedown",h).on(r,"dblclick",h).on(r,"click",o.DomEvent.preventDefault).on(r,"click",s,a).on(r,"click",this._refocusOnMap,a),r},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";o.DomUtil.removeClass(this._zoomInButton,e),o.DomUtil.removeClass(this._zoomOutButton,e),t._zoom===t.getMinZoom()&&o.DomUtil.addClass(this._zoomOutButton,e),t._zoom===t.getMaxZoom()&&o.DomUtil.addClass(this._zoomInButton,e)}}),o.Map.mergeOptions({zoomControl:!0}),o.Map.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new o.Control.Zoom,this.addControl(this.zoomControl))}),o.control.zoom=function(t){return new o.Control.Zoom(t)},o.Control.Attribution=o.Control.extend({options:{position:"bottomright",prefix:'<a href="http://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){o.setOptions(this,t),this._attributions={}},onAdd:function(t){this._container=o.DomUtil.create("div","leaflet-control-attribution"),o.DomEvent.disableClickPropagation(this._container);for(var e in t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return t.on("layeradd",this._onLayerAdd,this).on("layerremove",this._onLayerRemove,this),this._update(),this._container},onRemove:function(t){t.off("layeradd",this._onLayerAdd).off("layerremove",this._onLayerRemove)},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):void 0},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):void 0},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(" | ")}},_onLayerAdd:function(t){t.layer.getAttribution&&this.addAttribution(t.layer.getAttribution())},_onLayerRemove:function(t){t.layer.getAttribution&&this.removeAttribution(t.layer.getAttribution())}}),o.Map.mergeOptions({attributionControl:!0}),o.Map.addInitHook(function(){this.options.attributionControl&&(this.attributionControl=(new o.Control.Attribution).addTo(this))}),o.control.attribution=function(t){return new o.Control.Attribution(t)},o.Control.Scale=o.Control.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0,updateWhenIdle:!1},onAdd:function(t){this._map=t;var e="leaflet-control-scale",i=o.DomUtil.create("div",e),n=this.options;return this._addScales(n,e,i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=o.DomUtil.create("div",e+"-line",i)),t.imperial&&(this._iScale=o.DomUtil.create("div",e+"-line",i))},_update:function(){var t=this._map.getBounds(),e=t.getCenter().lat,i=6378137*Math.PI*Math.cos(e*Math.PI/180),n=i*(t.getNorthEast().lng-t.getSouthWest().lng)/180,o=this._map.getSize(),s=this.options,a=0;o.x>0&&(a=n*(s.maxWidth/o.x)),this._updateScales(s,a)},_updateScales:function(t,e){t.metric&&e&&this._updateMetric(e),t.imperial&&e&&this._updateImperial(e)},_updateMetric:function(t){var e=this._getRoundNum(t);this._mScale.style.width=this._getScaleWidth(e/t)+"px",this._mScale.innerHTML=1e3>e?e+" m":e/1e3+" km"},_updateImperial:function(t){var e,i,n,o=3.2808399*t,s=this._iScale;o>5280?(e=o/5280,i=this._getRoundNum(e),s.style.width=this._getScaleWidth(i/e)+"px",s.innerHTML=i+" mi"):(n=this._getRoundNum(o),s.style.width=this._getScaleWidth(n/o)+"px",s.innerHTML=n+" ft")},_getScaleWidth:function(t){return Math.round(this.options.maxWidth*t)-10},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1,e*i}}),o.control.scale=function(t){return new o.Control.Scale(t)},o.Control.Layers=o.Control.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0},initialize:function(t,e,i){o.setOptions(this,i),this._layers={},this._lastZIndex=0,this._handlingClick=!1;for(var n in t)this._addLayer(t[n],n);for(n in e)this._addLayer(e[n],n,!0)},onAdd:function(t){return this._initLayout(),this._update(),t.on("layeradd",this._onLayerChange,this).on("layerremove",this._onLayerChange,this),this._container},onRemove:function(t){t.off("layeradd",this._onLayerChange,this).off("layerremove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._update(),this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._update(),this},removeLayer:function(t){var e=o.stamp(t);return delete this._layers[e],this._update(),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=o.DomUtil.create("div",t);e.setAttribute("aria-haspopup",!0),o.Browser.touch?o.DomEvent.on(e,"click",o.DomEvent.stopPropagation):o.DomEvent.disableClickPropagation(e).disableScrollPropagation(e);var i=this._form=o.DomUtil.create("form",t+"-list");if(this.options.collapsed){o.Browser.android||o.DomEvent.on(e,"mouseover",this._expand,this).on(e,"mouseout",this._collapse,this);var n=this._layersLink=o.DomUtil.create("a",t+"-toggle",e);n.href="#",n.title="Layers",o.Browser.touch?o.DomEvent.on(n,"click",o.DomEvent.stop).on(n,"click",this._expand,this):o.DomEvent.on(n,"focus",this._expand,this),o.DomEvent.on(i,"click",function(){setTimeout(o.bind(this._onInputClick,this),0)},this),this._map.on("click",this._collapse,this)}else this._expand();this._baseLayersList=o.DomUtil.create("div",t+"-base",i),this._separator=o.DomUtil.create("div",t+"-separator",i),this._overlaysList=o.DomUtil.create("div",t+"-overlays",i),e.appendChild(i)},_addLayer:function(t,e,i){var n=o.stamp(t);this._layers[n]={layer:t,name:e,overlay:i},this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex))},_update:function(){if(this._container){this._baseLayersList.innerHTML="",this._overlaysList.innerHTML="";var t,e,i=!1,n=!1;for(t in this._layers)e=this._layers[t],this._addItem(e),n=n||e.overlay,i=i||!e.overlay;this._separator.style.display=n&&i?"":"none"}},_onLayerChange:function(t){var e=this._layers[o.stamp(t.layer)];if(e){this._handlingClick||this._update();var i=e.overlay?"layeradd"===t.type?"overlayadd":"overlayremove":"layeradd"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)}},_createRadioElement:function(t,i){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"';i&&(n+=' checked="checked"'),n+="/>";var o=e.createElement("div");return o.innerHTML=n,o.firstChild},_addItem:function(t){var i,n=e.createElement("label"),s=this._map.hasLayer(t.layer);t.overlay?(i=e.createElement("input"),i.type="checkbox",i.className="leaflet-control-layers-selector",i.defaultChecked=s):i=this._createRadioElement("leaflet-base-layers",s),i.layerId=o.stamp(t.layer),o.DomEvent.on(i,"click",this._onInputClick,this);var a=e.createElement("span");a.innerHTML=" "+t.name,n.appendChild(i),n.appendChild(a);var r=t.overlay?this._overlaysList:this._baseLayersList;return r.appendChild(n),n},_onInputClick:function(){var t,e,i,n=this._form.getElementsByTagName("input"),o=n.length;for(this._handlingClick=!0,t=0;o>t;t++)e=n[t],i=this._layers[e.layerId],e.checked&&!this._map.hasLayer(i.layer)?this._map.addLayer(i.layer):!e.checked&&this._map.hasLayer(i.layer)&&this._map.removeLayer(i.layer);this._handlingClick=!1,this._refocusOnMap()},_expand:function(){o.DomUtil.addClass(this._container,"leaflet-control-layers-expanded")},_collapse:function(){this._container.className=this._container.className.replace(" leaflet-control-layers-expanded","")}}),o.control.layers=function(t,e,i){return new o.Control.Layers(t,e,i)},o.PosAnimation=o.Class.extend({includes:o.Mixin.Events,run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._newPos=e,this.fire("start"),t.style[o.DomUtil.TRANSITION]="all "+(i||.25)+"s cubic-bezier(0,0,"+(n||.5)+",1)",o.DomEvent.on(t,o.DomUtil.TRANSITION_END,this._onTransitionEnd,this),o.DomUtil.setPosition(t,e),o.Util.falseFn(t.offsetWidth),this._stepTimer=setInterval(o.bind(this._onStep,this),50)},stop:function(){this._inProgress&&(o.DomUtil.setPosition(this._el,this._getPos()),this._onTransitionEnd(),o.Util.falseFn(this._el.offsetWidth))},_onStep:function(){var t=this._getPos();return t?(this._el._leaflet_pos=t,void this.fire("step")):void this._onTransitionEnd()},_transformRe:/([-+]?(?:\d*\.)?\d+)\D*, ([-+]?(?:\d*\.)?\d+)\D*\)/,_getPos:function(){var e,i,n,s=this._el,a=t.getComputedStyle(s);if(o.Browser.any3d){if(n=a[o.DomUtil.TRANSFORM].match(this._transformRe),!n)return;e=parseFloat(n[1]),i=parseFloat(n[2])}else e=parseFloat(a.left),i=parseFloat(a.top);return new o.Point(e,i,!0)},_onTransitionEnd:function(){o.DomEvent.off(this._el,o.DomUtil.TRANSITION_END,this._onTransitionEnd,this),this._inProgress&&(this._inProgress=!1,this._el.style[o.DomUtil.TRANSITION]="",this._el._leaflet_pos=this._newPos,clearInterval(this._stepTimer),this.fire("step").fire("end"))}}),o.Map.include({setView:function(t,e,n){if(e=e===i?this._zoom:this._limitZoom(e),t=this._limitCenter(o.latLng(t),e,this.options.maxBounds),n=n||{},this._panAnim&&this._panAnim.stop(),this._loaded&&!n.reset&&n!==!0){n.animate!==i&&(n.zoom=o.extend({animate:n.animate},n.zoom),n.pan=o.extend({animate:n.animate},n.pan));var s=this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,n.zoom):this._tryAnimatedPan(t,n.pan);if(s)return clearTimeout(this._sizeTimer),this}return this._resetView(t,e),this},panBy:function(t,e){if(t=o.point(t).round(),e=e||{},!t.x&&!t.y)return this;if(this._panAnim||(this._panAnim=new o.PosAnimation,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),e.animate!==!1){o.DomUtil.addClass(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(t);this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){o.DomUtil.removeClass(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._floor();return(e&&e.animate)===!0||this.getSize().contains(i)?(this.panBy(i,e),!0):!1}}),o.PosAnimation=o.DomUtil.TRANSITION?o.PosAnimation:o.PosAnimation.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=o.DomUtil.getPosition(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(),this._complete())},_animate:function(){this._animId=o.Util.requestAnimFrame(this._animate,this),this._step()},_step:function(){var t=+new Date-this._startTime,e=1e3*this._duration;e>t?this._runFrame(this._easeOut(t/e)):(this._runFrame(1),this._complete())},_runFrame:function(t){var e=this._startPos.add(this._offset.multiplyBy(t));o.DomUtil.setPosition(this._el,e),this.fire("step")},_complete:function(){o.Util.cancelAnimFrame(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),o.Map.mergeOptions({zoomAnimation:!0,zoomAnimationThreshold:4}),o.DomUtil.TRANSITION&&o.Map.addInitHook(function(){this._zoomAnimated=this.options.zoomAnimation&&o.DomUtil.TRANSITION&&o.Browser.any3d&&!o.Browser.android23&&!o.Browser.mobileOpera,this._zoomAnimated&&o.DomEvent.on(this._mapPane,o.DomUtil.TRANSITION_END,this._catchTransitionEnd,this)}),o.Map.include(o.DomUtil.TRANSITION?{_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||i.animate===!1||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n),s=this._getCenterLayerPoint()._add(o);return i.animate===!0||this.getSize().contains(o)?(this.fire("movestart").fire("zoomstart"),this._animateZoom(t,e,s,n,null,!0),!0):!1},_animateZoom:function(t,e,i,n,s,a,r){r||(this._animatingZoom=!0),o.DomUtil.addClass(this._mapPane,"leaflet-zoom-anim"),this._animateToCenter=t,this._animateToZoom=e,o.Draggable&&(o.Draggable._disabled=!0),o.Util.requestAnimFrame(function(){this.fire("zoomanim",{center:t,zoom:e,origin:i,scale:n,delta:s,backwards:a})},this)},_onZoomTransitionEnd:function(){this._animatingZoom=!1,o.DomUtil.removeClass(this._mapPane,"leaflet-zoom-anim"),this._resetView(this._animateToCenter,this._animateToZoom,!0,!0),o.Draggable&&(o.Draggable._disabled=!1)}}:{}),o.TileLayer.include({_animateZoom:function(t){this._animating||(this._animating=!0,this._prepareBgBuffer());var e=this._bgBuffer,i=o.DomUtil.TRANSFORM,n=t.delta?o.DomUtil.getTranslateString(t.delta):e.style[i],s=o.DomUtil.getScaleString(t.scale,t.origin);e.style[i]=t.backwards?s+" "+n:n+" "+s},_endZoomAnim:function(){var t=this._tileContainer,e=this._bgBuffer;t.style.visibility="",t.parentNode.appendChild(t),o.Util.falseFn(e.offsetWidth),this._animating=!1},_clearBgBuffer:function(){var t=this._map;!t||t._animatingZoom||t.touchZoom._zooming||(this._bgBuffer.innerHTML="",this._bgBuffer.style[o.DomUtil.TRANSFORM]="")},_prepareBgBuffer:function(){var t=this._tileContainer,e=this._bgBuffer,i=this._getLoadedTilesPercentage(e),n=this._getLoadedTilesPercentage(t);return e&&i>.5&&.5>n?(t.style.visibility="hidden",void this._stopLoadingImages(t)):(e.style.visibility="hidden",e.style[o.DomUtil.TRANSFORM]="",this._tileContainer=e,e=this._bgBuffer=t,this._stopLoadingImages(e),void clearTimeout(this._clearBgBufferTimer))},_getLoadedTilesPercentage:function(t){var e,i,n=t.getElementsByTagName("img"),o=0;for(e=0,i=n.length;i>e;e++)n[e].complete&&o++;return o/i},_stopLoadingImages:function(t){var e,i,n,s=Array.prototype.slice.call(t.getElementsByTagName("img"));for(e=0,i=s.length;i>e;e++)n=s[e],n.complete||(n.onload=o.Util.falseFn,n.onerror=o.Util.falseFn,n.src=o.Util.emptyImageUrl,n.parentNode.removeChild(n))}}),o.Map.include({_defaultLocateOptions:{watch:!1,setView:!1,maxZoom:1/0,timeout:1e4,maximumAge:0,enableHighAccuracy:!1},locate:function(t){if(t=this._locateOptions=o.extend(this._defaultLocateOptions,t),!navigator.geolocation)return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=o.bind(this._handleGeolocationResponse,this),i=o.bind(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,i=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})},_handleGeolocationResponse:function(t){var e=t.coords.latitude,i=t.coords.longitude,n=new o.LatLng(e,i),s=180*t.coords.accuracy/40075017,a=s/Math.cos(o.LatLng.DEG_TO_RAD*e),r=o.latLngBounds([e-s,i-a],[e+s,i+a]),h=this._locateOptions;if(h.setView){var l=Math.min(this.getBoundsZoom(r),h.maxZoom);this.setView(n,l)}var u={latlng:n,bounds:r,timestamp:t.timestamp};for(var c in t.coords)"number"==typeof t.coords[c]&&(u[c]=t.coords[c]);this.fire("locationfound",u)}})}(window,document);
@@ -0,0 +1,177 @@
1
+ /*
2
+ * Google layer using Google Maps API
3
+ * From https://github.com/shramov/leaflet-plugins/blob/master/layer/tile/Google.js @ ac00968814fad27ec101517452827ba6a3c8676f
4
+ */
5
+ //(function (google, L) {
6
+
7
+ L.Google = L.Class.extend({
8
+ includes: L.Mixin.Events,
9
+
10
+ options: {
11
+ minZoom: 0,
12
+ maxZoom: 18,
13
+ tileSize: 256,
14
+ subdomains: 'abc',
15
+ errorTileUrl: '',
16
+ attribution: '',
17
+ opacity: 1,
18
+ continuousWorld: false,
19
+ noWrap: false
20
+ },
21
+
22
+ // Possible types: SATELLITE, ROADMAP, HYBRID, TERRAIN
23
+ initialize: function(type, options) {
24
+ L.Util.setOptions(this, options);
25
+
26
+ this._ready = google.maps.Map != undefined;
27
+ if (!this._ready) L.Google.asyncWait.push(this);
28
+
29
+ this._type = type || 'SATELLITE';
30
+ },
31
+
32
+ onAdd: function(map, insertAtTheBottom) {
33
+ this._map = map;
34
+ this._insertAtTheBottom = insertAtTheBottom;
35
+
36
+ // create a container div for tiles
37
+ this._initContainer();
38
+ this._initMapObject();
39
+
40
+ // set up events
41
+ map.on('viewreset', this._resetCallback, this);
42
+
43
+ this._limitedUpdate = L.Util.limitExecByInterval(this._update, 150, this);
44
+ map.on('move', this._update, this);
45
+
46
+ map.on('zoomanim', function (e) {
47
+ var center = e.center;
48
+ var _center = new google.maps.LatLng(center.lat, center.lng);
49
+
50
+ this._google.setCenter(_center);
51
+ this._google.setZoom(e.zoom);
52
+ }, this);
53
+
54
+ map._controlCorners['bottomright'].style.marginBottom = "1em";
55
+
56
+ this._reset();
57
+ this._update();
58
+ },
59
+
60
+ onRemove: function(map) {
61
+ this._map._container.removeChild(this._container);
62
+ //this._container = null;
63
+
64
+ this._map.off('viewreset', this._resetCallback, this);
65
+
66
+ this._map.off('move', this._update, this);
67
+ map._controlCorners['bottomright'].style.marginBottom = "0em";
68
+ //this._map.off('moveend', this._update, this);
69
+ },
70
+
71
+ getAttribution: function() {
72
+ return this.options.attribution;
73
+ },
74
+
75
+ setOpacity: function(opacity) {
76
+ this.options.opacity = opacity;
77
+ if (opacity < 1) {
78
+ L.DomUtil.setOpacity(this._container, opacity);
79
+ }
80
+ },
81
+
82
+ setElementSize: function(e, size) {
83
+ e.style.width = size.x + "px";
84
+ e.style.height = size.y + "px";
85
+ },
86
+
87
+ _initContainer: function() {
88
+ var tilePane = this._map._container,
89
+ first = tilePane.firstChild;
90
+
91
+ if (!this._container) {
92
+ this._container = L.DomUtil.create('div', 'leaflet-google-layer leaflet-top leaflet-left');
93
+ this._container.id = "_GMapContainer_" + L.Util.stamp(this);
94
+ this._container.style.zIndex = "auto";
95
+ }
96
+
97
+ if (true) {
98
+ tilePane.insertBefore(this._container, first);
99
+
100
+ this.setOpacity(this.options.opacity);
101
+ this.setElementSize(this._container, this._map.getSize());
102
+ }
103
+ },
104
+
105
+ _initMapObject: function() {
106
+ if (!this._ready) return;
107
+ this._google_center = new google.maps.LatLng(0, 0);
108
+ var map = new google.maps.Map(this._container, {
109
+ center: this._google_center,
110
+ zoom: 0,
111
+ tilt: 0,
112
+ mapTypeId: google.maps.MapTypeId[this._type],
113
+ disableDefaultUI: true,
114
+ keyboardShortcuts: false,
115
+ draggable: false,
116
+ disableDoubleClickZoom: true,
117
+ scrollwheel: false,
118
+ streetViewControl: false
119
+ });
120
+
121
+ var _this = this;
122
+ this._reposition = google.maps.event.addListenerOnce(map, "center_changed",
123
+ function() { _this.onReposition(); });
124
+
125
+ map.backgroundColor = '#ff0000';
126
+ this._google = map;
127
+ },
128
+
129
+ _resetCallback: function(e) {
130
+ this._reset(e.hard);
131
+ },
132
+
133
+ _reset: function(clearOldContainer) {
134
+ this._initContainer();
135
+ },
136
+
137
+ _update: function(e) {
138
+ if (!this._google) return;
139
+ this._resize();
140
+
141
+ var center = e && e.latlng ? e.latlng : this._map.getCenter();
142
+ var _center = new google.maps.LatLng(center.lat, center.lng);
143
+
144
+ this._google.setCenter(_center);
145
+ this._google.setZoom(this._map.getZoom());
146
+ //this._google.fitBounds(google_bounds);
147
+ },
148
+
149
+ _resize: function() {
150
+ var size = this._map.getSize();
151
+ if (this._container.style.width == size.x &&
152
+ this._container.style.height == size.y)
153
+ return;
154
+ this.setElementSize(this._container, size);
155
+ this.onReposition();
156
+ },
157
+
158
+ onReposition: function() {
159
+ if (!this._google) return;
160
+ google.maps.event.trigger(this._google, "resize");
161
+ }
162
+ });
163
+
164
+ L.Google.asyncWait = [];
165
+ L.Google.asyncInitialize = function() {
166
+ var i;
167
+ for (i = 0; i < L.Google.asyncWait.length; i++) {
168
+ var o = L.Google.asyncWait[i];
169
+ o._ready = true;
170
+ if (o._container) {
171
+ o._initMapObject();
172
+ o._update();
173
+ }
174
+ }
175
+ L.Google.asyncWait = [];
176
+ }
177
+ //})(window.google, L)
@@ -0,0 +1,325 @@
1
+ /*
2
+ mustache.js — Logic-less templates in JavaScript
3
+
4
+ See http://mustache.github.com/ for more info.
5
+ */
6
+
7
+ var Mustache = function() {
8
+ var Renderer = function() {};
9
+
10
+ Renderer.prototype = {
11
+ otag: "{{",
12
+ ctag: "}}",
13
+ pragmas: {},
14
+ buffer: [],
15
+ pragmas_implemented: {
16
+ "IMPLICIT-ITERATOR": true
17
+ },
18
+ context: {},
19
+
20
+ render: function(template, context, partials, in_recursion) {
21
+ // reset buffer & set context
22
+ if(!in_recursion) {
23
+ this.context = context;
24
+ this.buffer = []; // TODO: make this non-lazy
25
+ }
26
+
27
+ // fail fast
28
+ if(!this.includes("", template)) {
29
+ if(in_recursion) {
30
+ return template;
31
+ } else {
32
+ this.send(template);
33
+ return;
34
+ }
35
+ }
36
+
37
+ template = this.render_pragmas(template);
38
+ var html = this.render_section(template, context, partials);
39
+ if(in_recursion) {
40
+ return this.render_tags(html, context, partials, in_recursion);
41
+ }
42
+
43
+ this.render_tags(html, context, partials, in_recursion);
44
+ },
45
+
46
+ /*
47
+ Sends parsed lines
48
+ */
49
+ send: function(line) {
50
+ if(line != "") {
51
+ this.buffer.push(line);
52
+ }
53
+ },
54
+
55
+ /*
56
+ Looks for %PRAGMAS
57
+ */
58
+ render_pragmas: function(template) {
59
+ // no pragmas
60
+ if(!this.includes("%", template)) {
61
+ return template;
62
+ }
63
+
64
+ var that = this;
65
+ var regex = new RegExp(this.otag + "%([\\w-]+) ?([\\w]+=[\\w]+)?" +
66
+ this.ctag);
67
+ return template.replace(regex, function(match, pragma, options) {
68
+ if(!that.pragmas_implemented[pragma]) {
69
+ throw({message:
70
+ "This implementation of mustache doesn't understand the '" +
71
+ pragma + "' pragma"});
72
+ }
73
+ that.pragmas[pragma] = {};
74
+ if(options) {
75
+ var opts = options.split("=");
76
+ that.pragmas[pragma][opts[0]] = opts[1];
77
+ }
78
+ return "";
79
+ // ignore unknown pragmas silently
80
+ });
81
+ },
82
+
83
+ /*
84
+ Tries to find a partial in the curent scope and render it
85
+ */
86
+ render_partial: function(name, context, partials) {
87
+ name = this.trim(name);
88
+ if(!partials || partials[name] === undefined) {
89
+ throw({message: "unknown_partial '" + name + "'"});
90
+ }
91
+ if(typeof(context[name]) != "object") {
92
+ return this.render(partials[name], context, partials, true);
93
+ }
94
+ return this.render(partials[name], context[name], partials, true);
95
+ },
96
+
97
+ /*
98
+ Renders inverted (^) and normal (#) sections
99
+ */
100
+ render_section: function(template, context, partials) {
101
+ if(!this.includes("#", template) && !this.includes("^", template)) {
102
+ return template;
103
+ }
104
+
105
+ var that = this;
106
+ // CSW - Added "+?" so it finds the tighest bound, not the widest
107
+ var regex = new RegExp(this.otag + "(\\^|\\#)\\s*(.+)\\s*" + this.ctag +
108
+ "\n*([\\s\\S]+?)" + this.otag + "\\/\\s*\\2\\s*" + this.ctag +
109
+ "\\s*", "mg");
110
+
111
+ // for each {{#foo}}{{/foo}} section do...
112
+ return template.replace(regex, function(match, type, name, content) {
113
+ var value = that.find(name, context);
114
+ if(type == "^") { // inverted section
115
+ if(!value || that.is_array(value) && value.length === 0) {
116
+ // false or empty list, render it
117
+ return that.render(content, context, partials, true);
118
+ } else {
119
+ return "";
120
+ }
121
+ } else if(type == "#") { // normal section
122
+ if(that.is_array(value)) { // Enumerable, Let's loop!
123
+ return that.map(value, function(row) {
124
+ return that.render(content, that.create_context(row),
125
+ partials, true);
126
+ }).join("");
127
+ } else if(that.is_object(value)) { // Object, Use it as subcontext!
128
+ return that.render(content, that.create_context(value),
129
+ partials, true);
130
+ } else if(typeof value === "function") {
131
+ // higher order section
132
+ return value.call(context, content, function(text) {
133
+ return that.render(text, context, partials, true);
134
+ });
135
+ } else if(value) { // boolean section
136
+ return that.render(content, context, partials, true);
137
+ } else {
138
+ return "";
139
+ }
140
+ }
141
+ });
142
+ },
143
+
144
+ /*
145
+ Replace {{foo}} and friends with values from our view
146
+ */
147
+ render_tags: function(template, context, partials, in_recursion) {
148
+ // tit for tat
149
+ var that = this;
150
+
151
+ var new_regex = function() {
152
+ return new RegExp(that.otag + "(=|!|>|\\{|%)?([^\\/#\\^]+?)\\1?" +
153
+ that.ctag + "+", "g");
154
+ };
155
+
156
+ var regex = new_regex();
157
+ var tag_replace_callback = function(match, operator, name) {
158
+ switch(operator) {
159
+ case "!": // ignore comments
160
+ return "";
161
+ case "=": // set new delimiters, rebuild the replace regexp
162
+ that.set_delimiters(name);
163
+ regex = new_regex();
164
+ return "";
165
+ case ">": // render partial
166
+ return that.render_partial(name, context, partials);
167
+ case "{": // the triple mustache is unescaped
168
+ return that.find(name, context);
169
+ default: // escape the value
170
+ return that.escape(that.find(name, context));
171
+ }
172
+ };
173
+ var lines = template.split("\n");
174
+ for(var i = 0; i < lines.length; i++) {
175
+ lines[i] = lines[i].replace(regex, tag_replace_callback, this);
176
+ if(!in_recursion) {
177
+ this.send(lines[i]);
178
+ }
179
+ }
180
+
181
+ if(in_recursion) {
182
+ return lines.join("\n");
183
+ }
184
+ },
185
+
186
+ set_delimiters: function(delimiters) {
187
+ var dels = delimiters.split(" ");
188
+ this.otag = this.escape_regex(dels[0]);
189
+ this.ctag = this.escape_regex(dels[1]);
190
+ },
191
+
192
+ escape_regex: function(text) {
193
+ // thank you Simon Willison
194
+ if(!arguments.callee.sRE) {
195
+ var specials = [
196
+ '/', '.', '*', '+', '?', '|',
197
+ '(', ')', '[', ']', '{', '}', '\\'
198
+ ];
199
+ arguments.callee.sRE = new RegExp(
200
+ '(\\' + specials.join('|\\') + ')', 'g'
201
+ );
202
+ }
203
+ return text.replace(arguments.callee.sRE, '\\$1');
204
+ },
205
+
206
+ /*
207
+ find `name` in current `context`. That is find me a value
208
+ from the view object
209
+ */
210
+ find: function(name, context) {
211
+ name = this.trim(name);
212
+
213
+ // Checks whether a value is thruthy or false or 0
214
+ function is_kinda_truthy(bool) {
215
+ return bool === false || bool === 0 || bool;
216
+ }
217
+
218
+ var value;
219
+ if(is_kinda_truthy(context[name])) {
220
+ value = context[name];
221
+ } else if(is_kinda_truthy(this.context[name])) {
222
+ value = this.context[name];
223
+ }
224
+
225
+ if(typeof value === "function") {
226
+ return value.apply(context);
227
+ }
228
+ if(value !== undefined) {
229
+ return value;
230
+ }
231
+ // silently ignore unkown variables
232
+ return "";
233
+ },
234
+
235
+ // Utility methods
236
+
237
+ /* includes tag */
238
+ includes: function(needle, haystack) {
239
+ return haystack.indexOf(this.otag + needle) != -1;
240
+ },
241
+
242
+ /*
243
+ Does away with nasty characters
244
+ */
245
+ escape: function(s) {
246
+ s = String(s === null ? "" : s);
247
+ return s.replace(/&(?!\w+;)|["'<>\\]/g, function(s) {
248
+ switch(s) {
249
+ case "&": return "&amp;";
250
+ case "\\": return "\\\\";
251
+ case '"': return '&quot;';
252
+ case "'": return '&#39;';
253
+ case "<": return "&lt;";
254
+ case ">": return "&gt;";
255
+ default: return s;
256
+ }
257
+ });
258
+ },
259
+
260
+ // by @langalex, support for arrays of strings
261
+ create_context: function(_context) {
262
+ if(this.is_object(_context)) {
263
+ return _context;
264
+ } else {
265
+ var iterator = ".";
266
+ if(this.pragmas["IMPLICIT-ITERATOR"]) {
267
+ iterator = this.pragmas["IMPLICIT-ITERATOR"].iterator;
268
+ }
269
+ var ctx = {};
270
+ ctx[iterator] = _context;
271
+ return ctx;
272
+ }
273
+ },
274
+
275
+ is_object: function(a) {
276
+ return a && typeof a == "object";
277
+ },
278
+
279
+ is_array: function(a) {
280
+ return Object.prototype.toString.call(a) === '[object Array]';
281
+ },
282
+
283
+ /*
284
+ Gets rid of leading and trailing whitespace
285
+ */
286
+ trim: function(s) {
287
+ return s.replace(/^\s*|\s*$/g, "");
288
+ },
289
+
290
+ /*
291
+ Why, why, why? Because IE. Cry, cry cry.
292
+ */
293
+ map: function(array, fn) {
294
+ if (typeof array.map == "function") {
295
+ return array.map(fn);
296
+ } else {
297
+ var r = [];
298
+ var l = array.length;
299
+ for(var i = 0; i < l; i++) {
300
+ r.push(fn(array[i]));
301
+ }
302
+ return r;
303
+ }
304
+ }
305
+ };
306
+
307
+ return({
308
+ name: "mustache.js",
309
+ version: "0.3.1-dev",
310
+
311
+ /*
312
+ Turns a template and view into HTML
313
+ */
314
+ to_html: function(template, view, partials, send_fun) {
315
+ var renderer = new Renderer();
316
+ if(send_fun) {
317
+ renderer.send = send_fun;
318
+ }
319
+ renderer.render(template, view, partials);
320
+ if(!send_fun) {
321
+ return renderer.buffer.join("\n");
322
+ }
323
+ }
324
+ });
325
+ }();