@alma-cdk/project 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1603) hide show
  1. package/.gitattributes +22 -0
  2. package/.jsii +5569 -0
  3. package/.nvmrc +1 -0
  4. package/API.md +3500 -0
  5. package/LICENSE +202 -0
  6. package/README.md +201 -0
  7. package/assets/accounts-1x.svg +3 -0
  8. package/assets/accounts-2x.svg +3 -0
  9. package/assets/accounts-3x.svg +3 -0
  10. package/assets/accounts.drawio +1 -0
  11. package/assets/alma-cdk-logo.afdesign +0 -0
  12. package/assets/alma-cdk-project.svg +61 -0
  13. package/lib/configurations/accounts.d.ts +108 -0
  14. package/lib/configurations/accounts.js +176 -0
  15. package/lib/configurations/environments.d.ts +45 -0
  16. package/lib/configurations/environments.js +83 -0
  17. package/lib/configurations/index.d.ts +2 -0
  18. package/lib/configurations/index.js +8 -0
  19. package/lib/context/account.d.ts +12 -0
  20. package/lib/context/account.js +41 -0
  21. package/lib/context/environment.d.ts +144 -0
  22. package/lib/context/environment.js +183 -0
  23. package/lib/context/index.d.ts +2 -0
  24. package/lib/context/index.js +9 -0
  25. package/lib/error/add.d.ts +2 -0
  26. package/lib/error/add.js +9 -0
  27. package/lib/error/index.d.ts +1 -0
  28. package/lib/error/index.js +5 -0
  29. package/lib/index.d.ts +6 -0
  30. package/lib/index.js +19 -0
  31. package/lib/name/index.d.ts +10 -0
  32. package/lib/name/index.js +18 -0
  33. package/lib/name/interfaces.d.ts +4 -0
  34. package/lib/name/interfaces.js +3 -0
  35. package/lib/name/max-length.d.ts +6 -0
  36. package/lib/name/max-length.js +29 -0
  37. package/lib/name/name-path.d.ts +8 -0
  38. package/lib/name/name-path.js +32 -0
  39. package/lib/name/name-path.test.d.ts +1 -0
  40. package/lib/name/name-path.test.js +88 -0
  41. package/lib/name/name-url.d.ts +8 -0
  42. package/lib/name/name-url.js +33 -0
  43. package/lib/name/name-url.test.d.ts +1 -0
  44. package/lib/name/name-url.test.js +84 -0
  45. package/lib/name/name.d.ts +13 -0
  46. package/lib/name/name.js +61 -0
  47. package/lib/name/name.test.d.ts +1 -0
  48. package/lib/name/name.test.js +83 -0
  49. package/lib/name/trim.d.ts +3 -0
  50. package/lib/name/trim.js +24 -0
  51. package/lib/name/trim.test.d.ts +1 -0
  52. package/lib/name/trim.test.js +30 -0
  53. package/lib/project/account-type.d.ts +10 -0
  54. package/lib/project/account-type.js +37 -0
  55. package/lib/project/environment-type.d.ts +9 -0
  56. package/lib/project/environment-type.js +40 -0
  57. package/lib/project/envregexp.d.ts +5 -0
  58. package/lib/project/envregexp.js +17 -0
  59. package/lib/project/index.d.ts +6 -0
  60. package/lib/project/index.js +25 -0
  61. package/lib/project/interfaces.d.ts +102 -0
  62. package/lib/project/interfaces.js +3 -0
  63. package/lib/project/project-context.d.ts +29 -0
  64. package/lib/project/project-context.js +87 -0
  65. package/lib/project/project.d.ts +51 -0
  66. package/lib/project/project.js +82 -0
  67. package/lib/project/resolve-region.d.ts +2 -0
  68. package/lib/project/resolve-region.js +24 -0
  69. package/lib/smartstack/description/index.d.ts +6 -0
  70. package/lib/smartstack/description/index.js +16 -0
  71. package/lib/smartstack/description/index.test.d.ts +1 -0
  72. package/lib/smartstack/description/index.test.js +104 -0
  73. package/lib/smartstack/index.d.ts +1 -0
  74. package/lib/smartstack/index.js +5 -0
  75. package/lib/smartstack/name/index.d.ts +8 -0
  76. package/lib/smartstack/name/index.js +21 -0
  77. package/lib/smartstack/name/index.test.d.ts +1 -0
  78. package/lib/smartstack/name/index.test.js +129 -0
  79. package/lib/smartstack/stack.d.ts +9 -0
  80. package/lib/smartstack/stack.js +66 -0
  81. package/lib/smartstack/tags/checks.d.ts +5 -0
  82. package/lib/smartstack/tags/checks.js +18 -0
  83. package/lib/smartstack/tags/exclude.d.ts +2 -0
  84. package/lib/smartstack/tags/exclude.js +17 -0
  85. package/lib/smartstack/tags/index.d.ts +2 -0
  86. package/lib/smartstack/tags/index.js +23 -0
  87. package/lib/smartstack/tags/taggers.d.ts +13 -0
  88. package/lib/smartstack/tags/taggers.js +41 -0
  89. package/lib/smartstack/tags/values.d.ts +20 -0
  90. package/lib/smartstack/tags/values.js +27 -0
  91. package/lib/smartstack/termination/index.d.ts +5 -0
  92. package/lib/smartstack/termination/index.js +22 -0
  93. package/lib/smartstack/termination/index.test.d.ts +1 -0
  94. package/lib/smartstack/termination/index.test.js +86 -0
  95. package/lib/template/index.d.ts +5 -0
  96. package/lib/template/index.js +28 -0
  97. package/lib/utils/isSet.d.ts +1 -0
  98. package/lib/utils/isSet.js +9 -0
  99. package/lib/wrapper/account.d.ts +4 -0
  100. package/lib/wrapper/account.js +23 -0
  101. package/lib/wrapper/environment.d.ts +4 -0
  102. package/lib/wrapper/environment.js +19 -0
  103. package/lib/wrapper/index.d.ts +2 -0
  104. package/lib/wrapper/index.js +7 -0
  105. package/node_modules/a-sync-waterfall/LICENSE +21 -0
  106. package/node_modules/a-sync-waterfall/README.md +95 -0
  107. package/node_modules/a-sync-waterfall/index.js +83 -0
  108. package/node_modules/a-sync-waterfall/package.json +25 -0
  109. package/node_modules/a-sync-waterfall/test.js +77 -0
  110. package/node_modules/asap/CHANGES.md +70 -0
  111. package/node_modules/asap/LICENSE.md +21 -0
  112. package/node_modules/asap/README.md +237 -0
  113. package/node_modules/asap/asap.js +65 -0
  114. package/node_modules/asap/browser-asap.js +66 -0
  115. package/node_modules/asap/browser-raw.js +223 -0
  116. package/node_modules/asap/package.json +62 -0
  117. package/node_modules/asap/raw.js +101 -0
  118. package/node_modules/camel-case/LICENSE +21 -0
  119. package/node_modules/camel-case/README.md +47 -0
  120. package/node_modules/camel-case/dist/index.d.ts +5 -0
  121. package/node_modules/camel-case/dist/index.js +23 -0
  122. package/node_modules/camel-case/dist/index.js.map +1 -0
  123. package/node_modules/camel-case/dist/index.spec.d.ts +1 -0
  124. package/node_modules/camel-case/dist/index.spec.js +26 -0
  125. package/node_modules/camel-case/dist/index.spec.js.map +1 -0
  126. package/node_modules/camel-case/dist.es2015/index.d.ts +5 -0
  127. package/node_modules/camel-case/dist.es2015/index.js +17 -0
  128. package/node_modules/camel-case/dist.es2015/index.js.map +1 -0
  129. package/node_modules/camel-case/dist.es2015/index.spec.d.ts +1 -0
  130. package/node_modules/camel-case/dist.es2015/index.spec.js +24 -0
  131. package/node_modules/camel-case/dist.es2015/index.spec.js.map +1 -0
  132. package/node_modules/camel-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  133. package/node_modules/camel-case/node_modules/tslib/LICENSE.txt +12 -0
  134. package/node_modules/camel-case/node_modules/tslib/README.md +164 -0
  135. package/node_modules/camel-case/node_modules/tslib/modules/index.js +55 -0
  136. package/node_modules/camel-case/node_modules/tslib/modules/package.json +3 -0
  137. package/node_modules/camel-case/node_modules/tslib/package.json +42 -0
  138. package/node_modules/camel-case/node_modules/tslib/tslib.d.ts +398 -0
  139. package/node_modules/camel-case/node_modules/tslib/tslib.es6.html +1 -0
  140. package/node_modules/camel-case/node_modules/tslib/tslib.es6.js +248 -0
  141. package/node_modules/camel-case/node_modules/tslib/tslib.html +1 -0
  142. package/node_modules/camel-case/node_modules/tslib/tslib.js +317 -0
  143. package/node_modules/camel-case/package.json +93 -0
  144. package/node_modules/capital-case/LICENSE +21 -0
  145. package/node_modules/capital-case/README.md +37 -0
  146. package/node_modules/capital-case/dist/index.d.ts +4 -0
  147. package/node_modules/capital-case/dist/index.js +16 -0
  148. package/node_modules/capital-case/dist/index.js.map +1 -0
  149. package/node_modules/capital-case/dist/index.spec.d.ts +1 -0
  150. package/node_modules/capital-case/dist/index.spec.js +24 -0
  151. package/node_modules/capital-case/dist/index.spec.js.map +1 -0
  152. package/node_modules/capital-case/dist.es2015/index.d.ts +4 -0
  153. package/node_modules/capital-case/dist.es2015/index.js +11 -0
  154. package/node_modules/capital-case/dist.es2015/index.js.map +1 -0
  155. package/node_modules/capital-case/dist.es2015/index.spec.d.ts +1 -0
  156. package/node_modules/capital-case/dist.es2015/index.spec.js +22 -0
  157. package/node_modules/capital-case/dist.es2015/index.spec.js.map +1 -0
  158. package/node_modules/capital-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  159. package/node_modules/capital-case/node_modules/tslib/LICENSE.txt +12 -0
  160. package/node_modules/capital-case/node_modules/tslib/README.md +164 -0
  161. package/node_modules/capital-case/node_modules/tslib/modules/index.js +55 -0
  162. package/node_modules/capital-case/node_modules/tslib/modules/package.json +3 -0
  163. package/node_modules/capital-case/node_modules/tslib/package.json +42 -0
  164. package/node_modules/capital-case/node_modules/tslib/tslib.d.ts +398 -0
  165. package/node_modules/capital-case/node_modules/tslib/tslib.es6.html +1 -0
  166. package/node_modules/capital-case/node_modules/tslib/tslib.es6.js +248 -0
  167. package/node_modules/capital-case/node_modules/tslib/tslib.html +1 -0
  168. package/node_modules/capital-case/node_modules/tslib/tslib.js +317 -0
  169. package/node_modules/capital-case/package.json +94 -0
  170. package/node_modules/change-case/LICENSE +21 -0
  171. package/node_modules/change-case/README.md +44 -0
  172. package/node_modules/change-case/dist/index.d.ts +11 -0
  173. package/node_modules/change-case/dist/index.js +15 -0
  174. package/node_modules/change-case/dist/index.js.map +1 -0
  175. package/node_modules/change-case/dist/index.spec.d.ts +1 -0
  176. package/node_modules/change-case/dist/index.spec.js +9 -0
  177. package/node_modules/change-case/dist/index.spec.js.map +1 -0
  178. package/node_modules/change-case/dist.es2015/index.d.ts +11 -0
  179. package/node_modules/change-case/dist.es2015/index.js +12 -0
  180. package/node_modules/change-case/dist.es2015/index.js.map +1 -0
  181. package/node_modules/change-case/dist.es2015/index.spec.d.ts +1 -0
  182. package/node_modules/change-case/dist.es2015/index.spec.js +7 -0
  183. package/node_modules/change-case/dist.es2015/index.spec.js.map +1 -0
  184. package/node_modules/change-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  185. package/node_modules/change-case/node_modules/tslib/LICENSE.txt +12 -0
  186. package/node_modules/change-case/node_modules/tslib/README.md +164 -0
  187. package/node_modules/change-case/node_modules/tslib/modules/index.js +55 -0
  188. package/node_modules/change-case/node_modules/tslib/modules/package.json +3 -0
  189. package/node_modules/change-case/node_modules/tslib/package.json +42 -0
  190. package/node_modules/change-case/node_modules/tslib/tslib.d.ts +398 -0
  191. package/node_modules/change-case/node_modules/tslib/tslib.es6.html +1 -0
  192. package/node_modules/change-case/node_modules/tslib/tslib.es6.js +248 -0
  193. package/node_modules/change-case/node_modules/tslib/tslib.html +1 -0
  194. package/node_modules/change-case/node_modules/tslib/tslib.js +317 -0
  195. package/node_modules/change-case/package.json +105 -0
  196. package/node_modules/constant-case/LICENSE +21 -0
  197. package/node_modules/constant-case/README.md +37 -0
  198. package/node_modules/constant-case/dist/index.d.ts +3 -0
  199. package/node_modules/constant-case/dist/index.js +12 -0
  200. package/node_modules/constant-case/dist/index.js.map +1 -0
  201. package/node_modules/constant-case/dist/index.spec.d.ts +1 -0
  202. package/node_modules/constant-case/dist/index.spec.js +26 -0
  203. package/node_modules/constant-case/dist/index.spec.js.map +1 -0
  204. package/node_modules/constant-case/dist.es2015/index.d.ts +3 -0
  205. package/node_modules/constant-case/dist.es2015/index.js +8 -0
  206. package/node_modules/constant-case/dist.es2015/index.js.map +1 -0
  207. package/node_modules/constant-case/dist.es2015/index.spec.d.ts +1 -0
  208. package/node_modules/constant-case/dist.es2015/index.spec.js +24 -0
  209. package/node_modules/constant-case/dist.es2015/index.spec.js.map +1 -0
  210. package/node_modules/constant-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  211. package/node_modules/constant-case/node_modules/tslib/LICENSE.txt +12 -0
  212. package/node_modules/constant-case/node_modules/tslib/README.md +164 -0
  213. package/node_modules/constant-case/node_modules/tslib/modules/index.js +55 -0
  214. package/node_modules/constant-case/node_modules/tslib/modules/package.json +3 -0
  215. package/node_modules/constant-case/node_modules/tslib/package.json +42 -0
  216. package/node_modules/constant-case/node_modules/tslib/tslib.d.ts +398 -0
  217. package/node_modules/constant-case/node_modules/tslib/tslib.es6.html +1 -0
  218. package/node_modules/constant-case/node_modules/tslib/tslib.es6.js +248 -0
  219. package/node_modules/constant-case/node_modules/tslib/tslib.html +1 -0
  220. package/node_modules/constant-case/node_modules/tslib/tslib.js +317 -0
  221. package/node_modules/constant-case/package.json +94 -0
  222. package/node_modules/dot-case/LICENSE +21 -0
  223. package/node_modules/dot-case/README.md +37 -0
  224. package/node_modules/dot-case/dist/index.d.ts +3 -0
  225. package/node_modules/dot-case/dist/index.js +11 -0
  226. package/node_modules/dot-case/dist/index.js.map +1 -0
  227. package/node_modules/dot-case/dist/index.spec.d.ts +1 -0
  228. package/node_modules/dot-case/dist/index.spec.js +26 -0
  229. package/node_modules/dot-case/dist/index.spec.js.map +1 -0
  230. package/node_modules/dot-case/dist.es2015/index.d.ts +3 -0
  231. package/node_modules/dot-case/dist.es2015/index.js +7 -0
  232. package/node_modules/dot-case/dist.es2015/index.js.map +1 -0
  233. package/node_modules/dot-case/dist.es2015/index.spec.d.ts +1 -0
  234. package/node_modules/dot-case/dist.es2015/index.spec.js +24 -0
  235. package/node_modules/dot-case/dist.es2015/index.spec.js.map +1 -0
  236. package/node_modules/dot-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  237. package/node_modules/dot-case/node_modules/tslib/LICENSE.txt +12 -0
  238. package/node_modules/dot-case/node_modules/tslib/README.md +164 -0
  239. package/node_modules/dot-case/node_modules/tslib/modules/index.js +55 -0
  240. package/node_modules/dot-case/node_modules/tslib/modules/package.json +3 -0
  241. package/node_modules/dot-case/node_modules/tslib/package.json +42 -0
  242. package/node_modules/dot-case/node_modules/tslib/tslib.d.ts +398 -0
  243. package/node_modules/dot-case/node_modules/tslib/tslib.es6.html +1 -0
  244. package/node_modules/dot-case/node_modules/tslib/tslib.es6.js +248 -0
  245. package/node_modules/dot-case/node_modules/tslib/tslib.html +1 -0
  246. package/node_modules/dot-case/node_modules/tslib/tslib.js +317 -0
  247. package/node_modules/dot-case/package.json +93 -0
  248. package/node_modules/header-case/LICENSE +21 -0
  249. package/node_modules/header-case/README.md +37 -0
  250. package/node_modules/header-case/dist/index.d.ts +3 -0
  251. package/node_modules/header-case/dist/index.js +11 -0
  252. package/node_modules/header-case/dist/index.js.map +1 -0
  253. package/node_modules/header-case/dist/index.spec.d.ts +1 -0
  254. package/node_modules/header-case/dist/index.spec.js +24 -0
  255. package/node_modules/header-case/dist/index.spec.js.map +1 -0
  256. package/node_modules/header-case/dist.es2015/index.d.ts +3 -0
  257. package/node_modules/header-case/dist.es2015/index.js +7 -0
  258. package/node_modules/header-case/dist.es2015/index.js.map +1 -0
  259. package/node_modules/header-case/dist.es2015/index.spec.d.ts +1 -0
  260. package/node_modules/header-case/dist.es2015/index.spec.js +22 -0
  261. package/node_modules/header-case/dist.es2015/index.spec.js.map +1 -0
  262. package/node_modules/header-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  263. package/node_modules/header-case/node_modules/tslib/LICENSE.txt +12 -0
  264. package/node_modules/header-case/node_modules/tslib/README.md +164 -0
  265. package/node_modules/header-case/node_modules/tslib/modules/index.js +55 -0
  266. package/node_modules/header-case/node_modules/tslib/modules/package.json +3 -0
  267. package/node_modules/header-case/node_modules/tslib/package.json +42 -0
  268. package/node_modules/header-case/node_modules/tslib/tslib.d.ts +398 -0
  269. package/node_modules/header-case/node_modules/tslib/tslib.es6.html +1 -0
  270. package/node_modules/header-case/node_modules/tslib/tslib.es6.js +248 -0
  271. package/node_modules/header-case/node_modules/tslib/tslib.html +1 -0
  272. package/node_modules/header-case/node_modules/tslib/tslib.js +317 -0
  273. package/node_modules/header-case/package.json +93 -0
  274. package/node_modules/lodash/LICENSE +47 -0
  275. package/node_modules/lodash/README.md +39 -0
  276. package/node_modules/lodash/_DataView.js +7 -0
  277. package/node_modules/lodash/_Hash.js +32 -0
  278. package/node_modules/lodash/_LazyWrapper.js +28 -0
  279. package/node_modules/lodash/_ListCache.js +32 -0
  280. package/node_modules/lodash/_LodashWrapper.js +22 -0
  281. package/node_modules/lodash/_Map.js +7 -0
  282. package/node_modules/lodash/_MapCache.js +32 -0
  283. package/node_modules/lodash/_Promise.js +7 -0
  284. package/node_modules/lodash/_Set.js +7 -0
  285. package/node_modules/lodash/_SetCache.js +27 -0
  286. package/node_modules/lodash/_Stack.js +27 -0
  287. package/node_modules/lodash/_Symbol.js +6 -0
  288. package/node_modules/lodash/_Uint8Array.js +6 -0
  289. package/node_modules/lodash/_WeakMap.js +7 -0
  290. package/node_modules/lodash/_apply.js +21 -0
  291. package/node_modules/lodash/_arrayAggregator.js +22 -0
  292. package/node_modules/lodash/_arrayEach.js +22 -0
  293. package/node_modules/lodash/_arrayEachRight.js +21 -0
  294. package/node_modules/lodash/_arrayEvery.js +23 -0
  295. package/node_modules/lodash/_arrayFilter.js +25 -0
  296. package/node_modules/lodash/_arrayIncludes.js +17 -0
  297. package/node_modules/lodash/_arrayIncludesWith.js +22 -0
  298. package/node_modules/lodash/_arrayLikeKeys.js +49 -0
  299. package/node_modules/lodash/_arrayMap.js +21 -0
  300. package/node_modules/lodash/_arrayPush.js +20 -0
  301. package/node_modules/lodash/_arrayReduce.js +26 -0
  302. package/node_modules/lodash/_arrayReduceRight.js +24 -0
  303. package/node_modules/lodash/_arraySample.js +15 -0
  304. package/node_modules/lodash/_arraySampleSize.js +17 -0
  305. package/node_modules/lodash/_arrayShuffle.js +15 -0
  306. package/node_modules/lodash/_arraySome.js +23 -0
  307. package/node_modules/lodash/_asciiSize.js +12 -0
  308. package/node_modules/lodash/_asciiToArray.js +12 -0
  309. package/node_modules/lodash/_asciiWords.js +15 -0
  310. package/node_modules/lodash/_assignMergeValue.js +20 -0
  311. package/node_modules/lodash/_assignValue.js +28 -0
  312. package/node_modules/lodash/_assocIndexOf.js +21 -0
  313. package/node_modules/lodash/_baseAggregator.js +21 -0
  314. package/node_modules/lodash/_baseAssign.js +17 -0
  315. package/node_modules/lodash/_baseAssignIn.js +17 -0
  316. package/node_modules/lodash/_baseAssignValue.js +25 -0
  317. package/node_modules/lodash/_baseAt.js +23 -0
  318. package/node_modules/lodash/_baseClamp.js +22 -0
  319. package/node_modules/lodash/_baseClone.js +166 -0
  320. package/node_modules/lodash/_baseConforms.js +18 -0
  321. package/node_modules/lodash/_baseConformsTo.js +27 -0
  322. package/node_modules/lodash/_baseCreate.js +30 -0
  323. package/node_modules/lodash/_baseDelay.js +21 -0
  324. package/node_modules/lodash/_baseDifference.js +67 -0
  325. package/node_modules/lodash/_baseEach.js +14 -0
  326. package/node_modules/lodash/_baseEachRight.js +14 -0
  327. package/node_modules/lodash/_baseEvery.js +21 -0
  328. package/node_modules/lodash/_baseExtremum.js +32 -0
  329. package/node_modules/lodash/_baseFill.js +32 -0
  330. package/node_modules/lodash/_baseFilter.js +21 -0
  331. package/node_modules/lodash/_baseFindIndex.js +24 -0
  332. package/node_modules/lodash/_baseFindKey.js +23 -0
  333. package/node_modules/lodash/_baseFlatten.js +38 -0
  334. package/node_modules/lodash/_baseFor.js +16 -0
  335. package/node_modules/lodash/_baseForOwn.js +16 -0
  336. package/node_modules/lodash/_baseForOwnRight.js +16 -0
  337. package/node_modules/lodash/_baseForRight.js +15 -0
  338. package/node_modules/lodash/_baseFunctions.js +19 -0
  339. package/node_modules/lodash/_baseGet.js +24 -0
  340. package/node_modules/lodash/_baseGetAllKeys.js +20 -0
  341. package/node_modules/lodash/_baseGetTag.js +28 -0
  342. package/node_modules/lodash/_baseGt.js +14 -0
  343. package/node_modules/lodash/_baseHas.js +19 -0
  344. package/node_modules/lodash/_baseHasIn.js +13 -0
  345. package/node_modules/lodash/_baseInRange.js +18 -0
  346. package/node_modules/lodash/_baseIndexOf.js +20 -0
  347. package/node_modules/lodash/_baseIndexOfWith.js +23 -0
  348. package/node_modules/lodash/_baseIntersection.js +74 -0
  349. package/node_modules/lodash/_baseInverter.js +21 -0
  350. package/node_modules/lodash/_baseInvoke.js +24 -0
  351. package/node_modules/lodash/_baseIsArguments.js +18 -0
  352. package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  353. package/node_modules/lodash/_baseIsDate.js +18 -0
  354. package/node_modules/lodash/_baseIsEqual.js +28 -0
  355. package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  356. package/node_modules/lodash/_baseIsMap.js +18 -0
  357. package/node_modules/lodash/_baseIsMatch.js +62 -0
  358. package/node_modules/lodash/_baseIsNaN.js +12 -0
  359. package/node_modules/lodash/_baseIsNative.js +47 -0
  360. package/node_modules/lodash/_baseIsRegExp.js +18 -0
  361. package/node_modules/lodash/_baseIsSet.js +18 -0
  362. package/node_modules/lodash/_baseIsTypedArray.js +60 -0
  363. package/node_modules/lodash/_baseIteratee.js +31 -0
  364. package/node_modules/lodash/_baseKeys.js +30 -0
  365. package/node_modules/lodash/_baseKeysIn.js +33 -0
  366. package/node_modules/lodash/_baseLodash.js +10 -0
  367. package/node_modules/lodash/_baseLt.js +14 -0
  368. package/node_modules/lodash/_baseMap.js +22 -0
  369. package/node_modules/lodash/_baseMatches.js +22 -0
  370. package/node_modules/lodash/_baseMatchesProperty.js +33 -0
  371. package/node_modules/lodash/_baseMean.js +20 -0
  372. package/node_modules/lodash/_baseMerge.js +42 -0
  373. package/node_modules/lodash/_baseMergeDeep.js +94 -0
  374. package/node_modules/lodash/_baseNth.js +20 -0
  375. package/node_modules/lodash/_baseOrderBy.js +49 -0
  376. package/node_modules/lodash/_basePick.js +19 -0
  377. package/node_modules/lodash/_basePickBy.js +30 -0
  378. package/node_modules/lodash/_baseProperty.js +14 -0
  379. package/node_modules/lodash/_basePropertyDeep.js +16 -0
  380. package/node_modules/lodash/_basePropertyOf.js +14 -0
  381. package/node_modules/lodash/_basePullAll.js +51 -0
  382. package/node_modules/lodash/_basePullAt.js +37 -0
  383. package/node_modules/lodash/_baseRandom.js +18 -0
  384. package/node_modules/lodash/_baseRange.js +28 -0
  385. package/node_modules/lodash/_baseReduce.js +23 -0
  386. package/node_modules/lodash/_baseRepeat.js +35 -0
  387. package/node_modules/lodash/_baseRest.js +17 -0
  388. package/node_modules/lodash/_baseSample.js +15 -0
  389. package/node_modules/lodash/_baseSampleSize.js +18 -0
  390. package/node_modules/lodash/_baseSet.js +51 -0
  391. package/node_modules/lodash/_baseSetData.js +17 -0
  392. package/node_modules/lodash/_baseSetToString.js +22 -0
  393. package/node_modules/lodash/_baseShuffle.js +15 -0
  394. package/node_modules/lodash/_baseSlice.js +31 -0
  395. package/node_modules/lodash/_baseSome.js +22 -0
  396. package/node_modules/lodash/_baseSortBy.js +21 -0
  397. package/node_modules/lodash/_baseSortedIndex.js +42 -0
  398. package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  399. package/node_modules/lodash/_baseSortedUniq.js +30 -0
  400. package/node_modules/lodash/_baseSum.js +24 -0
  401. package/node_modules/lodash/_baseTimes.js +20 -0
  402. package/node_modules/lodash/_baseToNumber.js +24 -0
  403. package/node_modules/lodash/_baseToPairs.js +18 -0
  404. package/node_modules/lodash/_baseToString.js +37 -0
  405. package/node_modules/lodash/_baseTrim.js +19 -0
  406. package/node_modules/lodash/_baseUnary.js +14 -0
  407. package/node_modules/lodash/_baseUniq.js +72 -0
  408. package/node_modules/lodash/_baseUnset.js +20 -0
  409. package/node_modules/lodash/_baseUpdate.js +18 -0
  410. package/node_modules/lodash/_baseValues.js +19 -0
  411. package/node_modules/lodash/_baseWhile.js +26 -0
  412. package/node_modules/lodash/_baseWrapperValue.js +25 -0
  413. package/node_modules/lodash/_baseXor.js +36 -0
  414. package/node_modules/lodash/_baseZipObject.js +23 -0
  415. package/node_modules/lodash/_cacheHas.js +13 -0
  416. package/node_modules/lodash/_castArrayLikeObject.js +14 -0
  417. package/node_modules/lodash/_castFunction.js +14 -0
  418. package/node_modules/lodash/_castPath.js +21 -0
  419. package/node_modules/lodash/_castRest.js +14 -0
  420. package/node_modules/lodash/_castSlice.js +18 -0
  421. package/node_modules/lodash/_charsEndIndex.js +19 -0
  422. package/node_modules/lodash/_charsStartIndex.js +20 -0
  423. package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  424. package/node_modules/lodash/_cloneBuffer.js +35 -0
  425. package/node_modules/lodash/_cloneDataView.js +16 -0
  426. package/node_modules/lodash/_cloneRegExp.js +17 -0
  427. package/node_modules/lodash/_cloneSymbol.js +18 -0
  428. package/node_modules/lodash/_cloneTypedArray.js +16 -0
  429. package/node_modules/lodash/_compareAscending.js +41 -0
  430. package/node_modules/lodash/_compareMultiple.js +44 -0
  431. package/node_modules/lodash/_composeArgs.js +39 -0
  432. package/node_modules/lodash/_composeArgsRight.js +41 -0
  433. package/node_modules/lodash/_copyArray.js +20 -0
  434. package/node_modules/lodash/_copyObject.js +40 -0
  435. package/node_modules/lodash/_copySymbols.js +16 -0
  436. package/node_modules/lodash/_copySymbolsIn.js +16 -0
  437. package/node_modules/lodash/_coreJsData.js +6 -0
  438. package/node_modules/lodash/_countHolders.js +21 -0
  439. package/node_modules/lodash/_createAggregator.js +23 -0
  440. package/node_modules/lodash/_createAssigner.js +37 -0
  441. package/node_modules/lodash/_createBaseEach.js +32 -0
  442. package/node_modules/lodash/_createBaseFor.js +25 -0
  443. package/node_modules/lodash/_createBind.js +28 -0
  444. package/node_modules/lodash/_createCaseFirst.js +33 -0
  445. package/node_modules/lodash/_createCompounder.js +24 -0
  446. package/node_modules/lodash/_createCtor.js +37 -0
  447. package/node_modules/lodash/_createCurry.js +46 -0
  448. package/node_modules/lodash/_createFind.js +25 -0
  449. package/node_modules/lodash/_createFlow.js +78 -0
  450. package/node_modules/lodash/_createHybrid.js +92 -0
  451. package/node_modules/lodash/_createInverter.js +17 -0
  452. package/node_modules/lodash/_createMathOperation.js +38 -0
  453. package/node_modules/lodash/_createOver.js +27 -0
  454. package/node_modules/lodash/_createPadding.js +33 -0
  455. package/node_modules/lodash/_createPartial.js +43 -0
  456. package/node_modules/lodash/_createRange.js +30 -0
  457. package/node_modules/lodash/_createRecurry.js +56 -0
  458. package/node_modules/lodash/_createRelationalOperation.js +20 -0
  459. package/node_modules/lodash/_createRound.js +35 -0
  460. package/node_modules/lodash/_createSet.js +19 -0
  461. package/node_modules/lodash/_createToPairs.js +30 -0
  462. package/node_modules/lodash/_createWrap.js +106 -0
  463. package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  464. package/node_modules/lodash/_customDefaultsMerge.js +28 -0
  465. package/node_modules/lodash/_customOmitClone.js +16 -0
  466. package/node_modules/lodash/_deburrLetter.js +71 -0
  467. package/node_modules/lodash/_defineProperty.js +11 -0
  468. package/node_modules/lodash/_equalArrays.js +84 -0
  469. package/node_modules/lodash/_equalByTag.js +112 -0
  470. package/node_modules/lodash/_equalObjects.js +90 -0
  471. package/node_modules/lodash/_escapeHtmlChar.js +21 -0
  472. package/node_modules/lodash/_escapeStringChar.js +22 -0
  473. package/node_modules/lodash/_flatRest.js +16 -0
  474. package/node_modules/lodash/_freeGlobal.js +4 -0
  475. package/node_modules/lodash/_getAllKeys.js +16 -0
  476. package/node_modules/lodash/_getAllKeysIn.js +17 -0
  477. package/node_modules/lodash/_getData.js +15 -0
  478. package/node_modules/lodash/_getFuncName.js +31 -0
  479. package/node_modules/lodash/_getHolder.js +13 -0
  480. package/node_modules/lodash/_getMapData.js +18 -0
  481. package/node_modules/lodash/_getMatchData.js +24 -0
  482. package/node_modules/lodash/_getNative.js +17 -0
  483. package/node_modules/lodash/_getPrototype.js +6 -0
  484. package/node_modules/lodash/_getRawTag.js +46 -0
  485. package/node_modules/lodash/_getSymbols.js +30 -0
  486. package/node_modules/lodash/_getSymbolsIn.js +25 -0
  487. package/node_modules/lodash/_getTag.js +58 -0
  488. package/node_modules/lodash/_getValue.js +13 -0
  489. package/node_modules/lodash/_getView.js +33 -0
  490. package/node_modules/lodash/_getWrapDetails.js +17 -0
  491. package/node_modules/lodash/_hasPath.js +39 -0
  492. package/node_modules/lodash/_hasUnicode.js +26 -0
  493. package/node_modules/lodash/_hasUnicodeWord.js +15 -0
  494. package/node_modules/lodash/_hashClear.js +15 -0
  495. package/node_modules/lodash/_hashDelete.js +17 -0
  496. package/node_modules/lodash/_hashGet.js +30 -0
  497. package/node_modules/lodash/_hashHas.js +23 -0
  498. package/node_modules/lodash/_hashSet.js +23 -0
  499. package/node_modules/lodash/_initCloneArray.js +26 -0
  500. package/node_modules/lodash/_initCloneByTag.js +77 -0
  501. package/node_modules/lodash/_initCloneObject.js +18 -0
  502. package/node_modules/lodash/_insertWrapDetails.js +23 -0
  503. package/node_modules/lodash/_isFlattenable.js +20 -0
  504. package/node_modules/lodash/_isIndex.js +25 -0
  505. package/node_modules/lodash/_isIterateeCall.js +30 -0
  506. package/node_modules/lodash/_isKey.js +29 -0
  507. package/node_modules/lodash/_isKeyable.js +15 -0
  508. package/node_modules/lodash/_isLaziable.js +28 -0
  509. package/node_modules/lodash/_isMaskable.js +14 -0
  510. package/node_modules/lodash/_isMasked.js +20 -0
  511. package/node_modules/lodash/_isPrototype.js +18 -0
  512. package/node_modules/lodash/_isStrictComparable.js +15 -0
  513. package/node_modules/lodash/_iteratorToArray.js +18 -0
  514. package/node_modules/lodash/_lazyClone.js +23 -0
  515. package/node_modules/lodash/_lazyReverse.js +23 -0
  516. package/node_modules/lodash/_lazyValue.js +69 -0
  517. package/node_modules/lodash/_listCacheClear.js +13 -0
  518. package/node_modules/lodash/_listCacheDelete.js +35 -0
  519. package/node_modules/lodash/_listCacheGet.js +19 -0
  520. package/node_modules/lodash/_listCacheHas.js +16 -0
  521. package/node_modules/lodash/_listCacheSet.js +26 -0
  522. package/node_modules/lodash/_mapCacheClear.js +21 -0
  523. package/node_modules/lodash/_mapCacheDelete.js +18 -0
  524. package/node_modules/lodash/_mapCacheGet.js +16 -0
  525. package/node_modules/lodash/_mapCacheHas.js +16 -0
  526. package/node_modules/lodash/_mapCacheSet.js +22 -0
  527. package/node_modules/lodash/_mapToArray.js +18 -0
  528. package/node_modules/lodash/_matchesStrictComparable.js +20 -0
  529. package/node_modules/lodash/_memoizeCapped.js +26 -0
  530. package/node_modules/lodash/_mergeData.js +90 -0
  531. package/node_modules/lodash/_metaMap.js +6 -0
  532. package/node_modules/lodash/_nativeCreate.js +6 -0
  533. package/node_modules/lodash/_nativeKeys.js +6 -0
  534. package/node_modules/lodash/_nativeKeysIn.js +20 -0
  535. package/node_modules/lodash/_nodeUtil.js +30 -0
  536. package/node_modules/lodash/_objectToString.js +22 -0
  537. package/node_modules/lodash/_overArg.js +15 -0
  538. package/node_modules/lodash/_overRest.js +36 -0
  539. package/node_modules/lodash/_parent.js +16 -0
  540. package/node_modules/lodash/_reEscape.js +4 -0
  541. package/node_modules/lodash/_reEvaluate.js +4 -0
  542. package/node_modules/lodash/_reInterpolate.js +4 -0
  543. package/node_modules/lodash/_realNames.js +4 -0
  544. package/node_modules/lodash/_reorder.js +29 -0
  545. package/node_modules/lodash/_replaceHolders.js +29 -0
  546. package/node_modules/lodash/_root.js +9 -0
  547. package/node_modules/lodash/_safeGet.js +21 -0
  548. package/node_modules/lodash/_setCacheAdd.js +19 -0
  549. package/node_modules/lodash/_setCacheHas.js +14 -0
  550. package/node_modules/lodash/_setData.js +20 -0
  551. package/node_modules/lodash/_setToArray.js +18 -0
  552. package/node_modules/lodash/_setToPairs.js +18 -0
  553. package/node_modules/lodash/_setToString.js +14 -0
  554. package/node_modules/lodash/_setWrapToString.js +21 -0
  555. package/node_modules/lodash/_shortOut.js +37 -0
  556. package/node_modules/lodash/_shuffleSelf.js +28 -0
  557. package/node_modules/lodash/_stackClear.js +15 -0
  558. package/node_modules/lodash/_stackDelete.js +18 -0
  559. package/node_modules/lodash/_stackGet.js +14 -0
  560. package/node_modules/lodash/_stackHas.js +14 -0
  561. package/node_modules/lodash/_stackSet.js +34 -0
  562. package/node_modules/lodash/_strictIndexOf.js +23 -0
  563. package/node_modules/lodash/_strictLastIndexOf.js +21 -0
  564. package/node_modules/lodash/_stringSize.js +18 -0
  565. package/node_modules/lodash/_stringToArray.js +18 -0
  566. package/node_modules/lodash/_stringToPath.js +27 -0
  567. package/node_modules/lodash/_toKey.js +21 -0
  568. package/node_modules/lodash/_toSource.js +26 -0
  569. package/node_modules/lodash/_trimmedEndIndex.js +19 -0
  570. package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  571. package/node_modules/lodash/_unicodeSize.js +44 -0
  572. package/node_modules/lodash/_unicodeToArray.js +40 -0
  573. package/node_modules/lodash/_unicodeWords.js +69 -0
  574. package/node_modules/lodash/_updateWrapDetails.js +46 -0
  575. package/node_modules/lodash/_wrapperClone.js +23 -0
  576. package/node_modules/lodash/add.js +22 -0
  577. package/node_modules/lodash/after.js +42 -0
  578. package/node_modules/lodash/array.js +67 -0
  579. package/node_modules/lodash/ary.js +29 -0
  580. package/node_modules/lodash/assign.js +58 -0
  581. package/node_modules/lodash/assignIn.js +40 -0
  582. package/node_modules/lodash/assignInWith.js +38 -0
  583. package/node_modules/lodash/assignWith.js +37 -0
  584. package/node_modules/lodash/at.js +23 -0
  585. package/node_modules/lodash/attempt.js +35 -0
  586. package/node_modules/lodash/before.js +40 -0
  587. package/node_modules/lodash/bind.js +57 -0
  588. package/node_modules/lodash/bindAll.js +41 -0
  589. package/node_modules/lodash/bindKey.js +68 -0
  590. package/node_modules/lodash/camelCase.js +29 -0
  591. package/node_modules/lodash/capitalize.js +23 -0
  592. package/node_modules/lodash/castArray.js +44 -0
  593. package/node_modules/lodash/ceil.js +26 -0
  594. package/node_modules/lodash/chain.js +38 -0
  595. package/node_modules/lodash/chunk.js +50 -0
  596. package/node_modules/lodash/clamp.js +39 -0
  597. package/node_modules/lodash/clone.js +36 -0
  598. package/node_modules/lodash/cloneDeep.js +29 -0
  599. package/node_modules/lodash/cloneDeepWith.js +40 -0
  600. package/node_modules/lodash/cloneWith.js +42 -0
  601. package/node_modules/lodash/collection.js +30 -0
  602. package/node_modules/lodash/commit.js +33 -0
  603. package/node_modules/lodash/compact.js +31 -0
  604. package/node_modules/lodash/concat.js +43 -0
  605. package/node_modules/lodash/cond.js +60 -0
  606. package/node_modules/lodash/conforms.js +35 -0
  607. package/node_modules/lodash/conformsTo.js +32 -0
  608. package/node_modules/lodash/constant.js +26 -0
  609. package/node_modules/lodash/core.js +3877 -0
  610. package/node_modules/lodash/core.min.js +29 -0
  611. package/node_modules/lodash/countBy.js +40 -0
  612. package/node_modules/lodash/create.js +43 -0
  613. package/node_modules/lodash/curry.js +57 -0
  614. package/node_modules/lodash/curryRight.js +54 -0
  615. package/node_modules/lodash/date.js +3 -0
  616. package/node_modules/lodash/debounce.js +191 -0
  617. package/node_modules/lodash/deburr.js +45 -0
  618. package/node_modules/lodash/defaultTo.js +25 -0
  619. package/node_modules/lodash/defaults.js +64 -0
  620. package/node_modules/lodash/defaultsDeep.js +30 -0
  621. package/node_modules/lodash/defer.js +26 -0
  622. package/node_modules/lodash/delay.js +28 -0
  623. package/node_modules/lodash/difference.js +33 -0
  624. package/node_modules/lodash/differenceBy.js +44 -0
  625. package/node_modules/lodash/differenceWith.js +40 -0
  626. package/node_modules/lodash/divide.js +22 -0
  627. package/node_modules/lodash/drop.js +38 -0
  628. package/node_modules/lodash/dropRight.js +39 -0
  629. package/node_modules/lodash/dropRightWhile.js +45 -0
  630. package/node_modules/lodash/dropWhile.js +45 -0
  631. package/node_modules/lodash/each.js +1 -0
  632. package/node_modules/lodash/eachRight.js +1 -0
  633. package/node_modules/lodash/endsWith.js +43 -0
  634. package/node_modules/lodash/entries.js +1 -0
  635. package/node_modules/lodash/entriesIn.js +1 -0
  636. package/node_modules/lodash/eq.js +37 -0
  637. package/node_modules/lodash/escape.js +43 -0
  638. package/node_modules/lodash/escapeRegExp.js +32 -0
  639. package/node_modules/lodash/every.js +56 -0
  640. package/node_modules/lodash/extend.js +1 -0
  641. package/node_modules/lodash/extendWith.js +1 -0
  642. package/node_modules/lodash/fill.js +45 -0
  643. package/node_modules/lodash/filter.js +52 -0
  644. package/node_modules/lodash/find.js +42 -0
  645. package/node_modules/lodash/findIndex.js +55 -0
  646. package/node_modules/lodash/findKey.js +44 -0
  647. package/node_modules/lodash/findLast.js +25 -0
  648. package/node_modules/lodash/findLastIndex.js +59 -0
  649. package/node_modules/lodash/findLastKey.js +44 -0
  650. package/node_modules/lodash/first.js +1 -0
  651. package/node_modules/lodash/flake.lock +40 -0
  652. package/node_modules/lodash/flake.nix +20 -0
  653. package/node_modules/lodash/flatMap.js +29 -0
  654. package/node_modules/lodash/flatMapDeep.js +31 -0
  655. package/node_modules/lodash/flatMapDepth.js +31 -0
  656. package/node_modules/lodash/flatten.js +22 -0
  657. package/node_modules/lodash/flattenDeep.js +25 -0
  658. package/node_modules/lodash/flattenDepth.js +33 -0
  659. package/node_modules/lodash/flip.js +28 -0
  660. package/node_modules/lodash/floor.js +26 -0
  661. package/node_modules/lodash/flow.js +27 -0
  662. package/node_modules/lodash/flowRight.js +26 -0
  663. package/node_modules/lodash/forEach.js +41 -0
  664. package/node_modules/lodash/forEachRight.js +31 -0
  665. package/node_modules/lodash/forIn.js +39 -0
  666. package/node_modules/lodash/forInRight.js +37 -0
  667. package/node_modules/lodash/forOwn.js +36 -0
  668. package/node_modules/lodash/forOwnRight.js +34 -0
  669. package/node_modules/lodash/fp/F.js +1 -0
  670. package/node_modules/lodash/fp/T.js +1 -0
  671. package/node_modules/lodash/fp/__.js +1 -0
  672. package/node_modules/lodash/fp/_baseConvert.js +569 -0
  673. package/node_modules/lodash/fp/_convertBrowser.js +18 -0
  674. package/node_modules/lodash/fp/_falseOptions.js +7 -0
  675. package/node_modules/lodash/fp/_mapping.js +358 -0
  676. package/node_modules/lodash/fp/_util.js +16 -0
  677. package/node_modules/lodash/fp/add.js +5 -0
  678. package/node_modules/lodash/fp/after.js +5 -0
  679. package/node_modules/lodash/fp/all.js +1 -0
  680. package/node_modules/lodash/fp/allPass.js +1 -0
  681. package/node_modules/lodash/fp/always.js +1 -0
  682. package/node_modules/lodash/fp/any.js +1 -0
  683. package/node_modules/lodash/fp/anyPass.js +1 -0
  684. package/node_modules/lodash/fp/apply.js +1 -0
  685. package/node_modules/lodash/fp/array.js +2 -0
  686. package/node_modules/lodash/fp/ary.js +5 -0
  687. package/node_modules/lodash/fp/assign.js +5 -0
  688. package/node_modules/lodash/fp/assignAll.js +5 -0
  689. package/node_modules/lodash/fp/assignAllWith.js +5 -0
  690. package/node_modules/lodash/fp/assignIn.js +5 -0
  691. package/node_modules/lodash/fp/assignInAll.js +5 -0
  692. package/node_modules/lodash/fp/assignInAllWith.js +5 -0
  693. package/node_modules/lodash/fp/assignInWith.js +5 -0
  694. package/node_modules/lodash/fp/assignWith.js +5 -0
  695. package/node_modules/lodash/fp/assoc.js +1 -0
  696. package/node_modules/lodash/fp/assocPath.js +1 -0
  697. package/node_modules/lodash/fp/at.js +5 -0
  698. package/node_modules/lodash/fp/attempt.js +5 -0
  699. package/node_modules/lodash/fp/before.js +5 -0
  700. package/node_modules/lodash/fp/bind.js +5 -0
  701. package/node_modules/lodash/fp/bindAll.js +5 -0
  702. package/node_modules/lodash/fp/bindKey.js +5 -0
  703. package/node_modules/lodash/fp/camelCase.js +5 -0
  704. package/node_modules/lodash/fp/capitalize.js +5 -0
  705. package/node_modules/lodash/fp/castArray.js +5 -0
  706. package/node_modules/lodash/fp/ceil.js +5 -0
  707. package/node_modules/lodash/fp/chain.js +5 -0
  708. package/node_modules/lodash/fp/chunk.js +5 -0
  709. package/node_modules/lodash/fp/clamp.js +5 -0
  710. package/node_modules/lodash/fp/clone.js +5 -0
  711. package/node_modules/lodash/fp/cloneDeep.js +5 -0
  712. package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  713. package/node_modules/lodash/fp/cloneWith.js +5 -0
  714. package/node_modules/lodash/fp/collection.js +2 -0
  715. package/node_modules/lodash/fp/commit.js +5 -0
  716. package/node_modules/lodash/fp/compact.js +5 -0
  717. package/node_modules/lodash/fp/complement.js +1 -0
  718. package/node_modules/lodash/fp/compose.js +1 -0
  719. package/node_modules/lodash/fp/concat.js +5 -0
  720. package/node_modules/lodash/fp/cond.js +5 -0
  721. package/node_modules/lodash/fp/conforms.js +1 -0
  722. package/node_modules/lodash/fp/conformsTo.js +5 -0
  723. package/node_modules/lodash/fp/constant.js +5 -0
  724. package/node_modules/lodash/fp/contains.js +1 -0
  725. package/node_modules/lodash/fp/convert.js +18 -0
  726. package/node_modules/lodash/fp/countBy.js +5 -0
  727. package/node_modules/lodash/fp/create.js +5 -0
  728. package/node_modules/lodash/fp/curry.js +5 -0
  729. package/node_modules/lodash/fp/curryN.js +5 -0
  730. package/node_modules/lodash/fp/curryRight.js +5 -0
  731. package/node_modules/lodash/fp/curryRightN.js +5 -0
  732. package/node_modules/lodash/fp/date.js +2 -0
  733. package/node_modules/lodash/fp/debounce.js +5 -0
  734. package/node_modules/lodash/fp/deburr.js +5 -0
  735. package/node_modules/lodash/fp/defaultTo.js +5 -0
  736. package/node_modules/lodash/fp/defaults.js +5 -0
  737. package/node_modules/lodash/fp/defaultsAll.js +5 -0
  738. package/node_modules/lodash/fp/defaultsDeep.js +5 -0
  739. package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  740. package/node_modules/lodash/fp/defer.js +5 -0
  741. package/node_modules/lodash/fp/delay.js +5 -0
  742. package/node_modules/lodash/fp/difference.js +5 -0
  743. package/node_modules/lodash/fp/differenceBy.js +5 -0
  744. package/node_modules/lodash/fp/differenceWith.js +5 -0
  745. package/node_modules/lodash/fp/dissoc.js +1 -0
  746. package/node_modules/lodash/fp/dissocPath.js +1 -0
  747. package/node_modules/lodash/fp/divide.js +5 -0
  748. package/node_modules/lodash/fp/drop.js +5 -0
  749. package/node_modules/lodash/fp/dropLast.js +1 -0
  750. package/node_modules/lodash/fp/dropLastWhile.js +1 -0
  751. package/node_modules/lodash/fp/dropRight.js +5 -0
  752. package/node_modules/lodash/fp/dropRightWhile.js +5 -0
  753. package/node_modules/lodash/fp/dropWhile.js +5 -0
  754. package/node_modules/lodash/fp/each.js +1 -0
  755. package/node_modules/lodash/fp/eachRight.js +1 -0
  756. package/node_modules/lodash/fp/endsWith.js +5 -0
  757. package/node_modules/lodash/fp/entries.js +1 -0
  758. package/node_modules/lodash/fp/entriesIn.js +1 -0
  759. package/node_modules/lodash/fp/eq.js +5 -0
  760. package/node_modules/lodash/fp/equals.js +1 -0
  761. package/node_modules/lodash/fp/escape.js +5 -0
  762. package/node_modules/lodash/fp/escapeRegExp.js +5 -0
  763. package/node_modules/lodash/fp/every.js +5 -0
  764. package/node_modules/lodash/fp/extend.js +1 -0
  765. package/node_modules/lodash/fp/extendAll.js +1 -0
  766. package/node_modules/lodash/fp/extendAllWith.js +1 -0
  767. package/node_modules/lodash/fp/extendWith.js +1 -0
  768. package/node_modules/lodash/fp/fill.js +5 -0
  769. package/node_modules/lodash/fp/filter.js +5 -0
  770. package/node_modules/lodash/fp/find.js +5 -0
  771. package/node_modules/lodash/fp/findFrom.js +5 -0
  772. package/node_modules/lodash/fp/findIndex.js +5 -0
  773. package/node_modules/lodash/fp/findIndexFrom.js +5 -0
  774. package/node_modules/lodash/fp/findKey.js +5 -0
  775. package/node_modules/lodash/fp/findLast.js +5 -0
  776. package/node_modules/lodash/fp/findLastFrom.js +5 -0
  777. package/node_modules/lodash/fp/findLastIndex.js +5 -0
  778. package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  779. package/node_modules/lodash/fp/findLastKey.js +5 -0
  780. package/node_modules/lodash/fp/first.js +1 -0
  781. package/node_modules/lodash/fp/flatMap.js +5 -0
  782. package/node_modules/lodash/fp/flatMapDeep.js +5 -0
  783. package/node_modules/lodash/fp/flatMapDepth.js +5 -0
  784. package/node_modules/lodash/fp/flatten.js +5 -0
  785. package/node_modules/lodash/fp/flattenDeep.js +5 -0
  786. package/node_modules/lodash/fp/flattenDepth.js +5 -0
  787. package/node_modules/lodash/fp/flip.js +5 -0
  788. package/node_modules/lodash/fp/floor.js +5 -0
  789. package/node_modules/lodash/fp/flow.js +5 -0
  790. package/node_modules/lodash/fp/flowRight.js +5 -0
  791. package/node_modules/lodash/fp/forEach.js +5 -0
  792. package/node_modules/lodash/fp/forEachRight.js +5 -0
  793. package/node_modules/lodash/fp/forIn.js +5 -0
  794. package/node_modules/lodash/fp/forInRight.js +5 -0
  795. package/node_modules/lodash/fp/forOwn.js +5 -0
  796. package/node_modules/lodash/fp/forOwnRight.js +5 -0
  797. package/node_modules/lodash/fp/fromPairs.js +5 -0
  798. package/node_modules/lodash/fp/function.js +2 -0
  799. package/node_modules/lodash/fp/functions.js +5 -0
  800. package/node_modules/lodash/fp/functionsIn.js +5 -0
  801. package/node_modules/lodash/fp/get.js +5 -0
  802. package/node_modules/lodash/fp/getOr.js +5 -0
  803. package/node_modules/lodash/fp/groupBy.js +5 -0
  804. package/node_modules/lodash/fp/gt.js +5 -0
  805. package/node_modules/lodash/fp/gte.js +5 -0
  806. package/node_modules/lodash/fp/has.js +5 -0
  807. package/node_modules/lodash/fp/hasIn.js +5 -0
  808. package/node_modules/lodash/fp/head.js +5 -0
  809. package/node_modules/lodash/fp/identical.js +1 -0
  810. package/node_modules/lodash/fp/identity.js +5 -0
  811. package/node_modules/lodash/fp/inRange.js +5 -0
  812. package/node_modules/lodash/fp/includes.js +5 -0
  813. package/node_modules/lodash/fp/includesFrom.js +5 -0
  814. package/node_modules/lodash/fp/indexBy.js +1 -0
  815. package/node_modules/lodash/fp/indexOf.js +5 -0
  816. package/node_modules/lodash/fp/indexOfFrom.js +5 -0
  817. package/node_modules/lodash/fp/init.js +1 -0
  818. package/node_modules/lodash/fp/initial.js +5 -0
  819. package/node_modules/lodash/fp/intersection.js +5 -0
  820. package/node_modules/lodash/fp/intersectionBy.js +5 -0
  821. package/node_modules/lodash/fp/intersectionWith.js +5 -0
  822. package/node_modules/lodash/fp/invert.js +5 -0
  823. package/node_modules/lodash/fp/invertBy.js +5 -0
  824. package/node_modules/lodash/fp/invertObj.js +1 -0
  825. package/node_modules/lodash/fp/invoke.js +5 -0
  826. package/node_modules/lodash/fp/invokeArgs.js +5 -0
  827. package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  828. package/node_modules/lodash/fp/invokeMap.js +5 -0
  829. package/node_modules/lodash/fp/isArguments.js +5 -0
  830. package/node_modules/lodash/fp/isArray.js +5 -0
  831. package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  832. package/node_modules/lodash/fp/isArrayLike.js +5 -0
  833. package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  834. package/node_modules/lodash/fp/isBoolean.js +5 -0
  835. package/node_modules/lodash/fp/isBuffer.js +5 -0
  836. package/node_modules/lodash/fp/isDate.js +5 -0
  837. package/node_modules/lodash/fp/isElement.js +5 -0
  838. package/node_modules/lodash/fp/isEmpty.js +5 -0
  839. package/node_modules/lodash/fp/isEqual.js +5 -0
  840. package/node_modules/lodash/fp/isEqualWith.js +5 -0
  841. package/node_modules/lodash/fp/isError.js +5 -0
  842. package/node_modules/lodash/fp/isFinite.js +5 -0
  843. package/node_modules/lodash/fp/isFunction.js +5 -0
  844. package/node_modules/lodash/fp/isInteger.js +5 -0
  845. package/node_modules/lodash/fp/isLength.js +5 -0
  846. package/node_modules/lodash/fp/isMap.js +5 -0
  847. package/node_modules/lodash/fp/isMatch.js +5 -0
  848. package/node_modules/lodash/fp/isMatchWith.js +5 -0
  849. package/node_modules/lodash/fp/isNaN.js +5 -0
  850. package/node_modules/lodash/fp/isNative.js +5 -0
  851. package/node_modules/lodash/fp/isNil.js +5 -0
  852. package/node_modules/lodash/fp/isNull.js +5 -0
  853. package/node_modules/lodash/fp/isNumber.js +5 -0
  854. package/node_modules/lodash/fp/isObject.js +5 -0
  855. package/node_modules/lodash/fp/isObjectLike.js +5 -0
  856. package/node_modules/lodash/fp/isPlainObject.js +5 -0
  857. package/node_modules/lodash/fp/isRegExp.js +5 -0
  858. package/node_modules/lodash/fp/isSafeInteger.js +5 -0
  859. package/node_modules/lodash/fp/isSet.js +5 -0
  860. package/node_modules/lodash/fp/isString.js +5 -0
  861. package/node_modules/lodash/fp/isSymbol.js +5 -0
  862. package/node_modules/lodash/fp/isTypedArray.js +5 -0
  863. package/node_modules/lodash/fp/isUndefined.js +5 -0
  864. package/node_modules/lodash/fp/isWeakMap.js +5 -0
  865. package/node_modules/lodash/fp/isWeakSet.js +5 -0
  866. package/node_modules/lodash/fp/iteratee.js +5 -0
  867. package/node_modules/lodash/fp/join.js +5 -0
  868. package/node_modules/lodash/fp/juxt.js +1 -0
  869. package/node_modules/lodash/fp/kebabCase.js +5 -0
  870. package/node_modules/lodash/fp/keyBy.js +5 -0
  871. package/node_modules/lodash/fp/keys.js +5 -0
  872. package/node_modules/lodash/fp/keysIn.js +5 -0
  873. package/node_modules/lodash/fp/lang.js +2 -0
  874. package/node_modules/lodash/fp/last.js +5 -0
  875. package/node_modules/lodash/fp/lastIndexOf.js +5 -0
  876. package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  877. package/node_modules/lodash/fp/lowerCase.js +5 -0
  878. package/node_modules/lodash/fp/lowerFirst.js +5 -0
  879. package/node_modules/lodash/fp/lt.js +5 -0
  880. package/node_modules/lodash/fp/lte.js +5 -0
  881. package/node_modules/lodash/fp/map.js +5 -0
  882. package/node_modules/lodash/fp/mapKeys.js +5 -0
  883. package/node_modules/lodash/fp/mapValues.js +5 -0
  884. package/node_modules/lodash/fp/matches.js +1 -0
  885. package/node_modules/lodash/fp/matchesProperty.js +5 -0
  886. package/node_modules/lodash/fp/math.js +2 -0
  887. package/node_modules/lodash/fp/max.js +5 -0
  888. package/node_modules/lodash/fp/maxBy.js +5 -0
  889. package/node_modules/lodash/fp/mean.js +5 -0
  890. package/node_modules/lodash/fp/meanBy.js +5 -0
  891. package/node_modules/lodash/fp/memoize.js +5 -0
  892. package/node_modules/lodash/fp/merge.js +5 -0
  893. package/node_modules/lodash/fp/mergeAll.js +5 -0
  894. package/node_modules/lodash/fp/mergeAllWith.js +5 -0
  895. package/node_modules/lodash/fp/mergeWith.js +5 -0
  896. package/node_modules/lodash/fp/method.js +5 -0
  897. package/node_modules/lodash/fp/methodOf.js +5 -0
  898. package/node_modules/lodash/fp/min.js +5 -0
  899. package/node_modules/lodash/fp/minBy.js +5 -0
  900. package/node_modules/lodash/fp/mixin.js +5 -0
  901. package/node_modules/lodash/fp/multiply.js +5 -0
  902. package/node_modules/lodash/fp/nAry.js +1 -0
  903. package/node_modules/lodash/fp/negate.js +5 -0
  904. package/node_modules/lodash/fp/next.js +5 -0
  905. package/node_modules/lodash/fp/noop.js +5 -0
  906. package/node_modules/lodash/fp/now.js +5 -0
  907. package/node_modules/lodash/fp/nth.js +5 -0
  908. package/node_modules/lodash/fp/nthArg.js +5 -0
  909. package/node_modules/lodash/fp/number.js +2 -0
  910. package/node_modules/lodash/fp/object.js +2 -0
  911. package/node_modules/lodash/fp/omit.js +5 -0
  912. package/node_modules/lodash/fp/omitAll.js +1 -0
  913. package/node_modules/lodash/fp/omitBy.js +5 -0
  914. package/node_modules/lodash/fp/once.js +5 -0
  915. package/node_modules/lodash/fp/orderBy.js +5 -0
  916. package/node_modules/lodash/fp/over.js +5 -0
  917. package/node_modules/lodash/fp/overArgs.js +5 -0
  918. package/node_modules/lodash/fp/overEvery.js +5 -0
  919. package/node_modules/lodash/fp/overSome.js +5 -0
  920. package/node_modules/lodash/fp/pad.js +5 -0
  921. package/node_modules/lodash/fp/padChars.js +5 -0
  922. package/node_modules/lodash/fp/padCharsEnd.js +5 -0
  923. package/node_modules/lodash/fp/padCharsStart.js +5 -0
  924. package/node_modules/lodash/fp/padEnd.js +5 -0
  925. package/node_modules/lodash/fp/padStart.js +5 -0
  926. package/node_modules/lodash/fp/parseInt.js +5 -0
  927. package/node_modules/lodash/fp/partial.js +5 -0
  928. package/node_modules/lodash/fp/partialRight.js +5 -0
  929. package/node_modules/lodash/fp/partition.js +5 -0
  930. package/node_modules/lodash/fp/path.js +1 -0
  931. package/node_modules/lodash/fp/pathEq.js +1 -0
  932. package/node_modules/lodash/fp/pathOr.js +1 -0
  933. package/node_modules/lodash/fp/paths.js +1 -0
  934. package/node_modules/lodash/fp/pick.js +5 -0
  935. package/node_modules/lodash/fp/pickAll.js +1 -0
  936. package/node_modules/lodash/fp/pickBy.js +5 -0
  937. package/node_modules/lodash/fp/pipe.js +1 -0
  938. package/node_modules/lodash/fp/placeholder.js +6 -0
  939. package/node_modules/lodash/fp/plant.js +5 -0
  940. package/node_modules/lodash/fp/pluck.js +1 -0
  941. package/node_modules/lodash/fp/prop.js +1 -0
  942. package/node_modules/lodash/fp/propEq.js +1 -0
  943. package/node_modules/lodash/fp/propOr.js +1 -0
  944. package/node_modules/lodash/fp/property.js +1 -0
  945. package/node_modules/lodash/fp/propertyOf.js +5 -0
  946. package/node_modules/lodash/fp/props.js +1 -0
  947. package/node_modules/lodash/fp/pull.js +5 -0
  948. package/node_modules/lodash/fp/pullAll.js +5 -0
  949. package/node_modules/lodash/fp/pullAllBy.js +5 -0
  950. package/node_modules/lodash/fp/pullAllWith.js +5 -0
  951. package/node_modules/lodash/fp/pullAt.js +5 -0
  952. package/node_modules/lodash/fp/random.js +5 -0
  953. package/node_modules/lodash/fp/range.js +5 -0
  954. package/node_modules/lodash/fp/rangeRight.js +5 -0
  955. package/node_modules/lodash/fp/rangeStep.js +5 -0
  956. package/node_modules/lodash/fp/rangeStepRight.js +5 -0
  957. package/node_modules/lodash/fp/rearg.js +5 -0
  958. package/node_modules/lodash/fp/reduce.js +5 -0
  959. package/node_modules/lodash/fp/reduceRight.js +5 -0
  960. package/node_modules/lodash/fp/reject.js +5 -0
  961. package/node_modules/lodash/fp/remove.js +5 -0
  962. package/node_modules/lodash/fp/repeat.js +5 -0
  963. package/node_modules/lodash/fp/replace.js +5 -0
  964. package/node_modules/lodash/fp/rest.js +5 -0
  965. package/node_modules/lodash/fp/restFrom.js +5 -0
  966. package/node_modules/lodash/fp/result.js +5 -0
  967. package/node_modules/lodash/fp/reverse.js +5 -0
  968. package/node_modules/lodash/fp/round.js +5 -0
  969. package/node_modules/lodash/fp/sample.js +5 -0
  970. package/node_modules/lodash/fp/sampleSize.js +5 -0
  971. package/node_modules/lodash/fp/seq.js +2 -0
  972. package/node_modules/lodash/fp/set.js +5 -0
  973. package/node_modules/lodash/fp/setWith.js +5 -0
  974. package/node_modules/lodash/fp/shuffle.js +5 -0
  975. package/node_modules/lodash/fp/size.js +5 -0
  976. package/node_modules/lodash/fp/slice.js +5 -0
  977. package/node_modules/lodash/fp/snakeCase.js +5 -0
  978. package/node_modules/lodash/fp/some.js +5 -0
  979. package/node_modules/lodash/fp/sortBy.js +5 -0
  980. package/node_modules/lodash/fp/sortedIndex.js +5 -0
  981. package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  982. package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  983. package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  984. package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  985. package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  986. package/node_modules/lodash/fp/sortedUniq.js +5 -0
  987. package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  988. package/node_modules/lodash/fp/split.js +5 -0
  989. package/node_modules/lodash/fp/spread.js +5 -0
  990. package/node_modules/lodash/fp/spreadFrom.js +5 -0
  991. package/node_modules/lodash/fp/startCase.js +5 -0
  992. package/node_modules/lodash/fp/startsWith.js +5 -0
  993. package/node_modules/lodash/fp/string.js +2 -0
  994. package/node_modules/lodash/fp/stubArray.js +5 -0
  995. package/node_modules/lodash/fp/stubFalse.js +5 -0
  996. package/node_modules/lodash/fp/stubObject.js +5 -0
  997. package/node_modules/lodash/fp/stubString.js +5 -0
  998. package/node_modules/lodash/fp/stubTrue.js +5 -0
  999. package/node_modules/lodash/fp/subtract.js +5 -0
  1000. package/node_modules/lodash/fp/sum.js +5 -0
  1001. package/node_modules/lodash/fp/sumBy.js +5 -0
  1002. package/node_modules/lodash/fp/symmetricDifference.js +1 -0
  1003. package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  1004. package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  1005. package/node_modules/lodash/fp/tail.js +5 -0
  1006. package/node_modules/lodash/fp/take.js +5 -0
  1007. package/node_modules/lodash/fp/takeLast.js +1 -0
  1008. package/node_modules/lodash/fp/takeLastWhile.js +1 -0
  1009. package/node_modules/lodash/fp/takeRight.js +5 -0
  1010. package/node_modules/lodash/fp/takeRightWhile.js +5 -0
  1011. package/node_modules/lodash/fp/takeWhile.js +5 -0
  1012. package/node_modules/lodash/fp/tap.js +5 -0
  1013. package/node_modules/lodash/fp/template.js +5 -0
  1014. package/node_modules/lodash/fp/templateSettings.js +5 -0
  1015. package/node_modules/lodash/fp/throttle.js +5 -0
  1016. package/node_modules/lodash/fp/thru.js +5 -0
  1017. package/node_modules/lodash/fp/times.js +5 -0
  1018. package/node_modules/lodash/fp/toArray.js +5 -0
  1019. package/node_modules/lodash/fp/toFinite.js +5 -0
  1020. package/node_modules/lodash/fp/toInteger.js +5 -0
  1021. package/node_modules/lodash/fp/toIterator.js +5 -0
  1022. package/node_modules/lodash/fp/toJSON.js +5 -0
  1023. package/node_modules/lodash/fp/toLength.js +5 -0
  1024. package/node_modules/lodash/fp/toLower.js +5 -0
  1025. package/node_modules/lodash/fp/toNumber.js +5 -0
  1026. package/node_modules/lodash/fp/toPairs.js +5 -0
  1027. package/node_modules/lodash/fp/toPairsIn.js +5 -0
  1028. package/node_modules/lodash/fp/toPath.js +5 -0
  1029. package/node_modules/lodash/fp/toPlainObject.js +5 -0
  1030. package/node_modules/lodash/fp/toSafeInteger.js +5 -0
  1031. package/node_modules/lodash/fp/toString.js +5 -0
  1032. package/node_modules/lodash/fp/toUpper.js +5 -0
  1033. package/node_modules/lodash/fp/transform.js +5 -0
  1034. package/node_modules/lodash/fp/trim.js +5 -0
  1035. package/node_modules/lodash/fp/trimChars.js +5 -0
  1036. package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  1037. package/node_modules/lodash/fp/trimCharsStart.js +5 -0
  1038. package/node_modules/lodash/fp/trimEnd.js +5 -0
  1039. package/node_modules/lodash/fp/trimStart.js +5 -0
  1040. package/node_modules/lodash/fp/truncate.js +5 -0
  1041. package/node_modules/lodash/fp/unapply.js +1 -0
  1042. package/node_modules/lodash/fp/unary.js +5 -0
  1043. package/node_modules/lodash/fp/unescape.js +5 -0
  1044. package/node_modules/lodash/fp/union.js +5 -0
  1045. package/node_modules/lodash/fp/unionBy.js +5 -0
  1046. package/node_modules/lodash/fp/unionWith.js +5 -0
  1047. package/node_modules/lodash/fp/uniq.js +5 -0
  1048. package/node_modules/lodash/fp/uniqBy.js +5 -0
  1049. package/node_modules/lodash/fp/uniqWith.js +5 -0
  1050. package/node_modules/lodash/fp/uniqueId.js +5 -0
  1051. package/node_modules/lodash/fp/unnest.js +1 -0
  1052. package/node_modules/lodash/fp/unset.js +5 -0
  1053. package/node_modules/lodash/fp/unzip.js +5 -0
  1054. package/node_modules/lodash/fp/unzipWith.js +5 -0
  1055. package/node_modules/lodash/fp/update.js +5 -0
  1056. package/node_modules/lodash/fp/updateWith.js +5 -0
  1057. package/node_modules/lodash/fp/upperCase.js +5 -0
  1058. package/node_modules/lodash/fp/upperFirst.js +5 -0
  1059. package/node_modules/lodash/fp/useWith.js +1 -0
  1060. package/node_modules/lodash/fp/util.js +2 -0
  1061. package/node_modules/lodash/fp/value.js +5 -0
  1062. package/node_modules/lodash/fp/valueOf.js +5 -0
  1063. package/node_modules/lodash/fp/values.js +5 -0
  1064. package/node_modules/lodash/fp/valuesIn.js +5 -0
  1065. package/node_modules/lodash/fp/where.js +1 -0
  1066. package/node_modules/lodash/fp/whereEq.js +1 -0
  1067. package/node_modules/lodash/fp/without.js +5 -0
  1068. package/node_modules/lodash/fp/words.js +5 -0
  1069. package/node_modules/lodash/fp/wrap.js +5 -0
  1070. package/node_modules/lodash/fp/wrapperAt.js +5 -0
  1071. package/node_modules/lodash/fp/wrapperChain.js +5 -0
  1072. package/node_modules/lodash/fp/wrapperLodash.js +5 -0
  1073. package/node_modules/lodash/fp/wrapperReverse.js +5 -0
  1074. package/node_modules/lodash/fp/wrapperValue.js +5 -0
  1075. package/node_modules/lodash/fp/xor.js +5 -0
  1076. package/node_modules/lodash/fp/xorBy.js +5 -0
  1077. package/node_modules/lodash/fp/xorWith.js +5 -0
  1078. package/node_modules/lodash/fp/zip.js +5 -0
  1079. package/node_modules/lodash/fp/zipAll.js +5 -0
  1080. package/node_modules/lodash/fp/zipObj.js +1 -0
  1081. package/node_modules/lodash/fp/zipObject.js +5 -0
  1082. package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  1083. package/node_modules/lodash/fp/zipWith.js +5 -0
  1084. package/node_modules/lodash/fp.js +2 -0
  1085. package/node_modules/lodash/fromPairs.js +28 -0
  1086. package/node_modules/lodash/function.js +25 -0
  1087. package/node_modules/lodash/functions.js +31 -0
  1088. package/node_modules/lodash/functionsIn.js +31 -0
  1089. package/node_modules/lodash/get.js +33 -0
  1090. package/node_modules/lodash/groupBy.js +41 -0
  1091. package/node_modules/lodash/gt.js +29 -0
  1092. package/node_modules/lodash/gte.js +30 -0
  1093. package/node_modules/lodash/has.js +35 -0
  1094. package/node_modules/lodash/hasIn.js +34 -0
  1095. package/node_modules/lodash/head.js +23 -0
  1096. package/node_modules/lodash/identity.js +21 -0
  1097. package/node_modules/lodash/inRange.js +55 -0
  1098. package/node_modules/lodash/includes.js +53 -0
  1099. package/node_modules/lodash/index.js +1 -0
  1100. package/node_modules/lodash/indexOf.js +42 -0
  1101. package/node_modules/lodash/initial.js +22 -0
  1102. package/node_modules/lodash/intersection.js +30 -0
  1103. package/node_modules/lodash/intersectionBy.js +45 -0
  1104. package/node_modules/lodash/intersectionWith.js +41 -0
  1105. package/node_modules/lodash/invert.js +42 -0
  1106. package/node_modules/lodash/invertBy.js +56 -0
  1107. package/node_modules/lodash/invoke.js +24 -0
  1108. package/node_modules/lodash/invokeMap.js +41 -0
  1109. package/node_modules/lodash/isArguments.js +36 -0
  1110. package/node_modules/lodash/isArray.js +26 -0
  1111. package/node_modules/lodash/isArrayBuffer.js +27 -0
  1112. package/node_modules/lodash/isArrayLike.js +33 -0
  1113. package/node_modules/lodash/isArrayLikeObject.js +33 -0
  1114. package/node_modules/lodash/isBoolean.js +29 -0
  1115. package/node_modules/lodash/isBuffer.js +38 -0
  1116. package/node_modules/lodash/isDate.js +27 -0
  1117. package/node_modules/lodash/isElement.js +25 -0
  1118. package/node_modules/lodash/isEmpty.js +77 -0
  1119. package/node_modules/lodash/isEqual.js +35 -0
  1120. package/node_modules/lodash/isEqualWith.js +41 -0
  1121. package/node_modules/lodash/isError.js +36 -0
  1122. package/node_modules/lodash/isFinite.js +36 -0
  1123. package/node_modules/lodash/isFunction.js +37 -0
  1124. package/node_modules/lodash/isInteger.js +33 -0
  1125. package/node_modules/lodash/isLength.js +35 -0
  1126. package/node_modules/lodash/isMap.js +27 -0
  1127. package/node_modules/lodash/isMatch.js +36 -0
  1128. package/node_modules/lodash/isMatchWith.js +41 -0
  1129. package/node_modules/lodash/isNaN.js +38 -0
  1130. package/node_modules/lodash/isNative.js +40 -0
  1131. package/node_modules/lodash/isNil.js +25 -0
  1132. package/node_modules/lodash/isNull.js +22 -0
  1133. package/node_modules/lodash/isNumber.js +38 -0
  1134. package/node_modules/lodash/isObject.js +31 -0
  1135. package/node_modules/lodash/isObjectLike.js +29 -0
  1136. package/node_modules/lodash/isPlainObject.js +62 -0
  1137. package/node_modules/lodash/isRegExp.js +27 -0
  1138. package/node_modules/lodash/isSafeInteger.js +37 -0
  1139. package/node_modules/lodash/isSet.js +27 -0
  1140. package/node_modules/lodash/isString.js +30 -0
  1141. package/node_modules/lodash/isSymbol.js +29 -0
  1142. package/node_modules/lodash/isTypedArray.js +27 -0
  1143. package/node_modules/lodash/isUndefined.js +22 -0
  1144. package/node_modules/lodash/isWeakMap.js +28 -0
  1145. package/node_modules/lodash/isWeakSet.js +28 -0
  1146. package/node_modules/lodash/iteratee.js +53 -0
  1147. package/node_modules/lodash/join.js +26 -0
  1148. package/node_modules/lodash/kebabCase.js +28 -0
  1149. package/node_modules/lodash/keyBy.js +36 -0
  1150. package/node_modules/lodash/keys.js +37 -0
  1151. package/node_modules/lodash/keysIn.js +32 -0
  1152. package/node_modules/lodash/lang.js +58 -0
  1153. package/node_modules/lodash/last.js +20 -0
  1154. package/node_modules/lodash/lastIndexOf.js +46 -0
  1155. package/node_modules/lodash/lodash.js +17209 -0
  1156. package/node_modules/lodash/lodash.min.js +140 -0
  1157. package/node_modules/lodash/lowerCase.js +27 -0
  1158. package/node_modules/lodash/lowerFirst.js +22 -0
  1159. package/node_modules/lodash/lt.js +29 -0
  1160. package/node_modules/lodash/lte.js +30 -0
  1161. package/node_modules/lodash/map.js +53 -0
  1162. package/node_modules/lodash/mapKeys.js +36 -0
  1163. package/node_modules/lodash/mapValues.js +43 -0
  1164. package/node_modules/lodash/matches.js +46 -0
  1165. package/node_modules/lodash/matchesProperty.js +44 -0
  1166. package/node_modules/lodash/math.js +17 -0
  1167. package/node_modules/lodash/max.js +29 -0
  1168. package/node_modules/lodash/maxBy.js +34 -0
  1169. package/node_modules/lodash/mean.js +22 -0
  1170. package/node_modules/lodash/meanBy.js +31 -0
  1171. package/node_modules/lodash/memoize.js +73 -0
  1172. package/node_modules/lodash/merge.js +39 -0
  1173. package/node_modules/lodash/mergeWith.js +39 -0
  1174. package/node_modules/lodash/method.js +34 -0
  1175. package/node_modules/lodash/methodOf.js +33 -0
  1176. package/node_modules/lodash/min.js +29 -0
  1177. package/node_modules/lodash/minBy.js +34 -0
  1178. package/node_modules/lodash/mixin.js +74 -0
  1179. package/node_modules/lodash/multiply.js +22 -0
  1180. package/node_modules/lodash/negate.js +40 -0
  1181. package/node_modules/lodash/next.js +35 -0
  1182. package/node_modules/lodash/noop.js +17 -0
  1183. package/node_modules/lodash/now.js +23 -0
  1184. package/node_modules/lodash/nth.js +29 -0
  1185. package/node_modules/lodash/nthArg.js +32 -0
  1186. package/node_modules/lodash/number.js +5 -0
  1187. package/node_modules/lodash/object.js +49 -0
  1188. package/node_modules/lodash/omit.js +57 -0
  1189. package/node_modules/lodash/omitBy.js +29 -0
  1190. package/node_modules/lodash/once.js +25 -0
  1191. package/node_modules/lodash/orderBy.js +47 -0
  1192. package/node_modules/lodash/over.js +24 -0
  1193. package/node_modules/lodash/overArgs.js +61 -0
  1194. package/node_modules/lodash/overEvery.js +34 -0
  1195. package/node_modules/lodash/overSome.js +37 -0
  1196. package/node_modules/lodash/package.json +21 -0
  1197. package/node_modules/lodash/pad.js +49 -0
  1198. package/node_modules/lodash/padEnd.js +39 -0
  1199. package/node_modules/lodash/padStart.js +39 -0
  1200. package/node_modules/lodash/parseInt.js +43 -0
  1201. package/node_modules/lodash/partial.js +50 -0
  1202. package/node_modules/lodash/partialRight.js +49 -0
  1203. package/node_modules/lodash/partition.js +43 -0
  1204. package/node_modules/lodash/pick.js +25 -0
  1205. package/node_modules/lodash/pickBy.js +37 -0
  1206. package/node_modules/lodash/plant.js +48 -0
  1207. package/node_modules/lodash/property.js +32 -0
  1208. package/node_modules/lodash/propertyOf.js +30 -0
  1209. package/node_modules/lodash/pull.js +29 -0
  1210. package/node_modules/lodash/pullAll.js +29 -0
  1211. package/node_modules/lodash/pullAllBy.js +33 -0
  1212. package/node_modules/lodash/pullAllWith.js +32 -0
  1213. package/node_modules/lodash/pullAt.js +43 -0
  1214. package/node_modules/lodash/random.js +82 -0
  1215. package/node_modules/lodash/range.js +46 -0
  1216. package/node_modules/lodash/rangeRight.js +41 -0
  1217. package/node_modules/lodash/rearg.js +33 -0
  1218. package/node_modules/lodash/reduce.js +51 -0
  1219. package/node_modules/lodash/reduceRight.js +36 -0
  1220. package/node_modules/lodash/reject.js +46 -0
  1221. package/node_modules/lodash/release.md +48 -0
  1222. package/node_modules/lodash/remove.js +53 -0
  1223. package/node_modules/lodash/repeat.js +37 -0
  1224. package/node_modules/lodash/replace.js +29 -0
  1225. package/node_modules/lodash/rest.js +40 -0
  1226. package/node_modules/lodash/result.js +56 -0
  1227. package/node_modules/lodash/reverse.js +34 -0
  1228. package/node_modules/lodash/round.js +26 -0
  1229. package/node_modules/lodash/sample.js +24 -0
  1230. package/node_modules/lodash/sampleSize.js +37 -0
  1231. package/node_modules/lodash/seq.js +16 -0
  1232. package/node_modules/lodash/set.js +35 -0
  1233. package/node_modules/lodash/setWith.js +32 -0
  1234. package/node_modules/lodash/shuffle.js +25 -0
  1235. package/node_modules/lodash/size.js +46 -0
  1236. package/node_modules/lodash/slice.js +37 -0
  1237. package/node_modules/lodash/snakeCase.js +28 -0
  1238. package/node_modules/lodash/some.js +51 -0
  1239. package/node_modules/lodash/sortBy.js +48 -0
  1240. package/node_modules/lodash/sortedIndex.js +24 -0
  1241. package/node_modules/lodash/sortedIndexBy.js +33 -0
  1242. package/node_modules/lodash/sortedIndexOf.js +31 -0
  1243. package/node_modules/lodash/sortedLastIndex.js +25 -0
  1244. package/node_modules/lodash/sortedLastIndexBy.js +33 -0
  1245. package/node_modules/lodash/sortedLastIndexOf.js +31 -0
  1246. package/node_modules/lodash/sortedUniq.js +24 -0
  1247. package/node_modules/lodash/sortedUniqBy.js +26 -0
  1248. package/node_modules/lodash/split.js +52 -0
  1249. package/node_modules/lodash/spread.js +63 -0
  1250. package/node_modules/lodash/startCase.js +29 -0
  1251. package/node_modules/lodash/startsWith.js +39 -0
  1252. package/node_modules/lodash/string.js +33 -0
  1253. package/node_modules/lodash/stubArray.js +23 -0
  1254. package/node_modules/lodash/stubFalse.js +18 -0
  1255. package/node_modules/lodash/stubObject.js +23 -0
  1256. package/node_modules/lodash/stubString.js +18 -0
  1257. package/node_modules/lodash/stubTrue.js +18 -0
  1258. package/node_modules/lodash/subtract.js +22 -0
  1259. package/node_modules/lodash/sum.js +24 -0
  1260. package/node_modules/lodash/sumBy.js +33 -0
  1261. package/node_modules/lodash/tail.js +22 -0
  1262. package/node_modules/lodash/take.js +37 -0
  1263. package/node_modules/lodash/takeRight.js +39 -0
  1264. package/node_modules/lodash/takeRightWhile.js +45 -0
  1265. package/node_modules/lodash/takeWhile.js +45 -0
  1266. package/node_modules/lodash/tap.js +29 -0
  1267. package/node_modules/lodash/template.js +272 -0
  1268. package/node_modules/lodash/templateSettings.js +67 -0
  1269. package/node_modules/lodash/throttle.js +69 -0
  1270. package/node_modules/lodash/thru.js +28 -0
  1271. package/node_modules/lodash/times.js +51 -0
  1272. package/node_modules/lodash/toArray.js +58 -0
  1273. package/node_modules/lodash/toFinite.js +42 -0
  1274. package/node_modules/lodash/toInteger.js +36 -0
  1275. package/node_modules/lodash/toIterator.js +23 -0
  1276. package/node_modules/lodash/toJSON.js +1 -0
  1277. package/node_modules/lodash/toLength.js +38 -0
  1278. package/node_modules/lodash/toLower.js +28 -0
  1279. package/node_modules/lodash/toNumber.js +64 -0
  1280. package/node_modules/lodash/toPairs.js +30 -0
  1281. package/node_modules/lodash/toPairsIn.js +30 -0
  1282. package/node_modules/lodash/toPath.js +33 -0
  1283. package/node_modules/lodash/toPlainObject.js +32 -0
  1284. package/node_modules/lodash/toSafeInteger.js +37 -0
  1285. package/node_modules/lodash/toString.js +28 -0
  1286. package/node_modules/lodash/toUpper.js +28 -0
  1287. package/node_modules/lodash/transform.js +65 -0
  1288. package/node_modules/lodash/trim.js +47 -0
  1289. package/node_modules/lodash/trimEnd.js +41 -0
  1290. package/node_modules/lodash/trimStart.js +43 -0
  1291. package/node_modules/lodash/truncate.js +111 -0
  1292. package/node_modules/lodash/unary.js +22 -0
  1293. package/node_modules/lodash/unescape.js +34 -0
  1294. package/node_modules/lodash/union.js +26 -0
  1295. package/node_modules/lodash/unionBy.js +39 -0
  1296. package/node_modules/lodash/unionWith.js +34 -0
  1297. package/node_modules/lodash/uniq.js +25 -0
  1298. package/node_modules/lodash/uniqBy.js +31 -0
  1299. package/node_modules/lodash/uniqWith.js +28 -0
  1300. package/node_modules/lodash/uniqueId.js +28 -0
  1301. package/node_modules/lodash/unset.js +34 -0
  1302. package/node_modules/lodash/unzip.js +45 -0
  1303. package/node_modules/lodash/unzipWith.js +39 -0
  1304. package/node_modules/lodash/update.js +35 -0
  1305. package/node_modules/lodash/updateWith.js +33 -0
  1306. package/node_modules/lodash/upperCase.js +27 -0
  1307. package/node_modules/lodash/upperFirst.js +22 -0
  1308. package/node_modules/lodash/util.js +34 -0
  1309. package/node_modules/lodash/value.js +1 -0
  1310. package/node_modules/lodash/valueOf.js +1 -0
  1311. package/node_modules/lodash/values.js +34 -0
  1312. package/node_modules/lodash/valuesIn.js +32 -0
  1313. package/node_modules/lodash/without.js +31 -0
  1314. package/node_modules/lodash/words.js +35 -0
  1315. package/node_modules/lodash/wrap.js +30 -0
  1316. package/node_modules/lodash/wrapperAt.js +48 -0
  1317. package/node_modules/lodash/wrapperChain.js +34 -0
  1318. package/node_modules/lodash/wrapperLodash.js +147 -0
  1319. package/node_modules/lodash/wrapperReverse.js +44 -0
  1320. package/node_modules/lodash/wrapperValue.js +21 -0
  1321. package/node_modules/lodash/xor.js +28 -0
  1322. package/node_modules/lodash/xorBy.js +39 -0
  1323. package/node_modules/lodash/xorWith.js +34 -0
  1324. package/node_modules/lodash/zip.js +22 -0
  1325. package/node_modules/lodash/zipObject.js +24 -0
  1326. package/node_modules/lodash/zipObjectDeep.js +23 -0
  1327. package/node_modules/lodash/zipWith.js +32 -0
  1328. package/node_modules/lower-case/LICENSE +21 -0
  1329. package/node_modules/lower-case/README.md +35 -0
  1330. package/node_modules/lower-case/dist/index.d.ts +8 -0
  1331. package/node_modules/lower-case/dist/index.js +53 -0
  1332. package/node_modules/lower-case/dist/index.js.map +1 -0
  1333. package/node_modules/lower-case/dist/index.spec.d.ts +1 -0
  1334. package/node_modules/lower-case/dist/index.spec.js +36 -0
  1335. package/node_modules/lower-case/dist/index.spec.js.map +1 -0
  1336. package/node_modules/lower-case/dist.es2015/index.d.ts +8 -0
  1337. package/node_modules/lower-case/dist.es2015/index.js +48 -0
  1338. package/node_modules/lower-case/dist.es2015/index.js.map +1 -0
  1339. package/node_modules/lower-case/dist.es2015/index.spec.d.ts +1 -0
  1340. package/node_modules/lower-case/dist.es2015/index.spec.js +34 -0
  1341. package/node_modules/lower-case/dist.es2015/index.spec.js.map +1 -0
  1342. package/node_modules/lower-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  1343. package/node_modules/lower-case/node_modules/tslib/LICENSE.txt +12 -0
  1344. package/node_modules/lower-case/node_modules/tslib/README.md +164 -0
  1345. package/node_modules/lower-case/node_modules/tslib/modules/index.js +55 -0
  1346. package/node_modules/lower-case/node_modules/tslib/modules/package.json +3 -0
  1347. package/node_modules/lower-case/node_modules/tslib/package.json +42 -0
  1348. package/node_modules/lower-case/node_modules/tslib/tslib.d.ts +398 -0
  1349. package/node_modules/lower-case/node_modules/tslib/tslib.es6.html +1 -0
  1350. package/node_modules/lower-case/node_modules/tslib/tslib.es6.js +248 -0
  1351. package/node_modules/lower-case/node_modules/tslib/tslib.html +1 -0
  1352. package/node_modules/lower-case/node_modules/tslib/tslib.js +317 -0
  1353. package/node_modules/lower-case/package.json +91 -0
  1354. package/node_modules/no-case/LICENSE +21 -0
  1355. package/node_modules/no-case/README.md +37 -0
  1356. package/node_modules/no-case/dist/index.d.ts +10 -0
  1357. package/node_modules/no-case/dist/index.js +35 -0
  1358. package/node_modules/no-case/dist/index.js.map +1 -0
  1359. package/node_modules/no-case/dist/index.spec.d.ts +1 -0
  1360. package/node_modules/no-case/dist/index.spec.js +59 -0
  1361. package/node_modules/no-case/dist/index.spec.js.map +1 -0
  1362. package/node_modules/no-case/dist.es2015/index.d.ts +10 -0
  1363. package/node_modules/no-case/dist.es2015/index.js +31 -0
  1364. package/node_modules/no-case/dist.es2015/index.js.map +1 -0
  1365. package/node_modules/no-case/dist.es2015/index.spec.d.ts +1 -0
  1366. package/node_modules/no-case/dist.es2015/index.spec.js +57 -0
  1367. package/node_modules/no-case/dist.es2015/index.spec.js.map +1 -0
  1368. package/node_modules/no-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  1369. package/node_modules/no-case/node_modules/tslib/LICENSE.txt +12 -0
  1370. package/node_modules/no-case/node_modules/tslib/README.md +164 -0
  1371. package/node_modules/no-case/node_modules/tslib/modules/index.js +55 -0
  1372. package/node_modules/no-case/node_modules/tslib/modules/package.json +3 -0
  1373. package/node_modules/no-case/node_modules/tslib/package.json +42 -0
  1374. package/node_modules/no-case/node_modules/tslib/tslib.d.ts +398 -0
  1375. package/node_modules/no-case/node_modules/tslib/tslib.es6.html +1 -0
  1376. package/node_modules/no-case/node_modules/tslib/tslib.es6.js +248 -0
  1377. package/node_modules/no-case/node_modules/tslib/tslib.html +1 -0
  1378. package/node_modules/no-case/node_modules/tslib/tslib.js +317 -0
  1379. package/node_modules/no-case/package.json +89 -0
  1380. package/node_modules/nunjucks/CHANGELOG.md +736 -0
  1381. package/node_modules/nunjucks/LICENSE +26 -0
  1382. package/node_modules/nunjucks/README.md +58 -0
  1383. package/node_modules/nunjucks/bin/precompile +58 -0
  1384. package/node_modules/nunjucks/bin/precompile.cmd +5 -0
  1385. package/node_modules/nunjucks/browser/nunjucks-slim.js +4263 -0
  1386. package/node_modules/nunjucks/browser/nunjucks-slim.js.map +1 -0
  1387. package/node_modules/nunjucks/browser/nunjucks-slim.min.js +3 -0
  1388. package/node_modules/nunjucks/browser/nunjucks-slim.min.js.map +1 -0
  1389. package/node_modules/nunjucks/browser/nunjucks.js +8423 -0
  1390. package/node_modules/nunjucks/browser/nunjucks.js.map +1 -0
  1391. package/node_modules/nunjucks/browser/nunjucks.min.js +3 -0
  1392. package/node_modules/nunjucks/browser/nunjucks.min.js.map +1 -0
  1393. package/node_modules/nunjucks/index.js +103 -0
  1394. package/node_modules/nunjucks/node_modules/commander/CHANGELOG.md +385 -0
  1395. package/node_modules/nunjucks/node_modules/commander/LICENSE +22 -0
  1396. package/node_modules/nunjucks/node_modules/commander/Readme.md +737 -0
  1397. package/node_modules/nunjucks/node_modules/commander/index.js +1756 -0
  1398. package/node_modules/nunjucks/node_modules/commander/package.json +52 -0
  1399. package/node_modules/nunjucks/node_modules/commander/typings/index.d.ts +386 -0
  1400. package/node_modules/nunjucks/package.json +116 -0
  1401. package/node_modules/nunjucks/src/compiler.js +1449 -0
  1402. package/node_modules/nunjucks/src/environment.js +659 -0
  1403. package/node_modules/nunjucks/src/express-app.js +28 -0
  1404. package/node_modules/nunjucks/src/filters.js +680 -0
  1405. package/node_modules/nunjucks/src/globals.js +72 -0
  1406. package/node_modules/nunjucks/src/jinja-compat.js +358 -0
  1407. package/node_modules/nunjucks/src/lexer.js +542 -0
  1408. package/node_modules/nunjucks/src/lib.js +417 -0
  1409. package/node_modules/nunjucks/src/loader.js +30 -0
  1410. package/node_modules/nunjucks/src/loaders.js +5 -0
  1411. package/node_modules/nunjucks/src/node-loaders.js +177 -0
  1412. package/node_modules/nunjucks/src/nodes.js +394 -0
  1413. package/node_modules/nunjucks/src/object.js +129 -0
  1414. package/node_modules/nunjucks/src/parser.js +1267 -0
  1415. package/node_modules/nunjucks/src/precompile-global.js +22 -0
  1416. package/node_modules/nunjucks/src/precompile.js +131 -0
  1417. package/node_modules/nunjucks/src/precompiled-loader.js +41 -0
  1418. package/node_modules/nunjucks/src/runtime.js +405 -0
  1419. package/node_modules/nunjucks/src/tests.js +286 -0
  1420. package/node_modules/nunjucks/src/transformer.js +197 -0
  1421. package/node_modules/nunjucks/src/web-loaders.js +110 -0
  1422. package/node_modules/param-case/LICENSE +21 -0
  1423. package/node_modules/param-case/README.md +37 -0
  1424. package/node_modules/param-case/dist/index.d.ts +3 -0
  1425. package/node_modules/param-case/dist/index.js +11 -0
  1426. package/node_modules/param-case/dist/index.js.map +1 -0
  1427. package/node_modules/param-case/dist/index.spec.d.ts +1 -0
  1428. package/node_modules/param-case/dist/index.spec.js +24 -0
  1429. package/node_modules/param-case/dist/index.spec.js.map +1 -0
  1430. package/node_modules/param-case/dist.es2015/index.d.ts +3 -0
  1431. package/node_modules/param-case/dist.es2015/index.js +7 -0
  1432. package/node_modules/param-case/dist.es2015/index.js.map +1 -0
  1433. package/node_modules/param-case/dist.es2015/index.spec.d.ts +1 -0
  1434. package/node_modules/param-case/dist.es2015/index.spec.js +22 -0
  1435. package/node_modules/param-case/dist.es2015/index.spec.js.map +1 -0
  1436. package/node_modules/param-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  1437. package/node_modules/param-case/node_modules/tslib/LICENSE.txt +12 -0
  1438. package/node_modules/param-case/node_modules/tslib/README.md +164 -0
  1439. package/node_modules/param-case/node_modules/tslib/modules/index.js +55 -0
  1440. package/node_modules/param-case/node_modules/tslib/modules/package.json +3 -0
  1441. package/node_modules/param-case/node_modules/tslib/package.json +42 -0
  1442. package/node_modules/param-case/node_modules/tslib/tslib.d.ts +398 -0
  1443. package/node_modules/param-case/node_modules/tslib/tslib.es6.html +1 -0
  1444. package/node_modules/param-case/node_modules/tslib/tslib.es6.js +248 -0
  1445. package/node_modules/param-case/node_modules/tslib/tslib.html +1 -0
  1446. package/node_modules/param-case/node_modules/tslib/tslib.js +317 -0
  1447. package/node_modules/param-case/package.json +95 -0
  1448. package/node_modules/pascal-case/LICENSE +21 -0
  1449. package/node_modules/pascal-case/README.md +47 -0
  1450. package/node_modules/pascal-case/dist/index.d.ts +5 -0
  1451. package/node_modules/pascal-case/dist/index.js +24 -0
  1452. package/node_modules/pascal-case/dist/index.js.map +1 -0
  1453. package/node_modules/pascal-case/dist/index.spec.d.ts +1 -0
  1454. package/node_modules/pascal-case/dist/index.spec.js +25 -0
  1455. package/node_modules/pascal-case/dist/index.spec.js.map +1 -0
  1456. package/node_modules/pascal-case/dist.es2015/index.d.ts +5 -0
  1457. package/node_modules/pascal-case/dist.es2015/index.js +18 -0
  1458. package/node_modules/pascal-case/dist.es2015/index.js.map +1 -0
  1459. package/node_modules/pascal-case/dist.es2015/index.spec.d.ts +1 -0
  1460. package/node_modules/pascal-case/dist.es2015/index.spec.js +23 -0
  1461. package/node_modules/pascal-case/dist.es2015/index.spec.js.map +1 -0
  1462. package/node_modules/pascal-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  1463. package/node_modules/pascal-case/node_modules/tslib/LICENSE.txt +12 -0
  1464. package/node_modules/pascal-case/node_modules/tslib/README.md +164 -0
  1465. package/node_modules/pascal-case/node_modules/tslib/modules/index.js +55 -0
  1466. package/node_modules/pascal-case/node_modules/tslib/modules/package.json +3 -0
  1467. package/node_modules/pascal-case/node_modules/tslib/package.json +42 -0
  1468. package/node_modules/pascal-case/node_modules/tslib/tslib.d.ts +398 -0
  1469. package/node_modules/pascal-case/node_modules/tslib/tslib.es6.html +1 -0
  1470. package/node_modules/pascal-case/node_modules/tslib/tslib.es6.js +248 -0
  1471. package/node_modules/pascal-case/node_modules/tslib/tslib.html +1 -0
  1472. package/node_modules/pascal-case/node_modules/tslib/tslib.js +317 -0
  1473. package/node_modules/pascal-case/package.json +94 -0
  1474. package/node_modules/path-case/LICENSE +21 -0
  1475. package/node_modules/path-case/README.md +37 -0
  1476. package/node_modules/path-case/dist/index.d.ts +3 -0
  1477. package/node_modules/path-case/dist/index.js +11 -0
  1478. package/node_modules/path-case/dist/index.js.map +1 -0
  1479. package/node_modules/path-case/dist/index.spec.d.ts +1 -0
  1480. package/node_modules/path-case/dist/index.spec.js +24 -0
  1481. package/node_modules/path-case/dist/index.spec.js.map +1 -0
  1482. package/node_modules/path-case/dist.es2015/index.d.ts +3 -0
  1483. package/node_modules/path-case/dist.es2015/index.js +7 -0
  1484. package/node_modules/path-case/dist.es2015/index.js.map +1 -0
  1485. package/node_modules/path-case/dist.es2015/index.spec.d.ts +1 -0
  1486. package/node_modules/path-case/dist.es2015/index.spec.js +22 -0
  1487. package/node_modules/path-case/dist.es2015/index.spec.js.map +1 -0
  1488. package/node_modules/path-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  1489. package/node_modules/path-case/node_modules/tslib/LICENSE.txt +12 -0
  1490. package/node_modules/path-case/node_modules/tslib/README.md +164 -0
  1491. package/node_modules/path-case/node_modules/tslib/modules/index.js +55 -0
  1492. package/node_modules/path-case/node_modules/tslib/modules/package.json +3 -0
  1493. package/node_modules/path-case/node_modules/tslib/package.json +42 -0
  1494. package/node_modules/path-case/node_modules/tslib/tslib.d.ts +398 -0
  1495. package/node_modules/path-case/node_modules/tslib/tslib.es6.html +1 -0
  1496. package/node_modules/path-case/node_modules/tslib/tslib.es6.js +248 -0
  1497. package/node_modules/path-case/node_modules/tslib/tslib.html +1 -0
  1498. package/node_modules/path-case/node_modules/tslib/tslib.js +317 -0
  1499. package/node_modules/path-case/package.json +92 -0
  1500. package/node_modules/sentence-case/LICENSE +21 -0
  1501. package/node_modules/sentence-case/README.md +37 -0
  1502. package/node_modules/sentence-case/dist/index.d.ts +4 -0
  1503. package/node_modules/sentence-case/dist/index.js +19 -0
  1504. package/node_modules/sentence-case/dist/index.js.map +1 -0
  1505. package/node_modules/sentence-case/dist/index.spec.d.ts +1 -0
  1506. package/node_modules/sentence-case/dist/index.spec.js +24 -0
  1507. package/node_modules/sentence-case/dist/index.spec.js.map +1 -0
  1508. package/node_modules/sentence-case/dist.es2015/index.d.ts +4 -0
  1509. package/node_modules/sentence-case/dist.es2015/index.js +14 -0
  1510. package/node_modules/sentence-case/dist.es2015/index.js.map +1 -0
  1511. package/node_modules/sentence-case/dist.es2015/index.spec.d.ts +1 -0
  1512. package/node_modules/sentence-case/dist.es2015/index.spec.js +22 -0
  1513. package/node_modules/sentence-case/dist.es2015/index.spec.js.map +1 -0
  1514. package/node_modules/sentence-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  1515. package/node_modules/sentence-case/node_modules/tslib/LICENSE.txt +12 -0
  1516. package/node_modules/sentence-case/node_modules/tslib/README.md +164 -0
  1517. package/node_modules/sentence-case/node_modules/tslib/modules/index.js +55 -0
  1518. package/node_modules/sentence-case/node_modules/tslib/modules/package.json +3 -0
  1519. package/node_modules/sentence-case/node_modules/tslib/package.json +42 -0
  1520. package/node_modules/sentence-case/node_modules/tslib/tslib.d.ts +398 -0
  1521. package/node_modules/sentence-case/node_modules/tslib/tslib.es6.html +1 -0
  1522. package/node_modules/sentence-case/node_modules/tslib/tslib.es6.js +248 -0
  1523. package/node_modules/sentence-case/node_modules/tslib/tslib.html +1 -0
  1524. package/node_modules/sentence-case/node_modules/tslib/tslib.js +317 -0
  1525. package/node_modules/sentence-case/package.json +93 -0
  1526. package/node_modules/snake-case/LICENSE +21 -0
  1527. package/node_modules/snake-case/README.md +37 -0
  1528. package/node_modules/snake-case/dist/index.d.ts +3 -0
  1529. package/node_modules/snake-case/dist/index.js +11 -0
  1530. package/node_modules/snake-case/dist/index.js.map +1 -0
  1531. package/node_modules/snake-case/dist/index.spec.d.ts +1 -0
  1532. package/node_modules/snake-case/dist/index.spec.js +25 -0
  1533. package/node_modules/snake-case/dist/index.spec.js.map +1 -0
  1534. package/node_modules/snake-case/dist.es2015/index.d.ts +3 -0
  1535. package/node_modules/snake-case/dist.es2015/index.js +7 -0
  1536. package/node_modules/snake-case/dist.es2015/index.js.map +1 -0
  1537. package/node_modules/snake-case/dist.es2015/index.spec.d.ts +1 -0
  1538. package/node_modules/snake-case/dist.es2015/index.spec.js +23 -0
  1539. package/node_modules/snake-case/dist.es2015/index.spec.js.map +1 -0
  1540. package/node_modules/snake-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  1541. package/node_modules/snake-case/node_modules/tslib/LICENSE.txt +12 -0
  1542. package/node_modules/snake-case/node_modules/tslib/README.md +164 -0
  1543. package/node_modules/snake-case/node_modules/tslib/modules/index.js +55 -0
  1544. package/node_modules/snake-case/node_modules/tslib/modules/package.json +3 -0
  1545. package/node_modules/snake-case/node_modules/tslib/package.json +42 -0
  1546. package/node_modules/snake-case/node_modules/tslib/tslib.d.ts +398 -0
  1547. package/node_modules/snake-case/node_modules/tslib/tslib.es6.html +1 -0
  1548. package/node_modules/snake-case/node_modules/tslib/tslib.es6.js +248 -0
  1549. package/node_modules/snake-case/node_modules/tslib/tslib.html +1 -0
  1550. package/node_modules/snake-case/node_modules/tslib/tslib.js +317 -0
  1551. package/node_modules/snake-case/package.json +94 -0
  1552. package/node_modules/upper-case/README.md +34 -0
  1553. package/node_modules/upper-case/dist/index.d.ts +8 -0
  1554. package/node_modules/upper-case/dist/index.js +49 -0
  1555. package/node_modules/upper-case/dist/index.js.map +1 -0
  1556. package/node_modules/upper-case/dist/index.spec.d.ts +1 -0
  1557. package/node_modules/upper-case/dist/index.spec.js +34 -0
  1558. package/node_modules/upper-case/dist/index.spec.js.map +1 -0
  1559. package/node_modules/upper-case/dist.es2015/index.d.ts +8 -0
  1560. package/node_modules/upper-case/dist.es2015/index.js +44 -0
  1561. package/node_modules/upper-case/dist.es2015/index.js.map +1 -0
  1562. package/node_modules/upper-case/dist.es2015/index.spec.d.ts +1 -0
  1563. package/node_modules/upper-case/dist.es2015/index.spec.js +32 -0
  1564. package/node_modules/upper-case/dist.es2015/index.spec.js.map +1 -0
  1565. package/node_modules/upper-case/node_modules/tslib/CopyrightNotice.txt +15 -0
  1566. package/node_modules/upper-case/node_modules/tslib/LICENSE.txt +12 -0
  1567. package/node_modules/upper-case/node_modules/tslib/README.md +164 -0
  1568. package/node_modules/upper-case/node_modules/tslib/modules/index.js +55 -0
  1569. package/node_modules/upper-case/node_modules/tslib/modules/package.json +3 -0
  1570. package/node_modules/upper-case/node_modules/tslib/package.json +42 -0
  1571. package/node_modules/upper-case/node_modules/tslib/tslib.d.ts +398 -0
  1572. package/node_modules/upper-case/node_modules/tslib/tslib.es6.html +1 -0
  1573. package/node_modules/upper-case/node_modules/tslib/tslib.es6.js +248 -0
  1574. package/node_modules/upper-case/node_modules/tslib/tslib.html +1 -0
  1575. package/node_modules/upper-case/node_modules/tslib/tslib.js +317 -0
  1576. package/node_modules/upper-case/package.json +90 -0
  1577. package/node_modules/upper-case-first/LICENSE +21 -0
  1578. package/node_modules/upper-case-first/README.md +32 -0
  1579. package/node_modules/upper-case-first/dist/index.d.ts +4 -0
  1580. package/node_modules/upper-case-first/dist/index.js +11 -0
  1581. package/node_modules/upper-case-first/dist/index.js.map +1 -0
  1582. package/node_modules/upper-case-first/dist/index.spec.d.ts +1 -0
  1583. package/node_modules/upper-case-first/dist/index.spec.js +20 -0
  1584. package/node_modules/upper-case-first/dist/index.spec.js.map +1 -0
  1585. package/node_modules/upper-case-first/dist.es2015/index.d.ts +4 -0
  1586. package/node_modules/upper-case-first/dist.es2015/index.js +7 -0
  1587. package/node_modules/upper-case-first/dist.es2015/index.js.map +1 -0
  1588. package/node_modules/upper-case-first/dist.es2015/index.spec.d.ts +1 -0
  1589. package/node_modules/upper-case-first/dist.es2015/index.spec.js +18 -0
  1590. package/node_modules/upper-case-first/dist.es2015/index.spec.js.map +1 -0
  1591. package/node_modules/upper-case-first/node_modules/tslib/CopyrightNotice.txt +15 -0
  1592. package/node_modules/upper-case-first/node_modules/tslib/LICENSE.txt +12 -0
  1593. package/node_modules/upper-case-first/node_modules/tslib/README.md +164 -0
  1594. package/node_modules/upper-case-first/node_modules/tslib/modules/index.js +55 -0
  1595. package/node_modules/upper-case-first/node_modules/tslib/modules/package.json +3 -0
  1596. package/node_modules/upper-case-first/node_modules/tslib/package.json +42 -0
  1597. package/node_modules/upper-case-first/node_modules/tslib/tslib.d.ts +398 -0
  1598. package/node_modules/upper-case-first/node_modules/tslib/tslib.es6.html +1 -0
  1599. package/node_modules/upper-case-first/node_modules/tslib/tslib.es6.js +248 -0
  1600. package/node_modules/upper-case-first/node_modules/tslib/tslib.html +1 -0
  1601. package/node_modules/upper-case-first/node_modules/tslib/tslib.js +317 -0
  1602. package/node_modules/upper-case-first/package.json +91 -0
  1603. package/package.json +149 -0
