locize 2.4.6 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (902) hide show
  1. package/.babelrc +3 -0
  2. package/.ts.eslintrc +37 -0
  3. package/CHANGELOG.md +5 -0
  4. package/README.md +10 -19
  5. package/dist/cjs/api/handleCommitKey.js +17 -0
  6. package/dist/cjs/api/handleCommitKeys.js +39 -0
  7. package/dist/cjs/api/handleConfirmInitialized.js +11 -0
  8. package/dist/cjs/api/handleEditKey.js +60 -0
  9. package/dist/cjs/api/handleIsLocizeEnabled.js +11 -0
  10. package/dist/cjs/api/handleRequestPopupChanges.js +21 -0
  11. package/dist/cjs/api/handleRequestResourceBundle.js +27 -0
  12. package/dist/cjs/api/handleSelectedKeys.js +27 -0
  13. package/dist/cjs/api/handleTurnOff.js +8 -0
  14. package/dist/cjs/api/handleTurnOn.js +8 -0
  15. package/dist/cjs/api/postMessage.js +161 -0
  16. package/dist/cjs/clickHandler.js +48 -0
  17. package/dist/cjs/index.d.ts +15 -0
  18. package/dist/cjs/index.js +55 -0
  19. package/dist/cjs/locizePlugin.js +110 -0
  20. package/dist/cjs/observer.js +74 -0
  21. package/dist/cjs/package.json +1 -0
  22. package/dist/cjs/parser.js +122 -0
  23. package/dist/cjs/process.js +63 -0
  24. package/dist/cjs/processLegacy.js +80 -0
  25. package/dist/cjs/shims/uniqueID.js +31 -0
  26. package/dist/cjs/startStandalone.js +24 -0
  27. package/dist/cjs/store.js +49 -0
  28. package/dist/cjs/ui/elements/icons.js +48 -0
  29. package/dist/cjs/ui/elements/popup.js +80 -0
  30. package/dist/cjs/ui/elements/ribbonBox.js +67 -0
  31. package/dist/cjs/ui/highlightNode.js +167 -0
  32. package/dist/cjs/ui/mouseDistance.js +44 -0
  33. package/dist/cjs/ui/popup.js +113 -0
  34. package/dist/cjs/ui/stylesheet.js +12 -0
  35. package/dist/cjs/ui/utils.js +39 -0
  36. package/dist/cjs/uninstrumentedStore.js +43 -0
  37. package/dist/cjs/utils.js +138 -0
  38. package/dist/cjs/vars.js +22 -0
  39. package/dist/esm/api/handleCommitKey.js +15 -0
  40. package/dist/esm/api/handleCommitKeys.js +33 -0
  41. package/dist/esm/api/handleConfirmInitialized.js +9 -0
  42. package/dist/esm/api/handleEditKey.js +56 -0
  43. package/dist/esm/api/handleIsLocizeEnabled.js +9 -0
  44. package/dist/esm/api/handleRequestPopupChanges.js +19 -0
  45. package/dist/esm/api/handleRequestResourceBundle.js +20 -0
  46. package/dist/esm/api/handleSelectedKeys.js +25 -0
  47. package/dist/esm/api/handleTurnOff.js +6 -0
  48. package/dist/esm/api/handleTurnOn.js +6 -0
  49. package/dist/esm/api/postMessage.js +148 -0
  50. package/dist/esm/clickHandler.js +44 -0
  51. package/dist/esm/index.d.mts +1 -0
  52. package/dist/esm/index.d.ts +15 -0
  53. package/dist/esm/index.js +33 -0
  54. package/dist/esm/locizePlugin.js +99 -0
  55. package/dist/esm/observer.js +70 -0
  56. package/dist/esm/parser.js +113 -0
  57. package/dist/esm/process.js +55 -0
  58. package/dist/esm/processLegacy.js +72 -0
  59. package/dist/esm/shims/uniqueID.js +29 -0
  60. package/dist/esm/startStandalone.js +20 -0
  61. package/dist/esm/store.js +41 -0
  62. package/dist/esm/ui/elements/icons.js +39 -0
  63. package/dist/esm/ui/elements/popup.js +76 -0
  64. package/dist/esm/ui/elements/ribbonBox.js +62 -0
  65. package/dist/esm/ui/highlightNode.js +156 -0
  66. package/dist/esm/ui/mouseDistance.js +39 -0
  67. package/dist/esm/ui/popup.js +108 -0
  68. package/dist/esm/ui/stylesheet.js +8 -0
  69. package/dist/esm/ui/utils.js +34 -0
  70. package/dist/esm/uninstrumentedStore.js +35 -0
  71. package/dist/esm/utils.js +123 -0
  72. package/dist/esm/vars.js +16 -0
  73. package/dist/umd/locize.js +2790 -286
  74. package/dist/umd/locize.min.js +1 -1
  75. package/index.d.mts +1 -0
  76. package/index.d.ts +5 -6
  77. package/locize.js +2790 -286
  78. package/locize.min.js +1 -1
  79. package/package.json +64 -31
  80. package/rollup.config.js +62 -29
  81. package/src/api/handleCommitKey.js +17 -0
  82. package/src/api/handleCommitKeys.js +39 -0
  83. package/src/api/handleConfirmInitialized.js +10 -0
  84. package/src/api/handleEditKey.js +81 -0
  85. package/src/api/handleIsLocizeEnabled.js +13 -0
  86. package/src/api/handleRequestPopupChanges.js +25 -0
  87. package/src/api/handleRequestResourceBundle.js +11 -0
  88. package/src/api/handleSelectedKeys.js +32 -0
  89. package/src/api/handleTurnOff.js +8 -0
  90. package/src/api/handleTurnOn.js +8 -0
  91. package/src/api/index.js +19 -0
  92. package/src/api/postMessage.js +169 -0
  93. package/src/clickHandler.js +48 -0
  94. package/src/index.js +30 -0
  95. package/src/locizePlugin.js +117 -0
  96. package/src/observer.js +93 -0
  97. package/src/parser.js +162 -0
  98. package/src/process.js +55 -0
  99. package/src/processLegacy.js +69 -0
  100. package/src/shims/uniqueID.js +49 -0
  101. package/src/startStandalone.js +19 -0
  102. package/src/store.js +47 -0
  103. package/src/ui/elements/icons.js +92 -0
  104. package/src/ui/elements/popup.js +226 -0
  105. package/src/ui/elements/ribbonBox.js +76 -0
  106. package/src/ui/highlightNode.js +203 -0
  107. package/src/ui/mouseDistance.js +46 -0
  108. package/src/ui/popup.js +135 -0
  109. package/src/ui/stylesheet.js +8 -0
  110. package/src/ui/utils.js +37 -0
  111. package/src/uninstrumentedStore.js +39 -0
  112. package/src/utils.js +158 -0
  113. package/src/vars.js +18 -0
  114. package/tsconfig.json +4 -4
  115. package/.eslintrc.js +0 -20
  116. package/debuggingApp/README.md +0 -11
  117. package/debuggingApp/debugEditor.html +0 -28
  118. package/debuggingApp/index.html +0 -151
  119. package/debuggingApp/node_modules/.package-lock.json +0 -668
  120. package/debuggingApp/node_modules/@babel/runtime/LICENSE +0 -22
  121. package/debuggingApp/node_modules/@babel/runtime/README.md +0 -19
  122. package/debuggingApp/node_modules/@babel/runtime/helpers/AsyncGenerator.js +0 -98
  123. package/debuggingApp/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -5
  124. package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -30
  125. package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecs.js +0 -284
  126. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -11
  127. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -5
  128. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -7
  129. package/debuggingApp/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -9
  130. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -56
  131. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -50
  132. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -37
  133. package/debuggingApp/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -7
  134. package/debuggingApp/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -7
  135. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -22
  136. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -9
  137. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -13
  138. package/debuggingApp/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -7
  139. package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -7
  140. package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -7
  141. package/debuggingApp/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -9
  142. package/debuggingApp/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -5
  143. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -10
  144. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -10
  145. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -8
  146. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -9
  147. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -7
  148. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -11
  149. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -9
  150. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -8
  151. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -5
  152. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -13
  153. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -13
  154. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -14
  155. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -8
  156. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -5
  157. package/debuggingApp/node_modules/@babel/runtime/helpers/construct.js +0 -22
  158. package/debuggingApp/node_modules/@babel/runtime/helpers/createClass.js +0 -20
  159. package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -60
  160. package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -24
  161. package/debuggingApp/node_modules/@babel/runtime/helpers/createSuper.js +0 -24
  162. package/debuggingApp/node_modules/@babel/runtime/helpers/decorate.js +0 -400
  163. package/debuggingApp/node_modules/@babel/runtime/helpers/defaults.js +0 -16
  164. package/debuggingApp/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -24
  165. package/debuggingApp/node_modules/@babel/runtime/helpers/defineProperty.js +0 -16
  166. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +0 -95
  167. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -3
  168. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -28
  169. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -282
  170. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -9
  171. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -3
  172. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -4
  173. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
  174. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -54
  175. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -48
  176. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -35
  177. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -4
  178. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -5
  179. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -20
  180. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -7
  181. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -11
  182. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  183. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  184. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -5
  185. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -7
  186. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -3
  187. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -6
  188. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -6
  189. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  190. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -7
  191. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -4
  192. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  193. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -7
  194. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  195. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -3
  196. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -8
  197. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -8
  198. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -9
  199. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  200. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -3
  201. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/construct.js +0 -18
  202. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -18
  203. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -57
  204. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -21
  205. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
  206. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -396
  207. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -14
  208. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -22
  209. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
  210. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/extends.js +0 -16
  211. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/get.js +0 -20
  212. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  213. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/identity.js +0 -3
  214. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -18
  215. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -6
  216. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  217. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -3
  218. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -7
  219. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -5
  220. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -51
  221. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -3
  222. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -12
  223. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -3
  224. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  225. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +0 -14
  226. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -26
  227. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  228. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -5
  229. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -3
  230. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -3
  231. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -3
  232. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -19
  233. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -27
  234. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  235. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
  236. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  237. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -11
  238. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -3
  239. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -352
  240. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/set.js +0 -51
  241. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
  242. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  243. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -7
  244. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +0 -7
  245. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -9
  246. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -11
  247. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -8
  248. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -3
  249. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -5
  250. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -1
  251. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -7
  252. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -7
  253. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -13
  254. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -6
  255. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -9
  256. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  257. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -6
  258. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -37
  259. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -50
  260. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -3
  261. package/debuggingApp/node_modules/@babel/runtime/helpers/extends.js +0 -18
  262. package/debuggingApp/node_modules/@babel/runtime/helpers/get.js +0 -23
  263. package/debuggingApp/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -8
  264. package/debuggingApp/node_modules/@babel/runtime/helpers/identity.js +0 -5
  265. package/debuggingApp/node_modules/@babel/runtime/helpers/inherits.js +0 -21
  266. package/debuggingApp/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -9
  267. package/debuggingApp/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -11
  268. package/debuggingApp/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -5
  269. package/debuggingApp/node_modules/@babel/runtime/helpers/instanceof.js +0 -9
  270. package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -7
  271. package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -53
  272. package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -5
  273. package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -14
  274. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -5
  275. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -31
  276. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +0 -16
  277. package/debuggingApp/node_modules/@babel/runtime/helpers/jsx.js +0 -29
  278. package/debuggingApp/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -12
  279. package/debuggingApp/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -7
  280. package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -5
  281. package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -5
  282. package/debuggingApp/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -5
  283. package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread.js +0 -22
  284. package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -29
  285. package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -22
  286. package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -16
  287. package/debuggingApp/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -15
  288. package/debuggingApp/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -5
  289. package/debuggingApp/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -354
  290. package/debuggingApp/node_modules/@babel/runtime/helpers/set.js +0 -54
  291. package/debuggingApp/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -9
  292. package/debuggingApp/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -9
  293. package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -13
  294. package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +0 -13
  295. package/debuggingApp/node_modules/@babel/runtime/helpers/superPropBase.js +0 -12
  296. package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -13
  297. package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -10
  298. package/debuggingApp/node_modules/@babel/runtime/helpers/tdz.js +0 -5
  299. package/debuggingApp/node_modules/@babel/runtime/helpers/temporalRef.js +0 -9
  300. package/debuggingApp/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -3
  301. package/debuggingApp/node_modules/@babel/runtime/helpers/toArray.js +0 -13
  302. package/debuggingApp/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -13
  303. package/debuggingApp/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -16
  304. package/debuggingApp/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -10
  305. package/debuggingApp/node_modules/@babel/runtime/helpers/typeof.js +0 -11
  306. package/debuggingApp/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -12
  307. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -9
  308. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -42
  309. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -55
  310. package/debuggingApp/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -5
  311. package/debuggingApp/node_modules/@babel/runtime/package.json +0 -876
  312. package/debuggingApp/node_modules/@babel/runtime/regenerator/index.js +0 -15
  313. package/debuggingApp/node_modules/accepts/HISTORY.md +0 -243
  314. package/debuggingApp/node_modules/accepts/LICENSE +0 -23
  315. package/debuggingApp/node_modules/accepts/README.md +0 -140
  316. package/debuggingApp/node_modules/accepts/index.js +0 -238
  317. package/debuggingApp/node_modules/accepts/package.json +0 -47
  318. package/debuggingApp/node_modules/array-flatten/LICENSE +0 -21
  319. package/debuggingApp/node_modules/array-flatten/README.md +0 -43
  320. package/debuggingApp/node_modules/array-flatten/array-flatten.js +0 -64
  321. package/debuggingApp/node_modules/array-flatten/package.json +0 -39
  322. package/debuggingApp/node_modules/body-parser/HISTORY.md +0 -651
  323. package/debuggingApp/node_modules/body-parser/LICENSE +0 -23
  324. package/debuggingApp/node_modules/body-parser/README.md +0 -464
  325. package/debuggingApp/node_modules/body-parser/SECURITY.md +0 -25
  326. package/debuggingApp/node_modules/body-parser/index.js +0 -157
  327. package/debuggingApp/node_modules/body-parser/lib/read.js +0 -205
  328. package/debuggingApp/node_modules/body-parser/lib/types/json.js +0 -236
  329. package/debuggingApp/node_modules/body-parser/lib/types/raw.js +0 -101
  330. package/debuggingApp/node_modules/body-parser/lib/types/text.js +0 -121
  331. package/debuggingApp/node_modules/body-parser/lib/types/urlencoded.js +0 -284
  332. package/debuggingApp/node_modules/body-parser/package.json +0 -56
  333. package/debuggingApp/node_modules/bytes/History.md +0 -97
  334. package/debuggingApp/node_modules/bytes/LICENSE +0 -23
  335. package/debuggingApp/node_modules/bytes/Readme.md +0 -152
  336. package/debuggingApp/node_modules/bytes/index.js +0 -170
  337. package/debuggingApp/node_modules/bytes/package.json +0 -42
  338. package/debuggingApp/node_modules/call-bind/.github/FUNDING.yml +0 -12
  339. package/debuggingApp/node_modules/call-bind/.nycrc +0 -13
  340. package/debuggingApp/node_modules/call-bind/CHANGELOG.md +0 -42
  341. package/debuggingApp/node_modules/call-bind/LICENSE +0 -21
  342. package/debuggingApp/node_modules/call-bind/README.md +0 -2
  343. package/debuggingApp/node_modules/call-bind/callBound.js +0 -15
  344. package/debuggingApp/node_modules/call-bind/index.js +0 -47
  345. package/debuggingApp/node_modules/call-bind/package.json +0 -80
  346. package/debuggingApp/node_modules/call-bind/test/callBound.js +0 -55
  347. package/debuggingApp/node_modules/call-bind/test/index.js +0 -66
  348. package/debuggingApp/node_modules/content-disposition/HISTORY.md +0 -60
  349. package/debuggingApp/node_modules/content-disposition/LICENSE +0 -22
  350. package/debuggingApp/node_modules/content-disposition/README.md +0 -142
  351. package/debuggingApp/node_modules/content-disposition/index.js +0 -458
  352. package/debuggingApp/node_modules/content-disposition/package.json +0 -44
  353. package/debuggingApp/node_modules/content-type/HISTORY.md +0 -24
  354. package/debuggingApp/node_modules/content-type/LICENSE +0 -22
  355. package/debuggingApp/node_modules/content-type/README.md +0 -92
  356. package/debuggingApp/node_modules/content-type/index.js +0 -222
  357. package/debuggingApp/node_modules/content-type/package.json +0 -40
  358. package/debuggingApp/node_modules/cookie/HISTORY.md +0 -142
  359. package/debuggingApp/node_modules/cookie/LICENSE +0 -24
  360. package/debuggingApp/node_modules/cookie/README.md +0 -302
  361. package/debuggingApp/node_modules/cookie/SECURITY.md +0 -25
  362. package/debuggingApp/node_modules/cookie/index.js +0 -270
  363. package/debuggingApp/node_modules/cookie/package.json +0 -44
  364. package/debuggingApp/node_modules/cookie-signature/History.md +0 -38
  365. package/debuggingApp/node_modules/cookie-signature/Readme.md +0 -42
  366. package/debuggingApp/node_modules/cookie-signature/index.js +0 -51
  367. package/debuggingApp/node_modules/cookie-signature/package.json +0 -18
  368. package/debuggingApp/node_modules/cookies/History.md +0 -62
  369. package/debuggingApp/node_modules/cookies/LICENSE.txt +0 -22
  370. package/debuggingApp/node_modules/cookies/README.md +0 -121
  371. package/debuggingApp/node_modules/cookies/lib/cookies.js +0 -181
  372. package/debuggingApp/node_modules/cookies/package.json +0 -24
  373. package/debuggingApp/node_modules/debug/.coveralls.yml +0 -1
  374. package/debuggingApp/node_modules/debug/.travis.yml +0 -14
  375. package/debuggingApp/node_modules/debug/CHANGELOG.md +0 -362
  376. package/debuggingApp/node_modules/debug/LICENSE +0 -19
  377. package/debuggingApp/node_modules/debug/Makefile +0 -50
  378. package/debuggingApp/node_modules/debug/README.md +0 -312
  379. package/debuggingApp/node_modules/debug/component.json +0 -19
  380. package/debuggingApp/node_modules/debug/node.js +0 -1
  381. package/debuggingApp/node_modules/debug/package.json +0 -49
  382. package/debuggingApp/node_modules/debug/src/browser.js +0 -185
  383. package/debuggingApp/node_modules/debug/src/debug.js +0 -202
  384. package/debuggingApp/node_modules/debug/src/index.js +0 -10
  385. package/debuggingApp/node_modules/debug/src/inspector-log.js +0 -15
  386. package/debuggingApp/node_modules/debug/src/node.js +0 -248
  387. package/debuggingApp/node_modules/depd/History.md +0 -103
  388. package/debuggingApp/node_modules/depd/LICENSE +0 -22
  389. package/debuggingApp/node_modules/depd/Readme.md +0 -280
  390. package/debuggingApp/node_modules/depd/index.js +0 -538
  391. package/debuggingApp/node_modules/depd/lib/browser/index.js +0 -77
  392. package/debuggingApp/node_modules/depd/package.json +0 -45
  393. package/debuggingApp/node_modules/destroy/LICENSE +0 -23
  394. package/debuggingApp/node_modules/destroy/README.md +0 -63
  395. package/debuggingApp/node_modules/destroy/index.js +0 -209
  396. package/debuggingApp/node_modules/destroy/package.json +0 -48
  397. package/debuggingApp/node_modules/ee-first/LICENSE +0 -22
  398. package/debuggingApp/node_modules/ee-first/README.md +0 -80
  399. package/debuggingApp/node_modules/ee-first/index.js +0 -95
  400. package/debuggingApp/node_modules/ee-first/package.json +0 -29
  401. package/debuggingApp/node_modules/encodeurl/HISTORY.md +0 -14
  402. package/debuggingApp/node_modules/encodeurl/LICENSE +0 -22
  403. package/debuggingApp/node_modules/encodeurl/README.md +0 -128
  404. package/debuggingApp/node_modules/encodeurl/index.js +0 -60
  405. package/debuggingApp/node_modules/encodeurl/package.json +0 -40
  406. package/debuggingApp/node_modules/escape-html/LICENSE +0 -24
  407. package/debuggingApp/node_modules/escape-html/Readme.md +0 -43
  408. package/debuggingApp/node_modules/escape-html/index.js +0 -78
  409. package/debuggingApp/node_modules/escape-html/package.json +0 -24
  410. package/debuggingApp/node_modules/etag/HISTORY.md +0 -83
  411. package/debuggingApp/node_modules/etag/LICENSE +0 -22
  412. package/debuggingApp/node_modules/etag/README.md +0 -159
  413. package/debuggingApp/node_modules/etag/index.js +0 -131
  414. package/debuggingApp/node_modules/etag/package.json +0 -47
  415. package/debuggingApp/node_modules/express/History.md +0 -3579
  416. package/debuggingApp/node_modules/express/LICENSE +0 -24
  417. package/debuggingApp/node_modules/express/Readme.md +0 -166
  418. package/debuggingApp/node_modules/express/index.js +0 -11
  419. package/debuggingApp/node_modules/express/lib/application.js +0 -661
  420. package/debuggingApp/node_modules/express/lib/express.js +0 -116
  421. package/debuggingApp/node_modules/express/lib/middleware/init.js +0 -43
  422. package/debuggingApp/node_modules/express/lib/middleware/query.js +0 -47
  423. package/debuggingApp/node_modules/express/lib/request.js +0 -525
  424. package/debuggingApp/node_modules/express/lib/response.js +0 -1169
  425. package/debuggingApp/node_modules/express/lib/router/index.js +0 -673
  426. package/debuggingApp/node_modules/express/lib/router/layer.js +0 -181
  427. package/debuggingApp/node_modules/express/lib/router/route.js +0 -225
  428. package/debuggingApp/node_modules/express/lib/utils.js +0 -304
  429. package/debuggingApp/node_modules/express/lib/view.js +0 -182
  430. package/debuggingApp/node_modules/express/package.json +0 -99
  431. package/debuggingApp/node_modules/finalhandler/HISTORY.md +0 -195
  432. package/debuggingApp/node_modules/finalhandler/LICENSE +0 -22
  433. package/debuggingApp/node_modules/finalhandler/README.md +0 -147
  434. package/debuggingApp/node_modules/finalhandler/SECURITY.md +0 -25
  435. package/debuggingApp/node_modules/finalhandler/index.js +0 -336
  436. package/debuggingApp/node_modules/finalhandler/package.json +0 -46
  437. package/debuggingApp/node_modules/forwarded/HISTORY.md +0 -21
  438. package/debuggingApp/node_modules/forwarded/LICENSE +0 -22
  439. package/debuggingApp/node_modules/forwarded/README.md +0 -57
  440. package/debuggingApp/node_modules/forwarded/index.js +0 -90
  441. package/debuggingApp/node_modules/forwarded/package.json +0 -45
  442. package/debuggingApp/node_modules/fresh/HISTORY.md +0 -70
  443. package/debuggingApp/node_modules/fresh/LICENSE +0 -23
  444. package/debuggingApp/node_modules/fresh/README.md +0 -119
  445. package/debuggingApp/node_modules/fresh/index.js +0 -137
  446. package/debuggingApp/node_modules/fresh/package.json +0 -46
  447. package/debuggingApp/node_modules/function-bind/.jscs.json +0 -176
  448. package/debuggingApp/node_modules/function-bind/.travis.yml +0 -168
  449. package/debuggingApp/node_modules/function-bind/LICENSE +0 -20
  450. package/debuggingApp/node_modules/function-bind/README.md +0 -48
  451. package/debuggingApp/node_modules/function-bind/implementation.js +0 -52
  452. package/debuggingApp/node_modules/function-bind/index.js +0 -5
  453. package/debuggingApp/node_modules/function-bind/package.json +0 -63
  454. package/debuggingApp/node_modules/function-bind/test/index.js +0 -252
  455. package/debuggingApp/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  456. package/debuggingApp/node_modules/get-intrinsic/.nycrc +0 -9
  457. package/debuggingApp/node_modules/get-intrinsic/CHANGELOG.md +0 -91
  458. package/debuggingApp/node_modules/get-intrinsic/LICENSE +0 -21
  459. package/debuggingApp/node_modules/get-intrinsic/README.md +0 -71
  460. package/debuggingApp/node_modules/get-intrinsic/index.js +0 -334
  461. package/debuggingApp/node_modules/get-intrinsic/package.json +0 -88
  462. package/debuggingApp/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  463. package/debuggingApp/node_modules/has/LICENSE-MIT +0 -22
  464. package/debuggingApp/node_modules/has/README.md +0 -18
  465. package/debuggingApp/node_modules/has/package.json +0 -48
  466. package/debuggingApp/node_modules/has/src/index.js +0 -5
  467. package/debuggingApp/node_modules/has/test/index.js +0 -10
  468. package/debuggingApp/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  469. package/debuggingApp/node_modules/has-symbols/.nycrc +0 -9
  470. package/debuggingApp/node_modules/has-symbols/CHANGELOG.md +0 -75
  471. package/debuggingApp/node_modules/has-symbols/LICENSE +0 -21
  472. package/debuggingApp/node_modules/has-symbols/README.md +0 -46
  473. package/debuggingApp/node_modules/has-symbols/index.js +0 -13
  474. package/debuggingApp/node_modules/has-symbols/package.json +0 -101
  475. package/debuggingApp/node_modules/has-symbols/shams.js +0 -42
  476. package/debuggingApp/node_modules/has-symbols/test/index.js +0 -22
  477. package/debuggingApp/node_modules/has-symbols/test/shams/core-js.js +0 -28
  478. package/debuggingApp/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -28
  479. package/debuggingApp/node_modules/has-symbols/test/tests.js +0 -56
  480. package/debuggingApp/node_modules/http-errors/HISTORY.md +0 -180
  481. package/debuggingApp/node_modules/http-errors/LICENSE +0 -23
  482. package/debuggingApp/node_modules/http-errors/README.md +0 -169
  483. package/debuggingApp/node_modules/http-errors/index.js +0 -289
  484. package/debuggingApp/node_modules/http-errors/package.json +0 -50
  485. package/debuggingApp/node_modules/i18next/CONTRIBUTING.md +0 -22
  486. package/debuggingApp/node_modules/i18next/LICENSE +0 -21
  487. package/debuggingApp/node_modules/i18next/README.md +0 -60
  488. package/debuggingApp/node_modules/i18next/dist/cjs/i18next.js +0 -2801
  489. package/debuggingApp/node_modules/i18next/dist/esm/i18next.bundled.js +0 -2954
  490. package/debuggingApp/node_modules/i18next/dist/esm/i18next.js +0 -2802
  491. package/debuggingApp/node_modules/i18next/dist/esm/package.json +0 -1
  492. package/debuggingApp/node_modules/i18next/dist/umd/i18next.js +0 -2922
  493. package/debuggingApp/node_modules/i18next/dist/umd/i18next.min.js +0 -1
  494. package/debuggingApp/node_modules/i18next/i18next.js +0 -2922
  495. package/debuggingApp/node_modules/i18next/i18next.min.js +0 -1
  496. package/debuggingApp/node_modules/i18next/index.d.ts +0 -1257
  497. package/debuggingApp/node_modules/i18next/index.js +0 -5
  498. package/debuggingApp/node_modules/i18next/package.json +0 -126
  499. package/debuggingApp/node_modules/i18next-express-middleware/LICENSE +0 -22
  500. package/debuggingApp/node_modules/i18next-express-middleware/README.md +0 -167
  501. package/debuggingApp/node_modules/i18next-express-middleware/lib/LanguageDetector.js +0 -138
  502. package/debuggingApp/node_modules/i18next-express-middleware/lib/index.js +0 -152
  503. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/cookie.js +0 -47
  504. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/header.js +0 -59
  505. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/path.js +0 -27
  506. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/querystring.js +0 -31
  507. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/session.js +0 -27
  508. package/debuggingApp/node_modules/i18next-express-middleware/lib/utils.js +0 -70
  509. package/debuggingApp/node_modules/i18next-express-middleware/package.json +0 -43
  510. package/debuggingApp/node_modules/i18next-node-fs-backend/LICENSE +0 -22
  511. package/debuggingApp/node_modules/i18next-node-fs-backend/README.md +0 -72
  512. package/debuggingApp/node_modules/i18next-node-fs-backend/lib/index.js +0 -162
  513. package/debuggingApp/node_modules/i18next-node-fs-backend/lib/utils.js +0 -78
  514. package/debuggingApp/node_modules/i18next-node-fs-backend/package.json +0 -43
  515. package/debuggingApp/node_modules/iconv-lite/Changelog.md +0 -162
  516. package/debuggingApp/node_modules/iconv-lite/LICENSE +0 -21
  517. package/debuggingApp/node_modules/iconv-lite/README.md +0 -156
  518. package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
  519. package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  520. package/debuggingApp/node_modules/iconv-lite/encodings/index.js +0 -22
  521. package/debuggingApp/node_modules/iconv-lite/encodings/internal.js +0 -188
  522. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  523. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  524. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
  525. package/debuggingApp/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  526. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  527. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  528. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  529. package/debuggingApp/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  530. package/debuggingApp/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  531. package/debuggingApp/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  532. package/debuggingApp/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  533. package/debuggingApp/node_modules/iconv-lite/encodings/utf16.js +0 -177
  534. package/debuggingApp/node_modules/iconv-lite/encodings/utf7.js +0 -290
  535. package/debuggingApp/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  536. package/debuggingApp/node_modules/iconv-lite/lib/extend-node.js +0 -217
  537. package/debuggingApp/node_modules/iconv-lite/lib/index.d.ts +0 -24
  538. package/debuggingApp/node_modules/iconv-lite/lib/index.js +0 -153
  539. package/debuggingApp/node_modules/iconv-lite/lib/streams.js +0 -121
  540. package/debuggingApp/node_modules/iconv-lite/package.json +0 -46
  541. package/debuggingApp/node_modules/inherits/LICENSE +0 -16
  542. package/debuggingApp/node_modules/inherits/README.md +0 -42
  543. package/debuggingApp/node_modules/inherits/inherits.js +0 -9
  544. package/debuggingApp/node_modules/inherits/inherits_browser.js +0 -27
  545. package/debuggingApp/node_modules/inherits/package.json +0 -29
  546. package/debuggingApp/node_modules/ipaddr.js/LICENSE +0 -19
  547. package/debuggingApp/node_modules/ipaddr.js/README.md +0 -233
  548. package/debuggingApp/node_modules/ipaddr.js/ipaddr.min.js +0 -1
  549. package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
  550. package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
  551. package/debuggingApp/node_modules/ipaddr.js/package.json +0 -35
  552. package/debuggingApp/node_modules/json5/.travis.yml +0 -5
  553. package/debuggingApp/node_modules/json5/CHANGELOG.md +0 -144
  554. package/debuggingApp/node_modules/json5/README.md +0 -271
  555. package/debuggingApp/node_modules/json5/lib/cli.js +0 -41
  556. package/debuggingApp/node_modules/json5/lib/json5.js +0 -754
  557. package/debuggingApp/node_modules/json5/lib/require.js +0 -18
  558. package/debuggingApp/node_modules/json5/package.json +0 -30
  559. package/debuggingApp/node_modules/json5/package.json5 +0 -30
  560. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/empty-array.json +0 -1
  561. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/leading-comma-array.js +0 -3
  562. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/lone-trailing-comma-array.js +0 -3
  563. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/no-comma-array.txt +0 -4
  564. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/regular-array.json +0 -5
  565. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/trailing-comma-array.json5 +0 -3
  566. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-array-element.json5 +0 -6
  567. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-top-level-value.json5 +0 -5
  568. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-in-string.json +0 -1
  569. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-preceding-top-level-value.json5 +0 -5
  570. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-with-asterisks.json5 +0 -7
  571. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-array-element.json5 +0 -3
  572. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-top-level-value.json5 +0 -1
  573. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-in-string.json +0 -1
  574. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-preceding-top-level-value.json5 +0 -2
  575. package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-block-comment.txt +0 -4
  576. package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-inline-comment.txt +0 -1
  577. package/debuggingApp/node_modules/json5/test/parse-cases/comments/unterminated-block-comment.txt +0 -5
  578. package/debuggingApp/node_modules/json5/test/parse-cases/misc/empty.txt +0 -0
  579. package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json +0 -106
  580. package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json5 +0 -106
  581. package/debuggingApp/node_modules/json5/test/parse-cases/misc/readme-example.json5 +0 -25
  582. package/debuggingApp/node_modules/json5/test/parse-cases/misc/valid-whitespace.json5 +0 -5
  583. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/.gitattributes +0 -4
  584. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-cr.json5 +0 -1
  585. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-crlf.json5 +0 -3
  586. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-lf.json5 +0 -3
  587. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-cr.json5 +0 -1
  588. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-crlf.json5 +0 -5
  589. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-lf.json5 +0 -5
  590. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/binary-coffeescript.txt +0 -1
  591. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-decimal-point.json5 +0 -1
  592. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-zero.json +0 -1
  593. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point-with-integer-exponent.json5 +0 -1
  594. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point.json5 +0 -1
  595. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-with-integer-exponent.json +0 -1
  596. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float.json +0 -1
  597. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-empty.txt +0 -1
  598. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-lowercase-letter.json5 +0 -1
  599. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-uppercase-x.json5 +0 -1
  600. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-with-integer-exponent.json5 +0 -1
  601. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal.json5 +0 -1
  602. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/infinity.json5 +0 -1
  603. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-float-exponent.txt +0 -1
  604. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-hexadecimal-exponent.txt +0 -1
  605. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-integer-exponent.json +0 -1
  606. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-float-exponent.txt +0 -1
  607. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-hexadecimal-exponent.txt +0 -1
  608. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-integer-exponent.json +0 -1
  609. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-zero-integer-exponent.json +0 -1
  610. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-float-exponent.txt +0 -1
  611. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-hexadecimal-exponent.txt +0 -1
  612. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-integer-exponent.json +0 -1
  613. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-zero-integer-exponent.json +0 -1
  614. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-zero-integer-exponent.json +0 -1
  615. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer.json +0 -1
  616. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/lone-decimal-point.txt +0 -1
  617. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/nan.json5 +0 -1
  618. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-binary-coffeescript.txt +0 -1
  619. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-decimal-point.json5 +0 -1
  620. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-zero.json +0 -1
  621. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-trailing-decimal-point.json5 +0 -1
  622. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float.json +0 -1
  623. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-hexadecimal.json5 +0 -1
  624. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-infinity.json5 +0 -1
  625. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-integer.json +0 -1
  626. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-noctal.js +0 -1
  627. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal-coffeescript.txt +0 -1
  628. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal.txt +0 -1
  629. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-binary-coffeescript.txt +0 -1
  630. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-leading-decimal-point.json5 +0 -1
  631. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-trailing-decimal-point.json5 +0 -1
  632. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float.json +0 -1
  633. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-hexadecimal.json5 +0 -1
  634. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-integer.json +0 -1
  635. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal-coffeescript.txt +0 -1
  636. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal.txt +0 -1
  637. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal-with-leading-octal-digit.js +0 -1
  638. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal.js +0 -1
  639. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal-coffeescript.txt +0 -1
  640. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal.txt +0 -1
  641. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-binary-coffeescript.txt +0 -1
  642. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-decimal-point.json5 +0 -1
  643. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-zero.json5 +0 -1
  644. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-trailing-decimal-point.json5 +0 -1
  645. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float.json5 +0 -1
  646. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-hexadecimal.json5 +0 -1
  647. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-infinity.json5 +0 -1
  648. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-integer.json5 +0 -1
  649. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-noctal.js +0 -1
  650. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal-coffeescript.txt +0 -1
  651. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal.txt +0 -1
  652. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-binary-coffeescript.txt +0 -1
  653. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-leading-decimal-point.json5 +0 -1
  654. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-trailing-decimal-point.json5 +0 -1
  655. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float.json5 +0 -1
  656. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-hexadecimal.json5 +0 -1
  657. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-integer.json5 +0 -1
  658. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal-coffeescript.txt +0 -1
  659. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal.txt +0 -1
  660. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-binary-coffeescript.txt +0 -1
  661. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-leading-decimal-point.json5 +0 -1
  662. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-trailing-decimal-point.json5 +0 -1
  663. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float.json +0 -1
  664. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-hexadecimal.json5 +0 -1
  665. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer-with-integer-exponent.json +0 -1
  666. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer.json +0 -1
  667. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal-coffeescript.txt +0 -1
  668. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal.txt +0 -1
  669. package/debuggingApp/node_modules/json5/test/parse-cases/objects/duplicate-keys.json +0 -4
  670. package/debuggingApp/node_modules/json5/test/parse-cases/objects/empty-object.json +0 -1
  671. package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-number.txt +0 -3
  672. package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-symbol.txt +0 -3
  673. package/debuggingApp/node_modules/json5/test/parse-cases/objects/leading-comma-object.txt +0 -3
  674. package/debuggingApp/node_modules/json5/test/parse-cases/objects/lone-trailing-comma-object.txt +0 -3
  675. package/debuggingApp/node_modules/json5/test/parse-cases/objects/no-comma-object.txt +0 -4
  676. package/debuggingApp/node_modules/json5/test/parse-cases/objects/reserved-unquoted-key.json5 +0 -3
  677. package/debuggingApp/node_modules/json5/test/parse-cases/objects/single-quoted-key.json5 +0 -3
  678. package/debuggingApp/node_modules/json5/test/parse-cases/objects/trailing-comma-object.json5 +0 -3
  679. package/debuggingApp/node_modules/json5/test/parse-cases/objects/unquoted-keys.json5 +0 -8
  680. package/debuggingApp/node_modules/json5/test/parse-cases/strings/escaped-single-quoted-string.json5 +0 -1
  681. package/debuggingApp/node_modules/json5/test/parse-cases/strings/multi-line-string.json5 +0 -2
  682. package/debuggingApp/node_modules/json5/test/parse-cases/strings/single-quoted-string.json5 +0 -1
  683. package/debuggingApp/node_modules/json5/test/parse-cases/strings/unescaped-multi-line-string.txt +0 -2
  684. package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-escaped-unquoted-key.json5 +0 -3
  685. package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-unquoted-key.json5 +0 -3
  686. package/debuggingApp/node_modules/json5/test/parse.js +0 -89
  687. package/debuggingApp/node_modules/json5/test/readme.md +0 -23
  688. package/debuggingApp/node_modules/json5/test/require.js +0 -18
  689. package/debuggingApp/node_modules/json5/test/stringify.js +0 -498
  690. package/debuggingApp/node_modules/keygrip/HISTORY.md +0 -20
  691. package/debuggingApp/node_modules/keygrip/LICENSE +0 -21
  692. package/debuggingApp/node_modules/keygrip/README.md +0 -103
  693. package/debuggingApp/node_modules/keygrip/index.js +0 -71
  694. package/debuggingApp/node_modules/keygrip/package.json +0 -25
  695. package/debuggingApp/node_modules/media-typer/HISTORY.md +0 -22
  696. package/debuggingApp/node_modules/media-typer/LICENSE +0 -22
  697. package/debuggingApp/node_modules/media-typer/README.md +0 -81
  698. package/debuggingApp/node_modules/media-typer/index.js +0 -270
  699. package/debuggingApp/node_modules/media-typer/package.json +0 -26
  700. package/debuggingApp/node_modules/merge-descriptors/HISTORY.md +0 -21
  701. package/debuggingApp/node_modules/merge-descriptors/LICENSE +0 -23
  702. package/debuggingApp/node_modules/merge-descriptors/README.md +0 -48
  703. package/debuggingApp/node_modules/merge-descriptors/index.js +0 -60
  704. package/debuggingApp/node_modules/merge-descriptors/package.json +0 -32
  705. package/debuggingApp/node_modules/methods/HISTORY.md +0 -29
  706. package/debuggingApp/node_modules/methods/LICENSE +0 -24
  707. package/debuggingApp/node_modules/methods/README.md +0 -51
  708. package/debuggingApp/node_modules/methods/index.js +0 -69
  709. package/debuggingApp/node_modules/methods/package.json +0 -36
  710. package/debuggingApp/node_modules/mime/CHANGELOG.md +0 -164
  711. package/debuggingApp/node_modules/mime/LICENSE +0 -21
  712. package/debuggingApp/node_modules/mime/README.md +0 -90
  713. package/debuggingApp/node_modules/mime/cli.js +0 -8
  714. package/debuggingApp/node_modules/mime/mime.js +0 -108
  715. package/debuggingApp/node_modules/mime/package.json +0 -44
  716. package/debuggingApp/node_modules/mime/src/build.js +0 -53
  717. package/debuggingApp/node_modules/mime/src/test.js +0 -60
  718. package/debuggingApp/node_modules/mime/types.json +0 -1
  719. package/debuggingApp/node_modules/mime-db/HISTORY.md +0 -507
  720. package/debuggingApp/node_modules/mime-db/LICENSE +0 -23
  721. package/debuggingApp/node_modules/mime-db/README.md +0 -100
  722. package/debuggingApp/node_modules/mime-db/db.json +0 -8519
  723. package/debuggingApp/node_modules/mime-db/index.js +0 -12
  724. package/debuggingApp/node_modules/mime-db/package.json +0 -60
  725. package/debuggingApp/node_modules/mime-types/HISTORY.md +0 -397
  726. package/debuggingApp/node_modules/mime-types/LICENSE +0 -23
  727. package/debuggingApp/node_modules/mime-types/README.md +0 -113
  728. package/debuggingApp/node_modules/mime-types/index.js +0 -188
  729. package/debuggingApp/node_modules/mime-types/package.json +0 -44
  730. package/debuggingApp/node_modules/ms/index.js +0 -152
  731. package/debuggingApp/node_modules/ms/license.md +0 -21
  732. package/debuggingApp/node_modules/ms/package.json +0 -37
  733. package/debuggingApp/node_modules/ms/readme.md +0 -51
  734. package/debuggingApp/node_modules/negotiator/HISTORY.md +0 -108
  735. package/debuggingApp/node_modules/negotiator/LICENSE +0 -24
  736. package/debuggingApp/node_modules/negotiator/README.md +0 -203
  737. package/debuggingApp/node_modules/negotiator/index.js +0 -82
  738. package/debuggingApp/node_modules/negotiator/lib/charset.js +0 -169
  739. package/debuggingApp/node_modules/negotiator/lib/encoding.js +0 -184
  740. package/debuggingApp/node_modules/negotiator/lib/language.js +0 -179
  741. package/debuggingApp/node_modules/negotiator/lib/mediaType.js +0 -294
  742. package/debuggingApp/node_modules/negotiator/package.json +0 -42
  743. package/debuggingApp/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  744. package/debuggingApp/node_modules/object-inspect/.nycrc +0 -13
  745. package/debuggingApp/node_modules/object-inspect/CHANGELOG.md +0 -360
  746. package/debuggingApp/node_modules/object-inspect/LICENSE +0 -21
  747. package/debuggingApp/node_modules/object-inspect/example/all.js +0 -23
  748. package/debuggingApp/node_modules/object-inspect/example/circular.js +0 -6
  749. package/debuggingApp/node_modules/object-inspect/example/fn.js +0 -5
  750. package/debuggingApp/node_modules/object-inspect/example/inspect.js +0 -10
  751. package/debuggingApp/node_modules/object-inspect/index.js +0 -512
  752. package/debuggingApp/node_modules/object-inspect/package-support.json +0 -20
  753. package/debuggingApp/node_modules/object-inspect/package.json +0 -94
  754. package/debuggingApp/node_modules/object-inspect/readme.markdown +0 -86
  755. package/debuggingApp/node_modules/object-inspect/test/bigint.js +0 -58
  756. package/debuggingApp/node_modules/object-inspect/test/browser/dom.js +0 -15
  757. package/debuggingApp/node_modules/object-inspect/test/circular.js +0 -16
  758. package/debuggingApp/node_modules/object-inspect/test/deep.js +0 -12
  759. package/debuggingApp/node_modules/object-inspect/test/element.js +0 -53
  760. package/debuggingApp/node_modules/object-inspect/test/err.js +0 -48
  761. package/debuggingApp/node_modules/object-inspect/test/fakes.js +0 -29
  762. package/debuggingApp/node_modules/object-inspect/test/fn.js +0 -76
  763. package/debuggingApp/node_modules/object-inspect/test/has.js +0 -15
  764. package/debuggingApp/node_modules/object-inspect/test/holes.js +0 -15
  765. package/debuggingApp/node_modules/object-inspect/test/indent-option.js +0 -271
  766. package/debuggingApp/node_modules/object-inspect/test/inspect.js +0 -139
  767. package/debuggingApp/node_modules/object-inspect/test/lowbyte.js +0 -12
  768. package/debuggingApp/node_modules/object-inspect/test/number.js +0 -58
  769. package/debuggingApp/node_modules/object-inspect/test/quoteStyle.js +0 -17
  770. package/debuggingApp/node_modules/object-inspect/test/toStringTag.js +0 -40
  771. package/debuggingApp/node_modules/object-inspect/test/undef.js +0 -12
  772. package/debuggingApp/node_modules/object-inspect/test/values.js +0 -211
  773. package/debuggingApp/node_modules/object-inspect/test-core-js.js +0 -26
  774. package/debuggingApp/node_modules/object-inspect/util.inspect.js +0 -1
  775. package/debuggingApp/node_modules/on-finished/HISTORY.md +0 -98
  776. package/debuggingApp/node_modules/on-finished/LICENSE +0 -23
  777. package/debuggingApp/node_modules/on-finished/README.md +0 -162
  778. package/debuggingApp/node_modules/on-finished/index.js +0 -234
  779. package/debuggingApp/node_modules/on-finished/package.json +0 -39
  780. package/debuggingApp/node_modules/parseurl/HISTORY.md +0 -58
  781. package/debuggingApp/node_modules/parseurl/LICENSE +0 -24
  782. package/debuggingApp/node_modules/parseurl/README.md +0 -133
  783. package/debuggingApp/node_modules/parseurl/index.js +0 -158
  784. package/debuggingApp/node_modules/parseurl/package.json +0 -40
  785. package/debuggingApp/node_modules/path-to-regexp/History.md +0 -36
  786. package/debuggingApp/node_modules/path-to-regexp/LICENSE +0 -21
  787. package/debuggingApp/node_modules/path-to-regexp/Readme.md +0 -35
  788. package/debuggingApp/node_modules/path-to-regexp/index.js +0 -129
  789. package/debuggingApp/node_modules/path-to-regexp/package.json +0 -30
  790. package/debuggingApp/node_modules/proxy-addr/HISTORY.md +0 -161
  791. package/debuggingApp/node_modules/proxy-addr/LICENSE +0 -22
  792. package/debuggingApp/node_modules/proxy-addr/README.md +0 -139
  793. package/debuggingApp/node_modules/proxy-addr/index.js +0 -327
  794. package/debuggingApp/node_modules/proxy-addr/package.json +0 -47
  795. package/debuggingApp/node_modules/qs/.github/FUNDING.yml +0 -12
  796. package/debuggingApp/node_modules/qs/.nycrc +0 -13
  797. package/debuggingApp/node_modules/qs/CHANGELOG.md +0 -388
  798. package/debuggingApp/node_modules/qs/LICENSE.md +0 -29
  799. package/debuggingApp/node_modules/qs/README.md +0 -623
  800. package/debuggingApp/node_modules/qs/dist/qs.js +0 -2044
  801. package/debuggingApp/node_modules/qs/lib/formats.js +0 -23
  802. package/debuggingApp/node_modules/qs/lib/index.js +0 -11
  803. package/debuggingApp/node_modules/qs/lib/parse.js +0 -263
  804. package/debuggingApp/node_modules/qs/lib/stringify.js +0 -317
  805. package/debuggingApp/node_modules/qs/lib/utils.js +0 -252
  806. package/debuggingApp/node_modules/qs/package.json +0 -73
  807. package/debuggingApp/node_modules/qs/test/parse.js +0 -841
  808. package/debuggingApp/node_modules/qs/test/stringify.js +0 -865
  809. package/debuggingApp/node_modules/qs/test/utils.js +0 -136
  810. package/debuggingApp/node_modules/range-parser/HISTORY.md +0 -56
  811. package/debuggingApp/node_modules/range-parser/LICENSE +0 -23
  812. package/debuggingApp/node_modules/range-parser/README.md +0 -84
  813. package/debuggingApp/node_modules/range-parser/index.js +0 -162
  814. package/debuggingApp/node_modules/range-parser/package.json +0 -44
  815. package/debuggingApp/node_modules/raw-body/HISTORY.md +0 -303
  816. package/debuggingApp/node_modules/raw-body/LICENSE +0 -22
  817. package/debuggingApp/node_modules/raw-body/README.md +0 -223
  818. package/debuggingApp/node_modules/raw-body/SECURITY.md +0 -24
  819. package/debuggingApp/node_modules/raw-body/index.d.ts +0 -87
  820. package/debuggingApp/node_modules/raw-body/index.js +0 -329
  821. package/debuggingApp/node_modules/raw-body/package.json +0 -49
  822. package/debuggingApp/node_modules/regenerator-runtime/LICENSE +0 -21
  823. package/debuggingApp/node_modules/regenerator-runtime/README.md +0 -31
  824. package/debuggingApp/node_modules/regenerator-runtime/package.json +0 -19
  825. package/debuggingApp/node_modules/regenerator-runtime/path.js +0 -11
  826. package/debuggingApp/node_modules/regenerator-runtime/runtime.js +0 -754
  827. package/debuggingApp/node_modules/safe-buffer/LICENSE +0 -21
  828. package/debuggingApp/node_modules/safe-buffer/README.md +0 -584
  829. package/debuggingApp/node_modules/safe-buffer/index.d.ts +0 -187
  830. package/debuggingApp/node_modules/safe-buffer/index.js +0 -65
  831. package/debuggingApp/node_modules/safe-buffer/package.json +0 -51
  832. package/debuggingApp/node_modules/safer-buffer/LICENSE +0 -21
  833. package/debuggingApp/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  834. package/debuggingApp/node_modules/safer-buffer/Readme.md +0 -156
  835. package/debuggingApp/node_modules/safer-buffer/dangerous.js +0 -58
  836. package/debuggingApp/node_modules/safer-buffer/package.json +0 -34
  837. package/debuggingApp/node_modules/safer-buffer/safer.js +0 -77
  838. package/debuggingApp/node_modules/safer-buffer/tests.js +0 -406
  839. package/debuggingApp/node_modules/send/HISTORY.md +0 -521
  840. package/debuggingApp/node_modules/send/LICENSE +0 -23
  841. package/debuggingApp/node_modules/send/README.md +0 -327
  842. package/debuggingApp/node_modules/send/SECURITY.md +0 -24
  843. package/debuggingApp/node_modules/send/index.js +0 -1143
  844. package/debuggingApp/node_modules/send/node_modules/ms/index.js +0 -162
  845. package/debuggingApp/node_modules/send/node_modules/ms/license.md +0 -21
  846. package/debuggingApp/node_modules/send/node_modules/ms/package.json +0 -38
  847. package/debuggingApp/node_modules/send/node_modules/ms/readme.md +0 -59
  848. package/debuggingApp/node_modules/send/package.json +0 -62
  849. package/debuggingApp/node_modules/serve-static/HISTORY.md +0 -471
  850. package/debuggingApp/node_modules/serve-static/LICENSE +0 -25
  851. package/debuggingApp/node_modules/serve-static/README.md +0 -257
  852. package/debuggingApp/node_modules/serve-static/index.js +0 -210
  853. package/debuggingApp/node_modules/serve-static/package.json +0 -42
  854. package/debuggingApp/node_modules/setprototypeof/LICENSE +0 -13
  855. package/debuggingApp/node_modules/setprototypeof/README.md +0 -31
  856. package/debuggingApp/node_modules/setprototypeof/index.d.ts +0 -2
  857. package/debuggingApp/node_modules/setprototypeof/index.js +0 -17
  858. package/debuggingApp/node_modules/setprototypeof/package.json +0 -38
  859. package/debuggingApp/node_modules/setprototypeof/test/index.js +0 -24
  860. package/debuggingApp/node_modules/side-channel/.github/FUNDING.yml +0 -12
  861. package/debuggingApp/node_modules/side-channel/.nycrc +0 -13
  862. package/debuggingApp/node_modules/side-channel/CHANGELOG.md +0 -65
  863. package/debuggingApp/node_modules/side-channel/LICENSE +0 -21
  864. package/debuggingApp/node_modules/side-channel/README.md +0 -2
  865. package/debuggingApp/node_modules/side-channel/index.js +0 -124
  866. package/debuggingApp/node_modules/side-channel/package.json +0 -67
  867. package/debuggingApp/node_modules/side-channel/test/index.js +0 -78
  868. package/debuggingApp/node_modules/statuses/HISTORY.md +0 -82
  869. package/debuggingApp/node_modules/statuses/LICENSE +0 -23
  870. package/debuggingApp/node_modules/statuses/README.md +0 -136
  871. package/debuggingApp/node_modules/statuses/codes.json +0 -65
  872. package/debuggingApp/node_modules/statuses/index.js +0 -146
  873. package/debuggingApp/node_modules/statuses/package.json +0 -49
  874. package/debuggingApp/node_modules/toidentifier/HISTORY.md +0 -9
  875. package/debuggingApp/node_modules/toidentifier/LICENSE +0 -21
  876. package/debuggingApp/node_modules/toidentifier/README.md +0 -61
  877. package/debuggingApp/node_modules/toidentifier/index.js +0 -32
  878. package/debuggingApp/node_modules/toidentifier/package.json +0 -38
  879. package/debuggingApp/node_modules/type-is/HISTORY.md +0 -259
  880. package/debuggingApp/node_modules/type-is/LICENSE +0 -23
  881. package/debuggingApp/node_modules/type-is/README.md +0 -170
  882. package/debuggingApp/node_modules/type-is/index.js +0 -266
  883. package/debuggingApp/node_modules/type-is/package.json +0 -45
  884. package/debuggingApp/node_modules/unpipe/HISTORY.md +0 -4
  885. package/debuggingApp/node_modules/unpipe/LICENSE +0 -22
  886. package/debuggingApp/node_modules/unpipe/README.md +0 -43
  887. package/debuggingApp/node_modules/unpipe/index.js +0 -69
  888. package/debuggingApp/node_modules/unpipe/package.json +0 -27
  889. package/debuggingApp/node_modules/utils-merge/LICENSE +0 -20
  890. package/debuggingApp/node_modules/utils-merge/README.md +0 -34
  891. package/debuggingApp/node_modules/utils-merge/index.js +0 -23
  892. package/debuggingApp/node_modules/utils-merge/package.json +0 -40
  893. package/debuggingApp/node_modules/vary/HISTORY.md +0 -39
  894. package/debuggingApp/node_modules/vary/LICENSE +0 -22
  895. package/debuggingApp/node_modules/vary/README.md +0 -101
  896. package/debuggingApp/node_modules/vary/index.js +0 -149
  897. package/debuggingApp/node_modules/vary/package.json +0 -43
  898. package/debuggingApp/package-lock.json +0 -1162
  899. package/debuggingApp/package.json +0 -18
  900. package/debuggingApp/server.js +0 -42
  901. package/dist/cjs/locize.js +0 -464
  902. package/dist/esm/locize.js +0 -454
