@macallumharvey/first-test-wet 0.1.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (286) hide show
  1. package/dist/Macallum.d.ts +5 -0
  2. package/dist/WetButton.d.ts +9 -0
  3. package/dist/WetModal.d.ts +6 -0
  4. package/dist/first-test-wet.cjs.development.js +34 -6
  5. package/dist/first-test-wet.cjs.development.js.map +1 -1
  6. package/dist/first-test-wet.cjs.production.min.js +1 -1
  7. package/dist/first-test-wet.cjs.production.min.js.map +1 -1
  8. package/dist/first-test-wet.esm.js +31 -6
  9. package/dist/first-test-wet.esm.js.map +1 -1
  10. package/dist/index.d.ts +2 -2
  11. package/package.json +1 -1
  12. package/src/Macallum.tsx +9 -0
  13. package/src/WetButton.tsx +19 -0
  14. package/src/WetModal.tsx +25 -0
  15. package/src/index.tsx +2 -6
  16. package/src/wet-boew-cdn-4.0.81.1/Licence-fr.txt +1 -0
  17. package/src/wet-boew-cdn-4.0.81.1/License-en.txt +1 -0
  18. package/src/wet-boew-cdn-4.0.81.1/assets/cloud-popup-relative.png +0 -0
  19. package/src/wet-boew-cdn-4.0.81.1/assets/fd-slider-sprite.png +0 -0
  20. package/src/wet-boew-cdn-4.0.81.1/assets/loading.png +0 -0
  21. package/src/wet-boew-cdn-4.0.81.1/assets/mediacontrols.html +33 -0
  22. package/src/wet-boew-cdn-4.0.81.1/assets/sprites_share.png +0 -0
  23. package/src/wet-boew-cdn-4.0.81.1/assets/zoom-minus-mini.png +0 -0
  24. package/src/wet-boew-cdn-4.0.81.1/assets/zoom-plus-mini.png +0 -0
  25. package/src/wet-boew-cdn-4.0.81.1/assets/zoom-world-mini.png +0 -0
  26. package/src/wet-boew-cdn-4.0.81.1/css/noscript.css +112 -0
  27. package/src/wet-boew-cdn-4.0.81.1/css/noscript.min.css +6 -0
  28. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datalist.css +32 -0
  29. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datalist.min.css +1 -0
  30. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datepicker.css +47 -0
  31. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datepicker.min.css +1 -0
  32. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/details.css +28 -0
  33. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/details.min.css +1 -0
  34. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/mathml.css +16 -0
  35. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/mathml.min.css +1 -0
  36. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/meter.css +24 -0
  37. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/meter.min.css +1 -0
  38. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/progress.css +8 -0
  39. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/progress.min.css +1 -0
  40. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/slider.css +229 -0
  41. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/slider.min.css +1 -0
  42. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.eot +0 -0
  43. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.svg +288 -0
  44. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.ttf +0 -0
  45. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.woff +0 -0
  46. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.woff2 +0 -0
  47. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/mml-chtml.js +1 -0
  48. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
  49. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
  50. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
  51. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
  52. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
  53. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
  54. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
  55. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
  56. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
  57. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
  58. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
  59. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
  60. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
  61. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
  62. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
  63. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
  64. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
  65. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
  66. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
  67. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
  68. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
  69. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
  70. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
  71. package/src/wet-boew-cdn-4.0.81.1/js/deps/additional-methods.js +1512 -0
  72. package/src/wet-boew-cdn-4.0.81.1/js/deps/additional-methods.min.js +9 -0
  73. package/src/wet-boew-cdn-4.0.81.1/js/deps/geomap-lib.js +3770 -0
  74. package/src/wet-boew-cdn-4.0.81.1/js/deps/geomap-lib.min.js +1 -0
  75. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.dataTables.js +15733 -0
  76. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.dataTables.min.js +4 -0
  77. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.canvas.js +345 -0
  78. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.canvas.min.js +1 -0
  79. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.js +3168 -0
  80. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.min.js +1 -0
  81. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.orderBars.js +282 -0
  82. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.orderBars.min.js +1 -0
  83. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.pie.js +820 -0
  84. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.pie.min.js +1 -0
  85. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.magnific-popup.js +2061 -0
  86. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.magnific-popup.min.js +4 -0
  87. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.validate.js +1661 -0
  88. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.validate.min.js +9 -0
  89. package/src/wet-boew-cdn-4.0.81.1/js/deps/json-patch.js +315 -0
  90. package/src/wet-boew-cdn-4.0.81.1/js/deps/json-patch.min.js +1 -0
  91. package/src/wet-boew-cdn-4.0.81.1/js/deps/jsonpointer.js +349 -0
  92. package/src/wet-boew-cdn-4.0.81.1/js/deps/jsonpointer.min.js +1 -0
  93. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-apollo.js +53 -0
  94. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-apollo.min.js +1 -0
  95. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-basic.js +49 -0
  96. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-basic.min.js +1 -0
  97. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-clj.js +64 -0
  98. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-clj.min.js +1 -0
  99. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-css.js +160 -0
  100. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-css.min.js +1 -0
  101. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-dart.js +92 -0
  102. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-dart.min.js +1 -0
  103. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-erlang.js +94 -0
  104. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-erlang.min.js +1 -0
  105. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-go.js +59 -0
  106. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-go.min.js +1 -0
  107. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-hs.js +102 -0
  108. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-hs.min.js +1 -0
  109. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lasso.js +67 -0
  110. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lasso.min.js +1 -0
  111. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lisp.js +95 -0
  112. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lisp.min.js +1 -0
  113. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-llvm.js +63 -0
  114. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-llvm.min.js +1 -0
  115. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-logtalk.js +50 -0
  116. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-logtalk.min.js +1 -0
  117. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lua.js +60 -0
  118. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lua.min.js +1 -0
  119. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-matlab.js +183 -0
  120. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-matlab.min.js +1 -0
  121. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-ml.js +57 -0
  122. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-ml.min.js +1 -0
  123. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-mumps.js +140 -0
  124. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-mumps.min.js +1 -0
  125. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-n.js +67 -0
  126. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-n.min.js +1 -0
  127. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-pascal.js +49 -0
  128. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-pascal.min.js +1 -0
  129. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-proto.js +37 -0
  130. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-proto.min.js +1 -0
  131. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-r.js +59 -0
  132. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-r.min.js +1 -0
  133. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rd.js +50 -0
  134. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rd.min.js +1 -0
  135. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rust.js +81 -0
  136. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rust.min.js +1 -0
  137. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-scala.js +56 -0
  138. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-scala.min.js +1 -0
  139. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-sql.js +59 -0
  140. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-sql.min.js +1 -0
  141. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-swift.js +60 -0
  142. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-swift.min.js +1 -0
  143. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tcl.js +63 -0
  144. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tcl.min.js +1 -0
  145. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tex.js +49 -0
  146. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tex.min.js +1 -0
  147. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vb.js +67 -0
  148. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vb.min.js +1 -0
  149. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vhdl.js +51 -0
  150. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vhdl.min.js +1 -0
  151. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-wiki.js +55 -0
  152. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-wiki.min.js +1 -0
  153. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-xq.js +71 -0
  154. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-xq.min.js +1 -0
  155. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-yaml.js +45 -0
  156. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-yaml.min.js +1 -0
  157. package/src/wet-boew-cdn-4.0.81.1/js/deps/ol.js +1008 -0
  158. package/src/wet-boew-cdn-4.0.81.1/js/deps/ol.min.js +1 -0
  159. package/src/wet-boew-cdn-4.0.81.1/js/deps/prettify.js +1742 -0
  160. package/src/wet-boew-cdn-4.0.81.1/js/deps/prettify.min.js +1 -0
  161. package/src/wet-boew-cdn-4.0.81.1/js/deps/proj4.js +3 -0
  162. package/src/wet-boew-cdn-4.0.81.1/js/deps/proj4.min.js +1 -0
  163. package/src/wet-boew-cdn-4.0.81.1/js/deps/run_prettify.js +1998 -0
  164. package/src/wet-boew-cdn-4.0.81.1/js/deps/run_prettify.min.js +1 -0
  165. package/src/wet-boew-cdn-4.0.81.1/js/deps/tableparser.js +2216 -0
  166. package/src/wet-boew-cdn-4.0.81.1/js/deps/tableparser.min.js +1 -0
  167. package/src/wet-boew-cdn-4.0.81.1/js/deps/unorm.js +452 -0
  168. package/src/wet-boew-cdn-4.0.81.1/js/deps/unorm.min.js +1 -0
  169. package/src/wet-boew-cdn-4.0.81.1/js/i18n/af.js +254 -0
  170. package/src/wet-boew-cdn-4.0.81.1/js/i18n/af.min.js +7 -0
  171. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ar.js +293 -0
  172. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ar.min.js +7 -0
  173. package/src/wet-boew-cdn-4.0.81.1/js/i18n/bg.js +293 -0
  174. package/src/wet-boew-cdn-4.0.81.1/js/i18n/bg.min.js +7 -0
  175. package/src/wet-boew-cdn-4.0.81.1/js/i18n/cs.js +294 -0
  176. package/src/wet-boew-cdn-4.0.81.1/js/i18n/cs.min.js +7 -0
  177. package/src/wet-boew-cdn-4.0.81.1/js/i18n/de.js +363 -0
  178. package/src/wet-boew-cdn-4.0.81.1/js/i18n/de.min.js +7 -0
  179. package/src/wet-boew-cdn-4.0.81.1/js/i18n/el.js +293 -0
  180. package/src/wet-boew-cdn-4.0.81.1/js/i18n/el.min.js +7 -0
  181. package/src/wet-boew-cdn-4.0.81.1/js/i18n/en.js +254 -0
  182. package/src/wet-boew-cdn-4.0.81.1/js/i18n/en.min.js +7 -0
  183. package/src/wet-boew-cdn-4.0.81.1/js/i18n/es.js +296 -0
  184. package/src/wet-boew-cdn-4.0.81.1/js/i18n/es.min.js +7 -0
  185. package/src/wet-boew-cdn-4.0.81.1/js/i18n/et.js +291 -0
  186. package/src/wet-boew-cdn-4.0.81.1/js/i18n/et.min.js +7 -0
  187. package/src/wet-boew-cdn-4.0.81.1/js/i18n/fr.js +322 -0
  188. package/src/wet-boew-cdn-4.0.81.1/js/i18n/fr.min.js +7 -0
  189. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hi.js +254 -0
  190. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hi.min.js +7 -0
  191. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hu.js +293 -0
  192. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hu.min.js +7 -0
  193. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hy.js +254 -0
  194. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hy.min.js +7 -0
  195. package/src/wet-boew-cdn-4.0.81.1/js/i18n/id.js +292 -0
  196. package/src/wet-boew-cdn-4.0.81.1/js/i18n/id.min.js +7 -0
  197. package/src/wet-boew-cdn-4.0.81.1/js/i18n/is.js +291 -0
  198. package/src/wet-boew-cdn-4.0.81.1/js/i18n/is.min.js +7 -0
  199. package/src/wet-boew-cdn-4.0.81.1/js/i18n/it.js +320 -0
  200. package/src/wet-boew-cdn-4.0.81.1/js/i18n/it.min.js +7 -0
  201. package/src/wet-boew-cdn-4.0.81.1/js/i18n/iu.js +254 -0
  202. package/src/wet-boew-cdn-4.0.81.1/js/i18n/iu.min.js +7 -0
  203. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ja.js +294 -0
  204. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ja.min.js +7 -0
  205. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ko.js +293 -0
  206. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ko.min.js +7 -0
  207. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lt.js +293 -0
  208. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lt.min.js +7 -0
  209. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lv.js +293 -0
  210. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lv.min.js +7 -0
  211. package/src/wet-boew-cdn-4.0.81.1/js/i18n/nl.js +327 -0
  212. package/src/wet-boew-cdn-4.0.81.1/js/i18n/nl.min.js +7 -0
  213. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pl.js +296 -0
  214. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pl.min.js +7 -0
  215. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt-BR.js +254 -0
  216. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt-BR.min.js +7 -0
  217. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt.js +279 -0
  218. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt.min.js +7 -0
  219. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ru.js +293 -0
  220. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ru.min.js +7 -0
  221. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sk.js +291 -0
  222. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sk.min.js +7 -0
  223. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sq.js +254 -0
  224. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sq.min.js +7 -0
  225. package/src/wet-boew-cdn-4.0.81.1/js/i18n/th.js +293 -0
  226. package/src/wet-boew-cdn-4.0.81.1/js/i18n/th.min.js +7 -0
  227. package/src/wet-boew-cdn-4.0.81.1/js/i18n/tr.js +295 -0
  228. package/src/wet-boew-cdn-4.0.81.1/js/i18n/tr.min.js +7 -0
  229. package/src/wet-boew-cdn-4.0.81.1/js/i18n/uk.js +293 -0
  230. package/src/wet-boew-cdn-4.0.81.1/js/i18n/uk.min.js +7 -0
  231. package/src/wet-boew-cdn-4.0.81.1/js/i18n/vi.js +293 -0
  232. package/src/wet-boew-cdn-4.0.81.1/js/i18n/vi.min.js +7 -0
  233. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh-Hans.js +254 -0
  234. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh-Hans.min.js +7 -0
  235. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh.js +294 -0
  236. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh.min.js +7 -0
  237. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.js +10 -0
  238. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js +7 -0
  239. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js.map +1 -0
  240. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.js +10 -0
  241. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js +7 -0
  242. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js.map +1 -0
  243. package/src/wet-boew-cdn-4.0.81.1/js/jquery/2.2.4/jquery.js +9814 -0
  244. package/src/wet-boew-cdn-4.0.81.1/js/jquery/2.2.4/jquery.min.js +4 -0
  245. package/src/wet-boew-cdn-4.0.81.1/js/jquery/2.2.4/jquery.min.map +1 -0
  246. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.js +419 -0
  247. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js +8 -0
  248. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js.map +1 -0
  249. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.js +50 -0
  250. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.min.js +8 -0
  251. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.min.js.map +1 -0
  252. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.js +338 -0
  253. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js +8 -0
  254. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js.map +1 -0
  255. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.js +126 -0
  256. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js +8 -0
  257. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js.map +1 -0
  258. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.js +47 -0
  259. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.min.js +16 -0
  260. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.min.js.map +1 -0
  261. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.js +140 -0
  262. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js +8 -0
  263. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js.map +1 -0
  264. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.js +784 -0
  265. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js +8 -0
  266. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js.map +1 -0
  267. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.js +107 -0
  268. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js +8 -0
  269. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js.map +1 -0
  270. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.js +1343 -0
  271. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js +9 -0
  272. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js.map +1 -0
  273. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.js +73 -0
  274. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.min.js +8 -0
  275. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.min.js.map +1 -0
  276. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.js +29 -0
  277. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.min.js +8 -0
  278. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.min.js.map +1 -0
  279. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.js +603 -0
  280. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.min.js +8 -0
  281. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.min.js.map +1 -0
  282. package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.js +20264 -0
  283. package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js +9 -0
  284. package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js.map +1 -0
  285. package/src/wet-boew-cdn-4.0.81.1/package.json +15 -0
  286. package/src/wet-boew-cdn-4.0.81.1/payload.json +1722 -0