@@ -0,0 +1,4263 @@
1
+ /*! Browser bundle of nunjucks 3.2.3 (slim, only works with precompiled templates) */
2
+ (function webpackUniversalModuleDefinition(root, factory) {
3
+ if(typeof exports === 'object' && typeof module === 'object')
4
+ module.exports = factory();
5
+ else if(typeof define === 'function' && define.amd)
6
+ define([], factory);
7
+ else if(typeof exports === 'object')
8
+ exports["nunjucks"] = factory();
9
+ else
10
+ root["nunjucks"] = factory();
11
+ })(typeof self !== 'undefined' ? self : this, function() {
12
+ return /******/ (function(modules) { // webpackBootstrap
13
+ /******/ // The module cache
14
+ /******/ var installedModules = {};
15
+ /******/
16
+ /******/ // The require function
17
+ /******/ function __webpack_require__(moduleId) {
18
+ /******/
19
+ /******/ // Check if module is in cache
20
+ /******/ if(installedModules[moduleId]) {
21
+ /******/ return installedModules[moduleId].exports;
22
+ /******/ }
23
+ /******/ // Create a new module (and put it into the cache)
24
+ /******/ var module = installedModules[moduleId] = {
25
+ /******/ i: moduleId,
26
+ /******/ l: false,
27
+ /******/ exports: {}
28
+ /******/ };
29
+ /******/
30
+ /******/ // Execute the module function
31
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
32
+ /******/
33
+ /******/ // Flag the module as loaded
34
+ /******/ module.l = true;
35
+ /******/
36
+ /******/ // Return the exports of the module
37
+ /******/ return module.exports;
38
+ /******/ }
39
+ /******/
40
+ /******/
41
+ /******/ // expose the modules object (__webpack_modules__)
42
+ /******/ __webpack_require__.m = modules;
43
+ /******/
44
+ /******/ // expose the module cache
45
+ /******/ __webpack_require__.c = installedModules;
46
+ /******/
47
+ /******/ // define getter function for harmony exports
48
+ /******/ __webpack_require__.d = function(exports, name, getter) {
49
+ /******/ if(!__webpack_require__.o(exports, name)) {
50
+ /******/ Object.defineProperty(exports, name, {
51
+ /******/ configurable: false,
52
+ /******/ enumerable: true,
53
+ /******/ get: getter
54
+ /******/ });
55
+ /******/ }
56
+ /******/ };
57
+ /******/
58
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
59
+ /******/ __webpack_require__.n = function(module) {
60
+ /******/ var getter = module && module.__esModule ?
61
+ /******/ function getDefault() { return module['default']; } :
62
+ /******/ function getModuleExports() { return module; };
63
+ /******/ __webpack_require__.d(getter, 'a', getter);
64
+ /******/ return getter;
65
+ /******/ };
66
+ /******/
67
+ /******/ // Object.prototype.hasOwnProperty.call
68
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
69
+ /******/
70
+ /******/ // __webpack_public_path__
71
+ /******/ __webpack_require__.p = "";
72
+ /******/
73
+ /******/ // Load entry module and return exports
74
+ /******/ return __webpack_require__(__webpack_require__.s = 6);
75
+ /******/ })
76
+ /************************************************************************/
77
+ /******/ ([
78
+ /* 0 */
79
+ /***/ (function(module, exports) {
80
+
81
+
82
+
83
+ /***/ }),
84
+ /* 1 */
85
+ /***/ (function(module, exports, __webpack_require__) {
86
+
87
+ "use strict";
88
+
89
+
90
+ var ArrayProto = Array.prototype;
91
+ var ObjProto = Object.prototype;
92
+ var escapeMap = {
93
+ '&': '&',
94
+ '"': '"',
95
+ '\'': ''',
96
+ '<': '&lt;',
97
+ '>': '&gt;'
98
+ };
99
+ var escapeRegex = /[&"'<>]/g;
100
+ var exports = module.exports = {};
101
+
102
+ function hasOwnProp(obj, k) {
103
+ return ObjProto.hasOwnProperty.call(obj, k);
104
+ }
105
+
106
+ exports.hasOwnProp = hasOwnProp;
107
+
108
+ function lookupEscape(ch) {
109
+ return escapeMap[ch];
110
+ }
111
+
112
+ function _prettifyError(path, withInternals, err) {
113
+ if (!err.Update) {
114
+ // not one of ours, cast it
115
+ err = new exports.TemplateError(err);
116
+ }
117
+
118
+ err.Update(path); // Unless they marked the dev flag, show them a trace from here
119
+
120
+ if (!withInternals) {
121
+ var old = err;
122
+ err = new Error(old.message);
123
+ err.name = old.name;
124
+ }
125
+
126
+ return err;
127
+ }
128
+
129
+ exports._prettifyError = _prettifyError;
130
+
131
+ function TemplateError(message, lineno, colno) {
132
+ var err;
133
+ var cause;
134
+
135
+ if (message instanceof Error) {
136
+ cause = message;
137
+ message = cause.name + ": " + cause.message;
138
+ }
139
+
140
+ if (Object.setPrototypeOf) {
141
+ err = new Error(message);
142
+ Object.setPrototypeOf(err, TemplateError.prototype);
143
+ } else {
144
+ err = this;
145
+ Object.defineProperty(err, 'message', {
146
+ enumerable: false,
147
+ writable: true,
148
+ value: message
149
+ });
150
+ }
151
+
152
+ Object.defineProperty(err, 'name', {
153
+ value: 'Template render error'
154
+ });
155
+
156
+ if (Error.captureStackTrace) {
157
+ Error.captureStackTrace(err, this.constructor);
158
+ }
159
+
160
+ var getStack;
161
+
162
+ if (cause) {
163
+ var stackDescriptor = Object.getOwnPropertyDescriptor(cause, 'stack');
164
+
165
+ getStack = stackDescriptor && (stackDescriptor.get || function () {
166
+ return stackDescriptor.value;
167
+ });
168
+
169
+ if (!getStack) {
170
+ getStack = function getStack() {
171
+ return cause.stack;
172
+ };
173
+ }
174
+ } else {
175
+ var stack = new Error(message).stack;
176
+
177
+ getStack = function getStack() {
178
+ return stack;
179
+ };
180
+ }
181
+
182
+ Object.defineProperty(err, 'stack', {
183
+ get: function get() {
184
+ return getStack.call(err);
185
+ }
186
+ });
187
+ Object.defineProperty(err, 'cause', {
188
+ value: cause
189
+ });
190
+ err.lineno = lineno;
191
+ err.colno = colno;
192
+ err.firstUpdate = true;
193
+
194
+ err.Update = function Update(path) {
195
+ var msg = '(' + (path || 'unknown path') + ')'; // only show lineno + colno next to path of template
196
+ // where error occurred
197
+
198
+ if (this.firstUpdate) {
199
+ if (this.lineno && this.colno) {
200
+ msg += " [Line " + this.lineno + ", Column " + this.colno + "]";
201
+ } else if (this.lineno) {
202
+ msg += " [Line " + this.lineno + "]";
203
+ }
204
+ }
205
+
206
+ msg += '\n ';
207
+
208
+ if (this.firstUpdate) {
209
+ msg += ' ';
210
+ }
211
+
212
+ this.message = msg + (this.message || '');
213
+ this.firstUpdate = false;
214
+ return this;
215
+ };
216
+
217
+ return err;
218
+ }
219
+
220
+ if (Object.setPrototypeOf) {
221
+ Object.setPrototypeOf(TemplateError.prototype, Error.prototype);
222
+ } else {
223
+ TemplateError.prototype = Object.create(Error.prototype, {
224
+ constructor: {
225
+ value: TemplateError
226
+ }
227
+ });
228
+ }
229
+
230
+ exports.TemplateError = TemplateError;
231
+
232
+ function escape(val) {
233
+ return val.replace(escapeRegex, lookupEscape);
234
+ }
235
+
236
+ exports.escape = escape;
237
+
238
+ function isFunction(obj) {
239
+ return ObjProto.toString.call(obj) === '[object Function]';
240
+ }
241
+
242
+ exports.isFunction = isFunction;
243
+
244
+ function isArray(obj) {
245
+ return ObjProto.toString.call(obj) === '[object Array]';
246
+ }
247
+
248
+ exports.isArray = isArray;
249
+
250
+ function isString(obj) {
251
+ return ObjProto.toString.call(obj) === '[object String]';
252
+ }
253
+
254
+ exports.isString = isString;
255
+
256
+ function isObject(obj) {
257
+ return ObjProto.toString.call(obj) === '[object Object]';
258
+ }
259
+
260
+ exports.isObject = isObject;
261
+ /**
262
+ * @param {string|number} attr
263
+ * @returns {(string|number)[]}
264
+ * @private
265
+ */
266
+
267
+ function _prepareAttributeParts(attr) {
268
+ if (!attr) {
269
+ return [];
270
+ }
271
+
272
+ if (typeof attr === 'string') {
273
+ return attr.split('.');
274
+ }
275
+
276
+ return [attr];
277
+ }
278
+ /**
279
+ * @param {string} attribute Attribute value. Dots allowed.
280
+ * @returns {function(Object): *}
281
+ */
282
+
283
+
284
+ function getAttrGetter(attribute) {
285
+ var parts = _prepareAttributeParts(attribute);
286
+
287
+ return function attrGetter(item) {
288
+ var _item = item;
289
+
290
+ for (var i = 0; i < parts.length; i++) {
291
+ var part = parts[i]; // If item is not an object, and we still got parts to handle, it means
292
+ // that something goes wrong. Just roll out to undefined in that case.
293
+
294
+ if (hasOwnProp(_item, part)) {
295
+ _item = _item[part];
296
+ } else {
297
+ return undefined;
298
+ }
299
+ }
300
+
301
+ return _item;
302
+ };
303
+ }
304
+
305
+ exports.getAttrGetter = getAttrGetter;
306
+
307
+ function groupBy(obj, val, throwOnUndefined) {
308
+ var result = {};
309
+ var iterator = isFunction(val) ? val : getAttrGetter(val);
310
+
311
+ for (var i = 0; i < obj.length; i++) {
312
+ var value = obj[i];
313
+ var key = iterator(value, i);
314
+
315
+ if (key === undefined && throwOnUndefined === true) {
316
+ throw new TypeError("groupby: attribute \"" + val + "\" resolved to undefined");
317
+ }
318
+
319
+ (result[key] || (result[key] = [])).push(value);
320
+ }
321
+
322
+ return result;
323
+ }
324
+
325
+ exports.groupBy = groupBy;
326
+
327
+ function toArray(obj) {
328
+ return Array.prototype.slice.call(obj);
329
+ }
330
+
331
+ exports.toArray = toArray;
332
+
333
+ function without(array) {
334
+ var result = [];
335
+
336
+ if (!array) {
337
+ return result;
338
+ }
339
+
340
+ var length = array.length;
341
+ var contains = toArray(arguments).slice(1);
342
+ var index = -1;
343
+
344
+ while (++index < length) {
345
+ if (indexOf(contains, array[index]) === -1) {
346
+ result.push(array[index]);
347
+ }
348
+ }
349
+
350
+ return result;
351
+ }
352
+
353
+ exports.without = without;
354
+
355
+ function repeat(char_, n) {
356
+ var str = '';
357
+
358
+ for (var i = 0; i < n; i++) {
359
+ str += char_;
360
+ }
361
+
362
+ return str;
363
+ }
364
+
365
+ exports.repeat = repeat;
366
+
367
+ function each(obj, func, context) {
368
+ if (obj == null) {
369
+ return;
370
+ }
371
+
372
+ if (ArrayProto.forEach && obj.forEach === ArrayProto.forEach) {
373
+ obj.forEach(func, context);
374
+ } else if (obj.length === +obj.length) {
375
+ for (var i = 0, l = obj.length; i < l; i++) {
376
+ func.call(context, obj[i], i, obj);
377
+ }
378
+ }
379
+ }
380
+
381
+ exports.each = each;
382
+
383
+ function map(obj, func) {
384
+ var results = [];
385
+
386
+ if (obj == null) {
387
+ return results;
388
+ }
389
+
390
+ if (ArrayProto.map && obj.map === ArrayProto.map) {
391
+ return obj.map(func);
392
+ }
393
+
394
+ for (var i = 0; i < obj.length; i++) {
395
+ results[results.length] = func(obj[i], i);
396
+ }
397
+
398
+ if (obj.length === +obj.length) {
399
+ results.length = obj.length;
400
+ }
401
+
402
+ return results;
403
+ }
404
+
405
+ exports.map = map;
406
+
407
+ function asyncIter(arr, iter, cb) {
408
+ var i = -1;
409
+
410
+ function next() {
411
+ i++;
412
+
413
+ if (i < arr.length) {
414
+ iter(arr[i], i, next, cb);
415
+ } else {
416
+ cb();
417
+ }
418
+ }
419
+
420
+ next();
421
+ }
422
+
423
+ exports.asyncIter = asyncIter;
424
+
425
+ function asyncFor(obj, iter, cb) {
426
+ var keys = keys_(obj || {});
427
+ var len = keys.length;
428
+ var i = -1;
429
+
430
+ function next() {
431
+ i++;
432
+ var k = keys[i];
433
+
434
+ if (i < len) {
435
+ iter(k, obj[k], i, len, next);
436
+ } else {
437
+ cb();
438
+ }
439
+ }
440
+
441
+ next();
442
+ }
443
+
444
+ exports.asyncFor = asyncFor;
445
+
446
+ function indexOf(arr, searchElement, fromIndex) {
447
+ return Array.prototype.indexOf.call(arr || [], searchElement, fromIndex);
448
+ }
449
+
450
+ exports.indexOf = indexOf;
451
+
452
+ function keys_(obj) {
453
+ /* eslint-disable no-restricted-syntax */
454
+ var arr = [];
455
+
456
+ for (var k in obj) {
457
+ if (hasOwnProp(obj, k)) {
458
+ arr.push(k);
459
+ }
460
+ }
461
+
462
+ return arr;
463
+ }
464
+
465
+ exports.keys = keys_;
466
+
467
+ function _entries(obj) {
468
+ return keys_(obj).map(function (k) {
469
+ return [k, obj[k]];
470
+ });
471
+ }
472
+
473
+ exports._entries = _entries;
474
+
475
+ function _values(obj) {
476
+ return keys_(obj).map(function (k) {
477
+ return obj[k];
478
+ });
479
+ }
480
+
481
+ exports._values = _values;
482
+
483
+ function extend(obj1, obj2) {
484
+ obj1 = obj1 || {};
485
+ keys_(obj2).forEach(function (k) {
486
+ obj1[k] = obj2[k];
487
+ });
488
+ return obj1;
489
+ }
490
+
491
+ exports._assign = exports.extend = extend;
492
+
493
+ function inOperator(key, val) {
494
+ if (isArray(val) || isString(val)) {
495
+ return val.indexOf(key) !== -1;
496
+ } else if (isObject(val)) {
497
+ return key in val;
498
+ }
499
+
500
+ throw new Error('Cannot use "in" operator to search for "' + key + '" in unexpected types.');
501
+ }
502
+
503
+ exports.inOperator = inOperator;
504
+
505
+ /***/ }),
506
+ /* 2 */
507
+ /***/ (function(module, exports, __webpack_require__) {
508
+
509
+ "use strict";
510
+
511
+
512
+ var lib = __webpack_require__(1);
513
+
514
+ var arrayFrom = Array.from;
515
+ var supportsIterators = typeof Symbol === 'function' && Symbol.iterator && typeof arrayFrom === 'function'; // Frames keep track of scoping both at compile-time and run-time so
516
+ // we know how to access variables. Block tags can introduce special
517
+ // variables, for example.
518
+
519
+ var Frame = /*#__PURE__*/function () {
520
+ function Frame(parent, isolateWrites) {
521
+ this.variables = Object.create(null);
522
+ this.parent = parent;
523
+ this.topLevel = false; // if this is true, writes (set) should never propagate upwards past
524
+ // this frame to its parent (though reads may).
525
+
526
+ this.isolateWrites = isolateWrites;
527
+ }
528
+
529
+ var _proto = Frame.prototype;
530
+
531
+ _proto.set = function set(name, val, resolveUp) {
532
+ // Allow variables with dots by automatically creating the
533
+ // nested structure
534
+ var parts = name.split('.');
535
+ var obj = this.variables;
536
+ var frame = this;
537
+
538
+ if (resolveUp) {
539
+ if (frame = this.resolve(parts[0], true)) {
540
+ frame.set(name, val);
541
+ return;
542
+ }
543
+ }
544
+
545
+ for (var i = 0; i < parts.length - 1; i++) {
546
+ var id = parts[i];
547
+
548
+ if (!obj[id]) {
549
+ obj[id] = {};
550
+ }
551
+
552
+ obj = obj[id];
553
+ }
554
+
555
+ obj[parts[parts.length - 1]] = val;
556
+ };
557
+
558
+ _proto.get = function get(name) {
559
+ var val = this.variables[name];
560
+
561
+ if (val !== undefined) {
562
+ return val;
563
+ }
564
+
565
+ return null;
566
+ };
567
+
568
+ _proto.lookup = function lookup(name) {
569
+ var p = this.parent;
570
+ var val = this.variables[name];
571
+
572
+ if (val !== undefined) {
573
+ return val;
574
+ }
575
+
576
+ return p && p.lookup(name);
577
+ };
578
+
579
+ _proto.resolve = function resolve(name, forWrite) {
580
+ var p = forWrite && this.isolateWrites ? undefined : this.parent;
581
+ var val = this.variables[name];
582
+
583
+ if (val !== undefined) {
584
+ return this;
585
+ }
586
+
587
+ return p && p.resolve(name);
588
+ };
589
+
590
+ _proto.push = function push(isolateWrites) {
591
+ return new Frame(this, isolateWrites);
592
+ };
593
+
594
+ _proto.pop = function pop() {
595
+ return this.parent;
596
+ };
597
+
598
+ return Frame;
599
+ }();
600
+
601
+ function makeMacro(argNames, kwargNames, func) {
602
+ return function macro() {
603
+ for (var _len = arguments.length, macroArgs = new Array(_len), _key = 0; _key < _len; _key++) {
604
+ macroArgs[_key] = arguments[_key];
605
+ }
606
+
607
+ var argCount = numArgs(macroArgs);
608
+ var args;
609
+ var kwargs = getKeywordArgs(macroArgs);
610
+
611
+ if (argCount > argNames.length) {
612
+ args = macroArgs.slice(0, argNames.length); // Positional arguments that should be passed in as
613
+ // keyword arguments (essentially default values)
614
+
615
+ macroArgs.slice(args.length, argCount).forEach(function (val, i) {
616
+ if (i < kwargNames.length) {
617
+ kwargs[kwargNames[i]] = val;
618
+ }
619
+ });
620
+ args.push(kwargs);
621
+ } else if (argCount < argNames.length) {
622
+ args = macroArgs.slice(0, argCount);
623
+
624
+ for (var i = argCount; i < argNames.length; i++) {
625
+ var arg = argNames[i]; // Keyword arguments that should be passed as
626
+ // positional arguments, i.e. the caller explicitly
627
+ // used the name of a positional arg
628
+
629
+ args.push(kwargs[arg]);
630
+ delete kwargs[arg];
631
+ }
632
+
633
+ args.push(kwargs);
634
+ } else {
635
+ args = macroArgs;
636
+ }
637
+
638
+ return func.apply(this, args);
639
+ };
640
+ }
641
+
642
+ function makeKeywordArgs(obj) {
643
+ obj.__keywords = true;
644
+ return obj;
645
+ }
646
+
647
+ function isKeywordArgs(obj) {
648
+ return obj && Object.prototype.hasOwnProperty.call(obj, '__keywords');
649
+ }
650
+
651
+ function getKeywordArgs(args) {
652
+ var len = args.length;
653
+
654
+ if (len) {
655
+ var lastArg = args[len - 1];
656
+
657
+ if (isKeywordArgs(lastArg)) {
658
+ return lastArg;
659
+ }
660
+ }
661
+
662
+ return {};
663
+ }
664
+
665
+ function numArgs(args) {
666
+ var len = args.length;
667
+
668
+ if (len === 0) {
669
+ return 0;
670
+ }
671
+
672
+ var lastArg = args[len - 1];
673
+
674
+ if (isKeywordArgs(lastArg)) {
675
+ return len - 1;
676
+ } else {
677
+ return len;
678
+ }
679
+ } // A SafeString object indicates that the string should not be
680
+ // autoescaped. This happens magically because autoescaping only
681
+ // occurs on primitive string objects.
682
+
683
+
684
+ function SafeString(val) {
685
+ if (typeof val !== 'string') {
686
+ return val;
687
+ }
688
+
689
+ this.val = val;
690
+ this.length = val.length;
691
+ }
692
+
693
+ SafeString.prototype = Object.create(String.prototype, {
694
+ length: {
695
+ writable: true,
696
+ configurable: true,
697
+ value: 0
698
+ }
699
+ });
700
+
701
+ SafeString.prototype.valueOf = function valueOf() {
702
+ return this.val;
703
+ };
704
+
705
+ SafeString.prototype.toString = function toString() {
706
+ return this.val;
707
+ };
708
+
709
+ function copySafeness(dest, target) {
710
+ if (dest instanceof SafeString) {
711
+ return new SafeString(target);
712
+ }
713
+
714
+ return target.toString();
715
+ }
716
+
717
+ function markSafe(val) {
718
+ var type = typeof val;
719
+
720
+ if (type === 'string') {
721
+ return new SafeString(val);
722
+ } else if (type !== 'function') {
723
+ return val;
724
+ } else {
725
+ return function wrapSafe(args) {
726
+ var ret = val.apply(this, arguments);
727
+
728
+ if (typeof ret === 'string') {
729
+ return new SafeString(ret);
730
+ }
731
+
732
+ return ret;
733
+ };
734
+ }
735
+ }
736
+
737
+ function suppressValue(val, autoescape) {
738
+ val = val !== undefined && val !== null ? val : '';
739
+
740
+ if (autoescape && !(val instanceof SafeString)) {
741
+ val = lib.escape(val.toString());
742
+ }
743
+
744
+ return val;
745
+ }
746
+
747
+ function ensureDefined(val, lineno, colno) {
748
+ if (val === null || val === undefined) {
749
+ throw new lib.TemplateError('attempted to output null or undefined value', lineno + 1, colno + 1);
750
+ }
751
+
752
+ return val;
753
+ }
754
+
755
+ function memberLookup(obj, val) {
756
+ if (obj === undefined || obj === null) {
757
+ return undefined;
758
+ }
759
+
760
+ if (typeof obj[val] === 'function') {
761
+ return function () {
762
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
763
+ args[_key2] = arguments[_key2];
764
+ }
765
+
766
+ return obj[val].apply(obj, args);
767
+ };
768
+ }
769
+
770
+ return obj[val];
771
+ }
772
+
773
+ function callWrap(obj, name, context, args) {
774
+ if (!obj) {
775
+ throw new Error('Unable to call `' + name + '`, which is undefined or falsey');
776
+ } else if (typeof obj !== 'function') {
777
+ throw new Error('Unable to call `' + name + '`, which is not a function');
778
+ }
779
+
780
+ return obj.apply(context, args);
781
+ }
782
+
783
+ function contextOrFrameLookup(context, frame, name) {
784
+ var val = frame.lookup(name);
785
+ return val !== undefined ? val : context.lookup(name);
786
+ }
787
+
788
+ function handleError(error, lineno, colno) {
789
+ if (error.lineno) {
790
+ return error;
791
+ } else {
792
+ return new lib.TemplateError(error, lineno, colno);
793
+ }
794
+ }
795
+
796
+ function asyncEach(arr, dimen, iter, cb) {
797
+ if (lib.isArray(arr)) {
798
+ var len = arr.length;
799
+ lib.asyncIter(arr, function iterCallback(item, i, next) {
800
+ switch (dimen) {
801
+ case 1:
802
+ iter(item, i, len, next);
803
+ break;
804
+
805
+ case 2:
806
+ iter(item[0], item[1], i, len, next);
807
+ break;
808
+
809
+ case 3:
810
+ iter(item[0], item[1], item[2], i, len, next);
811
+ break;
812
+
813
+ default:
814
+ item.push(i, len, next);
815
+ iter.apply(this, item);
816
+ }
817
+ }, cb);
818
+ } else {
819
+ lib.asyncFor(arr, function iterCallback(key, val, i, len, next) {
820
+ iter(key, val, i, len, next);
821
+ }, cb);
822
+ }
823
+ }
824
+
825
+ function asyncAll(arr, dimen, func, cb) {
826
+ var finished = 0;
827
+ var len;
828
+ var outputArr;
829
+
830
+ function done(i, output) {
831
+ finished++;
832
+ outputArr[i] = output;
833
+
834
+ if (finished === len) {
835
+ cb(null, outputArr.join(''));
836
+ }
837
+ }
838
+
839
+ if (lib.isArray(arr)) {
840
+ len = arr.length;
841
+ outputArr = new Array(len);
842
+
843
+ if (len === 0) {
844
+ cb(null, '');
845
+ } else {
846
+ for (var i = 0; i < arr.length; i++) {
847
+ var item = arr[i];
848
+
849
+ switch (dimen) {
850
+ case 1:
851
+ func(item, i, len, done);
852
+ break;
853
+
854
+ case 2:
855
+ func(item[0], item[1], i, len, done);
856
+ break;
857
+
858
+ case 3:
859
+ func(item[0], item[1], item[2], i, len, done);
860
+ break;
861
+
862
+ default:
863
+ item.push(i, len, done);
864
+ func.apply(this, item);
865
+ }
866
+ }
867
+ }
868
+ } else {
869
+ var keys = lib.keys(arr || {});
870
+ len = keys.length;
871
+ outputArr = new Array(len);
872
+
873
+ if (len === 0) {
874
+ cb(null, '');
875
+ } else {
876
+ for (var _i = 0; _i < keys.length; _i++) {
877
+ var k = keys[_i];
878
+ func(k, arr[k], _i, len, done);
879
+ }
880
+ }
881
+ }
882
+ }
883
+
884
+ function fromIterator(arr) {
885
+ if (typeof arr !== 'object' || arr === null || lib.isArray(arr)) {
886
+ return arr;
887
+ } else if (supportsIterators && Symbol.iterator in arr) {
888
+ return arrayFrom(arr);
889
+ } else {
890
+ return arr;
891
+ }
892
+ }
893
+
894
+ module.exports = {
895
+ Frame: Frame,
896
+ makeMacro: makeMacro,
897
+ makeKeywordArgs: makeKeywordArgs,
898
+ numArgs: numArgs,
899
+ suppressValue: suppressValue,
900
+ ensureDefined: ensureDefined,
901
+ memberLookup: memberLookup,
902
+ contextOrFrameLookup: contextOrFrameLookup,
903
+ callWrap: callWrap,
904
+ handleError: handleError,
905
+ isArray: lib.isArray,
906
+ keys: lib.keys,
907
+ SafeString: SafeString,
908
+ copySafeness: copySafeness,
909
+ markSafe: markSafe,
910
+ asyncEach: asyncEach,
911
+ asyncAll: asyncAll,
912
+ inOperator: lib.inOperator,
913
+ fromIterator: fromIterator
914
+ };
915
+
916
+ /***/ }),
917
+ /* 3 */
918
+ /***/ (function(module, exports, __webpack_require__) {
919
+
920
+ "use strict";
921
+
922
+
923
+ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
924
+
925
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
926
+
927
+ var Loader = __webpack_require__(4);
928
+
929
+ var PrecompiledLoader = /*#__PURE__*/function (_Loader) {
930
+ _inheritsLoose(PrecompiledLoader, _Loader);
931
+
932
+ function PrecompiledLoader(compiledTemplates) {
933
+ var _this;
934
+
935
+ _this = _Loader.call(this) || this;
936
+ _this.precompiled = compiledTemplates || {};
937
+ return _this;
938
+ }
939
+
940
+ var _proto = PrecompiledLoader.prototype;
941
+
942
+ _proto.getSource = function getSource(name) {
943
+ if (this.precompiled[name]) {
944
+ return {
945
+ src: {
946
+ type: 'code',
947
+ obj: this.precompiled[name]
948
+ },
949
+ path: name
950
+ };
951
+ }
952
+
953
+ return null;
954
+ };
955
+
956
+ return PrecompiledLoader;
957
+ }(Loader);
958
+
959
+ module.exports = {
960
+ PrecompiledLoader: PrecompiledLoader
961
+ };
962
+
963
+ /***/ }),
964
+ /* 4 */
965
+ /***/ (function(module, exports, __webpack_require__) {
966
+
967
+ "use strict";
968
+
969
+
970
+ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
971
+
972
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
973
+
974
+ var path = __webpack_require__(0);
975
+
976
+ var _require = __webpack_require__(5),
977
+ EmitterObj = _require.EmitterObj;
978
+
979
+ module.exports = /*#__PURE__*/function (_EmitterObj) {
980
+ _inheritsLoose(Loader, _EmitterObj);
981
+
982
+ function Loader() {
983
+ return _EmitterObj.apply(this, arguments) || this;
984
+ }
985
+
986
+ var _proto = Loader.prototype;
987
+
988
+ _proto.resolve = function resolve(from, to) {
989
+ return path.resolve(path.dirname(from), to);
990
+ };
991
+
992
+ _proto.isRelative = function isRelative(filename) {
993
+ return filename.indexOf('./') === 0 || filename.indexOf('../') === 0;
994
+ };
995
+
996
+ return Loader;
997
+ }(EmitterObj);
998
+
999
+ /***/ }),
1000
+ /* 5 */
1001
+ /***/ (function(module, exports, __webpack_require__) {
1002
+
1003
+ "use strict";
1004
+ // A simple class system, more documentation to come
1005
+
1006
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1007
+
1008
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
1009
+
1010
+ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
1011
+
1012
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1013
+
1014
+ var EventEmitter = __webpack_require__(13);
1015
+
1016
+ var lib = __webpack_require__(1);
1017
+
1018
+ function parentWrap(parent, prop) {
1019
+ if (typeof parent !== 'function' || typeof prop !== 'function') {
1020
+ return prop;
1021
+ }
1022
+
1023
+ return function wrap() {
1024
+ // Save the current parent method
1025
+ var tmp = this.parent; // Set parent to the previous method, call, and restore
1026
+
1027
+ this.parent = parent;
1028
+ var res = prop.apply(this, arguments);
1029
+ this.parent = tmp;
1030
+ return res;
1031
+ };
1032
+ }
1033
+
1034
+ function extendClass(cls, name, props) {
1035
+ props = props || {};
1036
+ lib.keys(props).forEach(function (k) {
1037
+ props[k] = parentWrap(cls.prototype[k], props[k]);
1038
+ });
1039
+
1040
+ var subclass = /*#__PURE__*/function (_cls) {
1041
+ _inheritsLoose(subclass, _cls);
1042
+
1043
+ function subclass() {
1044
+ return _cls.apply(this, arguments) || this;
1045
+ }
1046
+
1047
+ _createClass(subclass, [{
1048
+ key: "typename",
1049
+ get: function get() {
1050
+ return name;
1051
+ }
1052
+ }]);
1053
+
1054
+ return subclass;
1055
+ }(cls);
1056
+
1057
+ lib._assign(subclass.prototype, props);
1058
+
1059
+ return subclass;
1060
+ }
1061
+
1062
+ var Obj = /*#__PURE__*/function () {
1063
+ function Obj() {
1064
+ // Unfortunately necessary for backwards compatibility
1065
+ this.init.apply(this, arguments);
1066
+ }
1067
+
1068
+ var _proto = Obj.prototype;
1069
+
1070
+ _proto.init = function init() {};
1071
+
1072
+ Obj.extend = function extend(name, props) {
1073
+ if (typeof name === 'object') {
1074
+ props = name;
1075
+ name = 'anonymous';
1076
+ }
1077
+
1078
+ return extendClass(this, name, props);
1079
+ };
1080
+
1081
+ _createClass(Obj, [{
1082
+ key: "typename",
1083
+ get: function get() {
1084
+ return this.constructor.name;
1085
+ }
1086
+ }]);
1087
+
1088
+ return Obj;
1089
+ }();
1090
+
1091
+ var EmitterObj = /*#__PURE__*/function (_EventEmitter) {
1092
+ _inheritsLoose(EmitterObj, _EventEmitter);
1093
+
1094
+ function EmitterObj() {
1095
+ var _this2;
1096
+
1097
+ var _this;
1098
+
1099
+ _this = _EventEmitter.call(this) || this; // Unfortunately necessary for backwards compatibility
1100
+
1101
+ (_this2 = _this).init.apply(_this2, arguments);
1102
+
1103
+ return _this;
1104
+ }
1105
+
1106
+ var _proto2 = EmitterObj.prototype;
1107
+
1108
+ _proto2.init = function init() {};
1109
+
1110
+ EmitterObj.extend = function extend(name, props) {
1111
+ if (typeof name === 'object') {
1112
+ props = name;
1113
+ name = 'anonymous';
1114
+ }
1115
+
1116
+ return extendClass(this, name, props);
1117
+ };
1118
+
1119
+ _createClass(EmitterObj, [{
1120
+ key: "typename",
1121
+ get: function get() {
1122
+ return this.constructor.name;
1123
+ }
1124
+ }]);
1125
+
1126
+ return EmitterObj;
1127
+ }(EventEmitter);
1128
+
1129
+ module.exports = {
1130
+ Obj: Obj,
1131
+ EmitterObj: EmitterObj
1132
+ };
1133
+
1134
+ /***/ }),
1135
+ /* 6 */
1136
+ /***/ (function(module, exports, __webpack_require__) {
1137
+
1138
+ "use strict";
1139
+
1140
+
1141
+ var lib = __webpack_require__(1);
1142
+
1143
+ var _require = __webpack_require__(7),
1144
+ Environment = _require.Environment,
1145
+ Template = _require.Template;
1146
+
1147
+ var Loader = __webpack_require__(4);
1148
+
1149
+ var loaders = __webpack_require__(3);
1150
+
1151
+ var precompile = __webpack_require__(0);
1152
+
1153
+ var compiler = __webpack_require__(0);
1154
+
1155
+ var parser = __webpack_require__(0);
1156
+
1157
+ var lexer = __webpack_require__(0);
1158
+
1159
+ var runtime = __webpack_require__(2);
1160
+
1161
+ var nodes = __webpack_require__(0);
1162
+
1163
+ var installJinjaCompat = __webpack_require__(17); // A single instance of an environment, since this is so commonly used
1164
+
1165
+
1166
+ var e;
1167
+
1168
+ function configure(templatesPath, opts) {
1169
+ opts = opts || {};
1170
+
1171
+ if (lib.isObject(templatesPath)) {
1172
+ opts = templatesPath;
1173
+ templatesPath = null;
1174
+ }
1175
+
1176
+ var TemplateLoader;
1177
+
1178
+ if (loaders.FileSystemLoader) {
1179
+ TemplateLoader = new loaders.FileSystemLoader(templatesPath, {
1180
+ watch: opts.watch,
1181
+ noCache: opts.noCache
1182
+ });
1183
+ } else if (loaders.WebLoader) {
1184
+ TemplateLoader = new loaders.WebLoader(templatesPath, {
1185
+ useCache: opts.web && opts.web.useCache,
1186
+ async: opts.web && opts.web.async
1187
+ });
1188
+ }
1189
+
1190
+ e = new Environment(TemplateLoader, opts);
1191
+
1192
+ if (opts && opts.express) {
1193
+ e.express(opts.express);
1194
+ }
1195
+
1196
+ return e;
1197
+ }
1198
+
1199
+ module.exports = {
1200
+ Environment: Environment,
1201
+ Template: Template,
1202
+ Loader: Loader,
1203
+ FileSystemLoader: loaders.FileSystemLoader,
1204
+ NodeResolveLoader: loaders.NodeResolveLoader,
1205
+ PrecompiledLoader: loaders.PrecompiledLoader,
1206
+ WebLoader: loaders.WebLoader,
1207
+ compiler: compiler,
1208
+ parser: parser,
1209
+ lexer: lexer,
1210
+ runtime: runtime,
1211
+ lib: lib,
1212
+ nodes: nodes,
1213
+ installJinjaCompat: installJinjaCompat,
1214
+ configure: configure,
1215
+ reset: function reset() {
1216
+ e = undefined;
1217
+ },
1218
+ compile: function compile(src, env, path, eagerCompile) {
1219
+ if (!e) {
1220
+ configure();
1221
+ }
1222
+
1223
+ return new Template(src, env, path, eagerCompile);
1224
+ },
1225
+ render: function render(name, ctx, cb) {
1226
+ if (!e) {
1227
+ configure();
1228
+ }
1229
+
1230
+ return e.render(name, ctx, cb);
1231
+ },
1232
+ renderString: function renderString(src, ctx, cb) {
1233
+ if (!e) {
1234
+ configure();
1235
+ }
1236
+
1237
+ return e.renderString(src, ctx, cb);
1238
+ },
1239
+ precompile: precompile ? precompile.precompile : undefined,
1240
+ precompileString: precompile ? precompile.precompileString : undefined
1241
+ };
1242
+
1243
+ /***/ }),
1244
+ /* 7 */
1245
+ /***/ (function(module, exports, __webpack_require__) {
1246
+
1247
+ "use strict";
1248
+
1249
+
1250
+ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
1251
+
1252
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1253
+
1254
+ var asap = __webpack_require__(8);
1255
+
1256
+ var _waterfall = __webpack_require__(11);
1257
+
1258
+ var lib = __webpack_require__(1);
1259
+
1260
+ var compiler = __webpack_require__(0);
1261
+
1262
+ var filters = __webpack_require__(12);
1263
+
1264
+ var _require = __webpack_require__(3),
1265
+ FileSystemLoader = _require.FileSystemLoader,
1266
+ WebLoader = _require.WebLoader,
1267
+ PrecompiledLoader = _require.PrecompiledLoader;
1268
+
1269
+ var tests = __webpack_require__(14);
1270
+
1271
+ var globals = __webpack_require__(15);
1272
+
1273
+ var _require2 = __webpack_require__(5),
1274
+ Obj = _require2.Obj,
1275
+ EmitterObj = _require2.EmitterObj;
1276
+
1277
+ var globalRuntime = __webpack_require__(2);
1278
+
1279
+ var handleError = globalRuntime.handleError,
1280
+ Frame = globalRuntime.Frame;
1281
+
1282
+ var expressApp = __webpack_require__(16); // If the user is using the async API, *always* call it
1283
+ // asynchronously even if the template was synchronous.
1284
+
1285
+
1286
+ function callbackAsap(cb, err, res) {
1287
+ asap(function () {
1288
+ cb(err, res);
1289
+ });
1290
+ }
1291
+ /**
1292
+ * A no-op template, for use with {% include ignore missing %}
1293
+ */
1294
+
1295
+
1296
+ var noopTmplSrc = {
1297
+ type: 'code',
1298
+ obj: {
1299
+ root: function root(env, context, frame, runtime, cb) {
1300
+ try {
1301
+ cb(null, '');
1302
+ } catch (e) {
1303
+ cb(handleError(e, null, null));
1304
+ }
1305
+ }
1306
+ }
1307
+ };
1308
+
1309
+ var Environment = /*#__PURE__*/function (_EmitterObj) {
1310
+ _inheritsLoose(Environment, _EmitterObj);
1311
+
1312
+ function Environment() {
1313
+ return _EmitterObj.apply(this, arguments) || this;
1314
+ }
1315
+
1316
+ var _proto = Environment.prototype;
1317
+
1318
+ _proto.init = function init(loaders, opts) {
1319
+ var _this = this;
1320
+
1321
+ // The dev flag determines the trace that'll be shown on errors.
1322
+ // If set to true, returns the full trace from the error point,
1323
+ // otherwise will return trace starting from Template.render
1324
+ // (the full trace from within nunjucks may confuse developers using
1325
+ // the library)
1326
+ // defaults to false
1327
+ opts = this.opts = opts || {};
1328
+ this.opts.dev = !!opts.dev; // The autoescape flag sets global autoescaping. If true,
1329
+ // every string variable will be escaped by default.
1330
+ // If false, strings can be manually escaped using the `escape` filter.
1331
+ // defaults to true
1332
+
1333
+ this.opts.autoescape = opts.autoescape != null ? opts.autoescape : true; // If true, this will make the system throw errors if trying
1334
+ // to output a null or undefined value
1335
+
1336
+ this.opts.throwOnUndefined = !!opts.throwOnUndefined;
1337
+ this.opts.trimBlocks = !!opts.trimBlocks;
1338
+ this.opts.lstripBlocks = !!opts.lstripBlocks;
1339
+ this.loaders = [];
1340
+
1341
+ if (!loaders) {
1342
+ // The filesystem loader is only available server-side
1343
+ if (FileSystemLoader) {
1344
+ this.loaders = [new FileSystemLoader('views')];
1345
+ } else if (WebLoader) {
1346
+ this.loaders = [new WebLoader('/views')];
1347
+ }
1348
+ } else {
1349
+ this.loaders = lib.isArray(loaders) ? loaders : [loaders];
1350
+ } // It's easy to use precompiled templates: just include them
1351
+ // before you configure nunjucks and this will automatically
1352
+ // pick it up and use it
1353
+
1354
+
1355
+ if (typeof window !== 'undefined' && window.nunjucksPrecompiled) {
1356
+ this.loaders.unshift(new PrecompiledLoader(window.nunjucksPrecompiled));
1357
+ }
1358
+
1359
+ this._initLoaders();
1360
+
1361
+ this.globals = globals();
1362
+ this.filters = {};
1363
+ this.tests = {};
1364
+ this.asyncFilters = [];
1365
+ this.extensions = {};
1366
+ this.extensionsList = [];
1367
+
1368
+ lib._entries(filters).forEach(function (_ref) {
1369
+ var name = _ref[0],
1370
+ filter = _ref[1];
1371
+ return _this.addFilter(name, filter);
1372
+ });
1373
+
1374
+ lib._entries(tests).forEach(function (_ref2) {
1375
+ var name = _ref2[0],
1376
+ test = _ref2[1];
1377
+ return _this.addTest(name, test);
1378
+ });
1379
+ };
1380
+
1381
+ _proto._initLoaders = function _initLoaders() {
1382
+ var _this2 = this;
1383
+
1384
+ this.loaders.forEach(function (loader) {
1385
+ // Caching and cache busting
1386
+ loader.cache = {};
1387
+
1388
+ if (typeof loader.on === 'function') {
1389
+ loader.on('update', function (name, fullname) {
1390
+ loader.cache[name] = null;
1391
+
1392
+ _this2.emit('update', name, fullname, loader);
1393
+ });
1394
+ loader.on('load', function (name, source) {
1395
+ _this2.emit('load', name, source, loader);
1396
+ });
1397
+ }
1398
+ });
1399
+ };
1400
+
1401
+ _proto.invalidateCache = function invalidateCache() {
1402
+ this.loaders.forEach(function (loader) {
1403
+ loader.cache = {};
1404
+ });
1405
+ };
1406
+
1407
+ _proto.addExtension = function addExtension(name, extension) {
1408
+ extension.__name = name;
1409
+ this.extensions[name] = extension;
1410
+ this.extensionsList.push(extension);
1411
+ return this;
1412
+ };
1413
+
1414
+ _proto.removeExtension = function removeExtension(name) {
1415
+ var extension = this.getExtension(name);
1416
+
1417
+ if (!extension) {
1418
+ return;
1419
+ }
1420
+
1421
+ this.extensionsList = lib.without(this.extensionsList, extension);
1422
+ delete this.extensions[name];
1423
+ };
1424
+
1425
+ _proto.getExtension = function getExtension(name) {
1426
+ return this.extensions[name];
1427
+ };
1428
+
1429
+ _proto.hasExtension = function hasExtension(name) {
1430
+ return !!this.extensions[name];
1431
+ };
1432
+
1433
+ _proto.addGlobal = function addGlobal(name, value) {
1434
+ this.globals[name] = value;
1435
+ return this;
1436
+ };
1437
+
1438
+ _proto.getGlobal = function getGlobal(name) {
1439
+ if (typeof this.globals[name] === 'undefined') {
1440
+ throw new Error('global not found: ' + name);
1441
+ }
1442
+
1443
+ return this.globals[name];
1444
+ };
1445
+
1446
+ _proto.addFilter = function addFilter(name, func, async) {
1447
+ var wrapped = func;
1448
+
1449
+ if (async) {
1450
+ this.asyncFilters.push(name);
1451
+ }
1452
+
1453
+ this.filters[name] = wrapped;
1454
+ return this;
1455
+ };
1456
+
1457
+ _proto.getFilter = function getFilter(name) {
1458
+ if (!this.filters[name]) {
1459
+ throw new Error('filter not found: ' + name);
1460
+ }
1461
+
1462
+ return this.filters[name];
1463
+ };
1464
+
1465
+ _proto.addTest = function addTest(name, func) {
1466
+ this.tests[name] = func;
1467
+ return this;
1468
+ };
1469
+
1470
+ _proto.getTest = function getTest(name) {
1471
+ if (!this.tests[name]) {
1472
+ throw new Error('test not found: ' + name);
1473
+ }
1474
+
1475
+ return this.tests[name];
1476
+ };
1477
+
1478
+ _proto.resolveTemplate = function resolveTemplate(loader, parentName, filename) {
1479
+ var isRelative = loader.isRelative && parentName ? loader.isRelative(filename) : false;
1480
+ return isRelative && loader.resolve ? loader.resolve(parentName, filename) : filename;
1481
+ };
1482
+
1483
+ _proto.getTemplate = function getTemplate(name, eagerCompile, parentName, ignoreMissing, cb) {
1484
+ var _this3 = this;
1485
+
1486
+ var that = this;
1487
+ var tmpl = null;
1488
+
1489
+ if (name && name.raw) {
1490
+ // this fixes autoescape for templates referenced in symbols
1491
+ name = name.raw;
1492
+ }
1493
+
1494
+ if (lib.isFunction(parentName)) {
1495
+ cb = parentName;
1496
+ parentName = null;
1497
+ eagerCompile = eagerCompile || false;
1498
+ }
1499
+
1500
+ if (lib.isFunction(eagerCompile)) {
1501
+ cb = eagerCompile;
1502
+ eagerCompile = false;
1503
+ }
1504
+
1505
+ if (name instanceof Template) {
1506
+ tmpl = name;
1507
+ } else if (typeof name !== 'string') {
1508
+ throw new Error('template names must be a string: ' + name);
1509
+ } else {
1510
+ for (var i = 0; i < this.loaders.length; i++) {
1511
+ var loader = this.loaders[i];
1512
+ tmpl = loader.cache[this.resolveTemplate(loader, parentName, name)];
1513
+
1514
+ if (tmpl) {
1515
+ break;
1516
+ }
1517
+ }
1518
+ }
1519
+
1520
+ if (tmpl) {
1521
+ if (eagerCompile) {
1522
+ tmpl.compile();
1523
+ }
1524
+
1525
+ if (cb) {
1526
+ cb(null, tmpl);
1527
+ return undefined;
1528
+ } else {
1529
+ return tmpl;
1530
+ }
1531
+ }
1532
+
1533
+ var syncResult;
1534
+
1535
+ var createTemplate = function createTemplate(err, info) {
1536
+ if (!info && !err && !ignoreMissing) {
1537
+ err = new Error('template not found: ' + name);
1538
+ }
1539
+
1540
+ if (err) {
1541
+ if (cb) {
1542
+ cb(err);
1543
+ return;
1544
+ } else {
1545
+ throw err;
1546
+ }
1547
+ }
1548
+
1549
+ var newTmpl;
1550
+
1551
+ if (!info) {
1552
+ newTmpl = new Template(noopTmplSrc, _this3, '', eagerCompile);
1553
+ } else {
1554
+ newTmpl = new Template(info.src, _this3, info.path, eagerCompile);
1555
+
1556
+ if (!info.noCache) {
1557
+ info.loader.cache[name] = newTmpl;
1558
+ }
1559
+ }
1560
+
1561
+ if (cb) {
1562
+ cb(null, newTmpl);
1563
+ } else {
1564
+ syncResult = newTmpl;
1565
+ }
1566
+ };
1567
+
1568
+ lib.asyncIter(this.loaders, function (loader, i, next, done) {
1569
+ function handle(err, src) {
1570
+ if (err) {
1571
+ done(err);
1572
+ } else if (src) {
1573
+ src.loader = loader;
1574
+ done(null, src);
1575
+ } else {
1576
+ next();
1577
+ }
1578
+ } // Resolve name relative to parentName
1579
+
1580
+
1581
+ name = that.resolveTemplate(loader, parentName, name);
1582
+
1583
+ if (loader.async) {
1584
+ loader.getSource(name, handle);
1585
+ } else {
1586
+ handle(null, loader.getSource(name));
1587
+ }
1588
+ }, createTemplate);
1589
+ return syncResult;
1590
+ };
1591
+
1592
+ _proto.express = function express(app) {
1593
+ return expressApp(this, app);
1594
+ };
1595
+
1596
+ _proto.render = function render(name, ctx, cb) {
1597
+ if (lib.isFunction(ctx)) {
1598
+ cb = ctx;
1599
+ ctx = null;
1600
+ } // We support a synchronous API to make it easier to migrate
1601
+ // existing code to async. This works because if you don't do
1602
+ // anything async work, the whole thing is actually run
1603
+ // synchronously.
1604
+
1605
+
1606
+ var syncResult = null;
1607
+ this.getTemplate(name, function (err, tmpl) {
1608
+ if (err && cb) {
1609
+ callbackAsap(cb, err);
1610
+ } else if (err) {
1611
+ throw err;
1612
+ } else {
1613
+ syncResult = tmpl.render(ctx, cb);
1614
+ }
1615
+ });
1616
+ return syncResult;
1617
+ };
1618
+
1619
+ _proto.renderString = function renderString(src, ctx, opts, cb) {
1620
+ if (lib.isFunction(opts)) {
1621
+ cb = opts;
1622
+ opts = {};
1623
+ }
1624
+
1625
+ opts = opts || {};
1626
+ var tmpl = new Template(src, this, opts.path);
1627
+ return tmpl.render(ctx, cb);
1628
+ };
1629
+
1630
+ _proto.waterfall = function waterfall(tasks, callback, forceAsync) {
1631
+ return _waterfall(tasks, callback, forceAsync);
1632
+ };
1633
+
1634
+ return Environment;
1635
+ }(EmitterObj);
1636
+
1637
+ var Context = /*#__PURE__*/function (_Obj) {
1638
+ _inheritsLoose(Context, _Obj);
1639
+
1640
+ function Context() {
1641
+ return _Obj.apply(this, arguments) || this;
1642
+ }
1643
+
1644
+ var _proto2 = Context.prototype;
1645
+
1646
+ _proto2.init = function init(ctx, blocks, env) {
1647
+ var _this4 = this;
1648
+
1649
+ // Has to be tied to an environment so we can tap into its globals.
1650
+ this.env = env || new Environment(); // Make a duplicate of ctx
1651
+
1652
+ this.ctx = lib.extend({}, ctx);
1653
+ this.blocks = {};
1654
+ this.exported = [];
1655
+ lib.keys(blocks).forEach(function (name) {
1656
+ _this4.addBlock(name, blocks[name]);
1657
+ });
1658
+ };
1659
+
1660
+ _proto2.lookup = function lookup(name) {
1661
+ // This is one of the most called functions, so optimize for
1662
+ // the typical case where the name isn't in the globals
1663
+ if (name in this.env.globals && !(name in this.ctx)) {
1664
+ return this.env.globals[name];
1665
+ } else {
1666
+ return this.ctx[name];
1667
+ }
1668
+ };
1669
+
1670
+ _proto2.setVariable = function setVariable(name, val) {
1671
+ this.ctx[name] = val;
1672
+ };
1673
+
1674
+ _proto2.getVariables = function getVariables() {
1675
+ return this.ctx;
1676
+ };
1677
+
1678
+ _proto2.addBlock = function addBlock(name, block) {
1679
+ this.blocks[name] = this.blocks[name] || [];
1680
+ this.blocks[name].push(block);
1681
+ return this;
1682
+ };
1683
+
1684
+ _proto2.getBlock = function getBlock(name) {
1685
+ if (!this.blocks[name]) {
1686
+ throw new Error('unknown block "' + name + '"');
1687
+ }
1688
+
1689
+ return this.blocks[name][0];
1690
+ };
1691
+
1692
+ _proto2.getSuper = function getSuper(env, name, block, frame, runtime, cb) {
1693
+ var idx = lib.indexOf(this.blocks[name] || [], block);
1694
+ var blk = this.blocks[name][idx + 1];
1695
+ var context = this;
1696
+
1697
+ if (idx === -1 || !blk) {
1698
+ throw new Error('no super block available for "' + name + '"');
1699
+ }
1700
+
1701
+ blk(env, context, frame, runtime, cb);
1702
+ };
1703
+
1704
+ _proto2.addExport = function addExport(name) {
1705
+ this.exported.push(name);
1706
+ };
1707
+
1708
+ _proto2.getExported = function getExported() {
1709
+ var _this5 = this;
1710
+
1711
+ var exported = {};
1712
+ this.exported.forEach(function (name) {
1713
+ exported[name] = _this5.ctx[name];
1714
+ });
1715
+ return exported;
1716
+ };
1717
+
1718
+ return Context;
1719
+ }(Obj);
1720
+
1721
+ var Template = /*#__PURE__*/function (_Obj2) {
1722
+ _inheritsLoose(Template, _Obj2);
1723
+
1724
+ function Template() {
1725
+ return _Obj2.apply(this, arguments) || this;
1726
+ }
1727
+
1728
+ var _proto3 = Template.prototype;
1729
+
1730
+ _proto3.init = function init(src, env, path, eagerCompile) {
1731
+ this.env = env || new Environment();
1732
+
1733
+ if (lib.isObject(src)) {
1734
+ switch (src.type) {
1735
+ case 'code':
1736
+ this.tmplProps = src.obj;
1737
+ break;
1738
+
1739
+ case 'string':
1740
+ this.tmplStr = src.obj;
1741
+ break;
1742
+
1743
+ default:
1744
+ throw new Error("Unexpected template object type " + src.type + "; expected 'code', or 'string'");
1745
+ }
1746
+ } else if (lib.isString(src)) {
1747
+ this.tmplStr = src;
1748
+ } else {
1749
+ throw new Error('src must be a string or an object describing the source');
1750
+ }
1751
+
1752
+ this.path = path;
1753
+
1754
+ if (eagerCompile) {
1755
+ try {
1756
+ this._compile();
1757
+ } catch (err) {
1758
+ throw lib._prettifyError(this.path, this.env.opts.dev, err);
1759
+ }
1760
+ } else {
1761
+ this.compiled = false;
1762
+ }
1763
+ };
1764
+
1765
+ _proto3.render = function render(ctx, parentFrame, cb) {
1766
+ var _this6 = this;
1767
+
1768
+ if (typeof ctx === 'function') {
1769
+ cb = ctx;
1770
+ ctx = {};
1771
+ } else if (typeof parentFrame === 'function') {
1772
+ cb = parentFrame;
1773
+ parentFrame = null;
1774
+ } // If there is a parent frame, we are being called from internal
1775
+ // code of another template, and the internal system
1776
+ // depends on the sync/async nature of the parent template
1777
+ // to be inherited, so force an async callback
1778
+
1779
+
1780
+ var forceAsync = !parentFrame; // Catch compile errors for async rendering
1781
+
1782
+ try {
1783
+ this.compile();
1784
+ } catch (e) {
1785
+ var err = lib._prettifyError(this.path, this.env.opts.dev, e);
1786
+
1787
+ if (cb) {
1788
+ return callbackAsap(cb, err);
1789
+ } else {
1790
+ throw err;
1791
+ }
1792
+ }
1793
+
1794
+ var context = new Context(ctx || {}, this.blocks, this.env);
1795
+ var frame = parentFrame ? parentFrame.push(true) : new Frame();
1796
+ frame.topLevel = true;
1797
+ var syncResult = null;
1798
+ var didError = false;
1799
+ this.rootRenderFunc(this.env, context, frame, globalRuntime, function (err, res) {
1800
+ // TODO: this is actually a bug in the compiled template (because waterfall
1801
+ // tasks are both not passing errors up the chain of callbacks AND are not
1802
+ // causing a return from the top-most render function). But fixing that
1803
+ // will require a more substantial change to the compiler.
1804
+ if (didError && cb && typeof res !== 'undefined') {
1805
+ // prevent multiple calls to cb
1806
+ return;
1807
+ }
1808
+
1809
+ if (err) {
1810
+ err = lib._prettifyError(_this6.path, _this6.env.opts.dev, err);
1811
+ didError = true;
1812
+ }
1813
+
1814
+ if (cb) {
1815
+ if (forceAsync) {
1816
+ callbackAsap(cb, err, res);
1817
+ } else {
1818
+ cb(err, res);
1819
+ }
1820
+ } else {
1821
+ if (err) {
1822
+ throw err;
1823
+ }
1824
+
1825
+ syncResult = res;
1826
+ }
1827
+ });
1828
+ return syncResult;
1829
+ };
1830
+
1831
+ _proto3.getExported = function getExported(ctx, parentFrame, cb) {
1832
+ // eslint-disable-line consistent-return
1833
+ if (typeof ctx === 'function') {
1834
+ cb = ctx;
1835
+ ctx = {};
1836
+ }
1837
+
1838
+ if (typeof parentFrame === 'function') {
1839
+ cb = parentFrame;
1840
+ parentFrame = null;
1841
+ } // Catch compile errors for async rendering
1842
+
1843
+
1844
+ try {
1845
+ this.compile();
1846
+ } catch (e) {
1847
+ if (cb) {
1848
+ return cb(e);
1849
+ } else {
1850
+ throw e;
1851
+ }
1852
+ }
1853
+
1854
+ var frame = parentFrame ? parentFrame.push() : new Frame();
1855
+ frame.topLevel = true; // Run the rootRenderFunc to populate the context with exported vars
1856
+
1857
+ var context = new Context(ctx || {}, this.blocks, this.env);
1858
+ this.rootRenderFunc(this.env, context, frame, globalRuntime, function (err) {
1859
+ if (err) {
1860
+ cb(err, null);
1861
+ } else {
1862
+ cb(null, context.getExported());
1863
+ }
1864
+ });
1865
+ };
1866
+
1867
+ _proto3.compile = function compile() {
1868
+ if (!this.compiled) {
1869
+ this._compile();
1870
+ }
1871
+ };
1872
+
1873
+ _proto3._compile = function _compile() {
1874
+ var props;
1875
+
1876
+ if (this.tmplProps) {
1877
+ props = this.tmplProps;
1878
+ } else {
1879
+ var source = compiler.compile(this.tmplStr, this.env.asyncFilters, this.env.extensionsList, this.path, this.env.opts);
1880
+ var func = new Function(source); // eslint-disable-line no-new-func
1881
+
1882
+ props = func();
1883
+ }
1884
+
1885
+ this.blocks = this._getBlocks(props);
1886
+ this.rootRenderFunc = props.root;
1887
+ this.compiled = true;
1888
+ };
1889
+
1890
+ _proto3._getBlocks = function _getBlocks(props) {
1891
+ var blocks = {};
1892
+ lib.keys(props).forEach(function (k) {
1893
+ if (k.slice(0, 2) === 'b_') {
1894
+ blocks[k.slice(2)] = props[k];
1895
+ }
1896
+ });
1897
+ return blocks;
1898
+ };
1899
+
1900
+ return Template;
1901
+ }(Obj);
1902
+
1903
+ module.exports = {
1904
+ Environment: Environment,
1905
+ Template: Template
1906
+ };
1907
+
1908
+ /***/ }),
1909
+ /* 8 */
1910
+ /***/ (function(module, exports, __webpack_require__) {
1911
+
1912
+ "use strict";
1913
+
1914
+
1915
+ // rawAsap provides everything we need except exception management.
1916
+ var rawAsap = __webpack_require__(9);
1917
+ // RawTasks are recycled to reduce GC churn.
1918
+ var freeTasks = [];
1919
+ // We queue errors to ensure they are thrown in right order (FIFO).
1920
+ // Array-as-queue is good enough here, since we are just dealing with exceptions.
1921
+ var pendingErrors = [];
1922
+ var requestErrorThrow = rawAsap.makeRequestCallFromTimer(throwFirstError);
1923
+
1924
+ function throwFirstError() {
1925
+ if (pendingErrors.length) {
1926
+ throw pendingErrors.shift();
1927
+ }
1928
+ }
1929
+
1930
+ /**
1931
+ * Calls a task as soon as possible after returning, in its own event, with priority
1932
+ * over other events like animation, reflow, and repaint. An error thrown from an
1933
+ * event will not interrupt, nor even substantially slow down the processing of
1934
+ * other events, but will be rather postponed to a lower priority event.
1935
+ * @param {{call}} task A callable object, typically a function that takes no
1936
+ * arguments.
1937
+ */
1938
+ module.exports = asap;
1939
+ function asap(task) {
1940
+ var rawTask;
1941
+ if (freeTasks.length) {
1942
+ rawTask = freeTasks.pop();
1943
+ } else {
1944
+ rawTask = new RawTask();
1945
+ }
1946
+ rawTask.task = task;
1947
+ rawAsap(rawTask);
1948
+ }
1949
+
1950
+ // We wrap tasks with recyclable task objects. A task object implements
1951
+ // `call`, just like a function.
1952
+ function RawTask() {
1953
+ this.task = null;
1954
+ }
1955
+
1956
+ // The sole purpose of wrapping the task is to catch the exception and recycle
1957
+ // the task object after its single use.
1958
+ RawTask.prototype.call = function () {
1959
+ try {
1960
+ this.task.call();
1961
+ } catch (error) {
1962
+ if (asap.onerror) {
1963
+ // This hook exists purely for testing purposes.
1964
+ // Its name will be periodically randomized to break any code that
1965
+ // depends on its existence.
1966
+ asap.onerror(error);
1967
+ } else {
1968
+ // In a web browser, exceptions are not fatal. However, to avoid
1969
+ // slowing down the queue of pending tasks, we rethrow the error in a
1970
+ // lower priority turn.
1971
+ pendingErrors.push(error);
1972
+ requestErrorThrow();
1973
+ }
1974
+ } finally {
1975
+ this.task = null;
1976
+ freeTasks[freeTasks.length] = this;
1977
+ }
1978
+ };
1979
+
1980
+
1981
+ /***/ }),
1982
+ /* 9 */
1983
+ /***/ (function(module, exports, __webpack_require__) {
1984
+
1985
+ "use strict";
1986
+ /* WEBPACK VAR INJECTION */(function(global) {
1987
+
1988
+ // Use the fastest means possible to execute a task in its own turn, with
1989
+ // priority over other events including IO, animation, reflow, and redraw
1990
+ // events in browsers.
1991
+ //
1992
+ // An exception thrown by a task will permanently interrupt the processing of
1993
+ // subsequent tasks. The higher level `asap` function ensures that if an
1994
+ // exception is thrown by a task, that the task queue will continue flushing as
1995
+ // soon as possible, but if you use `rawAsap` directly, you are responsible to
1996
+ // either ensure that no exceptions are thrown from your task, or to manually
1997
+ // call `rawAsap.requestFlush` if an exception is thrown.
1998
+ module.exports = rawAsap;
1999
+ function rawAsap(task) {
2000
+ if (!queue.length) {
2001
+ requestFlush();
2002
+ flushing = true;
2003
+ }
2004
+ // Equivalent to push, but avoids a function call.
2005
+ queue[queue.length] = task;
2006
+ }
2007
+
2008
+ var queue = [];
2009
+ // Once a flush has been requested, no further calls to `requestFlush` are
2010
+ // necessary until the next `flush` completes.
2011
+ var flushing = false;
2012
+ // `requestFlush` is an implementation-specific method that attempts to kick
2013
+ // off a `flush` event as quickly as possible. `flush` will attempt to exhaust
2014
+ // the event queue before yielding to the browser's own event loop.
2015
+ var requestFlush;
2016
+ // The position of the next task to execute in the task queue. This is
2017
+ // preserved between calls to `flush` so that it can be resumed if
2018
+ // a task throws an exception.
2019
+ var index = 0;
2020
+ // If a task schedules additional tasks recursively, the task queue can grow
2021
+ // unbounded. To prevent memory exhaustion, the task queue will periodically
2022
+ // truncate already-completed tasks.
2023
+ var capacity = 1024;
2024
+
2025
+ // The flush function processes all tasks that have been scheduled with
2026
+ // `rawAsap` unless and until one of those tasks throws an exception.
2027
+ // If a task throws an exception, `flush` ensures that its state will remain
2028
+ // consistent and will resume where it left off when called again.
2029
+ // However, `flush` does not make any arrangements to be called again if an
2030
+ // exception is thrown.
2031
+ function flush() {
2032
+ while (index < queue.length) {
2033
+ var currentIndex = index;
2034
+ // Advance the index before calling the task. This ensures that we will
2035
+ // begin flushing on the next task the task throws an error.
2036
+ index = index + 1;
2037
+ queue[currentIndex].call();
2038
+ // Prevent leaking memory for long chains of recursive calls to `asap`.
2039
+ // If we call `asap` within tasks scheduled by `asap`, the queue will
2040
+ // grow, but to avoid an O(n) walk for every task we execute, we don't
2041
+ // shift tasks off the queue after they have been executed.
2042
+ // Instead, we periodically shift 1024 tasks off the queue.
2043
+ if (index > capacity) {
2044
+ // Manually shift all values starting at the index back to the
2045
+ // beginning of the queue.
2046
+ for (var scan = 0, newLength = queue.length - index; scan < newLength; scan++) {
2047
+ queue[scan] = queue[scan + index];
2048
+ }
2049
+ queue.length -= index;
2050
+ index = 0;
2051
+ }
2052
+ }
2053
+ queue.length = 0;
2054
+ index = 0;
2055
+ flushing = false;
2056
+ }
2057
+
2058
+ // `requestFlush` is implemented using a strategy based on data collected from
2059
+ // every available SauceLabs Selenium web driver worker at time of writing.
2060
+ // https://docs.google.com/spreadsheets/d/1mG-5UYGup5qxGdEMWkhP6BWCz053NUb2E1QoUTU16uA/edit#gid=783724593
2061
+
2062
+ // Safari 6 and 6.1 for desktop, iPad, and iPhone are the only browsers that
2063
+ // have WebKitMutationObserver but not un-prefixed MutationObserver.
2064
+ // Must use `global` or `self` instead of `window` to work in both frames and web
2065
+ // workers. `global` is a provision of Browserify, Mr, Mrs, or Mop.
2066
+
2067
+ /* globals self */
2068
+ var scope = typeof global !== "undefined" ? global : self;
2069
+ var BrowserMutationObserver = scope.MutationObserver || scope.WebKitMutationObserver;
2070
+
2071
+ // MutationObservers are desirable because they have high priority and work
2072
+ // reliably everywhere they are implemented.
2073
+ // They are implemented in all modern browsers.
2074
+ //
2075
+ // - Android 4-4.3
2076
+ // - Chrome 26-34
2077
+ // - Firefox 14-29
2078
+ // - Internet Explorer 11
2079
+ // - iPad Safari 6-7.1
2080
+ // - iPhone Safari 7-7.1
2081
+ // - Safari 6-7
2082
+ if (typeof BrowserMutationObserver === "function") {
2083
+ requestFlush = makeRequestCallFromMutationObserver(flush);
2084
+
2085
+ // MessageChannels are desirable because they give direct access to the HTML
2086
+ // task queue, are implemented in Internet Explorer 10, Safari 5.0-1, and Opera
2087
+ // 11-12, and in web workers in many engines.
2088
+ // Although message channels yield to any queued rendering and IO tasks, they
2089
+ // would be better than imposing the 4ms delay of timers.
2090
+ // However, they do not work reliably in Internet Explorer or Safari.
2091
+
2092
+ // Internet Explorer 10 is the only browser that has setImmediate but does
2093
+ // not have MutationObservers.
2094
+ // Although setImmediate yields to the browser's renderer, it would be
2095
+ // preferrable to falling back to setTimeout since it does not have
2096
+ // the minimum 4ms penalty.
2097
+ // Unfortunately there appears to be a bug in Internet Explorer 10 Mobile (and
2098
+ // Desktop to a lesser extent) that renders both setImmediate and
2099
+ // MessageChannel useless for the purposes of ASAP.
2100
+ // https://github.com/kriskowal/q/issues/396
2101
+
2102
+ // Timers are implemented universally.
2103
+ // We fall back to timers in workers in most engines, and in foreground
2104
+ // contexts in the following browsers.
2105
+ // However, note that even this simple case requires nuances to operate in a
2106
+ // broad spectrum of browsers.
2107
+ //
2108
+ // - Firefox 3-13
2109
+ // - Internet Explorer 6-9
2110
+ // - iPad Safari 4.3
2111
+ // - Lynx 2.8.7
2112
+ } else {
2113
+ requestFlush = makeRequestCallFromTimer(flush);
2114
+ }
2115
+
2116
+ // `requestFlush` requests that the high priority event queue be flushed as
2117
+ // soon as possible.
2118
+ // This is useful to prevent an error thrown in a task from stalling the event
2119
+ // queue if the exception handled by Node.js’s
2120
+ // `process.on("uncaughtException")` or by a domain.
2121
+ rawAsap.requestFlush = requestFlush;
2122
+
2123
+ // To request a high priority event, we induce a mutation observer by toggling
2124
+ // the text of a text node between "1" and "-1".
2125
+ function makeRequestCallFromMutationObserver(callback) {
2126
+ var toggle = 1;
2127
+ var observer = new BrowserMutationObserver(callback);
2128
+ var node = document.createTextNode("");
2129
+ observer.observe(node, {characterData: true});
2130
+ return function requestCall() {
2131
+ toggle = -toggle;
2132
+ node.data = toggle;
2133
+ };
2134
+ }
2135
+
2136
+ // The message channel technique was discovered by Malte Ubl and was the
2137
+ // original foundation for this library.
2138
+ // http://www.nonblocking.io/2011/06/windownexttick.html
2139
+
2140
+ // Safari 6.0.5 (at least) intermittently fails to create message ports on a
2141
+ // page's first load. Thankfully, this version of Safari supports
2142
+ // MutationObservers, so we don't need to fall back in that case.
2143
+
2144
+ // function makeRequestCallFromMessageChannel(callback) {
2145
+ // var channel = new MessageChannel();
2146
+ // channel.port1.onmessage = callback;
2147
+ // return function requestCall() {
2148
+ // channel.port2.postMessage(0);
2149
+ // };
2150
+ // }
2151
+
2152
+ // For reasons explained above, we are also unable to use `setImmediate`
2153
+ // under any circumstances.
2154
+ // Even if we were, there is another bug in Internet Explorer 10.
2155
+ // It is not sufficient to assign `setImmediate` to `requestFlush` because
2156
+ // `setImmediate` must be called *by name* and therefore must be wrapped in a
2157
+ // closure.
2158
+ // Never forget.
2159
+
2160
+ // function makeRequestCallFromSetImmediate(callback) {
2161
+ // return function requestCall() {
2162
+ // setImmediate(callback);
2163
+ // };
2164
+ // }
2165
+
2166
+ // Safari 6.0 has a problem where timers will get lost while the user is
2167
+ // scrolling. This problem does not impact ASAP because Safari 6.0 supports
2168
+ // mutation observers, so that implementation is used instead.
2169
+ // However, if we ever elect to use timers in Safari, the prevalent work-around
2170
+ // is to add a scroll event listener that calls for a flush.
2171
+
2172
+ // `setTimeout` does not call the passed callback if the delay is less than
2173
+ // approximately 7 in web workers in Firefox 8 through 18, and sometimes not
2174
+ // even then.
2175
+
2176
+ function makeRequestCallFromTimer(callback) {
2177
+ return function requestCall() {
2178
+ // We dispatch a timeout with a specified delay of 0 for engines that
2179
+ // can reliably accommodate that request. This will usually be snapped
2180
+ // to a 4 milisecond delay, but once we're flushing, there's no delay
2181
+ // between events.
2182
+ var timeoutHandle = setTimeout(handleTimer, 0);
2183
+ // However, since this timer gets frequently dropped in Firefox
2184
+ // workers, we enlist an interval handle that will try to fire
2185
+ // an event 20 times per second until it succeeds.
2186
+ var intervalHandle = setInterval(handleTimer, 50);
2187
+
2188
+ function handleTimer() {
2189
+ // Whichever timer succeeds will cancel both timers and
2190
+ // execute the callback.
2191
+ clearTimeout(timeoutHandle);
2192
+ clearInterval(intervalHandle);
2193
+ callback();
2194
+ }
2195
+ };
2196
+ }
2197
+
2198
+ // This is for `asap.js` only.
2199
+ // Its name will be periodically randomized to break any code that depends on
2200
+ // its existence.
2201
+ rawAsap.makeRequestCallFromTimer = makeRequestCallFromTimer;
2202
+
2203
+ // ASAP was originally a nextTick shim included in Q. This was factored out
2204
+ // into this ASAP package. It was later adapted to RSVP which made further
2205
+ // amendments. These decisions, particularly to marginalize MessageChannel and
2206
+ // to capture the MutationObserver implementation in a closure, were integrated
2207
+ // back into ASAP proper.
2208
+ // https://github.com/tildeio/rsvp.js/blob/cddf7232546a9cf858524b75cde6f9edf72620a7/lib/rsvp/asap.js
2209
+
2210
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(10)))
2211
+
2212
+ /***/ }),
2213
+ /* 10 */
2214
+ /***/ (function(module, exports) {
2215
+
2216
+ var g;
2217
+
2218
+ // This works in non-strict mode
2219
+ g = (function() {
2220
+ return this;
2221
+ })();
2222
+
2223
+ try {
2224
+ // This works if eval is allowed (see CSP)
2225
+ g = g || Function("return this")() || (1,eval)("this");
2226
+ } catch(e) {
2227
+ // This works if the window reference is available
2228
+ if(typeof window === "object")
2229
+ g = window;
2230
+ }
2231
+
2232
+ // g can still be undefined, but nothing to do about it...
2233
+ // We return undefined, instead of nothing here, so it's
2234
+ // easier to handle this case. if(!global) { ...}
2235
+
2236
+ module.exports = g;
2237
+
2238
+
2239
+ /***/ }),
2240
+ /* 11 */
2241
+ /***/ (function(module, exports, __webpack_require__) {
2242
+
2243
+ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// MIT license (by Elan Shanker).
2244
+ (function(globals) {
2245
+ 'use strict';
2246
+
2247
+ var executeSync = function(){
2248
+ var args = Array.prototype.slice.call(arguments);
2249
+ if (typeof args[0] === 'function'){
2250
+ args[0].apply(null, args.splice(1));
2251
+ }
2252
+ };
2253
+
2254
+ var executeAsync = function(fn){
2255
+ if (typeof setImmediate === 'function') {
2256
+ setImmediate(fn);
2257
+ } else if (typeof process !== 'undefined' && process.nextTick) {
2258
+ process.nextTick(fn);
2259
+ } else {
2260
+ setTimeout(fn, 0);
2261
+ }
2262
+ };
2263
+
2264
+ var makeIterator = function (tasks) {
2265
+ var makeCallback = function (index) {
2266
+ var fn = function () {
2267
+ if (tasks.length) {
2268
+ tasks[index].apply(null, arguments);
2269
+ }
2270
+ return fn.next();
2271
+ };
2272
+ fn.next = function () {
2273
+ return (index < tasks.length - 1) ? makeCallback(index + 1): null;
2274
+ };
2275
+ return fn;
2276
+ };
2277
+ return makeCallback(0);
2278
+ };
2279
+
2280
+ var _isArray = Array.isArray || function(maybeArray){
2281
+ return Object.prototype.toString.call(maybeArray) === '[object Array]';
2282
+ };
2283
+
2284
+ var waterfall = function (tasks, callback, forceAsync) {
2285
+ var nextTick = forceAsync ? executeAsync : executeSync;
2286
+ callback = callback || function () {};
2287
+ if (!_isArray(tasks)) {
2288
+ var err = new Error('First argument to waterfall must be an array of functions');
2289
+ return callback(err);
2290
+ }
2291
+ if (!tasks.length) {
2292
+ return callback();
2293
+ }
2294
+ var wrapIterator = function (iterator) {
2295
+ return function (err) {
2296
+ if (err) {
2297
+ callback.apply(null, arguments);
2298
+ callback = function () {};
2299
+ } else {
2300
+ var args = Array.prototype.slice.call(arguments, 1);
2301
+ var next = iterator.next();
2302
+ if (next) {
2303
+ args.push(wrapIterator(next));
2304
+ } else {
2305
+ args.push(callback);
2306
+ }
2307
+ nextTick(function () {
2308
+ iterator.apply(null, args);
2309
+ });
2310
+ }
2311
+ };
2312
+ };
2313
+ wrapIterator(makeIterator(tasks))();
2314
+ };
2315
+
2316
+ if (true) {
2317
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
2318
+ return waterfall;
2319
+ }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
2320
+ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); // RequireJS
2321
+ } else if (typeof module !== 'undefined' && module.exports) {
2322
+ module.exports = waterfall; // CommonJS
2323
+ } else {
2324
+ globals.waterfall = waterfall; // <script>
2325
+ }
2326
+ })(this);
2327
+
2328
+
2329
+ /***/ }),
2330
+ /* 12 */
2331
+ /***/ (function(module, exports, __webpack_require__) {
2332
+
2333
+ "use strict";
2334
+
2335
+
2336
+ var lib = __webpack_require__(1);
2337
+
2338
+ var r = __webpack_require__(2);
2339
+
2340
+ var exports = module.exports = {};
2341
+
2342
+ function normalize(value, defaultValue) {
2343
+ if (value === null || value === undefined || value === false) {
2344
+ return defaultValue;
2345
+ }
2346
+
2347
+ return value;
2348
+ }
2349
+
2350
+ exports.abs = Math.abs;
2351
+
2352
+ function isNaN(num) {
2353
+ return num !== num; // eslint-disable-line no-self-compare
2354
+ }
2355
+
2356
+ function batch(arr, linecount, fillWith) {
2357
+ var i;
2358
+ var res = [];
2359
+ var tmp = [];
2360
+
2361
+ for (i = 0; i < arr.length; i++) {
2362
+ if (i % linecount === 0 && tmp.length) {
2363
+ res.push(tmp);
2364
+ tmp = [];
2365
+ }
2366
+
2367
+ tmp.push(arr[i]);
2368
+ }
2369
+
2370
+ if (tmp.length) {
2371
+ if (fillWith) {
2372
+ for (i = tmp.length; i < linecount; i++) {
2373
+ tmp.push(fillWith);
2374
+ }
2375
+ }
2376
+
2377
+ res.push(tmp);
2378
+ }
2379
+
2380
+ return res;
2381
+ }
2382
+
2383
+ exports.batch = batch;
2384
+
2385
+ function capitalize(str) {
2386
+ str = normalize(str, '');
2387
+ var ret = str.toLowerCase();
2388
+ return r.copySafeness(str, ret.charAt(0).toUpperCase() + ret.slice(1));
2389
+ }
2390
+
2391
+ exports.capitalize = capitalize;
2392
+
2393
+ function center(str, width) {
2394
+ str = normalize(str, '');
2395
+ width = width || 80;
2396
+
2397
+ if (str.length >= width) {
2398
+ return str;
2399
+ }
2400
+
2401
+ var spaces = width - str.length;
2402
+ var pre = lib.repeat(' ', spaces / 2 - spaces % 2);
2403
+ var post = lib.repeat(' ', spaces / 2);
2404
+ return r.copySafeness(str, pre + str + post);
2405
+ }
2406
+
2407
+ exports.center = center;
2408
+
2409
+ function default_(val, def, bool) {
2410
+ if (bool) {
2411
+ return val || def;
2412
+ } else {
2413
+ return val !== undefined ? val : def;
2414
+ }
2415
+ } // TODO: it is confusing to export something called 'default'
2416
+
2417
+
2418
+ exports['default'] = default_; // eslint-disable-line dot-notation
2419
+
2420
+ function dictsort(val, caseSensitive, by) {
2421
+ if (!lib.isObject(val)) {
2422
+ throw new lib.TemplateError('dictsort filter: val must be an object');
2423
+ }
2424
+
2425
+ var array = []; // deliberately include properties from the object's prototype
2426
+
2427
+ for (var k in val) {
2428
+ // eslint-disable-line guard-for-in, no-restricted-syntax
2429
+ array.push([k, val[k]]);
2430
+ }
2431
+
2432
+ var si;
2433
+
2434
+ if (by === undefined || by === 'key') {
2435
+ si = 0;
2436
+ } else if (by === 'value') {
2437
+ si = 1;
2438
+ } else {
2439
+ throw new lib.TemplateError('dictsort filter: You can only sort by either key or value');
2440
+ }
2441
+
2442
+ array.sort(function (t1, t2) {
2443
+ var a = t1[si];
2444
+ var b = t2[si];
2445
+
2446
+ if (!caseSensitive) {
2447
+ if (lib.isString(a)) {
2448
+ a = a.toUpperCase();
2449
+ }
2450
+
2451
+ if (lib.isString(b)) {
2452
+ b = b.toUpperCase();
2453
+ }
2454
+ }
2455
+
2456
+ return a > b ? 1 : a === b ? 0 : -1; // eslint-disable-line no-nested-ternary
2457
+ });
2458
+ return array;
2459
+ }
2460
+
2461
+ exports.dictsort = dictsort;
2462
+
2463
+ function dump(obj, spaces) {
2464
+ return JSON.stringify(obj, null, spaces);
2465
+ }
2466
+
2467
+ exports.dump = dump;
2468
+
2469
+ function escape(str) {
2470
+ if (str instanceof r.SafeString) {
2471
+ return str;
2472
+ }
2473
+
2474
+ str = str === null || str === undefined ? '' : str;
2475
+ return r.markSafe(lib.escape(str.toString()));
2476
+ }
2477
+
2478
+ exports.escape = escape;
2479
+
2480
+ function safe(str) {
2481
+ if (str instanceof r.SafeString) {
2482
+ return str;
2483
+ }
2484
+
2485
+ str = str === null || str === undefined ? '' : str;
2486
+ return r.markSafe(str.toString());
2487
+ }
2488
+
2489
+ exports.safe = safe;
2490
+
2491
+ function first(arr) {
2492
+ return arr[0];
2493
+ }
2494
+
2495
+ exports.first = first;
2496
+
2497
+ function forceescape(str) {
2498
+ str = str === null || str === undefined ? '' : str;
2499
+ return r.markSafe(lib.escape(str.toString()));
2500
+ }
2501
+
2502
+ exports.forceescape = forceescape;
2503
+
2504
+ function groupby(arr, attr) {
2505
+ return lib.groupBy(arr, attr, this.env.opts.throwOnUndefined);
2506
+ }
2507
+
2508
+ exports.groupby = groupby;
2509
+
2510
+ function indent(str, width, indentfirst) {
2511
+ str = normalize(str, '');
2512
+
2513
+ if (str === '') {
2514
+ return '';
2515
+ }
2516
+
2517
+ width = width || 4; // let res = '';
2518
+
2519
+ var lines = str.split('\n');
2520
+ var sp = lib.repeat(' ', width);
2521
+ var res = lines.map(function (l, i) {
2522
+ return i === 0 && !indentfirst ? l : "" + sp + l;
2523
+ }).join('\n');
2524
+ return r.copySafeness(str, res);
2525
+ }
2526
+
2527
+ exports.indent = indent;
2528
+
2529
+ function join(arr, del, attr) {
2530
+ del = del || '';
2531
+
2532
+ if (attr) {
2533
+ arr = lib.map(arr, function (v) {
2534
+ return v[attr];
2535
+ });
2536
+ }
2537
+
2538
+ return arr.join(del);
2539
+ }
2540
+
2541
+ exports.join = join;
2542
+
2543
+ function last(arr) {
2544
+ return arr[arr.length - 1];
2545
+ }
2546
+
2547
+ exports.last = last;
2548
+
2549
+ function lengthFilter(val) {
2550
+ var value = normalize(val, '');
2551
+
2552
+ if (value !== undefined) {
2553
+ if (typeof Map === 'function' && value instanceof Map || typeof Set === 'function' && value instanceof Set) {
2554
+ // ECMAScript 2015 Maps and Sets
2555
+ return value.size;
2556
+ }
2557
+
2558
+ if (lib.isObject(value) && !(value instanceof r.SafeString)) {
2559
+ // Objects (besides SafeStrings), non-primative Arrays
2560
+ return lib.keys(value).length;
2561
+ }
2562
+
2563
+ return value.length;
2564
+ }
2565
+
2566
+ return 0;
2567
+ }
2568
+
2569
+ exports.length = lengthFilter;
2570
+
2571
+ function list(val) {
2572
+ if (lib.isString(val)) {
2573
+ return val.split('');
2574
+ } else if (lib.isObject(val)) {
2575
+ return lib._entries(val || {}).map(function (_ref) {
2576
+ var key = _ref[0],
2577
+ value = _ref[1];
2578
+ return {
2579
+ key: key,
2580
+ value: value
2581
+ };
2582
+ });
2583
+ } else if (lib.isArray(val)) {
2584
+ return val;
2585
+ } else {
2586
+ throw new lib.TemplateError('list filter: type not iterable');
2587
+ }
2588
+ }
2589
+
2590
+ exports.list = list;
2591
+
2592
+ function lower(str) {
2593
+ str = normalize(str, '');
2594
+ return str.toLowerCase();
2595
+ }
2596
+
2597
+ exports.lower = lower;
2598
+
2599
+ function nl2br(str) {
2600
+ if (str === null || str === undefined) {
2601
+ return '';
2602
+ }
2603
+
2604
+ return r.copySafeness(str, str.replace(/\r\n|\n/g, '<br />\n'));
2605
+ }
2606
+
2607
+ exports.nl2br = nl2br;
2608
+
2609
+ function random(arr) {
2610
+ return arr[Math.floor(Math.random() * arr.length)];
2611
+ }
2612
+
2613
+ exports.random = random;
2614
+ /**
2615
+ * Construct select or reject filter
2616
+ *
2617
+ * @param {boolean} expectedTestResult
2618
+ * @returns {function(array, string, *): array}
2619
+ */
2620
+
2621
+ function getSelectOrReject(expectedTestResult) {
2622
+ function filter(arr, testName, secondArg) {
2623
+ if (testName === void 0) {
2624
+ testName = 'truthy';
2625
+ }
2626
+
2627
+ var context = this;
2628
+ var test = context.env.getTest(testName);
2629
+ return lib.toArray(arr).filter(function examineTestResult(item) {
2630
+ return test.call(context, item, secondArg) === expectedTestResult;
2631
+ });
2632
+ }
2633
+
2634
+ return filter;
2635
+ }
2636
+
2637
+ exports.reject = getSelectOrReject(false);
2638
+
2639
+ function rejectattr(arr, attr) {
2640
+ return arr.filter(function (item) {
2641
+ return !item[attr];
2642
+ });
2643
+ }
2644
+
2645
+ exports.rejectattr = rejectattr;
2646
+ exports.select = getSelectOrReject(true);
2647
+
2648
+ function selectattr(arr, attr) {
2649
+ return arr.filter(function (item) {
2650
+ return !!item[attr];
2651
+ });
2652
+ }
2653
+
2654
+ exports.selectattr = selectattr;
2655
+
2656
+ function replace(str, old, new_, maxCount) {
2657
+ var originalStr = str;
2658
+
2659
+ if (old instanceof RegExp) {
2660
+ return str.replace(old, new_);
2661
+ }
2662
+
2663
+ if (typeof maxCount === 'undefined') {
2664
+ maxCount = -1;
2665
+ }
2666
+
2667
+ var res = ''; // Output
2668
+ // Cast Numbers in the search term to string
2669
+
2670
+ if (typeof old === 'number') {
2671
+ old = '' + old;
2672
+ } else if (typeof old !== 'string') {
2673
+ // If it is something other than number or string,
2674
+ // return the original string
2675
+ return str;
2676
+ } // Cast numbers in the replacement to string
2677
+
2678
+
2679
+ if (typeof str === 'number') {
2680
+ str = '' + str;
2681
+ } // If by now, we don't have a string, throw it back
2682
+
2683
+
2684
+ if (typeof str !== 'string' && !(str instanceof r.SafeString)) {
2685
+ return str;
2686
+ } // ShortCircuits
2687
+
2688
+
2689
+ if (old === '') {
2690
+ // Mimic the python behaviour: empty string is replaced
2691
+ // by replacement e.g. "abc"|replace("", ".") -> .a.b.c.
2692
+ res = new_ + str.split('').join(new_) + new_;
2693
+ return r.copySafeness(str, res);
2694
+ }
2695
+
2696
+ var nextIndex = str.indexOf(old); // if # of replacements to perform is 0, or the string to does
2697
+ // not contain the old value, return the string
2698
+
2699
+ if (maxCount === 0 || nextIndex === -1) {
2700
+ return str;
2701
+ }
2702
+
2703
+ var pos = 0;
2704
+ var count = 0; // # of replacements made
2705
+
2706
+ while (nextIndex > -1 && (maxCount === -1 || count < maxCount)) {
2707
+ // Grab the next chunk of src string and add it with the
2708
+ // replacement, to the result
2709
+ res += str.substring(pos, nextIndex) + new_; // Increment our pointer in the src string
2710
+
2711
+ pos = nextIndex + old.length;
2712
+ count++; // See if there are any more replacements to be made
2713
+
2714
+ nextIndex = str.indexOf(old, pos);
2715
+ } // We've either reached the end, or done the max # of
2716
+ // replacements, tack on any remaining string
2717
+
2718
+
2719
+ if (pos < str.length) {
2720
+ res += str.substring(pos);
2721
+ }
2722
+
2723
+ return r.copySafeness(originalStr, res);
2724
+ }
2725
+
2726
+ exports.replace = replace;
2727
+
2728
+ function reverse(val) {
2729
+ var arr;
2730
+
2731
+ if (lib.isString(val)) {
2732
+ arr = list(val);
2733
+ } else {
2734
+ // Copy it
2735
+ arr = lib.map(val, function (v) {
2736
+ return v;
2737
+ });
2738
+ }
2739
+
2740
+ arr.reverse();
2741
+
2742
+ if (lib.isString(val)) {
2743
+ return r.copySafeness(val, arr.join(''));
2744
+ }
2745
+
2746
+ return arr;
2747
+ }
2748
+
2749
+ exports.reverse = reverse;
2750
+
2751
+ function round(val, precision, method) {
2752
+ precision = precision || 0;
2753
+ var factor = Math.pow(10, precision);
2754
+ var rounder;
2755
+
2756
+ if (method === 'ceil') {
2757
+ rounder = Math.ceil;
2758
+ } else if (method === 'floor') {
2759
+ rounder = Math.floor;
2760
+ } else {
2761
+ rounder = Math.round;
2762
+ }
2763
+
2764
+ return rounder(val * factor) / factor;
2765
+ }
2766
+
2767
+ exports.round = round;
2768
+
2769
+ function slice(arr, slices, fillWith) {
2770
+ var sliceLength = Math.floor(arr.length / slices);
2771
+ var extra = arr.length % slices;
2772
+ var res = [];
2773
+ var offset = 0;
2774
+
2775
+ for (var i = 0; i < slices; i++) {
2776
+ var start = offset + i * sliceLength;
2777
+
2778
+ if (i < extra) {
2779
+ offset++;
2780
+ }
2781
+
2782
+ var end = offset + (i + 1) * sliceLength;
2783
+ var currSlice = arr.slice(start, end);
2784
+
2785
+ if (fillWith && i >= extra) {
2786
+ currSlice.push(fillWith);
2787
+ }
2788
+
2789
+ res.push(currSlice);
2790
+ }
2791
+
2792
+ return res;
2793
+ }
2794
+
2795
+ exports.slice = slice;
2796
+
2797
+ function sum(arr, attr, start) {
2798
+ if (start === void 0) {
2799
+ start = 0;
2800
+ }
2801
+
2802
+ if (attr) {
2803
+ arr = lib.map(arr, function (v) {
2804
+ return v[attr];
2805
+ });
2806
+ }
2807
+
2808
+ return start + arr.reduce(function (a, b) {
2809
+ return a + b;
2810
+ }, 0);
2811
+ }
2812
+
2813
+ exports.sum = sum;
2814
+ exports.sort = r.makeMacro(['value', 'reverse', 'case_sensitive', 'attribute'], [], function sortFilter(arr, reversed, caseSens, attr) {
2815
+ var _this = this;
2816
+
2817
+ // Copy it
2818
+ var array = lib.map(arr, function (v) {
2819
+ return v;
2820
+ });
2821
+ var getAttribute = lib.getAttrGetter(attr);
2822
+ array.sort(function (a, b) {
2823
+ var x = attr ? getAttribute(a) : a;
2824
+ var y = attr ? getAttribute(b) : b;
2825
+
2826
+ if (_this.env.opts.throwOnUndefined && attr && (x === undefined || y === undefined)) {
2827
+ throw new TypeError("sort: attribute \"" + attr + "\" resolved to undefined");
2828
+ }
2829
+
2830
+ if (!caseSens && lib.isString(x) && lib.isString(y)) {
2831
+ x = x.toLowerCase();
2832
+ y = y.toLowerCase();
2833
+ }
2834
+
2835
+ if (x < y) {
2836
+ return reversed ? 1 : -1;
2837
+ } else if (x > y) {
2838
+ return reversed ? -1 : 1;
2839
+ } else {
2840
+ return 0;
2841
+ }
2842
+ });
2843
+ return array;
2844
+ });
2845
+
2846
+ function string(obj) {
2847
+ return r.copySafeness(obj, obj);
2848
+ }
2849
+
2850
+ exports.string = string;
2851
+
2852
+ function striptags(input, preserveLinebreaks) {
2853
+ input = normalize(input, '');
2854
+ var tags = /<\/?([a-z][a-z0-9]*)\b[^>]*>|<!--[\s\S]*?-->/gi;
2855
+ var trimmedInput = trim(input.replace(tags, ''));
2856
+ var res = '';
2857
+
2858
+ if (preserveLinebreaks) {
2859
+ res = trimmedInput.replace(/^ +| +$/gm, '') // remove leading and trailing spaces
2860
+ .replace(/ +/g, ' ') // squash adjacent spaces
2861
+ .replace(/(\r\n)/g, '\n') // normalize linebreaks (CRLF -> LF)
2862
+ .replace(/\n\n\n+/g, '\n\n'); // squash abnormal adjacent linebreaks
2863
+ } else {
2864
+ res = trimmedInput.replace(/\s+/gi, ' ');
2865
+ }
2866
+
2867
+ return r.copySafeness(input, res);
2868
+ }
2869
+
2870
+ exports.striptags = striptags;
2871
+
2872
+ function title(str) {
2873
+ str = normalize(str, '');
2874
+ var words = str.split(' ').map(function (word) {
2875
+ return capitalize(word);
2876
+ });
2877
+ return r.copySafeness(str, words.join(' '));
2878
+ }
2879
+
2880
+ exports.title = title;
2881
+
2882
+ function trim(str) {
2883
+ return r.copySafeness(str, str.replace(/^\s*|\s*$/g, ''));
2884
+ }
2885
+
2886
+ exports.trim = trim;
2887
+
2888
+ function truncate(input, length, killwords, end) {
2889
+ var orig = input;
2890
+ input = normalize(input, '');
2891
+ length = length || 255;
2892
+
2893
+ if (input.length <= length) {
2894
+ return input;
2895
+ }
2896
+
2897
+ if (killwords) {
2898
+ input = input.substring(0, length);
2899
+ } else {
2900
+ var idx = input.lastIndexOf(' ', length);
2901
+
2902
+ if (idx === -1) {
2903
+ idx = length;
2904
+ }
2905
+
2906
+ input = input.substring(0, idx);
2907
+ }
2908
+
2909
+ input += end !== undefined && end !== null ? end : '...';
2910
+ return r.copySafeness(orig, input);
2911
+ }
2912
+
2913
+ exports.truncate = truncate;
2914
+
2915
+ function upper(str) {
2916
+ str = normalize(str, '');
2917
+ return str.toUpperCase();
2918
+ }
2919
+
2920
+ exports.upper = upper;
2921
+
2922
+ function urlencode(obj) {
2923
+ var enc = encodeURIComponent;
2924
+
2925
+ if (lib.isString(obj)) {
2926
+ return enc(obj);
2927
+ } else {
2928
+ var keyvals = lib.isArray(obj) ? obj : lib._entries(obj);
2929
+ return keyvals.map(function (_ref2) {
2930
+ var k = _ref2[0],
2931
+ v = _ref2[1];
2932
+ return enc(k) + "=" + enc(v);
2933
+ }).join('&');
2934
+ }
2935
+ }
2936
+
2937
+ exports.urlencode = urlencode; // For the jinja regexp, see
2938
+ // https://github.com/mitsuhiko/jinja2/blob/f15b814dcba6aa12bc74d1f7d0c881d55f7126be/jinja2/utils.py#L20-L23
2939
+
2940
+ var puncRe = /^(?:\(|<|&lt;)?(.*?)(?:\.|,|\)|\n|&gt;)?$/; // from http://blog.gerv.net/2011/05/html5_email_address_regexp/
2941
+
2942
+ var emailRe = /^[\w.!#$%&'*+\-\/=?\^`{|}~]+@[a-z\d\-]+(\.[a-z\d\-]+)+$/i;
2943
+ var httpHttpsRe = /^https?:\/\/.*$/;
2944
+ var wwwRe = /^www\./;
2945
+ var tldRe = /\.(?:org|net|com)(?:\:|\/|$)/;
2946
+
2947
+ function urlize(str, length, nofollow) {
2948
+ if (isNaN(length)) {
2949
+ length = Infinity;
2950
+ }
2951
+
2952
+ var noFollowAttr = nofollow === true ? ' rel="nofollow"' : '';
2953
+ var words = str.split(/(\s+)/).filter(function (word) {
2954
+ // If the word has no length, bail. This can happen for str with
2955
+ // trailing whitespace.
2956
+ return word && word.length;
2957
+ }).map(function (word) {
2958
+ var matches = word.match(puncRe);
2959
+ var possibleUrl = matches ? matches[1] : word;
2960
+ var shortUrl = possibleUrl.substr(0, length); // url that starts with http or https
2961
+
2962
+ if (httpHttpsRe.test(possibleUrl)) {
2963
+ return "<a href=\"" + possibleUrl + "\"" + noFollowAttr + ">" + shortUrl + "</a>";
2964
+ } // url that starts with www.
2965
+
2966
+
2967
+ if (wwwRe.test(possibleUrl)) {
2968
+ return "<a href=\"http://" + possibleUrl + "\"" + noFollowAttr + ">" + shortUrl + "</a>";
2969
+ } // an email address of the form username@domain.tld
2970
+
2971
+
2972
+ if (emailRe.test(possibleUrl)) {
2973
+ return "<a href=\"mailto:" + possibleUrl + "\">" + possibleUrl + "</a>";
2974
+ } // url that ends in .com, .org or .net that is not an email address
2975
+
2976
+
2977
+ if (tldRe.test(possibleUrl)) {
2978
+ return "<a href=\"http://" + possibleUrl + "\"" + noFollowAttr + ">" + shortUrl + "</a>";
2979
+ }
2980
+
2981
+ return word;
2982
+ });
2983
+ return words.join('');
2984
+ }
2985
+
2986
+ exports.urlize = urlize;
2987
+
2988
+ function wordcount(str) {
2989
+ str = normalize(str, '');
2990
+ var words = str ? str.match(/\w+/g) : null;
2991
+ return words ? words.length : null;
2992
+ }
2993
+
2994
+ exports.wordcount = wordcount;
2995
+
2996
+ function float(val, def) {
2997
+ var res = parseFloat(val);
2998
+ return isNaN(res) ? def : res;
2999
+ }
3000
+
3001
+ exports.float = float;
3002
+ var intFilter = r.makeMacro(['value', 'default', 'base'], [], function doInt(value, defaultValue, base) {
3003
+ if (base === void 0) {
3004
+ base = 10;
3005
+ }
3006
+
3007
+ var res = parseInt(value, base);
3008
+ return isNaN(res) ? defaultValue : res;
3009
+ });
3010
+ exports.int = intFilter; // Aliases
3011
+
3012
+ exports.d = exports.default;
3013
+ exports.e = exports.escape;
3014
+
3015
+ /***/ }),
3016
+ /* 13 */
3017
+ /***/ (function(module, exports, __webpack_require__) {
3018
+
3019
+ "use strict";
3020
+ // Copyright Joyent, Inc. and other Node contributors.
3021
+ //
3022
+ // Permission is hereby granted, free of charge, to any person obtaining a
3023
+ // copy of this software and associated documentation files (the
3024
+ // "Software"), to deal in the Software without restriction, including
3025
+ // without limitation the rights to use, copy, modify, merge, publish,
3026
+ // distribute, sublicense, and/or sell copies of the Software, and to permit
3027
+ // persons to whom the Software is furnished to do so, subject to the
3028
+ // following conditions:
3029
+ //
3030
+ // The above copyright notice and this permission notice shall be included
3031
+ // in all copies or substantial portions of the Software.
3032
+ //
3033
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
3034
+ // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
3035
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
3036
+ // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
3037
+ // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
3038
+ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
3039
+ // USE OR OTHER DEALINGS IN THE SOFTWARE.
3040
+
3041
+
3042
+
3043
+ var R = typeof Reflect === 'object' ? Reflect : null
3044
+ var ReflectApply = R && typeof R.apply === 'function'
3045
+ ? R.apply
3046
+ : function ReflectApply(target, receiver, args) {
3047
+ return Function.prototype.apply.call(target, receiver, args);
3048
+ }
3049
+
3050
+ var ReflectOwnKeys
3051
+ if (R && typeof R.ownKeys === 'function') {
3052
+ ReflectOwnKeys = R.ownKeys
3053
+ } else if (Object.getOwnPropertySymbols) {
3054
+ ReflectOwnKeys = function ReflectOwnKeys(target) {
3055
+ return Object.getOwnPropertyNames(target)
3056
+ .concat(Object.getOwnPropertySymbols(target));
3057
+ };
3058
+ } else {
3059
+ ReflectOwnKeys = function ReflectOwnKeys(target) {
3060
+ return Object.getOwnPropertyNames(target);
3061
+ };
3062
+ }
3063
+
3064
+ function ProcessEmitWarning(warning) {
3065
+ if (console && console.warn) console.warn(warning);
3066
+ }
3067
+
3068
+ var NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {
3069
+ return value !== value;
3070
+ }
3071
+
3072
+ function EventEmitter() {
3073
+ EventEmitter.init.call(this);
3074
+ }
3075
+ module.exports = EventEmitter;
3076
+ module.exports.once = once;
3077
+
3078
+ // Backwards-compat with node 0.10.x
3079
+ EventEmitter.EventEmitter = EventEmitter;
3080
+
3081
+ EventEmitter.prototype._events = undefined;
3082
+ EventEmitter.prototype._eventsCount = 0;
3083
+ EventEmitter.prototype._maxListeners = undefined;
3084
+
3085
+ // By default EventEmitters will print a warning if more than 10 listeners are
3086
+ // added to it. This is a useful default which helps finding memory leaks.
3087
+ var defaultMaxListeners = 10;
3088
+
3089
+ function checkListener(listener) {
3090
+ if (typeof listener !== 'function') {
3091
+ throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener);
3092
+ }
3093
+ }
3094
+
3095
+ Object.defineProperty(EventEmitter, 'defaultMaxListeners', {
3096
+ enumerable: true,
3097
+ get: function() {
3098
+ return defaultMaxListeners;
3099
+ },
3100
+ set: function(arg) {
3101
+ if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {
3102
+ throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + '.');
3103
+ }
3104
+ defaultMaxListeners = arg;
3105
+ }
3106
+ });
3107
+
3108
+ EventEmitter.init = function() {
3109
+
3110
+ if (this._events === undefined ||
3111
+ this._events === Object.getPrototypeOf(this)._events) {
3112
+ this._events = Object.create(null);
3113
+ this._eventsCount = 0;
3114
+ }
3115
+
3116
+ this._maxListeners = this._maxListeners || undefined;
3117
+ };
3118
+
3119
+ // Obviously not all Emitters should be limited to 10. This function allows
3120
+ // that to be increased. Set to zero for unlimited.
3121
+ EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
3122
+ if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {
3123
+ throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n + '.');
3124
+ }
3125
+ this._maxListeners = n;
3126
+ return this;
3127
+ };
3128
+
3129
+ function _getMaxListeners(that) {
3130
+ if (that._maxListeners === undefined)
3131
+ return EventEmitter.defaultMaxListeners;
3132
+ return that._maxListeners;
3133
+ }
3134
+
3135
+ EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
3136
+ return _getMaxListeners(this);
3137
+ };
3138
+
3139
+ EventEmitter.prototype.emit = function emit(type) {
3140
+ var args = [];
3141
+ for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);
3142
+ var doError = (type === 'error');
3143
+
3144
+ var events = this._events;
3145
+ if (events !== undefined)
3146
+ doError = (doError && events.error === undefined);
3147
+ else if (!doError)
3148
+ return false;
3149
+
3150
+ // If there is no 'error' event listener then throw.
3151
+ if (doError) {
3152
+ var er;
3153
+ if (args.length > 0)
3154
+ er = args[0];
3155
+ if (er instanceof Error) {
3156
+ // Note: The comments on the `throw` lines are intentional, they show
3157
+ // up in Node's output if this results in an unhandled exception.
3158
+ throw er; // Unhandled 'error' event
3159
+ }
3160
+ // At least give some kind of context to the user
3161
+ var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));
3162
+ err.context = er;
3163
+ throw err; // Unhandled 'error' event
3164
+ }
3165
+
3166
+ var handler = events[type];
3167
+
3168
+ if (handler === undefined)
3169
+ return false;
3170
+
3171
+ if (typeof handler === 'function') {
3172
+ ReflectApply(handler, this, args);
3173
+ } else {
3174
+ var len = handler.length;
3175
+ var listeners = arrayClone(handler, len);
3176
+ for (var i = 0; i < len; ++i)
3177
+ ReflectApply(listeners[i], this, args);
3178
+ }
3179
+
3180
+ return true;
3181
+ };
3182
+
3183
+ function _addListener(target, type, listener, prepend) {
3184
+ var m;
3185
+ var events;
3186
+ var existing;
3187
+
3188
+ checkListener(listener);
3189
+
3190
+ events = target._events;
3191
+ if (events === undefined) {
3192
+ events = target._events = Object.create(null);
3193
+ target._eventsCount = 0;
3194
+ } else {
3195
+ // To avoid recursion in the case that type === "newListener"! Before
3196
+ // adding it to the listeners, first emit "newListener".
3197
+ if (events.newListener !== undefined) {
3198
+ target.emit('newListener', type,
3199
+ listener.listener ? listener.listener : listener);
3200
+
3201
+ // Re-assign `events` because a newListener handler could have caused the
3202
+ // this._events to be assigned to a new object
3203
+ events = target._events;
3204
+ }
3205
+ existing = events[type];
3206
+ }
3207
+
3208
+ if (existing === undefined) {
3209
+ // Optimize the case of one listener. Don't need the extra array object.
3210
+ existing = events[type] = listener;
3211
+ ++target._eventsCount;
3212
+ } else {
3213
+ if (typeof existing === 'function') {
3214
+ // Adding the second element, need to change to array.
3215
+ existing = events[type] =
3216
+ prepend ? [listener, existing] : [existing, listener];
3217
+ // If we've already got an array, just append.
3218
+ } else if (prepend) {
3219
+ existing.unshift(listener);
3220
+ } else {
3221
+ existing.push(listener);
3222
+ }
3223
+
3224
+ // Check for listener leak
3225
+ m = _getMaxListeners(target);
3226
+ if (m > 0 && existing.length > m && !existing.warned) {
3227
+ existing.warned = true;
3228
+ // No error code for this since it is a Warning
3229
+ // eslint-disable-next-line no-restricted-syntax
3230
+ var w = new Error('Possible EventEmitter memory leak detected. ' +
3231
+ existing.length + ' ' + String(type) + ' listeners ' +
3232
+ 'added. Use emitter.setMaxListeners() to ' +
3233
+ 'increase limit');
3234
+ w.name = 'MaxListenersExceededWarning';
3235
+ w.emitter = target;
3236
+ w.type = type;
3237
+ w.count = existing.length;
3238
+ ProcessEmitWarning(w);
3239
+ }
3240
+ }
3241
+
3242
+ return target;
3243
+ }
3244
+
3245
+ EventEmitter.prototype.addListener = function addListener(type, listener) {
3246
+ return _addListener(this, type, listener, false);
3247
+ };
3248
+
3249
+ EventEmitter.prototype.on = EventEmitter.prototype.addListener;
3250
+
3251
+ EventEmitter.prototype.prependListener =
3252
+ function prependListener(type, listener) {
3253
+ return _addListener(this, type, listener, true);
3254
+ };
3255
+
3256
+ function onceWrapper() {
3257
+ if (!this.fired) {
3258
+ this.target.removeListener(this.type, this.wrapFn);
3259
+ this.fired = true;
3260
+ if (arguments.length === 0)
3261
+ return this.listener.call(this.target);
3262
+ return this.listener.apply(this.target, arguments);
3263
+ }
3264
+ }
3265
+
3266
+ function _onceWrap(target, type, listener) {
3267
+ var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };
3268
+ var wrapped = onceWrapper.bind(state);
3269
+ wrapped.listener = listener;
3270
+ state.wrapFn = wrapped;
3271
+ return wrapped;
3272
+ }
3273
+
3274
+ EventEmitter.prototype.once = function once(type, listener) {
3275
+ checkListener(listener);
3276
+ this.on(type, _onceWrap(this, type, listener));
3277
+ return this;
3278
+ };
3279
+
3280
+ EventEmitter.prototype.prependOnceListener =
3281
+ function prependOnceListener(type, listener) {
3282
+ checkListener(listener);
3283
+ this.prependListener(type, _onceWrap(this, type, listener));
3284
+ return this;
3285
+ };
3286
+
3287
+ // Emits a 'removeListener' event if and only if the listener was removed.
3288
+ EventEmitter.prototype.removeListener =
3289
+ function removeListener(type, listener) {
3290
+ var list, events, position, i, originalListener;
3291
+
3292
+ checkListener(listener);
3293
+
3294
+ events = this._events;
3295
+ if (events === undefined)
3296
+ return this;
3297
+
3298
+ list = events[type];
3299
+ if (list === undefined)
3300
+ return this;
3301
+
3302
+ if (list === listener || list.listener === listener) {
3303
+ if (--this._eventsCount === 0)
3304
+ this._events = Object.create(null);
3305
+ else {
3306
+ delete events[type];
3307
+ if (events.removeListener)
3308
+ this.emit('removeListener', type, list.listener || listener);
3309
+ }
3310
+ } else if (typeof list !== 'function') {
3311
+ position = -1;
3312
+
3313
+ for (i = list.length - 1; i >= 0; i--) {
3314
+ if (list[i] === listener || list[i].listener === listener) {
3315
+ originalListener = list[i].listener;
3316
+ position = i;
3317
+ break;
3318
+ }
3319
+ }
3320
+
3321
+ if (position < 0)
3322
+ return this;
3323
+
3324
+ if (position === 0)
3325
+ list.shift();
3326
+ else {
3327
+ spliceOne(list, position);
3328
+ }
3329
+
3330
+ if (list.length === 1)
3331
+ events[type] = list[0];
3332
+
3333
+ if (events.removeListener !== undefined)
3334
+ this.emit('removeListener', type, originalListener || listener);
3335
+ }
3336
+
3337
+ return this;
3338
+ };
3339
+
3340
+ EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
3341
+
3342
+ EventEmitter.prototype.removeAllListeners =
3343
+ function removeAllListeners(type) {
3344
+ var listeners, events, i;
3345
+
3346
+ events = this._events;
3347
+ if (events === undefined)
3348
+ return this;
3349
+
3350
+ // not listening for removeListener, no need to emit
3351
+ if (events.removeListener === undefined) {
3352
+ if (arguments.length === 0) {
3353
+ this._events = Object.create(null);
3354
+ this._eventsCount = 0;
3355
+ } else if (events[type] !== undefined) {
3356
+ if (--this._eventsCount === 0)
3357
+ this._events = Object.create(null);
3358
+ else
3359
+ delete events[type];
3360
+ }
3361
+ return this;
3362
+ }
3363
+
3364
+ // emit removeListener for all listeners on all events
3365
+ if (arguments.length === 0) {
3366
+ var keys = Object.keys(events);
3367
+ var key;
3368
+ for (i = 0; i < keys.length; ++i) {
3369
+ key = keys[i];
3370
+ if (key === 'removeListener') continue;
3371
+ this.removeAllListeners(key);
3372
+ }
3373
+ this.removeAllListeners('removeListener');
3374
+ this._events = Object.create(null);
3375
+ this._eventsCount = 0;
3376
+ return this;
3377
+ }
3378
+
3379
+ listeners = events[type];
3380
+
3381
+ if (typeof listeners === 'function') {
3382
+ this.removeListener(type, listeners);
3383
+ } else if (listeners !== undefined) {
3384
+ // LIFO order
3385
+ for (i = listeners.length - 1; i >= 0; i--) {
3386
+ this.removeListener(type, listeners[i]);
3387
+ }
3388
+ }
3389
+
3390
+ return this;
3391
+ };
3392
+
3393
+ function _listeners(target, type, unwrap) {
3394
+ var events = target._events;
3395
+
3396
+ if (events === undefined)
3397
+ return [];
3398
+
3399
+ var evlistener = events[type];
3400
+ if (evlistener === undefined)
3401
+ return [];
3402
+
3403
+ if (typeof evlistener === 'function')
3404
+ return unwrap ? [evlistener.listener || evlistener] : [evlistener];
3405
+
3406
+ return unwrap ?
3407
+ unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);
3408
+ }
3409
+
3410
+ EventEmitter.prototype.listeners = function listeners(type) {
3411
+ return _listeners(this, type, true);
3412
+ };
3413
+
3414
+ EventEmitter.prototype.rawListeners = function rawListeners(type) {
3415
+ return _listeners(this, type, false);
3416
+ };
3417
+
3418
+ EventEmitter.listenerCount = function(emitter, type) {
3419
+ if (typeof emitter.listenerCount === 'function') {
3420
+ return emitter.listenerCount(type);
3421
+ } else {
3422
+ return listenerCount.call(emitter, type);
3423
+ }
3424
+ };
3425
+
3426
+ EventEmitter.prototype.listenerCount = listenerCount;
3427
+ function listenerCount(type) {
3428
+ var events = this._events;
3429
+
3430
+ if (events !== undefined) {
3431
+ var evlistener = events[type];
3432
+
3433
+ if (typeof evlistener === 'function') {
3434
+ return 1;
3435
+ } else if (evlistener !== undefined) {
3436
+ return evlistener.length;
3437
+ }
3438
+ }
3439
+
3440
+ return 0;
3441
+ }
3442
+
3443
+ EventEmitter.prototype.eventNames = function eventNames() {
3444
+ return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];
3445
+ };
3446
+
3447
+ function arrayClone(arr, n) {
3448
+ var copy = new Array(n);
3449
+ for (var i = 0; i < n; ++i)
3450
+ copy[i] = arr[i];
3451
+ return copy;
3452
+ }
3453
+
3454
+ function spliceOne(list, index) {
3455
+ for (; index + 1 < list.length; index++)
3456
+ list[index] = list[index + 1];
3457
+ list.pop();
3458
+ }
3459
+
3460
+ function unwrapListeners(arr) {
3461
+ var ret = new Array(arr.length);
3462
+ for (var i = 0; i < ret.length; ++i) {
3463
+ ret[i] = arr[i].listener || arr[i];
3464
+ }
3465
+ return ret;
3466
+ }
3467
+
3468
+ function once(emitter, name) {
3469
+ return new Promise(function (resolve, reject) {
3470
+ function eventListener() {
3471
+ if (errorListener !== undefined) {
3472
+ emitter.removeListener('error', errorListener);
3473
+ }
3474
+ resolve([].slice.call(arguments));
3475
+ };
3476
+ var errorListener;
3477
+
3478
+ // Adding an error listener is not optional because
3479
+ // if an error is thrown on an event emitter we cannot
3480
+ // guarantee that the actual event we are waiting will
3481
+ // be fired. The result could be a silent way to create
3482
+ // memory or file descriptor leaks, which is something
3483
+ // we should avoid.
3484
+ if (name !== 'error') {
3485
+ errorListener = function errorListener(err) {
3486
+ emitter.removeListener(name, eventListener);
3487
+ reject(err);
3488
+ };
3489
+
3490
+ emitter.once('error', errorListener);
3491
+ }
3492
+
3493
+ emitter.once(name, eventListener);
3494
+ });
3495
+ }
3496
+
3497
+
3498
+ /***/ }),
3499
+ /* 14 */
3500
+ /***/ (function(module, exports, __webpack_require__) {
3501
+
3502
+ "use strict";
3503
+
3504
+
3505
+ var SafeString = __webpack_require__(2).SafeString;
3506
+ /**
3507
+ * Returns `true` if the object is a function, otherwise `false`.
3508
+ * @param { any } value
3509
+ * @returns { boolean }
3510
+ */
3511
+
3512
+
3513
+ function callable(value) {
3514
+ return typeof value === 'function';
3515
+ }
3516
+
3517
+ exports.callable = callable;
3518
+ /**
3519
+ * Returns `true` if the object is strictly not `undefined`.
3520
+ * @param { any } value
3521
+ * @returns { boolean }
3522
+ */
3523
+
3524
+ function defined(value) {
3525
+ return value !== undefined;
3526
+ }
3527
+
3528
+ exports.defined = defined;
3529
+ /**
3530
+ * Returns `true` if the operand (one) is divisble by the test's argument
3531
+ * (two).
3532
+ * @param { number } one
3533
+ * @param { number } two
3534
+ * @returns { boolean }
3535
+ */
3536
+
3537
+ function divisibleby(one, two) {
3538
+ return one % two === 0;
3539
+ }
3540
+
3541
+ exports.divisibleby = divisibleby;
3542
+ /**
3543
+ * Returns true if the string has been escaped (i.e., is a SafeString).
3544
+ * @param { any } value
3545
+ * @returns { boolean }
3546
+ */
3547
+
3548
+ function escaped(value) {
3549
+ return value instanceof SafeString;
3550
+ }
3551
+
3552
+ exports.escaped = escaped;
3553
+ /**
3554
+ * Returns `true` if the arguments are strictly equal.
3555
+ * @param { any } one
3556
+ * @param { any } two
3557
+ */
3558
+
3559
+ function equalto(one, two) {
3560
+ return one === two;
3561
+ }
3562
+
3563
+ exports.equalto = equalto; // Aliases
3564
+
3565
+ exports.eq = exports.equalto;
3566
+ exports.sameas = exports.equalto;
3567
+ /**
3568
+ * Returns `true` if the value is evenly divisible by 2.
3569
+ * @param { number } value
3570
+ * @returns { boolean }
3571
+ */
3572
+
3573
+ function even(value) {
3574
+ return value % 2 === 0;
3575
+ }
3576
+
3577
+ exports.even = even;
3578
+ /**
3579
+ * Returns `true` if the value is falsy - if I recall correctly, '', 0, false,
3580
+ * undefined, NaN or null. I don't know if we should stick to the default JS
3581
+ * behavior or attempt to replicate what Python believes should be falsy (i.e.,
3582
+ * empty arrays, empty dicts, not 0...).
3583
+ * @param { any } value
3584
+ * @returns { boolean }
3585
+ */
3586
+
3587
+ function falsy(value) {
3588
+ return !value;
3589
+ }
3590
+
3591
+ exports.falsy = falsy;
3592
+ /**
3593
+ * Returns `true` if the operand (one) is greater or equal to the test's
3594
+ * argument (two).
3595
+ * @param { number } one
3596
+ * @param { number } two
3597
+ * @returns { boolean }
3598
+ */
3599
+
3600
+ function ge(one, two) {
3601
+ return one >= two;
3602
+ }
3603
+
3604
+ exports.ge = ge;
3605
+ /**
3606
+ * Returns `true` if the operand (one) is greater than the test's argument
3607
+ * (two).
3608
+ * @param { number } one
3609
+ * @param { number } two
3610
+ * @returns { boolean }
3611
+ */
3612
+
3613
+ function greaterthan(one, two) {
3614
+ return one > two;
3615
+ }
3616
+
3617
+ exports.greaterthan = greaterthan; // alias
3618
+
3619
+ exports.gt = exports.greaterthan;
3620
+ /**
3621
+ * Returns `true` if the operand (one) is less than or equal to the test's
3622
+ * argument (two).
3623
+ * @param { number } one
3624
+ * @param { number } two
3625
+ * @returns { boolean }
3626
+ */
3627
+
3628
+ function le(one, two) {
3629
+ return one <= two;
3630
+ }
3631
+
3632
+ exports.le = le;
3633
+ /**
3634
+ * Returns `true` if the operand (one) is less than the test's passed argument
3635
+ * (two).
3636
+ * @param { number } one
3637
+ * @param { number } two
3638
+ * @returns { boolean }
3639
+ */
3640
+
3641
+ function lessthan(one, two) {
3642
+ return one < two;
3643
+ }
3644
+
3645
+ exports.lessthan = lessthan; // alias
3646
+
3647
+ exports.lt = exports.lessthan;
3648
+ /**
3649
+ * Returns `true` if the string is lowercased.
3650
+ * @param { string } value
3651
+ * @returns { boolean }
3652
+ */
3653
+
3654
+ function lower(value) {
3655
+ return value.toLowerCase() === value;
3656
+ }
3657
+
3658
+ exports.lower = lower;
3659
+ /**
3660
+ * Returns `true` if the operand (one) is less than or equal to the test's
3661
+ * argument (two).
3662
+ * @param { number } one
3663
+ * @param { number } two
3664
+ * @returns { boolean }
3665
+ */
3666
+
3667
+ function ne(one, two) {
3668
+ return one !== two;
3669
+ }
3670
+
3671
+ exports.ne = ne;
3672
+ /**
3673
+ * Returns true if the value is strictly equal to `null`.
3674
+ * @param { any }
3675
+ * @returns { boolean }
3676
+ */
3677
+
3678
+ function nullTest(value) {
3679
+ return value === null;
3680
+ }
3681
+
3682
+ exports.null = nullTest;
3683
+ /**
3684
+ * Returns true if value is a number.
3685
+ * @param { any }
3686
+ * @returns { boolean }
3687
+ */
3688
+
3689
+ function number(value) {
3690
+ return typeof value === 'number';
3691
+ }
3692
+
3693
+ exports.number = number;
3694
+ /**
3695
+ * Returns `true` if the value is *not* evenly divisible by 2.
3696
+ * @param { number } value
3697
+ * @returns { boolean }
3698
+ */
3699
+
3700
+ function odd(value) {
3701
+ return value % 2 === 1;
3702
+ }
3703
+
3704
+ exports.odd = odd;
3705
+ /**
3706
+ * Returns `true` if the value is a string, `false` if not.
3707
+ * @param { any } value
3708
+ * @returns { boolean }
3709
+ */
3710
+
3711
+ function string(value) {
3712
+ return typeof value === 'string';
3713
+ }
3714
+
3715
+ exports.string = string;
3716
+ /**
3717
+ * Returns `true` if the value is not in the list of things considered falsy:
3718
+ * '', null, undefined, 0, NaN and false.
3719
+ * @param { any } value
3720
+ * @returns { boolean }
3721
+ */
3722
+
3723
+ function truthy(value) {
3724
+ return !!value;
3725
+ }
3726
+
3727
+ exports.truthy = truthy;
3728
+ /**
3729
+ * Returns `true` if the value is undefined.
3730
+ * @param { any } value
3731
+ * @returns { boolean }
3732
+ */
3733
+
3734
+ function undefinedTest(value) {
3735
+ return value === undefined;
3736
+ }
3737
+
3738
+ exports.undefined = undefinedTest;
3739
+ /**
3740
+ * Returns `true` if the string is uppercased.
3741
+ * @param { string } value
3742
+ * @returns { boolean }
3743
+ */
3744
+
3745
+ function upper(value) {
3746
+ return value.toUpperCase() === value;
3747
+ }
3748
+
3749
+ exports.upper = upper;
3750
+ /**
3751
+ * If ES6 features are available, returns `true` if the value implements the
3752
+ * `Symbol.iterator` method. If not, it's a string or Array.
3753
+ *
3754
+ * Could potentially cause issues if a browser exists that has Set and Map but
3755
+ * not Symbol.
3756
+ *
3757
+ * @param { any } value
3758
+ * @returns { boolean }
3759
+ */
3760
+
3761
+ function iterable(value) {
3762
+ if (typeof Symbol !== 'undefined') {
3763
+ return !!value[Symbol.iterator];
3764
+ } else {
3765
+ return Array.isArray(value) || typeof value === 'string';
3766
+ }
3767
+ }
3768
+
3769
+ exports.iterable = iterable;
3770
+ /**
3771
+ * If ES6 features are available, returns `true` if the value is an object hash
3772
+ * or an ES6 Map. Otherwise just return if it's an object hash.
3773
+ * @param { any } value
3774
+ * @returns { boolean }
3775
+ */
3776
+
3777
+ function mapping(value) {
3778
+ // only maps and object hashes
3779
+ var bool = value !== null && value !== undefined && typeof value === 'object' && !Array.isArray(value);
3780
+
3781
+ if (Set) {
3782
+ return bool && !(value instanceof Set);
3783
+ } else {
3784
+ return bool;
3785
+ }
3786
+ }
3787
+
3788
+ exports.mapping = mapping;
3789
+
3790
+ /***/ }),
3791
+ /* 15 */
3792
+ /***/ (function(module, exports, __webpack_require__) {
3793
+
3794
+ "use strict";
3795
+
3796
+
3797
+ function _cycler(items) {
3798
+ var index = -1;
3799
+ return {
3800
+ current: null,
3801
+ reset: function reset() {
3802
+ index = -1;
3803
+ this.current = null;
3804
+ },
3805
+ next: function next() {
3806
+ index++;
3807
+
3808
+ if (index >= items.length) {
3809
+ index = 0;
3810
+ }
3811
+
3812
+ this.current = items[index];
3813
+ return this.current;
3814
+ }
3815
+ };
3816
+ }
3817
+
3818
+ function _joiner(sep) {
3819
+ sep = sep || ',';
3820
+ var first = true;
3821
+ return function () {
3822
+ var val = first ? '' : sep;
3823
+ first = false;
3824
+ return val;
3825
+ };
3826
+ } // Making this a function instead so it returns a new object
3827
+ // each time it's called. That way, if something like an environment
3828
+ // uses it, they will each have their own copy.
3829
+
3830
+
3831
+ function globals() {
3832
+ return {
3833
+ range: function range(start, stop, step) {
3834
+ if (typeof stop === 'undefined') {
3835
+ stop = start;
3836
+ start = 0;
3837
+ step = 1;
3838
+ } else if (!step) {
3839
+ step = 1;
3840
+ }
3841
+
3842
+ var arr = [];
3843
+
3844
+ if (step > 0) {
3845
+ for (var i = start; i < stop; i += step) {
3846
+ arr.push(i);
3847
+ }
3848
+ } else {
3849
+ for (var _i = start; _i > stop; _i += step) {
3850
+ // eslint-disable-line for-direction
3851
+ arr.push(_i);
3852
+ }
3853
+ }
3854
+
3855
+ return arr;
3856
+ },
3857
+ cycler: function cycler() {
3858
+ return _cycler(Array.prototype.slice.call(arguments));
3859
+ },
3860
+ joiner: function joiner(sep) {
3861
+ return _joiner(sep);
3862
+ }
3863
+ };
3864
+ }
3865
+
3866
+ module.exports = globals;
3867
+
3868
+ /***/ }),
3869
+ /* 16 */
3870
+ /***/ (function(module, exports, __webpack_require__) {
3871
+
3872
+ var path = __webpack_require__(0);
3873
+
3874
+ module.exports = function express(env, app) {
3875
+ function NunjucksView(name, opts) {
3876
+ this.name = name;
3877
+ this.path = name;
3878
+ this.defaultEngine = opts.defaultEngine;
3879
+ this.ext = path.extname(name);
3880
+
3881
+ if (!this.ext && !this.defaultEngine) {
3882
+ throw new Error('No default engine was specified and no extension was provided.');
3883
+ }
3884
+
3885
+ if (!this.ext) {
3886
+ this.name += this.ext = (this.defaultEngine[0] !== '.' ? '.' : '') + this.defaultEngine;
3887
+ }
3888
+ }
3889
+
3890
+ NunjucksView.prototype.render = function render(opts, cb) {
3891
+ env.render(this.name, opts, cb);
3892
+ };
3893
+
3894
+ app.set('view', NunjucksView);
3895
+ app.set('nunjucksEnv', env);
3896
+ return env;
3897
+ };
3898
+
3899
+ /***/ }),
3900
+ /* 17 */
3901
+ /***/ (function(module, exports, __webpack_require__) {
3902
+
3903
+ function installCompat() {
3904
+ 'use strict';
3905
+ /* eslint-disable camelcase */
3906
+ // This must be called like `nunjucks.installCompat` so that `this`
3907
+ // references the nunjucks instance
3908
+
3909
+ var runtime = this.runtime;
3910
+ var lib = this.lib; // Handle slim case where these 'modules' are excluded from the built source
3911
+
3912
+ var Compiler = this.compiler.Compiler;
3913
+ var Parser = this.parser.Parser;
3914
+ var nodes = this.nodes;
3915
+ var lexer = this.lexer;
3916
+ var orig_contextOrFrameLookup = runtime.contextOrFrameLookup;
3917
+ var orig_memberLookup = runtime.memberLookup;
3918
+ var orig_Compiler_assertType;
3919
+ var orig_Parser_parseAggregate;
3920
+
3921
+ if (Compiler) {
3922
+ orig_Compiler_assertType = Compiler.prototype.assertType;
3923
+ }
3924
+
3925
+ if (Parser) {
3926
+ orig_Parser_parseAggregate = Parser.prototype.parseAggregate;
3927
+ }
3928
+
3929
+ function uninstall() {
3930
+ runtime.contextOrFrameLookup = orig_contextOrFrameLookup;
3931
+ runtime.memberLookup = orig_memberLookup;
3932
+
3933
+ if (Compiler) {
3934
+ Compiler.prototype.assertType = orig_Compiler_assertType;
3935
+ }
3936
+
3937
+ if (Parser) {
3938
+ Parser.prototype.parseAggregate = orig_Parser_parseAggregate;
3939
+ }
3940
+ }
3941
+
3942
+ runtime.contextOrFrameLookup = function contextOrFrameLookup(context, frame, key) {
3943
+ var val = orig_contextOrFrameLookup.apply(this, arguments);
3944
+
3945
+ if (val !== undefined) {
3946
+ return val;
3947
+ }
3948
+
3949
+ switch (key) {
3950
+ case 'True':
3951
+ return true;
3952
+
3953
+ case 'False':
3954
+ return false;
3955
+
3956
+ case 'None':
3957
+ return null;
3958
+
3959
+ default:
3960
+ return undefined;
3961
+ }
3962
+ };
3963
+
3964
+ function getTokensState(tokens) {
3965
+ return {
3966
+ index: tokens.index,
3967
+ lineno: tokens.lineno,
3968
+ colno: tokens.colno
3969
+ };
3970
+ }
3971
+
3972
+ if (false) {
3973
+ // i.e., not slim mode
3974
+ var Slice = nodes.Node.extend('Slice', {
3975
+ fields: ['start', 'stop', 'step'],
3976
+ init: function init(lineno, colno, start, stop, step) {
3977
+ start = start || new nodes.Literal(lineno, colno, null);
3978
+ stop = stop || new nodes.Literal(lineno, colno, null);
3979
+ step = step || new nodes.Literal(lineno, colno, 1);
3980
+ this.parent(lineno, colno, start, stop, step);
3981
+ }
3982
+ });
3983
+
3984
+ Compiler.prototype.assertType = function assertType(node) {
3985
+ if (node instanceof Slice) {
3986
+ return;
3987
+ }
3988
+
3989
+ orig_Compiler_assertType.apply(this, arguments);
3990
+ };
3991
+
3992
+ Compiler.prototype.compileSlice = function compileSlice(node, frame) {
3993
+ this._emit('(');
3994
+
3995
+ this._compileExpression(node.start, frame);
3996
+
3997
+ this._emit('),(');
3998
+
3999
+ this._compileExpression(node.stop, frame);
4000
+
4001
+ this._emit('),(');
4002
+
4003
+ this._compileExpression(node.step, frame);
4004
+
4005
+ this._emit(')');
4006
+ };
4007
+
4008
+ Parser.prototype.parseAggregate = function parseAggregate() {
4009
+ var _this = this;
4010
+
4011
+ var origState = getTokensState(this.tokens); // Set back one accounting for opening bracket/parens
4012
+
4013
+ origState.colno--;
4014
+ origState.index--;
4015
+
4016
+ try {
4017
+ return orig_Parser_parseAggregate.apply(this);
4018
+ } catch (e) {
4019
+ var errState = getTokensState(this.tokens);
4020
+
4021
+ var rethrow = function rethrow() {
4022
+ lib._assign(_this.tokens, errState);
4023
+
4024
+ return e;
4025
+ }; // Reset to state before original parseAggregate called
4026
+
4027
+
4028
+ lib._assign(this.tokens, origState);
4029
+
4030
+ this.peeked = false;
4031
+ var tok = this.peekToken();
4032
+
4033
+ if (tok.type !== lexer.TOKEN_LEFT_BRACKET) {
4034
+ throw rethrow();
4035
+ } else {
4036
+ this.nextToken();
4037
+ }
4038
+
4039
+ var node = new Slice(tok.lineno, tok.colno); // If we don't encounter a colon while parsing, this is not a slice,
4040
+ // so re-raise the original exception.
4041
+
4042
+ var isSlice = false;
4043
+
4044
+ for (var i = 0; i <= node.fields.length; i++) {
4045
+ if (this.skip(lexer.TOKEN_RIGHT_BRACKET)) {
4046
+ break;
4047
+ }
4048
+
4049
+ if (i === node.fields.length) {
4050
+ if (isSlice) {
4051
+ this.fail('parseSlice: too many slice components', tok.lineno, tok.colno);
4052
+ } else {
4053
+ break;
4054
+ }
4055
+ }
4056
+
4057
+ if (this.skip(lexer.TOKEN_COLON)) {
4058
+ isSlice = true;
4059
+ } else {
4060
+ var field = node.fields[i];
4061
+ node[field] = this.parseExpression();
4062
+ isSlice = this.skip(lexer.TOKEN_COLON) || isSlice;
4063
+ }
4064
+ }
4065
+
4066
+ if (!isSlice) {
4067
+ throw rethrow();
4068
+ }
4069
+
4070
+ return new nodes.Array(tok.lineno, tok.colno, [node]);
4071
+ }
4072
+ };
4073
+ }
4074
+
4075
+ function sliceLookup(obj, start, stop, step) {
4076
+ obj = obj || [];
4077
+
4078
+ if (start === null) {
4079
+ start = step < 0 ? obj.length - 1 : 0;
4080
+ }
4081
+
4082
+ if (stop === null) {
4083
+ stop = step < 0 ? -1 : obj.length;
4084
+ } else if (stop < 0) {
4085
+ stop += obj.length;
4086
+ }
4087
+
4088
+ if (start < 0) {
4089
+ start += obj.length;
4090
+ }
4091
+
4092
+ var results = [];
4093
+
4094
+ for (var i = start;; i += step) {
4095
+ if (i < 0 || i > obj.length) {
4096
+ break;
4097
+ }
4098
+
4099
+ if (step > 0 && i >= stop) {
4100
+ break;
4101
+ }
4102
+
4103
+ if (step < 0 && i <= stop) {
4104
+ break;
4105
+ }
4106
+
4107
+ results.push(runtime.memberLookup(obj, i));
4108
+ }
4109
+
4110
+ return results;
4111
+ }
4112
+
4113
+ function hasOwnProp(obj, key) {
4114
+ return Object.prototype.hasOwnProperty.call(obj, key);
4115
+ }
4116
+
4117
+ var ARRAY_MEMBERS = {
4118
+ pop: function pop(index) {
4119
+ if (index === undefined) {
4120
+ return this.pop();
4121
+ }
4122
+
4123
+ if (index >= this.length || index < 0) {
4124
+ throw new Error('KeyError');
4125
+ }
4126
+
4127
+ return this.splice(index, 1);
4128
+ },
4129
+ append: function append(element) {
4130
+ return this.push(element);
4131
+ },
4132
+ remove: function remove(element) {
4133
+ for (var i = 0; i < this.length; i++) {
4134
+ if (this[i] === element) {
4135
+ return this.splice(i, 1);
4136
+ }
4137
+ }
4138
+
4139
+ throw new Error('ValueError');
4140
+ },
4141
+ count: function count(element) {
4142
+ var count = 0;
4143
+
4144
+ for (var i = 0; i < this.length; i++) {
4145
+ if (this[i] === element) {
4146
+ count++;
4147
+ }
4148
+ }
4149
+
4150
+ return count;
4151
+ },
4152
+ index: function index(element) {
4153
+ var i;
4154
+
4155
+ if ((i = this.indexOf(element)) === -1) {
4156
+ throw new Error('ValueError');
4157
+ }
4158
+
4159
+ return i;
4160
+ },
4161
+ find: function find(element) {
4162
+ return this.indexOf(element);
4163
+ },
4164
+ insert: function insert(index, elem) {
4165
+ return this.splice(index, 0, elem);
4166
+ }
4167
+ };
4168
+ var OBJECT_MEMBERS = {
4169
+ items: function items() {
4170
+ return lib._entries(this);
4171
+ },
4172
+ values: function values() {
4173
+ return lib._values(this);
4174
+ },
4175
+ keys: function keys() {
4176
+ return lib.keys(this);
4177
+ },
4178
+ get: function get(key, def) {
4179
+ var output = this[key];
4180
+
4181
+ if (output === undefined) {
4182
+ output = def;
4183
+ }
4184
+
4185
+ return output;
4186
+ },
4187
+ has_key: function has_key(key) {
4188
+ return hasOwnProp(this, key);
4189
+ },
4190
+ pop: function pop(key, def) {
4191
+ var output = this[key];
4192
+
4193
+ if (output === undefined && def !== undefined) {
4194
+ output = def;
4195
+ } else if (output === undefined) {
4196
+ throw new Error('KeyError');
4197
+ } else {
4198
+ delete this[key];
4199
+ }
4200
+
4201
+ return output;
4202
+ },
4203
+ popitem: function popitem() {
4204
+ var keys = lib.keys(this);
4205
+
4206
+ if (!keys.length) {
4207
+ throw new Error('KeyError');
4208
+ }
4209
+
4210
+ var k = keys[0];
4211
+ var val = this[k];
4212
+ delete this[k];
4213
+ return [k, val];
4214
+ },
4215
+ setdefault: function setdefault(key, def) {
4216
+ if (def === void 0) {
4217
+ def = null;
4218
+ }
4219
+
4220
+ if (!(key in this)) {
4221
+ this[key] = def;
4222
+ }
4223
+
4224
+ return this[key];
4225
+ },
4226
+ update: function update(kwargs) {
4227
+ lib._assign(this, kwargs);
4228
+
4229
+ return null; // Always returns None
4230
+ }
4231
+ };
4232
+ OBJECT_MEMBERS.iteritems = OBJECT_MEMBERS.items;
4233
+ OBJECT_MEMBERS.itervalues = OBJECT_MEMBERS.values;
4234
+ OBJECT_MEMBERS.iterkeys = OBJECT_MEMBERS.keys;
4235
+
4236
+ runtime.memberLookup = function memberLookup(obj, val, autoescape) {
4237
+ if (arguments.length === 4) {
4238
+ return sliceLookup.apply(this, arguments);
4239
+ }
4240
+
4241
+ obj = obj || {}; // If the object is an object, return any of the methods that Python would
4242
+ // otherwise provide.
4243
+
4244
+ if (lib.isArray(obj) && hasOwnProp(ARRAY_MEMBERS, val)) {
4245
+ return ARRAY_MEMBERS[val].bind(obj);
4246
+ }
4247
+
4248
+ if (lib.isObject(obj) && hasOwnProp(OBJECT_MEMBERS, val)) {
4249
+ return OBJECT_MEMBERS[val].bind(obj);
4250
+ }
4251
+
4252
+ return orig_memberLookup.apply(this, arguments);
4253
+ };
4254
+
4255
+ return uninstall;
4256
+ }
4257
+
4258
+ module.exports = installCompat;
4259
+
4260
+ /***/ })
4261
+ /******/ ]);
4262
+ });
4263
+ //# sourceMappingURL=nunjucks-slim.js.map