@@ -1 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).i18next=t()}(this,function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}function s(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return o(t)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var p={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},g=new(function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,e),this.init(n,r)}return r(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||p,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,f(f({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}}]),e}()),h=function(){function e(){t(this,e),this.observers={}}return r(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach(function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)}),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter(function(e){return e!==t}):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach(function(e){e.apply(void 0,n)});this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(t){t.apply(t,[e].concat(n))})}}]),e}();function d(){var e,t,n=new Promise(function(n,r){e=n,t=r});return n.resolve=e,n.reject=t,n}function v(e){return null==e?"":""+e}function y(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function m(e,t,n){var r=y(e,t,Object);r.obj[r.k]=n}function b(e,t){var n=y(e,t),r=n.obj,o=n.k;if(r)return r[o]}function O(e,t,n){var r=b(e,n);return void 0!==r?r:b(t,n)}function k(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var w={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function x(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return w[e]}):e}var S="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,j=[" ",",","?","!",";"];function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}var N=function(e){a(i,h);var n=R(i);function i(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return t(this,i),r=n.call(this),S&&h.call(o(r)),r.data=e||{},r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return r(i,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=b(this.data,a);return s||!i||"string"!=typeof n?s:function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(t){if(t[n])return t[n];for(var o=n.split(r),i=t,a=0;a<o.length;++a){if(!i)return;if("string"==typeof i[o[a]]&&a+1<o.length)return;if(void 0===i[o[a]]){for(var s=2,u=o.slice(a,a+s).join(r),c=i[u];void 0===c&&o.length>a+s;)s++,c=i[u=o.slice(a,a+s).join(r)];if(void 0===c)return;if(null===c)return null;if(n.endsWith(u)){if("string"==typeof c)return c;if(u&&"string"==typeof c[u])return c[u]}var l=o.slice(a+s).join(r);return l?e(c,l,r):void 0}i=i[o[a]]}return i}}(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),m(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=b(this.data,a)||{};r?function e(t,n,r){for(var o in n)"__proto__"!==o&&"constructor"!==o&&(o in t?"string"==typeof t[o]||t[o]instanceof String||"string"==typeof n[o]||n[o]instanceof String?r&&(t[o]=n[o]):e(t[o],n[o],r):t[o]=n[o]);return t}(s,n,o):s=L(L({},s),n),m(this.data,a,s),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?L(L({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(function(e){return t[e]&&Object.keys(t[e]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),i}(),C={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach(function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))}),t}};function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}var I={},A=function(n){a(s,h);var i=F(s);function s(e){var n,r,a,u,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t(this,s),n=i.call(this),S&&h.call(o(n)),r=["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],a=e,u=o(n),r.forEach(function(e){a[e]&&(u[e]=a[e])}),n.options=c,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=g.create("translator"),n}return r(s,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=j.filter(function(e){return t.indexOf(e)<0&&n.indexOf(e)<0});if(0===r.length)return!0;var o=new RegExp("(".concat(r.map(function(e){return"?"===e?"\\?":e}).join("|"),")")),i=!o.test(e);if(!i){var a=e.indexOf(n);a>0&&!o.test(e.substring(0,a))&&(i=!0)}return i}(e,n,r));if(i&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:o};var u=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),e=u.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(t,n,r){var o=this;if("object"!==e(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==t)return"";Array.isArray(t)||(t=[String(t)]);var i=void 0!==n.returnDetails?n.returnDetails:this.options.returnDetails,a=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,u=this.extractFromKey(t[t.length-1],n),c=u.key,l=u.namespaces,f=l[l.length-1],p=n.lng||this.language,g=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&"cimode"===p.toLowerCase()){if(g){var h=n.nsSeparator||this.options.nsSeparator;return i?(d.res="".concat(f).concat(h).concat(c),d):"".concat(f).concat(h).concat(c)}return i?(d.res=c,d):c}var d=this.resolve(t,n),v=d&&d.res,y=d&&d.usedKey||c,m=d&&d.exactUsedKey||c,b=Object.prototype.toString.apply(v),O=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,k=!this.i18nFormat||this.i18nFormat.handleAsObject;if(k&&v&&("string"!=typeof v&&"boolean"!=typeof v&&"number"!=typeof v)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(b)<0&&("string"!=typeof O||"[object Array]"!==b)){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var w=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,v,D(D({},n),{},{ns:l})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return i?(d.res=w,d):w}if(a){var x="[object Array]"===b,S=x?[]:{},j=x?m:y;for(var P in v)if(Object.prototype.hasOwnProperty.call(v,P)){var L="".concat(j).concat(a).concat(P);S[P]=this.translate(L,D(D({},n),{joinArrays:!1,ns:l})),S[P]===L&&(S[P]=v[P])}v=S}}else if(k&&"string"==typeof O&&"[object Array]"===b)(v=v.join(O))&&(v=this.extendTranslation(v,t,n,r));else{var R=!1,N=!1,C=void 0!==n.count&&"string"!=typeof n.count,E=s.hasDefaultValue(n),F=C?this.pluralResolver.getSuffix(p,n.count,n):"",I=n["defaultValue".concat(F)]||n.defaultValue;!this.isValidLookup(v)&&E&&(R=!0,v=I),this.isValidLookup(v)||(N=!0,v=c);var A=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&N?void 0:v,T=E&&I!==v&&this.options.updateMissing;if(N||R||T){if(this.logger.log(T?"updateKey":"missingKey",p,f,c,T?I:v),a){var V=this.resolve(c,D(D({},n),{},{keySeparator:!1}));V&&V.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var U=[],K=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&K&&K[0])for(var B=0;B<K.length;B++)U.push(K[B]);else"all"===this.options.saveMissingTo?U=this.languageUtils.toResolveHierarchy(n.lng||this.language):U.push(n.lng||this.language);var M=function(e,t,r){var i=E&&r!==v?r:A;o.options.missingKeyHandler?o.options.missingKeyHandler(e,f,t,i,T,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,f,t,i,T,n),o.emit("missingKey",e,f,t,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&C?U.forEach(function(e){o.pluralResolver.getSuffixes(e,n).forEach(function(t){M([e],c+t,n["defaultValue".concat(t)]||I)})}):M(U,c,I))}v=this.extendTranslation(v,t,n,d,r),N&&v===c&&this.options.appendNamespaceToMissingKey&&(v="".concat(f,":").concat(c)),(N||R)&&this.options.parseMissingKeyHandler&&(v="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(f,":").concat(c):c,R?v:void 0):this.options.parseMissingKeyHandler(v))}return i?(d.res=v,d):v}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,D(D({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(D(D({},n),{interpolation:D(D({},this.options.interpolation),n.interpolation)}));var a,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var u=e.match(this.interpolator.nestingRegexp);a=u&&u.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=D(D({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var l=e.match(this.interpolator.nestingRegexp);a<(l&&l.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))},n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,p="string"==typeof f?[f]:f;return null!=e&&p&&p.length&&!1!==n.applyPostProcessor&&(e=C.handle(p,e,t,this.options&&this.options.postProcessPassResolved?D({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!a.isValidLookup(t)){var u=a.extractFromKey(e,s),c=u.key;n=c;var l=u.namespaces;a.options.fallbackNS&&(l=l.concat(a.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,p=f&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),g=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);l.forEach(function(e){a.isValidLookup(t)||(i=e,!I["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(I["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(function(n){if(!a.isValidLookup(t)){o=n;var i,u=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(u,c,n,e,s);else{var l;f&&(l=a.pluralResolver.getSuffix(n,s.count,s));if(f&&(u.push(c+l),p&&u.push(c+"_zero")),g){var h="".concat(c).concat(a.options.contextSeparator).concat(s.context);u.push(h),f&&(u.push(h+l),p&&u.push(h+"_zero"))}}for(;i=u.pop();)a.isValidLookup(t)||(r=i,t=a.getResource(n,e,i,s))}}))})}}),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,"defaultValue".length)&&void 0!==e[t])return!0;return!1}}]),s}();function T(e){return e.charAt(0).toUpperCase()+e.slice(1)}var V=function(){function e(n){t(this,e),this.options=n,this.supportedLngs=this.options.supportedLngs||!1,this.logger=g.create("languageUtils")}return r(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=T(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=T(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=T(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach(function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find(function(e){if(0===e.indexOf(r))return e})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach(function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e))}),o}}]),e}(),U=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],K={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},B=["v1","v2","v3"],M={zero:0,one:1,two:2,few:3,many:4,other:5};var H=function(){function e(n){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,e),this.languageUtils=n,this.options=o,this.logger=g.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(r={},U.forEach(function(e){e.lngs.forEach(function(t){r[t]={numbers:e.nr,plurals:K[e.fc]}})}),r)}return r(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map(function(e){return"".concat(t).concat(e)})}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort(function(e,t){return M[e]-M[t]}).map(function(e){return"".concat(t.options.prepend).concat(e)}):r.numbers.map(function(r){return t.getSuffix(e,r,n)}):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var i=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):i():"v2"===this.options.compatibilityJSON?i():this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!B.includes(this.options.compatibilityJSON)}}]),e}();function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var _=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.logger=g.create("interpolator"),this.options=n,this.format=n.interpolation&&n.interpolation.format||function(e){return e},this.init(n)}return r(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:x,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?k(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?k(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?k(t.nestingPrefix):t.nestingPrefixEscaped||k("$t("),this.nestingSuffix=t.nestingSuffix?k(t.nestingSuffix):t.nestingSuffixEscaped||k(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,s=this,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var l=function(e){if(e.indexOf(s.formatSeparator)<0){var o=O(t,u,e);return s.alwaysFormat?s.format(o,void 0,n,J(J(J({},r),t),{},{interpolationkey:e})):o}var i=e.split(s.formatSeparator),a=i.shift().trim(),c=i.join(s.formatSeparator).trim();return s.format(O(t,u,a),c,n,J(J(J({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach(function(t){for(a=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(i=l(n)))if("function"==typeof f){var u=f(e,o,r);i="string"==typeof u?u:""}else if(r&&r.hasOwnProperty(n))i="";else{if(p){i=o[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),i=""}else"string"==typeof i||s.useRawValueToEscape||(i=v(i));var c=t.safeValue(i);if(e=e.replace(o[0],c),p?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}}),e}},{key:"nest",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=J({},i);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,a)).replace(/'/g,'"');try{a=JSON.parse(o),t&&(a=J(J({},t),a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var u=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var l=n[1].split(this.formatSeparator).map(function(e){return e.trim()});n[1]=l.shift(),u=l,c=!0}if((r=t(s.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=v(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=u.reduce(function(e,t){return o.format(e,t,i.lng,J(J({},i),{},{interpolationkey:n[1].trim()}))},r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?q(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var G=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.logger=g.create("formatter"),this.options=n,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,Y(Y({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,Y({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,Y({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,Y({},n)).format(e)}},this.init(n)}return r(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"format",value:function(e,t,n,r){var o=this;return t.split(this.formatSeparator).reduce(function(e,t){var i=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(function(e){if(e){var t=$(e.split(":")),r=t[0],o=t.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[r.trim()]||(n[r.trim()]=o),"false"===o&&(n[r.trim()]=!1),"true"===o&&(n[r.trim()]=!0),isNaN(o)||(n[r.trim()]=parseInt(o,10))}})}return{formatName:t,formatOptions:n}}(t),a=i.formatName,s=i.formatOptions;if(o.formats[a]){var u=e;try{var c=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},l=c.locale||c.lng||r.locale||r.lng||n;u=o.formats[a](e,l,Y(Y(Y({},s),r),c))}catch(e){o.logger.warn(e)}return u}return o.logger.warn("there was no format function for ".concat(a)),e},e)}}]),e}();function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}var ee=function(e){a(i,h);var n=Z(i);function i(e,r,a){var s,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t(this,i),s=n.call(this),S&&h.call(o(s)),s.backend=e,s.store=r,s.services=a,s.languageUtils=a.languageUtils,s.options=u,s.logger=g.create("backendConnector"),s.waitingReads=[],s.maxParallelReads=u.maxParallelReads||10,s.readingCalls=0,s.state={},s.queue=[],s.backend&&s.backend.init&&s.backend.init(a,u.backend,u),s}return r(i,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i={},a={},s={},u={};return e.forEach(function(e){var r=!0;t.forEach(function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?void 0===a[s]&&(a[s]=!0):(o.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===u[t]&&(u[t]=!0)))}),r||(s[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(u)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach(function(n){var r,s,u,c,l,f;r=n.loaded,s=i,c=y(r,[o],Object),l=c.obj,f=c.k,l[f]=l[f]||[],u&&(l[f]=l[f].concat(s)),u||l[f].push(s),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach(function(t){void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:o,wait:i,callback:a}):(this.readingCalls++,this.backend[n](e,t,function(s,u){if(s&&u&&o<5)setTimeout(function(){r.read.call(r,e,t,n,o+1,2*i,a)},i);else{if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}a(s,u)}})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach(function(e){n.loadOne(e)})}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)})}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,X(X({},i),{},{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),i}();function te(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function ie(){}var ae=function(n){a(u,h);var i=oe(u);function u(){var e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(t(this,u),e=i.call(this),S&&h.call(o(e)),e.options=te(r),e.services={},e.logger=g,e.modules={external:[]},n=o(e),Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(function(e){"function"==typeof n[e]&&(n[e]=n[e].bind(n))}),a&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,a),s(e,o(e));setTimeout(function(){e.init(r,a)},0)}return e}return r(u,[{key:"init",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;"function"==typeof n&&(r=n,n={}),!n.defaultNS&&n.ns&&("string"==typeof n.ns?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));var o={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if("object"===e(t[1])&&(n=t[1]),"string"==typeof t[1]&&(n.defaultValue=t[1]),"string"==typeof t[2]&&(n.tDescription=t[2]),"object"===e(t[2])||"object"===e(t[3])){var r=t[3]||t[2];Object.keys(r).forEach(function(e){n[e]=r[e]})}return n},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function i(e){return e?"function"==typeof e?new e:e:null}if(this.options=re(re(re({},o),this.options),te(n)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=re(re({},o.interpolation),this.options.interpolation)),void 0!==n.keySeparator&&(this.options.userDefinedKeySeparator=n.keySeparator),void 0!==n.nsSeparator&&(this.options.userDefinedNsSeparator=n.nsSeparator),!this.options.isClone){var a;this.modules.logger?g.init(i(this.modules.logger),this.options):g.init(null,this.options),this.modules.formatter?a=this.modules.formatter:"undefined"!=typeof Intl&&(a=G);var s=new V(this.options);this.store=new N(this.options.resources,this.options);var u=this.services;u.logger=g,u.resourceStore=this.store,u.languageUtils=s,u.pluralResolver=new H(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!a||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(u.formatter=i(a),u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new _(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new ee(i(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit.apply(t,[e].concat(r))}),this.modules.languageDetector&&(u.languageDetector=i(this.modules.languageDetector),u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=i(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new A(this.services,this.options),this.translator.on("*",function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit.apply(t,[e].concat(r))}),this.modules.external.forEach(function(e){e.init&&e.init(t)})}if(this.format=this.options.interpolation.format,r||(r=ie),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&"dev"!==c[0]&&(this.options.lng=c[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments)}});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments),t}});var l=d(),f=function(){var e=function(e,n){t.isInitialized&&!t.initializedStoreOnce&&t.logger.warn("init: i18next is already initialized. You should call init just once!"),t.isInitialized=!0,t.options.isClone||t.logger.log("initialized",t.options),t.emit("initialized",t.options),l.resolve(n),r(e,n)};if(t.languages&&"v1"!==t.options.compatibilityAPI&&!t.isInitialized)return e(null,t.t.bind(t));t.changeLanguage(t.options.lng,e)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),l}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var o=[],i=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach(function(e){o.indexOf(e)<0&&o.push(e)})};if(r)i(r);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return i(e)});this.options.preload&&this.options.preload.forEach(function(e){return i(e)}),this.services.backendConnector.load(o,this.options.ns,function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)})}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=d();return e||(e=this.languages),t||(t=this.options.ns),n||(n=ie),this.services.backendConnector.reload(e,t,function(e){r.resolve(),n(e)}),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&C.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=d();this.emit("languageChanging",e);var o=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},i=function(i){e||i||!n.services.languageDetector||(i=[]);var a="string"==typeof i?i:n.services.languageUtils.getBestMatchFromCodes(i);a&&(n.language||o(a),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,function(e){!function(e,i){i?(o(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve(function(){return n.t.apply(n,arguments)}),t&&t(e,function(){return n.t.apply(n,arguments)})}(e,a)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(t,n,r){var o=this,i=function t(n,i){var a;if("object"!==e(i)){for(var s=arguments.length,u=new Array(s>2?s-2:0),c=2;c<s;c++)u[c-2]=arguments[c];a=o.options.overloadTranslationOptionHandler([n,i].concat(u))}else a=re({},i);a.lng=a.lng||t.lng,a.lngs=a.lngs||t.lngs,a.ns=a.ns||t.ns;var l=o.options.keySeparator||".",f=r?"".concat(r).concat(l).concat(n):n;return o.t(f,a)};return"string"==typeof t?i.lng=t:i.lngs=t,i.ns=n,i.keyPrefix=r,i}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!a(r,e)||o&&!a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=d();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)}),this.loadResources(function(e){r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=d();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter(function(e){return r.indexOf(e)<0});return o.length?(this.options.preload=r.concat(o),this.loadResources(function(e){n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie,r=re(re(re({},this.options),t),{isClone:!0}),o=new u(r);return["store","services","language"].forEach(function(t){o[t]=e[t]}),o.services=re({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new A(o.services,o.options),o.translator.on("*",function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit.apply(o,[e].concat(n))}),o.init(r,n),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),u}();c(ae,"createInstance",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new ae(e,t)});var se=ae.createInstance();return se.createInstance=ae.createInstance,se});