@@ -0,0 +1 @@
1
+ var DecorationsT,JobT,SourceSpansT,HACK_TO_FIX_JS_INCLUDE_PL,PR,prettyPrintOne,prettyPrint,IN_GLOBAL_SCOPE=!1;window.PR_SHOULD_USE_CONTINUATION=!0,function(){var A=window,e=["break,continue,do,else,for,if,return,while"],n=[[e,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],t=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],r=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],s=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],n=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],a="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",l=[e,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],o=[e,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],e=[e,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],i=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,u="str",c="com",d="typ",p="lit",f="pun",P="pln",E="src",g="atv";function h(e){for(var u=0,c=!1,n=!1,t=0,r=e.length;t<r;++t)if((l=e[t]).ignoreCase)n=!0;else if(/[a-z]/i.test(l.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!(c=!0);break}var s={b:8,t:9,n:10,v:11,f:12,r:13};function d(e){var n=e.charCodeAt(0);return 92!==n?n:(n=e.charAt(1),s[n]||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1)))}function p(e){return e<32?(e<16?"\\x0":"\\x")+e.toString(16):"\\"===(e=String.fromCharCode(e))||"-"===e||"]"===e||"^"===e?"\\"+e:e}function a(e){for(var n=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),t=n.length,r=[],s=0,a=0;s<t;++s)"("===(o=n[s])?++a:"\\"===o.charAt(0)&&(l=+o.substring(1))&&(l<=a?r[l]=-1:n[s]=p(l));for(s=1;s<r.length;++s)-1===r[s]&&(r[s]=++u);for(var l,s=0,a=0;s<t;++s)"("===(o=n[s])?r[++a]||(n[s]="(?:"):"\\"===o.charAt(0)&&(l=+o.substring(1))&&l<=a&&(n[s]="\\"+r[l]);for(s=0;s<t;++s)"^"===n[s]&&"^"!==n[s+1]&&(n[s]="");if(e.ignoreCase&&c)for(s=0;s<t;++s){var o,i=(o=n[s]).charAt(0);2<=o.length&&"["===i?n[s]=function(e){var n=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),t=[],e="^"===n[0],r=["["];e&&r.push("^");for(var s=e?1:0,a=n.length;s<a;++s){var l,o=n[s];/\\[bdsw]/i.test(o)?r.push(o):(o=d(o),s+2<a&&"-"===n[s+1]?(l=d(n[s+2]),s+=2):l=o,t.push([o,l]),l<65||122<o||(l<65||90<o||t.push([32|Math.max(65,o),32|Math.min(l,90)]),l<97)||122<o||t.push([-33&Math.max(97,o),-33&Math.min(l,122)]))}t.sort(function(e,n){return e[0]-n[0]||n[1]-e[1]});for(var i=[],u=[],s=0;s<t.length;++s)(c=t[s])[0]<=u[1]+1?u[1]=Math.max(u[1],c[1]):i.push(u=c);for(s=0;s<i.length;++s){var c=i[s];r.push(p(c[0])),c[1]>c[0]&&(c[1]+1>c[0]&&r.push("-"),r.push(p(c[1])))}return r.push("]"),r.join("")}(o):"\\"!==i&&(n[s]=o.replace(/[a-zA-Z]/g,function(e){e=e.charCodeAt(0);return"["+String.fromCharCode(-33&e,32|e)+"]"}))}return n.join("")}for(var l,o=[],t=0,r=e.length;t<r;++t){if((l=e[t]).global||l.multiline)throw new Error(""+l);o.push("(?:"+a(l)+")")}return new RegExp(o.join("|"),n?"gi":"g")}function T(e,a){var l=/(?:^|\s)nocode(?:\s|$)/,o=[],i=0,u=[],c=0;return function e(n){var t=n.nodeType;if(1==t){if(!l.test(n.className)){for(var r=n.firstChild;r;r=r.nextSibling)e(r);var s=n.nodeName.toLowerCase();"br"!==s&&"li"!==s||(o[c]="\n",u[c<<1]=i++,u[c++<<1|1]=n)}}else 3!=t&&4!=t||(s=n.nodeValue).length&&(s=a?s.replace(/\r\n?/g,"\n"):s.replace(/[ \t\r\n]+/g," "),o[c]=s,u[c<<1]=i,i+=s.length,u[c++<<1|1]=n)}(e),{sourceCode:o.join("").replace(/\n$/,""),spans:u}}function L(e,n,t,r,s){t&&(r(r={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:t,spans:null,basePos:n,decorations:null}),s.push.apply(s,r.decorations))}var k=/\S/;function m(e,w){for(var S,C={},n=e.concat(w),t=[],r={},s=0,a=n.length;s<a;++s){var l=n[s],o=l[3];if(o)for(var i=o.length;0<=--i;)C[o.charAt(i)]=l;var u=l[1],c=""+u;r.hasOwnProperty(c)||(t.push(u),r[c]=null)}t.push(/[\0-\uffff]/),S=h(t);function N(e){for(var n=e.sourceCode,t=e.basePos,r=e.sourceNode,s=[t,P],a=0,l=n.match(S)||[],o={},i=0,u=l.length;i<u;++i){var c,d=l[i],p=o[d],f=void 0;if("string"==typeof p)c=!1;else{var g=C[d.charAt(0)];if(g)f=d.match(g[1]),p=g[0];else{for(var h=0;h<_;++h)if(g=w[h],f=d.match(g[1])){p=g[0];break}f||(p=P)}!(c=5<=p.length&&"lang-"===p.substring(0,5))||f&&"string"==typeof f[1]||(c=!1,p=E),c||(o[d]=p)}var m,y,v,b,x=a;a+=d.length,c?(m=f[1],v=(y=d.indexOf(m))+m.length,f[2]&&(y=(v=d.length-f[2].length)-m.length),b=p.substring(5),L(r,t+x,d.substring(0,y),N,s),L(r,t+x+y,m,$(b,m),s),L(r,t+x+v,d.substring(v),N,s)):s.push(t+x,p)}e.decorations=s}var _=w.length;return N}function y(e){var n=[],t=[],r=(e.tripleQuotedStrings?n.push([u,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?n.push([u,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):n.push([u,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&t.push([u,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]),e.hashComments),r=(r&&(e.cStyleComments?(n.push(1<r?[c,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]:[c,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),t.push([u,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):n.push([c,/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(t.push([c,/^\/\/[^\r\n]*/,null]),t.push([c,/^\/\*[\s\S]*?(?:\*\/|$)/,null])),e.regexLiterals),r=(r&&(s=(r=1<r?"":"\n\r")?".":"[\\S\\s]",t.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+("/(?=[^/*"+r+"])(?:[^/\\x5B\\x5C"+r+"]|\\x5C"+s+"|\\x5B(?:[^\\x5C\\x5D"+r+"]|\\x5C"+s+")*(?:\\x5D|$))+/")+")")])),e.types),s=(r&&t.push([d,r]),(""+e.keywords).replace(/^ | $/g,"")),r=(s.length&&t.push(["kwd",new RegExp("^(?:"+s.replace(/[\s,]+/g,"|")+")\\b"),null]),n.push([P,/^\s+/,null," \r\n\t "]),"^.[^\\s\\w.$@'\"`/\\\\]*");return e.regexLiterals&&(r+="(?!s*/)"),t.push([p,/^@[a-z_$][a-z_$@0-9]*/i,null],[d,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[P,/^[a-z_$][a-z_$@0-9]*/i,null],[p,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[P,/^\\[\s\S]?/,null],[f,new RegExp(r),null]),m(n,t)}var v=y({keywords:[t,s,r,n,a,l,o,e],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function R(e,n,l){for(var o=/(?:^|\s)nocode(?:\s|$)/,i=/\r\n?|\n/,u=e.ownerDocument,t=u.createElement("li");e.firstChild;)t.appendChild(e.firstChild);var r=[t];function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var n,t=function e(n,t){var t=t?n.cloneNode(!1):n,r=n.parentNode;if(r){var s=e(r,1),a=n.nextSibling;s.appendChild(t);for(var l=a;l;l=a)a=l.nextSibling,s.appendChild(l)}return t}(e.nextSibling,0);(n=t.parentNode)&&1===n.nodeType;)t=n;r.push(t)}for(var s=0;s<r.length;++s)!function e(n){var t,r,s=n.nodeType;if(1!=s||o.test(n.className))3!=s&&4!=s||!l||(t=(s=n.nodeValue).match(i))&&(r=s.substring(0,t.index),n.nodeValue=r,(s=s.substring(t.index+t[0].length))&&n.parentNode.insertBefore(u.createTextNode(s),n.nextSibling),c(n),r||n.parentNode.removeChild(n));else if("br"===n.nodeName)c(n),n.parentNode&&n.parentNode.removeChild(n);else for(var a=n.firstChild;a;a=a.nextSibling)e(a)}(r[s]);n===(0|n)&&r[0].setAttribute("value",n);for(var a=u.createElement("ol"),d=(a.className="linenums",Math.max(0,n-1|0)||0),s=0,p=r.length;s<p;++s)(t=r[s]).className="L"+(s+d)%10,t.firstChild||t.appendChild(u.createTextNode(" ")),a.appendChild(t);e.appendChild(a)}var b={};function x(e,n){for(var t=n.length;0<=--t;){var r=n[t];b.hasOwnProperty(r)?A.console&&console.warn("cannot override language handler %s",r):b[r]=e}}function $(e,n){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(n)?"default-markup":"default-code"),b[e]}function O(e){var n=e.langExtension;try{var t,r,s=T(e.sourceNode,e.pre),a=s.sourceCode,l=(e.sourceCode=a,e.spans=s.spans,e.basePos=0,$(n,a)(e),e),o=(o=/\bMSIE\s(\d+)/.exec(navigator.userAgent))&&+o[1]<=8,i=/\n/g,u=l.sourceCode,c=u.length,d=0,p=l.spans,f=p.length,g=0,h=l.decorations,m=0;for(h[x=h.length]=c,r=t=0;r<x;)h[r]!==h[r+2]?(h[t++]=h[r++],h[t++]=h[r++]):r+=2;for(x=t,r=t=0;r<x;){for(var y=h[r],v=h[r+1],b=r+2;b+2<=x&&h[b+1]===v;)b+=2;h[t++]=y,h[t++]=v,r=b}var x=h.length=t,l=l.sourceNode,w="";l&&(w=l.style.display,l.style.display="none");try{for(;g<f;){p[g];var S,C,N,_,P=p[g+2]||c,E=h[m+2]||c,b=Math.min(P,E),L=p[g+1];1!==L.nodeType&&(S=u.substring(d,b))&&(o&&(S=S.replace(i,"\r")),L.nodeValue=S,(N=(C=L.ownerDocument).createElement("span")).className=h[m+1],(_=L.parentNode).replaceChild(N,L),N.appendChild(L),d<P)&&(p[g+1]=L=C.createTextNode(u.substring(b,P)),_.insertBefore(L,N.nextSibling)),P<=(d=b)&&(g+=2),E<=d&&(m+=2)}}finally{l&&(l.style.display=w)}}catch(e){A.console&&console.log(e&&e.stack||e)}}function w(e,n,t){var t=t||!1,n=n||null,r=document.createElement("div");return r.innerHTML="<pre>"+e+"</pre>",r=r.firstChild,t&&R(r,t,!0),O({langExtension:n,numberLines:t,sourceNode:r,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),r.innerHTML}function S(h,e){var n=e||document.body,m=n.ownerDocument||document;function t(e){return n.getElementsByTagName(e)}for(var r=[t("pre"),t("code"),t("xmp")],y=[],s=0;s<r.length;++s)for(var a=0,l=r[s].length;a<l;++a)y.push(r[s][a]);var r=null,v=Date,b=(v.now||(v={now:function(){return+new Date}}),0),x=/\blang(?:uage)?-([\w.]+)(?!\S)/,w=/\bprettyprint\b/,S=/\bprettyprinted\b/,C=/pre|xmp/i,N=/^code$/i,_=/^(?:pre|code|xmp)$/i,P={};!function e(){for(var n=A.PR_SHOULD_USE_CONTINUATION?v.now()+250:1/0;b<y.length&&v.now()<n;b++){for(var t=y[b],r=P,s=t;s=s.previousSibling;){var a=s.nodeType,l=(7===a||8===a)&&s.nodeValue;if(l?!/^\??prettify\b/.test(l):3!==a||/\S/.test(s.nodeValue))break;if(l){r={},l.replace(/\b(\w+)=([\w:.%+-]+)/g,function(e,n,t){r[n]=t});break}}var o=t.className;if((r!==P||w.test(o))&&!S.test(o)){for(var i,u,c,d,p=!1,f=t.parentNode;f;f=f.parentNode){var g=f.tagName;if(_.test(g)&&f.className&&w.test(f.className)){p=!0;break}}p||(t.className+=" prettyprinted",i=(i=r.lang)||(i=!(i=o.match(x))&&(u=function(e){for(var n=void 0,t=e.firstChild;t;t=t.nextSibling)var r=t.nodeType,n=1===r?n?e:t:3===r&&k.test(t.nodeValue)?e:n;return n===e?void 0:n}(t))&&N.test(u.tagName)?u.className.match(x):i)&&i[1],c=C.test(t.tagName)?1:(u=t.currentStyle,c=m.defaultView,(c=u?u.whiteSpace:c&&c.getComputedStyle?c.getComputedStyle(t,null).getPropertyValue("white-space"):0)&&"pre"===c.substring(0,3)),(d=(d="true"===(d=r.linenums)||+d)||!!(d=o.match(/\blinenums\b(?::(\d+))?/))&&(!d[1]||!d[1].length||+d[1]))&&R(t,d,c),O({langExtension:i,sourceNode:t,numberLines:d,pre:c,sourceCode:null,basePos:null,spans:null,decorations:null}))}}b<y.length?A.setTimeout(e,250):"function"==typeof h&&h()}()}x(v,["default-code"]),x(m([],[[P,/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],[c,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[f,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),x(m([[P,/^[\s]+/,null," \t\r\n"],[g,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[f,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),x(m([],[[g,/^[\s\S]+/]]),["uq.val"]),x(y({keywords:t,hashComments:!0,cStyleComments:!0,types:i}),["c","cc","cpp","cxx","cyc","m"]),x(y({keywords:"null,true,false"}),["json"]),x(y({keywords:s,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:i}),["cs"]),x(y({keywords:r,cStyleComments:!0}),["java"]),x(y({keywords:e,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),x(y({keywords:l,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),x(y({keywords:a,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),x(y({keywords:o,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),x(y({keywords:n,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),x(y({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),x(m([],[[u,/^[\s\S]+/]]),["regex"]);var C=A.PR={createSimpleLexer:m,registerLangHandler:x,sourceDecorator:y,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:g,PR_COMMENT:c,PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:p,PR_NOCODE:"nocode",PR_PLAIN:P,PR_PUNCTUATION:f,PR_SOURCE:E,PR_STRING:u,PR_TAG:"tag",PR_TYPE:d,prettyPrintOne:IN_GLOBAL_SCOPE?A.prettyPrintOne=w:prettyPrintOne=w,prettyPrint:prettyPrint=IN_GLOBAL_SCOPE?A.prettyPrint=S:S},v=A.define;"function"==typeof v&&v.amd&&v("google-code-prettify",[],function(){return C})}();
@@ -0,0 +1,3 @@
1
+ !function(a){if("object"==typeof exports)module.exports=a();else if("function"==typeof define&&define.amd)define(a);else{var b;"undefined"!=typeof window?b=window:"undefined"!=typeof global?b=global:"undefined"!=typeof self&&(b=self),b.proj4=a()}}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b){function Point(a,b,c){if(!(this instanceof Point))return new Point(a,b,c);if(Array.isArray(a))this.x=a[0],this.y=a[1],this.z=a[2]||0;else if("object"==typeof a)this.x=a.x,this.y=a.y,this.z=a.z||0;else if("string"==typeof a&&"undefined"==typeof b){var d=a.split(",");this.x=parseFloat(d[0],10),this.y=parseFloat(d[1],10),this.z=parseFloat(d[2],10)||0}else this.x=a,this.y=b,this.z=c||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}var c=a("mgrs");Point.fromMGRS=function(a){return new Point(c.toPoint(a))},Point.prototype.toMGRS=function(a){return c.forward([this.x,this.y],a)},b.exports=Point},{mgrs:66}],2:[function(a,b){function Projection(a,b){if(!(this instanceof Projection))return new Projection(a);b=b||function(a){if(a)throw a};var e=c(a);if("object"!=typeof e)return void b(a);var g=f(e),h=Projection.projections.get(g.projName);h?(d(this,g),d(this,h),this.init(),b(null,this)):b(a)}var c=a("./parseCode"),d=a("./extend"),e=a("./projections"),f=a("./deriveConstants");Projection.projections=e,Projection.projections.start(),b.exports=Projection},{"./deriveConstants":32,"./extend":33,"./parseCode":36,"./projections":38}],3:[function(a,b){b.exports=function(a,b,c){var d,e,f,g=c.x,h=c.y,i=c.z||0;for(f=0;3>f;f++)if(!b||2!==f||void 0!==c.z)switch(0===f?(d=g,e="x"):1===f?(d=h,e="y"):(d=i,e="z"),a.axis[f]){case"e":c[e]=d;break;case"w":c[e]=-d;break;case"n":c[e]=d;break;case"s":c[e]=-d;break;case"u":void 0!==c[e]&&(c.z=d);break;case"d":void 0!==c[e]&&(c.z=-d);break;default:return null}return c}},{}],4:[function(a,b){var c=Math.PI/2,d=a("./sign");b.exports=function(a){return Math.abs(a)<c?a:a-d(a)*Math.PI}},{"./sign":21}],5:[function(a,b){var c=2*Math.PI,d=3.14159265359,e=a("./sign");b.exports=function(a){return Math.abs(a)<=d?a:a-e(a)*c}},{"./sign":21}],6:[function(a,b){b.exports=function(a){return Math.abs(a)>1&&(a=a>1?1:-1),Math.asin(a)}},{}],7:[function(a,b){b.exports=function(a){return 1-.25*a*(1+a/16*(3+1.25*a))}},{}],8:[function(a,b){b.exports=function(a){return.375*a*(1+.25*a*(1+.46875*a))}},{}],9:[function(a,b){b.exports=function(a){return.05859375*a*a*(1+.75*a)}},{}],10:[function(a,b){b.exports=function(a){return a*a*a*(35/3072)}},{}],11:[function(a,b){b.exports=function(a,b,c){var d=b*c;return a/Math.sqrt(1-d*d)}},{}],12:[function(a,b){b.exports=function(a,b,c,d,e){var f,g;f=a/b;for(var h=0;15>h;h++)if(g=(a-(b*f-c*Math.sin(2*f)+d*Math.sin(4*f)-e*Math.sin(6*f)))/(b-2*c*Math.cos(2*f)+4*d*Math.cos(4*f)-6*e*Math.cos(6*f)),f+=g,Math.abs(g)<=1e-10)return f;return 0/0}},{}],13:[function(a,b){var c=Math.PI/2;b.exports=function(a,b){var d=1-(1-a*a)/(2*a)*Math.log((1-a)/(1+a));if(Math.abs(Math.abs(b)-d)<1e-6)return 0>b?-1*c:c;for(var e,f,g,h,i=Math.asin(.5*b),j=0;30>j;j++)if(f=Math.sin(i),g=Math.cos(i),h=a*f,e=Math.pow(1-h*h,2)/(2*g)*(b/(1-a*a)-f/(1-h*h)+.5/a*Math.log((1-h)/(1+h))),i+=e,Math.abs(e)<=1e-10)return i;return 0/0}},{}],14:[function(a,b){b.exports=function(a,b,c,d,e){return a*e-b*Math.sin(2*e)+c*Math.sin(4*e)-d*Math.sin(6*e)}},{}],15:[function(a,b){b.exports=function(a,b,c){var d=a*b;return c/Math.sqrt(1-d*d)}},{}],16:[function(a,b){var c=Math.PI/2;b.exports=function(a,b){for(var d,e,f=.5*a,g=c-2*Math.atan(b),h=0;15>=h;h++)if(d=a*Math.sin(g),e=c-2*Math.atan(b*Math.pow((1-d)/(1+d),f))-g,g+=e,Math.abs(e)<=1e-10)return g;return-9999}},{}],17:[function(a,b){var c=1,d=.25,e=.046875,f=.01953125,g=.01068115234375,h=.75,i=.46875,j=.013020833333333334,k=.007120768229166667,l=.3645833333333333,m=.005696614583333333,n=.3076171875;b.exports=function(a){var b=[];b[0]=c-a*(d+a*(e+a*(f+a*g))),b[1]=a*(h-a*(e+a*(f+a*g)));var o=a*a;return b[2]=o*(i-a*(j+a*k)),o*=a,b[3]=o*(l-a*m),b[4]=o*a*n,b}},{}],18:[function(a,b){var c=a("./pj_mlfn"),d=1e-10,e=20;b.exports=function(a,b,f){for(var g=1/(1-b),h=a,i=e;i;--i){var j=Math.sin(h),k=1-b*j*j;if(k=(c(h,j,Math.cos(h),f)-a)*k*Math.sqrt(k)*g,h-=k,Math.abs(k)<d)return h}return h}},{"./pj_mlfn":19}],19:[function(a,b){b.exports=function(a,b,c,d){return c*=b,b*=b,d[0]*a-c*(d[1]+b*(d[2]+b*(d[3]+b*d[4])))}},{}],20:[function(a,b){b.exports=function(a,b){var c;return a>1e-7?(c=a*b,(1-a*a)*(b/(1-c*c)-.5/a*Math.log((1-c)/(1+c)))):2*b}},{}],21:[function(a,b){b.exports=function(a){return 0>a?-1:1}},{}],22:[function(a,b){b.exports=function(a,b){return Math.pow((1-a)/(1+a),b)}},{}],23:[function(a,b){b.exports=function(a){var b={x:a[0],y:a[1]};return a.length>2&&(b.z=a[2]),a.length>3&&(b.m=a[3]),b}},{}],24:[function(a,b){var c=Math.PI/2;b.exports=function(a,b,d){var e=a*d,f=.5*a;return e=Math.pow((1-e)/(1+e),f),Math.tan(.5*(c-b))/e}},{}],25:[function(a,b,c){c.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},c.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},c.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},c.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},c.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},c.potsdam={towgs84:"606.0,23.0,413.0",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},c.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},c.hermannskogel={towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"},c.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},c.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},c.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},c.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},c.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},c.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},c.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},c.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"}},{}],26:[function(a,b,c){c.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"},c.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},c.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},c.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"},c.airy={a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},c.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},c.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},c.mod_airy={a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},c.andrae={a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},c.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},c.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},c.bessel={a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},c.bess_nam={a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},c.clrk66={a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},c.clrk80={a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},c.clrk58={a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},c.CPM={a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},c.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},c.engelis={a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},c.evrst30={a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},c.evrst48={a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},c.evrst56={a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},c.evrst69={a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},c.evrstSS={a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},c.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},c.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"},c.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"},c.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"},c.hough={a:6378270,rf:297,ellipseName:"Hough"},c.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},c.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"},c.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"},c.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"},c.new_intl={a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},c.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},c.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},c.SEasia={a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},c.walbeck={a:6376896,b:6355834.8467,ellipseName:"Walbeck"},c.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"},c.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"},c.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"},c.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"},c.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"}},{}],27:[function(a,b,c){c.greenwich=0,c.lisbon=-9.131906111111,c.paris=2.337229166667,c.bogota=-74.080916666667,c.madrid=-3.687938888889,c.rome=12.452333333333,c.bern=7.439583333333,c.jakarta=106.807719444444,c.ferro=-17.666666666667,c.brussels=4.367975,c.stockholm=18.058277777778,c.athens=23.7163375,c.oslo=10.722916666667},{}],28:[function(a,b){function c(a,b,c){var d;return Array.isArray(c)?(d=f(a,b,c),3===c.length?[d.x,d.y,d.z]:[d.x,d.y]):f(a,b,c)}function d(a){return a instanceof e?a:a.oProj?a.oProj:e(a)}function proj4(a,b,e){a=d(a);var f,h=!1;return"undefined"==typeof b?(b=a,a=g,h=!0):("undefined"!=typeof b.x||Array.isArray(b))&&(e=b,b=a,a=g,h=!0),b=d(b),e?c(a,b,e):(f={forward:function(d){return c(a,b,d)},inverse:function(d){return c(b,a,d)}},h&&(f.oProj=b),f)}var e=a("./Proj"),f=a("./transform"),g=e("WGS84");b.exports=proj4},{"./Proj":2,"./transform":64}],29:[function(a,b){var c=Math.PI/2,d=1,e=2,f=3,g=4,h=5,i=484813681109536e-20,j=1.0026,k=.3826834323650898,l=function(a){if(!(this instanceof l))return new l(a);if(this.datum_type=g,a){if(a.datumCode&&"none"===a.datumCode&&(this.datum_type=h),a.datum_params){for(var b=0;b<a.datum_params.length;b++)a.datum_params[b]=parseFloat(a.datum_params[b]);(0!==a.datum_params[0]||0!==a.datum_params[1]||0!==a.datum_params[2])&&(this.datum_type=d),a.datum_params.length>3&&(0!==a.datum_params[3]||0!==a.datum_params[4]||0!==a.datum_params[5]||0!==a.datum_params[6])&&(this.datum_type=e,a.datum_params[3]*=i,a.datum_params[4]*=i,a.datum_params[5]*=i,a.datum_params[6]=a.datum_params[6]/1e6+1)}this.datum_type=a.grids?f:this.datum_type,this.a=a.a,this.b=a.b,this.es=a.es,this.ep2=a.ep2,this.datum_params=a.datum_params,this.datum_type===f&&(this.grids=a.grids)}};l.prototype={compare_datums:function(a){return this.datum_type!==a.datum_type?!1:this.a!==a.a||Math.abs(this.es-a.es)>5e-11?!1:this.datum_type===d?this.datum_params[0]===a.datum_params[0]&&this.datum_params[1]===a.datum_params[1]&&this.datum_params[2]===a.datum_params[2]:this.datum_type===e?this.datum_params[0]===a.datum_params[0]&&this.datum_params[1]===a.datum_params[1]&&this.datum_params[2]===a.datum_params[2]&&this.datum_params[3]===a.datum_params[3]&&this.datum_params[4]===a.datum_params[4]&&this.datum_params[5]===a.datum_params[5]&&this.datum_params[6]===a.datum_params[6]:this.datum_type===f||a.datum_type===f?this.nadgrids===a.nadgrids:!0},geodetic_to_geocentric:function(a){var b,d,e,f,g,h,i,j=a.x,k=a.y,l=a.z?a.z:0,m=0;if(-c>k&&k>-1.001*c)k=-c;else if(k>c&&1.001*c>k)k=c;else if(-c>k||k>c)return null;return j>Math.PI&&(j-=2*Math.PI),g=Math.sin(k),i=Math.cos(k),h=g*g,f=this.a/Math.sqrt(1-this.es*h),b=(f+l)*i*Math.cos(j),d=(f+l)*i*Math.sin(j),e=(f*(1-this.es)+l)*g,a.x=b,a.y=d,a.z=e,m},geocentric_to_geodetic:function(a){var b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t=1e-12,u=t*t,v=30,w=a.x,x=a.y,y=a.z?a.z:0;if(o=!1,b=Math.sqrt(w*w+x*x),d=Math.sqrt(w*w+x*x+y*y),b/this.a<t){if(o=!0,q=0,d/this.a<t)return r=c,void(s=-this.b)}else q=Math.atan2(x,w);e=y/d,f=b/d,g=1/Math.sqrt(1-this.es*(2-this.es)*f*f),j=f*(1-this.es)*g,k=e*g,p=0;do p++,i=this.a/Math.sqrt(1-this.es*k*k),s=b*j+y*k-i*(1-this.es*k*k),h=this.es*i/(i+s),g=1/Math.sqrt(1-h*(2-h)*f*f),l=f*(1-h)*g,m=e*g,n=m*j-l*k,j=l,k=m;while(n*n>u&&v>p);return r=Math.atan(m/Math.abs(l)),a.x=q,a.y=r,a.z=s,a},geocentric_to_geodetic_noniter:function(a){var b,d,e,f,g,h,i,l,m,n,o,p,q,r,s,t,u,v=a.x,w=a.y,x=a.z?a.z:0;if(v=parseFloat(v),w=parseFloat(w),x=parseFloat(x),u=!1,0!==v)b=Math.atan2(w,v);else if(w>0)b=c;else if(0>w)b=-c;else if(u=!0,b=0,x>0)d=c;else{if(!(0>x))return d=c,void(e=-this.b);d=-c}return g=v*v+w*w,f=Math.sqrt(g),h=x*j,l=Math.sqrt(h*h+g),n=h/l,p=f/l,o=n*n*n,i=x+this.b*this.ep2*o,t=f-this.a*this.es*p*p*p,m=Math.sqrt(i*i+t*t),q=i/m,r=t/m,s=this.a/Math.sqrt(1-this.es*q*q),e=r>=k?f/r-s:-k>=r?f/-r-s:x/q+s*(this.es-1),u===!1&&(d=Math.atan(q/r)),a.x=b,a.y=d,a.z=e,a},geocentric_to_wgs84:function(a){if(this.datum_type===d)a.x+=this.datum_params[0],a.y+=this.datum_params[1],a.z+=this.datum_params[2];else if(this.datum_type===e){var b=this.datum_params[0],c=this.datum_params[1],f=this.datum_params[2],g=this.datum_params[3],h=this.datum_params[4],i=this.datum_params[5],j=this.datum_params[6],k=j*(a.x-i*a.y+h*a.z)+b,l=j*(i*a.x+a.y-g*a.z)+c,m=j*(-h*a.x+g*a.y+a.z)+f;a.x=k,a.y=l,a.z=m}},geocentric_from_wgs84:function(a){if(this.datum_type===d)a.x-=this.datum_params[0],a.y-=this.datum_params[1],a.z-=this.datum_params[2];else if(this.datum_type===e){var b=this.datum_params[0],c=this.datum_params[1],f=this.datum_params[2],g=this.datum_params[3],h=this.datum_params[4],i=this.datum_params[5],j=this.datum_params[6],k=(a.x-b)/j,l=(a.y-c)/j,m=(a.z-f)/j;a.x=k+i*l-h*m,a.y=-i*k+l+g*m,a.z=h*k-g*l+m}}},b.exports=l},{}],30:[function(a,b){var c=1,d=2,e=3,f=5,g=6378137,h=.006694379990141316;b.exports=function(a,b,i){function j(a){return a===c||a===d}var k,l,m;if(a.compare_datums(b))return i;if(a.datum_type===f||b.datum_type===f)return i;var n=a.a,o=a.es,p=b.a,q=b.es,r=a.datum_type;if(r===e)if(0===this.apply_gridshift(a,0,i))a.a=g,a.es=h;else{if(!a.datum_params)return a.a=n,a.es=a.es,i;for(k=1,l=0,m=a.datum_params.length;m>l;l++)k*=a.datum_params[l];if(0===k)return a.a=n,a.es=a.es,i;r=a.datum_params.length>3?d:c}return b.datum_type===e&&(b.a=g,b.es=h),(a.es!==b.es||a.a!==b.a||j(r)||j(b.datum_type))&&(a.geodetic_to_geocentric(i),j(a.datum_type)&&a.geocentric_to_wgs84(i),j(b.datum_type)&&b.geocentric_from_wgs84(i),b.geocentric_to_geodetic(i)),b.datum_type===e&&this.apply_gridshift(b,1,i),a.a=n,a.es=o,b.a=p,b.es=q,i}},{}],31:[function(a,b){function c(a){var b=this;if(2===arguments.length){var d=arguments[1];c[a]="string"==typeof d?"+"===d.charAt(0)?e(arguments[1]):f(arguments[1]):d}else if(1===arguments.length){if(Array.isArray(a))return a.map(function(a){Array.isArray(a)?c.apply(b,a):c(a)});if("string"==typeof a){if(a in c)return c[a]}else"EPSG"in a?c["EPSG:"+a.EPSG]=a:"ESRI"in a?c["ESRI:"+a.ESRI]=a:"IAU2000"in a?c["IAU2000:"+a.IAU2000]=a:console.log(a);return}}var d=a("./global"),e=a("./projString"),f=a("./wkt");d(c),b.exports=c},{"./global":34,"./projString":37,"./wkt":65}],32:[function(a,b){var c=a("./constants/Datum"),d=a("./constants/Ellipsoid"),e=a("./extend"),f=a("./datum"),g=1e-10,h=.16666666666666666,i=.04722222222222222,j=.022156084656084655;b.exports=function(a){if(a.datumCode&&"none"!==a.datumCode){var b=c[a.datumCode];b&&(a.datum_params=b.towgs84?b.towgs84.split(","):null,a.ellps=b.ellipse,a.datumName=b.datumName?b.datumName:a.datumCode)}if(!a.a){var k=d[a.ellps]?d[a.ellps]:d.WGS84;e(a,k)}return a.rf&&!a.b&&(a.b=(1-1/a.rf)*a.a),(0===a.rf||Math.abs(a.a-a.b)<g)&&(a.sphere=!0,a.b=a.a),a.a2=a.a*a.a,a.b2=a.b*a.b,a.es=(a.a2-a.b2)/a.a2,a.e=Math.sqrt(a.es),a.R_A&&(a.a*=1-a.es*(h+a.es*(i+a.es*j)),a.a2=a.a*a.a,a.b2=a.b*a.b,a.es=0),a.ep2=(a.a2-a.b2)/a.b2,a.k0||(a.k0=1),a.axis||(a.axis="enu"),a.datum||(a.datum=f(a)),a}},{"./constants/Datum":25,"./constants/Ellipsoid":26,"./datum":29,"./extend":33}],33:[function(a,b){b.exports=function(a,b){a=a||{};var c,d;if(!b)return a;for(d in b)c=b[d],void 0!==c&&(a[d]=c);return a}},{}],34:[function(a,b){b.exports=function(a){a("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),a("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),a("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),a.WGS84=a["EPSG:4326"],a["EPSG:3785"]=a["EPSG:3857"],a.GOOGLE=a["EPSG:3857"],a["EPSG:900913"]=a["EPSG:3857"],a["EPSG:102113"]=a["EPSG:3857"]}},{}],35:[function(a,b){var proj4=a("./core");proj4.defaultDatum="WGS84",proj4.Proj=a("./Proj"),proj4.WGS84=new proj4.Proj("WGS84"),proj4.Point=a("./Point"),proj4.toPoint=a("./common/toPoint"),proj4.defs=a("./defs"),proj4.transform=a("./transform"),proj4.mgrs=a("mgrs"),proj4.version=a("../package.json").version,a("./includedProjections")(proj4),b.exports=proj4},{"../package.json":67,"./Point":1,"./Proj":2,"./common/toPoint":23,"./core":28,"./defs":31,"./includedProjections":"gWUPNW","./transform":64,mgrs:66}],36:[function(a,b){function c(a){return"string"==typeof a}function d(a){return a in h}function e(a){var b=["GEOGCS","GEOCCS","PROJCS","LOCAL_CS"];return b.reduce(function(b,c){return b+1+a.indexOf(c)},0)}function f(a){return"+"===a[0]}function g(a){return c(a)?d(a)?h[a]:e(a)?i(a):f(a)?j(a):void 0:a}var h=a("./defs"),i=a("./wkt"),j=a("./projString");b.exports=g},{"./defs":31,"./projString":37,"./wkt":65}],37:[function(a,b){var c=.017453292519943295,d=a("./constants/PrimeMeridian");b.exports=function(a){var b={},e={};a.split("+").map(function(a){return a.trim()}).filter(function(a){return a}).forEach(function(a){var b=a.split("=");b.push(!0),e[b[0].toLowerCase()]=b[1]});var f,g,h,i={proj:"projName",datum:"datumCode",rf:function(a){b.rf=parseFloat(a)},lat_0:function(a){b.lat0=a*c},lat_1:function(a){b.lat1=a*c},lat_2:function(a){b.lat2=a*c},lat_ts:function(a){b.lat_ts=a*c},lon_0:function(a){b.long0=a*c},lon_1:function(a){b.long1=a*c},lon_2:function(a){b.long2=a*c},alpha:function(a){b.alpha=parseFloat(a)*c},lonc:function(a){b.longc=a*c},x_0:function(a){b.x0=parseFloat(a)},y_0:function(a){b.y0=parseFloat(a)},k_0:function(a){b.k0=parseFloat(a)},k:function(a){b.k0=parseFloat(a)},a:function(a){b.a=parseFloat(a)},b:function(a){b.b=parseFloat(a)},r_a:function(){b.R_A=!0},zone:function(a){b.zone=parseInt(a,10)},south:function(){b.utmSouth=!0},towgs84:function(a){b.datum_params=a.split(",").map(function(a){return parseFloat(a)})},to_meter:function(a){b.to_meter=parseFloat(a)},from_greenwich:function(a){b.from_greenwich=a*c},pm:function(a){b.from_greenwich=(d[a]?d[a]:parseFloat(a))*c},nadgrids:function(a){"@null"===a?b.datumCode="none":b.nadgrids=a},axis:function(a){var c="ewnsud";3===a.length&&-1!==c.indexOf(a.substr(0,1))&&-1!==c.indexOf(a.substr(1,1))&&-1!==c.indexOf(a.substr(2,1))&&(b.axis=a)}};for(f in e)g=e[f],f in i?(h=i[f],"function"==typeof h?h(g):b[h]=g):b[f]=g;return"string"==typeof b.datumCode&&"WGS84"!==b.datumCode&&(b.datumCode=b.datumCode.toLowerCase()),b}},{"./constants/PrimeMeridian":27}],38:[function(a,b,c){function d(a,b){var c=g.length;return a.names?(g[c]=a,a.names.forEach(function(a){f[a.toLowerCase()]=c}),this):(console.log(b),!0)}var e=[a("./projections/merc"),a("./projections/longlat")],f={},g=[];c.add=d,c.get=function(a){if(!a)return!1;var b=a.toLowerCase();return"undefined"!=typeof f[b]&&g[f[b]]?g[f[b]]:void 0},c.start=function(){e.forEach(d)}},{"./projections/longlat":50,"./projections/merc":51}],39:[function(a,b,c){var d=1e-10,e=a("../common/msfnz"),f=a("../common/qsfnz"),g=a("../common/adjust_lon"),h=a("../common/asinz");c.init=function(){Math.abs(this.lat1+this.lat2)<d||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=e(this.e3,this.sin_po,this.cos_po),this.qs1=f(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=e(this.e3,this.sin_po,this.cos_po),this.qs2=f(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=f(this.e3,this.sin_po,this.cos_po),this.ns0=Math.abs(this.lat1-this.lat2)>d?(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},c.forward=function(a){var b=a.x,c=a.y;this.sin_phi=Math.sin(c),this.cos_phi=Math.cos(c);var d=f(this.e3,this.sin_phi,this.cos_phi),e=this.a*Math.sqrt(this.c-this.ns0*d)/this.ns0,h=this.ns0*g(b-this.long0),i=e*Math.sin(h)+this.x0,j=this.rh-e*Math.cos(h)+this.y0;return a.x=i,a.y=j,a},c.inverse=function(a){var b,c,d,e,f,h;return a.x-=this.x0,a.y=this.rh-a.y+this.y0,this.ns0>=0?(b=Math.sqrt(a.x*a.x+a.y*a.y),d=1):(b=-Math.sqrt(a.x*a.x+a.y*a.y),d=-1),e=0,0!==b&&(e=Math.atan2(d*a.x,d*a.y)),d=b*this.ns0/this.a,this.sphere?h=Math.asin((this.c-d*d)/(2*this.ns0)):(c=(this.c-d*d)/this.ns0,h=this.phi1z(this.e3,c)),f=g(e/this.ns0+this.long0),a.x=f,a.y=h,a},c.phi1z=function(a,b){var c,e,f,g,i,j=h(.5*b);if(d>a)return j;for(var k=a*a,l=1;25>=l;l++)if(c=Math.sin(j),e=Math.cos(j),f=a*c,g=1-f*f,i=.5*g*g/e*(b/(1-k)-c/g+.5/a*Math.log((1-f)/(1+f))),j+=i,Math.abs(i)<=1e-7)return j;return null},c.names=["Albers_Conic_Equal_Area","Albers","aea"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/msfnz":15,"../common/qsfnz":20}],40:[function(a,b,c){var d=a("../common/adjust_lon"),e=Math.PI/2,f=1e-10,g=a("../common/mlfn"),h=a("../common/e0fn"),i=a("../common/e1fn"),j=a("../common/e2fn"),k=a("../common/e3fn"),l=a("../common/gN"),m=a("../common/asinz"),n=a("../common/imlfn");c.init=function(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)},c.forward=function(a){var b,c,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H=a.x,I=a.y,J=Math.sin(a.y),K=Math.cos(a.y),L=d(H-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=f?(a.x=this.x0+this.a*(e-I)*Math.sin(L),a.y=this.y0-this.a*(e-I)*Math.cos(L),a):Math.abs(this.sin_p12+1)<=f?(a.x=this.x0+this.a*(e+I)*Math.sin(L),a.y=this.y0+this.a*(e+I)*Math.cos(L),a):(B=this.sin_p12*J+this.cos_p12*K*Math.cos(L),z=Math.acos(B),A=z/Math.sin(z),a.x=this.x0+this.a*A*K*Math.sin(L),a.y=this.y0+this.a*A*(this.cos_p12*J-this.sin_p12*K*Math.cos(L)),a):(b=h(this.es),c=i(this.es),m=j(this.es),n=k(this.es),Math.abs(this.sin_p12-1)<=f?(o=this.a*g(b,c,m,n,e),p=this.a*g(b,c,m,n,I),a.x=this.x0+(o-p)*Math.sin(L),a.y=this.y0-(o-p)*Math.cos(L),a):Math.abs(this.sin_p12+1)<=f?(o=this.a*g(b,c,m,n,e),p=this.a*g(b,c,m,n,I),a.x=this.x0+(o+p)*Math.sin(L),a.y=this.y0+(o+p)*Math.cos(L),a):(q=J/K,r=l(this.a,this.e,this.sin_p12),s=l(this.a,this.e,J),t=Math.atan((1-this.es)*q+this.es*r*this.sin_p12/(s*K)),u=Math.atan2(Math.sin(L),this.cos_p12*Math.tan(t)-this.sin_p12*Math.cos(L)),C=0===u?Math.asin(this.cos_p12*Math.sin(t)-this.sin_p12*Math.cos(t)):Math.abs(Math.abs(u)-Math.PI)<=f?-Math.asin(this.cos_p12*Math.sin(t)-this.sin_p12*Math.cos(t)):Math.asin(Math.sin(L)*Math.cos(t)/Math.sin(u)),v=this.e*this.sin_p12/Math.sqrt(1-this.es),w=this.e*this.cos_p12*Math.cos(u)/Math.sqrt(1-this.es),x=v*w,y=w*w,D=C*C,E=D*C,F=E*C,G=F*C,z=r*C*(1-D*y*(1-y)/6+E/8*x*(1-2*y)+F/120*(y*(4-7*y)-3*v*v*(1-7*y))-G/48*x),a.x=this.x0+z*Math.sin(u),a.y=this.y0+z*Math.cos(u),a))},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I;if(this.sphere){if(b=Math.sqrt(a.x*a.x+a.y*a.y),b>2*e*this.a)return;return c=b/this.a,o=Math.sin(c),p=Math.cos(c),q=this.long0,Math.abs(b)<=f?r=this.lat0:(r=m(p*this.sin_p12+a.y*o*this.cos_p12/b),s=Math.abs(this.lat0)-e,q=d(Math.abs(s)<=f?this.lat0>=0?this.long0+Math.atan2(a.x,-a.y):this.long0-Math.atan2(-a.x,a.y):this.long0+Math.atan2(a.x*o,b*this.cos_p12*p-a.y*this.sin_p12*o))),a.x=q,a.y=r,a}return t=h(this.es),u=i(this.es),v=j(this.es),w=k(this.es),Math.abs(this.sin_p12-1)<=f?(x=this.a*g(t,u,v,w,e),b=Math.sqrt(a.x*a.x+a.y*a.y),y=x-b,r=n(y/this.a,t,u,v,w),q=d(this.long0+Math.atan2(a.x,-1*a.y)),a.x=q,a.y=r,a):Math.abs(this.sin_p12+1)<=f?(x=this.a*g(t,u,v,w,e),b=Math.sqrt(a.x*a.x+a.y*a.y),y=b-x,r=n(y/this.a,t,u,v,w),q=d(this.long0+Math.atan2(a.x,a.y)),a.x=q,a.y=r,a):(b=Math.sqrt(a.x*a.x+a.y*a.y),B=Math.atan2(a.x,a.y),z=l(this.a,this.e,this.sin_p12),C=Math.cos(B),D=this.e*this.cos_p12*C,E=-D*D/(1-this.es),F=3*this.es*(1-E)*this.sin_p12*this.cos_p12*C/(1-this.es),G=b/z,H=G-E*(1+E)*Math.pow(G,3)/6-F*(1+3*E)*Math.pow(G,4)/24,I=1-E*H*H/2-G*H*H*H/6,A=Math.asin(this.sin_p12*Math.cos(H)+this.cos_p12*Math.sin(H)*C),q=d(this.long0+Math.asin(Math.sin(B)*Math.sin(H)/Math.cos(A))),r=Math.atan((1-this.es*I*this.sin_p12/Math.sin(A))*Math.tan(A)/(1-this.es)),a.x=q,a.y=r,a)},c.names=["Azimuthal_Equidistant","aeqd"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/imlfn":12,"../common/mlfn":14}],41:[function(a,b,c){var d=a("../common/mlfn"),e=a("../common/e0fn"),f=a("../common/e1fn"),g=a("../common/e2fn"),h=a("../common/e3fn"),i=a("../common/gN"),j=a("../common/adjust_lon"),k=a("../common/adjust_lat"),l=a("../common/imlfn"),m=Math.PI/2,n=1e-10;c.init=function(){this.sphere||(this.e0=e(this.es),this.e1=f(this.es),this.e2=g(this.es),this.e3=h(this.es),this.ml0=this.a*d(this.e0,this.e1,this.e2,this.e3,this.lat0))},c.forward=function(a){var b,c,e=a.x,f=a.y;if(e=j(e-this.long0),this.sphere)b=this.a*Math.asin(Math.cos(f)*Math.sin(e)),c=this.a*(Math.atan2(Math.tan(f),Math.cos(e))-this.lat0);else{var g=Math.sin(f),h=Math.cos(f),k=i(this.a,this.e,g),l=Math.tan(f)*Math.tan(f),m=e*Math.cos(f),n=m*m,o=this.es*h*h/(1-this.es),p=this.a*d(this.e0,this.e1,this.e2,this.e3,f);b=k*m*(1-n*l*(1/6-(8-l+8*o)*n/120)),c=p-this.ml0+k*g/h*n*(.5+(5-l+6*o)*n/24)}return a.x=b+this.x0,a.y=c+this.y0,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,d=a.x/this.a,e=a.y/this.a;if(this.sphere){var f=e+this.lat0;b=Math.asin(Math.sin(f)*Math.cos(d)),c=Math.atan2(Math.tan(d),Math.cos(f))}else{var g=this.ml0/this.a+e,h=l(g,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(h)-m)<=n)return a.x=this.long0,a.y=m,0>e&&(a.y*=-1),a;var o=i(this.a,this.e,Math.sin(h)),p=o*o*o/this.a/this.a*(1-this.es),q=Math.pow(Math.tan(h),2),r=d*this.a/o,s=r*r;b=h-o*Math.tan(h)/p*r*r*(.5-(1+3*q)*r*r/24),c=r*(1-s*(q/3+(1+3*q)*q*s/15))/Math.cos(h)}return a.x=j(c+this.long0),a.y=k(b),a},c.names=["Cassini","Cassini_Soldner","cass"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/imlfn":12,"../common/mlfn":14}],42:[function(a,b,c){var d=a("../common/adjust_lon"),e=a("../common/qsfnz"),f=a("../common/msfnz"),g=a("../common/iqsfnz");c.init=function(){this.sphere||(this.k0=f(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))},c.forward=function(a){var b,c,f=a.x,g=a.y,h=d(f-this.long0);if(this.sphere)b=this.x0+this.a*h*Math.cos(this.lat_ts),c=this.y0+this.a*Math.sin(g)/Math.cos(this.lat_ts);else{var i=e(this.e,Math.sin(g));b=this.x0+this.a*this.k0*h,c=this.y0+this.a*i*.5/this.k0}return a.x=b,a.y=c,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c;return this.sphere?(b=d(this.long0+a.x/this.a/Math.cos(this.lat_ts)),c=Math.asin(a.y/this.a*Math.cos(this.lat_ts))):(c=g(this.e,2*a.y*this.k0/this.a),b=d(this.long0+a.x/(this.a*this.k0))),a.x=b,a.y=c,a},c.names=["cea"]},{"../common/adjust_lon":5,"../common/iqsfnz":13,"../common/msfnz":15,"../common/qsfnz":20}],43:[function(a,b,c){var d=a("../common/adjust_lon"),e=a("../common/adjust_lat");c.init=function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)},c.forward=function(a){var b=a.x,c=a.y,f=d(b-this.long0),g=e(c-this.lat0);return a.x=this.x0+this.a*f*this.rc,a.y=this.y0+this.a*g,a},c.inverse=function(a){var b=a.x,c=a.y;return a.x=d(this.long0+(b-this.x0)/(this.a*this.rc)),a.y=e(this.lat0+(c-this.y0)/this.a),a},c.names=["Equirectangular","Equidistant_Cylindrical","eqc"]},{"../common/adjust_lat":4,"../common/adjust_lon":5}],44:[function(a,b,c){var d=a("../common/e0fn"),e=a("../common/e1fn"),f=a("../common/e2fn"),g=a("../common/e3fn"),h=a("../common/msfnz"),i=a("../common/mlfn"),j=a("../common/adjust_lon"),k=a("../common/adjust_lat"),l=a("../common/imlfn"),m=1e-10;c.init=function(){Math.abs(this.lat1+this.lat2)<m||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=d(this.es),this.e1=e(this.es),this.e2=f(this.es),this.e3=g(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=h(this.e,this.sinphi,this.cosphi),this.ml1=i(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<m?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=h(this.e,this.sinphi,this.cosphi),this.ml2=i(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=i(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))},c.forward=function(a){var b,c=a.x,d=a.y;if(this.sphere)b=this.a*(this.g-d);else{var e=i(this.e0,this.e1,this.e2,this.e3,d);b=this.a*(this.g-e)}var f=this.ns*j(c-this.long0),g=this.x0+b*Math.sin(f),h=this.y0+this.rh-b*Math.cos(f);return a.x=g,a.y=h,a},c.inverse=function(a){a.x-=this.x0,a.y=this.rh-a.y+this.y0;var b,c,d,e;this.ns>=0?(c=Math.sqrt(a.x*a.x+a.y*a.y),b=1):(c=-Math.sqrt(a.x*a.x+a.y*a.y),b=-1);var f=0;if(0!==c&&(f=Math.atan2(b*a.x,b*a.y)),this.sphere)return e=j(this.long0+f/this.ns),d=k(this.g-c/this.a),a.x=e,a.y=d,a;var g=this.g-c/this.a;return d=l(g,this.e0,this.e1,this.e2,this.e3),e=j(this.long0+f/this.ns),a.x=e,a.y=d,a},c.names=["Equidistant_Conic","eqdc"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/imlfn":12,"../common/mlfn":14,"../common/msfnz":15}],45:[function(a,b,c){var d=Math.PI/4,e=a("../common/srat"),f=Math.PI/2,g=20;c.init=function(){var a=Math.sin(this.lat0),b=Math.cos(this.lat0);b*=b,this.rc=Math.sqrt(1-this.es)/(1-this.es*a*a),this.C=Math.sqrt(1+this.es*b*b/(1-this.es)),this.phic0=Math.asin(a/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+d)/(Math.pow(Math.tan(.5*this.lat0+d),this.C)*e(this.e*a,this.ratexp))},c.forward=function(a){var b=a.x,c=a.y;return a.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*c+d),this.C)*e(this.e*Math.sin(c),this.ratexp))-f,a.x=this.C*b,a},c.inverse=function(a){for(var b=1e-14,c=a.x/this.C,h=a.y,i=Math.pow(Math.tan(.5*h+d)/this.K,1/this.C),j=g;j>0&&(h=2*Math.atan(i*e(this.e*Math.sin(a.y),-.5*this.e))-f,!(Math.abs(h-a.y)<b));--j)a.y=h;return j?(a.x=c,a.y=h,a):null},c.names=["gauss"]},{"../common/srat":22}],46:[function(a,b,c){var d=a("../common/adjust_lon"),e=1e-10,f=a("../common/asinz");c.init=function(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0),this.infinity_dist=1e3*this.a,this.rc=1},c.forward=function(a){var b,c,f,g,h,i,j,k,l=a.x,m=a.y;return f=d(l-this.long0),b=Math.sin(m),c=Math.cos(m),g=Math.cos(f),i=this.sin_p14*b+this.cos_p14*c*g,h=1,i>0||Math.abs(i)<=e?(j=this.x0+this.a*h*c*Math.sin(f)/i,k=this.y0+this.a*h*(this.cos_p14*b-this.sin_p14*c*g)/i):(j=this.x0+this.infinity_dist*c*Math.sin(f),k=this.y0+this.infinity_dist*(this.cos_p14*b-this.sin_p14*c*g)),a.x=j,a.y=k,a
2
+ },c.inverse=function(a){var b,c,e,g,h,i;return a.x=(a.x-this.x0)/this.a,a.y=(a.y-this.y0)/this.a,a.x/=this.k0,a.y/=this.k0,(b=Math.sqrt(a.x*a.x+a.y*a.y))?(g=Math.atan2(b,this.rc),c=Math.sin(g),e=Math.cos(g),i=f(e*this.sin_p14+a.y*c*this.cos_p14/b),h=Math.atan2(a.x*c,b*this.cos_p14*e-a.y*this.sin_p14*c),h=d(this.long0+h)):(i=this.phic0,h=0),a.x=h,a.y=i,a},c.names=["gnom"]},{"../common/adjust_lon":5,"../common/asinz":6}],47:[function(a,b,c){var d=a("../common/adjust_lon");c.init=function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},c.forward=function(a){var b,c,e,f,g,h,i,j=a.x,k=a.y,l=d(j-this.long0);return b=Math.pow((1+this.e*Math.sin(k))/(1-this.e*Math.sin(k)),this.alfa*this.e/2),c=2*(Math.atan(this.k*Math.pow(Math.tan(k/2+this.s45),this.alfa)/b)-this.s45),e=-l*this.alfa,f=Math.asin(Math.cos(this.ad)*Math.sin(c)+Math.sin(this.ad)*Math.cos(c)*Math.cos(e)),g=Math.asin(Math.cos(c)*Math.sin(e)/Math.cos(f)),h=this.n*g,i=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(f/2+this.s45),this.n),a.y=i*Math.cos(h)/1,a.x=i*Math.sin(h)/1,this.czech||(a.y*=-1,a.x*=-1),a},c.inverse=function(a){var b,c,d,e,f,g,h,i,j=a.x;a.x=a.y,a.y=j,this.czech||(a.y*=-1,a.x*=-1),g=Math.sqrt(a.x*a.x+a.y*a.y),f=Math.atan2(a.y,a.x),e=f/Math.sin(this.s0),d=2*(Math.atan(Math.pow(this.ro0/g,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),b=Math.asin(Math.cos(this.ad)*Math.sin(d)-Math.sin(this.ad)*Math.cos(d)*Math.cos(e)),c=Math.asin(Math.cos(d)*Math.sin(e)/Math.cos(b)),a.x=this.long0-c/this.alfa,h=b,i=0;var k=0;do a.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(b/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(h))/(1-this.e*Math.sin(h)),this.e/2))-this.s45),Math.abs(h-a.y)<1e-10&&(i=1),h=a.y,k+=1;while(0===i&&15>k);return k>=15?null:a},c.names=["Krovak","krovak"]},{"../common/adjust_lon":5}],48:[function(a,b,c){var d=Math.PI/2,e=Math.PI/4,f=1e-10,g=a("../common/qsfnz"),h=a("../common/adjust_lon");c.S_POLE=1,c.N_POLE=2,c.EQUIT=3,c.OBLIQ=4,c.init=function(){var a=Math.abs(this.lat0);if(this.mode=Math.abs(a-d)<f?this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(a)<f?this.EQUIT:this.OBLIQ,this.es>0){var b;switch(this.qp=g(this.e,1),this.mmf=.5/(1-this.es),this.apa=this.authset(this.es),this.mode){case this.N_POLE:this.dd=1;break;case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),b=Math.sin(this.lat0),this.sinb1=g(this.e,b)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*b*b)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},c.forward=function(a){var b,c,i,j,k,l,m,n,o,p,q=a.x,r=a.y;if(q=h(q-this.long0),this.sphere){if(k=Math.sin(r),p=Math.cos(r),i=Math.cos(q),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(c=this.mode===this.EQUIT?1+p*i:1+this.sinph0*k+this.cosph0*p*i,f>=c)return null;c=Math.sqrt(2/c),b=c*p*Math.sin(q),c*=this.mode===this.EQUIT?k:this.cosph0*k-this.sinph0*p*i}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(i=-i),Math.abs(r+this.phi0)<f)return null;c=e-.5*r,c=2*(this.mode===this.S_POLE?Math.cos(c):Math.sin(c)),b=c*Math.sin(q),c*=i}}else{switch(m=0,n=0,o=0,i=Math.cos(q),j=Math.sin(q),k=Math.sin(r),l=g(this.e,k),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(m=l/this.qp,n=Math.sqrt(1-m*m)),this.mode){case this.OBLIQ:o=1+this.sinb1*m+this.cosb1*n*i;break;case this.EQUIT:o=1+n*i;break;case this.N_POLE:o=d+r,l=this.qp-l;break;case this.S_POLE:o=r-d,l=this.qp+l}if(Math.abs(o)<f)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:o=Math.sqrt(2/o),c=this.mode===this.OBLIQ?this.ymf*o*(this.cosb1*m-this.sinb1*n*i):(o=Math.sqrt(2/(1+n*i)))*m*this.ymf,b=this.xmf*o*n*j;break;case this.N_POLE:case this.S_POLE:l>=0?(b=(o=Math.sqrt(l))*j,c=i*(this.mode===this.S_POLE?o:-o)):b=c=0}}return a.x=this.a*b+this.x0,a.y=this.a*c+this.y0,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,e,g,i,j,k,l=a.x/this.a,m=a.y/this.a;if(this.sphere){var n,o=0,p=0;if(n=Math.sqrt(l*l+m*m),c=.5*n,c>1)return null;switch(c=2*Math.asin(c),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(p=Math.sin(c),o=Math.cos(c)),this.mode){case this.EQUIT:c=Math.abs(n)<=f?0:Math.asin(m*p/n),l*=p,m=o*n;break;case this.OBLIQ:c=Math.abs(n)<=f?this.phi0:Math.asin(o*this.sinph0+m*p*this.cosph0/n),l*=p*this.cosph0,m=(o-Math.sin(c)*this.sinph0)*n;break;case this.N_POLE:m=-m,c=d-c;break;case this.S_POLE:c-=d}b=0!==m||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(l,m):0}else{if(k=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(l/=this.dd,m*=this.dd,j=Math.sqrt(l*l+m*m),f>j)return a.x=0,a.y=this.phi0,a;g=2*Math.asin(.5*j/this.rq),e=Math.cos(g),l*=g=Math.sin(g),this.mode===this.OBLIQ?(k=e*this.sinb1+m*g*this.cosb1/j,i=this.qp*k,m=j*this.cosb1*e-m*this.sinb1*g):(k=m*g/j,i=this.qp*k,m=j*e)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(m=-m),i=l*l+m*m,!i)return a.x=0,a.y=this.phi0,a;k=1-i/this.qp,this.mode===this.S_POLE&&(k=-k)}b=Math.atan2(l,m),c=this.authlat(Math.asin(k),this.apa)}return a.x=h(this.long0+b),a.y=c,a},c.P00=.3333333333333333,c.P01=.17222222222222222,c.P02=.10257936507936508,c.P10=.06388888888888888,c.P11=.0664021164021164,c.P20=.016415012942191543,c.authset=function(a){var b,c=[];return c[0]=a*this.P00,b=a*a,c[0]+=b*this.P01,c[1]=b*this.P10,b*=a,c[0]+=b*this.P02,c[1]+=b*this.P11,c[2]=b*this.P20,c},c.authlat=function(a,b){var c=a+a;return a+b[0]*Math.sin(c)+b[1]*Math.sin(c+c)+b[2]*Math.sin(c+c+c)},c.names=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"]},{"../common/adjust_lon":5,"../common/qsfnz":20}],49:[function(a,b,c){var d=1e-10,e=a("../common/msfnz"),f=a("../common/tsfnz"),g=Math.PI/2,h=a("../common/sign"),i=a("../common/adjust_lon"),j=a("../common/phi2z");c.init=function(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)<d)){var a=this.b/this.a;this.e=Math.sqrt(1-a*a);var b=Math.sin(this.lat1),c=Math.cos(this.lat1),g=e(this.e,b,c),h=f(this.e,this.lat1,b),i=Math.sin(this.lat2),j=Math.cos(this.lat2),k=e(this.e,i,j),l=f(this.e,this.lat2,i),m=f(this.e,this.lat0,Math.sin(this.lat0));this.ns=Math.abs(this.lat1-this.lat2)>d?Math.log(g/k)/Math.log(h/l):b,isNaN(this.ns)&&(this.ns=b),this.f0=g/(this.ns*Math.pow(h,this.ns)),this.rh=this.a*this.f0*Math.pow(m,this.ns),this.title||(this.title="Lambert Conformal Conic")}},c.forward=function(a){var b=a.x,c=a.y;Math.abs(2*Math.abs(c)-Math.PI)<=d&&(c=h(c)*(g-2*d));var e,j,k=Math.abs(Math.abs(c)-g);if(k>d)e=f(this.e,c,Math.sin(c)),j=this.a*this.f0*Math.pow(e,this.ns);else{if(k=c*this.ns,0>=k)return null;j=0}var l=this.ns*i(b-this.long0);return a.x=this.k0*j*Math.sin(l)+this.x0,a.y=this.k0*(this.rh-j*Math.cos(l))+this.y0,a},c.inverse=function(a){var b,c,d,e,f,h=(a.x-this.x0)/this.k0,k=this.rh-(a.y-this.y0)/this.k0;this.ns>0?(b=Math.sqrt(h*h+k*k),c=1):(b=-Math.sqrt(h*h+k*k),c=-1);var l=0;if(0!==b&&(l=Math.atan2(c*h,c*k)),0!==b||this.ns>0){if(c=1/this.ns,d=Math.pow(b/(this.a*this.f0),c),e=j(this.e,d),-9999===e)return null}else e=-g;return f=i(l/this.ns+this.long0),a.x=f,a.y=e,a},c.names=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_2SP","lcc"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/sign":21,"../common/tsfnz":24}],50:[function(a,b,c){function d(a){return a}c.init=function(){},c.forward=d,c.inverse=d,c.names=["longlat","identity"]},{}],51:[function(a,b,c){var d=a("../common/msfnz"),e=Math.PI/2,f=1e-10,g=57.29577951308232,h=a("../common/adjust_lon"),i=Math.PI/4,j=a("../common/tsfnz"),k=a("../common/phi2z");c.init=function(){var a=this.b/this.a;this.es=1-a*a,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.k0=this.sphere?Math.cos(this.lat_ts):d(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k0=this.k?this.k:1)},c.forward=function(a){var b=a.x,c=a.y;if(c*g>90&&-90>c*g&&b*g>180&&-180>b*g)return null;var d,k;if(Math.abs(Math.abs(c)-e)<=f)return null;if(this.sphere)d=this.x0+this.a*this.k0*h(b-this.long0),k=this.y0+this.a*this.k0*Math.log(Math.tan(i+.5*c));else{var l=Math.sin(c),m=j(this.e,c,l);d=this.x0+this.a*this.k0*h(b-this.long0),k=this.y0-this.a*this.k0*Math.log(m)}return a.x=d,a.y=k,a},c.inverse=function(a){var b,c,d=a.x-this.x0,f=a.y-this.y0;if(this.sphere)c=e-2*Math.atan(Math.exp(-f/(this.a*this.k0)));else{var g=Math.exp(-f/(this.a*this.k0));if(c=k(this.e,g),-9999===c)return null}return b=h(this.long0+d/(this.a*this.k0)),a.x=b,a.y=c,a},c.names=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/tsfnz":24}],52:[function(a,b,c){var d=a("../common/adjust_lon");c.init=function(){},c.forward=function(a){var b=a.x,c=a.y,e=d(b-this.long0),f=this.x0+this.a*e,g=this.y0+this.a*Math.log(Math.tan(Math.PI/4+c/2.5))*1.25;return a.x=f,a.y=g,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b=d(this.long0+a.x/this.a),c=2.5*(Math.atan(Math.exp(.8*a.y/this.a))-Math.PI/4);return a.x=b,a.y=c,a},c.names=["Miller_Cylindrical","mill"]},{"../common/adjust_lon":5}],53:[function(a,b,c){var d=a("../common/adjust_lon"),e=1e-10;c.init=function(){},c.forward=function(a){for(var b=a.x,c=a.y,f=d(b-this.long0),g=c,h=Math.PI*Math.sin(c),i=0;!0;i++){var j=-(g+Math.sin(g)-h)/(1+Math.cos(g));if(g+=j,Math.abs(j)<e)break}g/=2,Math.PI/2-Math.abs(c)<e&&(f=0);var k=.900316316158*this.a*f*Math.cos(g)+this.x0,l=1.4142135623731*this.a*Math.sin(g)+this.y0;return a.x=k,a.y=l,a},c.inverse=function(a){var b,c;a.x-=this.x0,a.y-=this.y0,c=a.y/(1.4142135623731*this.a),Math.abs(c)>.999999999999&&(c=.999999999999),b=Math.asin(c);var e=d(this.long0+a.x/(.900316316158*this.a*Math.cos(b)));e<-Math.PI&&(e=-Math.PI),e>Math.PI&&(e=Math.PI),c=(2*b+Math.sin(2*b))/Math.PI,Math.abs(c)>1&&(c=1);var f=Math.asin(c);return a.x=e,a.y=f,a},c.names=["Mollweide","moll"]},{"../common/adjust_lon":5}],54:[function(a,b,c){var d=484813681109536e-20;c.iterations=1,c.init=function(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013},c.forward=function(a){var b,c=a.x,e=a.y,f=e-this.lat0,g=c-this.long0,h=f/d*1e-5,i=g,j=1,k=0;for(b=1;10>=b;b++)j*=h,k+=this.A[b]*j;var l,m,n=k,o=i,p=1,q=0,r=0,s=0;for(b=1;6>=b;b++)l=p*n-q*o,m=q*n+p*o,p=l,q=m,r=r+this.B_re[b]*p-this.B_im[b]*q,s=s+this.B_im[b]*p+this.B_re[b]*q;return a.x=s*this.a+this.x0,a.y=r*this.a+this.y0,a},c.inverse=function(a){var b,c,e,f=a.x,g=a.y,h=f-this.x0,i=g-this.y0,j=i/this.a,k=h/this.a,l=1,m=0,n=0,o=0;for(b=1;6>=b;b++)c=l*j-m*k,e=m*j+l*k,l=c,m=e,n=n+this.C_re[b]*l-this.C_im[b]*m,o=o+this.C_im[b]*l+this.C_re[b]*m;for(var p=0;p<this.iterations;p++){var q,r,s=n,t=o,u=j,v=k;for(b=2;6>=b;b++)q=s*n-t*o,r=t*n+s*o,s=q,t=r,u+=(b-1)*(this.B_re[b]*s-this.B_im[b]*t),v+=(b-1)*(this.B_im[b]*s+this.B_re[b]*t);s=1,t=0;var w=this.B_re[1],x=this.B_im[1];for(b=2;6>=b;b++)q=s*n-t*o,r=t*n+s*o,s=q,t=r,w+=b*(this.B_re[b]*s-this.B_im[b]*t),x+=b*(this.B_im[b]*s+this.B_re[b]*t);var y=w*w+x*x;n=(u*w+v*x)/y,o=(v*w-u*x)/y}var z=n,A=o,B=1,C=0;for(b=1;9>=b;b++)B*=z,C+=this.D[b]*B;var D=this.lat0+C*d*1e5,E=this.long0+A;return a.x=E,a.y=D,a},c.names=["New_Zealand_Map_Grid","nzmg"]},{}],55:[function(a,b,c){var d=a("../common/tsfnz"),e=a("../common/adjust_lon"),f=a("../common/phi2z"),g=Math.PI/2,h=Math.PI/4,i=1e-10;c.init=function(){this.no_off=this.no_off||!1,this.no_rot=this.no_rot||!1,isNaN(this.k0)&&(this.k0=1);var a=Math.sin(this.lat0),b=Math.cos(this.lat0),c=this.e*a;this.bl=Math.sqrt(1+this.es/(1-this.es)*Math.pow(b,4)),this.al=this.a*this.bl*this.k0*Math.sqrt(1-this.es)/(1-c*c);var f=d(this.e,this.lat0,a),g=this.bl/b*Math.sqrt((1-this.es)/(1-c*c));1>g*g&&(g=1);var h,i;if(isNaN(this.longc)){var j=d(this.e,this.lat1,Math.sin(this.lat1)),k=d(this.e,this.lat2,Math.sin(this.lat2));this.el=this.lat0>=0?(g+Math.sqrt(g*g-1))*Math.pow(f,this.bl):(g-Math.sqrt(g*g-1))*Math.pow(f,this.bl);var l=Math.pow(j,this.bl),m=Math.pow(k,this.bl);h=this.el/l,i=.5*(h-1/h);var n=(this.el*this.el-m*l)/(this.el*this.el+m*l),o=(m-l)/(m+l),p=e(this.long1-this.long2);this.long0=.5*(this.long1+this.long2)-Math.atan(n*Math.tan(.5*this.bl*p)/o)/this.bl,this.long0=e(this.long0);var q=e(this.long1-this.long0);this.gamma0=Math.atan(Math.sin(this.bl*q)/i),this.alpha=Math.asin(g*Math.sin(this.gamma0))}else h=this.lat0>=0?g+Math.sqrt(g*g-1):g-Math.sqrt(g*g-1),this.el=h*Math.pow(f,this.bl),i=.5*(h-1/h),this.gamma0=Math.asin(Math.sin(this.alpha)/g),this.long0=this.longc-Math.asin(i*Math.tan(this.gamma0))/this.bl;this.uc=this.no_off?0:this.lat0>=0?this.al/this.bl*Math.atan2(Math.sqrt(g*g-1),Math.cos(this.alpha)):-1*this.al/this.bl*Math.atan2(Math.sqrt(g*g-1),Math.cos(this.alpha))},c.forward=function(a){var b,c,f,j=a.x,k=a.y,l=e(j-this.long0);if(Math.abs(Math.abs(k)-g)<=i)f=k>0?-1:1,c=this.al/this.bl*Math.log(Math.tan(h+f*this.gamma0*.5)),b=-1*f*g*this.al/this.bl;else{var m=d(this.e,k,Math.sin(k)),n=this.el/Math.pow(m,this.bl),o=.5*(n-1/n),p=.5*(n+1/n),q=Math.sin(this.bl*l),r=(o*Math.sin(this.gamma0)-q*Math.cos(this.gamma0))/p;c=Math.abs(Math.abs(r)-1)<=i?Number.POSITIVE_INFINITY:.5*this.al*Math.log((1-r)/(1+r))/this.bl,b=Math.abs(Math.cos(this.bl*l))<=i?this.al*this.bl*l:this.al*Math.atan2(o*Math.cos(this.gamma0)+q*Math.sin(this.gamma0),Math.cos(this.bl*l))/this.bl}return this.no_rot?(a.x=this.x0+b,a.y=this.y0+c):(b-=this.uc,a.x=this.x0+c*Math.cos(this.alpha)+b*Math.sin(this.alpha),a.y=this.y0+b*Math.cos(this.alpha)-c*Math.sin(this.alpha)),a},c.inverse=function(a){var b,c;this.no_rot?(c=a.y-this.y0,b=a.x-this.x0):(c=(a.x-this.x0)*Math.cos(this.alpha)-(a.y-this.y0)*Math.sin(this.alpha),b=(a.y-this.y0)*Math.cos(this.alpha)+(a.x-this.x0)*Math.sin(this.alpha),b+=this.uc);var d=Math.exp(-1*this.bl*c/this.al),h=.5*(d-1/d),j=.5*(d+1/d),k=Math.sin(this.bl*b/this.al),l=(k*Math.cos(this.gamma0)+h*Math.sin(this.gamma0))/j,m=Math.pow(this.el/Math.sqrt((1+l)/(1-l)),1/this.bl);return Math.abs(l-1)<i?(a.x=this.long0,a.y=g):Math.abs(l+1)<i?(a.x=this.long0,a.y=-1*g):(a.y=f(this.e,m),a.x=e(this.long0-Math.atan2(h*Math.cos(this.gamma0)-k*Math.sin(this.gamma0),Math.cos(this.bl*b/this.al))/this.bl)),a},c.names=["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","omerc"]},{"../common/adjust_lon":5,"../common/phi2z":16,"../common/tsfnz":24}],56:[function(a,b,c){var d=a("../common/e0fn"),e=a("../common/e1fn"),f=a("../common/e2fn"),g=a("../common/e3fn"),h=a("../common/adjust_lon"),i=a("../common/adjust_lat"),j=a("../common/mlfn"),k=1e-10,l=a("../common/gN"),m=20;c.init=function(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=d(this.es),this.e1=e(this.es),this.e2=f(this.es),this.e3=g(this.es),this.ml0=this.a*j(this.e0,this.e1,this.e2,this.e3,this.lat0)},c.forward=function(a){var b,c,d,e=a.x,f=a.y,g=h(e-this.long0);if(d=g*Math.sin(f),this.sphere)Math.abs(f)<=k?(b=this.a*g,c=-1*this.a*this.lat0):(b=this.a*Math.sin(d)/Math.tan(f),c=this.a*(i(f-this.lat0)+(1-Math.cos(d))/Math.tan(f)));else if(Math.abs(f)<=k)b=this.a*g,c=-1*this.ml0;else{var m=l(this.a,this.e,Math.sin(f))/Math.tan(f);b=m*Math.sin(d),c=this.a*j(this.e0,this.e1,this.e2,this.e3,f)-this.ml0+m*(1-Math.cos(d))}return a.x=b+this.x0,a.y=c+this.y0,a},c.inverse=function(a){var b,c,d,e,f,g,i,l,n;if(d=a.x-this.x0,e=a.y-this.y0,this.sphere)if(Math.abs(e+this.a*this.lat0)<=k)b=h(d/this.a+this.long0),c=0;else{g=this.lat0+e/this.a,i=d*d/this.a/this.a+g*g,l=g;var o;for(f=m;f;--f)if(o=Math.tan(l),n=-1*(g*(l*o+1)-l-.5*(l*l+i)*o)/((l-g)/o-1),l+=n,Math.abs(n)<=k){c=l;break}b=h(this.long0+Math.asin(d*Math.tan(l)/this.a)/Math.sin(c))}else if(Math.abs(e+this.ml0)<=k)c=0,b=h(this.long0+d/this.a);else{g=(this.ml0+e)/this.a,i=d*d/this.a/this.a+g*g,l=g;var p,q,r,s,t;for(f=m;f;--f)if(t=this.e*Math.sin(l),p=Math.sqrt(1-t*t)*Math.tan(l),q=this.a*j(this.e0,this.e1,this.e2,this.e3,l),r=this.e0-2*this.e1*Math.cos(2*l)+4*this.e2*Math.cos(4*l)-6*this.e3*Math.cos(6*l),s=q/this.a,n=(g*(p*s+1)-s-.5*p*(s*s+i))/(this.es*Math.sin(2*l)*(s*s+i-2*g*s)/(4*p)+(g-s)*(p*r-2/Math.sin(2*l))-r),l-=n,Math.abs(n)<=k){c=l;break}p=Math.sqrt(1-this.es*Math.pow(Math.sin(c),2))*Math.tan(c),b=h(this.long0+Math.asin(d*p/this.a)/Math.sin(c))}return a.x=b,a.y=c,a},c.names=["Polyconic","poly"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/mlfn":14}],57:[function(a,b,c){var d=a("../common/adjust_lon"),e=a("../common/adjust_lat"),f=a("../common/pj_enfn"),g=20,h=a("../common/pj_mlfn"),i=a("../common/pj_inv_mlfn"),j=Math.PI/2,k=1e-10,l=a("../common/asinz");c.init=function(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=f(this.es)},c.forward=function(a){var b,c,e=a.x,f=a.y;if(e=d(e-this.long0),this.sphere){if(this.m)for(var i=this.n*Math.sin(f),j=g;j;--j){var l=(this.m*f+Math.sin(f)-i)/(this.m+Math.cos(f));if(f-=l,Math.abs(l)<k)break}else f=1!==this.n?Math.asin(this.n*Math.sin(f)):f;b=this.a*this.C_x*e*(this.m+Math.cos(f)),c=this.a*this.C_y*f}else{var m=Math.sin(f),n=Math.cos(f);c=this.a*h(f,m,n,this.en),b=this.a*e*n/Math.sqrt(1-this.es*m*m)}return a.x=b,a.y=c,a},c.inverse=function(a){var b,c,f,g;return a.x-=this.x0,f=a.x/this.a,a.y-=this.y0,b=a.y/this.a,this.sphere?(b/=this.C_y,f/=this.C_x*(this.m+Math.cos(b)),this.m?b=l((this.m*b+Math.sin(b))/this.n):1!==this.n&&(b=l(Math.sin(b)/this.n)),f=d(f+this.long0),b=e(b)):(b=i(a.y/this.a,this.es,this.en),g=Math.abs(b),j>g?(g=Math.sin(b),c=this.long0+a.x*Math.sqrt(1-this.es*g*g)/(this.a*Math.cos(b)),f=d(c)):j>g-k&&(f=this.long0)),a.x=f,a.y=b,a},c.names=["Sinusoidal","sinu"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/asinz":6,"../common/pj_enfn":17,"../common/pj_inv_mlfn":18,"../common/pj_mlfn":19}],58:[function(a,b,c){c.init=function(){var a=this.lat0;this.lambda0=this.long0;var b=Math.sin(a),c=this.a,d=this.rf,e=1/d,f=2*e-Math.pow(e,2),g=this.e=Math.sqrt(f);this.R=this.k0*c*Math.sqrt(1-f)/(1-f*Math.pow(b,2)),this.alpha=Math.sqrt(1+f/(1-f)*Math.pow(Math.cos(a),4)),this.b0=Math.asin(b/this.alpha);var h=Math.log(Math.tan(Math.PI/4+this.b0/2)),i=Math.log(Math.tan(Math.PI/4+a/2)),j=Math.log((1+g*b)/(1-g*b));this.K=h-this.alpha*i+this.alpha*g/2*j},c.forward=function(a){var b=Math.log(Math.tan(Math.PI/4-a.y/2)),c=this.e/2*Math.log((1+this.e*Math.sin(a.y))/(1-this.e*Math.sin(a.y))),d=-this.alpha*(b+c)+this.K,e=2*(Math.atan(Math.exp(d))-Math.PI/4),f=this.alpha*(a.x-this.lambda0),g=Math.atan(Math.sin(f)/(Math.sin(this.b0)*Math.tan(e)+Math.cos(this.b0)*Math.cos(f))),h=Math.asin(Math.cos(this.b0)*Math.sin(e)-Math.sin(this.b0)*Math.cos(e)*Math.cos(f));return a.y=this.R/2*Math.log((1+Math.sin(h))/(1-Math.sin(h)))+this.y0,a.x=this.R*g+this.x0,a},c.inverse=function(a){for(var b=a.x-this.x0,c=a.y-this.y0,d=b/this.R,e=2*(Math.atan(Math.exp(c/this.R))-Math.PI/4),f=Math.asin(Math.cos(this.b0)*Math.sin(e)+Math.sin(this.b0)*Math.cos(e)*Math.cos(d)),g=Math.atan(Math.sin(d)/(Math.cos(this.b0)*Math.cos(d)-Math.sin(this.b0)*Math.tan(e))),h=this.lambda0+g/this.alpha,i=0,j=f,k=-1e3,l=0;Math.abs(j-k)>1e-7;){if(++l>20)return;i=1/this.alpha*(Math.log(Math.tan(Math.PI/4+f/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(j))/2)),k=j,j=2*Math.atan(Math.exp(i))-Math.PI/2}return a.x=h,a.y=j,a},c.names=["somerc"]},{}],59:[function(a,b,c){var d=Math.PI/2,e=1e-10,f=a("../common/sign"),g=a("../common/msfnz"),h=a("../common/tsfnz"),i=a("../common/phi2z"),j=a("../common/adjust_lon");c.ssfn_=function(a,b,c){return b*=c,Math.tan(.5*(d+a))*Math.pow((1-b)/(1+b),.5*c)},c.init=function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=e&&(this.k0=.5*(1+f(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=e&&(this.con=this.lat0>0?1:-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=e&&(this.k0=.5*this.cons*g(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/h(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=g(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-d,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},c.forward=function(a){var b,c,f,g,i,k,l=a.x,m=a.y,n=Math.sin(m),o=Math.cos(m),p=j(l-this.long0);return Math.abs(Math.abs(l-this.long0)-Math.PI)<=e&&Math.abs(m+this.lat0)<=e?(a.x=0/0,a.y=0/0,a):this.sphere?(b=2*this.k0/(1+this.sinlat0*n+this.coslat0*o*Math.cos(p)),a.x=this.a*b*o*Math.sin(p)+this.x0,a.y=this.a*b*(this.coslat0*n-this.sinlat0*o*Math.cos(p))+this.y0,a):(c=2*Math.atan(this.ssfn_(m,n,this.e))-d,g=Math.cos(c),f=Math.sin(c),Math.abs(this.coslat0)<=e?(i=h(this.e,m*this.con,this.con*n),k=2*this.a*this.k0*i/this.cons,a.x=this.x0+k*Math.sin(l-this.long0),a.y=this.y0-this.con*k*Math.cos(l-this.long0),a):(Math.abs(this.sinlat0)<e?(b=2*this.a*this.k0/(1+g*Math.cos(p)),a.y=b*f):(b=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*f+this.cosX0*g*Math.cos(p))),a.y=b*(this.cosX0*f-this.sinX0*g*Math.cos(p))+this.y0),a.x=b*g*Math.sin(p)+this.x0,a))},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,f,g,h,k=Math.sqrt(a.x*a.x+a.y*a.y);if(this.sphere){var l=2*Math.atan(k/(.5*this.a*this.k0));return b=this.long0,c=this.lat0,e>=k?(a.x=b,a.y=c,a):(c=Math.asin(Math.cos(l)*this.sinlat0+a.y*Math.sin(l)*this.coslat0/k),b=j(Math.abs(this.coslat0)<e?this.lat0>0?this.long0+Math.atan2(a.x,-1*a.y):this.long0+Math.atan2(a.x,a.y):this.long0+Math.atan2(a.x*Math.sin(l),k*this.coslat0*Math.cos(l)-a.y*this.sinlat0*Math.sin(l))),a.x=b,a.y=c,a)}if(Math.abs(this.coslat0)<=e){if(e>=k)return c=this.lat0,b=this.long0,a.x=b,a.y=c,a;a.x*=this.con,a.y*=this.con,f=k*this.cons/(2*this.a*this.k0),c=this.con*i(this.e,f),b=this.con*j(this.con*this.long0+Math.atan2(a.x,-1*a.y))}else g=2*Math.atan(k*this.cosX0/(2*this.a*this.k0*this.ms1)),b=this.long0,e>=k?h=this.X0:(h=Math.asin(Math.cos(g)*this.sinX0+a.y*Math.sin(g)*this.cosX0/k),b=j(this.long0+Math.atan2(a.x*Math.sin(g),k*this.cosX0*Math.cos(g)-a.y*this.sinX0*Math.sin(g)))),c=-1*i(this.e,Math.tan(.5*(d+h)));return a.x=b,a.y=c,a},c.names=["stere"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/sign":21,"../common/tsfnz":24}],60:[function(a,b,c){var d=a("./gauss"),e=a("../common/adjust_lon");c.init=function(){d.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},c.forward=function(a){var b,c,f,g;return a.x=e(a.x-this.long0),d.forward.apply(this,[a]),b=Math.sin(a.y),c=Math.cos(a.y),f=Math.cos(a.x),g=this.k0*this.R2/(1+this.sinc0*b+this.cosc0*c*f),a.x=g*c*Math.sin(a.x),a.y=g*(this.cosc0*b-this.sinc0*c*f),a.x=this.a*a.x+this.x0,a.y=this.a*a.y+this.y0,a},c.inverse=function(a){var b,c,f,g,h;if(a.x=(a.x-this.x0)/this.a,a.y=(a.y-this.y0)/this.a,a.x/=this.k0,a.y/=this.k0,h=Math.sqrt(a.x*a.x+a.y*a.y)){var i=2*Math.atan2(h,this.R2);b=Math.sin(i),c=Math.cos(i),g=Math.asin(c*this.sinc0+a.y*b*this.cosc0/h),f=Math.atan2(a.x*b,h*this.cosc0*c-a.y*this.sinc0*b)}else g=this.phic0,f=0;return a.x=f,a.y=g,d.inverse.apply(this,[a]),a.x=e(a.x+this.long0),a},c.names=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative"]},{"../common/adjust_lon":5,"./gauss":45}],61:[function(a,b,c){var d=a("../common/e0fn"),e=a("../common/e1fn"),f=a("../common/e2fn"),g=a("../common/e3fn"),h=a("../common/mlfn"),i=a("../common/adjust_lon"),j=Math.PI/2,k=1e-10,l=a("../common/sign"),m=a("../common/asinz");c.init=function(){this.e0=d(this.es),this.e1=e(this.es),this.e2=f(this.es),this.e3=g(this.es),this.ml0=this.a*h(this.e0,this.e1,this.e2,this.e3,this.lat0)},c.forward=function(a){var b,c,d,e=a.x,f=a.y,g=i(e-this.long0),j=Math.sin(f),k=Math.cos(f);if(this.sphere){var l=k*Math.sin(g);if(Math.abs(Math.abs(l)-1)<1e-10)return 93;c=.5*this.a*this.k0*Math.log((1+l)/(1-l)),b=Math.acos(k*Math.cos(g)/Math.sqrt(1-l*l)),0>f&&(b=-b),d=this.a*this.k0*(b-this.lat0)}else{var m=k*g,n=Math.pow(m,2),o=this.ep2*Math.pow(k,2),p=Math.tan(f),q=Math.pow(p,2);b=1-this.es*Math.pow(j,2);var r=this.a/Math.sqrt(b),s=this.a*h(this.e0,this.e1,this.e2,this.e3,f);c=this.k0*r*m*(1+n/6*(1-q+o+n/20*(5-18*q+Math.pow(q,2)+72*o-58*this.ep2)))+this.x0,d=this.k0*(s-this.ml0+r*p*n*(.5+n/24*(5-q+9*o+4*Math.pow(o,2)+n/30*(61-58*q+Math.pow(q,2)+600*o-330*this.ep2))))+this.y0}return a.x=c,a.y=d,a},c.inverse=function(a){var b,c,d,e,f,g,h=6;if(this.sphere){var n=Math.exp(a.x/(this.a*this.k0)),o=.5*(n-1/n),p=this.lat0+a.y/(this.a*this.k0),q=Math.cos(p);b=Math.sqrt((1-q*q)/(1+o*o)),f=m(b),0>p&&(f=-f),g=0===o&&0===q?this.long0:i(Math.atan2(o,q)+this.long0)}else{var r=a.x-this.x0,s=a.y-this.y0;for(b=(this.ml0+s/this.k0)/this.a,c=b,e=0;!0&&(d=(b+this.e1*Math.sin(2*c)-this.e2*Math.sin(4*c)+this.e3*Math.sin(6*c))/this.e0-c,c+=d,!(Math.abs(d)<=k));e++)if(e>=h)return 95;if(Math.abs(c)<j){var t=Math.sin(c),u=Math.cos(c),v=Math.tan(c),w=this.ep2*Math.pow(u,2),x=Math.pow(w,2),y=Math.pow(v,2),z=Math.pow(y,2);b=1-this.es*Math.pow(t,2);var A=this.a/Math.sqrt(b),B=A*(1-this.es)/b,C=r/(A*this.k0),D=Math.pow(C,2);f=c-A*v*D/B*(.5-D/24*(5+3*y+10*w-4*x-9*this.ep2-D/30*(61+90*y+298*w+45*z-252*this.ep2-3*x))),g=i(this.long0+C*(1-D/6*(1+2*y+w-D/20*(5-2*w+28*y-3*x+8*this.ep2+24*z)))/u)}else f=j*l(s),g=this.long0}return a.x=g,a.y=f,a},c.names=["Transverse_Mercator","Transverse Mercator","tmerc"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/mlfn":14,"../common/sign":21}],62:[function(a,b,c){var d=.017453292519943295,e=a("./tmerc");c.dependsOn="tmerc",c.init=function(){this.zone&&(this.lat0=0,this.long0=(6*Math.abs(this.zone)-183)*d,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,e.init.apply(this),this.forward=e.forward,this.inverse=e.inverse)},c.names=["Universal Transverse Mercator System","utm"]},{"./tmerc":61}],63:[function(a,b,c){var d=a("../common/adjust_lon"),e=Math.PI/2,f=1e-10,g=a("../common/asinz");c.init=function(){this.R=this.a},c.forward=function(a){var b,c,h=a.x,i=a.y,j=d(h-this.long0);Math.abs(i)<=f&&(b=this.x0+this.R*j,c=this.y0);var k=g(2*Math.abs(i/Math.PI));(Math.abs(j)<=f||Math.abs(Math.abs(i)-e)<=f)&&(b=this.x0,c=i>=0?this.y0+Math.PI*this.R*Math.tan(.5*k):this.y0+Math.PI*this.R*-Math.tan(.5*k));var l=.5*Math.abs(Math.PI/j-j/Math.PI),m=l*l,n=Math.sin(k),o=Math.cos(k),p=o/(n+o-1),q=p*p,r=p*(2/n-1),s=r*r,t=Math.PI*this.R*(l*(p-s)+Math.sqrt(m*(p-s)*(p-s)-(s+m)*(q-s)))/(s+m);0>j&&(t=-t),b=this.x0+t;var u=m+p;return t=Math.PI*this.R*(r*u-l*Math.sqrt((s+m)*(m+1)-u*u))/(s+m),c=i>=0?this.y0+t:this.y0-t,a.x=b,a.y=c,a},c.inverse=function(a){var b,c,e,g,h,i,j,k,l,m,n,o,p;return a.x-=this.x0,a.y-=this.y0,n=Math.PI*this.R,e=a.x/n,g=a.y/n,h=e*e+g*g,i=-Math.abs(g)*(1+h),j=i-2*g*g+e*e,k=-2*i+1+2*g*g+h*h,p=g*g/k+(2*j*j*j/k/k/k-9*i*j/k/k)/27,l=(i-j*j/3/k)/k,m=2*Math.sqrt(-l/3),n=3*p/l/m,Math.abs(n)>1&&(n=n>=0?1:-1),o=Math.acos(n)/3,c=a.y>=0?(-m*Math.cos(o+Math.PI/3)-j/3/k)*Math.PI:-(-m*Math.cos(o+Math.PI/3)-j/3/k)*Math.PI,b=Math.abs(e)<f?this.long0:d(this.long0+Math.PI*(h-1+Math.sqrt(1+2*(e*e-g*g)+h*h))/2/e),a.x=b,a.y=c,a},c.names=["Van_der_Grinten_I","VanDerGrinten","vandg"]},{"../common/adjust_lon":5,"../common/asinz":6}],64:[function(a,b){var c=.017453292519943295,d=57.29577951308232,e=1,f=2,g=a("./datum_transform"),h=a("./adjust_axis"),i=a("./Proj"),j=a("./common/toPoint");b.exports=function k(a,b,l){function m(a,b){return(a.datum.datum_type===e||a.datum.datum_type===f)&&"WGS84"!==b.datumCode}var n;return Array.isArray(l)&&(l=j(l)),a.datum&&b.datum&&(m(a,b)||m(b,a))&&(n=new i("WGS84"),k(a,n,l),a=n),"enu"!==a.axis&&h(a,!1,l),"longlat"===a.projName?(l.x*=c,l.y*=c):(a.to_meter&&(l.x*=a.to_meter,l.y*=a.to_meter),a.inverse(l)),a.from_greenwich&&(l.x+=a.from_greenwich),l=g(a.datum,b.datum,l),b.from_greenwich&&(l.x-=b.from_greenwich),"longlat"===b.projName?(l.x*=d,l.y*=d):(b.forward(l),b.to_meter&&(l.x/=b.to_meter,l.y/=b.to_meter)),"enu"!==b.axis&&h(b,!0,l),l}},{"./Proj":2,"./adjust_axis":3,"./common/toPoint":23,"./datum_transform":30}],65:[function(a,b){function c(a,b,c){a[b]=c.map(function(a){var b={};return d(a,b),b}).reduce(function(a,b){return i(a,b)},{})}function d(a,b){var e;return Array.isArray(a)?(e=a.shift(),"PARAMETER"===e&&(e=a.shift()),1===a.length?Array.isArray(a[0])?(b[e]={},d(a[0],b[e])):b[e]=a[0]:a.length?"TOWGS84"===e?b[e]=a:(b[e]={},["UNIT","PRIMEM","VERT_DATUM"].indexOf(e)>-1?(b[e]={name:a[0].toLowerCase(),convert:a[1]},3===a.length&&(b[e].auth=a[2])):"SPHEROID"===e?(b[e]={name:a[0],a:a[1],rf:a[2]},4===a.length&&(b[e].auth=a[3])):["GEOGCS","GEOCCS","DATUM","VERT_CS","COMPD_CS","LOCAL_CS","FITTED_CS","LOCAL_DATUM"].indexOf(e)>-1?(a[0]=["name",a[0]],c(b,e,a)):a.every(function(a){return Array.isArray(a)})?c(b,e,a):d(a,b[e])):b[e]=!0,void 0):void(b[a]=!0)}function e(a,b){var c=b[0],d=b[1];!(c in a)&&d in a&&(a[c]=a[d],3===b.length&&(a[c]=b[2](a[c])))}function f(a){return a*h}function g(a){function b(b){var c=a.to_meter||1;return parseFloat(b,10)*c}"GEOGCS"===a.type?a.projName="longlat":"LOCAL_CS"===a.type?(a.projName="identity",a.local=!0):a.projName="object"==typeof a.PROJECTION?Object.keys(a.PROJECTION)[0]:a.PROJECTION,a.UNIT&&(a.units=a.UNIT.name.toLowerCase(),"metre"===a.units&&(a.units="meter"),a.UNIT.convert&&(a.to_meter=parseFloat(a.UNIT.convert,10))),a.GEOGCS&&(a.datumCode=a.GEOGCS.DATUM?a.GEOGCS.DATUM.name.toLowerCase():a.GEOGCS.name.toLowerCase(),"d_"===a.datumCode.slice(0,2)&&(a.datumCode=a.datumCode.slice(2)),("new_zealand_geodetic_datum_1949"===a.datumCode||"new_zealand_1949"===a.datumCode)&&(a.datumCode="nzgd49"),"wgs_1984"===a.datumCode&&("Mercator_Auxiliary_Sphere"===a.PROJECTION&&(a.sphere=!0),a.datumCode="wgs84"),"_ferro"===a.datumCode.slice(-6)&&(a.datumCode=a.datumCode.slice(0,-6)),"_jakarta"===a.datumCode.slice(-8)&&(a.datumCode=a.datumCode.slice(0,-8)),~a.datumCode.indexOf("belge")&&(a.datumCode="rnb72"),a.GEOGCS.DATUM&&a.GEOGCS.DATUM.SPHEROID&&(a.ellps=a.GEOGCS.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===a.ellps.toLowerCase().slice(0,13)&&(a.ellps="intl"),a.a=a.GEOGCS.DATUM.SPHEROID.a,a.rf=parseFloat(a.GEOGCS.DATUM.SPHEROID.rf,10)),~a.datumCode.indexOf("osgb_1936")&&(a.datumCode="osgb36")),a.b&&!isFinite(a.b)&&(a.b=a.a);
3
+ var c=function(b){return e(a,b)},d=[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_2","Standard_Parallel_2"],["false_easting","False_Easting"],["false_northing","False_Northing"],["central_meridian","Central_Meridian"],["latitude_of_origin","Latitude_Of_Origin"],["latitude_of_origin","Central_Parallel"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",f],["longitude_of_center","Longitude_Of_Center"],["longc","longitude_of_center",f],["x0","false_easting",b],["y0","false_northing",b],["long0","central_meridian",f],["lat0","latitude_of_origin",f],["lat0","standard_parallel_1",f],["lat1","standard_parallel_1",f],["lat2","standard_parallel_2",f],["alpha","azimuth",f],["srsCode","name"]];d.forEach(c),a.long0||!a.longc||"Albers_Conic_Equal_Area"!==a.PROJECTION&&"Lambert_Azimuthal_Equal_Area"!==a.PROJECTION||(a.long0=a.longc)}var h=.017453292519943295,i=a("./extend");b.exports=function(a,b){var c=JSON.parse((","+a).replace(/\s*\,\s*([A-Z_0-9]+?)(\[)/g,',["$1",').slice(1).replace(/\s*\,\s*([A-Z_0-9]+?)\]/g,',"$1"]').replace(/,\["VERTCS".+/,"")),e=c.shift(),f=c.shift();c.unshift(["name",f]),c.unshift(["type",e]),c.unshift("output");var h={};return d(c,h),g(h.output),i(b,h.output)}},{"./extend":33}],66:[function(a,b,c){function d(a){return a*(Math.PI/180)}function e(a){return 180*(a/Math.PI)}function f(a){var b,c,e,f,g,i,j,k,l,m=a.lat,n=a.lon,o=6378137,p=.00669438,q=.9996,r=d(m),s=d(n);l=Math.floor((n+180)/6)+1,180===n&&(l=60),m>=56&&64>m&&n>=3&&12>n&&(l=32),m>=72&&84>m&&(n>=0&&9>n?l=31:n>=9&&21>n?l=33:n>=21&&33>n?l=35:n>=33&&42>n&&(l=37)),b=6*(l-1)-180+3,k=d(b),c=p/(1-p),e=o/Math.sqrt(1-p*Math.sin(r)*Math.sin(r)),f=Math.tan(r)*Math.tan(r),g=c*Math.cos(r)*Math.cos(r),i=Math.cos(r)*(s-k),j=o*((1-p/4-3*p*p/64-5*p*p*p/256)*r-(3*p/8+3*p*p/32+45*p*p*p/1024)*Math.sin(2*r)+(15*p*p/256+45*p*p*p/1024)*Math.sin(4*r)-35*p*p*p/3072*Math.sin(6*r));var t=q*e*(i+(1-f+g)*i*i*i/6+(5-18*f+f*f+72*g-58*c)*i*i*i*i*i/120)+5e5,u=q*(j+e*Math.tan(r)*(i*i/2+(5-f+9*g+4*g*g)*i*i*i*i/24+(61-58*f+f*f+600*g-330*c)*i*i*i*i*i*i/720));return 0>m&&(u+=1e7),{northing:Math.round(u),easting:Math.round(t),zoneNumber:l,zoneLetter:h(m)}}function g(a){var b=a.northing,c=a.easting,d=a.zoneLetter,f=a.zoneNumber;if(0>f||f>60)return null;var h,i,j,k,l,m,n,o,p,q,r=.9996,s=6378137,t=.00669438,u=(1-Math.sqrt(1-t))/(1+Math.sqrt(1-t)),v=c-5e5,w=b;"N">d&&(w-=1e7),o=6*(f-1)-180+3,h=t/(1-t),n=w/r,p=n/(s*(1-t/4-3*t*t/64-5*t*t*t/256)),q=p+(3*u/2-27*u*u*u/32)*Math.sin(2*p)+(21*u*u/16-55*u*u*u*u/32)*Math.sin(4*p)+151*u*u*u/96*Math.sin(6*p),i=s/Math.sqrt(1-t*Math.sin(q)*Math.sin(q)),j=Math.tan(q)*Math.tan(q),k=h*Math.cos(q)*Math.cos(q),l=s*(1-t)/Math.pow(1-t*Math.sin(q)*Math.sin(q),1.5),m=v/(i*r);var x=q-i*Math.tan(q)/l*(m*m/2-(5+3*j+10*k-4*k*k-9*h)*m*m*m*m/24+(61+90*j+298*k+45*j*j-252*h-3*k*k)*m*m*m*m*m*m/720);x=e(x);var y=(m-(1+2*j+k)*m*m*m/6+(5-2*k+28*j-3*k*k+8*h+24*j*j)*m*m*m*m*m/120)/Math.cos(q);y=o+e(y);var z;if(a.accuracy){var A=g({northing:a.northing+a.accuracy,easting:a.easting+a.accuracy,zoneLetter:a.zoneLetter,zoneNumber:a.zoneNumber});z={top:A.lat,right:A.lon,bottom:x,left:y}}else z={lat:x,lon:y};return z}function h(a){var b="Z";return 84>=a&&a>=72?b="X":72>a&&a>=64?b="W":64>a&&a>=56?b="V":56>a&&a>=48?b="U":48>a&&a>=40?b="T":40>a&&a>=32?b="S":32>a&&a>=24?b="R":24>a&&a>=16?b="Q":16>a&&a>=8?b="P":8>a&&a>=0?b="N":0>a&&a>=-8?b="M":-8>a&&a>=-16?b="L":-16>a&&a>=-24?b="K":-24>a&&a>=-32?b="J":-32>a&&a>=-40?b="H":-40>a&&a>=-48?b="G":-48>a&&a>=-56?b="F":-56>a&&a>=-64?b="E":-64>a&&a>=-72?b="D":-72>a&&a>=-80&&(b="C"),b}function i(a,b){var c=""+a.easting,d=""+a.northing;return a.zoneNumber+a.zoneLetter+j(a.easting,a.northing,a.zoneNumber)+c.substr(c.length-5,b)+d.substr(d.length-5,b)}function j(a,b,c){var d=k(c),e=Math.floor(a/1e5),f=Math.floor(b/1e5)%20;return l(e,f,d)}function k(a){var b=a%q;return 0===b&&(b=q),b}function l(a,b,c){var d=c-1,e=r.charCodeAt(d),f=s.charCodeAt(d),g=e+a-1,h=f+b,i=!1;g>x&&(g=g-x+t-1,i=!0),(g===u||u>e&&g>u||(g>u||u>e)&&i)&&g++,(g===v||v>e&&g>v||(g>v||v>e)&&i)&&(g++,g===u&&g++),g>x&&(g=g-x+t-1),h>w?(h=h-w+t-1,i=!0):i=!1,(h===u||u>f&&h>u||(h>u||u>f)&&i)&&h++,(h===v||v>f&&h>v||(h>v||v>f)&&i)&&(h++,h===u&&h++),h>w&&(h=h-w+t-1);var j=String.fromCharCode(g)+String.fromCharCode(h);return j}function m(a){if(a&&0===a.length)throw"MGRSPoint coverting from nothing";for(var b,c=a.length,d=null,e="",f=0;!/[A-Z]/.test(b=a.charAt(f));){if(f>=2)throw"MGRSPoint bad conversion from: "+a;e+=b,f++}var g=parseInt(e,10);if(0===f||f+3>c)throw"MGRSPoint bad conversion from: "+a;var h=a.charAt(f++);if("A">=h||"B"===h||"Y"===h||h>="Z"||"I"===h||"O"===h)throw"MGRSPoint zone letter "+h+" not handled: "+a;d=a.substring(f,f+=2);for(var i=k(g),j=n(d.charAt(0),i),l=o(d.charAt(1),i);l<p(h);)l+=2e6;var m=c-f;if(m%2!==0)throw"MGRSPoint has to have an even number \nof digits after the zone letter and two 100km letters - front \nhalf for easting meters, second half for \nnorthing meters"+a;var q,r,s,t,u,v=m/2,w=0,x=0;return v>0&&(q=1e5/Math.pow(10,v),r=a.substring(f,f+v),w=parseFloat(r)*q,s=a.substring(f+v),x=parseFloat(s)*q),t=w+j,u=x+l,{easting:t,northing:u,zoneLetter:h,zoneNumber:g,accuracy:q}}function n(a,b){for(var c=r.charCodeAt(b-1),d=1e5,e=!1;c!==a.charCodeAt(0);){if(c++,c===u&&c++,c===v&&c++,c>x){if(e)throw"Bad character: "+a;c=t,e=!0}d+=1e5}return d}function o(a,b){if(a>"V")throw"MGRSPoint given invalid Northing "+a;for(var c=s.charCodeAt(b-1),d=0,e=!1;c!==a.charCodeAt(0);){if(c++,c===u&&c++,c===v&&c++,c>w){if(e)throw"Bad character: "+a;c=t,e=!0}d+=1e5}return d}function p(a){var b;switch(a){case"C":b=11e5;break;case"D":b=2e6;break;case"E":b=28e5;break;case"F":b=37e5;break;case"G":b=46e5;break;case"H":b=55e5;break;case"J":b=64e5;break;case"K":b=73e5;break;case"L":b=82e5;break;case"M":b=91e5;break;case"N":b=0;break;case"P":b=8e5;break;case"Q":b=17e5;break;case"R":b=26e5;break;case"S":b=35e5;break;case"T":b=44e5;break;case"U":b=53e5;break;case"V":b=62e5;break;case"W":b=7e6;break;case"X":b=79e5;break;default:b=-1}if(b>=0)return b;throw"Invalid zone letter: "+a}var q=6,r="AJSAJS",s="AFAFAF",t=65,u=73,v=79,w=86,x=90;c.forward=function(a,b){return b=b||5,i(f({lat:a[1],lon:a[0]}),b)},c.inverse=function(a){var b=g(m(a.toUpperCase()));return[b.left,b.bottom,b.right,b.top]},c.toPoint=function(a){var b=c.inverse(a);return[(b[2]+b[0])/2,(b[3]+b[1])/2]}},{}],67:[function(a,b){b.exports={name:"proj4",version:"2.3.3",description:"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",main:"lib/index.js",directories:{test:"test",doc:"docs"},scripts:{test:"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},repository:{type:"git",url:"git://github.com/proj4js/proj4js.git"},author:"",license:"MIT",jam:{main:"dist/proj4.js",include:["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},devDependencies:{"grunt-cli":"~0.1.13",grunt:"~0.4.2","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0",chai:"~1.8.1",mocha:"~1.17.1","grunt-mocha-phantomjs":"~0.4.0",browserify:"~3.24.5","grunt-browserify":"~1.3.0","grunt-contrib-uglify":"~0.3.2",curl:"git://github.com/cujojs/curl.git",istanbul:"~0.2.4",tin:"~0.4.0"},dependencies:{mgrs:"0.0.0"}}},{}],"./includedProjections":[function(a,b){b.exports=a("gWUPNW")},{}],gWUPNW:[function(a,b){var c=[a("./lib/projections/tmerc"),a("./lib/projections/utm"),a("./lib/projections/sterea"),a("./lib/projections/stere"),a("./lib/projections/somerc"),a("./lib/projections/omerc"),a("./lib/projections/lcc"),a("./lib/projections/krovak"),a("./lib/projections/cass"),a("./lib/projections/laea"),a("./lib/projections/aea"),a("./lib/projections/gnom"),a("./lib/projections/cea"),a("./lib/projections/eqc"),a("./lib/projections/poly"),a("./lib/projections/nzmg"),a("./lib/projections/mill"),a("./lib/projections/sinu"),a("./lib/projections/moll"),a("./lib/projections/eqdc"),a("./lib/projections/vandg"),a("./lib/projections/aeqd")];b.exports=function(proj4){c.forEach(function(a){proj4.Proj.projections.add(a)})}},{"./lib/projections/aea":39,"./lib/projections/aeqd":40,"./lib/projections/cass":41,"./lib/projections/cea":42,"./lib/projections/eqc":43,"./lib/projections/eqdc":44,"./lib/projections/gnom":46,"./lib/projections/krovak":47,"./lib/projections/laea":48,"./lib/projections/lcc":49,"./lib/projections/mill":52,"./lib/projections/moll":53,"./lib/projections/nzmg":54,"./lib/projections/omerc":55,"./lib/projections/poly":56,"./lib/projections/sinu":57,"./lib/projections/somerc":58,"./lib/projections/stere":59,"./lib/projections/sterea":60,"./lib/projections/tmerc":61,"./lib/projections/utm":62,"./lib/projections/vandg":63}]},{},[35])(35)});
@@ -0,0 +1 @@
1
+ !function(t){var s;"object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define(t):("undefined"!=typeof window?s=window:"undefined"!=typeof global?s=global:"undefined"!=typeof self&&(s=self),s.proj4=t())}(function(){return function a(h,n,e){function o(i,t){if(!n[i]){if(!h[i]){var s="function"==typeof require&&require;if(!t&&s)return s(i,!0);if(r)return r(i,!0);throw new Error("Cannot find module '"+i+"'")}t=n[i]={exports:{}};h[i][0].call(t.exports,function(t){var s=h[i][1][t];return o(s||t)},t,t.exports,a,h,n,e)}return n[i].exports}for(var r="function"==typeof require&&require,t=0;t<e.length;t++)o(e[t]);return o}({1:[function(t,s){function h(t,s,i){if(!(this instanceof h))return new h(t,s,i);var a;Array.isArray(t)?(this.x=t[0],this.y=t[1],this.z=t[2]||0):"object"==typeof t?(this.x=t.x,this.y=t.y,this.z=t.z||0):"string"==typeof t&&void 0===s?(a=t.split(","),this.x=parseFloat(a[0],10),this.y=parseFloat(a[1],10),this.z=parseFloat(a[2],10)||0):(this.x=t,this.y=s,this.z=i||0),console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}var i=t("mgrs");h.fromMGRS=function(t){return new h(i.toPoint(t))},h.prototype.toMGRS=function(t){return i.forward([this.x,this.y],t)},s.exports=h},{mgrs:66}],2:[function(t,s){function h(t,s){if(!(this instanceof h))return new h(t);s=s||function(t){if(t)throw t};var i,a=n(t);"object"==typeof a&&(a=o(a),i=h.projections.get(a.projName))?(e(this,a),e(this,i),this.init(),s(null,this)):s(t)}var n=t("./parseCode"),e=t("./extend"),i=t("./projections"),o=t("./deriveConstants");(h.projections=i).start(),s.exports=h},{"./deriveConstants":32,"./extend":33,"./parseCode":36,"./projections":38}],3:[function(t,s){s.exports=function(t,s,i){for(var a,h,n=i.x,e=i.y,o=i.z||0,r=0;r<3;r++)if(!s||2!==r||void 0!==i.z)switch(h=0===r?(a=n,"x"):1===r?(a=e,"y"):(a=o,"z"),t.axis[r]){case"e":i[h]=a;break;case"w":i[h]=-a;break;case"n":i[h]=a;break;case"s":i[h]=-a;break;case"u":void 0!==i[h]&&(i.z=a);break;case"d":void 0!==i[h]&&(i.z=-a);break;default:return null}return i}},{}],4:[function(t,s){var i=Math.PI/2,a=t("./sign");s.exports=function(t){return Math.abs(t)<i?t:t-a(t)*Math.PI}},{"./sign":21}],5:[function(t,s){var i=2*Math.PI,a=t("./sign");s.exports=function(t){return Math.abs(t)<=3.14159265359?t:t-a(t)*i}},{"./sign":21}],6:[function(t,s){s.exports=function(t){return 1<Math.abs(t)&&(t=1<t?1:-1),Math.asin(t)}},{}],7:[function(t,s){s.exports=function(t){return 1-.25*t*(1+t/16*(3+1.25*t))}},{}],8:[function(t,s){s.exports=function(t){return.375*t*(1+.25*t*(1+.46875*t))}},{}],9:[function(t,s){s.exports=function(t){return.05859375*t*t*(1+.75*t)}},{}],10:[function(t,s){s.exports=function(t){return t*t*t*(35/3072)}},{}],11:[function(t,s){s.exports=function(t,s,i){s*=i;return t/Math.sqrt(1-s*s)}},{}],12:[function(t,s){s.exports=function(t,s,i,a,h){for(var n,e=t/s,o=0;o<15;o++)if(e+=n=(t-(s*e-i*Math.sin(2*e)+a*Math.sin(4*e)-h*Math.sin(6*e)))/(s-2*i*Math.cos(2*e)+4*a*Math.cos(4*e)-6*h*Math.cos(6*e)),Math.abs(n)<=1e-10)return e;return NaN}},{}],13:[function(t,s){var r=Math.PI/2;s.exports=function(t,s){var i=1-(1-t*t)/(2*t)*Math.log((1-t)/(1+t));if(Math.abs(Math.abs(s)-i)<1e-6)return s<0?-1*r:r;for(var a,h,n,e=Math.asin(.5*s),o=0;o<30;o++)if(a=Math.sin(e),h=Math.cos(e),n=t*a,e+=h=Math.pow(1-n*n,2)/(2*h)*(s/(1-t*t)-a/(1-n*n)+.5/t*Math.log((1-n)/(1+n))),Math.abs(h)<=1e-10)return e;return NaN}},{}],14:[function(t,s){s.exports=function(t,s,i,a,h){return t*h-s*Math.sin(2*h)+i*Math.sin(4*h)-a*Math.sin(6*h)}},{}],15:[function(t,s){s.exports=function(t,s,i){t*=s;return i/Math.sqrt(1-t*t)}},{}],16:[function(t,s){var e=Math.PI/2;s.exports=function(t,s){for(var i,a=.5*t,h=e-2*Math.atan(s),n=0;n<=15;n++)if(i=t*Math.sin(h),h+=i=e-2*Math.atan(s*Math.pow((1-i)/(1+i),a))-h,Math.abs(i)<=1e-10)return h;return-9999}},{}],17:[function(t,s){var a=.01953125,h=.01068115234375;s.exports=function(t){var s=[],i=(s[0]=1-t*(.25+t*(.046875+t*(a+t*h))),s[1]=t*(.75-t*(.046875+t*(a+t*h))),t*t);return s[2]=i*(.46875-t*(.013020833333333334+.007120768229166667*t)),s[3]=(i*=t)*(.3645833333333333-.005696614583333333*t),s[4]=i*t*.3076171875,s}},{}],18:[function(t,s){var r=t("./pj_mlfn");s.exports=function(t,s,i){for(var a=1/(1-s),h=t,n=20;n;--n){var e=Math.sin(h),o=1-s*e*e;if(h-=o=(r(h,e,Math.cos(h),i)-t)*o*Math.sqrt(o)*a,Math.abs(o)<1e-10)return h}return h}},{"./pj_mlfn":19}],19:[function(t,s){s.exports=function(t,s,i,a){return a[0]*t-(i*=s)*(a[1]+(s*=s)*(a[2]+s*(a[3]+s*a[4])))}},{}],20:[function(t,s){s.exports=function(t,s){var i;return 1e-7<t?(1-t*t)*(s/(1-(i=t*s)*i)-.5/t*Math.log((1-i)/(1+i))):2*s}},{}],21:[function(t,s){s.exports=function(t){return t<0?-1:1}},{}],22:[function(t,s){s.exports=function(t,s){return Math.pow((1-t)/(1+t),s)}},{}],23:[function(t,s){s.exports=function(t){var s={x:t[0],y:t[1]};return 2<t.length&&(s.z=t[2]),3<t.length&&(s.m=t[3]),s}},{}],24:[function(t,s){var a=Math.PI/2;s.exports=function(t,s,i){i*=t,i=Math.pow((1-i)/(1+i),.5*t);return Math.tan(.5*(a-s))/i}},{}],25:[function(t,s,i){i.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},i.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},i.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},i.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},i.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},i.potsdam={towgs84:"606.0,23.0,413.0",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},i.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},i.hermannskogel={towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"},i.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},i.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},i.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},i.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},i.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},i.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},i.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},i.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"}},{}],26:[function(t,s,i){i.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"},i.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},i.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},i.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"},i.airy={a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},i.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},i.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},i.mod_airy={a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},i.andrae={a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},i.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},i.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},i.bessel={a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},i.bess_nam={a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},i.clrk66={a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},i.clrk80={a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},i.clrk58={a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},i.CPM={a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},i.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},i.engelis={a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},i.evrst30={a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},i.evrst48={a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},i.evrst56={a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},i.evrst69={a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},i.evrstSS={a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},i.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},i.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"},i.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"},i.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"},i.hough={a:6378270,rf:297,ellipseName:"Hough"},i.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},i.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"},i.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"},i.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"},i.new_intl={a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},i.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},i.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},i.SEasia={a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},i.walbeck={a:6376896,b:6355834.8467,ellipseName:"Walbeck"},i.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"},i.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"},i.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"},i.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"},i.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"}},{}],27:[function(t,s,i){i.greenwich=0,i.lisbon=-9.131906111111,i.paris=2.337229166667,i.bogota=-74.080916666667,i.madrid=-3.687938888889,i.rome=12.452333333333,i.bern=7.439583333333,i.jakarta=106.807719444444,i.ferro=-17.666666666667,i.brussels=4.367975,i.stockholm=18.058277777778,i.athens=23.7163375,i.oslo=10.722916666667},{}],28:[function(t,s){function h(t,s,i){var a;return Array.isArray(i)?(a=e(t,s,i),3===i.length?[a.x,a.y,a.z]:[a.x,a.y]):e(t,s,i)}function n(t){return t instanceof i?t:t.oProj||i(t)}var i=t("./Proj"),e=t("./transform"),o=i("WGS84");s.exports=function(s,i,t){s=n(s);var a=!1;return void 0===i?(i=s,s=o,a=!0):void 0===i.x&&!Array.isArray(i)||(t=i,i=s,s=o,a=!0),i=n(i),t?h(s,i,t):(t={forward:function(t){return h(s,i,t)},inverse:function(t){return h(i,s,t)}},a&&(t.oProj=i),t)}},{"./Proj":2,"./transform":64}],29:[function(t,s){function i(t){if(!(this instanceof i))return new i(t);if(this.datum_type=4,t){if(t.datumCode&&"none"===t.datumCode&&(this.datum_type=5),t.datum_params){for(var s=0;s<t.datum_params.length;s++)t.datum_params[s]=parseFloat(t.datum_params[s]);0===t.datum_params[0]&&0===t.datum_params[1]&&0===t.datum_params[2]||(this.datum_type=1),3<t.datum_params.length&&(0!==t.datum_params[3]||0!==t.datum_params[4]||0!==t.datum_params[5]||0!==t.datum_params[6])&&(this.datum_type=2,t.datum_params[3]*=a,t.datum_params[4]*=a,t.datum_params[5]*=a,t.datum_params[6]=t.datum_params[6]/1e6+1)}this.datum_type=t.grids?3:this.datum_type,this.a=t.a,this.b=t.b,this.es=t.es,this.ep2=t.ep2,this.datum_params=t.datum_params,3===this.datum_type&&(this.grids=t.grids)}}var g=Math.PI/2,a=484813681109536e-20,c=.3826834323650898;i.prototype={compare_datums:function(t){return this.datum_type===t.datum_type&&!(this.a!==t.a||5e-11<Math.abs(this.es-t.es))&&(1===this.datum_type?this.datum_params[0]===t.datum_params[0]&&this.datum_params[1]===t.datum_params[1]&&this.datum_params[2]===t.datum_params[2]:2===this.datum_type?this.datum_params[0]===t.datum_params[0]&&this.datum_params[1]===t.datum_params[1]&&this.datum_params[2]===t.datum_params[2]&&this.datum_params[3]===t.datum_params[3]&&this.datum_params[4]===t.datum_params[4]&&this.datum_params[5]===t.datum_params[5]&&this.datum_params[6]===t.datum_params[6]:3!==this.datum_type&&3!==t.datum_type||this.nadgrids===t.nadgrids)},geodetic_to_geocentric:function(t){var s,i,a,h=t.x,n=t.y,e=t.z||0;if(n<-g&&-1.001*g<n)n=-g;else if(g<n&&n<1.001*g)n=g;else if(n<-g||g<n)return null;return h>Math.PI&&(h-=2*Math.PI),a=Math.sin(n),n=Math.cos(n),s=((i=this.a/Math.sqrt(1-this.es*(a*a)))+e)*n*Math.cos(h),n=(i+e)*n*Math.sin(h),h=(i*(1-this.es)+e)*a,t.x=s,t.y=n,t.z=h,0},geocentric_to_geodetic:function(t){var s,i,a,h,n,e,o,r,c,l,m,M,u=1e-12,f=t.x,p=t.y,d=t.z||0,_=Math.sqrt(f*f+p*p),y=Math.sqrt(f*f+p*p+d*d);if(_/this.a<u){if(l=0,y/this.a<u)return m=g,void this.b}else l=Math.atan2(p,f);for(s=d/y,i=_/y,a=1/Math.sqrt(1-this.es*(2-this.es)*i*i),h=i*(1-this.es)*a,n=s*a,c=0;c++,M=_*h+d*n-(r=this.a/Math.sqrt(1-this.es*n*n))*(1-this.es*n*n),r=this.es*r/(r+M),r=(o=s*(a=1/Math.sqrt(1-r*(2-r)*i*i)))*h-(e=i*(1-r)*a)*n,h=e,n=o,1e-24<r*r&&c<30;);return m=Math.atan(o/Math.abs(e)),t.x=l,t.y=m,t.z=M,t},geocentric_to_geodetic_noniter:function(t){var s,i,a,h,n=t.x,e=t.y,o=t.z||0,n=parseFloat(n),e=parseFloat(e),o=parseFloat(o),r=!1;if(0!==n)s=Math.atan2(e,n);else if(0<e)s=g;else if(e<0)s=-g;else if(r=!0,(s=0)<o)i=g;else{if(!(o<0))return i=g,void this.b;i=-g}return n=n*n+e*e,e=Math.sqrt(n),h=1.0026*o,n=Math.sqrt(h*h+n),h=o+this.b*this.ep2*((h=h/n)*h*h),n=e-this.a*this.es*(n=e/n)*n*n,a=h/(h=Math.sqrt(h*h+n*n)),n=n/h,h=this.a/Math.sqrt(1-this.es*a*a),e=c<=n?e/n-h:n<=-c?e/-n-h:o/a+h*(this.es-1),!1===r&&(i=Math.atan(a/n)),t.x=s,t.y=i,t.z=e,t},geocentric_to_wgs84:function(t){var s,i,a,h,n,e,o;1===this.datum_type?(t.x+=this.datum_params[0],t.y+=this.datum_params[1],t.z+=this.datum_params[2]):2===this.datum_type&&(n=this.datum_params[0],o=this.datum_params[1],s=this.datum_params[2],i=this.datum_params[3],a=this.datum_params[4],e=this.datum_params[5],n=(h=this.datum_params[6])*(t.x-e*t.y+a*t.z)+n,e=h*(e*t.x+t.y-i*t.z)+o,o=h*(-a*t.x+i*t.y+t.z)+s,t.x=n,t.y=e,t.z=o)},geocentric_from_wgs84:function(t){var s,i,a,h,n,e,o;1===this.datum_type?(t.x-=this.datum_params[0],t.y-=this.datum_params[1],t.z-=this.datum_params[2]):2===this.datum_type&&(n=this.datum_params[0],e=this.datum_params[1],o=this.datum_params[2],s=this.datum_params[3],i=this.datum_params[4],a=this.datum_params[5],h=this.datum_params[6],n=(t.x-n)/h,e=(t.y-e)/h,o=(t.z-o)/h,t.x=n+a*e-i*o,t.y=-a*n+e+s*o,t.z=i*n-s*e+o)}},s.exports=i},{}],30:[function(t,s){var M=.006694379990141316;s.exports=function(t,s,i){function a(t){return 1===t||2===t}var h,n,e;if(!t.compare_datums(s)&&5!==t.datum_type&&5!==s.datum_type){var o=t.a,r=t.es,c=s.a,l=s.es,m=t.datum_type;if(3===m)if(0===this.apply_gridshift(t,0,i))t.a=6378137,t.es=M;else{if(!t.datum_params)return t.a=o,t.es=t.es,i;for(h=1,n=0,e=t.datum_params.length;n<e;n++)h*=t.datum_params[n];if(0===h)return t.a=o,t.es=t.es,i;m=3<t.datum_params.length?2:1}3===s.datum_type&&(s.a=6378137,s.es=M),(t.es!==s.es||t.a!==s.a||a(m)||a(s.datum_type))&&(t.geodetic_to_geocentric(i),a(t.datum_type)&&t.geocentric_to_wgs84(i),a(s.datum_type)&&s.geocentric_from_wgs84(i),s.geocentric_to_geodetic(i)),3===s.datum_type&&this.apply_gridshift(s,1,i),t.a=o,t.es=r,s.a=c,s.es=l}return i}},{}],31:[function(t,s){function a(t){var s=this;if(2===arguments.length){var i=arguments[1];a[t]="string"==typeof i?("+"===i.charAt(0)?h:n)(arguments[1]):i}else if(1===arguments.length){if(Array.isArray(t))return t.map(function(t){Array.isArray(t)?a.apply(s,t):a(t)});if("string"==typeof t){if(t in a)return a[t]}else"EPSG"in t?a["EPSG:"+t.EPSG]=t:"ESRI"in t?a["ESRI:"+t.ESRI]=t:"IAU2000"in t?a["IAU2000:"+t.IAU2000]=t:console.log(t)}}var i=t("./global"),h=t("./projString"),n=t("./wkt");i(a),s.exports=a},{"./global":34,"./projString":37,"./wkt":65}],32:[function(t,s){var i=t("./constants/Datum"),a=t("./constants/Ellipsoid"),h=t("./extend"),n=t("./datum");s.exports=function(t){var s;return t.datumCode&&"none"!==t.datumCode&&(s=i[t.datumCode])&&(t.datum_params=s.towgs84?s.towgs84.split(","):null,t.ellps=s.ellipse,t.datumName=s.datumName||t.datumCode),t.a||(s=a[t.ellps]||a.WGS84,h(t,s)),t.rf&&!t.b&&(t.b=(1-1/t.rf)*t.a),(0===t.rf||Math.abs(t.a-t.b)<1e-10)&&(t.sphere=!0,t.b=t.a),t.a2=t.a*t.a,t.b2=t.b*t.b,t.es=(t.a2-t.b2)/t.a2,t.e=Math.sqrt(t.es),t.R_A&&(t.a*=1-t.es*(.16666666666666666+t.es*(.04722222222222222+.022156084656084655*t.es)),t.a2=t.a*t.a,t.b2=t.b*t.b,t.es=0),t.ep2=(t.a2-t.b2)/t.b2,t.k0||(t.k0=1),t.axis||(t.axis="enu"),t.datum||(t.datum=n(t)),t}},{"./constants/Datum":25,"./constants/Ellipsoid":26,"./datum":29,"./extend":33}],33:[function(t,s){s.exports=function(t,s){var i,a;if(t=t||{},s)for(a in s)i=s[a],void 0!==i&&(t[a]=i);return t}},{}],34:[function(t,s){s.exports=function(t){t("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),t("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),t("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),t.WGS84=t["EPSG:4326"],t["EPSG:3785"]=t["EPSG:3857"],t.GOOGLE=t["EPSG:3857"],t["EPSG:900913"]=t["EPSG:3857"],t["EPSG:102113"]=t["EPSG:3857"]}},{}],35:[function(t,s){var i=t("./core");i.defaultDatum="WGS84",i.Proj=t("./Proj"),i.WGS84=new i.Proj("WGS84"),i.Point=t("./Point"),i.toPoint=t("./common/toPoint"),i.defs=t("./defs"),i.transform=t("./transform"),i.mgrs=t("mgrs"),i.version=t("../package.json").version,t("./includedProjections")(i),s.exports=i},{"../package.json":67,"./Point":1,"./Proj":2,"./common/toPoint":23,"./core":28,"./defs":31,"./includedProjections":"gWUPNW","./transform":64,mgrs:66}],36:[function(t,s){var a=t("./defs"),h=t("./wkt"),n=t("./projString");s.exports=function(t){return"string"==typeof t?t in a?a[t]:(i=t,["GEOGCS","GEOCCS","PROJCS","LOCAL_CS"].reduce(function(t,s){return t+1+i.indexOf(s)},0)?h(t):"+"===t[0]?n(t):void 0):t;var i}},{"./defs":31,"./projString":37,"./wkt":65}],37:[function(t,s){var o=.017453292519943295,r=t("./constants/PrimeMeridian");s.exports=function(t){var i={},s={};t.split("+").map(function(t){return t.trim()}).filter(function(t){return t}).forEach(function(t){t=t.split("=");t.push(!0),s[t[0].toLowerCase()]=t[1]});var a,h,n,e={proj:"projName",datum:"datumCode",rf:function(t){i.rf=parseFloat(t)},lat_0:function(t){i.lat0=t*o},lat_1:function(t){i.lat1=t*o},lat_2:function(t){i.lat2=t*o},lat_ts:function(t){i.lat_ts=t*o},lon_0:function(t){i.long0=t*o},lon_1:function(t){i.long1=t*o},lon_2:function(t){i.long2=t*o},alpha:function(t){i.alpha=parseFloat(t)*o},lonc:function(t){i.longc=t*o},x_0:function(t){i.x0=parseFloat(t)},y_0:function(t){i.y0=parseFloat(t)},k_0:function(t){i.k0=parseFloat(t)},k:function(t){i.k0=parseFloat(t)},a:function(t){i.a=parseFloat(t)},b:function(t){i.b=parseFloat(t)},r_a:function(){i.R_A=!0},zone:function(t){i.zone=parseInt(t,10)},south:function(){i.utmSouth=!0},towgs84:function(t){i.datum_params=t.split(",").map(function(t){return parseFloat(t)})},to_meter:function(t){i.to_meter=parseFloat(t)},from_greenwich:function(t){i.from_greenwich=t*o},pm:function(t){i.from_greenwich=(r[t]||parseFloat(t))*o},nadgrids:function(t){"@null"===t?i.datumCode="none":i.nadgrids=t},axis:function(t){var s="ewnsud";3===t.length&&-1!==s.indexOf(t.substr(0,1))&&-1!==s.indexOf(t.substr(1,1))&&-1!==s.indexOf(t.substr(2,1))&&(i.axis=t)}};for(a in s)h=s[a],a in e?(n=e[a],"function"==typeof n?n(h):i[n]=h):i[a]=h;return"string"==typeof i.datumCode&&"WGS84"!==i.datumCode&&(i.datumCode=i.datumCode.toLowerCase()),i}},{"./constants/PrimeMeridian":27}],38:[function(t,s,i){function a(t,s){var i=e.length;return t.names?((e[i]=t).names.forEach(function(t){n[t.toLowerCase()]=i}),this):(console.log(s),!0)}var h=[t("./projections/merc"),t("./projections/longlat")],n={},e=[];i.add=a,i.get=function(t){return!!t&&(t=t.toLowerCase(),void 0!==n[t]&&e[n[t]]?e[n[t]]:void 0)},i.start=function(){h.forEach(a)}},{"./projections/longlat":50,"./projections/merc":51}],39:[function(t,s,i){var a=t("../common/msfnz"),h=t("../common/qsfnz"),n=t("../common/adjust_lon"),r=t("../common/asinz");i.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=a(this.e3,this.sin_po,this.cos_po),this.qs1=h(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=a(this.e3,this.sin_po,this.cos_po),this.qs2=h(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=h(this.e3,this.sin_po,this.cos_po),this.ns0=1e-10<Math.abs(this.lat1-this.lat2)?(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},i.forward=function(t){var s=t.x,i=t.y,i=(this.sin_phi=Math.sin(i),this.cos_phi=Math.cos(i),h(this.e3,this.sin_phi,this.cos_phi)),i=this.a*Math.sqrt(this.c-this.ns0*i)/this.ns0,s=this.ns0*n(s-this.long0),a=i*Math.sin(s)+this.x0,i=this.rh-i*Math.cos(s)+this.y0;return t.x=a,t.y=i,t},i.inverse=function(t){var s,i,a;return t.x-=this.x0,t.y=this.rh-t.y+this.y0,a=0<=this.ns0?(i=Math.sqrt(t.x*t.x+t.y*t.y),1):(i=-Math.sqrt(t.x*t.x+t.y*t.y),-1),(s=0)!==i&&(s=Math.atan2(a*t.x,a*t.y)),a=i*this.ns0/this.a,a=this.sphere?Math.asin((this.c-a*a)/(2*this.ns0)):(i=(this.c-a*a)/this.ns0,this.phi1z(this.e3,i)),i=n(s/this.ns0+this.long0),t.x=i,t.y=a,t},i.phi1z=function(t,s){var i,a,h,n=r(.5*s);if(t<1e-10)return n;for(var e=t*t,o=1;o<=25;o++)if(n+=h=.5*(a=1-(i=t*(h=Math.sin(n)))*i)*a/Math.cos(n)*(s/(1-e)-h/a+.5/t*Math.log((1-i)/(1+i))),Math.abs(h)<=1e-7)return n;return null},i.names=["Albers_Conic_Equal_Area","Albers","aea"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/msfnz":15,"../common/qsfnz":20}],40:[function(t,s,i){var M=t("../common/adjust_lon"),u=Math.PI/2,f=1e-10,p=t("../common/mlfn"),d=t("../common/e0fn"),_=t("../common/e1fn"),y=t("../common/e2fn"),g=t("../common/e3fn"),x=t("../common/gN"),c=t("../common/asinz"),l=t("../common/imlfn");i.init=function(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)},i.forward=function(t){var s,i,a,h,n,e,o,r=t.x,c=t.y,l=Math.sin(t.y),m=Math.cos(t.y),r=M(r-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=f?(t.x=this.x0+this.a*(u-c)*Math.sin(r),t.y=this.y0-this.a*(u-c)*Math.cos(r)):Math.abs(this.sin_p12+1)<=f?(t.x=this.x0+this.a*(u+c)*Math.sin(r),t.y=this.y0+this.a*(u+c)*Math.cos(r)):(h=this.sin_p12*l+this.cos_p12*m*Math.cos(r),e=(h=Math.acos(h))/Math.sin(h),t.x=this.x0+this.a*e*m*Math.sin(r),t.y=this.y0+this.a*e*(this.cos_p12*l-this.sin_p12*m*Math.cos(r))):(e=d(this.es),s=_(this.es),a=y(this.es),o=g(this.es),Math.abs(this.sin_p12-1)<=f?(n=this.a*p(e,s,a,o,u),i=this.a*p(e,s,a,o,c),t.x=this.x0+(n-i)*Math.sin(r),t.y=this.y0-(n-i)*Math.cos(r)):Math.abs(this.sin_p12+1)<=f?(n=this.a*p(e,s,a,o,u),i=this.a*p(e,s,a,o,c),t.x=this.x0+(n+i)*Math.sin(r),t.y=this.y0+(n+i)*Math.cos(r)):(e=l/m,s=x(this.a,this.e,this.sin_p12),a=x(this.a,this.e,l),o=Math.atan((1-this.es)*e+this.es*s*this.sin_p12/(a*m)),n=0===(c=Math.atan2(Math.sin(r),this.cos_p12*Math.tan(o)-this.sin_p12*Math.cos(r)))?Math.asin(this.cos_p12*Math.sin(o)-this.sin_p12*Math.cos(o)):Math.abs(Math.abs(c)-Math.PI)<=f?-Math.asin(this.cos_p12*Math.sin(o)-this.sin_p12*Math.cos(o)):Math.asin(Math.sin(r)*Math.cos(o)/Math.sin(c)),i=this.e*this.sin_p12/Math.sqrt(1-this.es),l=this.e*this.cos_p12*Math.cos(c)/Math.sqrt(1-this.es),t.x=this.x0+(h=s*n*(1-(e=n*n)*(a=l*l)*(1-a)/6+(m=e*n)/8*(r=i*l)*(1-2*a)+(o=m*n)/120*(a*(4-7*a)-3*i*i*(1-7*a))-o*n/48*r))*Math.sin(c),t.y=this.y0+h*Math.cos(c))),t},i.inverse=function(t){var s,i,a,h,n,e,o,r;return t.x-=this.x0,t.y-=this.y0,this.sphere?(e=Math.sqrt(t.x*t.x+t.y*t.y))>2*u*this.a?void 0:(h=e/this.a,r=Math.sin(h),h=Math.cos(h),s=this.long0,Math.abs(e)<=f?i=this.lat0:(i=c(h*this.sin_p12+t.y*r*this.cos_p12/e),o=Math.abs(this.lat0)-u,s=M(Math.abs(o)<=f?0<=this.lat0?this.long0+Math.atan2(t.x,-t.y):this.long0-Math.atan2(-t.x,t.y):this.long0+Math.atan2(t.x*r,e*this.cos_p12*h-t.y*this.sin_p12*r))),t.x=s,t.y=i,t):(o=d(this.es),h=_(this.es),r=y(this.es),n=g(this.es),Math.abs(this.sin_p12-1)<=f?(a=this.a*p(o,h,r,n,u),e=Math.sqrt(t.x*t.x+t.y*t.y),i=l((a-e)/this.a,o,h,r,n),s=M(this.long0+Math.atan2(t.x,-1*t.y))):Math.abs(this.sin_p12+1)<=f?(a=this.a*p(o,h,r,n,u),e=Math.sqrt(t.x*t.x+t.y*t.y),i=l((e-a)/this.a,o,h,r,n),s=M(this.long0+Math.atan2(t.x,t.y))):(e=Math.sqrt(t.x*t.x+t.y*t.y),a=Math.atan2(t.x,t.y),o=x(this.a,this.e,this.sin_p12),h=Math.cos(a),n=-(r=this.e*this.cos_p12*h)*r/(1-this.es),r=3*this.es*(1-n)*this.sin_p12*this.cos_p12*h/(1-this.es),r=1-n*(o=(e=e/o)-n*(1+n)*Math.pow(e,3)/6-r*(1+3*n)*Math.pow(e,4)/24)*o/2-e*o*o*o/6,n=Math.asin(this.sin_p12*Math.cos(o)+this.cos_p12*Math.sin(o)*h),s=M(this.long0+Math.asin(Math.sin(a)*Math.sin(o)/Math.cos(n))),i=Math.atan((1-this.es*r*this.sin_p12/Math.sin(n))*Math.tan(n)/(1-this.es))),t.x=s,t.y=i,t)},i.names=["Azimuthal_Equidistant","aeqd"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/imlfn":12,"../common/mlfn":14}],41:[function(t,s,i){var c=t("../common/mlfn"),a=t("../common/e0fn"),h=t("../common/e1fn"),n=t("../common/e2fn"),e=t("../common/e3fn"),l=t("../common/gN"),m=t("../common/adjust_lon"),M=t("../common/adjust_lat"),u=t("../common/imlfn"),f=Math.PI/2;i.init=function(){this.sphere||(this.e0=a(this.es),this.e1=h(this.es),this.e2=n(this.es),this.e3=e(this.es),this.ml0=this.a*c(this.e0,this.e1,this.e2,this.e3,this.lat0))},i.forward=function(t){var s,i,a,h,n,e,o=t.x,r=t.y,o=m(o-this.long0);return r=this.sphere?(e=this.a*Math.asin(Math.cos(r)*Math.sin(o)),this.a*(Math.atan2(Math.tan(r),Math.cos(o))-this.lat0)):(s=Math.sin(r),i=Math.cos(r),a=l(this.a,this.e,s),h=Math.tan(r)*Math.tan(r),e=a*(o=o*Math.cos(r))*(1-(o=o*o)*h*(1/6-(8-h+8*(n=this.es*i*i/(1-this.es)))*o/120)),this.a*c(this.e0,this.e1,this.e2,this.e3,r)-this.ml0+a*s/i*o*(.5+(5-h+6*n)*o/24)),t.x=e+this.x0,t.y=r+this.y0,t},i.inverse=function(t){t.x-=this.x0,t.y-=this.y0;var s=t.x/this.a,i=t.y/this.a;if(this.sphere)var a=i+this.lat0,h=Math.asin(Math.sin(a)*Math.cos(s)),a=Math.atan2(Math.tan(s),Math.cos(a));else{var n=this.ml0/this.a+i,n=u(n,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(n)-f)<=1e-10)return t.x=this.long0,t.y=f,i<0&&(t.y*=-1),t;var i=l(this.a,this.e,Math.sin(n)),e=i*i*i/this.a/this.a*(1-this.es),o=Math.pow(Math.tan(n),2),s=s*this.a/i,r=s*s;h=n-i*Math.tan(n)/e*s*s*(.5-(1+3*o)*s*s/24),a=s*(1-r*(o/3+(1+3*o)*o*r/15))/Math.cos(n)}return t.x=m(a+this.long0),t.y=M(h),t},i.names=["Cassini","Cassini_Soldner","cass"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/imlfn":12,"../common/mlfn":14}],42:[function(t,s,i){var h=t("../common/adjust_lon"),n=t("../common/qsfnz"),a=t("../common/msfnz"),e=t("../common/iqsfnz");i.init=function(){this.sphere||(this.k0=a(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))},i.forward=function(t){var s,i=t.x,a=t.y,i=h(i-this.long0);return i=this.sphere?(s=this.x0+this.a*i*Math.cos(this.lat_ts),this.y0+this.a*Math.sin(a)/Math.cos(this.lat_ts)):(a=n(this.e,Math.sin(a)),s=this.x0+this.a*this.k0*i,this.y0+this.a*a*.5/this.k0),t.x=s,t.y=i,t},i.inverse=function(t){var s,i;return t.x-=this.x0,t.y-=this.y0,this.sphere?(s=h(this.long0+t.x/this.a/Math.cos(this.lat_ts)),i=Math.asin(t.y/this.a*Math.cos(this.lat_ts))):(i=e(this.e,2*t.y*this.k0/this.a),s=h(this.long0+t.x/(this.a*this.k0))),t.x=s,t.y=i,t},i.names=["cea"]},{"../common/adjust_lon":5,"../common/iqsfnz":13,"../common/msfnz":15,"../common/qsfnz":20}],43:[function(t,s,i){var a=t("../common/adjust_lon"),h=t("../common/adjust_lat");i.init=function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)},i.forward=function(t){var s=t.x,i=t.y,s=a(s-this.long0),i=h(i-this.lat0);return t.x=this.x0+this.a*s*this.rc,t.y=this.y0+this.a*i,t},i.inverse=function(t){var s=t.x,i=t.y;return t.x=a(this.long0+(s-this.x0)/(this.a*this.rc)),t.y=h(this.lat0+(i-this.y0)/this.a),t},i.names=["Equirectangular","Equidistant_Cylindrical","eqc"]},{"../common/adjust_lat":4,"../common/adjust_lon":5}],44:[function(t,s,i){var a=t("../common/e0fn"),h=t("../common/e1fn"),n=t("../common/e2fn"),e=t("../common/e3fn"),o=t("../common/msfnz"),r=t("../common/mlfn"),c=t("../common/adjust_lon"),l=t("../common/adjust_lat"),m=t("../common/imlfn");i.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=a(this.es),this.e1=h(this.es),this.e2=n(this.es),this.e3=e(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=o(this.e,this.sinphi,this.cosphi),this.ml1=r(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<1e-10?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=o(this.e,this.sinphi,this.cosphi),this.ml2=r(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=r(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))},i.forward=function(t){var s=t.x,i=t.y,s=(i=this.sphere?this.a*(this.g-i):(i=r(this.e0,this.e1,this.e2,this.e3,i),this.a*(this.g-i)),this.ns*c(s-this.long0)),a=this.x0+i*Math.sin(s),i=this.y0+this.rh-i*Math.cos(s);return t.x=a,t.y=i,t},i.inverse=function(t){t.x-=this.x0,t.y=this.rh-t.y+this.y0,i=0<=this.ns?(s=Math.sqrt(t.x*t.x+t.y*t.y),1):(s=-Math.sqrt(t.x*t.x+t.y*t.y),-1);var s,i,a,h,n=0;return(0!==s&&(n=Math.atan2(i*t.x,i*t.y)),this.sphere)?(h=c(this.long0+n/this.ns),a=l(this.g-s/this.a),t.x=h,t.y=a):(i=this.g-s/this.a,a=m(i,this.e0,this.e1,this.e2,this.e3),h=c(this.long0+n/this.ns),t.x=h,t.y=a),t},i.names=["Equidistant_Conic","eqdc"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/imlfn":12,"../common/mlfn":14,"../common/msfnz":15}],45:[function(t,s,i){var n=Math.PI/4,e=t("../common/srat"),o=Math.PI/2;i.init=function(){var t=Math.sin(this.lat0),s=Math.cos(this.lat0);s*=s,this.rc=Math.sqrt(1-this.es)/(1-this.es*t*t),this.C=Math.sqrt(1+this.es*s*s/(1-this.es)),this.phic0=Math.asin(t/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+n)/(Math.pow(Math.tan(.5*this.lat0+n),this.C)*e(this.e*t,this.ratexp))},i.forward=function(t){var s=t.x,i=t.y;return t.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*i+n),this.C)*e(this.e*Math.sin(i),this.ratexp))-o,t.x=this.C*s,t},i.inverse=function(t){for(var s=t.x/this.C,i=t.y,a=Math.pow(Math.tan(.5*i+n)/this.K,1/this.C),h=20;0<h&&(i=2*Math.atan(a*e(this.e*Math.sin(t.y),-.5*this.e))-o,!(Math.abs(i-t.y)<1e-14));--h)t.y=i;return h?(t.x=s,t.y=i,t):null},i.names=["gauss"]},{"../common/srat":22}],46:[function(t,s,i){var o=t("../common/adjust_lon"),n=t("../common/asinz");i.init=function(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0),this.infinity_dist=1e3*this.a,this.rc=1},i.forward=function(t){var s,i=t.x,a=t.y,i=o(i-this.long0),h=Math.sin(a),a=Math.cos(a),n=Math.cos(i),e=this.sin_p14*h+this.cos_p14*a*n,e=0<e||Math.abs(e)<=1e-10?(s=this.x0+ +this.a*a*Math.sin(i)/e,this.y0+ +this.a*(this.cos_p14*h-this.sin_p14*a*n)/e):(s=this.x0+this.infinity_dist*a*Math.sin(i),this.y0+this.infinity_dist*(this.cos_p14*h-this.sin_p14*a*n));return t.x=s,t.y=e,t},i.inverse=function(t){var s,i,a,h;return t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,a=(s=Math.sqrt(t.x*t.x+t.y*t.y))?(a=Math.atan2(s,this.rc),i=Math.sin(a),a=Math.cos(a),h=n(a*this.sin_p14+t.y*i*this.cos_p14/s),a=Math.atan2(t.x*i,s*this.cos_p14*a-t.y*this.sin_p14*i),o(this.long0+a)):(h=this.phic0,0),t.x=a,t.y=h,t},i.names=["gnom"]},{"../common/adjust_lon":5,"../common/asinz":6}],47:[function(t,s,i){var h=t("../common/adjust_lon");i.init=function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},i.forward=function(t){var s=t.x,i=t.y,s=h(s-this.long0),a=Math.pow((1+this.e*Math.sin(i))/(1-this.e*Math.sin(i)),this.alfa*this.e/2),i=2*(Math.atan(this.k*Math.pow(Math.tan(i/2+this.s45),this.alfa)/a)-this.s45),a=-s*this.alfa,s=Math.asin(Math.cos(this.ad)*Math.sin(i)+Math.sin(this.ad)*Math.cos(i)*Math.cos(a)),i=Math.asin(Math.cos(i)*Math.sin(a)/Math.cos(s)),a=this.n*i,i=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(s/2+this.s45),this.n);return t.y=i*Math.cos(a),t.x=i*Math.sin(a),this.czech||(t.y*=-1,t.x*=-1),t},i.inverse=function(t){for(var s,i,a,h,n=t.x,e=(t.x=t.y,t.y=n,this.czech||(t.y*=-1,t.x*=-1),n=Math.sqrt(t.x*t.x+t.y*t.y),i=Math.atan2(t.y,t.x)/Math.sin(this.s0),n=2*(Math.atan(Math.pow(this.ro0/n,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),s=Math.asin(Math.cos(this.ad)*Math.sin(n)-Math.sin(this.ad)*Math.cos(n)*Math.cos(i)),n=Math.asin(Math.cos(n)*Math.sin(i)/Math.cos(s)),t.x=this.long0-n/this.alfa,a=s,h=0);t.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(s/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(a))/(1-this.e*Math.sin(a)),this.e/2))-this.s45),Math.abs(a-t.y)<1e-10&&(h=1),a=t.y,e+=1,0===h&&e<15;);return 15<=e?null:t},i.names=["Krovak","krovak"]},{"../common/adjust_lon":5}],48:[function(t,s,i){var u=Math.PI/2,f=Math.PI/4,p=1e-10,d=t("../common/qsfnz"),_=t("../common/adjust_lon");i.S_POLE=1,i.N_POLE=2,i.EQUIT=3,i.OBLIQ=4,i.init=function(){var t,s=Math.abs(this.lat0);if(this.mode=Math.abs(s-u)<p?this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(s)<p?this.EQUIT:this.OBLIQ,0<this.es)switch(this.qp=d(this.e,1),this.mmf=.5/(1-this.es),this.apa=this.authset(this.es),this.mode){case this.N_POLE:case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),t=Math.sin(this.lat0),this.sinb1=d(this.e,t)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*t*t)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},i.forward=function(t){var s,i,a,h,n,e,o,r,c,l,m=t.x,M=t.y,m=_(m-this.long0);if(this.sphere){if(n=Math.sin(M),l=Math.cos(M),a=Math.cos(m),this.mode===this.OBLIQ||this.mode===this.EQUIT){if((i=this.mode===this.EQUIT?1+l*a:1+this.sinph0*n+this.cosph0*l*a)<=p)return null;s=(i=Math.sqrt(2/i))*l*Math.sin(m),i*=this.mode===this.EQUIT?n:this.cosph0*n-this.sinph0*l*a}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(a=-a),Math.abs(M+this.phi0)<p)return null;i=f-.5*M,s=(i=2*(this.mode===this.S_POLE?Math.cos(i):Math.sin(i)))*Math.sin(m),i*=a}}else{switch(c=r=o=0,a=Math.cos(m),h=Math.sin(m),n=Math.sin(M),e=d(this.e,n),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(o=e/this.qp,r=Math.sqrt(1-o*o)),this.mode){case this.OBLIQ:c=1+this.sinb1*o+this.cosb1*r*a;break;case this.EQUIT:c=1+r*a;break;case this.N_POLE:c=u+M,e=this.qp-e;break;case this.S_POLE:c=M-u,e=this.qp+e}if(Math.abs(c)<p)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:c=Math.sqrt(2/c),i=this.mode===this.OBLIQ?this.ymf*c*(this.cosb1*o-this.sinb1*r*a):(c=Math.sqrt(2/(1+r*a)))*o*this.ymf,s=this.xmf*c*r*h;break;case this.N_POLE:case this.S_POLE:0<=e?(s=(c=Math.sqrt(e))*h,i=a*(this.mode===this.S_POLE?c:-c)):s=i=0}}return t.x=this.a*s+this.x0,t.y=this.a*i+this.y0,t},i.inverse=function(t){t.x-=this.x0,t.y-=this.y0;var s,i,a,h,n,e,o=t.x/this.a,r=t.y/this.a;if(this.sphere){var c,l=0,m=0,M=Math.sqrt(o*o+r*r);if(1<(c=.5*M))return null;switch(c=2*Math.asin(c),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(m=Math.sin(c),l=Math.cos(c)),this.mode){case this.EQUIT:c=Math.abs(M)<=p?0:Math.asin(r*m/M),o*=m,r=l*M;break;case this.OBLIQ:c=Math.abs(M)<=p?this.phi0:Math.asin(l*this.sinph0+r*m*this.cosph0/M),o*=m*this.cosph0,r=(l-Math.sin(c)*this.sinph0)*M;break;case this.N_POLE:r=-r,c=u-c;break;case this.S_POLE:c-=u}s=0!==r||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(o,r):0}else{if(e=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(o/=this.dd,r*=this.dd,(n=Math.sqrt(o*o+r*r))<p)return t.x=0,t.y=this.phi0,t;a=2*Math.asin(.5*n/this.rq),i=Math.cos(a),o*=a=Math.sin(a),r=this.mode===this.OBLIQ?(e=i*this.sinb1+r*a*this.cosb1/n,h=this.qp*e,n*this.cosb1*i-r*this.sinb1*a):(h=this.qp*(e=r*a/n),n*i)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(!(h=o*o+(r=this.mode===this.N_POLE?-r:r)*r))return t.x=0,t.y=this.phi0,t;e=1-h/this.qp,this.mode===this.S_POLE&&(e=-e)}s=Math.atan2(o,r),c=this.authlat(Math.asin(e),this.apa)}return t.x=_(this.long0+s),t.y=c,t},i.P00=.3333333333333333,i.P01=.17222222222222222,i.P02=.10257936507936508,i.P10=.06388888888888888,i.P11=.0664021164021164,i.P20=.016415012942191543,i.authset=function(t){var s,i=[];return i[0]=t*this.P00,i[0]+=(s=t*t)*this.P01,i[1]=s*this.P10,i[0]+=(s*=t)*this.P02,i[1]+=s*this.P11,i[2]=s*this.P20,i},i.authlat=function(t,s){var i=t+t;return t+s[0]*Math.sin(i)+s[1]*Math.sin(i+i)+s[2]*Math.sin(i+i+i)},i.names=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"]},{"../common/adjust_lon":5,"../common/qsfnz":20}],49:[function(t,s,i){var e=1e-10,o=t("../common/msfnz"),r=t("../common/tsfnz"),c=Math.PI/2,n=t("../common/sign"),l=t("../common/adjust_lon"),m=t("../common/phi2z");i.init=function(){var t,s,i,a,h,n;this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,Math.abs(this.lat1+this.lat2)<e||(t=this.b/this.a,this.e=Math.sqrt(1-t*t),t=Math.sin(this.lat1),s=Math.cos(this.lat1),s=o(this.e,t,s),i=r(this.e,this.lat1,t),h=Math.sin(this.lat2),a=Math.cos(this.lat2),a=o(this.e,h,a),h=r(this.e,this.lat2,h),n=r(this.e,this.lat0,Math.sin(this.lat0)),this.ns=Math.abs(this.lat1-this.lat2)>e?Math.log(s/a)/Math.log(i/h):t,isNaN(this.ns)&&(this.ns=t),this.f0=s/(this.ns*Math.pow(i,this.ns)),this.rh=this.a*this.f0*Math.pow(n,this.ns),this.title)||(this.title="Lambert Conformal Conic")},i.forward=function(t){var s=t.x,i=t.y;Math.abs(2*Math.abs(i)-Math.PI)<=e&&(i=n(i)*(c-2*e));var a,h=Math.abs(Math.abs(i)-c);if(e<h)h=r(this.e,i,Math.sin(i)),a=this.a*this.f0*Math.pow(h,this.ns);else{if(i*this.ns<=0)return null;a=0}h=this.ns*l(s-this.long0);return t.x=this.k0*a*Math.sin(h)+this.x0,t.y=this.k0*(this.rh-a*Math.cos(h))+this.y0,t},i.inverse=function(t){var s,i,a=(t.x-this.x0)/this.k0,h=this.rh-(t.y-this.y0)/this.k0,n=0<this.ns?(s=Math.sqrt(a*a+h*h),1):(s=-Math.sqrt(a*a+h*h),-1),e=0;if(0!==s&&(e=Math.atan2(n*a,n*h)),0!==s||0<this.ns){if(n=1/this.ns,a=Math.pow(s/(this.a*this.f0),n),-9999===(i=m(this.e,a)))return null}else i=-c;return h=l(e/this.ns+this.long0),t.x=h,t.y=i,t},i.names=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_2SP","lcc"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/sign":21,"../common/tsfnz":24}],50:[function(t,s,i){function a(t){return t}i.init=function(){},i.forward=a,i.inverse=a,i.names=["longlat","identity"]},{}],51:[function(t,s,i){var a=t("../common/msfnz"),n=Math.PI/2,e=57.29577951308232,o=t("../common/adjust_lon"),r=Math.PI/4,c=t("../common/tsfnz"),h=t("../common/phi2z");i.init=function(){var t=this.b/this.a;this.es=1-t*t,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.k0=this.sphere?Math.cos(this.lat_ts):a(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k0=this.k||1)},i.forward=function(t){var s,i,a=t.x,h=t.y;return 90<h*e&&h*e<-90&&180<a*e&&a*e<-180||Math.abs(Math.abs(h)-n)<=1e-10?null:(i=this.sphere?(s=this.x0+this.a*this.k0*o(a-this.long0),this.y0+this.a*this.k0*Math.log(Math.tan(r+.5*h))):(i=Math.sin(h),h=c(this.e,h,i),s=this.x0+this.a*this.k0*o(a-this.long0),this.y0-this.a*this.k0*Math.log(h)),t.x=s,t.y=i,t)},i.inverse=function(t){var s=t.x-this.x0,i=t.y-this.y0;if(this.sphere)a=n-2*Math.atan(Math.exp(-i/(this.a*this.k0)));else{var a,i=Math.exp(-i/(this.a*this.k0));if(-9999===(a=h(this.e,i)))return null}return i=o(this.long0+s/(this.a*this.k0)),t.x=i,t.y=a,t},i.names=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/tsfnz":24}],52:[function(t,s,i){var a=t("../common/adjust_lon");i.init=function(){},i.forward=function(t){var s=t.x,i=t.y,s=a(s-this.long0),s=this.x0+this.a*s,i=this.y0+this.a*Math.log(Math.tan(Math.PI/4+i/2.5))*1.25;return t.x=s,t.y=i,t},i.inverse=function(t){t.x-=this.x0,t.y-=this.y0;var s=a(this.long0+t.x/this.a),i=2.5*(Math.atan(Math.exp(.8*t.y/this.a))-Math.PI/4);return t.x=s,t.y=i,t},i.names=["Miller_Cylindrical","mill"]},{"../common/adjust_lon":5}],53:[function(t,s,i){var e=t("../common/adjust_lon");i.init=function(){},i.forward=function(t){for(var s=t.x,i=t.y,s=e(s-this.long0),a=i,h=Math.PI*Math.sin(i);;0){1;{var n=-(a+Math.sin(a)-h)/(1+Math.cos(a));if(a+=n,Math.abs(n)<1e-10)break}}a/=2,Math.PI/2-Math.abs(i)<1e-10&&(s=0);i=.900316316158*this.a*s*Math.cos(a)+this.x0,s=1.4142135623731*this.a*Math.sin(a)+this.y0;return t.x=i,t.y=s,t},i.inverse=function(t){t.x-=this.x0,t.y-=this.y0,s=t.y/(1.4142135623731*this.a),.999999999999<Math.abs(s)&&(s=.999999999999),a=Math.asin(s);var s,i=e(this.long0+t.x/(.900316316158*this.a*Math.cos(a))),a=((i=i<-Math.PI?-Math.PI:i)>Math.PI&&(i=Math.PI),s=(2*a+Math.sin(2*a))/Math.PI,1<Math.abs(s)&&(s=1),Math.asin(s));return t.x=i,t.y=a,t},i.names=["Mollweide","moll"]},{"../common/adjust_lon":5}],54:[function(t,s,i){var P=484813681109536e-20;i.iterations=1,i.init=function(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013},i.forward=function(t){for(var s=t.x,i=t.y-this.lat0,s=s-this.long0,a=i/P*1e-5,i=s,h=1,n=0,e=1;e<=10;e++)n+=this.A[e]*(h*=a);var o,r=n,c=i,l=1,m=0,M=0,u=0;for(e=1;e<=6;e++)o=m*r+l*c,M=M+this.B_re[e]*(l=l*r-m*c)-this.B_im[e]*(m=o),u=u+this.B_im[e]*l+this.B_re[e]*m;return t.x=u*this.a+this.x0,t.y=M*this.a+this.y0,t},i.inverse=function(t){var s,i=t.x,a=t.y,i=i-this.x0,h=(a-this.y0)/this.a,n=i/this.a,e=1,o=0,r=0,c=0;for(d=1;d<=6;d++)s=o*h+e*n,r=r+this.C_re[d]*(e=e*h-o*n)-this.C_im[d]*(o=s),c=c+this.C_im[d]*e+this.C_re[d]*o;for(var l=0;l<this.iterations;l++){for(var m,M=r,u=c,f=h,p=n,d=2;d<=6;d++)m=u*r+M*c,M=M*r-u*c,u=m,f+=(d-1)*(this.B_re[d]*M-this.B_im[d]*u),p+=(d-1)*(this.B_im[d]*M+this.B_re[d]*u);var M=1,u=0,_=this.B_re[1],y=this.B_im[1];for(d=2;d<=6;d++)m=u*r+M*c,M=M*r-u*c,u=m,_+=d*(this.B_re[d]*M-this.B_im[d]*u),y+=d*(this.B_im[d]*M+this.B_re[d]*u);var g=_*_+y*y,r=(f*_+p*y)/g,c=(p*_-f*y)/g}var x=r,a=c,b=1,v=0;for(d=1;d<=9;d++)v+=this.D[d]*(b*=x);i=this.lat0+v*P*1e5,a=this.long0+a;return t.x=a,t.y=i,t},i.names=["New_Zealand_Map_Grid","nzmg"]},{}],55:[function(t,s,i){var o=t("../common/tsfnz"),r=t("../common/adjust_lon"),e=t("../common/phi2z"),c=Math.PI/2,l=Math.PI/4,m=1e-10;i.init=function(){this.no_off=this.no_off||!1,this.no_rot=this.no_rot||!1,isNaN(this.k0)&&(this.k0=1);var t,s,i,a,h=Math.sin(this.lat0),n=Math.cos(this.lat0),e=this.e*h,h=(this.bl=Math.sqrt(1+this.es/(1-this.es)*Math.pow(n,4)),this.al=this.a*this.bl*this.k0*Math.sqrt(1-this.es)/(1-e*e),o(this.e,this.lat0,h)),n=this.bl/n*Math.sqrt((1-this.es)/(1-e*e));n*n<1&&(n=1),isNaN(this.longc)?(e=o(this.e,this.lat1,Math.sin(this.lat1)),i=o(this.e,this.lat2,Math.sin(this.lat2)),this.el=0<=this.lat0?(n+Math.sqrt(n*n-1))*Math.pow(h,this.bl):(n-Math.sqrt(n*n-1))*Math.pow(h,this.bl),e=Math.pow(e,this.bl),i=Math.pow(i,this.bl),s=.5*((t=this.el/e)-1/t),a=(this.el*this.el-i*e)/(this.el*this.el+i*e),i=(i-e)/(i+e),e=r(this.long1-this.long2),this.long0=.5*(this.long1+this.long2)-Math.atan(a*Math.tan(.5*this.bl*e)/i)/this.bl,this.long0=r(this.long0),a=r(this.long1-this.long0),this.gamma0=Math.atan(Math.sin(this.bl*a)/s),this.alpha=Math.asin(n*Math.sin(this.gamma0))):(t=0<=this.lat0?n+Math.sqrt(n*n-1):n-Math.sqrt(n*n-1),this.el=t*Math.pow(h,this.bl),s=.5*(t-1/t),this.gamma0=Math.asin(Math.sin(this.alpha)/n),this.long0=this.longc-Math.asin(s*Math.tan(this.gamma0))/this.bl),this.uc=this.no_off?0:0<=this.lat0?this.al/this.bl*Math.atan2(Math.sqrt(n*n-1),Math.cos(this.alpha)):-1*this.al/this.bl*Math.atan2(Math.sqrt(n*n-1),Math.cos(this.alpha))},i.forward=function(t){var s,i,a,h=t.x,n=t.y,h=r(h-this.long0);return n=Math.abs(Math.abs(n)-c)<=m?(s=0<n?-1:1,a=this.al/this.bl*Math.log(Math.tan(l+s*this.gamma0*.5)),-1*s*c*this.al/this.bl):(s=o(this.e,n,Math.sin(n)),s=.5*((n=this.el/Math.pow(s,this.bl))-1/n),n=.5*(n+1/n),i=Math.sin(this.bl*h),n=(s*Math.sin(this.gamma0)-i*Math.cos(this.gamma0))/n,a=Math.abs(Math.abs(n)-1)<=m?Number.POSITIVE_INFINITY:.5*this.al*Math.log((1-n)/(1+n))/this.bl,Math.abs(Math.cos(this.bl*h))<=m?this.al*this.bl*h:this.al*Math.atan2(s*Math.cos(this.gamma0)+i*Math.sin(this.gamma0),Math.cos(this.bl*h))/this.bl),this.no_rot?(t.x=this.x0+n,t.y=this.y0+a):(n-=this.uc,t.x=this.x0+a*Math.cos(this.alpha)+n*Math.sin(this.alpha),t.y=this.y0+n*Math.cos(this.alpha)-a*Math.sin(this.alpha)),t},i.inverse=function(t){this.no_rot?(i=t.y-this.y0,s=t.x-this.x0):(i=(t.x-this.x0)*Math.cos(this.alpha)-(t.y-this.y0)*Math.sin(this.alpha),s=(t.y-this.y0)*Math.cos(this.alpha)+(t.x-this.x0)*Math.sin(this.alpha),s+=this.uc);var s,i=Math.exp(-1*this.bl*i/this.al),a=.5*(i-1/i),i=.5*(i+1/i),h=Math.sin(this.bl*s/this.al),i=(h*Math.cos(this.gamma0)+a*Math.sin(this.gamma0))/i,n=Math.pow(this.el/Math.sqrt((1+i)/(1-i)),1/this.bl);return Math.abs(i-1)<m?(t.x=this.long0,t.y=c):Math.abs(1+i)<m?(t.x=this.long0,t.y=-1*c):(t.y=e(this.e,n),t.x=r(this.long0-Math.atan2(a*Math.cos(this.gamma0)-h*Math.sin(this.gamma0),Math.cos(this.bl*s/this.al))/this.bl)),t},i.names=["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","omerc"]},{"../common/adjust_lon":5,"../common/phi2z":16,"../common/tsfnz":24}],56:[function(t,s,i){var a=t("../common/e0fn"),h=t("../common/e1fn"),n=t("../common/e2fn"),e=t("../common/e3fn"),f=t("../common/adjust_lon"),o=t("../common/adjust_lat"),p=t("../common/mlfn"),d=1e-10,r=t("../common/gN");i.init=function(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=a(this.es),this.e1=h(this.es),this.e2=n(this.es),this.e3=e(this.es),this.ml0=this.a*p(this.e0,this.e1,this.e2,this.e3,this.lat0)},i.forward=function(t){var s,i=t.x,a=t.y,i=f(i-this.long0),h=i*Math.sin(a);return a=this.sphere?Math.abs(a)<=d?(s=this.a*i,-1*this.a*this.lat0):(s=this.a*Math.sin(h)/Math.tan(a),this.a*(o(a-this.lat0)+(1-Math.cos(h))/Math.tan(a))):Math.abs(a)<=d?(s=this.a*i,-1*this.ml0):(s=(i=r(this.a,this.e,Math.sin(a))/Math.tan(a))*Math.sin(h),this.a*p(this.e0,this.e1,this.e2,this.e3,a)-this.ml0+i*(1-Math.cos(h))),t.x=s+this.x0,t.y=a+this.y0,t},i.inverse=function(t){var s,i,a,h,n,e,o=t.x-this.x0,r=t.y-this.y0;if(this.sphere)if(Math.abs(r+this.a*this.lat0)<=d)s=f(o/this.a+this.long0),i=0;else{for(var c,l=this.lat0+r/this.a,m=o*o/this.a/this.a+l*l,M=l,u=20;u;--u)if(M+=a=-1*(l*(M*(c=Math.tan(M))+1)-M-.5*(M*M+m)*c)/((M-l)/c-1),Math.abs(a)<=d){i=M;break}s=f(this.long0+Math.asin(o*Math.tan(M)/this.a)/Math.sin(i))}else if(Math.abs(r+this.ml0)<=d)i=0,s=f(this.long0+o/this.a);else{for(l=(this.ml0+r)/this.a,m=o*o/this.a/this.a+l*l,M=l,u=20;u;--u)if(e=this.e*Math.sin(M),h=Math.sqrt(1-e*e)*Math.tan(M),e=this.a*p(this.e0,this.e1,this.e2,this.e3,M),n=this.e0-2*this.e1*Math.cos(2*M)+4*this.e2*Math.cos(4*M)-6*this.e3*Math.cos(6*M),M-=a=(l*(h*(e=e/this.a)+1)-e-.5*h*(e*e+m))/(this.es*Math.sin(2*M)*(e*e+m-2*l*e)/(4*h)+(l-e)*(h*n-2/Math.sin(2*M))-n),Math.abs(a)<=d){i=M;break}h=Math.sqrt(1-this.es*Math.pow(Math.sin(i),2))*Math.tan(i),s=f(this.long0+Math.asin(o*h/this.a)/Math.sin(i))}return t.x=s,t.y=i,t},i.names=["Polyconic","poly"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/mlfn":14}],57:[function(t,s,i){var l=t("../common/adjust_lon"),n=t("../common/adjust_lat"),a=t("../common/pj_enfn"),m=t("../common/pj_mlfn"),e=t("../common/pj_inv_mlfn"),o=Math.PI/2,r=t("../common/asinz");i.init=function(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=a(this.es)},i.forward=function(t){var s=t.x,i=t.y,s=l(s-this.long0);if(this.sphere){if(this.m)for(var a=this.n*Math.sin(i),h=20;h;--h){var n=(this.m*i+Math.sin(i)-a)/(this.m+Math.cos(i));if(i-=n,Math.abs(n)<1e-10)break}else i=1!==this.n?Math.asin(this.n*Math.sin(i)):i;c=this.a*this.C_x*s*(this.m+Math.cos(i)),r=this.a*this.C_y*i}else var e=Math.sin(i),o=Math.cos(i),r=this.a*m(i,e,o,this.en),c=this.a*s*o/Math.sqrt(1-this.es*e*e);return t.x=c,t.y=r,t},i.inverse=function(t){var s,i,a,h;return t.x-=this.x0,a=t.x/this.a,t.y-=this.y0,s=t.y/this.a,this.sphere?(s/=this.C_y,a/=this.C_x*(this.m+Math.cos(s)),this.m?s=r((this.m*s+Math.sin(s))/this.n):1!==this.n&&(s=r(Math.sin(s)/this.n)),a=l(a+this.long0),s=n(s)):(s=e(t.y/this.a,this.es,this.en),(h=Math.abs(s))<o?(h=Math.sin(s),i=this.long0+t.x*Math.sqrt(1-this.es*h*h)/(this.a*Math.cos(s)),a=l(i)):h-1e-10<o&&(a=this.long0)),t.x=a,t.y=s,t},i.names=["Sinusoidal","sinu"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/asinz":6,"../common/pj_enfn":17,"../common/pj_inv_mlfn":18,"../common/pj_mlfn":19}],58:[function(t,s,i){i.init=function(){var t=this.lat0,s=(this.lambda0=this.long0,Math.sin(t)),i=this.a,a=1/this.rf,a=2*a-Math.pow(a,2),h=this.e=Math.sqrt(a),i=(this.R=this.k0*i*Math.sqrt(1-a)/(1-a*Math.pow(s,2)),this.alpha=Math.sqrt(1+a/(1-a)*Math.pow(Math.cos(t),4)),this.b0=Math.asin(s/this.alpha),Math.log(Math.tan(Math.PI/4+this.b0/2))),a=Math.log(Math.tan(Math.PI/4+t/2)),t=Math.log((1+h*s)/(1-h*s));this.K=i-this.alpha*a+this.alpha*h/2*t},i.forward=function(t){var s=Math.log(Math.tan(Math.PI/4-t.y/2)),i=this.e/2*Math.log((1+this.e*Math.sin(t.y))/(1-this.e*Math.sin(t.y))),s=-this.alpha*(s+i)+this.K,i=2*(Math.atan(Math.exp(s))-Math.PI/4),s=this.alpha*(t.x-this.lambda0),a=Math.atan(Math.sin(s)/(Math.sin(this.b0)*Math.tan(i)+Math.cos(this.b0)*Math.cos(s))),i=Math.asin(Math.cos(this.b0)*Math.sin(i)-Math.sin(this.b0)*Math.cos(i)*Math.cos(s));return t.y=this.R/2*Math.log((1+Math.sin(i))/(1-Math.sin(i)))+this.y0,t.x=this.R*a+this.x0,t},i.inverse=function(t){for(var s,i=t.x-this.x0,a=t.y-this.y0,i=i/this.R,a=2*(Math.atan(Math.exp(a/this.R))-Math.PI/4),h=Math.asin(Math.cos(this.b0)*Math.sin(a)+Math.sin(this.b0)*Math.cos(a)*Math.cos(i)),i=Math.atan(Math.sin(i)/(Math.cos(this.b0)*Math.cos(i)-Math.sin(this.b0)*Math.tan(a))),a=this.lambda0+i/this.alpha,n=h,e=-1e3,o=0;1e-7<Math.abs(n-e);){if(20<++o)return;s=1/this.alpha*(Math.log(Math.tan(Math.PI/4+h/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(n))/2)),e=n,n=2*Math.atan(Math.exp(s))-Math.PI/2}return t.x=a,t.y=n,t},i.names=["somerc"]},{}],59:[function(t,s,i){var r=Math.PI/2,c=1e-10,a=t("../common/sign"),h=t("../common/msfnz"),l=t("../common/tsfnz"),e=t("../common/phi2z"),m=t("../common/adjust_lon");i.ssfn_=function(t,s,i){return s*=i,Math.tan(.5*(r+t))*Math.pow((1-s)/(1+s),.5*i)},i.init=function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=c&&(this.k0=.5*(1+a(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=c&&(this.con=0<this.lat0?1:-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=c&&(this.k0=.5*this.cons*h(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/l(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=h(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-r,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},i.forward=function(t){var s,i,a=t.x,h=t.y,n=Math.sin(h),e=Math.cos(h),o=m(a-this.long0);return Math.abs(Math.abs(a-this.long0)-Math.PI)<=c&&Math.abs(h+this.lat0)<=c?(t.x=NaN,t.y=NaN):this.sphere?(s=2*this.k0/(1+this.sinlat0*n+this.coslat0*e*Math.cos(o)),t.x=this.a*s*e*Math.sin(o)+this.x0,t.y=this.a*s*(this.coslat0*n-this.sinlat0*e*Math.cos(o))+this.y0):(e=2*Math.atan(this.ssfn_(h,n,this.e))-r,i=Math.cos(e),e=Math.sin(e),Math.abs(this.coslat0)<=c?(h=l(this.e,h*this.con,this.con*n),n=2*this.a*this.k0*h/this.cons,t.x=this.x0+n*Math.sin(a-this.long0),t.y=this.y0-this.con*n*Math.cos(a-this.long0)):(Math.abs(this.sinlat0)<c?(s=2*this.a*this.k0/(1+i*Math.cos(o)),t.y=s*e):(s=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*e+this.cosX0*i*Math.cos(o))),t.y=s*(this.cosX0*e-this.sinX0*i*Math.cos(o))+this.y0),t.x=s*i*Math.sin(o)+this.x0)),t},i.inverse=function(t){t.x-=this.x0,t.y-=this.y0;var s,i,a,h,n=Math.sqrt(t.x*t.x+t.y*t.y);if(this.sphere)i=2*Math.atan(n/(.5*this.a*this.k0)),a=this.long0,h=this.lat0,n<=c||(h=Math.asin(Math.cos(i)*this.sinlat0+t.y*Math.sin(i)*this.coslat0/n),a=m(Math.abs(this.coslat0)<c?0<this.lat0?this.long0+Math.atan2(t.x,-1*t.y):this.long0+Math.atan2(t.x,t.y):this.long0+Math.atan2(t.x*Math.sin(i),n*this.coslat0*Math.cos(i)-t.y*this.sinlat0*Math.sin(i))));else if(Math.abs(this.coslat0)<=c){if(n<=c)return h=this.lat0,a=this.long0,t.x=a,t.y=h,t;t.x*=this.con,t.y*=this.con,i=n*this.cons/(2*this.a*this.k0),h=this.con*e(this.e,i),a=this.con*m(this.con*this.long0+Math.atan2(t.x,-1*t.y))}else i=2*Math.atan(n*this.cosX0/(2*this.a*this.k0*this.ms1)),a=this.long0,n<=c?s=this.X0:(s=Math.asin(Math.cos(i)*this.sinX0+t.y*Math.sin(i)*this.cosX0/n),a=m(this.long0+Math.atan2(t.x*Math.sin(i),n*this.cosX0*Math.cos(i)-t.y*this.sinX0*Math.sin(i)))),h=-1*e(this.e,Math.tan(.5*(r+s)));return t.x=a,t.y=h,t},i.names=["stere"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/sign":21,"../common/tsfnz":24}],60:[function(t,s,i){var n=t("./gauss"),e=t("../common/adjust_lon");i.init=function(){n.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},i.forward=function(t){var s,i,a,h;return t.x=e(t.x-this.long0),n.forward.apply(this,[t]),s=Math.sin(t.y),i=Math.cos(t.y),a=Math.cos(t.x),h=this.k0*this.R2/(1+this.sinc0*s+this.cosc0*i*a),t.x=h*i*Math.sin(t.x),t.y=h*(this.cosc0*s-this.sinc0*i*a),t.x=this.a*t.x+this.x0,t.y=this.a*t.y+this.y0,t},i.inverse=function(t){var s,i,a,h;return t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,h=(h=Math.sqrt(t.x*t.x+t.y*t.y))?(i=2*Math.atan2(h,this.R2),s=Math.sin(i),i=Math.cos(i),a=Math.asin(i*this.sinc0+t.y*s*this.cosc0/h),Math.atan2(t.x*s,h*this.cosc0*i-t.y*this.sinc0*s)):(a=this.phic0,0),t.x=h,t.y=a,n.inverse.apply(this,[t]),t.x=e(t.x+this.long0),t},i.names=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative"]},{"../common/adjust_lon":5,"./gauss":45}],61:[function(t,s,i){var a=t("../common/e0fn"),h=t("../common/e1fn"),n=t("../common/e2fn"),e=t("../common/e3fn"),m=t("../common/mlfn"),_=t("../common/adjust_lon"),y=Math.PI/2,g=t("../common/sign"),x=t("../common/asinz");i.init=function(){this.e0=a(this.es),this.e1=h(this.es),this.e2=n(this.es),this.e3=e(this.es),this.ml0=this.a*m(this.e0,this.e1,this.e2,this.e3,this.lat0)},i.forward=function(t){var s=t.x,i=t.y,s=_(s-this.long0),a=Math.sin(i),h=Math.cos(i);if(this.sphere){var n=h*Math.sin(s);if(Math.abs(Math.abs(n)-1)<1e-10)return 93;c=.5*this.a*this.k0*Math.log((1+n)/(1-n)),n=Math.acos(h*Math.cos(s)/Math.sqrt(1-n*n)),l=this.a*this.k0*((n=i<0?-n:n)-this.lat0)}else var s=h*s,e=Math.pow(s,2),h=this.ep2*Math.pow(h,2),o=Math.tan(i),r=Math.pow(o,2),n=1-this.es*Math.pow(a,2),a=this.a/Math.sqrt(n),n=this.a*m(this.e0,this.e1,this.e2,this.e3,i),c=this.k0*a*s*(1+e/6*(1-r+h+e/20*(5-18*r+Math.pow(r,2)+72*h-58*this.ep2)))+this.x0,l=this.k0*(n-this.ml0+a*o*e*(.5+e/24*(5-r+9*h+4*Math.pow(h,2)+e/30*(61-58*r+Math.pow(r,2)+600*h-330*this.ep2))))+this.y0;return t.x=c,t.y=l,t},i.inverse=function(t){var s;if(this.sphere){var i=Math.exp(t.x/(this.a*this.k0)),i=.5*(i-1/i),a=this.lat0+t.y/(this.a*this.k0),h=Math.cos(a),n=Math.sqrt((1-h*h)/(1+i*i)),e=x(n);a<0&&(e=-e),a=0==i&&0===h?this.long0:_(Math.atan2(i,h)+this.long0)}else{for(var o,r,c,l,m,M,u,f,i=t.x-this.x0,h=t.y-this.y0,p=n=(this.ml0+h/this.k0)/this.a,d=0;p+=s=(n+this.e1*Math.sin(2*p)-this.e2*Math.sin(4*p)+this.e3*Math.sin(6*p))/this.e0-p,!(Math.abs(s)<=1e-10);d++)if(6<=d)return 95;a=Math.abs(p)<y?(f=Math.sin(p),o=Math.cos(p),r=Math.tan(p),c=this.ep2*Math.pow(o,2),l=Math.pow(c,2),m=Math.pow(r,2),M=Math.pow(m,2),n=1-this.es*Math.pow(f,2),u=(f=this.a/Math.sqrt(n))*(1-this.es)/n,i=i/(f*this.k0),e=p-f*r*(f=Math.pow(i,2))/u*(.5-f/24*(5+3*m+10*c-4*l-9*this.ep2-f/30*(61+90*m+298*c+45*M-252*this.ep2-3*l))),_(this.long0+i*(1-f/6*(1+2*m+c-f/20*(5-2*c+28*m-3*l+8*this.ep2+24*M)))/o)):(e=y*g(h),this.long0)}return t.x=a,t.y=e,t},i.names=["Transverse_Mercator","Transverse Mercator","tmerc"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/mlfn":14,"../common/sign":21}],62:[function(t,s,i){var a=t("./tmerc");i.dependsOn="tmerc",i.init=function(){this.zone&&(this.lat0=0,this.long0=.017453292519943295*(6*Math.abs(this.zone)-183),this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,a.init.apply(this),this.forward=a.forward,this.inverse=a.inverse)},i.names=["Universal Transverse Mercator System","utm"]},{"./tmerc":61}],63:[function(t,s,i){var m=t("../common/adjust_lon"),M=Math.PI/2,u=1e-10,f=t("../common/asinz");i.init=function(){this.R=this.a},i.forward=function(t){var s,i=t.x,a=t.y,i=m(i-this.long0),h=(Math.abs(a)<=u&&(s=this.x0+this.R*i,l=this.y0),f(2*Math.abs(a/Math.PI))),n=((Math.abs(i)<=u||Math.abs(Math.abs(a)-M)<=u)&&(s=this.x0,l=0<=a?this.y0+Math.PI*this.R*Math.tan(.5*h):this.y0+Math.PI*this.R*-Math.tan(.5*h)),.5*Math.abs(Math.PI/i-i/Math.PI)),e=n*n,o=Math.sin(h),h=Math.cos(h),h=h/(o+h-1),o=h*(2/o-1),r=o*o,c=Math.PI*this.R*(n*(h-r)+Math.sqrt(e*(h-r)*(h-r)-(r+e)*(h*h-r)))/(r+e),i=(s=this.x0+(c=i<0?-c:c),e+h),c=Math.PI*this.R*(o*i-n*Math.sqrt((r+e)*(1+e)-i*i))/(r+e),l=0<=a?this.y0+c:this.y0-c;return t.x=s,t.y=l,t},i.inverse=function(t){var s,i,a,h,n,e,o;return t.x-=this.x0,t.y-=this.y0,o=Math.PI*this.R,a=(s=t.x/o)*s+(i=t.y/o)*i,o=3*(i*i/(n=-2*(e=-Math.abs(i)*(1+a))+1+2*i*i+a*a)+(2*(h=e-2*i*i+s*s)*h*h/n/n/n-9*e*h/n/n)/27)/(e=(e-h*h/3/n)/n)/(e=2*Math.sqrt(-e/3)),1<Math.abs(o)&&(o=0<=o?1:-1),o=Math.acos(o)/3,e=0<=t.y?(-e*Math.cos(o+Math.PI/3)-h/3/n)*Math.PI:-(-e*Math.cos(o+Math.PI/3)-h/3/n)*Math.PI,o=Math.abs(s)<u?this.long0:m(this.long0+Math.PI*(a-1+Math.sqrt(1+2*(s*s-i*i)+a*a))/2/s),t.x=o,t.y=e,t},i.names=["Van_der_Grinten_I","VanDerGrinten","vandg"]},{"../common/adjust_lon":5,"../common/asinz":6}],64:[function(t,s){var e=.017453292519943295,o=57.29577951308232,r=t("./datum_transform"),c=t("./adjust_axis"),l=t("./Proj"),m=t("./common/toPoint");s.exports=function t(s,i,a){function h(t,s){return(1===t.datum.datum_type||2===t.datum.datum_type)&&"WGS84"!==s.datumCode}var n;return Array.isArray(a)&&(a=m(a)),s.datum&&i.datum&&(h(s,i)||h(i,s))&&(t(s,n=new l("WGS84"),a),s=n),"enu"!==s.axis&&c(s,!1,a),"longlat"===s.projName?(a.x*=e,a.y*=e):(s.to_meter&&(a.x*=s.to_meter,a.y*=s.to_meter),s.inverse(a)),s.from_greenwich&&(a.x+=s.from_greenwich),a=r(s.datum,i.datum,a),i.from_greenwich&&(a.x-=i.from_greenwich),"longlat"===i.projName?(a.x*=o,a.y*=o):(i.forward(a),i.to_meter&&(a.x/=i.to_meter,a.y/=i.to_meter)),"enu"!==i.axis&&c(i,!0,a),a}},{"./Proj":2,"./adjust_axis":3,"./common/toPoint":23,"./datum_transform":30}],65:[function(t,s){function a(t,s,i){t[s]=i.map(function(t){var s={};return h(t,s),s}).reduce(function(t,s){return o(t,s)},{})}function h(t,s){var i;Array.isArray(t)?("PARAMETER"===(i=t.shift())&&(i=t.shift()),1===t.length?Array.isArray(t[0])?(s[i]={},h(t[0],s[i])):s[i]=t[0]:t.length?"TOWGS84"===i?s[i]=t:(s[i]={},-1<["UNIT","PRIMEM","VERT_DATUM"].indexOf(i)?(s[i]={name:t[0].toLowerCase(),convert:t[1]},3===t.length&&(s[i].auth=t[2])):"SPHEROID"===i?(s[i]={name:t[0],a:t[1],rf:t[2]},4===t.length&&(s[i].auth=t[3])):-1<["GEOGCS","GEOCCS","DATUM","VERT_CS","COMPD_CS","LOCAL_CS","FITTED_CS","LOCAL_DATUM"].indexOf(i)?(t[0]=["name",t[0]],a(s,i,t)):t.every(function(t){return Array.isArray(t)})?a(s,i,t):h(t,s[i])):s[i]=!0):s[t]=!0}function i(t){return t*e}function n(h){function t(t){var s=h.to_meter||1;return parseFloat(t,10)*s}"GEOGCS"===h.type?h.projName="longlat":"LOCAL_CS"===h.type?(h.projName="identity",h.local=!0):h.projName="object"==typeof h.PROJECTION?Object.keys(h.PROJECTION)[0]:h.PROJECTION,h.UNIT&&(h.units=h.UNIT.name.toLowerCase(),"metre"===h.units&&(h.units="meter"),h.UNIT.convert)&&(h.to_meter=parseFloat(h.UNIT.convert,10)),h.GEOGCS&&(h.datumCode=(h.GEOGCS.DATUM||h.GEOGCS).name.toLowerCase(),"d_"===h.datumCode.slice(0,2)&&(h.datumCode=h.datumCode.slice(2)),"new_zealand_geodetic_datum_1949"!==h.datumCode&&"new_zealand_1949"!==h.datumCode||(h.datumCode="nzgd49"),"wgs_1984"===h.datumCode&&("Mercator_Auxiliary_Sphere"===h.PROJECTION&&(h.sphere=!0),h.datumCode="wgs84"),"_ferro"===h.datumCode.slice(-6)&&(h.datumCode=h.datumCode.slice(0,-6)),"_jakarta"===h.datumCode.slice(-8)&&(h.datumCode=h.datumCode.slice(0,-8)),~h.datumCode.indexOf("belge")&&(h.datumCode="rnb72"),h.GEOGCS.DATUM&&h.GEOGCS.DATUM.SPHEROID&&(h.ellps=h.GEOGCS.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===h.ellps.toLowerCase().slice(0,13)&&(h.ellps="intl"),h.a=h.GEOGCS.DATUM.SPHEROID.a,h.rf=parseFloat(h.GEOGCS.DATUM.SPHEROID.rf,10)),~h.datumCode.indexOf("osgb_1936"))&&(h.datumCode="osgb36"),h.b&&!isFinite(h.b)&&(h.b=h.a);[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_2","Standard_Parallel_2"],["false_easting","False_Easting"],["false_northing","False_Northing"],["central_meridian","Central_Meridian"],["latitude_of_origin","Latitude_Of_Origin"],["latitude_of_origin","Central_Parallel"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",i],["longitude_of_center","Longitude_Of_Center"],["longc","longitude_of_center",i],["x0","false_easting",t],["y0","false_northing",t],["long0","central_meridian",i],["lat0","latitude_of_origin",i],["lat0","standard_parallel_1",i],["lat1","standard_parallel_1",i],["lat2","standard_parallel_2",i],["alpha","azimuth",i],["srsCode","name"]].forEach(function(t){var s,i,a;s=h,i=(t=t)[0],a=t[1],!(i in s)&&a in s&&(s[i]=s[a],3===t.length)&&(s[i]=t[2](s[i]))}),h.long0||!h.longc||"Albers_Conic_Equal_Area"!==h.PROJECTION&&"Lambert_Azimuthal_Equal_Area"!==h.PROJECTION||(h.long0=h.longc)}var e=.017453292519943295,o=t("./extend");s.exports=function(t,s){var t=JSON.parse((","+t).replace(/\s*\,\s*([A-Z_0-9]+?)(\[)/g,',["$1",').slice(1).replace(/\s*\,\s*([A-Z_0-9]+?)\]/g,',"$1"]').replace(/,\["VERTCS".+/,"")),i=t.shift(),a=t.shift(),a=(t.unshift(["name",a]),t.unshift(["type",i]),t.unshift("output"),{});return h(t,a),n(a.output),o(s,a.output)}},{"./extend":33}],66:[function(t,s,i){function m(t){return t*(Math.PI/180)}function M(t){return t/Math.PI*180}function u(t,s){var i=""+t.easting,a=""+t.northing;return t.zoneNumber+t.zoneLetter+function(t,s,i){i=f(i),t=Math.floor(t/1e5),s=Math.floor(s/1e5)%20;return function(t,s,i){var i=i-1,a=p.charCodeAt(i),i=d.charCodeAt(i),t=a+t-1,s=i+s,h=!1;return b<t&&(t=t-b+_-1,h=!0),(t===y||a<y&&y<t||(y<t||a<y)&&h)&&t++,!(t===g||a<g&&g<t||(g<t||a<g)&&h)||++t===y&&t++,b<t&&(t=t-b+_-1),h=x<s&&(s=s-x+_-1,!0),(s===y||i<y&&y<s||(y<s||i<y)&&h)&&s++,!(s===g||i<g&&g<s||(g<s||i<g)&&h)||++s===y&&s++,x<s&&(s=s-x+_-1),String.fromCharCode(t)+String.fromCharCode(s)}(t,s,i)}(t.easting,t.northing,t.zoneNumber)+i.substr(i.length-5,s)+a.substr(a.length-5,s)}function f(t){t%=h;return t=0===t?h:t}function a(t){if(t&&0===t.length)throw"MGRSPoint coverting from nothing";for(var s,i=t.length,a=null,h="",n=0;!/[A-Z]/.test(s=t.charAt(n));){if(2<=n)throw"MGRSPoint bad conversion from: "+t;h+=s,n++}var e=parseInt(h,10);if(0===n||i<n+3)throw"MGRSPoint bad conversion from: "+t;var o=t.charAt(n++);if(o<="A"||"B"===o||"Y"===o||"Z"<=o||"I"===o||"O"===o)throw"MGRSPoint zone letter "+o+" not handled: "+t;for(var a=t.substring(n,n+=2),r=f(e),c=function(t,s){for(var i=p.charCodeAt(s-1),a=1e5,h=!1;i!==t.charCodeAt(0);){if(++i===y&&i++,i===g&&i++,b<i){if(h)throw"Bad character: "+t;i=_,h=!0}a+=1e5}return a}(a.charAt(0),r),l=function(t,s){if("V"<t)throw"MGRSPoint given invalid Northing "+t;for(var i=d.charCodeAt(s-1),a=0,h=!1;i!==t.charCodeAt(0);){if(++i===y&&i++,i===g&&i++,x<i){if(h)throw"Bad character: "+t;i=_,h=!0}a+=1e5}return a}(a.charAt(1),r);l<function(t){var s;switch(t){case"C":s=11e5;break;case"D":s=2e6;break;case"E":s=28e5;break;case"F":s=37e5;break;case"G":s=46e5;break;case"H":s=55e5;break;case"J":s=64e5;break;case"K":s=73e5;break;case"L":s=82e5;break;case"M":s=91e5;break;case"N":s=0;break;case"P":s=8e5;break;case"Q":s=17e5;break;case"R":s=26e5;break;case"S":s=35e5;break;case"T":s=44e5;break;case"U":s=53e5;break;case"V":s=62e5;break;case"W":s=7e6;break;case"X":s=79e5;break;default:s=-1}if(0<=s)return s;throw"Invalid zone letter: "+t}(o);)l+=2e6;a=i-n;if(a%2!=0)throw"MGRSPoint has to have an even number \nof digits after the zone letter and two 100km letters - front \nhalf for easting meters, second half for \nnorthing meters"+t;var m,M,r=a/2,i=0,a=0;return 0<r&&(m=1e5/Math.pow(10,r),M=t.substring(n,n+r),i=parseFloat(M)*m,M=t.substring(n+r),a=parseFloat(M)*m),{easting:i+c,northing:a+l,zoneLetter:o,zoneNumber:e,accuracy:m}}var h=6,p="AJSAJS",d="AFAFAF",_=65,y=73,g=79,x=86,b=90;i.forward=function(t,s){return s=s||5,u((t={lat:t[1],lon:t[0]},i=t.lat,t=t.lon,a=.00669438,h=m(i),n=m(t),e=Math.floor((t+180)/6)+1,180===t&&(e=60),56<=i&&i<64&&3<=t&&t<12&&(e=32),72<=i&&i<84&&(0<=t&&t<9?e=31:9<=t&&t<21?e=33:21<=t&&t<33?e=35:33<=t&&t<42&&(e=37)),t=m(6*(e-1)-180+3),o=a/(1-a),r=6378137/Math.sqrt(1-a*Math.sin(h)*Math.sin(h)),c=Math.tan(h)*Math.tan(h),l=o*Math.cos(h)*Math.cos(h),t=.9996*r*((n=Math.cos(h)*(n-t))+(1-c+l)*n*n*n/6+(5-18*c+c*c+72*l-58*o)*n*n*n*n*n/120)+5e5,a=.9996*(6378137*(.9983242984503243*h-.002514607064228144*Math.sin(2*h)+2639046602129982e-21*Math.sin(4*h)-35*a*a*a/3072*Math.sin(6*h))+r*Math.tan(h)*(n*n/2+(5-c+9*l+4*l*l)*n*n*n*n/24+(61-58*c+c*c+600*l-330*o)*n*n*n*n*n*n/720)),i<0&&(a+=1e7),{northing:Math.round(a),easting:Math.round(t),zoneNumber:e,zoneLetter:(r="Z",(h=i)<=84&&72<=h?r="X":h<72&&64<=h?r="W":h<64&&56<=h?r="V":h<56&&48<=h?r="U":h<48&&40<=h?r="T":h<40&&32<=h?r="S":h<32&&24<=h?r="R":h<24&&16<=h?r="Q":h<16&&8<=h?r="P":h<8&&0<=h?r="N":h<0&&-8<=h?r="M":h<-8&&-16<=h?r="L":h<-16&&-24<=h?r="K":h<-24&&-32<=h?r="J":h<-32&&-40<=h?r="H":h<-40&&-48<=h?r="G":h<-48&&-56<=h?r="F":h<-56&&-64<=h?r="E":h<-64&&-72<=h?r="D":h<-72&&-80<=h&&(r="C"),r)}),s);var i,a,h,n,e,o,r,c,l},i.inverse=function(t){t=function t(s){var i,a,h,n,e,o=s.northing,r=s.easting,c=s.zoneLetter,l=s.zoneNumber;return l<0||60<l?null:(e=6378137,r-=5e5,c<"N"&&(o-=1e7),c=6*(l-1)-180+3,i=(l=.00669438)/(1-l),a=(o=o/.9996/6367449.145945056)+(3*(a=(1-Math.sqrt(1-l))/(1+Math.sqrt(1-l)))/2-27*a*a*a/32)*Math.sin(2*o)+(21*a*a/16-55*a*a*a*a/32)*Math.sin(4*o)+151*a*a*a/96*Math.sin(6*o),o=e/Math.sqrt(1-l*Math.sin(a)*Math.sin(a)),h=Math.tan(a)*Math.tan(a),n=i*Math.cos(a)*Math.cos(a),e=e*(1-l)/Math.pow(1-l*Math.sin(a)*Math.sin(a),1.5),l=r/(.9996*o),r=M(r=a-o*Math.tan(a)/e*(l*l/2-(5+3*h+10*n-4*n*n-9*i)*l*l*l*l/24+(61+90*h+298*n+45*h*h-252*i-3*n*n)*l*l*l*l*l*l/720)),o=c+M(o=(l-(1+2*h+n)*l*l*l/6+(5-2*n+28*h-3*n*n+8*i+24*h*h)*l*l*l*l*l/120)/Math.cos(a)),s.accuracy?{top:(e=t({northing:s.northing+s.accuracy,easting:s.easting+s.accuracy,zoneLetter:s.zoneLetter,zoneNumber:s.zoneNumber})).lat,right:e.lon,bottom:r,left:o}:{lat:r,lon:o})}(a(t.toUpperCase()));return[t.left,t.bottom,t.right,t.top]},i.toPoint=function(t){t=i.inverse(t);return[(t[2]+t[0])/2,(t[3]+t[1])/2]}},{}],67:[function(t,s){s.exports={name:"proj4",version:"2.3.3",description:"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",main:"lib/index.js",directories:{test:"test",doc:"docs"},scripts:{test:"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},repository:{type:"git",url:"git://github.com/proj4js/proj4js.git"},author:"",license:"MIT",jam:{main:"dist/proj4.js",include:["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},devDependencies:{"grunt-cli":"~0.1.13",grunt:"~0.4.2","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0",chai:"~1.8.1",mocha:"~1.17.1","grunt-mocha-phantomjs":"~0.4.0",browserify:"~3.24.5","grunt-browserify":"~1.3.0","grunt-contrib-uglify":"~0.3.2",curl:"git://github.com/cujojs/curl.git",istanbul:"~0.2.4",tin:"~0.4.0"},dependencies:{mgrs:"0.0.0"}}},{}],"./includedProjections":[function(t,s){s.exports=t("gWUPNW")},{}],gWUPNW:[function(t,s){var i=[t("./lib/projections/tmerc"),t("./lib/projections/utm"),t("./lib/projections/sterea"),t("./lib/projections/stere"),t("./lib/projections/somerc"),t("./lib/projections/omerc"),t("./lib/projections/lcc"),t("./lib/projections/krovak"),t("./lib/projections/cass"),t("./lib/projections/laea"),t("./lib/projections/aea"),t("./lib/projections/gnom"),t("./lib/projections/cea"),t("./lib/projections/eqc"),t("./lib/projections/poly"),t("./lib/projections/nzmg"),t("./lib/projections/mill"),t("./lib/projections/sinu"),t("./lib/projections/moll"),t("./lib/projections/eqdc"),t("./lib/projections/vandg"),t("./lib/projections/aeqd")];s.exports=function(s){i.forEach(function(t){s.Proj.projections.add(t)})}},{"./lib/projections/aea":39,"./lib/projections/aeqd":40,"./lib/projections/cass":41,"./lib/projections/cea":42,"./lib/projections/eqc":43,"./lib/projections/eqdc":44,"./lib/projections/gnom":46,"./lib/projections/krovak":47,"./lib/projections/laea":48,"./lib/projections/lcc":49,"./lib/projections/mill":52,"./lib/projections/moll":53,"./lib/projections/nzmg":54,"./lib/projections/omerc":55,"./lib/projections/poly":56,"./lib/projections/sinu":57,"./lib/projections/somerc":58,"./lib/projections/stere":59,"./lib/projections/sterea":60,"./lib/projections/tmerc":61,"./lib/projections/utm":62,"./lib/projections/vandg":63}]},{},[35])(35)});