@palladium-ethiopia/esm-billing-app 5.4.2-pre.30

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/.turbo/turbo-build.log +22 -0
  2. package/README.md +5 -0
  3. package/__mocks__/bill.mock.ts +107 -0
  4. package/__mocks__/visit.mock.ts +151 -0
  5. package/dist/003671ee2a876e7614cd94390e2255b3.js +1 -0
  6. package/dist/0078b630bed2938ce03f618c2bcd1363.js +1 -0
  7. package/dist/0144de97a3c256f81447e7e7135780e5.js +1 -0
  8. package/dist/019e34e85139cfc611bf23efa096c980.js +1 -0
  9. package/dist/01b769b06e3967d7382e74f2c443ca6e.js +1 -0
  10. package/dist/02174460fe8ff6a6bc19db86543b9600.js +1 -0
  11. package/dist/022fc31e47969919bef8f04c7ceb6396.js +1 -0
  12. package/dist/029ed9161a8d24a9c2ba97124020989d.js +1 -0
  13. package/dist/029f5ee0420883bc3c38a7f143fd174a.js +1 -0
  14. package/dist/03980cb12dacd26148c22bb61fce440f.js +1 -0
  15. package/dist/03a5f5b2b97a8fc289399d92fba810d0.js +1 -0
  16. package/dist/03aae8272914723a7bf85b984385032c.js +1 -0
  17. package/dist/03f614920ec2da304abfca8b015a2b40.js +1 -0
  18. package/dist/0416c21cfe088739209926632a360e3b.js +1 -0
  19. package/dist/069a0d6b093e73e820f6a60a91fa614b.js +1 -0
  20. package/dist/06d958315fc6cdbb28576b03e43203aa.js +1 -0
  21. package/dist/07397bd479cbc34bc04576b4f15bdf18.js +1 -0
  22. package/dist/078dd0bd08c93b1512e3d1b777591b21.js +1 -0
  23. package/dist/08eb6e8d603ac500da471cc07b0cf188.js +1 -0
  24. package/dist/0972f21af3e75388ef55435c0b3b831d.js +1 -0
  25. package/dist/0973bb38b2e3efd2a879fd8e81d50fce.js +1 -0
  26. package/dist/0a1d9862d917663419ac2dd2e8193267.js +1 -0
  27. package/dist/0b06cbc7edf78b6f2810187262e7630b.js +1 -0
  28. package/dist/0bd45b2d490c48c31619072a4fb0eaea.js +1 -0
  29. package/dist/0bf319cb891a35363be356125cf61925.js +1 -0
  30. package/dist/0d5aa4cf4cd6ced22d689adc35468925.js +1 -0
  31. package/dist/0e579f8a92c87ee13f03bbb00bfd6965.js +1 -0
  32. package/dist/0e67325b9a04863301e36c0c37947069.js +1 -0
  33. package/dist/0e9edc546e19e0d70ebaeec446142d3f.js +1 -0
  34. package/dist/0f147528a6f36ca40c8b3ec796429f58.js +1 -0
  35. package/dist/0fa30731c46fe8b6a54f9752ad0ed7e0.js +1 -0
  36. package/dist/10.js +1 -0
  37. package/dist/10.js.map +1 -0
  38. package/dist/101.js +1 -0
  39. package/dist/101.js.map +1 -0
  40. package/dist/10132993df2cf9c9423b53a8a44379ab.js +1 -0
  41. package/dist/1034e3807d1bcf55cb564491950237ab.js +1 -0
  42. package/dist/10c464f3f882bfeeefbc0934c2ee9fbe.js +1 -0
  43. package/dist/111d9fdb9864abba36298d1a0807fe6d.js +1 -0
  44. package/dist/112.js +1 -0
  45. package/dist/112.js.map +1 -0
  46. package/dist/117.js +1 -0
  47. package/dist/1195816afa4a5e8183857be16a04ae6f.js +1 -0
  48. package/dist/119f6c45ea400e3c27e1ce172e4c881d.js +1 -0
  49. package/dist/11e3a2a8fb5bcb9d19298a80cafd3f5a.js +1 -0
  50. package/dist/130340e2c62b9e858f186dab5f491e55.js +1 -0
  51. package/dist/131.js +1 -0
  52. package/dist/131.js.map +1 -0
  53. package/dist/135747176621bcc94e9edd0323a81d3c.js +1 -0
  54. package/dist/1383530217ac0068c844902d24e18e08.js +1 -0
  55. package/dist/13eda3507db9cbfb400f46b9b3ff6553.js +1 -0
  56. package/dist/1495a3d68b15b8622c53f6688b64809f.js +1 -0
  57. package/dist/152.js +1 -0
  58. package/dist/152.js.map +1 -0
  59. package/dist/1533058f0ce13acdaa8d5bdc7d147bef.js +1 -0
  60. package/dist/157d1af856797eaa6a6d4517a5335299.js +1 -0
  61. package/dist/15f3800d33b854ba476c9daf1b9e0326.js +1 -0
  62. package/dist/166.js +15 -0
  63. package/dist/166.js.map +1 -0
  64. package/dist/16c2e1b50af4ba05edaa03c8c9e9d18c.js +1 -0
  65. package/dist/170487867de05784a96608617bdd544d.js +1 -0
  66. package/dist/1736cea368ae85240f34289307fdf67f.js +1 -0
  67. package/dist/17632e1e19e438f431784dfd77e01773.js +1 -0
  68. package/dist/17dc98279d24649d3ca77cbce8c44e83.js +1 -0
  69. package/dist/187.js +1 -0
  70. package/dist/187.js.map +1 -0
  71. package/dist/1875ecdf54e78b5f07ff1bd944cf794b.js +1 -0
  72. package/dist/191feb6103c36b202bc01ba262916cdf.js +1 -0
  73. package/dist/1983055014f3f7a31b72b9c24eebfe2e.js +1 -0
  74. package/dist/1a435bdf5bbc57b954136c38dea5dd56.js +1 -0
  75. package/dist/1b012b7a13787e2ab186f7bc6978af5d.js +1 -0
  76. package/dist/1b15b9f88acaf59b96e59c6b5f32da12.js +1 -0
  77. package/dist/1b399d419893e83d7aea276705c2cd46.js +1 -0
  78. package/dist/1c24a68cb472146022d0806ea2505cfb.js +1 -0
  79. package/dist/1c57b3481f295105588972ffa1305521.js +1 -0
  80. package/dist/1cc6fc3772824e2f87f10a9c3fad2dae.js +1 -0
  81. package/dist/1ce14f2cad9f3c122cb5ccfcd485ffb4.js +1 -0
  82. package/dist/1d3796180f854b5d8ab435ab0a1c2c11.js +1 -0
  83. package/dist/1f5e5fcf6311b2bee3ea3d90352d584a.js +1 -0
  84. package/dist/1ff1389501159e4846a5133e3b8992d8.js +1 -0
  85. package/dist/20545e6680e996248f667158904a6a9b.js +1 -0
  86. package/dist/209.js +1 -0
  87. package/dist/209.js.map +1 -0
  88. package/dist/210aec2722e6416a0349a987260e14a3.js +1 -0
  89. package/dist/211511e7b374f57ad31acaf49dbdccb1.js +1 -0
  90. package/dist/219.js +1 -0
  91. package/dist/219.js.map +1 -0
  92. package/dist/21ce36baab7df3edd2c728ac1a6776b7.js +1 -0
  93. package/dist/21d07d2aa7d7e54330fb3c627689a691.js +1 -0
  94. package/dist/225.js +1 -0
  95. package/dist/225.js.map +1 -0
  96. package/dist/2272c6632c52c3e402ab27b8045ab8f1.js +1 -0
  97. package/dist/2287e0a9970175f8e26f811b688d2d36.js +1 -0
  98. package/dist/228ca80abf1ae030cbfe7faaec61913f.js +1 -0
  99. package/dist/2302902e10c4afab56e1b864c96070cb.js +1 -0
  100. package/dist/2348c5ed0da81c27fa889f56e43f91a1.js +1 -0
  101. package/dist/23602ad4c88f0f19e7a0a12454ebf556.js +1 -0
  102. package/dist/23bb1a9f279e7a732bfd405350aab114.js +1 -0
  103. package/dist/245.js +1 -0
  104. package/dist/245.js.map +1 -0
  105. package/dist/24547132c0093d2bae739db169cda5a6.js +1 -0
  106. package/dist/24a3ff38afde257888d755ece9bfd704.js +1 -0
  107. package/dist/24f97ddd76026815674affbc50ad6169.js +1 -0
  108. package/dist/254.js +27 -0
  109. package/dist/254.js.map +1 -0
  110. package/dist/25718a469574ade47e23567d8c543169.js +1 -0
  111. package/dist/25be9f866b93e4ffa34f07a4fde632d4.js +1 -0
  112. package/dist/25eda4bb98e40a82cfd5b4bf9fbc06ec.js +1 -0
  113. package/dist/269732f4c5f6e82ea3246548a9631b47.js +1 -0
  114. package/dist/27730a0bdc6f430cc85049a46a73a029.js +1 -0
  115. package/dist/283970c76db99e2d0d90f0e7c45494f9.js +1 -0
  116. package/dist/28785bea435918d49b290d27bf660baa.js +1 -0
  117. package/dist/29558eac6b1d269fb491df21eb506d11.js +1 -0
  118. package/dist/29c12604c7db4a1ad67ed4d7cdb4f4ed.js +1 -0
  119. package/dist/2a8394955e047270a2a965ec67843989.js +1 -0
  120. package/dist/2aa392a501973ebfcea38239a45ed8e7.js +1 -0
  121. package/dist/2ad349208b3a727abb3c9f943865a27c.js +1 -0
  122. package/dist/2b1b8f8b9e8f1e423a69afd121fd7da9.js +1 -0
  123. package/dist/2b385abd24ebcff8a1c7de52aa2970ab.js +1 -0
  124. package/dist/2b5729e073775b8fb827fc8e4725e48a.js +1 -0
  125. package/dist/2b89e20071dd734f42b8694d7a84c264.js +1 -0
  126. package/dist/2d2a75e3d01a74b93d07db04df8abe5e.js +1 -0
  127. package/dist/2dd82c65030101b60dffccedd8741c6e.js +1 -0
  128. package/dist/2e841e8b77c2a2c00fd71940632bc1e1.js +1 -0
  129. package/dist/2f055ac4066041b9008dd6aebf9df34b.js +1 -0
  130. package/dist/2fc0239242a898632ca8aa451cb930c2.js +1 -0
  131. package/dist/318dcae1cdcd4733986a93e7a5fab7b8.js +1 -0
  132. package/dist/31c610efb1d25afc90853b52ba4cb089.js +1 -0
  133. package/dist/3219bb3283a319e7a33f7366deb7ed1b.js +1 -0
  134. package/dist/328cbf598e9711b0a87c19437b02f80d.js +1 -0
  135. package/dist/32cf6d8a099c0a653928cbc9a05af5da.js +1 -0
  136. package/dist/33b4e371d4983ab56f4db08627119f0b.js +1 -0
  137. package/dist/349237ad9565dc823ce7bcb7527ba7ee.js +1 -0
  138. package/dist/34f99cce131bd7aa65e7a924e2456006.js +1 -0
  139. package/dist/3567d1ea443427e944a6f189a0898819.js +1 -0
  140. package/dist/363d3bac8dcd9a83332c3758185ce080.js +1 -0
  141. package/dist/367def81f25c0a08527f9a4e86e70c56.js +1 -0
  142. package/dist/37172facd8a534a38f378ca2a9c7c11b.js +1 -0
  143. package/dist/378.js +1 -0
  144. package/dist/37ee3b5201ae2e2dc5dc8b1b20ad900e.js +1 -0
  145. package/dist/38105097fc2497d628f398be7db5f6e8.js +1 -0
  146. package/dist/38b1d18836e38ee7b4deaeba0c35f7b8.js +1 -0
  147. package/dist/39fea85ed7dd99d7c6c9e59b7040523f.js +1 -0
  148. package/dist/3a395ae85f6a58001cb48cc5a4e6360b.js +1 -0
  149. package/dist/3a6ca6958d003ae67bb7fefc8713ee93.js +1 -0
  150. package/dist/3ac8c7749734990e2d9f81eeca219886.js +1 -0
  151. package/dist/3b02cca9e95276a74f3ed2bbc7a64ce6.js +1 -0
  152. package/dist/3b190e5159c72fb7e27271956772bcba.js +1 -0
  153. package/dist/3b26795ad1700506b62e1171ff6fcd9b.js +1 -0
  154. package/dist/3b544bb2c5a4e7b225a4b50235a0fd6d.js +1 -0
  155. package/dist/3b6e7dc98c47eeafd851ca5072db4be6.js +1 -0
  156. package/dist/3bee0656a21a6106946d9f424fc22337.js +1 -0
  157. package/dist/3bf96f8eb1859e2724a4b769af3b5f1e.js +1 -0
  158. package/dist/3c5b59a666c5d39d9ba9cc054d36a410.js +1 -0
  159. package/dist/3e93259f04cf0b4b52cc237cfc21cb05.js +1 -0
  160. package/dist/3ea020c57c2bbf457a8497df313b2e5c.js +1 -0
  161. package/dist/3eefbe1c009cfd730b2ca6f834367c45.js +1 -0
  162. package/dist/3efaf75fa91357a71f55203c10d0562b.js +1 -0
  163. package/dist/3f896944a97f002f2146e028ff2eac63.js +1 -0
  164. package/dist/41.js +1 -0
  165. package/dist/41.js.map +1 -0
  166. package/dist/41a77c181e7d3172f53496cb25166d13.js +1 -0
  167. package/dist/41ae585cdbb9c2e8eefff5d30193029f.js +1 -0
  168. package/dist/41e8a86a20df71cb48a373b096c06cd1.js +1 -0
  169. package/dist/42e0ea6351d45d342caab13cb12f9ea4.js +1 -0
  170. package/dist/43139bfbcbce9de597b4985dc1e6a03b.js +1 -0
  171. package/dist/432a5982ba3ddf958381d780e1e9a8e2.js +1 -0
  172. package/dist/432aff60ba31a74d2120031fdc894775.js +1 -0
  173. package/dist/433.js +1 -0
  174. package/dist/433.js.map +1 -0
  175. package/dist/442.js +1 -0
  176. package/dist/442.js.map +1 -0
  177. package/dist/4430c55f023b72fb5e389cee9351b38c.js +1 -0
  178. package/dist/44599d9b6202ebebfcdd073edf3562e3.js +1 -0
  179. package/dist/44e9d75bc694599ba5a672eeec11d3b7.js +1 -0
  180. package/dist/44efcea2f84e80cc4092a89796afe886.js +1 -0
  181. package/dist/45227a487a5d1829deaf3589411c7333.js +1 -0
  182. package/dist/453d207e70a9d6fe976b60b6a20b39fb.js +1 -0
  183. package/dist/458.js +1 -0
  184. package/dist/458.js.map +1 -0
  185. package/dist/466.js +1 -0
  186. package/dist/466.js.map +1 -0
  187. package/dist/46ed21c8fbddeefacaf10d78887aa22a.js +1 -0
  188. package/dist/472ba8f81bf8cac86027cb1be4e3b9cd.js +1 -0
  189. package/dist/479.js +1 -0
  190. package/dist/479.js.map +1 -0
  191. package/dist/47e5776dff3b80ed69ab5947dba33c76.js +1 -0
  192. package/dist/48827a80c9c8a8b394a208065231dabb.js +1 -0
  193. package/dist/48e9351c5623d4da657ce7d5d0267ea6.js +1 -0
  194. package/dist/49582665262ff6179b9f3a98adf7ed5c.js +1 -0
  195. package/dist/4b692785a8a6340a89e6067274a7583c.js +1 -0
  196. package/dist/4bee3a46b8378a7b4ef84492f08abd22.js +1 -0
  197. package/dist/4bf3bc1fbdd26ac698fef1bdf26e3ff4.js +1 -0
  198. package/dist/4c1bdecbedd36a5765de184ac056822a.js +1 -0
  199. package/dist/4d0ebf4c528cee9b0cdd3e076e06570b.js +1 -0
  200. package/dist/4d156ee0485ab4b40b090a3cd7b995a9.js +1 -0
  201. package/dist/4d6d9020e7e5c8d8dee7a5e374355f05.js +1 -0
  202. package/dist/4d8cb7033879cb7fcc7a43798e2bde22.js +1 -0
  203. package/dist/4db8b05f109448d519f60cbb920dc38e.js +1 -0
  204. package/dist/4db989de49617370db449991af03f578.js +1 -0
  205. package/dist/4e389cce6fb8f78845fab249bce43c0b.js +1 -0
  206. package/dist/4ef80ee74467e0297eec3cc03092da01.js +1 -0
  207. package/dist/4f03709d8b1d52a622f0676f7a299510.js +1 -0
  208. package/dist/4f2451dd2095d05141a5c24fab1594e1.js +1 -0
  209. package/dist/4f683c6881e9f8740f5516a85b9eb9da.js +1 -0
  210. package/dist/509.js +1 -0
  211. package/dist/509.js.map +1 -0
  212. package/dist/50d61b10bebf34dab99e3025495beaa2.js +1 -0
  213. package/dist/5106411f7468a5ee5b1ee77aed12c0c7.js +1 -0
  214. package/dist/512.js +1 -0
  215. package/dist/512.js.map +1 -0
  216. package/dist/517200f13a5516e40a9ad6d9c5bcd90e.js +1 -0
  217. package/dist/51f903c5ce5284a63196247cffb5ca40.js +1 -0
  218. package/dist/52fd09d1713345d9ee64dc7daea9fd6f.js +1 -0
  219. package/dist/5348f3cfbe5a63954e7d984f197bbddb.js +1 -0
  220. package/dist/5352ecd8e5f1a2637b48e18cc406edb1.js +1 -0
  221. package/dist/5398e3b596fa15df4d84b2aa0464e5c4.js +1 -0
  222. package/dist/53e3600928916423671f3388e2d67844.js +1 -0
  223. package/dist/54560f13b36626237959e93b7771a484.js +1 -0
  224. package/dist/54a10f3bddad1e6da452fee7124fe846.js +1 -0
  225. package/dist/57e14488b13e50ebdb5fdfc7880da683.js +1 -0
  226. package/dist/57f4109bd1f06be4dc2bcb8ff7eaf1e5.js +1 -0
  227. package/dist/582e24f5ba929e358fadfc7be4c18025.js +1 -0
  228. package/dist/58598705e7012f4ca1eb1dd21d3c59a5.js +1 -0
  229. package/dist/5861dfe4f2c7823623e82d0619c5bf06.js +1 -0
  230. package/dist/58aab872dbdb5e1607076e1935130e03.js +1 -0
  231. package/dist/58c35e5c73bbc1664bbd67c570342aa0.js +1 -0
  232. package/dist/59cc05504a1c823b6d4796bf6b430822.js +1 -0
  233. package/dist/5a496ae20cc576bef1d35972548207cf.js +1 -0
  234. package/dist/5a741aab715866cb4d9a55e89dfc8420.js +1 -0
  235. package/dist/5a8ead0357e5029a2518959423dc29f3.js +1 -0
  236. package/dist/5b6a626249d0bc43e412fffa6a9ee177.js +1 -0
  237. package/dist/5c9be61a5fe851f5f37cc4de2586b096.js +1 -0
  238. package/dist/5cab33610b8d9c1aee4db4672811cb5f.js +1 -0
  239. package/dist/5cd4e1282f4409600b942819b7aa4f21.js +1 -0
  240. package/dist/5ce650c06c385f9d15621e54c60457c0.js +1 -0
  241. package/dist/5cebfc2c3495b6294dcb2a99e5174872.js +1 -0
  242. package/dist/5d312b184c1f4565f51247d3c6dbba90.js +1 -0
  243. package/dist/5d3314103b00c8ea165c6f9f6757f794.js +1 -0
  244. package/dist/5df362c9904925cdf574d9506e4be76d.js +1 -0
  245. package/dist/5e55b301888460bd06c8e26d1011e01a.js +1 -0
  246. package/dist/5e8a4f4320a07ae4bb1d8a5cd621d955.js +1 -0
  247. package/dist/5f3ce6efab3c679ec1ad25ab0b3f6b2f.js +1 -0
  248. package/dist/5f5a93ab1249b7cbdb13d9466febd3a0.js +1 -0
  249. package/dist/5fedbf948ed123687f77167fac1faf8b.js +1 -0
  250. package/dist/5ffbb9579edc192b3e268a1f47fa61ae.js +1 -0
  251. package/dist/60190285b6c2243e14184b9e57d48dbb.js +1 -0
  252. package/dist/60d2bacc2e51eabc2bb0afa982fffb56.js +1 -0
  253. package/dist/60ede8d7ffdf4c05f2ce51b6d8d2be68.js +1 -0
  254. package/dist/60f8f158539619aaf544fa35ce8daccd.js +1 -0
  255. package/dist/61.js +1 -0
  256. package/dist/61.js.map +1 -0
  257. package/dist/617ddc517c704963dc032140e80151d5.js +1 -0
  258. package/dist/622e27eec5f26148f51ccc30315a3deb.js +1 -0
  259. package/dist/6250c7594cd66ca91184b5beca293e06.js +1 -0
  260. package/dist/629e56c05a8ab32ebfd5d058ba8d242d.js +1 -0
  261. package/dist/62a96977e725e8bc809dc80afe0fedf1.js +1 -0
  262. package/dist/63596b4896732fb322ab0496b4be1e74.js +1 -0
  263. package/dist/639.js +1 -0
  264. package/dist/639.js.map +1 -0
  265. package/dist/6490772da5aecc6cb9e4c625abc74a96.js +1 -0
  266. package/dist/64a5f4d62507d032038dcd76d15188e1.js +1 -0
  267. package/dist/64d6924350bd7706850cdc0dcc76ccf6.js +1 -0
  268. package/dist/656927386f77b2620f35af391f59d5ab.js +1 -0
  269. package/dist/65abcd8e99a385bcd8f1776f160040a9.js +1 -0
  270. package/dist/65e7cf62ca9df32c18b630f31025a401.js +1 -0
  271. package/dist/663ffb67b9683a2126410325d1a5a152.js +1 -0
  272. package/dist/678f5201c1917429f334b88078ca4174.js +1 -0
  273. package/dist/689.js +1 -0
  274. package/dist/689.js.map +1 -0
  275. package/dist/69731d1754f66b8b2640df4f561a6526.js +1 -0
  276. package/dist/6a1c347ab79a93f3ac01b08c8ccfc827.js +1 -0
  277. package/dist/6a3775ac1fe6361f31918720b62c8f3d.js +1 -0
  278. package/dist/6a851f05f1f4a974e02fe23eac2bad4e.js +1 -0
  279. package/dist/6b4b87a54f673cfbb82be45329441bef.js +1 -0
  280. package/dist/6bed1b724e74e6bc80688f42bc824d70.js +1 -0
  281. package/dist/6c0a75dc5671c3f237a79f6e45b9891c.js +1 -0
  282. package/dist/6c3d5ea389d0e47cbe327673b7495701.js +1 -0
  283. package/dist/6c67587c2093ac3a19da9f2196e040b7.js +1 -0
  284. package/dist/6d38cef4a006e6cfe54a6117aba7b600.js +1 -0
  285. package/dist/6e40b726d91e9138d9eaef6fd012c740.js +1 -0
  286. package/dist/6eac646091211287dd5e5b376c755110.js +1 -0
  287. package/dist/6faa9e5f2a0122d2333fa450337a09b0.js +1 -0
  288. package/dist/70074e0c785c9a808dea76c7c7d17af3.js +1 -0
  289. package/dist/70286c33cab463fd576766adecd2d5d9.js +1 -0
  290. package/dist/7080d2a1db1608264a6d9d9fbaf2cce8.js +1 -0
  291. package/dist/711.js +1 -0
  292. package/dist/711.js.map +1 -0
  293. package/dist/712.js +1 -0
  294. package/dist/712.js.map +1 -0
  295. package/dist/714763ddd9bd466c95df7b042900bb87.js +1 -0
  296. package/dist/7222998c10fabd9c824cf8cf540b3b74.js +1 -0
  297. package/dist/724a16861717b5b4f786d24b56b62614.js +1 -0
  298. package/dist/7259bceba25ac1476fc775122a63d249.js +1 -0
  299. package/dist/725da29f1643c2263a437c08a1454aea.js +1 -0
  300. package/dist/732e6b65765e6a792f04be1fa30993a5.js +1 -0
  301. package/dist/74988a42599f1bd6a3a890e5f582da2b.js +1 -0
  302. package/dist/75182a479f7eba2798d943fa230a91ef.js +1 -0
  303. package/dist/755114145e5b97e5571a160a39e716db.js +1 -0
  304. package/dist/764b59bdd3a89e14f88c9d63020551a1.js +1 -0
  305. package/dist/771.js +1 -0
  306. package/dist/771.js.map +1 -0
  307. package/dist/77aaca51c1c32acaf32656d45f4dc017.js +1 -0
  308. package/dist/789.js +1 -0
  309. package/dist/789.js.map +1 -0
  310. package/dist/78c709e6b518df25c267f2a5116de970.js +1 -0
  311. package/dist/79241f85b016a7332f85bb66667459c2.js +1 -0
  312. package/dist/79455ab9a6cd507f5314141cc965093a.js +1 -0
  313. package/dist/7a4e3546b63a5296028f4268f96b82b3.js +1 -0
  314. package/dist/7b839a5c1f6d89538928c8a29003bbda.js +1 -0
  315. package/dist/7c488184a1ff274206e8af2c3aeeb2f6.js +1 -0
  316. package/dist/7e0c1151de4aade1c41d42a40530fc7c.js +1 -0
  317. package/dist/7e4099fc2d04c7c1cf96892b962ba4ec.js +1 -0
  318. package/dist/7e7131507a20f96834597eb2de3e880a.js +1 -0
  319. package/dist/7f007f3f67d9c856e727cec1369f8cba.js +1 -0
  320. package/dist/7f79d4bde67c8013b187889b63e25bce.js +1 -0
  321. package/dist/7f9a9efc9ab681fcbf6400e2adb368a9.js +1 -0
  322. package/dist/8024bca4a1198cc51cbffaa7a907ee99.js +1 -0
  323. package/dist/805cb6232d7a9fa46025d48a43622ecf.js +1 -0
  324. package/dist/806.js +1 -0
  325. package/dist/80ddbf4f0fdde4ddba57130e61043017.js +1 -0
  326. package/dist/81318a3530fb35d5178eb7a4a13a606f.js +1 -0
  327. package/dist/814b9f8056e54d372eefebdae282728e.js +1 -0
  328. package/dist/814fee9e631f1e4ceb9f1983c0349fa9.js +1 -0
  329. package/dist/816.js +1 -0
  330. package/dist/816.js.map +1 -0
  331. package/dist/817edb0c6f9d66f9c0027762edb1d797.js +1 -0
  332. package/dist/82ff13fbc1af95d2d76ca788fd72e607.js +1 -0
  333. package/dist/83387cb17a7680f59240e7b399e3ac2b.js +1 -0
  334. package/dist/834d28f1d0979e2614f1e8643f0b7211.js +1 -0
  335. package/dist/839e3594798c1942d3c92f9acfaa5f0b.js +1 -0
  336. package/dist/83bd353f98aa901411c82b8af58d1296.js +1 -0
  337. package/dist/83e8c44ee2a064e0eac31dbd3c876493.js +1 -0
  338. package/dist/84270e22d4439d15b0d8f392d1338d8e.js +1 -0
  339. package/dist/843c762c24f7fac628d8c62519a7b308.js +1 -0
  340. package/dist/84abf03cc94d264bb38020b4ac5f76e1.js +1 -0
  341. package/dist/852.js +1 -0
  342. package/dist/852.js.map +1 -0
  343. package/dist/875ae58e8015a6d08dbc9d0c04e24638.js +1 -0
  344. package/dist/879d6bc1ca1dde95a9a98dc7a2ab0d06.js +1 -0
  345. package/dist/87bce6f50196688852142c679227b1b9.js +1 -0
  346. package/dist/880ae94877022f7fb0458ced0825eb4c.js +1 -0
  347. package/dist/88730abfeb4a23e692ac7933882f12eb.js +1 -0
  348. package/dist/88ca2076c5882a4abcf74c2b173a9c58.js +1 -0
  349. package/dist/88e2feda80ac8cfb28f1dc0ec833b40d.js +1 -0
  350. package/dist/894052ca1f8f35cc1cf7cfb29ef75027.js +1 -0
  351. package/dist/894edcaf39c3c95818e3949d737ed459.js +1 -0
  352. package/dist/897.js +1 -0
  353. package/dist/897.js.map +1 -0
  354. package/dist/8a31266178067a316bb2503147cdb5cb.js +1 -0
  355. package/dist/8a5127228870aafabfff6111d29313d6.js +1 -0
  356. package/dist/8afd141ad70961656700a70beeb2eb05.js +1 -0
  357. package/dist/8c7616f0adba6a5ac0d2f06ba4ebd696.js +1 -0
  358. package/dist/8d9bb1799d9b98db107e84f10132e17f.js +1 -0
  359. package/dist/8ed58ed9c7e1cb1ae1f2830d29011ffb.js +1 -0
  360. package/dist/8ed5aba33ead1f94e97d5c35a5e93434.js +1 -0
  361. package/dist/8eede17ae9e4d25c3c17b8a8a7fc3c3d.js +1 -0
  362. package/dist/8f9ce72eeabbf31f2d51f4bcfc66d3b0.js +1 -0
  363. package/dist/90812d89181b698975cbb081adcbbcb0.js +1 -0
  364. package/dist/90d2a5c1cd19738e0968b86280050556.js +1 -0
  365. package/dist/90f3dc3c18d447104b63c156cb7fddb5.js +1 -0
  366. package/dist/91beb08737a1bbf071f351fb0acdbf3c.js +1 -0
  367. package/dist/926.js +17 -0
  368. package/dist/926.js.map +1 -0
  369. package/dist/92f4aab5c66f6269c7054c8fbcb3de13.js +1 -0
  370. package/dist/947d538f92dd1e146e4a3c41e4eacb92.js +1 -0
  371. package/dist/950a205e91da7e78226dd785fd6d34db.js +1 -0
  372. package/dist/961.js +1 -0
  373. package/dist/961.js.map +1 -0
  374. package/dist/962969a46fefcace3305abd4d6e14a2e.js +1 -0
  375. package/dist/9696a4229fb787eeb25b26f1274b75ee.js +1 -0
  376. package/dist/96b8d8b5efd11741639659c63a485c27.js +1 -0
  377. package/dist/9807cf1e443a7440371904b6525f37eb.js +1 -0
  378. package/dist/981bd23edacd811f9e4a583d89b544ee.js +1 -0
  379. package/dist/9827973b533de05b338533a0211d97d9.js +1 -0
  380. package/dist/983fccb9f00748c487e889f6c83aa367.js +1 -0
  381. package/dist/98e7bdab44ecb58b3b76ed8025f330c4.js +1 -0
  382. package/dist/9920e03a65566d728a73c7bf18bc5741.js +1 -0
  383. package/dist/9938f30907f64b5d1bc4b641411ff8b8.js +1 -0
  384. package/dist/9b1fd9cf4206cc32e84150c49707d811.js +1 -0
  385. package/dist/9b4de1346c73ba258736f1a3f00fdc14.js +1 -0
  386. package/dist/9b5a6ec07bb0a2daade10189696fc399.js +1 -0
  387. package/dist/9b80d1a12acd18c90e41ca92073122a7.js +1 -0
  388. package/dist/9b9578869f378f8e2afbf85a76c0ac72.js +1 -0
  389. package/dist/9d5bba46df7fb1577fec6cb90f1bb2a7.js +1 -0
  390. package/dist/9ebb9ac2c9c875649c72722bc585d445.js +1 -0
  391. package/dist/9ed8c3550b5c3c1e878d0692f0338cb7.js +1 -0
  392. package/dist/9fd3f255cfd09016ec7f4896bc51864c.js +1 -0
  393. package/dist/a0e32ba94aa4384823d768802b9486e1.js +1 -0
  394. package/dist/a1bb5b3f6078f04941c00f87171dc0ae.js +1 -0
  395. package/dist/a1c12fd9c6c9e1b151ad99a847f09006.js +1 -0
  396. package/dist/a1c8660c5bcc6b6a43a7fb3c351174d9.js +1 -0
  397. package/dist/a223748cd69094dd12b486353b22f479.js +1 -0
  398. package/dist/a2242e107926b9274a7f57b52fba4a29.js +1 -0
  399. package/dist/a2746fc96d535b19c120d4b87dc86ef1.js +1 -0
  400. package/dist/a3a941911290b143d26ceb5e776e1d18.js +1 -0
  401. package/dist/a3dfa410d90c00078f4b015410048f34.js +1 -0
  402. package/dist/a41ce517e26d17d855b7224af9ee433b.js +1 -0
  403. package/dist/a496f663a8cf2dc047e12d8a80d76510.js +1 -0
  404. package/dist/a4bedde07e392f8ebf64341b61f75df2.js +1 -0
  405. package/dist/a4d0588d199cb1afffb42e57ea40fa86.js +1 -0
  406. package/dist/a4d638b976f02f35740be031f996e088.js +1 -0
  407. package/dist/a4e021a4b5d5d65cc87fee17c1886c3f.js +1 -0
  408. package/dist/a52f9ac0e3d582ed7e488aa1dfc33eda.js +1 -0
  409. package/dist/a533e643002830be2da76c9527265860.js +1 -0
  410. package/dist/a569591af2f834ec4b58f43ab7742186.js +1 -0
  411. package/dist/a66a34e3af97cd404f0cf6a5ded342c5.js +1 -0
  412. package/dist/a6eb87af5cd7ae7e4fcba8ec606ec4ba.js +1 -0
  413. package/dist/a709bba98acec5da3ea6258e245514cb.js +1 -0
  414. package/dist/a83211eadd86ef80416334e72774ab11.js +1 -0
  415. package/dist/a8c8aa148991e4ca35ed78cd5ccfcc03.js +1 -0
  416. package/dist/a9cb92db2399f7ac97ad55fe79fe5c20.js +1 -0
  417. package/dist/aa0eee504d52a12d3a30bbd523afcc34.js +1 -0
  418. package/dist/aa5623ec68d23fedb9c9c115c7d99063.js +1 -0
  419. package/dist/ab0128ab12bcb8729032421b40f5f8dd.js +1 -0
  420. package/dist/ab237eed5fd16ab99c06f0d28d465edb.js +1 -0
  421. package/dist/af1635b600efd13f6059eb6ac9deae12.js +1 -0
  422. package/dist/af6fdb556ee3f9065578bb01f81f6216.js +1 -0
  423. package/dist/afba1f28f2baa29eae717d6cb03f5464.js +1 -0
  424. package/dist/b02d982ccb1011197a5a24800b178a0a.js +1 -0
  425. package/dist/b10accbff47791a59b8494225af07025.js +1 -0
  426. package/dist/b1170472ae4b50e3b0070eb991e502fe.js +1 -0
  427. package/dist/b13d991d1e4a016abea3fe5837261690.js +1 -0
  428. package/dist/b1e349371cb9c226905c846706ad8b93.js +1 -0
  429. package/dist/b1f3f77a9279cdb38846ebe13c3438bc.js +1 -0
  430. package/dist/b20cd9acf45420fcacfd923754185663.js +1 -0
  431. package/dist/b243eabb7cb281a20eae3523742d562f.js +1 -0
  432. package/dist/b306285dfd802d091e788de0f96b8cb2.js +1 -0
  433. package/dist/b3147425240a31fc04d7aaf7f0fbd3d3.js +1 -0
  434. package/dist/b33ef9b4202539d3690251cb8213a034.js +1 -0
  435. package/dist/b3f1431b9e6d9e6632a93c2cd89f945b.js +1 -0
  436. package/dist/b808fb222140a85b23ebbe0fffa906d9.js +1 -0
  437. package/dist/b881dca9d9a80f61d87374b4bd5a2dd5.js +1 -0
  438. package/dist/b8b6bd460e7da0ba8f3b2218327966ee.js +1 -0
  439. package/dist/b934b22e8f8a8b1ba81dbc2cf058b0cd.js +1 -0
  440. package/dist/b953ce2f19e7291598cd9c05128133c1.js +1 -0
  441. package/dist/b992b348ffb6453e4a02a60e71c5304e.js +1 -0
  442. package/dist/b9ca55e245b8bbed49058e9dada2dd14.js +1 -0
  443. package/dist/ba6b8b3e06cd9d0aee9c69278ee84647.js +1 -0
  444. package/dist/bb5476e5e0c5368b031ba774c0f23999.js +1 -0
  445. package/dist/bb5bab7a675544fe31ddb7f4a77dffb9.js +1 -0
  446. package/dist/bb75a64c7f1e8f7d792e8115710299cb.js +1 -0
  447. package/dist/bc27b2d7127da36a976f00f889810836.js +1 -0
  448. package/dist/bcfde0a9c69146bbfb702f12811a4aa4.js +1 -0
  449. package/dist/bd309bb3f23f2bfbcf914f2e71474ab5.js +1 -0
  450. package/dist/bd459306ebcabc90fabccdfbbcd199ea.js +1 -0
  451. package/dist/be75b76e74c78535966ec8aaa7d46bec.js +1 -0
  452. package/dist/bf37de323316c6ae5745fc11fd576b1c.js +1 -0
  453. package/dist/c1a1f4ba29aa2d9a0b1a1abe5cfee0c6.js +1 -0
  454. package/dist/c3832579be376308fa819b04e7b0c66f.js +1 -0
  455. package/dist/c3f345c994392d97785925e790513a9f.js +1 -0
  456. package/dist/c4c991b8f5eb242f1e220e5f568fdfbc.js +1 -0
  457. package/dist/c4e58637b4d14c303e29d3ce4b4a210f.js +1 -0
  458. package/dist/c51840077c684be0e7e13339f85cd4a9.js +1 -0
  459. package/dist/c530988d2b1966fd10a4d99fa3877e1b.js +1 -0
  460. package/dist/c64d6e1e72024bb5d3d3e9bfc19d183d.js +1 -0
  461. package/dist/c80e89199aef31e48addb2b35ea96365.js +1 -0
  462. package/dist/c81814fb2ec8bab7bb415b5a40ed93b5.js +1 -0
  463. package/dist/c8230f96396f0378d032dce2be3dce66.js +1 -0
  464. package/dist/c8803facc1e76ecd4b6ba756118f1a6d.js +1 -0
  465. package/dist/c8deee9d1d08e50285fe2b1c2897bca5.js +1 -0
  466. package/dist/c9e94edb706994da8aee83c3593cb2d0.js +1 -0
  467. package/dist/cb0d121a88477f943960f5ad60602c22.js +1 -0
  468. package/dist/cb4380c2fd4e67769f509b2be529d7b2.js +1 -0
  469. package/dist/cb4bb785934eeca9b408e892ae6b73b7.js +1 -0
  470. package/dist/cb5746e29527a2fdb9f857a121e086ed.js +1 -0
  471. package/dist/cb652f200fc3dd740b2e7f678a9272ea.js +1 -0
  472. package/dist/cb9910e014b468ada91393696fcad206.js +1 -0
  473. package/dist/cbdbd623038183a8c068dd24ecd90682.js +1 -0
  474. package/dist/cbdc4ca43a8c940a6c3f59a8b6f17df5.js +1 -0
  475. package/dist/cc65d108f0e7cfb200de1d0bcf115005.js +1 -0
  476. package/dist/cc715c90d57b30965fc297a12746d6b5.js +1 -0
  477. package/dist/cd9a17f94a922c7c88000b1b3cdd67df.js +1 -0
  478. package/dist/cf1706c8b4a4eecbc161e915a4be16ca.js +1 -0
  479. package/dist/cf188b3f83735389d47bb12fc9f7069a.js +1 -0
  480. package/dist/cf26dd07f19bcb5b7efbf057a6cfeb8f.js +1 -0
  481. package/dist/cf3f6b1c74c72cb5d02870022dbc9f94.js +1 -0
  482. package/dist/cf909ad6e321c2f98750f5c3581556f8.js +1 -0
  483. package/dist/cf9c7cbfc2b609b9ae59daeab82719c4.js +1 -0
  484. package/dist/d1db2c4677dd2ee7a0c690c58798a013.js +1 -0
  485. package/dist/d43ad5f9bad9a042b49b2592c7639c28.js +1 -0
  486. package/dist/d4f1a314cb3668f8e17f24bccf0229b6.js +1 -0
  487. package/dist/d4f5981ee5a73d8a6e19112f2ffcb72c.js +1 -0
  488. package/dist/d542dda7308361c34af2afb9b70d755a.js +1 -0
  489. package/dist/d5999827bd3af6b813a871de344b109a.js +1 -0
  490. package/dist/d5a6140d581e5c4eb200259ce372f40b.js +1 -0
  491. package/dist/d5f79987405c2169278f8de37bcc9d05.js +1 -0
  492. package/dist/d76046afaf4d32b0f0afb63b4fabc680.js +1 -0
  493. package/dist/d78d3b050ea95b068380d975fd413fd7.js +1 -0
  494. package/dist/d7d616d4aa8fd3f51d681242853dcde9.js +1 -0
  495. package/dist/d83cda12aee0c87c8b381a1234bf7798.js +1 -0
  496. package/dist/d85853bab3b213652aee023adecfb690.js +1 -0
  497. package/dist/da4a891d81f066ebf82f298c53bd4ed8.js +1 -0
  498. package/dist/da740c1b29a85b999a6874b59a1baeef.js +1 -0
  499. package/dist/db8ca5cfb6fe4aaef215f116f6991784.js +1 -0
  500. package/dist/dc7ab72407b0b44ef5dae159373de53b.js +1 -0
  501. package/dist/dc8240db39815020378555a4d80571c3.js +1 -0
  502. package/dist/dc83a73f0eb89665520bbb6672dfa3cb.js +1 -0
  503. package/dist/dc932cde2fbfca8e2901fb693968b131.js +1 -0
  504. package/dist/ddbc961769cd2ff4d4a7a136168ebf4c.js +1 -0
  505. package/dist/de0fd4fd7c2d7a4887cbc99eed91f797.js +1 -0
  506. package/dist/de73b4d2a9ed4bcb851f9141e303636d.js +1 -0
  507. package/dist/e00b330413304d60c26e164da7f9fe0c.js +1 -0
  508. package/dist/e0adad8a8579bf99f3e22f7c214a5c64.js +1 -0
  509. package/dist/e0c565aadda4787ba4ef4456c0a7ee29.js +1 -0
  510. package/dist/e0fa6a4fe8bff90d50ce812e666957ca.js +1 -0
  511. package/dist/e2b38a8393be2cf23f3894ace3efb1c3.js +1 -0
  512. package/dist/e2fe8f0d4fd950b20b30fabaea96b3f8.js +1 -0
  513. package/dist/e37ac12436bcd0536ec98ae8470a1228.js +1 -0
  514. package/dist/e4917fa7632b01d28e99304d32d989f7.js +1 -0
  515. package/dist/e61779df91186b23e7adf2d1968b2708.js +1 -0
  516. package/dist/e63fce237243190962fcc3b12b387e1b.js +1 -0
  517. package/dist/e6ad50b520736b595970c9e07029c3f1.js +1 -0
  518. package/dist/e7e1a807af3160b342e0a3550cf8f7c5.js +1 -0
  519. package/dist/e7f37e0f2b6113039c45a326264c4d36.js +1 -0
  520. package/dist/e874d975c9128dc6eb9a513d088bed9f.js +1 -0
  521. package/dist/e9382a0e67b22188c75e9418de1c9295.js +1 -0
  522. package/dist/e9c8f7e13e00284ce126890bf7ac46fd.js +1 -0
  523. package/dist/eaa55a522fb2cb2f0287711f42344984.js +1 -0
  524. package/dist/eb0b62e1895dcf7491419aa728f00c38.js +1 -0
  525. package/dist/ec7b3f184238605a5239da7559e6cff9.js +1 -0
  526. package/dist/ec901efce9bc8572f27155236a447e62.js +1 -0
  527. package/dist/ecdb4966f685f3e44b1f28fae46827a3.js +1 -0
  528. package/dist/ecff3d4bbf59ef41230960af46098e74.js +1 -0
  529. package/dist/ee41eb1fd1d1c87c45e818b5a8a65cf8.js +1 -0
  530. package/dist/ee5d36473f84db2af26d82efd69a38ec.js +1 -0
  531. package/dist/ef27f3b478f5d1558c2382b4bc0866bb.js +1 -0
  532. package/dist/ef87482c92662e8b69a21f47588474ea.js +1 -0
  533. package/dist/efc14cdf19554635e477781704353ec2.js +1 -0
  534. package/dist/eff4371180dfac54de25ed3a0105d82f.js +1 -0
  535. package/dist/ethiopia-esm-billing-app.js +6 -0
  536. package/dist/ethiopia-esm-billing-app.js.buildmanifest.json +1449 -0
  537. package/dist/ethiopia-esm-billing-app.js.map +1 -0
  538. package/dist/f15cbf0d23cba4a313f3f2acfef5370c.js +1 -0
  539. package/dist/f326f2f263b1498fedbe1d07d7254d10.js +1 -0
  540. package/dist/f694018779de5916e404c0fa902f34c1.js +1 -0
  541. package/dist/f69b43eccd9faed6d9182fac0b2a176d.js +1 -0
  542. package/dist/f6b33aded7ae7504bfcc4550925cccb0.js +1 -0
  543. package/dist/f6d7091e70dee6c74956acfef2464d08.js +1 -0
  544. package/dist/f6dc1ef066da7f1c3e5c5fc1462f7be0.js +1 -0
  545. package/dist/fa0c561bb37040fc8145e5c70ea64912.js +1 -0
  546. package/dist/fac0ce75e0690947a9e9e6f5b35c1ea8.js +1 -0
  547. package/dist/fb393a7455b47f3d4fc30cf219d5145c.js +1 -0
  548. package/dist/fd00121832e53db8249f7985d80ccd44.js +1 -0
  549. package/dist/fd3859a700b456e06c65c0cf6b0af05c.js +1 -0
  550. package/dist/fd5bc50b18c9f46380cbe5ec1ac2127b.js +1 -0
  551. package/dist/fd9645aaf1f70c8abc562be41bee25fc.js +1 -0
  552. package/dist/fe9499c0a5444f7f42843fa00fb355cb.js +1 -0
  553. package/dist/ffd3b83e8b5878f4785591ff54b1dfff.js +1 -0
  554. package/dist/main.js +32 -0
  555. package/dist/main.js.map +1 -0
  556. package/dist/routes.json +1 -0
  557. package/jest.config.js +8 -0
  558. package/package.json +52 -0
  559. package/rspack.config.js +1 -0
  560. package/src/autosuggest/autosuggest.component.tsx +203 -0
  561. package/src/autosuggest/autosuggest.scss +68 -0
  562. package/src/autosuggest/patient-search-info.component.tsx +29 -0
  563. package/src/autosuggest/patient-search-info.scss +37 -0
  564. package/src/autosuggest/search-empty-state.component.tsx +27 -0
  565. package/src/autosuggest/search-empty-state.scss +18 -0
  566. package/src/benefits-package/benefits/benefits-header.component.tsx +28 -0
  567. package/src/benefits-package/benefits/benefits.component.tsx +74 -0
  568. package/src/benefits-package/benefits/benefits.scss +61 -0
  569. package/src/benefits-package/benefits-package.component.tsx +37 -0
  570. package/src/benefits-package/benefits-package.mock.ts +145 -0
  571. package/src/benefits-package/benefits-package.resources.tsx +58 -0
  572. package/src/benefits-package/benefits-package.scss +23 -0
  573. package/src/benefits-package/empty-state/empty-state.component.tsx +23 -0
  574. package/src/benefits-package/empty-state/empty-state.scss +32 -0
  575. package/src/benefits-package/forms/benefit-pre-auth-form.workspace.tsx +292 -0
  576. package/src/benefits-package/forms/benefits-pre-auth-form.scss +66 -0
  577. package/src/benefits-package/forms/interventions-form.component.tsx +94 -0
  578. package/src/benefits-package/forms/packages-and-interventions-form.component.tsx +117 -0
  579. package/src/benefits-package/forms/preauth.resources.ts +17 -0
  580. package/src/benefits-package/table/benebfits-table.scss +53 -0
  581. package/src/benefits-package/table/benefits-table.component.tsx +90 -0
  582. package/src/benefits-package/table/generic-data-table.scss +57 -0
  583. package/src/benefits-package/table/generic_data_table.component.tsx +96 -0
  584. package/src/benefits-package/table/temporary-pre-auth-responses.json +392 -0
  585. package/src/bill-administration/bill-deposit/components/dashboard/bill-deposit-dashboard.component.tsx +35 -0
  586. package/src/bill-administration/bill-deposit/components/forms/add-deposit.workspace.scss +26 -0
  587. package/src/bill-administration/bill-deposit/components/forms/add-deposit.workspace.tsx +212 -0
  588. package/src/bill-administration/bill-deposit/components/forms/deposit-transactions/deposit-transaction.workspace.scss +33 -0
  589. package/src/bill-administration/bill-deposit/components/forms/deposit-transactions/deposit-transaction.workspace.tsx +257 -0
  590. package/src/bill-administration/bill-deposit/components/modal/delete-deposit.modal.tsx +58 -0
  591. package/src/bill-administration/bill-deposit/components/modal/reverse-transaction.modal.tsx +59 -0
  592. package/src/bill-administration/bill-deposit/components/search/bill-deposit-search.component.tsx +106 -0
  593. package/src/bill-administration/bill-deposit/components/search/bill-deposit-search.scss +107 -0
  594. package/src/bill-administration/bill-deposit/components/search/components/deposit-table.tsx +150 -0
  595. package/src/bill-administration/bill-deposit/components/search/components/patient-info.tsx +38 -0
  596. package/src/bill-administration/bill-deposit/components/search/components/patient-search.tsx +24 -0
  597. package/src/bill-administration/bill-deposit/components/search/components/transaction-list/transaction-list.component.tsx +66 -0
  598. package/src/bill-administration/bill-deposit/components/search/components/transaction-list/transaction-list.scss +5 -0
  599. package/src/bill-administration/bill-deposit/constants/bill-deposit.constants.ts +25 -0
  600. package/src/bill-administration/bill-deposit/hooks/useBillDeposit.ts +43 -0
  601. package/src/bill-administration/bill-deposit/styles/bill-deposit-dashboard.scss +11 -0
  602. package/src/bill-administration/bill-deposit/types/bill-deposit.types.ts +61 -0
  603. package/src/bill-administration/bill-deposit/utils/bill-deposit.utils.ts +92 -0
  604. package/src/bill-administration/billable-exemption/billable-exemptions/action-buttons/action-buttons.component.tsx +18 -0
  605. package/src/bill-administration/billable-exemption/billable-exemptions/action-buttons/action-buttons.scss +12 -0
  606. package/src/bill-administration/billable-exemption/billable-exemptions/billable-exemptions-viewer.component.tsx +172 -0
  607. package/src/bill-administration/billable-exemption/billable-exemptions/billable-exemptions.scss +75 -0
  608. package/src/bill-administration/billable-exemption/billable-exemptions/modals/save-schema-modal.scss +39 -0
  609. package/src/bill-administration/billable-exemption/billable-exemptions/modals/save-schema.modal.tsx +88 -0
  610. package/src/bill-administration/billable-exemption/billable-exemptions/schema-editor/schema-editor.component.tsx +179 -0
  611. package/src/bill-administration/billable-exemption/billable-exemptions/schema-editor/schema-editor.scss +36 -0
  612. package/src/bill-administration/billable-exemption/billable-exemptions/schema-editor/schema-viewer-component.tsx +93 -0
  613. package/src/bill-administration/billable-exemption/billable-exemptions/schema-editor/schema-viewer.scss +28 -0
  614. package/src/bill-administration/billable-exemption/billable-exemptions/schema-editor/schema-viewer.test.tsx +50 -0
  615. package/src/bill-administration/billable-exemption/billable-exemptions.component.tsx +16 -0
  616. package/src/bill-administration/dashboard/dashboard-container.component.tsx +26 -0
  617. package/src/bill-administration/dashboard/dashboard-container.scss +2 -0
  618. package/src/bill-administration/dashboard.meta.ts +48 -0
  619. package/src/bill-administration/home.component.tsx +26 -0
  620. package/src/bill-administration/home.scss +10 -0
  621. package/src/bill-administration/index.tsx +71 -0
  622. package/src/bill-administration/patient-billing/bill-actions/cancel-line-item.component.tsx +29 -0
  623. package/src/bill-administration/patient-billing/bill-actions/delete-bill-action-button.component.tsx +37 -0
  624. package/src/bill-administration/patient-billing/bill-actions/edit-line-item.component.tsx +31 -0
  625. package/src/bill-administration/patient-billing/bill-actions/refund-line-item.component.tsx +34 -0
  626. package/src/bill-administration/patient-billing/bill-actions/waive-bill-action-button.component.tsx +37 -0
  627. package/src/bill-administration/patient-billing/bill-line-items.component.tsx +85 -0
  628. package/src/bill-administration/patient-billing/modals/cancel-bill.scss +29 -0
  629. package/src/bill-administration/patient-billing/modals/delete-bill.modal.tsx +122 -0
  630. package/src/bill-administration/patient-billing/modals/delete-billable-service.modal.tsx +79 -0
  631. package/src/bill-administration/patient-billing/modals/delete-billable-service.test.tsx +101 -0
  632. package/src/bill-administration/patient-billing/modals/delete-services.scss +28 -0
  633. package/src/bill-administration/patient-billing/modals/refund-bill.modal.tsx +105 -0
  634. package/src/bill-administration/patient-billing/patient-billing.component.tsx +64 -0
  635. package/src/bill-administration/patient-billing/patient-billing.scss +31 -0
  636. package/src/bill-administration/patient-billing/patient-bills.component.tsx +147 -0
  637. package/src/bill-administration/patient-billing/workspaces/cancel-bill/cance-bill.resource.tsx +47 -0
  638. package/src/bill-administration/patient-billing/workspaces/cancel-bill/cancel-bill.scss +40 -0
  639. package/src/bill-administration/patient-billing/workspaces/cancel-bill/cancel-bill.workspace.tsx +128 -0
  640. package/src/bill-administration/patient-billing/workspaces/create-bill/create-bill.style.scss +40 -0
  641. package/src/bill-administration/patient-billing/workspaces/create-bill/create-bill.workspace.test.tsx +271 -0
  642. package/src/bill-administration/patient-billing/workspaces/create-bill/create-bill.workspace.tsx +295 -0
  643. package/src/bill-administration/patient-billing/workspaces/edit-bill/edit-bill-form.test.tsx +90 -0
  644. package/src/bill-administration/patient-billing/workspaces/edit-bill/edit-bill-form.workspace.tsx +190 -0
  645. package/src/bill-administration/patient-billing/workspaces/edit-bill/edit-bill-util.ts +60 -0
  646. package/src/bill-administration/patient-billing/workspaces/edit-bill/edit-bill.scss +40 -0
  647. package/src/bill-administration/patient-billing/workspaces/edit-bill/useEditBillFormSchema.tsx +92 -0
  648. package/src/bill-administration/patient-billing/workspaces/waive-bill/waive-bill-form.scss +57 -0
  649. package/src/bill-administration/patient-billing/workspaces/waive-bill/waive-bill-form.test.tsx +173 -0
  650. package/src/bill-administration/patient-billing/workspaces/waive-bill/waive-bill-form.workspace.tsx +232 -0
  651. package/src/bill-administration/payment-history/filters/bill-filter.test.ts +124 -0
  652. package/src/bill-administration/payment-history/filters/bill-filter.ts +42 -0
  653. package/src/bill-administration/payment-history/filters/cashier-filter.component.tsx +61 -0
  654. package/src/bill-administration/payment-history/filters/date-ranger-filter.component.tsx +38 -0
  655. package/src/bill-administration/payment-history/filters/filter-dashboard.scss +15 -0
  656. package/src/bill-administration/payment-history/filters/filter-dashboard.tsx +17 -0
  657. package/src/bill-administration/payment-history/filters/filter.component.tsx +15 -0
  658. package/src/bill-administration/payment-history/filters/filter.scss +5 -0
  659. package/src/bill-administration/payment-history/filters/payment-type-filter.component.tsx +61 -0
  660. package/src/bill-administration/payment-history/filters/service-type-filter.component.tsx +65 -0
  661. package/src/bill-administration/payment-history/filters/timesheets-filter.component.tsx +68 -0
  662. package/src/bill-administration/payment-history/payment-dashboard.component.tsx +39 -0
  663. package/src/bill-administration/payment-history/payment-dashboard.scss +8 -0
  664. package/src/bill-administration/payment-history/payment-history-table.component.tsx +174 -0
  665. package/src/bill-administration/payment-history/payment-history-viewer.component.tsx +40 -0
  666. package/src/bill-administration/payment-history/payment-history.component.tsx +15 -0
  667. package/src/bill-administration/payment-history/payment-history.scss +86 -0
  668. package/src/bill-administration/payment-history/payment-method-distribution.component.tsx +100 -0
  669. package/src/bill-administration/payment-history/useBillServiceTypes.tsx +15 -0
  670. package/src/bill-administration/payment-history/usePaymentFilterContext.tsx +110 -0
  671. package/src/bill-administration/payment-history/usePaymentModeGroupTotals.tsx +42 -0
  672. package/src/bill-administration/payment-history/usePaymentTransactionHistory.tsx +34 -0
  673. package/src/bill-administration/payment-modes/delete-payment-mode.modal.scss +33 -0
  674. package/src/bill-administration/payment-modes/delete-payment-mode.modal.tsx +62 -0
  675. package/src/bill-administration/payment-modes/delete-payment-mode.test.tsx +56 -0
  676. package/src/bill-administration/payment-modes/payment-attributes/payment-mode-attributes.component.tsx +156 -0
  677. package/src/bill-administration/payment-modes/payment-attributes/payment-mode-attributes.scss +10 -0
  678. package/src/bill-administration/payment-modes/payment-mode-dashboard.component.tsx +222 -0
  679. package/src/bill-administration/payment-modes/payment-mode-dashboard.scss +32 -0
  680. package/src/bill-administration/payment-modes/payment-mode-home.component.tsx +18 -0
  681. package/src/bill-administration/payment-modes/payment-mode.resource.tsx +49 -0
  682. package/src/bill-administration/payment-modes/payment-mode.workspace.scss +33 -0
  683. package/src/bill-administration/payment-modes/payment-mode.workspace.test.tsx +207 -0
  684. package/src/bill-administration/payment-modes/payment-mode.workspace.tsx +223 -0
  685. package/src/bill-administration/payment-modes/usePaymentModeFormSchema.tsx +52 -0
  686. package/src/bill-administration/payment-points/clock-in-boundary.component.tsx +35 -0
  687. package/src/bill-administration/payment-points/create-payment-point.component.tsx +104 -0
  688. package/src/bill-administration/payment-points/payment-point/clock-in.modal.tsx +162 -0
  689. package/src/bill-administration/payment-points/payment-point/clock-in.scss +11 -0
  690. package/src/bill-administration/payment-points/payment-point/clock-out.modal.tsx +65 -0
  691. package/src/bill-administration/payment-points/payment-point/payment-point.component.tsx +30 -0
  692. package/src/bill-administration/payment-points/payment-points-styles.scss +16 -0
  693. package/src/bill-administration/payment-points/payment-points-table.component.tsx +101 -0
  694. package/src/bill-administration/payment-points/payment-points.component.tsx +33 -0
  695. package/src/bill-administration/payment-points/payment-points.resource.ts +131 -0
  696. package/src/bill-administration/payment-points/use-clock-in-status.ts +14 -0
  697. package/src/bill-administration/service-catalog/billable-service.resource.tsx +78 -0
  698. package/src/bill-administration/service-catalog/bulk-import-billable-service.modal.tsx +194 -0
  699. package/src/bill-administration/service-catalog/charge-summary-table.component.test.tsx +199 -0
  700. package/src/bill-administration/service-catalog/charge-summary-table.component.tsx +236 -0
  701. package/src/bill-administration/service-catalog/charge-summary-table.scss +19 -0
  702. package/src/bill-administration/service-catalog/charge-summary.resource.tsx +42 -0
  703. package/src/bill-administration/service-catalog/clinical-charges.component.tsx +36 -0
  704. package/src/bill-administration/service-catalog/clinical-charges.scss +259 -0
  705. package/src/bill-administration/service-catalog/commodity/commodity-form.scss +61 -0
  706. package/src/bill-administration/service-catalog/commodity/commodity-form.workspace.test.tsx +307 -0
  707. package/src/bill-administration/service-catalog/commodity/commodity-form.workspace.tsx +215 -0
  708. package/src/bill-administration/service-catalog/commodity/stock-search.component.tsx +107 -0
  709. package/src/bill-administration/service-catalog/commodity/useCommodityItem.tsx +59 -0
  710. package/src/bill-administration/service-catalog/form-helper.ts +225 -0
  711. package/src/bill-administration/service-catalog/form-schemas.tsx +33 -0
  712. package/src/bill-administration/service-catalog/services/concept-search.component.tsx +67 -0
  713. package/src/bill-administration/service-catalog/services/price.component.tsx +82 -0
  714. package/src/bill-administration/service-catalog/services/service-form.scss +59 -0
  715. package/src/bill-administration/service-catalog/services/service-form.workspace.test.tsx +228 -0
  716. package/src/bill-administration/service-catalog/services/service-form.workspace.tsx +301 -0
  717. package/src/bill-history/bill-history.component.tsx +193 -0
  718. package/src/bill-history/bill-history.scss +168 -0
  719. package/src/bill-history/bill-history.test.tsx +118 -0
  720. package/src/billable-services/billable-orders/drug-order/drug-order.component.tsx +65 -0
  721. package/src/billable-services/billable-orders/drug-order/drug-order.scss +31 -0
  722. package/src/billable-services/billable-orders/order-actions/components/base-order-button.component.tsx +42 -0
  723. package/src/billable-services/billable-orders/order-actions/components/generic-button.component.tsx +64 -0
  724. package/src/billable-services/billable-orders/order-actions/components/medication-order-button.component.tsx +115 -0
  725. package/src/billable-services/billable-orders/order-actions/components/medication-order-button.scss +11 -0
  726. package/src/billable-services/billable-orders/order-actions/components/order-action-button.component.tsx +59 -0
  727. package/src/billable-services/billable-orders/order-actions/hooks/useBillStatus.ts +12 -0
  728. package/src/billable-services/billable-orders/order-actions/hooks/useLabOrderAction.ts +55 -0
  729. package/src/billable-services/billable-orders/order-actions/hooks/useMedicationOrderAction.ts +128 -0
  730. package/src/billable-services/billable-orders/order-actions/hooks/useModalHandler.ts +103 -0
  731. package/src/billable-services/billable-orders/order-actions/styles/order-action.scss +0 -0
  732. package/src/billable-services/billable-orders/test-order/dispense.resource.tsx +89 -0
  733. package/src/billable-services/billable-orders/test-order/imaging-order.component.tsx +34 -0
  734. package/src/billable-services/billable-orders/test-order/lab-order.component.tsx +34 -0
  735. package/src/billable-services/billable-orders/test-order/price-info-order.componet.tsx +60 -0
  736. package/src/billable-services/billable-orders/test-order/price-info-order.scss +20 -0
  737. package/src/billable-services/billable-orders/test-order/procedure-order.component.tsx +34 -0
  738. package/src/billable-services/billable-orders/test-order/test-order-action.resource.tsx +86 -0
  739. package/src/billable-services/billable-orders/test-order/test-order-action.scss +12 -0
  740. package/src/billable-services/billable-orders/useBillableItem.tsx +69 -0
  741. package/src/billable-services/utils.ts +60 -0
  742. package/src/billing-dashboard/billing-dashboard.component.tsx +34 -0
  743. package/src/billing-dashboard/billing-dashboard.scss +72 -0
  744. package/src/billing-dashboard/clock-in-button.component.tsx +40 -0
  745. package/src/billing-dashboard/clock-out-strip.component.tsx +63 -0
  746. package/src/billing-form/billing-checkin-form.component.tsx +153 -0
  747. package/src/billing-form/billing-checkin-form.scss +14 -0
  748. package/src/billing-form/billing-checkin-form.test.tsx +146 -0
  749. package/src/billing-form/billing-form.component.tsx +237 -0
  750. package/src/billing-form/billing-form.scss +67 -0
  751. package/src/billing-form/check-in-form.utils.tsx +13 -0
  752. package/src/billing-form/helper.ts +2 -0
  753. package/src/billing-form/hie.resource.tsx +71 -0
  754. package/src/billing-form/social-health-authority/patient-banner-sha-status.extension.tsx +93 -0
  755. package/src/billing-form/social-health-authority/patient-banner-sha-status.scss +62 -0
  756. package/src/billing-form/social-health-authority/sha-number-validity.component.tsx +125 -0
  757. package/src/billing-form/social-health-authority/sha-number-validity.scss +88 -0
  758. package/src/billing-form/visit-attributes/visit-attributes-form.component.tsx +198 -0
  759. package/src/billing-form/visit-attributes/visit-attributes-form.scss +18 -0
  760. package/src/billing-header/billing-header.component.tsx +33 -0
  761. package/src/billing-header/billing-header.scss +83 -0
  762. package/src/billing-header/billing-illustration.component.tsx +30 -0
  763. package/src/billing-tabs/billing-tabs.scss +8 -0
  764. package/src/billing-tabs/billling-tabs.component.tsx +54 -0
  765. package/src/billing.resource.ts +298 -0
  766. package/src/bills-table/bills-table.component.tsx +292 -0
  767. package/src/bills-table/bills-table.scss +189 -0
  768. package/src/bills-table/bills-table.test.tsx +135 -0
  769. package/src/claims/claims-management/generic-table/generic-table.component.tsx +165 -0
  770. package/src/claims/claims-management/generic-table/generic-table.scss +40 -0
  771. package/src/claims/claims-management/header/claims-header.component.tsx +35 -0
  772. package/src/claims/claims-management/header/claims-header.scss +70 -0
  773. package/src/claims/claims-management/header/claims-illustration.component.tsx +13 -0
  774. package/src/claims/claims-management/header/filter-header.component.tsx +75 -0
  775. package/src/claims/claims-management/header/filter-header.scss +13 -0
  776. package/src/claims/claims-management/main/claims-overview-main.component.tsx +17 -0
  777. package/src/claims/claims-management/main/claims-pre-auth-main.component.tsx +36 -0
  778. package/src/claims/claims-management/main/claims-preauth.scss +13 -0
  779. package/src/claims/claims-management/table/claim-summary-modal/claim-summary.modal.tsx +284 -0
  780. package/src/claims/claims-management/table/claim-summary-modal/claim-summary.scss +252 -0
  781. package/src/claims/claims-management/table/claim-table.component.tsx +288 -0
  782. package/src/claims/claims-management/table/claims-list-table.component.tsx +16 -0
  783. package/src/claims/claims-management/table/claims-list-table.scss +45 -0
  784. package/src/claims/claims-management/table/hook/table.resource.tsx +9 -0
  785. package/src/claims/claims-management/table/manage-claim-request.modal.tsx +184 -0
  786. package/src/claims/claims-management/table/pre-auth-table.component.tsx +81 -0
  787. package/src/claims/claims-management/table/preauth-table.tmp.component.tsx +31 -0
  788. package/src/claims/claims-management/table/table-mock-up-data.ts +112 -0
  789. package/src/claims/claims-management/table/use-facility-claims.ts +43 -0
  790. package/src/claims/claims-wrap/claims-main-component.tsx +35 -0
  791. package/src/claims/claims-wrap/claims-main.scss +28 -0
  792. package/src/claims/dashboard/claims-breakdown/claims-breakdown.component.tsx +19 -0
  793. package/src/claims/dashboard/claims-breakdown/claims-breakdown.scss +35 -0
  794. package/src/claims/dashboard/claims-dashboard.component.tsx +41 -0
  795. package/src/claims/dashboard/form/claims-explanation-and-justification-form-input.component.tsx +192 -0
  796. package/src/claims/dashboard/form/claims-form.component.tsx +719 -0
  797. package/src/claims/dashboard/form/claims-form.mocks.ts +44 -0
  798. package/src/claims/dashboard/form/claims-form.resource.ts +161 -0
  799. package/src/claims/dashboard/form/claims-form.scss +161 -0
  800. package/src/claims/dashboard/form/claims-supporting-documents-inputs.form.tsx +180 -0
  801. package/src/claims/dashboard/header/claims-header.component.tsx +23 -0
  802. package/src/claims/dashboard/header/claims-header.scss +23 -0
  803. package/src/claims/dashboard/table/claims-table.component.tsx +206 -0
  804. package/src/claims/dashboard/table/claims-table.scss +106 -0
  805. package/src/claims/make-claims.component.tsx +28 -0
  806. package/src/claims/make-claims.scss +7 -0
  807. package/src/claims/metrics/metrics-card.component.tsx +36 -0
  808. package/src/claims/metrics/metrics-card.scss +75 -0
  809. package/src/claims/metrics/metrics-header.component.tsx +16 -0
  810. package/src/claims/metrics/metrics-header.scss +16 -0
  811. package/src/claims/metrics/metrics.component.tsx +49 -0
  812. package/src/claims/metrics/metrics.scss +13 -0
  813. package/src/claims/utils.ts +50 -0
  814. package/src/config-schema.ts +248 -0
  815. package/src/constants.ts +24 -0
  816. package/src/dashboard.meta.ts +25 -0
  817. package/src/declarations.d.ts +2 -0
  818. package/src/helpers/README.md +174 -0
  819. package/src/helpers/currency.test.ts +114 -0
  820. package/src/helpers/currency.ts +137 -0
  821. package/src/helpers/excelExport.ts +31 -0
  822. package/src/helpers/functions.ts +83 -0
  823. package/src/helpers/index.ts +1 -0
  824. package/src/hooks/benefits.mock.ts +391 -0
  825. package/src/hooks/getMflCode.tsx +19 -0
  826. package/src/hooks/use-payments-reconciler.tsx +75 -0
  827. package/src/hooks/use-pre-auth-requests.ts +256 -0
  828. package/src/hooks/use-rendered-rows.ts +90 -0
  829. package/src/hooks/useBillableServices.ts +18 -0
  830. package/src/hooks/useExemptionSchema.tsx +49 -0
  831. package/src/hooks/useFacilityLevel.ts +27 -0
  832. package/src/hooks/useInterventions.ts +50 -0
  833. package/src/hooks/useOTP.ts +677 -0
  834. package/src/hooks/usePackages.ts +43 -0
  835. package/src/hooks/usePatient.ts +12 -0
  836. package/src/hooks/usePatientAttributes.tsx +26 -0
  837. package/src/hooks/usePatientDiagnosis.ts +26 -0
  838. package/src/hooks/usePatientIdentifierType.ts +26 -0
  839. package/src/hooks/usePaymentSchema.tsx +42 -0
  840. package/src/hooks/usePhoneNumber.ts +35 -0
  841. package/src/hooks/usePrintPreview.tsx +17 -0
  842. package/src/hooks/useProvider.ts +19 -0
  843. package/src/hooks/useProviderList.ts +19 -0
  844. package/src/hooks/useRequestStatus.tsx +211 -0
  845. package/src/index.ts +159 -0
  846. package/src/invoice/invoice-actions.component.tsx +240 -0
  847. package/src/invoice/invoice-table.component.tsx +202 -0
  848. package/src/invoice/invoice-table.scss +91 -0
  849. package/src/invoice/invoice.component.tsx +132 -0
  850. package/src/invoice/invoice.resource.ts +151 -0
  851. package/src/invoice/invoice.scss +186 -0
  852. package/src/invoice/invoice.test.tsx +220 -0
  853. package/src/invoice/payments/initiate-payment/initiate-payment.component.tsx +207 -0
  854. package/src/invoice/payments/initiate-payment/initiate-payment.scss +48 -0
  855. package/src/invoice/payments/invoice-breakdown/invoice-breakdown.component.tsx +17 -0
  856. package/src/invoice/payments/invoice-breakdown/invoice-breakdown.scss +29 -0
  857. package/src/invoice/payments/payment-form/payment-form.component.tsx +137 -0
  858. package/src/invoice/payments/payment-form/payment-form.scss +54 -0
  859. package/src/invoice/payments/payment-form/payment.scss +33 -0
  860. package/src/invoice/payments/payment-form/payment.workspace.tsx +195 -0
  861. package/src/invoice/payments/payment-form/use-payment-form.ts +77 -0
  862. package/src/invoice/payments/payment-history/payment-history.component.tsx +68 -0
  863. package/src/invoice/payments/payment-status-ckecker.modal.tsx +136 -0
  864. package/src/invoice/payments/payments.component.tsx +273 -0
  865. package/src/invoice/payments/payments.resource.ts +65 -0
  866. package/src/invoice/payments/payments.scss +71 -0
  867. package/src/invoice/payments/payments.test.tsx +321 -0
  868. package/src/invoice/payments/utils.ts +205 -0
  869. package/src/invoice/payments/visit-tags/visit-attribute.component.tsx +21 -0
  870. package/src/left--panel-link.test.tsx +42 -0
  871. package/src/left-panel-link.component.tsx +79 -0
  872. package/src/m-pesa/mpesa-resource.tsx +146 -0
  873. package/src/metrics-cards/card.component.tsx +11 -0
  874. package/src/metrics-cards/card.scss +20 -0
  875. package/src/metrics-cards/metrics-cards.component.tsx +58 -0
  876. package/src/metrics-cards/metrics-cards.scss +84 -0
  877. package/src/metrics-cards/metrics-cards.test.tsx +42 -0
  878. package/src/metrics-cards/metrics.resource.ts +54 -0
  879. package/src/modal/bill-action.modal.scss +7 -0
  880. package/src/modal/bill-action.modal.tsx +124 -0
  881. package/src/past-patient-bills/patient-bills-dashboard/empty-patient-bill.component.tsx +42 -0
  882. package/src/past-patient-bills/patient-bills-dashboard/empty-svg.component.tsx +566 -0
  883. package/src/past-patient-bills/patient-bills-dashboard/patient-bills-dashboard.scss +53 -0
  884. package/src/past-patient-bills/patient-bills-dashboard/patient-bills-dashboard.tsx +44 -0
  885. package/src/past-patient-bills/patient-bills-dashboard/patient-search-extension.component.tsx +25 -0
  886. package/src/past-patient-bills/patient-bills.component.tsx +157 -0
  887. package/src/past-patient-bills/patient-bills.scss +42 -0
  888. package/src/past-patient-bills/patient-bills.test.tsx +300 -0
  889. package/src/print-preview/print-preview.modal.tsx +45 -0
  890. package/src/print-preview/print-preview.scss +21 -0
  891. package/src/prompt-payment/prompt-payment-modal.component.tsx +118 -0
  892. package/src/prompt-payment/prompt-payment.modal.test.tsx +204 -0
  893. package/src/prompt-payment/prompt-payment.resource.tsx +231 -0
  894. package/src/prompt-payment/prompt-payment.scss +18 -0
  895. package/src/root.component.tsx +40 -0
  896. package/src/routes.json +426 -0
  897. package/src/types/index.ts +697 -0
  898. package/src/utils.ts +172 -0
  899. package/translations/am.json +365 -0
  900. package/translations/en.json +365 -0
  901. package/translations/sw.json +365 -0
  902. package/tsconfig.json +5 -0
@@ -0,0 +1 @@
1
+ ace.define("ace/mode/sh_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var i=e("../lib/oop"),r=e("./text_highlight_rules").TextHighlightRules,o=t.reservedKeywords="!|{|}|case|do|done|elif|else|esac|fi|for|if|in|then|until|while|&|;|export|local|read|typeset|unset|elif|select|set|function|declare|readonly",s=t.languageConstructs="[|]|alias|bg|bind|break|builtin|cd|command|compgen|complete|continue|dirs|disown|echo|enable|eval|exec|exit|fc|fg|getopts|hash|help|history|jobs|kill|let|logout|popd|printf|pushd|pwd|return|set|shift|shopt|source|suspend|test|times|trap|type|ulimit|umask|unalias|wait",a=function(){var e=this.createKeywordMapper({keyword:o,"support.function.builtin":s,"invalid.deprecated":"debugger"},"identifier"),t="(?:\\d+)",n="(?:(?:"+t+"?(?:\\.\\d+))|(?:"+t+"\\.))",i="(?:"+("(?:(?:"+n+"|")+t+"))|"+n+")",r="[a-zA-Z_][a-zA-Z0-9_]*";this.$rules={start:[{token:"constant",regex:/\\./},{token:["text","comment"],regex:/(^|\s)(#.*)$/},{token:"string.start",regex:'"',push:[{token:"constant.language.escape",regex:/\\(?:[$`"\\]|$)/},{include:"variables"},{token:"keyword.operator",regex:/`/},{token:"string.end",regex:'"',next:"pop"},{defaultToken:"string"}]},{token:"string",regex:"\\$'",push:[{token:"constant.language.escape",regex:/\\(?:[abeEfnrtv\\'"]|x[a-fA-F\d]{1,2}|u[a-fA-F\d]{4}([a-fA-F\d]{4})?|c.|\d{1,3})/},{token:"string",regex:"'",next:"pop"},{defaultToken:"string"}]},{regex:"<<<",token:"keyword.operator"},{stateName:"heredoc",regex:"(<<-?)(\\s*)(['\"`]?)([\\w\\-]+)(['\"`]?)",onMatch:function(e,t,n){var i="-"==e[2]?"indentedHeredoc":"heredoc",r=e.split(this.splitRegex);return n.push(i,r[4]),[{type:"constant",value:r[1]},{type:"text",value:r[2]},{type:"string",value:r[3]},{type:"support.class",value:r[4]},{type:"string",value:r[5]}]},rules:{heredoc:[{onMatch:function(e,t,n){return e===n[1]?(n.shift(),n.shift(),this.next=n[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}],indentedHeredoc:[{token:"string",regex:"^ +"},{onMatch:function(e,t,n){return e===n[1]?(n.shift(),n.shift(),this.next=n[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}]}},{regex:"$",token:"empty",next:function(e,t){return"heredoc"===t[0]||"indentedHeredoc"===t[0]?t[0]:e}},{token:["keyword","text","text","text","variable"],regex:/(declare|local|readonly)(\s+)(?:(-[fixar]+)(\s+))?([a-zA-Z_][a-zA-Z0-9_]*\b)/},{token:"variable.language",regex:"(?:\\$(?:SHLVL|\\$|\\!|\\?))"},{token:"variable",regex:"(?:"+r+"(?==))"},{include:"variables"},{token:"support.function",regex:"(?:"+r+"\\s*\\(\\))"},{token:"support.function",regex:"(?:&"+t+")"},{token:"string",start:"'",end:"'"},{token:"constant.numeric",regex:i},{token:"constant.numeric",regex:"(?:(?:[1-9]\\d*)|(?:0))\\b"},{token:e,regex:"[a-zA-Z_][a-zA-Z0-9_]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|~|<|>|<=|=>|=|!=|[%&|`]"},{token:"punctuation.operator",regex:";"},{token:"paren.lparen",regex:"[\\[\\(\\{]"},{token:"paren.rparen",regex:"[\\]]"},{token:"paren.rparen",regex:"[\\)\\}]",next:"pop"}],variables:[{token:"variable",regex:/(\$)(\w+)/},{token:["variable","paren.lparen"],regex:/(\$)(\()/,push:"start"},{token:["variable","paren.lparen","keyword.operator","variable","keyword.operator"],regex:/(\$)(\{)([#!]?)(\w+|[*@#?\-$!0_])(:[?+\-=]?|##?|%%?|,,?\/|\^\^?)?/,push:"start"},{token:"variable",regex:/\$[*@#?\-$!0_]/},{token:["variable","paren.lparen"],regex:/(\$)(\{)/,push:"start"}]},this.normalizeRules()};i.inherits(a,r),t.ShHighlightRules=a}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var i=e("../../lib/oop"),r=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};i.inherits(s,o),(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var i=e.getLine(n);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var r=this._getFoldWidgetBase(e,t,n);return!r&&this.startRegionRe.test(i)?"start":r},this.getFoldWidgetRange=function(e,t,n,i){var r=e.getLine(n);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(e,r,n);var o=r.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.openingBracketBlock(e,o[1],n,s);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(i?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t){var o=r.match(this.foldingStopMarker);if(o){var s=o.index+o[0].length;return o[1]?this.closingBracketBlock(e,o[1],n,s):e.getCommentFoldRange(n,s,-1)}}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),i=n.search(/\S/),o=t,s=n.length,a=t+=1,l=e.getLength();++t<l;){var g=(n=e.getLine(t)).search(/\S/);if(-1!==g){if(i>g)break;var h=this.getFoldWidgetRange(e,"all",t);if(h){if(h.start.row<=o)break;else if(h.isMultiLine())t=h.end.row;else if(i==g)break}a=t}}return new r(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var i=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++n<o;){t=e.getLine(n);var g=a.exec(t);if(g&&(g[1]?l--:l++,!l))break}var h=n;if(h>s)return new r(s,i,h,t.length)}}).call(s.prototype)}),ace.define("ace/mode/sh",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/sh_highlight_rules","ace/range","ace/mode/folding/cstyle"],function(e,t,n){"use strict";var i=e("../lib/oop"),r=e("./text").Mode,o=e("./sh_highlight_rules").ShHighlightRules,s=e("../range").Range,a=e("./folding/cstyle").FoldMode,l=function(){this.HighlightRules=o,this.foldingRules=new a,this.$behaviour=this.$defaultBehaviour};i.inherits(l,r),(function(){this.lineCommentStart="#",this.getNextLineIndent=function(e,t,n){var i=this.$getIndent(t),r=this.getTokenizer().getLineTokens(t,e).tokens;return r.length&&"comment"==r[r.length-1].type||"start"==e&&t.match(/^.*[\{\(\[:]\s*$/)&&(i+=n),i};var e={pass:1,return:1,raise:1,break:1,continue:1};this.checkOutdent=function(t,n,i){if("\r\n"!==i&&"\r"!==i&&"\n"!==i)return!1;var r=this.getTokenizer().getLineTokens(n.trim(),t).tokens;if(!r)return!1;do var o=r.pop();while(o&&("comment"==o.type||"text"==o.type&&o.value.match(/^\s+$/)));return!!o&&"keyword"==o.type&&e[o.value]},this.autoOutdent=function(e,t,n){n+=1;var i=this.$getIndent(t.getLine(n)),r=t.getTabString();i.slice(-r.length)==r&&t.remove(new s(n,i.length-r.length,n,i.length))},this.$id="ace/mode/sh",this.snippetFileId="ace/snippets/sh"}).call(l.prototype),t.Mode=l}),ace.define("ace/mode/dockerfile_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/sh_highlight_rules"],function(e,t,n){"use strict";var i=e("../lib/oop"),r=e("./sh_highlight_rules").ShHighlightRules,o=function(){r.call(this);for(var e=this.$rules.start,t=0;t<e.length;t++)if("variable.language"==e[t].token){e.splice(t,0,{token:"constant.language",regex:"(?:^(?:FROM|MAINTAINER|RUN|CMD|EXPOSE|ENV|ADD|ENTRYPOINT|VOLUME|USER|WORKDIR|ONBUILD|COPY|LABEL)\\b)",caseInsensitive:!0});break}};i.inherits(o,r),t.DockerfileHighlightRules=o}),ace.define("ace/mode/dockerfile",["require","exports","module","ace/lib/oop","ace/mode/sh","ace/mode/dockerfile_highlight_rules","ace/mode/folding/cstyle"],function(e,t,n){"use strict";var i=e("../lib/oop"),r=e("./sh").Mode,o=e("./dockerfile_highlight_rules").DockerfileHighlightRules,s=e("./folding/cstyle").FoldMode,a=function(){r.call(this),this.HighlightRules=o,this.foldingRules=new s};i.inherits(a,r),(function(){this.$id="ace/mode/dockerfile"}).call(a.prototype),t.Mode=a}),ace.require(["ace/mode/dockerfile"],function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)});
@@ -0,0 +1 @@
1
+ ace.require(["ace/snippets/powershell"],function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)});
@@ -0,0 +1 @@
1
+ ace.require(["ace/snippets/basic"],function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)});
@@ -0,0 +1 @@
1
+ ace.define("ace/snippets/csound_orchestra.snippets",["require","exports","module"],function(n,e,t){t.exports="# else\nsnippet else\n else\n ${1:/* statements */}\n# elseif\nsnippet elseif\n elseif ${1:/* condition */} then\n ${2:/* statements */}\n# if\nsnippet if\n if ${1:/* condition */} then\n ${2:/* statements */}\n endif\n# instrument block\nsnippet instr\n instr ${1:name}\n ${2:/* statements */}\n endin\n# i-time while loop\nsnippet iwhile\n i${1:Index} = ${2:0}\n while i${1:Index} < ${3:/* count */} do\n ${4:/* statements */}\n i${1:Index} += 1\n od\n# k-rate while loop\nsnippet kwhile\n k${1:Index} = ${2:0}\n while k${1:Index} < ${3:/* count */} do\n ${4:/* statements */}\n k${1:Index} += 1\n od\n# opcode\nsnippet opcode\n opcode ${1:name}, ${2:/* output types */ 0}, ${3:/* input types */ 0}\n ${4:/* statements */}\n endop\n# until loop\nsnippet until\n until ${1:/* condition */} do\n ${2:/* statements */}\n od\n# while loop\nsnippet while\n while ${1:/* condition */} do\n ${2:/* statements */}\n od\n"}),ace.define("ace/snippets/csound_orchestra",["require","exports","module","ace/snippets/csound_orchestra.snippets"],function(n,e,t){"use strict";e.snippetText=n("./csound_orchestra.snippets"),e.scope="csound_orchestra"}),ace.require(["ace/snippets/csound_orchestra"],function(n){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=n)});
@@ -0,0 +1 @@
1
+ ace.define("ace/theme/katzenmilch-css",["require","exports","module"],function(n,e,a){a.exports='.ace-katzenmilch .ace_gutter,\n/* THIS THEME WAS AUTOGENERATED BY Theme.tmpl.css (UUID: ) */\n\n.ace-katzenmilch .ace_gutter {\n background: #e8e8e8;\n color: #333\n}\n\n.ace-katzenmilch .ace_print-margin {\n width: 1px;\n background: #e8e8e8\n}\n\n.ace-katzenmilch {\n background-color: #f3f2f3;\n color: rgba(15, 0, 9, 1.0)\n}\n\n.ace-katzenmilch .ace_cursor {\n border-left: 2px solid #100011\n}\n\n.ace-katzenmilch .ace_overwrite-cursors .ace_cursor {\n border-left: 0px;\n border-bottom: 1px solid #100011\n}\n\n.ace-katzenmilch .ace_marker-layer .ace_selection {\n background: rgba(100, 5, 208, 0.27)\n}\n\n.ace-katzenmilch.ace_multiselect .ace_selection.ace_start {\n box-shadow: 0 0 3px 0px #f3f2f3;\n}\n\n.ace-katzenmilch .ace_marker-layer .ace_step {\n background: rgb(198, 219, 174)\n}\n\n.ace-katzenmilch .ace_marker-layer .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid rgba(0, 0, 0, 0.33);\n}\n\n.ace-katzenmilch .ace_marker-layer .ace_active-line {\n background: rgb(232, 242, 254)\n}\n\n.ace-katzenmilch .ace_gutter-active-line {\n background-color: rgb(232, 242, 254)\n}\n\n.ace-katzenmilch .ace_marker-layer .ace_selected-word {\n border: 1px solid rgba(100, 5, 208, 0.27)\n}\n\n.ace-katzenmilch .ace_invisible {\n color: #BFBFBF\n}\n\n.ace-katzenmilch .ace_fold {\n background-color: rgba(2, 95, 73, 0.97);\n border-color: rgba(15, 0, 9, 1.0)\n}\n\n.ace-katzenmilch .ace_keyword {\n color: #674Aa8;\n rbackground-color: rgba(163, 170, 216, 0.055)\n}\n\n.ace-katzenmilch .ace_constant.ace_language {\n color: #7D7e52;\n rbackground-color: rgba(189, 190, 130, 0.059)\n}\n\n.ace-katzenmilch .ace_constant.ace_numeric {\n color: rgba(79, 130, 123, 0.93);\n rbackground-color: rgba(119, 194, 187, 0.059)\n}\n\n.ace-katzenmilch .ace_constant.ace_character,\n.ace-katzenmilch .ace_constant.ace_other {\n color: rgba(2, 95, 105, 1.0);\n rbackground-color: rgba(127, 34, 153, 0.063)\n}\n\n.ace-katzenmilch .ace_support.ace_function {\n color: #9D7e62;\n rbackground-color: rgba(189, 190, 130, 0.039)\n}\n\n.ace-katzenmilch .ace_support.ace_class {\n color: rgba(239, 106, 167, 1.0);\n rbackground-color: rgba(239, 106, 167, 0.063)\n}\n\n.ace-katzenmilch .ace_storage {\n color: rgba(123, 92, 191, 1.0);\n rbackground-color: rgba(139, 93, 223, 0.051)\n}\n\n.ace-katzenmilch .ace_invalid {\n color: #DFDFD5;\n rbackground-color: #CC1B27\n}\n\n.ace-katzenmilch .ace_string {\n color: #5a5f9b;\n rbackground-color: rgba(170, 175, 219, 0.035)\n}\n\n.ace-katzenmilch .ace_comment {\n font-style: italic;\n color: rgba(64, 79, 80, 0.67);\n rbackground-color: rgba(95, 15, 255, 0.0078)\n}\n\n.ace-katzenmilch .ace_entity.ace_name.ace_function,\n.ace-katzenmilch .ace_variable {\n color: rgba(2, 95, 73, 0.97);\n rbackground-color: rgba(34, 255, 73, 0.12)\n}\n\n.ace-katzenmilch .ace_variable.ace_language {\n color: #316fcf;\n rbackground-color: rgba(58, 175, 255, 0.039)\n}\n\n.ace-katzenmilch .ace_variable.ace_parameter {\n font-style: italic;\n color: rgba(51, 150, 159, 0.87);\n rbackground-color: rgba(5, 214, 249, 0.043)\n}\n\n.ace-katzenmilch .ace_entity.ace_other.ace_attribute-name {\n color: rgba(73, 70, 194, 0.93);\n rbackground-color: rgba(73, 134, 194, 0.035)\n}\n\n.ace-katzenmilch .ace_entity.ace_name.ace_tag {\n color: #3976a2;\n rbackground-color: rgba(73, 166, 210, 0.039)\n}\n\n.ace-katzenmilch .ace_indent-guide {\n background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;\n}\n\n.ace-katzenmilch .ace_indent-guide-active {\n background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y;\n}\n'}),ace.define("ace/theme/katzenmilch",["require","exports","module","ace/theme/katzenmilch-css","ace/lib/dom"],function(n,e,a){e.isDark=!1,e.cssClass="ace-katzenmilch",e.cssText=n("./katzenmilch-css"),n("../lib/dom").importCssString(e.cssText,e.cssClass,!1)}),ace.require(["ace/theme/katzenmilch"],function(n){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=n)});
@@ -0,0 +1 @@
1
+ ace.define("ace/ext/diff/scroll_diff_decorator",["require","exports","module","ace/layer/decorators"],function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};t.ScrollDiffDecorator=function(e){function t(t,n,i){var r=e.call(this,t,n)||this;return r.colors.dark.delete="rgba(255, 18, 18, 1)",r.colors.dark.insert="rgba(18, 136, 18, 1)",r.colors.light.delete="rgb(255,51,51)",r.colors.light.insert="rgb(32,133,72)",r.$zones=[],r.$forInlineDiff=i,r}return r(t,e),t.prototype.addZone=function(e,t,n){this.$zones.push({startRow:e,endRow:t,type:n})},t.prototype.setSessions=function(e,t){this.sessionA=e,this.sessionB=t},t.prototype.$updateDecorators=function(t){if("function"==typeof this.canvas.getContext&&(e.prototype.$updateDecorators.call(this,t),this.$zones.length>0)){var n=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light,i=this.canvas.getContext("2d");this.$setDiffDecorators(i,n)}},t.prototype.$transformPosition=function(e,t){return"delete"==t?this.sessionA.documentToScreenRow(e,0):this.sessionB.documentToScreenRow(e,0)},t.prototype.$setDiffDecorators=function(e,t){var n,i,r=this,s=this.$zones;if(s){var a=[];[s.filter(function(e){return"delete"===e.type}),s.filter(function(e){return"insert"===e.type})].forEach(function(e){e.forEach(function(e,n){var i=r.$transformPosition(e.startRow,e.type)*r.lineHeight,o=r.$transformPosition(e.endRow,e.type)*r.lineHeight+r.lineHeight,s=Math.round(r.heightRatio*i),u=Math.round(r.heightRatio*o),l=Math.round((s+u)/2),h=u-l;h<r.halfMinDecorationHeight&&(h=r.halfMinDecorationHeight);var d=a[a.length-1];n>0&&d&&d.type===e.type&&l-h<d.to+1&&(l=a[a.length-1].to+1+h),l-h<0&&(l=h),l+h>r.canvasHeight&&(l=r.canvasHeight-h),a.push({type:e.type,from:l-h,to:l+h,color:t[e.type]||null})})}),a=a.sort(function(e,t){return e.from===t.from?e.to-t.to:e.from-t.from});try{for(var u=o(a),l=u.next();!l.done;l=u.next()){var h=l.value;e.fillStyle=h.color||null;var d=h.from,c=h.to-d;this.$forInlineDiff?e.fillRect(this.oneZoneWidth,d,2*this.oneZoneWidth,c):"delete"==h.type?e.fillRect(this.oneZoneWidth,d,this.oneZoneWidth,c):e.fillRect(2*this.oneZoneWidth,d,this.oneZoneWidth,c)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}},t.prototype.setZoneWidth=function(){this.oneZoneWidth=Math.round(this.canvasWidth/3)},t}(e("../../layer/decorators").Decorator)}),ace.define("ace/ext/diff/styles-css.js",["require","exports","module"],function(e,t,n){t.cssText='\n/*\n * Line Markers\n */\n.ace_diff {\n position: absolute;\n z-index: 0;\n}\n.ace_diff.inline {\n z-index: 20;\n}\n/*\n * Light Colors \n */\n.ace_diff.insert {\n background-color: #EFFFF1;\n}\n.ace_diff.delete {\n background-color: #FFF1F1;\n}\n.ace_diff.aligned_diff {\n background: rgba(206, 194, 191, 0.26);\n background: repeating-linear-gradient(\n 45deg,\n rgba(122, 111, 108, 0.26),\n rgba(122, 111, 108, 0.26) 5px,\n rgba(0, 0, 0, 0) 5px,\n rgba(0, 0, 0, 0) 10px \n );\n}\n\n.ace_diff.insert.inline {\n background-color: rgb(74 251 74 / 18%); \n}\n.ace_diff.delete.inline {\n background-color: rgb(251 74 74 / 15%);\n}\n\n.ace_diff.delete.inline.empty {\n background-color: rgba(255, 128, 79, 0.7);\n width: 2px !important;\n}\n\n.ace_diff.insert.inline.empty {\n background-color: rgba(49, 230, 96, 0.7);\n width: 2px !important;\n}\n\n.ace_diff-active-line {\n border-bottom: 1px solid;\n border-top: 1px solid;\n background: transparent;\n position: absolute;\n box-sizing: border-box;\n border-color: #9191ac;\n}\n\n.ace_dark .ace_diff-active-line {\n background: transparent;\n border-color: #75777a;\n}\n \n\n/* gutter changes */\n.ace_mini-diff_gutter-enabled > .ace_gutter-cell,\n.ace_mini-diff_gutter-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_mini-diff_gutter_other > .ace_gutter-cell,\n.ace_mini-diff_gutter_other > .ace_gutter-cell_svg-icons {\n display: none;\n}\n\n.ace_mini-diff_gutter_other {\n pointer-events: none;\n}\n\n\n.ace_mini-diff_gutter-enabled > .mini-diff-added {\n background-color: #EFFFF1;\n border-left: 3px solid #2BB534;\n padding-left: 16px;\n display: block;\n}\n\n.ace_mini-diff_gutter-enabled > .mini-diff-deleted {\n background-color: #FFF1F1;\n border-left: 3px solid #EA7158;\n padding-left: 16px;\n display: block;\n}\n\n\n.ace_mini-diff_gutter-enabled > .mini-diff-added:after {\n position: absolute;\n right: 2px;\n content: "+";\n background-color: inherit;\n}\n\n.ace_mini-diff_gutter-enabled > .mini-diff-deleted:after {\n position: absolute;\n right: 2px;\n content: "-";\n background-color: inherit;\n}\n.ace_fade-fold-widgets:hover > .ace_folding-enabled > .mini-diff-added:after,\n.ace_fade-fold-widgets:hover > .ace_folding-enabled > .mini-diff-deleted:after {\n display: none;\n}\n\n.ace_diff_other .ace_selection {\n filter: drop-shadow(1px 2px 3px darkgray);\n}\n\n.ace_hidden_marker-layer .ace_bracket,\n.ace_hidden_marker-layer .ace_error_bracket {\n display: none;\n}\n\n\n\n/*\n * Dark Colors \n */\n\n.ace_dark .ace_diff.insert {\n background-color: #212E25;\n}\n.ace_dark .ace_diff.delete {\n background-color: #3F2222;\n}\n\n.ace_dark .ace_mini-diff_gutter-enabled > .mini-diff-added {\n background-color: #212E25;\n border-left-color:#00802F;\n}\n\n.ace_dark .ace_mini-diff_gutter-enabled > .mini-diff-deleted {\n background-color: #3F2222;\n border-left-color: #9C3838;\n}\n\n'}),ace.define("ace/ext/diff/gutter_decorator",["require","exports","module","ace/lib/dom"],function(e,t,n){var i=e("../../lib/dom");t.MinimalGutterDiffDecorator=function(){function e(e,t){this.gutterClass="ace_mini-diff_gutter-enabled",this.gutterCellsClasses={add:"mini-diff-added",delete:"mini-diff-deleted"},this.editor=e,this.type=t,this.chunks=[],this.attachToEditor()}return e.prototype.attachToEditor=function(){this.renderGutters=this.renderGutters.bind(this),i.addCssClass(this.editor.renderer.$gutterLayer.element,this.gutterClass),this.editor.renderer.$gutterLayer.on("afterRender",this.renderGutters)},e.prototype.renderGutters=function(e,t){var n=this,i=this.editor.renderer.$gutterLayer.$lines.cells;i.forEach(function(e){e.element.classList.remove(Object.values(n.gutterCellsClasses))});var r=-1===this.type?"old":"new",o=-1===this.type?this.gutterCellsClasses.delete:this.gutterCellsClasses.add;this.chunks.forEach(function(e){var t=e[r].start.row,n=e[r].end.row-1;i.forEach(function(e){e.row>=t&&e.row<=n&&e.element.classList.add(o)})})},e.prototype.setDecorations=function(e){this.chunks=e,this.renderGutters()},e.prototype.dispose=function(){i.removeCssClass(this.editor.renderer.$gutterLayer.element,this.gutterClass),this.editor.renderer.$gutterLayer.off("afterRender",this.renderGutters)},e}()}),ace.define("ace/ext/diff/base_diff_view",["require","exports","module","ace/lib/oop","ace/range","ace/lib/dom","ace/config","ace/line_widgets","ace/ext/diff/scroll_diff_decorator","ace/ext/diff/styles-css.js","ace/editor","ace/virtual_renderer","ace/undomanager","ace/layer/decorators","ace/theme/textmate","ace/multi_select","ace/edit_session","ace/ext/diff/gutter_decorator"],function(e,t,n){"use strict";var i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s};e("../../lib/oop");var r=e("../../range").Range,o=e("../../lib/dom"),s=e("../../config"),a=e("../../line_widgets").LineWidgets,u=e("./scroll_diff_decorator").ScrollDiffDecorator,l=e("./styles-css.js").cssText,h=e("../../editor").Editor,d=e("../../virtual_renderer").VirtualRenderer,c=e("../../undomanager").UndoManager,f=e("../../layer/decorators").Decorator;e("../../theme/textmate"),e("../../multi_select");var g=e("../../edit_session").EditSession,m=e("./gutter_decorator").MinimalGutterDiffDecorator,p={compute:function(e,t,n){return[]}};o.importCssString(l,"diffview.css");var v=function(){function e(e,t){this.onChangeTheme=this.onChangeTheme.bind(this),this.onInput=this.onInput.bind(this),this.onChangeFold=this.onChangeFold.bind(this),this.realign=this.realign.bind(this),this.onSelect=this.onSelect.bind(this),this.onChangeWrapLimit=this.onChangeWrapLimit.bind(this),this.realignPending=!1,this.diffSession,this.chunks,this.inlineDiffEditor=e||!1,this.currentDiffIndex=0,this.diffProvider=p,t&&(this.container=t),this.$ignoreTrimWhitespace=!1,this.$maxDiffs=5e3,this.$maxComputationTimeMs=150,this.$syncSelections=!1,this.$foldUnchangedOnInput=!1,this.markerB=new w(this,1),this.markerA=new w(this,-1)}return e.prototype.$setupModels=function(e){e.diffProvider&&this.setProvider(e.diffProvider),this.showSideA=void 0==e.inline||"a"===e.inline;var t={scrollPastEnd:.5,highlightActiveLine:!1,highlightGutterLine:!1,animatedScroll:!0,customScrollbar:!0,vScrollBarAlwaysVisible:!0,fadeFoldWidgets:!0,showFoldWidgets:!0,selectionStyle:"text"};if(this.savedOptionsA=e.editorA&&e.editorA.getOptions(t),this.savedOptionsB=e.editorB&&e.editorB.getOptions(t),this.inlineDiffEditor&&"a"!==e.inline||(this.editorA=e.editorA||this.$setupModel(e.sessionA,e.valueA),this.container&&this.container.appendChild(this.editorA.container),this.editorA.setOptions(t)),this.inlineDiffEditor&&"b"!==e.inline||(this.editorB=e.editorB||this.$setupModel(e.sessionB,e.valueB),this.container&&this.container.appendChild(this.editorB.container),this.editorB.setOptions(t)),this.inlineDiffEditor){this.activeEditor=this.showSideA?this.editorA:this.editorB,this.otherSession=this.showSideA?this.sessionB:this.sessionA;var n=this.activeEditor.getOptions();n.readOnly=!0,delete n.mode,this.otherEditor=new h(new d(null),void 0,n),this.showSideA?this.editorB=this.otherEditor:this.editorA=this.otherEditor}this.setDiffSession({sessionA:e.sessionA||(e.editorA?e.editorA.session:new g(e.valueA||"")),sessionB:e.sessionB||(e.editorB?e.editorB.session:new g(e.valueB||"")),chunks:[]}),this.otherEditor&&this.activeEditor&&this.otherSession.setOption("wrap",this.activeEditor.getOption("wrap")),this.setupScrollbars()},e.prototype.addGutterDecorators=function(){this.gutterDecoratorA||(this.gutterDecoratorA=new m(this.editorA,-1)),this.gutterDecoratorB||(this.gutterDecoratorB=new m(this.editorB,1))},e.prototype.$setupModel=function(e,t){var n=new h(new d,e);return n.session.setUndoManager(new c),void 0!=t&&n.setValue(t,-1),n},e.prototype.foldUnchanged=function(){for(var e=this.chunks,t="-".repeat(120),n={old:new r(0,0,0,0),new:new r(0,0,0,0)},i=!1,o=0;o<e.length+1;o++){var s=e[o]||{old:new r(this.sessionA.getLength(),0,this.sessionA.getLength(),0),new:new r(this.sessionB.getLength(),0,this.sessionB.getLength(),0)},a=s.new.start.row-n.new.end.row-5;if(a>2){var u=n.old.end.row+2,l=this.sessionA.addFold(t,new r(u,0,u+a,Number.MAX_VALUE));u=n.new.end.row+2;var h=this.sessionB.addFold(t,new r(u,0,u+a,Number.MAX_VALUE));(l||h)&&(i=!0),h&&l&&(l.other=h,h.other=l)}n=s}return i},e.prototype.unfoldUnchanged=function(){for(var e=this.sessionA.getAllFolds(),t=e.length-1;t>=0;t--){var n=e[t];120==n.placeholder.length&&this.sessionA.removeFold(n)}},e.prototype.toggleFoldUnchanged=function(){this.foldUnchanged()||this.unfoldUnchanged()},e.prototype.setDiffSession=function(e){this.diffSession&&(this.$detachSessionsEventHandlers(),this.clearSelectionMarkers()),this.diffSession=e,this.sessionA=this.sessionB=null,this.diffSession&&(this.chunks=this.diffSession.chunks||[],this.editorA&&this.editorA.setSession(e.sessionA),this.editorB&&this.editorB.setSession(e.sessionB),this.sessionA=this.diffSession.sessionA,this.sessionB=this.diffSession.sessionB,this.$attachSessionsEventHandlers(),this.initSelectionMarkers()),this.otherSession=this.showSideA?this.sessionB:this.sessionA},e.prototype.$attachSessionsEventHandlers=function(){},e.prototype.$detachSessionsEventHandlers=function(){},e.prototype.getDiffSession=function(){return this.diffSession},e.prototype.setTheme=function(e){this.editorA&&this.editorA.setTheme(e),this.editorB&&this.editorB.setTheme(e)},e.prototype.getTheme=function(){return(this.editorA||this.editorB).getTheme()},e.prototype.onChangeTheme=function(e){var t=e&&e.theme||this.getTheme();this.editorA&&this.editorA.getTheme()!==t&&this.editorA.setTheme(t),this.editorB&&this.editorB.getTheme()!==t&&this.editorB.setTheme(t)},e.prototype.resize=function(e){this.editorA&&this.editorA.resize(e),this.editorB&&this.editorB.resize(e)},e.prototype.scheduleOnInput=function(){var e=this;this.$onInputTimer||(this.$onInputTimer=setTimeout(function(){e.$onInputTimer=null,e.onInput()}))},e.prototype.onInput=function(){var e=this;this.$onInputTimer&&clearTimeout(this.$onInputTimer);var t=this.sessionA.doc.getAllLines(),n=this.sessionB.doc.getAllLines();this.selectionRangeA=null,this.selectionRangeB=null;var i=this.$diffLines(t,n);this.diffSession.chunks=this.chunks=i,this.gutterDecoratorA&&this.gutterDecoratorA.setDecorations(i),this.gutterDecoratorB&&this.gutterDecoratorB.setDecorations(i),this.chunks&&this.chunks.length>this.$maxDiffs||(this.align(),this.editorA&&this.editorA.renderer.updateBackMarkers(),this.editorB&&this.editorB.renderer.updateBackMarkers(),setTimeout(function(){e.updateScrollBarDecorators()},0),this.$foldUnchangedOnInput&&this.foldUnchanged())},e.prototype.setupScrollbars=function(){var e=this,t=function(t){setTimeout(function(){e.$setScrollBarDecorators(t),e.updateScrollBarDecorators()},0)};this.inlineDiffEditor?t(this.activeEditor.renderer):(t(this.editorA.renderer),t(this.editorB.renderer))},e.prototype.$setScrollBarDecorators=function(e){e.$scrollDecorator&&e.$scrollDecorator.destroy(),e.$scrollDecorator=new u(e.scrollBarV,e,this.inlineDiffEditor),e.$scrollDecorator.setSessions(this.sessionA,this.sessionB),e.scrollBarV.setVisible(!0),e.scrollBarV.element.style.bottom=e.scrollBarH.getHeight()+"px"},e.prototype.$resetDecorators=function(e){e.$scrollDecorator&&e.$scrollDecorator.destroy(),e.$scrollDecorator=new f(e.scrollBarV,e)},e.prototype.updateScrollBarDecorators=function(){var e=this;if(this.inlineDiffEditor){if(!this.activeEditor)return;this.activeEditor.renderer.$scrollDecorator.$zones=[]}else{if(!this.editorA||!this.editorB)return;this.editorA.renderer.$scrollDecorator.$zones=[],this.editorB.renderer.$scrollDecorator.$zones=[]}var t=function(e,t){e&&"function"==typeof e.renderer.$scrollDecorator.addZone&&(t.old.start.row!=t.old.end.row&&e.renderer.$scrollDecorator.addZone(t.old.start.row,t.old.end.row-1,"delete"),t.new.start.row!=t.new.end.row&&e.renderer.$scrollDecorator.addZone(t.new.start.row,t.new.end.row-1,"insert"))};this.inlineDiffEditor?(this.chunks&&this.chunks.forEach(function(n){t(e.activeEditor,n)}),this.activeEditor.renderer.$scrollDecorator.$updateDecorators(this.activeEditor.renderer.layerConfig)):(this.chunks&&this.chunks.forEach(function(n){t(e.editorA,n),t(e.editorB,n)}),this.editorA.renderer.$scrollDecorator.$updateDecorators(this.editorA.renderer.layerConfig),this.editorB.renderer.$scrollDecorator.$updateDecorators(this.editorB.renderer.layerConfig))},e.prototype.$diffLines=function(e,t){return this.diffProvider.compute(e,t,{ignoreTrimWhitespace:this.$ignoreTrimWhitespace,maxComputationTimeMs:this.$maxComputationTimeMs})},e.prototype.setProvider=function(e){this.diffProvider=e},e.prototype.$addWidget=function(e,t){var n=e.lineWidgets[t.row];n&&(t.rowsAbove+=n.rowsAbove>t.rowsAbove?n.rowsAbove:t.rowsAbove,t.rowCount+=n.rowCount),e.lineWidgets[t.row]=t,e.widgetManager.lineWidgets[t.row]=t,e.$resetRowCache(t.row);var i=e.getFoldAt(t.row,0);i&&e.widgetManager.updateOnFold({data:i,action:"add"},e)},e.prototype.$initWidgets=function(e){var t=e.session;t.widgetManager||(t.widgetManager=new a(t),t.widgetManager.attach(e)),e.session.lineWidgets=[],e.session.widgetManager.lineWidgets=[],e.session.$resetRowCache(0)},e.prototype.$screenRow=function(e,t){var n=t.documentToScreenPosition(e).row,i=e.row-t.getLength()+1;return i>0&&(n+=i),n},e.prototype.align=function(){},e.prototype.onChangeWrapLimit=function(e,t){},e.prototype.onSelect=function(e,t){this.searchHighlight(t),this.syncSelect(t)},e.prototype.syncSelect=function(e){if(!this.$updatingSelection){var t=e.session===this.sessionA,n=e.getRange(),i=t?this.selectionRangeA:this.selectionRangeB;if(!(i&&n.isEqual(i))){t?this.selectionRangeA=n:this.selectionRangeB=n,this.$updatingSelection=!0;var r=this.transformRange(n,t);this.$syncSelections&&(t?this.editorB:this.editorA).session.selection.setSelectionRange(r),this.$updatingSelection=!1,t?(this.selectionRangeA=n,this.selectionRangeB=r):(this.selectionRangeA=r,this.selectionRangeB=n),this.updateSelectionMarker(this.syncSelectionMarkerA,this.sessionA,this.selectionRangeA),this.updateSelectionMarker(this.syncSelectionMarkerB,this.sessionB,this.selectionRangeB)}}},e.prototype.updateSelectionMarker=function(e,t,n){e.setRange(n),t._signal("changeFrontMarker")},e.prototype.onChangeFold=function(e,t){var n=e.data;if(!this.$syncingFold&&n&&e.action){this.scheduleRealign();var i=t===this.sessionA,r=i?this.sessionB:this.sessionA;if("remove"===e.action&&(n.other?(n.other.other=null,r.removeFold(n.other)):n.lineWidget&&(r.widgetManager.addLineWidget(n.lineWidget),n.lineWidget=null,r.$editor&&r.$editor.renderer.updateBackMarkers())),"add"===e.action){var o=this.transformRange(n.range,i);if(o.isEmpty()){var s=o.start.row+1;r.lineWidgets[s]&&(n.lineWidget=r.lineWidgets[s],r.widgetManager.removeLineWidget(n.lineWidget),r.$editor&&r.$editor.renderer.updateBackMarkers())}else this.$syncingFold=!0,n.other=r.addFold(n.placeholder,o),n.other&&(n.other.other=n),this.$syncingFold=!1}}},e.prototype.scheduleRealign=function(){this.realignPending||(this.realignPending=!0,this.editorA.renderer.on("beforeRender",this.realign),this.editorB.renderer.on("beforeRender",this.realign))},e.prototype.realign=function(){this.realignPending=!0,this.editorA.renderer.off("beforeRender",this.realign),this.editorB.renderer.off("beforeRender",this.realign),this.align(),this.realignPending=!1},e.prototype.detach=function(){this.editorA&&this.editorB&&(this.savedOptionsA&&this.editorA.setOptions(this.savedOptionsA),this.savedOptionsB&&this.editorB.setOptions(this.savedOptionsB),this.editorA.renderer.off("beforeRender",this.realign),this.editorB.renderer.off("beforeRender",this.realign),this.$detachEventHandlers(),this.$removeLineWidgets(this.sessionA),this.$removeLineWidgets(this.sessionB),this.gutterDecoratorA&&this.gutterDecoratorA.dispose(),this.gutterDecoratorB&&this.gutterDecoratorB.dispose(),this.sessionA.selection.clearSelection(),this.sessionB.selection.clearSelection(),this.savedOptionsA&&this.savedOptionsA.customScrollbar&&this.$resetDecorators(this.editorA.renderer),this.savedOptionsB&&this.savedOptionsB.customScrollbar&&this.$resetDecorators(this.editorB.renderer))},e.prototype.$removeLineWidgets=function(e){e.lineWidgets=[],e.widgetManager.lineWidgets=[],e._signal("changeFold",{data:{start:{row:0}}})},e.prototype.$detachEventHandlers=function(){},e.prototype.destroy=function(){this.detach(),this.editorA&&this.editorA.destroy(),this.editorB&&this.editorB.destroy(),this.editorA=this.editorB=null},e.prototype.gotoNext=function(e){var t=this.activeEditor||this.editorA;this.inlineDiffEditor&&(t=this.editorA);var n=t==this.editorA,i=t.selection.lead.row,o=this.findChunkIndex(this.chunks,i,n),s=this.chunks[o+e]||this.chunks[o],a=t.session.getScrollTop();if(s){var u=s[n?"old":"new"],l=Math.max(u.start.row,u.end.row-1);t.selection.setRange(new r(l,0,l,0))}t.renderer.scrollSelectionIntoView(t.selection.lead,t.selection.anchor,.5),t.renderer.animateScrolling(a)},e.prototype.firstDiffSelected=function(){return this.currentDiffIndex<=1},e.prototype.lastDiffSelected=function(){return this.currentDiffIndex>this.chunks.length-1},e.prototype.transformRange=function(e,t){return r.fromPoints(this.transformPosition(e.start,t),this.transformPosition(e.end,t))},e.prototype.transformPosition=function(e,t){var n=this.findChunkIndex(this.chunks,e.row,t),r=this.chunks[n],o=this.sessionB.doc.clonePos,s=o(e),a=i(t?["old","new"]:["new","old"],2),u=a[0],l=a[1],h=0,d=!1;if(r)if(r[u].end.row<=e.row)s.row-=r[u].end.row-r[l].end.row;else if(r.charChanges)for(var c=0;c<r.charChanges.length;c++){var f=r.charChanges[c],g=f[u],m=f[l];if(!(g.end.row<e.row)){if(g.start.row>e.row)break;if(g.isMultiLine()&&g.contains(e.row,e.column)){s.row=m.start.row+e.row-g.start.row;var p=m.end.row;0===m.end.column&&p--,s.row>p&&(s.row=p,s.column=(t?this.sessionB:this.sessionA).getLine(p).length,d=!0),s.row=Math.min(s.row,p)}else{if(s.row=m.start.row,g.start.column>e.column)break;d=!0,!g.isEmpty()&&g.contains(e.row,e.column)?(s.column=m.start.column,h=Math.min(h=e.column-g.start.column,m.end.column-m.start.column)):(s=o(m.end),h=e.column-g.end.column)}}}else r[u].start.row<=e.row&&(s.row+=r[l].start.row-r[u].start.row,s.row>=r[l].end.row&&(s.row=r[l].end.row-1,s.column=(t?this.sessionB:this.sessionA).getLine(s.row).length));if(!d){var v=i(t?[this.sessionA,this.sessionB]:[this.sessionB,this.sessionA],2),y=v[0],w=v[1];h-=this.$getDeltaIndent(y,w,e.row,s.row)}return s.column+=h,s},e.prototype.$getDeltaIndent=function(e,t,n,i){return this.$getIndent(e,n)-this.$getIndent(t,i)},e.prototype.$getIndent=function(e,t){return e.getLine(t).match(/^\s*/)[0].length},e.prototype.printDiffs=function(){this.chunks.forEach(function(e){console.log(e.toString())})},e.prototype.findChunkIndex=function(e,t,n){for(var i=0;i<e.length;i++){var r=e[i],o=n?r.old:r.new;if(!(o.end.row<t)&&o.start.row>t)break}return this.currentDiffIndex=i,i-1},e.prototype.searchHighlight=function(e){if(!this.$syncSelections&&!this.inlineDiffEditor){var t=e.session,n=t===this.sessionA?this.sessionB:this.sessionA;n.highlight(t.$searchHighlight.regExp),n._signal("changeBackMarker")}},e.prototype.initSelectionMarkers=function(){this.syncSelectionMarkerA=new b,this.syncSelectionMarkerB=new b,this.sessionA.addDynamicMarker(this.syncSelectionMarkerA,!0),this.sessionB.addDynamicMarker(this.syncSelectionMarkerB,!0)},e.prototype.clearSelectionMarkers=function(){this.sessionA.removeMarker(this.syncSelectionMarkerA.id),this.sessionB.removeMarker(this.syncSelectionMarkerB.id)},e}();s.defineOptions(v.prototype,"DiffView",{showOtherLineNumbers:{set:function(e){this.gutterLayer&&(this.gutterLayer.$renderer=e?null:y,this.editorA.renderer.updateFull())},initialValue:!0},folding:{set:function(e){if(this.editorA.setOption("showFoldWidgets",e),this.editorB.setOption("showFoldWidgets",e),!e){var t=[],n=[];this.chunks&&this.chunks.forEach(function(e){t.push(e.old.start,e.old.end),n.push(e.new.start,e.new.end)}),this.sessionA.unfold(t),this.sessionB.unfold(n)}}},syncSelections:{set:function(e){}},ignoreTrimWhitespace:{set:function(e){this.scheduleOnInput()}},wrap:{set:function(e){this.sessionA.setOption("wrap",e),this.sessionB.setOption("wrap",e)}},maxDiffs:{value:5e3},theme:{set:function(e){this.setTheme(e)},get:function(){return this.editorA.getTheme()}}});var y={getText:function(e){return""},getWidth:function(){return 0}};t.BaseDiffView=v;var w=function(){function e(e,t){this.id,this.diffView=e,this.type=t}return e.prototype.update=function(e,t,n,i){var o,s,a,u=this.diffView;-1===this.type?(o="old",s="delete",a="insert"):(o="new",s="insert",a="delete");var l=u.$ignoreTrimWhitespace,h=u.chunks;if(n.lineWidgets&&!u.inlineDiffEditor)for(var d=i.firstRow;d<=i.lastRow;d++){var c=n.lineWidgets[d];if(c&&!c.hidden){var f=n.documentToScreenRow(d,0);if(c.rowsAbove>0){var g=new r(f-c.rowsAbove,0,f-1,Number.MAX_VALUE);t.drawFullLineMarker(e,g,"ace_diff aligned_diff",i)}var m=f+c.rowCount-(c.rowsAbove||0),g=new r(f+1,0,m,Number.MAX_VALUE);t.drawFullLineMarker(e,g,"ace_diff aligned_diff",i)}}h.forEach(function(u){var h=u[o].start.row,d=u[o].end.row;if(!(d<i.firstRow)&&!(h>i.lastRow)){var c=new r(h,0,d-1,0x40000000);if(h!==d&&(c=c.toScreenRange(n),t.drawFullLineMarker(e,c,"ace_diff "+s,i)),u.charChanges)for(var f=0;f<u.charChanges.length;f++){var g=u.charChanges[f][o];if(0==g.end.column&&g.end.row>g.start.row&&g.end.row==u[o].end.row&&(g.end.row--,g.end.column=Number.MAX_VALUE),l)for(var m=g.start.row;m<=g.end.row;m++){var p=void 0,v=void 0,y=n.getLine(m).match(/^\s*/)[0].length,w=n.getLine(m).length;p=m===g.start.row?g.start.column:y,v=m===g.end.row?g.end.column:w;var b=new r(m,p,m,v),E=b.toScreenRange(n);if(y!==p||w!==v){var L="inline "+s;b.isEmpty()&&0!==p&&(L="inline "+a+" empty"),t.drawSingleLineMarker(e,E,"ace_diff "+L,i)}}else{var x=new r(g.start.row,g.start.column,g.end.row,g.end.column),E=x.toScreenRange(n),L="inline "+s;x.isEmpty()&&0!==g.start.column&&(L="inline empty "+a),E.isMultiLine()?t.drawTextMarker(e,E,"ace_diff "+L,i):t.drawSingleLineMarker(e,E,"ace_diff "+L,i)}}}})},e}(),b=function(){function e(){this.id,this.type="fullLine",this.clazz="ace_diff-active-line"}return e.prototype.update=function(e,t,n,i){},e.prototype.setRange=function(e){var t=e.clone();t.end.column++,this.range=t},e}();t.DiffChunk=function e(t,n,i){this.old=t,this.new=n,this.charChanges=i&&i.map(function(t){return new e(new r(t.originalStartLineNumber,t.originalStartColumn,t.originalEndLineNumber,t.originalEndColumn),new r(t.modifiedStartLineNumber,t.modifiedStartColumn,t.modifiedEndLineNumber,t.modifiedEndColumn))})},t.DiffHighlight=w}),ace.define("ace/ext/diff/inline_diff_view",["require","exports","module","ace/ext/diff/base_diff_view","ace/virtual_renderer","ace/config"],function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=e("./base_diff_view").BaseDiffView,s=e("../../virtual_renderer").VirtualRenderer,a=e("../../config");t.InlineDiffView=function(e){function t(t,n){var i=this;return(t=t||{}).inline=t.inline||"a",(i=e.call(this,!0,n)||this).init(t),i}return r(t,e),t.prototype.init=function(e){this.onSelect=this.onSelect.bind(this),this.onAfterRender=this.onAfterRender.bind(this),this.$setupModels(e),this.onChangeTheme(),a.resetOptions(this),a._signal("diffView",this);var t=this.activeEditor.renderer.$padding;this.addGutterDecorators(),this.otherEditor.renderer.setPadding(t),this.textLayer=this.otherEditor.renderer.$textLayer,this.markerLayer=this.otherEditor.renderer.$markerBack,this.gutterLayer=this.otherEditor.renderer.$gutterLayer,this.cursorLayer=this.otherEditor.renderer.$cursorLayer,this.otherEditor.renderer.$updateCachedSize=function(){};var n=this.activeEditor.renderer.$textLayer.element;n.parentNode.insertBefore(this.textLayer.element,n);var i=this.activeEditor.renderer.$markerBack.element;i.parentNode.insertBefore(this.markerLayer.element,i.nextSibling);var r=this.activeEditor.renderer.$gutterLayer.element;r.parentNode.insertBefore(this.gutterLayer.element,r.nextSibling),r.style.position="absolute",this.gutterLayer.element.style.position="absolute",this.gutterLayer.element.style.width="100%",this.gutterLayer.element.classList.add("ace_mini-diff_gutter_other"),this.gutterLayer.$updateGutterWidth=function(){},this.initMouse(),this.initTextInput(),this.initTextLayer(),this.initRenderer(),this.$attachEventHandlers(),this.selectEditor(this.activeEditor)},t.prototype.initRenderer=function(e){var t=this;e?delete this.activeEditor.renderer.$getLongestLine:this.editorA.renderer.$getLongestLine=this.editorB.renderer.$getLongestLine=function(){var e=s.prototype.$getLongestLine;return Math.max(e.call(t.editorA.renderer),e.call(t.editorB.renderer))}},t.prototype.initTextLayer=function(){var e=this.textLayer.$renderLine,t=this;this.otherEditor.renderer.$textLayer.$renderLine=function(i,r,o){(function(e,t){for(var i=0,r=e.length-1,o=-1;i<r;){var s=Math.floor((i+r)/2),a=e[s][n].start.row;if(a<t)o=s,i=s+1;else if(a>t)r=s-1;else{o=s;break}}e[o+1]&&e[o+1][n].start.row<=t&&o++;var u=e[o]&&e[o][n];return!!u&&!!(u.end.row>t)})(t.chunks,r)&&e.call(this,i,r,o)};var n=this.showSideA?"new":"old"},t.prototype.initTextInput=function(e){e?(this.otherEditor.textInput=this.othertextInput,this.otherEditor.container=this.otherEditorContainer):(this.othertextInput=this.otherEditor.textInput,this.otherEditor.textInput=this.activeEditor.textInput,this.otherEditorContainer=this.otherEditor.container,this.otherEditor.container=this.activeEditor.container)},t.prototype.selectEditor=function(e){e==this.activeEditor?(this.otherEditor.selection.clearSelection(),this.activeEditor.textInput.setHost(this.activeEditor),this.activeEditor.setStyle("ace_diff_other",!1),this.cursorLayer.element.remove(),this.activeEditor.renderer.$cursorLayer.element.style.display="block",this.showSideA&&(this.sessionA.removeMarker(this.syncSelectionMarkerA.id),this.sessionA.addDynamicMarker(this.syncSelectionMarkerA,!0)),this.markerLayer.element.classList.add("ace_hidden_marker-layer"),this.activeEditor.renderer.$markerBack.element.classList.remove("ace_hidden_marker-layer"),this.removeBracketHighlight(this.otherEditor)):(this.activeEditor.selection.clearSelection(),this.activeEditor.textInput.setHost(this.otherEditor),this.activeEditor.setStyle("ace_diff_other"),this.activeEditor.renderer.$cursorLayer.element.parentNode.appendChild(this.cursorLayer.element),this.activeEditor.renderer.$cursorLayer.element.style.display="none",this.activeEditor.$isFocused&&this.otherEditor.onFocus(),this.showSideA&&this.sessionA.removeMarker(this.syncSelectionMarkerA.id),this.markerLayer.element.classList.remove("ace_hidden_marker-layer"),this.activeEditor.renderer.$markerBack.element.classList.add("ace_hidden_marker-layer"),this.removeBracketHighlight(this.activeEditor))},t.prototype.removeBracketHighlight=function(e){var t=e.session;t.$bracketHighlight&&(t.$bracketHighlight.markerIds.forEach(function(e){t.removeMarker(e)}),t.$bracketHighlight=null)},t.prototype.initMouse=function(){var e=this;this.otherEditor.renderer.$loop=this.activeEditor.renderer.$loop,this.otherEditor.renderer.scroller={getBoundingClientRect:function(){return e.activeEditor.renderer.scroller.getBoundingClientRect()},style:this.activeEditor.renderer.scroller.style};var t=function(t){if(t.domEvent){var n=t.editor.renderer.pixelToScreenCoordinates(t.clientX,t.clientY),i=e.activeEditor.session,r=e.otherEditor.session,o=i.screenToDocumentPosition(n.row,n.column,n.offsetX),s=r.screenToDocumentPosition(n.row,n.column,n.offsetX),a=i.documentToScreenPosition(o),u=r.documentToScreenPosition(s);t.editor==e.activeEditor&&(u.row==n.row&&a.row!=n.row?("mousedown"==t.type&&e.selectEditor(e.otherEditor),t.propagationStopped=!0,t.defaultPrevented=!0,e.otherEditor.$mouseHandler.onMouseEvent(t.type,t.domEvent)):"mousedown"==t.type&&e.selectEditor(e.activeEditor))}},n=["mousedown","click","mouseup","dblclick","tripleclick","quadclick"];n.forEach(function(n){e.activeEditor.on(n,t,!0),e.activeEditor.on("gutter"+n,t,!0)});var i=function(t){e.activeEditor.onFocus(t)},r=function(t){e.activeEditor.onBlur(t)};this.otherEditor.on("focus",i),this.otherEditor.on("blur",r),this.onMouseDetach=function(){n.forEach(function(n){e.activeEditor.off(n,t,!0),e.activeEditor.off("gutter"+n,t,!0)}),e.otherEditor.off("focus",i),e.otherEditor.off("blur",r)}},t.prototype.align=function(){var e=this;this.$initWidgets(e.editorA),this.$initWidgets(e.editorB),e.chunks.forEach(function(t){var n=e.$screenRow(t.old.end,e.sessionA)-e.$screenRow(t.old.start,e.sessionA),i=e.$screenRow(t.new.end,e.sessionB)-e.$screenRow(t.new.start,e.sessionB);e.$addWidget(e.sessionA,{rowCount:i,rowsAbove:0===t.old.end.row?i:0,row:0===t.old.end.row?0:t.old.end.row-1}),e.$addWidget(e.sessionB,{rowCount:n,rowsAbove:n,row:t.new.start.row})}),e.sessionA._emit("changeFold",{data:{start:{row:0}}}),e.sessionB._emit("changeFold",{data:{start:{row:0}}})},t.prototype.onChangeWrapLimit=function(e,t){this.otherSession.setOption("wrap",t.getOption("wrap")),this.otherSession.adjustWrapLimit(t.$wrapLimit),this.scheduleRealign(),this.activeEditor.renderer.updateFull()},t.prototype.$attachSessionsEventHandlers=function(){this.$attachSessionEventHandlers(this.editorA,this.markerA),this.$attachSessionEventHandlers(this.editorB,this.markerB);var e=this.activeEditor.session;e.on("changeWrapLimit",this.onChangeWrapLimit),e.on("changeWrapMode",this.onChangeWrapLimit)},t.prototype.$attachSessionEventHandlers=function(e,t){e.session.on("changeFold",this.onChangeFold),e.session.addDynamicMarker(t),e.selection.on("changeCursor",this.onSelect),e.selection.on("changeSelection",this.onSelect)},t.prototype.$detachSessionsEventHandlers=function(){this.$detachSessionHandlers(this.editorA,this.markerA),this.$detachSessionHandlers(this.editorB,this.markerB),this.otherSession.bgTokenizer.lines.fill(void 0);var e=this.activeEditor.session;e.off("changeWrapLimit",this.onChangeWrapLimit),e.off("changeWrapMode",this.onChangeWrapLimit)},t.prototype.$detachSessionHandlers=function(e,t){e.session.removeMarker(t.id),e.selection.off("changeCursor",this.onSelect),e.selection.off("changeSelection",this.onSelect),e.session.off("changeFold",this.onChangeFold)},t.prototype.$attachEventHandlers=function(){this.activeEditor.on("input",this.onInput),this.activeEditor.renderer.on("afterRender",this.onAfterRender),this.otherSession.on("change",this.onInput)},t.prototype.$detachEventHandlers=function(){this.$detachSessionsEventHandlers(),this.activeEditor.off("input",this.onInput),this.activeEditor.renderer.off("afterRender",this.onAfterRender),this.otherSession.off("change",this.onInput),this.textLayer.element.textContent="",this.textLayer.element.remove(),this.gutterLayer.element.textContent="",this.gutterLayer.element.remove(),this.markerLayer.element.textContent="",this.markerLayer.element.remove(),this.onMouseDetach(),this.selectEditor(this.activeEditor),this.clearSelectionMarkers(),this.otherEditor.setSession(null),this.otherEditor.renderer.$loop=null,this.initTextInput(!0),this.initRenderer(!0),this.otherEditor.destroy()},t.prototype.onAfterRender=function(e,t){var n=t.layerConfig,i=this.otherSession,r=this.otherEditor.renderer;i.$scrollTop=t.scrollTop,i.$scrollLeft=t.scrollLeft,["characterWidth","lineHeight","scrollTop","scrollLeft","scrollMargin","$padding","$size","layerConfig","$horizScroll","$vScroll"].forEach(function(e){r[e]=t[e]}),r.$computeLayerConfig();var o=r.layerConfig;this.gutterLayer.update(o),o.firstRowScreen=n.firstRowScreen,r.$cursorLayer.config=o,r.$cursorLayer.update(o),(e&r.CHANGE_LINES||e&r.CHANGE_FULL||e&r.CHANGE_SCROLL||e&r.CHANGE_TEXT)&&this.textLayer.update(o),this.markerLayer.setMarkers(this.otherSession.getMarkers()),this.markerLayer.update(o)},t.prototype.detach=function(){e.prototype.detach.call(this),this.otherEditor&&this.otherEditor.destroy()},t}(o)}),ace.define("ace/ext/diff/split_diff_view",["require","exports","module","ace/ext/diff/base_diff_view","ace/config"],function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=e("./base_diff_view").BaseDiffView,s=e("../../config");t.SplitDiffView=function(e){function t(t){var n=this;return t=t||{},(n=e.call(this)||this).init(t),n}return r(t,e),t.prototype.init=function(e){this.onChangeTheme=this.onChangeTheme.bind(this),this.onMouseWheel=this.onMouseWheel.bind(this),this.onScroll=this.onScroll.bind(this),this.$setupModels(e),this.addGutterDecorators(),this.onChangeTheme(),s.resetOptions(this),s._signal("diffView",this),this.$attachEventHandlers()},t.prototype.onChangeWrapLimit=function(){this.scheduleRealign()},t.prototype.align=function(){var e=this;this.$initWidgets(e.editorA),this.$initWidgets(e.editorB),e.chunks.forEach(function(t){var n=e.$screenRow(t.old.start,e.sessionA),i=e.$screenRow(t.new.start,e.sessionB);n<i?e.$addWidget(e.sessionA,{rowCount:i-n,rowsAbove:0===t.old.start.row?i-n:0,row:0===t.old.start.row?0:t.old.start.row-1}):n>i&&e.$addWidget(e.sessionB,{rowCount:n-i,rowsAbove:0===t.new.start.row?n-i:0,row:0===t.new.start.row?0:t.new.start.row-1});var n=e.$screenRow(t.old.end,e.sessionA),i=e.$screenRow(t.new.end,e.sessionB);n<i?e.$addWidget(e.sessionA,{rowCount:i-n,rowsAbove:0===t.old.end.row?i-n:0,row:0===t.old.end.row?0:t.old.end.row-1}):n>i&&e.$addWidget(e.sessionB,{rowCount:n-i,rowsAbove:0===t.new.end.row?n-i:0,row:0===t.new.end.row?0:t.new.end.row-1})}),e.sessionA._emit("changeFold",{data:{start:{row:0}}}),e.sessionB._emit("changeFold",{data:{start:{row:0}}})},t.prototype.onScroll=function(e,t){this.syncScroll(this.sessionA===t?this.editorA.renderer:this.editorB.renderer)},t.prototype.syncScroll=function(e){if(!1!=this.$syncScroll){var t=this.editorA.renderer,n=this.editorB.renderer,i=e==t;if(!t.$scrollAnimation||!n.$scrollAnimation){var r=Date.now();if(this.scrollSetBy==e||!(r-this.scrollSetAt<500)){var o=i?t:n;if(this.scrollSetBy!=e){if(i&&this.scrollA==o.session.getScrollTop())return;else if(!i&&this.scrollB==o.session.getScrollTop())return}var s=i?n:t,a=o.session.getScrollTop();this.$syncScroll=!1,i?(this.scrollA=o.session.getScrollTop(),this.scrollB=a):(this.scrollA=a,this.scrollB=o.session.getScrollTop()),this.scrollSetBy=e,s.session.setScrollTop(a),this.$syncScroll=!0,this.scrollSetAt=r}}}},t.prototype.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=e.editor;if(!t.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed)){var n=t==this.editorA?this.editorB:this.editorA;return n.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed)&&n.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()}}},t.prototype.$attachSessionsEventHandlers=function(){this.$attachSessionEventHandlers(this.editorA,this.markerA),this.$attachSessionEventHandlers(this.editorB,this.markerB)},t.prototype.$attachSessionEventHandlers=function(e,t){e.session.on("changeScrollTop",this.onScroll),e.session.on("changeFold",this.onChangeFold),e.session.addDynamicMarker(t),e.selection.on("changeCursor",this.onSelect),e.selection.on("changeSelection",this.onSelect),e.session.on("changeWrapLimit",this.onChangeWrapLimit),e.session.on("changeWrapMode",this.onChangeWrapLimit)},t.prototype.$detachSessionsEventHandlers=function(){this.$detachSessionHandlers(this.editorA,this.markerA),this.$detachSessionHandlers(this.editorB,this.markerB)},t.prototype.$detachSessionHandlers=function(e,t){e.session.off("changeScrollTop",this.onScroll),e.session.off("changeFold",this.onChangeFold),e.session.removeMarker(t.id),e.selection.off("changeCursor",this.onSelect),e.selection.off("changeSelection",this.onSelect),e.session.off("changeWrapLimit",this.onChangeWrapLimit),e.session.off("changeWrapMode",this.onChangeWrapLimit)},t.prototype.$attachEventHandlers=function(){this.editorA.renderer.on("themeChange",this.onChangeTheme),this.editorB.renderer.on("themeChange",this.onChangeTheme),this.editorA.on("mousewheel",this.onMouseWheel),this.editorB.on("mousewheel",this.onMouseWheel),this.editorA.on("input",this.onInput),this.editorB.on("input",this.onInput)},t.prototype.$detachEventHandlers=function(){this.$detachSessionsEventHandlers(),this.clearSelectionMarkers(),this.editorA.renderer.off("themeChange",this.onChangeTheme),this.editorB.renderer.off("themeChange",this.onChangeTheme),this.$detachEditorEventHandlers(this.editorA),this.$detachEditorEventHandlers(this.editorB)},t.prototype.$detachEditorEventHandlers=function(e){e.off("mousewheel",this.onMouseWheel),e.off("input",this.onInput)},t}(o)}),ace.define("ace/ext/diff/providers/default",["require","exports","module","ace/range","ace/ext/diff/base_diff_view"],function(e,t,n){"use strict";var i,r,o,s,a,u=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=this&&this.__generator||function(e,t){var n,i,r,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(u){var l=[a,u];if(n)throw TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(o=0)),o;)try{if(n=1,i&&(r=2&l[0]?i.return:l[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,l[1])).done)return r;switch(i=0,r&&(l=[2&l[0],r.value]),l[0]){case 0:case 1:r=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,i=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(r=(r=o.trys).length>0&&r[r.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!r||l[1]>r[0]&&l[1]<r[3])){o.label=l[1];break}if(6===l[0]&&o.label<r[1]){o.label=r[1],r=l;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(l);break}r[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],i=0}finally{n=r=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}},h=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function d(e,t){return function(n,i){return t(e(n),e(i))}}var c=function(e,t){return e-t},f=function(e){function t(n){var i=e.call(this,n||"An unexpected bug occurred.")||this;return Object.setPrototypeOf(i,t.prototype),i}return u(t,e),t}(Error),g=function(){function e(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new f("Invalid range: ".concat(this.toString()))}return e.fromTo=function(t,n){return new e(t,n)},e.addRange=function(t,n){for(var i=0;i<n.length&&n[i].endExclusive<t.start;)i++;for(var r=i;r<n.length&&n[r].start<=t.endExclusive;)r++;if(i===r)n.splice(i,0,t);else{var o=Math.min(t.start,n[i].start),s=Math.max(t.endExclusive,n[r-1].endExclusive);n.splice(i,r-i,new e(o,s))}},e.tryCreate=function(t,n){if(!(t>n))return new e(t,n)},e.ofLength=function(t){return new e(0,t)},e.ofStartAndLength=function(t,n){return new e(t,t+n)},e.emptyAt=function(t){return new e(t,t)},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return this.start===this.endExclusive},enumerable:!1,configurable:!0}),e.prototype.delta=function(t){return new e(this.start+t,this.endExclusive+t)},e.prototype.deltaStart=function(t){return new e(this.start+t,this.endExclusive)},e.prototype.deltaEnd=function(t){return new e(this.start,this.endExclusive+t)},Object.defineProperty(e.prototype,"length",{get:function(){return this.endExclusive-this.start},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"[".concat(this.start,", ").concat(this.endExclusive,")")},e.prototype.equals=function(e){return this.start===e.start&&this.endExclusive===e.endExclusive},e.prototype.containsRange=function(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive},e.prototype.contains=function(e){return this.start<=e&&e<this.endExclusive},e.prototype.join=function(t){return new e(Math.min(this.start,t.start),Math.max(this.endExclusive,t.endExclusive))},e.prototype.intersect=function(t){var n=Math.max(this.start,t.start),i=Math.min(this.endExclusive,t.endExclusive);if(n<=i)return new e(n,i)},e.prototype.intersectionLength=function(e){var t=Math.max(this.start,e.start);return Math.max(0,Math.min(this.endExclusive,e.endExclusive)-t)},e.prototype.intersects=function(e){return Math.max(this.start,e.start)<Math.min(this.endExclusive,e.endExclusive)},e.prototype.intersectsOrTouches=function(e){return Math.max(this.start,e.start)<=Math.min(this.endExclusive,e.endExclusive)},e.prototype.isBefore=function(e){return this.endExclusive<=e.start},e.prototype.isAfter=function(e){return this.start>=e.endExclusive},e.prototype.slice=function(e){return e.slice(this.start,this.endExclusive)},e.prototype.substring=function(e){return e.substring(this.start,this.endExclusive)},e.prototype.clip=function(e){if(this.isEmpty)throw new f("Invalid clipping range: ".concat(this.toString()));return Math.max(this.start,Math.min(this.endExclusive-1,e))},e.prototype.clipCyclic=function(e){if(this.isEmpty)throw new f("Invalid clipping range: ".concat(this.toString()));return e<this.start?this.endExclusive-(this.start-e)%this.length:e>=this.endExclusive?this.start+(e-this.start)%this.length:e},e.prototype.map=function(e){for(var t=[],n=this.start;n<this.endExclusive;n++)t.push(e(n));return t},e.prototype.forEach=function(e){for(var t=this.start;t<this.endExclusive;t++)e(t)},e}(),m=function(){function e(e,t){this.lineNumber=e,this.column=t}return e.prototype.equals=function(t){return e.equals(this,t)},e.equals=function(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column},e.prototype.isBefore=function(t){return e.isBefore(this,t)},e.isBefore=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column},e.prototype.isBeforeOrEqual=function(t){return e.isBeforeOrEqual(this,t)},e.isBeforeOrEqual=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column},e}(),p=function(){function e(e,t,n,i){e>n||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}return e.prototype.isEmpty=function(){return e.isEmpty(this)},e.isEmpty=function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn},e.prototype.containsPosition=function(t){return e.containsPosition(this,t)},e.containsPosition=function(e,t){return!(t.lineNumber<e.startLineNumber)&&!(t.lineNumber>e.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>e.endColumn))},e.prototype.containsRange=function(t){return e.containsRange(this,t)},e.containsRange=function(e,t){return!(t.startLineNumber<e.startLineNumber)&&!(t.endLineNumber<e.startLineNumber)&&!(t.startLineNumber>e.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>e.endColumn))},e.prototype.strictContainsRange=function(t){return e.strictContainsRange(this,t)},e.strictContainsRange=function(e,t){return!(t.startLineNumber<e.startLineNumber)&&!(t.endLineNumber<e.startLineNumber)&&!(t.startLineNumber>e.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))},e.prototype.plusRange=function(t){return e.plusRange(this,t)},e.plusRange=function(t,n){var i,r,o,s;return n.startLineNumber<t.startLineNumber?(i=n.startLineNumber,r=n.startColumn):n.startLineNumber===t.startLineNumber?(i=n.startLineNumber,r=Math.min(n.startColumn,t.startColumn)):(i=t.startLineNumber,r=t.startColumn),n.endLineNumber>t.endLineNumber?(o=n.endLineNumber,s=n.endColumn):n.endLineNumber===t.endLineNumber?(o=n.endLineNumber,s=Math.max(n.endColumn,t.endColumn)):(o=t.endLineNumber,s=t.endColumn),new e(i,r,o,s)},e.prototype.intersectRanges=function(t){return e.intersectRanges(this,t)},e.intersectRanges=function(t,n){var i=t.startLineNumber,r=t.startColumn,o=t.endLineNumber,s=t.endColumn,a=n.startLineNumber,u=n.startColumn,l=n.endLineNumber,h=n.endColumn;return(i<a?(i=a,r=u):i===a&&(r=Math.max(r,u)),o>l?(o=l,s=h):o===l&&(s=Math.min(s,h)),i>o||i===o&&r>s)?null:new e(i,r,o,s)},e.prototype.equalsRange=function(t){return e.equalsRange(this,t)},e.equalsRange=function(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn},e.prototype.getEndPosition=function(){return e.getEndPosition(this)},e.getEndPosition=function(e){return new m(e.endLineNumber,e.endColumn)},e.prototype.getStartPosition=function(){return e.getStartPosition(this)},e.getStartPosition=function(e){return new m(e.startLineNumber,e.startColumn)},e.prototype.collapseToStart=function(){return e.collapseToStart(this)},e.collapseToStart=function(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)},e.prototype.collapseToEnd=function(){return e.collapseToEnd(this)},e.collapseToEnd=function(t){return new e(t.endLineNumber,t.endColumn,t.endLineNumber,t.endColumn)},e.fromPositions=function(t,n){return void 0===n&&(n=t),new e(t.lineNumber,t.column,n.lineNumber,n.column)},e}();function v(e,t){var n=y(e,t);return -1===n?void 0:e[n]}function y(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=e.length);for(var r=n,o=i;r<o;){var s=Math.floor((r+o)/2);t(e[s])?r=s+1:o=s}return r-1}function w(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=e.length);for(var r=n,o=i;r<o;){var s=Math.floor((r+o)/2);t(e[s])?o=s:r=s+1}return r}var b=function(){function e(e){this._array=e,this._findLastMonotonousLastIdx=0}return e.prototype.findLastMonotonous=function(e){if(o.assertInvariants){if(this._prevFindLastPredicate)try{for(var t,n,i=h(this._array),r=i.next();!r.done;r=i.next()){var s=r.value;if(this._prevFindLastPredicate(s)&&!e(s))throw Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}}catch(e){t={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}this._prevFindLastPredicate=e}var a=y(this._array,e,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=a+1,-1===a?void 0:this._array[a]},e}();(o=b).assertInvariants=!1;var E=function(){function e(e,t){if(e>t)throw new f("startLineNumber ".concat(e," cannot be after endLineNumberExclusive ").concat(t));this.startLineNumber=e,this.endLineNumberExclusive=t}return e.fromRangeInclusive=function(t){return new e(t.startLineNumber,t.endLineNumber+1)},e.join=function(t){if(0===t.length)throw new f("lineRanges cannot be empty");for(var n=t[0].startLineNumber,i=t[0].endLineNumberExclusive,r=1;r<t.length;r++)n=Math.min(n,t[r].startLineNumber),i=Math.max(i,t[r].endLineNumberExclusive);return new e(n,i)},e.ofLength=function(t,n){return new e(t,t+n)},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return this.startLineNumber===this.endLineNumberExclusive},enumerable:!1,configurable:!0}),e.prototype.delta=function(t){return new e(this.startLineNumber+t,this.endLineNumberExclusive+t)},Object.defineProperty(e.prototype,"length",{get:function(){return this.endLineNumberExclusive-this.startLineNumber},enumerable:!1,configurable:!0}),e.prototype.join=function(t){return new e(Math.min(this.startLineNumber,t.startLineNumber),Math.max(this.endLineNumberExclusive,t.endLineNumberExclusive))},e.prototype.intersect=function(t){var n=Math.max(this.startLineNumber,t.startLineNumber),i=Math.min(this.endLineNumberExclusive,t.endLineNumberExclusive);if(n<=i)return new e(n,i)},e.prototype.overlapOrTouch=function(e){return this.startLineNumber<=e.endLineNumberExclusive&&e.startLineNumber<=this.endLineNumberExclusive},e.prototype.toInclusiveRange=function(){return this.isEmpty?null:new p(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)},e.prototype.toOffsetRange=function(){return new g(this.startLineNumber-1,this.endLineNumberExclusive-1)},e}(),L=function(){function e(e){void 0===e&&(e=[]),this._normalizedRanges=e}return Object.defineProperty(e.prototype,"ranges",{get:function(){return this._normalizedRanges},enumerable:!1,configurable:!0}),e.prototype.addRange=function(e){if(0!==e.length){var t=w(this._normalizedRanges,function(t){return t.endLineNumberExclusive>=e.startLineNumber}),n=y(this._normalizedRanges,function(t){return t.startLineNumber<=e.endLineNumberExclusive})+1;if(t===n)this._normalizedRanges.splice(t,0,e);else if(t===n-1){var i=this._normalizedRanges[t];this._normalizedRanges[t]=i.join(e)}else{var i=this._normalizedRanges[t].join(this._normalizedRanges[n-1]).join(e);this._normalizedRanges.splice(t,n-t,i)}}},e.prototype.contains=function(e){var t=v(this._normalizedRanges,function(t){return t.startLineNumber<=e});return!!t&&t.endLineNumberExclusive>e},e.prototype.subtractFrom=function(t){var n=w(this._normalizedRanges,function(e){return e.endLineNumberExclusive>=t.startLineNumber}),i=y(this._normalizedRanges,function(e){return e.startLineNumber<=t.endLineNumberExclusive})+1;if(n===i)return new e([t]);for(var r=[],o=t.startLineNumber,s=n;s<i;s++){var a=this._normalizedRanges[s];a.startLineNumber>o&&r.push(new E(o,a.startLineNumber)),o=a.endLineNumberExclusive}return o<t.endLineNumberExclusive&&r.push(new E(o,t.endLineNumberExclusive)),new e(r)},e.prototype.getIntersection=function(t){for(var n=[],i=0,r=0;i<this._normalizedRanges.length&&r<t._normalizedRanges.length;){var o=this._normalizedRanges[i],s=t._normalizedRanges[r],a=o.intersect(s);a&&!a.isEmpty&&n.push(a),o.endLineNumberExclusive<s.endLineNumberExclusive?i++:r++}return new e(n)},e.prototype.getWithDelta=function(t){return new e(this._normalizedRanges.map(function(e){return e.delta(t)}))},e}(),x=function(){function e(e,t){this.lineCount=e,this.columnCount=t}return e.prototype.toLineRange=function(){return E.ofLength(1,this.lineCount)},e.prototype.addToPosition=function(e){return 0===this.lineCount?new m(e.lineNumber,e.column+this.columnCount):new m(e.lineNumber+this.lineCount,this.columnCount+1)},e}();x.zero=new x(0,0);var R=function(e){function t(t){return e.call(this,function(e){return t[e-1]},t.length)||this}return u(t,e),t}(function(){function e(e,t){var n;if(void 0===n&&(n="unexpected state"),!(t>=1))throw new f("Assertion Failed: ".concat(n));this._getLineContent=e,this._lineCount=t}return e.prototype.getValueOfRange=function(e){if(e.startLineNumber===e.endLineNumber)return this._getLineContent(e.startLineNumber).substring(e.startColumn-1,e.endColumn-1);for(var t=this._getLineContent(e.startLineNumber).substring(e.startColumn-1),n=e.startLineNumber+1;n<e.endLineNumber;n++)t+="\n"+this._getLineContent(n);return t+("\n"+this._getLineContent(e.endLineNumber).substring(0,e.endColumn-1))},e.prototype.getLineLength=function(e){return this._getLineContent(e).length},Object.defineProperty(e.prototype,"length",{get:function(){var e=this._getLineContent(this._lineCount);return new x(this._lineCount-1,e.length)},enumerable:!1,configurable:!0}),e}()),N=function(e,t,n){this.changes=e,this.moves=t,this.hitTimeout=n},_=function(e,t){this.lineRangeMapping=e,this.changes=t},S=function(){function e(e,t){this.original=e,this.modified=t}return e.prototype.join=function(t){return new e(this.original.join(t.original),this.modified.join(t.modified))},Object.defineProperty(e.prototype,"changedLineCount",{get:function(){return Math.max(this.original.length,this.modified.length)},enumerable:!1,configurable:!0}),e.prototype.toRangeMapping=function(){var e=this.original.toInclusiveRange(),t=this.modified.toInclusiveRange();if(e&&t)return new $(e,t);if(1!==this.original.startLineNumber&&1!==this.modified.startLineNumber)return new $(new p(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new p(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER));if(1!==this.modified.startLineNumber||1!==this.original.startLineNumber)throw new f("not a valid diff");return new $(new p(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new p(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))},e.prototype.toRangeMapping2=function(e,t){if(C(this.original.endLineNumberExclusive,e)&&C(this.modified.endLineNumberExclusive,t))return new $(new p(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new p(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1));if(!this.original.isEmpty&&!this.modified.isEmpty)return new $(p.fromPositions(new m(this.original.startLineNumber,1),A(new m(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),e)),p.fromPositions(new m(this.modified.startLineNumber,1),A(new m(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)));if(this.original.startLineNumber>1&&this.modified.startLineNumber>1)return new $(p.fromPositions(A(new m(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER),e),A(new m(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),e)),p.fromPositions(A(new m(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER),t),A(new m(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)));throw new f},e}();function A(e,t){if(e.lineNumber<1)return new m(1,1);if(e.lineNumber>t.length)return new m(t.length,t[t.length-1].length+1);var n=t[e.lineNumber-1];return e.column>n.length+1?new m(e.lineNumber,n.length+1):e}function C(e,t){return e>=1&&e<=t.length}var B=function(e){function t(t,n,i){var r=e.call(this,t,n)||this;return r.innerChanges=i,r}return u(t,e),t.fromRangeMappings=function(e){return new t(E.join(e.map(function(e){return E.fromRangeInclusive(e.originalRange)})),E.join(e.map(function(e){return E.fromRangeInclusive(e.modifiedRange)})),e)},t.prototype.flip=function(){var e;return new t(this.modified,this.original,null==(e=this.innerChanges)?void 0:e.map(function(e){return e.flip()}))},t.prototype.withInnerChangesFromLineRanges=function(){return new t(this.original,this.modified,[this.toRangeMapping()])},t}(S),$=function(){function e(e,t){this.originalRange=e,this.modifiedRange=t}return e.join=function(e){if(0===e.length)throw new f("Cannot join an empty list of range mappings");for(var t=e[0],n=1;n<e.length;n++)t=t.join(e[n]);return t},e.assertSorted=function(e){for(var t=1;t<e.length;t++){var n=e[t-1],i=e[t];if(!(n.originalRange.getEndPosition().isBeforeOrEqual(i.originalRange.getStartPosition())&&n.modifiedRange.getEndPosition().isBeforeOrEqual(i.modifiedRange.getStartPosition())))throw new f("Range mappings must be sorted")}},e.prototype.flip=function(){return new e(this.modifiedRange,this.originalRange)},e.prototype.join=function(t){return new e(this.originalRange.plusRange(t.originalRange),this.modifiedRange.plusRange(t.modifiedRange))},e}();function M(e,t,n,i){void 0===i&&(i=!1);var r,o,s=[];try{for(var a=h(function(e,t){var n,i,r,o,s,a,u;return l(this,function(l){switch(l.label){case 0:l.trys.push([0,8,9,10]),o=(r=h(e)).next(),l.label=1;case 1:if(o.done)return[3,7];if(s=o.value,!(void 0!==i&&t(i,s)))return[3,2];return n.push(s),[3,5];case 2:if(!n)return[3,4];return[4,n];case 3:l.sent(),l.label=4;case 4:n=[s],l.label=5;case 5:i=s,l.label=6;case 6:return o=r.next(),[3,1];case 7:return[3,10];case 8:return a={error:l.sent()},[3,10];case 9:try{o&&!o.done&&(u=r.return)&&u.call(r)}finally{if(a)throw a.error}return[7];case 10:if(!n)return[3,12];return[4,n];case 11:l.sent(),l.label=12;case 12:return[2]}})}(e.map(function(e){var i,r,o,s,a;return i=e,r=t,o=n,s=0,a=0,1===i.modifiedRange.endColumn&&1===i.originalRange.endColumn&&i.originalRange.startLineNumber+s<=i.originalRange.endLineNumber&&i.modifiedRange.startLineNumber+s<=i.modifiedRange.endLineNumber&&(a=-1),i.modifiedRange.startColumn-1>=o.getLineLength(i.modifiedRange.startLineNumber)&&i.originalRange.startColumn-1>=r.getLineLength(i.originalRange.startLineNumber)&&i.originalRange.startLineNumber<=i.originalRange.endLineNumber+a&&i.modifiedRange.startLineNumber<=i.modifiedRange.endLineNumber+a&&(s=1),new B(new E(i.originalRange.startLineNumber+s,i.originalRange.endLineNumber+1+a),new E(i.modifiedRange.startLineNumber+s,i.modifiedRange.endLineNumber+1+a),[i])}),function(e,t){return e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified)})),u=a.next();!u.done;u=a.next()){var d=u.value,c=d[0],f=d[d.length-1];s.push(new B(c.original.join(f.original),c.modified.join(f.modified),d.map(function(e){return e.innerChanges[0]})))}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return function(){if(i||!(s.length>0)||s[0].modified.startLineNumber===s[0].original.startLineNumber&&n.length.lineCount-s[s.length-1].modified.endLineNumberExclusive==t.length.lineCount-s[s.length-1].original.endLineNumberExclusive)for(var e,r,o=0;o<s.length-1;){if(e=s[o],(r=s[o+1]).original.startLineNumber-e.original.endLineNumberExclusive!=r.modified.startLineNumber-e.modified.endLineNumberExclusive||!(e.original.endLineNumberExclusive<r.original.startLineNumber)||!(e.modified.endLineNumberExclusive<r.modified.startLineNumber))return!1;o++}}(),s}var k=function(){function e(e,t){this.diffs=e,this.hitTimeout=t}return e.trivial=function(t,n){return new e([new q(g.ofLength(t.length),g.ofLength(n.length))],!1)},e.trivialTimedOut=function(t,n){return new e([new q(g.ofLength(t.length),g.ofLength(n.length))],!0)},e}(),q=function(){function e(e,t){this.seq1Range=e,this.seq2Range=t}return e.invert=function(t,n){for(var i,r,o=[],s=0;s<=t.length;s++){i=0===s?void 0:t[s-1],r=s===t.length?void 0:t[s],o.push(e.fromOffsetPairs(i?i.getEndExclusives():D.zero,r?r.getStarts():new D(n,(i?i.seq2Range.endExclusive-i.seq1Range.endExclusive:0)+n)))}return o},e.fromOffsetPairs=function(t,n){return new e(new g(t.offset1,n.offset1),new g(t.offset2,n.offset2))},e.assertSorted=function(e){var t,n,i=void 0;try{for(var r=h(e),o=r.next();!o.done;o=r.next()){var s=o.value;if(i&&!(i.seq1Range.endExclusive<=s.seq1Range.start&&i.seq2Range.endExclusive<=s.seq2Range.start))throw new f("Sequence diffs must be sorted");i=s}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.swap=function(){return new e(this.seq2Range,this.seq1Range)},e.prototype.join=function(t){return new e(this.seq1Range.join(t.seq1Range),this.seq2Range.join(t.seq2Range))},e.prototype.delta=function(t){return 0===t?this:new e(this.seq1Range.delta(t),this.seq2Range.delta(t))},e.prototype.deltaStart=function(t){return 0===t?this:new e(this.seq1Range.deltaStart(t),this.seq2Range.deltaStart(t))},e.prototype.deltaEnd=function(t){return 0===t?this:new e(this.seq1Range.deltaEnd(t),this.seq2Range.deltaEnd(t))},e.prototype.intersect=function(t){var n=this.seq1Range.intersect(t.seq1Range),i=this.seq2Range.intersect(t.seq2Range);if(n&&i)return new e(n,i)},e.prototype.getStarts=function(){return new D(this.seq1Range.start,this.seq2Range.start)},e.prototype.getEndExclusives=function(){return new D(this.seq1Range.endExclusive,this.seq2Range.endExclusive)},e}(),D=function(){function e(e,t){this.offset1=e,this.offset2=t}return e.prototype.delta=function(e){return 0===e?this:new s(this.offset1+e,this.offset2+e)},e.prototype.equals=function(e){return this.offset1===e.offset1&&this.offset2===e.offset2},e}();(s=D).zero=new s(0,0),s.max=new s(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);var T=function(){function e(){}return e.prototype.isValid=function(){return!0},e}();T.instance=new T;var O=function(){function e(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new f("timeout must be positive")}return e.prototype.isValid=function(){return!(Date.now()-this.startTime<this.timeout)&&this.valid&&(this.valid=!1),this.valid},e.prototype.disable=function(){this.timeout=Number.MAX_SAFE_INTEGER,this.isValid=function(){return!0},this.valid=!0},e}(),I=function(){function e(e,t){this.width=e,this.height=t,this.array=[],this.array=Array(e*t)}return e.prototype.get=function(e,t){return this.array[e+t*this.width]},e.prototype.set=function(e,t,n){this.array[e+t*this.width]=n},e}();function W(e){return 32===e||9===e}var P=function(){function e(e,t,n){this.range=e,this.lines=t,this.source=n,this.histogram=[];for(var i=0,r=e.startLineNumber-1;r<e.endLineNumberExclusive-1;r++){for(var o=t[r],s=0;s<o.length;s++){i++;var u=o[s],l=a.getKey(u);this.histogram[l]=(this.histogram[l]||0)+1}i++;var h=a.getKey("\n");this.histogram[h]=(this.histogram[h]||0)+1}this.totalCount=i}return e.getKey=function(e){var t=this.chrKeys.get(e);return void 0===t&&(t=this.chrKeys.size,this.chrKeys.set(e,t)),t},e.prototype.computeSimilarity=function(e){for(var t,n,i=0,r=Math.max(this.histogram.length,e.histogram.length),o=0;o<r;o++)i+=Math.abs((null!=(t=this.histogram[o])?t:0)-(null!=(n=e.histogram[o])?n:0));return 1-i/(this.totalCount+e.totalCount)},e}();(a=P).chrKeys=new Map;var F=function(){function e(){}return e.prototype.compute=function(e,t,n,i){if(void 0===n&&(n=T.instance),0===e.length||0===t.length)return k.trivial(e,t);for(var r=new I(e.length,t.length),o=new I(e.length,t.length),s=new I(e.length,t.length),a=0;a<e.length;a++)for(var u=0;u<t.length;u++){if(!n.isValid())return k.trivialTimedOut(e,t);var l=0===a?0:r.get(a-1,u),h=0===u?0:r.get(a,u-1),d=void 0;e.getElement(a)===t.getElement(u)?(d=0===a||0===u?0:r.get(a-1,u-1),a>0&&u>0&&3===o.get(a-1,u-1)&&(d+=s.get(a-1,u-1)),d+=i?i(a,u):1):d=-1;var c=Math.max(l,h,d);if(c===d){var f=a>0&&u>0?s.get(a-1,u-1):0;s.set(a,u,f+1),o.set(a,u,3)}else c===l?(s.set(a,u,0),o.set(a,u,1)):c===h&&(s.set(a,u,0),o.set(a,u,2));r.set(a,u,c)}var m=[],p=e.length,v=t.length;function y(e,t){(e+1!==p||t+1!==v)&&m.push(new q(new g(e+1,p),new g(t+1,v))),p=e,v=t}for(var w=e.length-1,b=t.length-1;w>=0&&b>=0;)3===o.get(w,b)?(y(w,b),w--,b--):1===o.get(w,b)?w--:b--;return y(-1,-1),m.reverse(),new k(m,!1)},e}(),j=function(){function e(){}return e.prototype.compute=function(e,t,n){if(void 0===n&&(n=T.instance),0===e.length||0===t.length)return k.trivial(e,t);function i(n,i){for(;n<e.length&&i<t.length&&e.getElement(n)===t.getElement(i);)n++,i++;return n}var r=0,o=new z;o.set(0,i(0,0));var s=new V;s.set(0,0===o.get(0)?null:new H(null,0,0,o.get(0)));var a=0;e:for(;;){if(r++,!n.isValid())return k.trivialTimedOut(e,t);var u=-Math.min(r,t.length+r%2),l=Math.min(r,e.length+r%2);for(a=u;a<=l;a+=2){var h=a===l?-1:o.get(a+1),d=Math.min(Math.max(h,a===u?-1:o.get(a-1)+1),e.length),c=d-a;if(!(d>e.length)&&!(c>t.length)){var f=i(d,c);o.set(a,f);var m=d===h?s.get(a+1):s.get(a-1);if(s.set(a,f!==d?new H(m,d,c,f-d):m),o.get(a)===e.length&&o.get(a)-a===t.length)break e}}}for(var p=s.get(a),v=[],y=e.length,w=t.length;;){var b=p?p.x+p.length:0,E=p?p.y+p.length:0;if((b!==y||E!==w)&&v.push(new q(new g(b,y),new g(E,w))),!p)break;y=p.x,w=p.y,p=p.prev}return v.reverse(),new k(v,!1)},e}(),H=function(e,t,n,i){this.prev=e,this.x=t,this.y=n,this.length=i},z=function(){function e(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}return e.prototype.get=function(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]},e.prototype.set=function(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){var n=this.negativeArr;this.negativeArr=new Int32Array(2*n.length),this.negativeArr.set(n)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){var n=this.positiveArr;this.positiveArr=new Int32Array(2*n.length),this.positiveArr.set(n)}this.positiveArr[e]=t}},e}(),V=function(){function e(){this.positiveArr=[],this.negativeArr=[]}return e.prototype.get=function(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]},e.prototype.set=function(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t},e}(),G=function(){function e(){this.map=new Map}return e.prototype.add=function(e,t){var n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)},e.prototype.forEach=function(e,t){var n=this.map.get(e);n&&n.forEach(t)},e.prototype.get=function(e){var t=this.map.get(e);return t||new Set},e}(),X=function(){function e(e,t,n){this.lines=e,this.range=t,this.considerWhitespaceChanges=n,this.elements=[],this.firstElementOffsetByLineIdx=[],this.lineStartOffsets=[],this.trimmedWsLengthsByLineIdx=[],this.firstElementOffsetByLineIdx.push(0);for(var i=this.range.startLineNumber;i<=this.range.endLineNumber;i++){var r=e[i-1],o=0;i===this.range.startLineNumber&&this.range.startColumn>1&&(o=this.range.startColumn-1,r=r.substring(o)),this.lineStartOffsets.push(o);var s=0;if(!n){var a=r.trimStart();s=r.length-a.length,r=a.trimEnd()}this.trimmedWsLengthsByLineIdx.push(s);for(var u=i===this.range.endLineNumber?Math.min(this.range.endColumn-1-o-s,r.length):r.length,l=0;l<u;l++)this.elements.push(r.charCodeAt(l));i<this.range.endLineNumber&&(this.elements.push(10),this.firstElementOffsetByLineIdx.push(this.elements.length))}}return e.prototype.toString=function(){return'Slice: "'.concat(this.text,'"')},Object.defineProperty(e.prototype,"text",{get:function(){return this.getText(new g(0,this.length))},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){return this.elements.slice(e.start,e.endExclusive).map(function(e){return String.fromCharCode(e)}).join("")},e.prototype.getElement=function(e){return this.elements[e]},Object.defineProperty(e.prototype,"length",{get:function(){return this.elements.length},enumerable:!1,configurable:!0}),e.prototype.getBoundaryScore=function(e){var t=Y(e>0?this.elements[e-1]:-1),n=Y(e<this.elements.length?this.elements[e]:-1);if(7===t&&8===n)return 0;if(8===t)return 150;var i=0;return t!==n&&(i+=10,0===t&&1===n&&(i+=1)),i+=K[t],i+=K[n]},e.prototype.translateOffset=function(e,t){void 0===t&&(t="right");var n=y(this.firstElementOffsetByLineIdx,function(t){return t<=e}),i=e-this.firstElementOffsetByLineIdx[n];return new m(this.range.startLineNumber+n,1+this.lineStartOffsets[n]+i+(0===i&&"left"===t?0:this.trimmedWsLengthsByLineIdx[n]))},e.prototype.translateRange=function(e){var t=this.translateOffset(e.start,"right"),n=this.translateOffset(e.endExclusive,"left");return n.isBefore(t)?p.fromPositions(n,n):p.fromPositions(t,n)},e.prototype.findWordContaining=function(e){if(!(e<0)&&!(e>=this.elements.length)&&U(this.elements[e])){for(var t=e;t>0&&U(this.elements[t-1]);)t--;for(var n=e;n<this.elements.length&&U(this.elements[n]);)n++;return new g(t,n)}},e.prototype.findSubWordContaining=function(e){if(!(e<0)&&!(e>=this.elements.length)&&U(this.elements[e])){for(var t=e;t>0&&U(this.elements[t-1])&&!Z(this.elements[t]);)t--;for(var n=e;n<this.elements.length&&U(this.elements[n])&&!Z(this.elements[n]);)n++;return new g(t,n)}},e.prototype.countLinesIn=function(e){return this.translateOffset(e.endExclusive).lineNumber-this.translateOffset(e.start).lineNumber},e.prototype.isStronglyEqual=function(e,t){return this.elements[e]===this.elements[t]},e.prototype.extendToFullLines=function(e){var t,n,i,r;return new g(null!=(t=v(this.firstElementOffsetByLineIdx,function(t){return t<=e.start}))?t:0,null!=(n=(r=w(i=this.firstElementOffsetByLineIdx,function(t){return e.endExclusive<=t}))===i.length?void 0:i[r])?n:this.elements.length)},e}();function U(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}function Z(e){return e>=65&&e<=90}var K=((r={})[0]=0,r[1]=0,r[2]=0,r[3]=10,r[4]=2,r[5]=30,r[6]=3,r[7]=10,r[8]=10,r);function Y(e){if(10===e)return 8;if(13===e)return 7;if(W(e))return 6;if(e>=97&&e<=122)return 0;if(e>=65&&e<=90)return 1;else if(e>=48&&e<=57)return 2;else if(-1===e)return 3;else if(44===e||59===e)return 5;else return 4}function J(e,t,n){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;var i,r,o=new j().compute(new X([e],new p(1,1,1,e.length),!1),new X([t],new p(1,1,1,t.length),!1),n),s=0,a=q.invert(o.diffs,e.length);try{for(var u=h(a),l=u.next();!l.done;l=u.next())l.value.seq1Range.forEach(function(t){!W(e.charCodeAt(t))&&s++})}catch(e){i={error:e}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(i)throw i.error}}var d=function(t){for(var n=0,i=0;i<e.length;i++)!W(t.charCodeAt(i))&&n++;return n}(e.length>t.length?e:t);return s/d>.6&&d>10}function Q(e,t,n){var i=n;return i=ee(e,t,i),i=ee(e,t,i),i=function(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(var i=0;i<n.length;i++){var r=i>0?n[i-1]:void 0,o=n[i],s=i+1<n.length?n[i+1]:void 0,a=new g(r?r.seq1Range.endExclusive+1:0,s?s.seq1Range.start-1:e.length),u=new g(r?r.seq2Range.endExclusive+1:0,s?s.seq2Range.start-1:t.length);o.seq1Range.isEmpty?n[i]=et(o,e,t,a,u):o.seq2Range.isEmpty&&(n[i]=et(o.swap(),t,e,u,a).swap())}return n}(e,t,i)}function ee(e,t,n){if(0===n.length)return n;var i=[];i.push(n[0]);for(var r=1;r<n.length;r++){var o=i[i.length-1],s=n[r];if(s.seq1Range.isEmpty||s.seq2Range.isEmpty){var a=s.seq1Range.start-o.seq1Range.endExclusive,u=void 0;for(u=1;u<=a&&e.getElement(s.seq1Range.start-u)===e.getElement(s.seq1Range.endExclusive-u)&&t.getElement(s.seq2Range.start-u)===t.getElement(s.seq2Range.endExclusive-u);u++);if(--u===a){i[i.length-1]=new q(new g(o.seq1Range.start,s.seq1Range.endExclusive-a),new g(o.seq2Range.start,s.seq2Range.endExclusive-a));continue}s=s.delta(-u)}i.push(s)}for(var l=[],r=0;r<i.length-1;r++){var h=i[r+1],s=i[r];if(s.seq1Range.isEmpty||s.seq2Range.isEmpty){var a=h.seq1Range.start-s.seq1Range.endExclusive,u=void 0;for(u=0;u<a&&e.isStronglyEqual(s.seq1Range.start+u,s.seq1Range.endExclusive+u)&&t.isStronglyEqual(s.seq2Range.start+u,s.seq2Range.endExclusive+u);u++);if(u===a){i[r+1]=new q(new g(s.seq1Range.start+a,h.seq1Range.endExclusive),new g(s.seq2Range.start+a,h.seq2Range.endExclusive));continue}u>0&&(s=s.delta(u))}l.push(s)}return i.length>0&&l.push(i[i.length-1]),l}function et(e,t,n,i,r){for(var o=1;e.seq1Range.start-o>=i.start&&e.seq2Range.start-o>=r.start&&n.isStronglyEqual(e.seq2Range.start-o,e.seq2Range.endExclusive-o)&&o<100;)o++;o--;for(var s=0;e.seq1Range.start+s<i.endExclusive&&e.seq2Range.endExclusive+s<r.endExclusive&&n.isStronglyEqual(e.seq2Range.start+s,e.seq2Range.endExclusive+s)&&s<100;)s++;if(0===o&&0===s)return e;for(var a=0,u=-1,l=-o;l<=s;l++){var h=e.seq2Range.start+l,d=e.seq2Range.endExclusive+l,c=e.seq1Range.start+l,f=t.getBoundaryScore(c)+n.getBoundaryScore(h)+n.getBoundaryScore(d);f>u&&(u=f,a=l)}return e.delta(a)}function en(e,t,n,i,r){void 0===r&&(r=!1);var o=q.invert(n,e.length),s=[],a=new D(0,0);function u(n,u){if(!(n.offset1<a.offset1)&&!(n.offset2<a.offset2)){var l=i(e,n.offset1),h=i(t,n.offset2);if(l&&h){for(var d=new q(l,h),c=d.intersect(u),f=c.seq1Range.length,g=c.seq2Range.length;o.length>0;){var m=o[0];if(!(m.seq1Range.intersects(d.seq1Range)||m.seq2Range.intersects(d.seq2Range)))break;var p=new q(i(e,m.seq1Range.start),i(t,m.seq2Range.start)),v=p.intersect(m);if(f+=v.seq1Range.length,g+=v.seq2Range.length,(d=d.join(p)).seq1Range.endExclusive>=m.seq1Range.endExclusive)o.shift();else break}(r&&f+g<d.seq1Range.length+d.seq2Range.length||f+g<(d.seq1Range.length+d.seq2Range.length)*2/3)&&s.push(d),a=d.getEndExclusives()}}}for(;o.length>0;){var l=o.shift();l.seq1Range.isEmpty||(u(l.getStarts(),l),u(l.getEndExclusives().delta(-1),l))}for(var h=n,d=s,c=[];h.length>0||d.length>0;){var f=h[0],g=d[0],m=void 0;m=f&&(!g||f.seq1Range.start<g.seq1Range.start)?h.shift():d.shift(),c.length>0&&c[c.length-1].seq1Range.endExclusive>=m.seq1Range.start?c[c.length-1]=c[c.length-1].join(m):c.push(m)}return c}var ei=function(){function e(e,t){this.trimmedHash=e,this.lines=t}return e.prototype.getElement=function(e){return this.trimmedHash[e]},Object.defineProperty(e.prototype,"length",{get:function(){return this.trimmedHash.length},enumerable:!1,configurable:!0}),e.prototype.getBoundaryScore=function(e){return 1e3-((0===e?0:er(this.lines[e-1]))+(e===this.lines.length?0:er(this.lines[e])))},e.prototype.getText=function(e){return this.lines.slice(e.start,e.endExclusive).join("\n")},e.prototype.isStronglyEqual=function(e,t){return this.lines[e]===this.lines[t]},e}();function er(e){for(var t=0;t<e.length&&(32===e.charCodeAt(t)||9===e.charCodeAt(t));)t++;return t}var eo=function(){function e(){this.dynamicProgrammingDiffing=new F,this.myersDiffingAlgorithm=new j}return e.prototype.computeDiff=function(e,t,n){var i,r,o=this;if(e.length<=1&&function(e,t,n){if(void 0===n&&(n=function(e,t){return e===t}),e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(var i=0,r=e.length;i<r;i++)if(!n(e[i],t[i]))return!1;return!0}(e,t,function(e,t){return e===t}))return new N([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new N([new B(new E(1,e.length+1),new E(1,t.length+1),[new $(new p(1,1,e.length,e[e.length-1].length+1),new p(1,1,t.length,t[t.length-1].length+1))])],[],!1);var s=0===n.maxComputationTimeMs?T.instance:new O(n.maxComputationTimeMs),a=!n.ignoreTrimWhitespace,u=new Map;function l(e){var t=u.get(e);return void 0===t&&(t=u.size,u.set(e,t)),t}var d=e.map(function(e){return l(e.trim())}),c=t.map(function(e){return l(e.trim())}),f=new ei(d,e),m=new ei(c,t),v=f.length+m.length<1700?o.dynamicProgrammingDiffing.compute(f,m,s,function(n,i){return e[n]===t[i]?0===t[i].length?.1:1+Math.log(1+t[i].length):.99}):o.myersDiffingAlgorithm.compute(f,m,s),y=v.diffs,w=v.hitTimeout;y=Q(f,m,y),y=function(e,t,n){var i,r=n;if(0===r.length)return r;var o=0;do{i=!1;for(var s=[r[0]],a=1;a<r.length;a++)!function(t){var n=r[t],o=s[s.length-1];!function(t,i){var r=new g(o.seq1Range.endExclusive,n.seq1Range.start);return!!(e.getText(r).replace(/\s/g,"").length<=4)&&(!!(t.seq1Range.length+t.seq2Range.length>5)||!!(i.seq1Range.length+i.seq2Range.length>5))}(o,n)?s.push(n):(i=!0,s[s.length-1]=s[s.length-1].join(n))}(a);r=s}while(o++<10&&i);return r}(f,0,y);var b=[],L=function(i){var r,u;if(a)for(var l=0;l<i;l++){var d=x+l,c=_+l;if(e[d]!==t[c]){var f=o.refineDiff(e,t,new q(new g(d,d+1),new g(c,c+1)),s,a,n);try{for(var m=(r=void 0,h(f.mappings)),p=m.next();!p.done;p=m.next()){var v=p.value;b.push(v)}}catch(e){r={error:e}}finally{try{p&&!p.done&&(u=m.return)&&u.call(m)}finally{if(r)throw r.error}}f.hitTimeout&&(w=!0)}}},x=0,_=0,S=this;try{for(var A=h(y),C=A.next();!C.done;C=A.next()){var k=C.value;!function(i){i.seq1Range.start,i.seq2Range.start,L(i.seq1Range.start-x),x=i.seq1Range.endExclusive,_=i.seq2Range.endExclusive;var r,o,u=S.refineDiff(e,t,i,s,a,n);u.hitTimeout&&(w=!0);try{for(var l=(r=void 0,h(u.mappings)),d=l.next();!d.done;d=l.next()){var c=d.value;b.push(c)}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}(k)}}catch(e){i={error:e}}finally{try{C&&!C.done&&(r=A.return)&&r.call(A)}finally{if(i)throw i.error}}L(e.length-x);var D=M(b,new R(e),new R(t)),I=[];return n.computeMoves&&(I=this.computeMoves(D,e,t,d,c,s,a,n)),function(){var n,i,r,o;function s(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;var n=t[e.lineNumber-1];return!(e.column<1)&&!(e.column>n.length+1)}function a(e,t){return!(e.startLineNumber<1)&&!(e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1)&&!(e.endLineNumberExclusive>t.length+1)}try{for(var u=h(D),l=u.next();!l.done;l=u.next()){var d=l.value;if(!d.innerChanges)return!1;try{for(var c=(r=void 0,h(d.innerChanges)),f=c.next();!f.done;f=c.next()){var g=f.value;if(!(s(g.modifiedRange.getStartPosition(),t)&&s(g.modifiedRange.getEndPosition(),t)&&s(g.originalRange.getStartPosition(),e)&&s(g.originalRange.getEndPosition(),e)))return!1}}catch(e){r={error:e}}finally{try{f&&!f.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}if(!a(d.modified,t)||!a(d.original,e))return!1}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}(),new N(D,I,w)},e.prototype.computeMoves=function(e,t,n,i,r,o,s,a){var u,l,f,g,m,p,y=this;return(m=(g=function(e,t,n,i){var r,o,s,a,u=[],l=e.filter(function(e){return e.modified.isEmpty&&e.original.length>=3}).map(function(e){return new P(e.original,t,e)}),d=new Set(e.filter(function(e){return e.original.isEmpty&&e.modified.length>=3}).map(function(e){return new P(e.modified,n,e)})),c=new Set;try{for(var f=h(l),g=f.next();!g.done;g=f.next()){var m=g.value,p=-1,v=void 0;try{for(var y=(s=void 0,h(d)),w=y.next();!w.done;w=y.next()){var b=w.value,E=m.computeSimilarity(b);E>p&&(p=E,v=b)}}catch(e){s={error:e}}finally{try{w&&!w.done&&(a=y.return)&&a.call(y)}finally{if(s)throw s.error}}if(p>.9&&v&&(d.delete(v),u.push(new S(m.range,v.range)),c.add(m.source),c.add(v.source)),!i.isValid())return{moves:u,excludedChanges:c}}}catch(e){r={error:e}}finally{try{g&&!g.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}return{moves:u,excludedChanges:c}}(e,t,n,o)).moves,p=g.excludedChanges,!o.isValid()?[]:(!function(e,t){var n,i;try{for(var r=h(t),o=r.next();!o.done;o=r.next()){var s=o.value;e.push(s)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}}(m,function(e,t,n,i,r,o){var s,a,u,l,f,g,m,p,y,w=[],x=new G;try{for(var R=h(e),N=R.next();!N.done;N=R.next())for(var _=N.value,A=_.original.startLineNumber;A<_.original.endLineNumberExclusive-2;A++){var C="".concat(t[A-1],":").concat(t[A+1-1],":").concat(t[A+2-1]);x.add(C,{range:new E(A,A+3)})}}catch(e){a={error:e}}finally{try{N&&!N.done&&(u=R.return)&&u.call(R)}finally{if(a)throw a.error}}var B=[];e.sort(d(function(e){return e.modified.startLineNumber},c));try{for(var $=h(e),M=$.next();!M.done;M=$.next()){var _=M.value,k=function(e){for(var t=[],i=e.modified.startLineNumber;i<e.modified.endLineNumberExclusive-2;i++)!function(e){var i="".concat(n[e-1],":").concat(n[e+1-1],":").concat(n[e+2-1]),r=new E(e,e+3),o=[];x.forEach(i,function(e){var n,i,s=e.range;try{for(var a=(n=void 0,h(t)),u=a.next();!u.done;u=a.next()){var l=u.value;if(l.originalLineRange.endLineNumberExclusive+1===s.endLineNumberExclusive&&l.modifiedLineRange.endLineNumberExclusive+1===r.endLineNumberExclusive){l.originalLineRange=new E(l.originalLineRange.startLineNumber,s.endLineNumberExclusive),l.modifiedLineRange=new E(l.modifiedLineRange.startLineNumber,r.endLineNumberExclusive),o.push(l);return}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}var d={modifiedLineRange:r,originalLineRange:s};B.push(d),o.push(d)}),t=o}(i);if(!o.isValid())return{value:[]}}(_);if("object"==typeof k)return k.value}}catch(e){l={error:e}}finally{try{M&&!M.done&&(f=$.return)&&f.call($)}finally{if(l)throw l.error}}B.sort((s=d(function(e){return e.modifiedLineRange.length},c),function(e,t){return-s(e,t)}));var q=new L,D=new L;try{for(var T=h(B),O=T.next();!O.done;O=T.next()){var I=O.value,W=I.modifiedLineRange.startLineNumber-I.originalLineRange.startLineNumber,P=q.subtractFrom(I.modifiedLineRange),F=D.subtractFrom(I.originalLineRange).getWithDelta(W),j=P.getIntersection(F);try{for(var H=(p=void 0,h(j.ranges)),z=H.next();!z.done;z=H.next()){var V=z.value;if(!(V.length<3)){var X=V.delta(-W);w.push(new S(X,V)),q.addRange(V),D.addRange(X)}}}catch(e){p={error:e}}finally{try{z&&!z.done&&(y=H.return)&&y.call(H)}finally{if(p)throw p.error}}}}catch(e){g={error:e}}finally{try{O&&!O.done&&(m=T.return)&&m.call(T)}finally{if(g)throw g.error}}w.sort(d(function(e){return e.original.startLineNumber},c));for(var U=new b(e),A=0;A<w.length;A++)!function(t){var n=w[t],s=U.findLastMonotonous(function(e){return e.original.startLineNumber<=n.original.startLineNumber}),a=v(e,function(e){return e.modified.startLineNumber<=n.modified.startLineNumber}),u=Math.max(n.original.startLineNumber-s.original.startLineNumber,n.modified.startLineNumber-a.modified.startLineNumber),l=U.findLastMonotonous(function(e){return e.original.startLineNumber<n.original.endLineNumberExclusive}),h=v(e,function(e){return e.modified.startLineNumber<n.modified.endLineNumberExclusive}),d=Math.max(l.original.endLineNumberExclusive-n.original.endLineNumberExclusive,h.modified.endLineNumberExclusive-n.modified.endLineNumberExclusive),c=void 0;for(c=0;c<u;c++){var f=n.original.startLineNumber-c-1,g=n.modified.startLineNumber-c-1;if(f>i.length||g>r.length||q.contains(g)||D.contains(f)||!J(i[f-1],r[g-1],o))break}c>0&&(D.addRange(new E(n.original.startLineNumber-c,n.original.startLineNumber)),q.addRange(new E(n.modified.startLineNumber-c,n.modified.startLineNumber)));var m=void 0;for(m=0;m<d;m++){var f=n.original.endLineNumberExclusive+m,g=n.modified.endLineNumberExclusive+m;if(f>i.length||g>r.length||q.contains(g)||D.contains(f)||!J(i[f-1],r[g-1],o))break}m>0&&(D.addRange(new E(n.original.endLineNumberExclusive,n.original.endLineNumberExclusive+m)),q.addRange(new E(n.modified.endLineNumberExclusive,n.modified.endLineNumberExclusive+m))),(c>0||m>0)&&(w[t]=new S(new E(n.original.startLineNumber-c,n.original.endLineNumberExclusive+m),new E(n.modified.startLineNumber-c,n.modified.endLineNumberExclusive+m)))}(A);return w}(e.filter(function(e){return!p.has(e)}),i,r,t,n,o)),u=e,l=m=(m=function(e){if(0===e.length)return e;e.sort(d(function(e){return e.original.startLineNumber},c));for(var t=[e[0]],n=1;n<e.length;n++){var i=t[t.length-1],r=e[n],o=r.original.startLineNumber-i.original.endLineNumberExclusive,s=r.modified.startLineNumber-i.modified.endLineNumberExclusive;if(o>=0&&s>=0&&o+s<=2){t[t.length-1]=i.join(r);continue}t.push(r)}return t}(m)).filter(function(e){var n=e.original.toOffsetRange().slice(t).map(function(e){return e.trim()});return n.join("\n").length>=15&&function(e,t){var n,i,r=0;try{for(var o=h(e),s=o.next();!s.done;s=o.next()){var a=s.value;t(a)&&r++}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return r}(n,function(e){return e.length>=2})>=2}),f=new b(u),m=l.filter(function(e){return(f.findLastMonotonous(function(t){return t.original.startLineNumber<e.original.endLineNumberExclusive})||new S(new E(1,1),new E(1,1)))!==v(u,function(t){return t.modified.startLineNumber<e.modified.endLineNumberExclusive})}))).map(function(e){var i=M(y.refineDiff(t,n,new q(e.original.toOffsetRange(),e.modified.toOffsetRange()),o,s,a).mappings,new R(t),new R(n),!0);return new _(e,i)})},e.prototype.refineDiff=function(e,t,n,i,r,o){var s,a=new S(new E((s=n).seq1Range.start+1,s.seq1Range.endExclusive+1),new E(s.seq2Range.start+1,s.seq2Range.endExclusive+1)).toRangeMapping2(e,t),u=new X(e,a.originalRange,r),l=new X(t,a.modifiedRange,r),d=u.length+l.length<500?this.dynamicProgrammingDiffing.compute(u,l,i):this.myersDiffingAlgorithm.compute(u,l,i),c=d.diffs;return c=Q(u,l,c),c=en(u,l,c,function(e,t){return e.findWordContaining(t)}),o.extendToSubwords&&(c=en(u,l,c,function(e,t){return e.findSubWordContaining(t)},!0)),{mappings:(c=function(e,t,n){var i,r=n;if(0===r.length)return r;var o=0;do{i=!1;for(var s=[r[0]],a=1;a<r.length;a++)!function(n){var o=r[n],a=s[s.length-1];!function(n,i){var r=new g(a.seq1Range.endExclusive,o.seq1Range.start);if(e.countLinesIn(r)>5||r.length>500)return!1;var s=e.getText(r).trim();if(s.length>20||s.split(/\r\n|\r|\n/).length>1)return!1;var u=e.countLinesIn(n.seq1Range),l=n.seq1Range.length,h=t.countLinesIn(n.seq2Range),d=n.seq2Range.length,c=e.countLinesIn(i.seq1Range),f=i.seq1Range.length,m=t.countLinesIn(i.seq2Range),p=i.seq2Range.length;function v(e){return Math.min(e,130)}return Math.pow(Math.pow(v(40*u+l),1.5)+Math.pow(v(40*h+d),1.5),1.5)+Math.pow(Math.pow(v(40*c+f),1.5)+Math.pow(v(40*m+p),1.5),1.5)>74184.96480721243}(a,o)?s.push(o):(i=!0,s[s.length-1]=s[s.length-1].join(o))}(a);r=s}while(o++<10&&i);for(var u=[],l=r,h=0;h<l.length;h++)!function(t,n,i){var r=n;function o(e){return e.length>0&&e.trim().length<=3&&n.seq1Range.length+n.seq2Range.length>100}var s=e.extendToFullLines(n.seq1Range),a=e.getText(new g(s.start,n.seq1Range.start));o(a)&&(r=r.deltaStart(-a.length));var l=e.getText(new g(n.seq1Range.endExclusive,s.endExclusive));o(l)&&(r=r.deltaEnd(l.length));var h=q.fromOffsetPairs(t?t.getEndExclusives():D.zero,i?i.getStarts():D.max),d=r.intersect(h);u.length>0&&d.getStarts().equals(u[u.length-1].getEndExclusives())?u[u.length-1]=u[u.length-1].join(d):u.push(d)}(0===h?void 0:l[h-1],l[h],h+1===l.length?void 0:l[h+1]);return u}(u,l,c=function(e,t,n){var i,r,o=[];try{for(var s=h(n),a=s.next();!a.done;a=s.next()){var u=a.value,l=o[o.length-1];if(!l){o.push(u);continue}u.seq1Range.start-l.seq1Range.endExclusive<=2||u.seq2Range.start-l.seq2Range.endExclusive<=2?o[o.length-1]=new q(l.seq1Range.join(u.seq1Range),l.seq2Range.join(u.seq2Range)):o.push(u)}}catch(e){i={error:e}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return o}(0,0,c))).map(function(e){return new $(u.translateRange(e.seq1Range),l.translateRange(e.seq2Range))}),hitTimeout:d.hitTimeout}},e}();function es(e,t,n){var i=new eo().computeDiff(e,t,n);return null==i?void 0:i.changes.map(function(e){var t,n,i=e.innerChanges;return t=e.original.startLineNumber-1,n=e.original.endLineNumberExclusive-1,{origStart:t,origEnd:n,editStart:e.modified.startLineNumber-1,editEnd:e.modified.endLineNumberExclusive-1,charChanges:null==i?void 0:i.map(function(e){return{originalStartLineNumber:e.originalRange.startLineNumber-1,originalStartColumn:e.originalRange.startColumn-1,originalEndLineNumber:e.originalRange.endLineNumber-1,originalEndColumn:e.originalRange.endColumn-1,modifiedStartLineNumber:e.modifiedRange.startLineNumber-1,modifiedStartColumn:e.modifiedRange.startColumn-1,modifiedEndLineNumber:e.modifiedRange.endLineNumber-1,modifiedEndColumn:e.modifiedRange.endColumn-1}})}})}t.computeDiff=es;var ea=e("../../../range").Range,eu=e("../base_diff_view").DiffChunk;t.DiffProvider=function(){function e(){}return e.prototype.compute=function(e,t,n){return n||(n={}),n.maxComputationTimeMs||(n.maxComputationTimeMs=500),(es(e,t,n)||[]).map(function(e){return new eu(new ea(e.origStart,0,e.origEnd,0),new ea(e.editStart,0,e.editEnd,0),e.charChanges)})},e}()}),ace.define("ace/ext/diff",["require","exports","module","ace/ext/diff/inline_diff_view","ace/ext/diff/split_diff_view","ace/ext/diff/providers/default"],function(e,t,n){var i=e("./diff/inline_diff_view").InlineDiffView,r=e("./diff/split_diff_view").SplitDiffView,o=e("./diff/providers/default").DiffProvider;t.InlineDiffView=i,t.SplitDiffView=r,t.DiffProvider=o,t.createDiffView=function(e,t){var n;return(e=e||{}).diffProvider=e.diffProvider||new o,n=e.inline?new i(e):new r(e),t&&n.setOptions(t),n}}),ace.require(["ace/ext/diff"],function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)});
@@ -0,0 +1 @@
1
+ ace.require(["ace/snippets/flix"],function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)});
package/dist/41.js ADDED
@@ -0,0 +1 @@
1
+ (globalThis.webpackChunk_palladium_ethiopia_esm_billing_app=globalThis.webpackChunk_palladium_ethiopia_esm_billing_app||[]).push([["41"],{58742(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){var n,i;n=t,i=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(n))in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}r.d(t,{A:()=>m});var a=["width","height","viewBox"],s=["tabindex"],l={focusable:"false",preserveAspectRatio:"xMidYMid meet"},c=r(39067),u=r.n(c),f=r(21846),p=r.n(f);let m=p().forwardRef(function({className:e,children:t,tabIndex:r,xmlns:n="http://www.w3.org/2000/svg",preserveAspectRatio:c="xMidYMid meet",...u},f){let{tabindex:m,...h}=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,r=e.height,n=e.viewBox,c=void 0===n?"0 0 ".concat(t," ").concat(r):n,u=o(e,a),f=u.tabindex,p=o(u,s),m=i(i(i({},l),p),{},{width:t,height:r,viewBox:c});return m["aria-label"]||m["aria-labelledby"]||m.title?(m.role="img",null!=f&&(m.focusable="true",m.tabindex=f)):m["aria-hidden"]=!0,m}({...u,tabindex:r});return e&&(h.className=e),null!=m&&("number"==typeof m?h.tabIndex=m:h.tabIndex=Number(r)),f&&(h.ref=f),n&&(h.xmlns=n),c&&(h.preserveAspectRatio=c),p().createElement("svg",h,t)});m.displayName="Icon",m.propTypes={"aria-hidden":u().oneOfType([u().bool,u().oneOf(["true","false"])]),"aria-label":u().string,"aria-labelledby":u().string,children:u().node,className:u().string,height:u().oneOfType([u().number,u().string]),preserveAspectRatio:u().string,tabIndex:u().oneOfType([u().number,u().string]),viewBox:u().string,width:u().oneOfType([u().number,u().string]),xmlns:u().string}},88537(e,t,r){"use strict";r.d(t,{W1:()=>d,Xj:()=>y,hz:()=>h});var n,i,o,a,s,l,c,u,f=r(21846),p=r.n(f),m=r(58742);let h=p().forwardRef(function({children:e,size:t=16,...r},o){return 16===t||"16"===t||"16px"===t?p().createElement(m.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...r},n||(n=p().createElement("path",{d:"M6 15L6 14 2.7 14 7 9.7 6.3 9 2 13.3 2 10 1 10 1 15zM10 1L10 2 13.3 2 9 6.3 9.7 7 14 2.7 14 6 15 6 15 1z"})),e):p().createElement(m.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},i||(i=p().createElement("path",{d:"M20 2L20 4 26.586 4 18 12.582 19.414 14 28 5.414 28 12 30 12 30 2 20 2zM14 19.416L12.592 18 4 26.586 4 20 2 20 2 30 12 30 12 28 5.414 28 14 19.416z"})),e)}),d=p().forwardRef(function({children:e,size:t=16,...r},n){return 16===t||"16"===t||"16px"===t?p().createElement(m.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...r},o||(o=p().createElement("path",{d:"M2 12H14V13H2zM2 9H14V10H2zM2 6H14V7H2zM2 3H14V4H2z"})),e):20===t||"20"===t||"20px"===t?p().createElement(m.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...r},a||(a=p().createElement("path",{d:"M2 14.8H18V16H2zM2 11.2H18V12.399999999999999H2zM2 7.6H18V8.799999999999999H2zM2 4H18V5.2H2z"})),e):24===t||"24"===t||"24px"===t?p().createElement(m.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...r},s||(s=p().createElement("path",{d:"M3 18H21V19.5H3zM3 13.5H21V15H3zM3 9H21V10.5H3zM3 4.5H21V6H3z"})),e):p().createElement(m.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},l||(l=p().createElement("path",{d:"M4 6H28V8H4zM4 24H28V26H4zM4 12H28V14H4zM4 18H28V20H4z"})),e)}),y=p().forwardRef(function({children:e,size:t=16,...r},n){return 16===t||"16"===t||"16px"===t?p().createElement(m.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...r},c||(c=p().createElement("path",{d:"M2 9L2 10 5.3 10 1 14.3 1.7 15 6 10.7 6 14 7 14 7 9zM14 7L14 6 10.7 6 15 1.7 14.3 1 10 5.3 10 2 9 2 9 7z"})),e):p().createElement(m.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},u||(u=p().createElement("path",{d:"M4 18L4 20 10.586 20 2 28.582 3.414 30 12 21.414 12 28 14 28 14 18 4 18zM30 3.416L28.592 2 20 10.586 20 4 18 4 18 14 28 14 28 12 21.414 12 30 3.416z"})),e)})},18282(e,t,r){"use strict";r.d(t,{CH:()=>d,GU:()=>y,aI:()=>h});var n,i,o,a,s,l,c,u,f=r(21846),p=r.n(f),m=r(58742);let h=p().forwardRef(function({children:e,size:t=16,...r},a){return p().createElement(m.A,{width:t,height:t,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},n||(n=p().createElement("circle",{cx:"8",cy:"16",r:"2"})),i||(i=p().createElement("circle",{cx:"16",cy:"16",r:"2"})),o||(o=p().createElement("circle",{cx:"24",cy:"16",r:"2"})),e)}),d=p().forwardRef(function({children:e,size:t=16,...r},n){return p().createElement(m.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},a||(a=p().createElement("circle",{cx:"16",cy:"8",r:"2"})),s||(s=p().createElement("circle",{cx:"16",cy:"16",r:"2"})),l||(l=p().createElement("circle",{cx:"16",cy:"24",r:"2"})),e)}),y=p().forwardRef(function({children:e,size:t=16,...r},n){return p().createElement(m.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},c||(c=p().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM8,18a2,2,0,1,1,2-2A2,2,0,0,1,8,18Zm8,0a2,2,0,1,1,2-2A2,2,0,0,1,16,18Zm8,0a2,2,0,1,1,2-2A2,2,0,0,1,24,18Z"})),u||(u=p().createElement("path",{fill:"none",d:"M10,16a2,2,0,1,1-2-2A2,2,0,0,1,10,16Zm6-2a2,2,0,1,0,2,2A2,2,0,0,0,16,14Zm8,0a2,2,0,1,0,2,2A2,2,0,0,0,24,14Z","data-icon-path":"inner-path"})),e)})},68622(e,t,r){"use strict";r.d(t,{$D:()=>O,d3:()=>b,f5:()=>v,ff:()=>x,x:()=>E});var n,i,o,a,s,l,c,u,f,p,m,h,d,y=r(21846),g=r.n(y),w=r(58742);let b=g().forwardRef(function({children:e,size:t=16,...r},i){return g().createElement(w.A,{width:t,height:t,ref:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},n||(n=g().createElement("path",{d:"M16 18L6 8 7.4 6.6 16 15.2 24.6 6.6 26 8zM4 22H28V24H4z"})),e)}),v=g().forwardRef(function({children:e,size:t=16,...r},n){return 16===t||"16"===t||"16px"===t?g().createElement(w.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...r},i||(i=g().createElement("path",{d:"M13 7L12.3 6.3 8.5 10.1 8.5 1 7.5 1 7.5 10.1 3.7 6.3 3 7 8 12zM13 12v2H3v-2H2v2l0 0c0 .6.4 1 1 1h10c.6 0 1-.4 1-1l0 0v-2H13z"})),e):g().createElement(w.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},o||(o=g().createElement("path",{d:"M26 24v4H6V24H4v4H4a2 2 0 002 2H26a2 2 0 002-2h0V24zM26 14L24.59 12.59 17 20.17 17 2 15 2 15 20.17 7.41 12.59 6 14 16 24 26 14z"})),e)}),x=g().forwardRef(function({children:e,size:t=16,...r},n){return g().createElement(w.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},a||(a=g().createElement("path",{d:"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z"})),e)}),O=g().forwardRef(function({children:e,size:t=16,...r},n){return g().createElement(w.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},s||(s=g().createElement("path",{d:"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z"})),e)}),E=g().forwardRef(function({children:e,size:t=16,...r},n){return 16===t||"16"===t||"16px"===t?g().createElement(w.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...r},l||(l=g().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"})),c||(c=g().createElement("path",{fill:"none",d:"M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z","data-icon-path":"inner-path",opacity:"0"})),e):20===t||"20"===t||"20px"===t?g().createElement(w.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...r},u||(u=g().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z"})),f||(f=g().createElement("path",{d:"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z","data-icon-path":"inner-path",opacity:"0"})),e):24===t||"24"===t||"24px"===t?g().createElement(w.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...r},p||(p=g().createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11S18.1,1,12,1z M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z"})),m||(m=g().createElement("path",{fill:"none",d:"M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z","data-icon-path":"inner-path",opacity:"0"})),e):g().createElement(w.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},h||(h=g().createElement("path",{fill:"none",d:"M14.9 7.2H17.1V24.799H14.9z","data-icon-path":"inner-path",transform:"rotate(-45 16 16)"})),d||(d=g().createElement("path",{d:"M16,2A13.914,13.914,0,0,0,2,16,13.914,13.914,0,0,0,16,30,13.914,13.914,0,0,0,30,16,13.914,13.914,0,0,0,16,2Zm5.4449,21L9,10.5557,10.5557,9,23,21.4448Z"})),e)})},36999(e,t,r){"use strict";var n=r(36848);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},39067(e,t,r){e.exports=r(36999)()},36848(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},53373(e){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e="",i=0;i<arguments.length;i++){var o=arguments[i];o&&(e=n(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var i="";for(var o in e)t.call(e,o)&&e[o]&&(i=n(i,o));return i}(o)))}return e}function n(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return r}):window.classNames=r}()},89575(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{A:()=>n})},73244(e,t,r){"use strict";r.d(t,{K:()=>s});let n=new Map,i=!1;try{i="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch{}let o=!1;try{o="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch{}let a={degree:{narrow:{default:"\xb0","ja-JP":" 度","zh-TW":"度","sl-SI":" \xb0"}}};class s{format(e){let t="";if(t=i||null==this.options.signDisplay?this.numberFormatter.format(e):function(e,t,r){if("auto"===t)return e.format(r);{if("never"===t)return e.format(Math.abs(r));let n=!1;if("always"===t?n=r>0||Object.is(r,0):"exceptZero"===t&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),!n)return e.format(r);{let t=e.format(-r),n=e.format(r),i=t.replace(n,"").replace(/\u200e|\u061C/,"");return 1!=[...i].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),t.replace(n,"!!!").replace(i,"+").replace("!!!",n)}}}(this.numberFormatter,this.options.signDisplay,e),"unit"===this.options.style&&!o){var r;let{unit:e,unitDisplay:n="short",locale:i}=this.resolvedOptions();if(!e)return t;let o=null==(r=a[e])?void 0:r[n];t+=o[i]||o.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(e),n=this.numberFormatter.formatToParts(t);return[...r.map(e=>({...e,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...n.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return i||null==this.options.signDisplay||(e={...e,signDisplay:this.options.signDisplay}),o||"unit"!==this.options.style||(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=function(e,t={}){let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),"unit"===t.style&&!o){var i;let{unit:e,unitDisplay:r="short"}=t;if(!e)throw Error('unit option must be provided with style: "unit"');if(!(null==(i=a[e])?void 0:i[r]))throw Error(`Unsupported unit ${e} with unitDisplay = ${r}`);t={...t,style:"decimal"}}let s=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(n.has(s))return n.get(s);let l=new Intl.NumberFormat(e,t);return n.set(s,l),l}(e,t),this.options=t}}},66659(e,t,r){"use strict";r.d(t,{d:()=>a});var n=r(73244);let i=RegExp("^.*\\(.*\\).*$"),o=["latn","arab","hanidec","deva","beng","fullwide"];class a{parse(e){return l(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,r){return l(this.locale,this.options,e).isValidPartialNumber(e,t,r)}getNumberingSystem(e){return l(this.locale,this.options,e).options.numberingSystem}constructor(e,t={}){this.locale=e,this.options=t}}let s=new Map;function l(e,t,r){let n=c(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let i of o)if(i!==n.options.numberingSystem){let n=c(e+(e.includes("-u-")?"-nu-":"-u-nu-")+i,t);if(n.isValidPartialNumber(r))return n}}return n}function c(e,t){let r=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():""),n=s.get(r);return n||(n=new u(e,t),s.set(r,n)),n}class u{parse(e){let t=this.sanitize(e);if(this.symbols.group&&(t=m(t,this.symbols.group,"")),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(t=t.replace(this.symbols.minusSign,"-")),t=t.replace(this.symbols.numeral,this.symbols.index),"percent"===this.options.style){let e=t.indexOf("-"),r=(t=(t=t.replace("-","")).replace("+","")).indexOf(".");-1===r&&(r=t.length),t=t.replace(".",""),t=r-2==0?`0.${t}`:r-2==-1?`0.0${t}`:r-2==-2?"0.00":`${t.slice(0,r-2)}.${t.slice(r-2)}`,e>-1&&(t=`-${t}`)}let r=t?+t:NaN;if(isNaN(r))return NaN;if("percent"===this.options.style){var o,s;let e={...this.options,style:"decimal",minimumFractionDigits:Math.min((null!=(o=this.options.minimumFractionDigits)?o:0)+2,20),maximumFractionDigits:Math.min((null!=(s=this.options.maximumFractionDigits)?s:0)+2,20)};return new a(this.locale,e).parse(new(0,n.K)(this.locale,e).format(r))}return"accounting"===this.options.currencySign&&i.test(e)&&(r*=-1),r}sanitize(e){return e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),"arab"===this.options.numberingSystem&&(this.symbols.decimal&&(e=(e=e.replace(",",this.symbols.decimal)).replace(String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&(e=m(e,".",this.symbols.group))),"’"===this.symbols.group&&e.includes("'")&&(e=m(e,"'",this.symbols.group)),"fr-FR"===this.options.locale&&this.symbols.group&&(e=m(e," ",this.symbols.group),e=m(e,/\u00A0/g,this.symbols.group)),e}isValidPartialNumber(e,t=-1/0,r=1/0){return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&r>0&&(e=e.slice(this.symbols.plusSign.length)),!(this.symbols.group&&e.startsWith(this.symbols.group)||this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&0===this.options.maximumFractionDigits)&&(this.symbols.group&&(e=m(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),0===e.length)}constructor(e,t={}){var r,n;this.locale=e,1!==t.roundingIncrement&&null!=t.roundingIncrement&&(null==t.maximumFractionDigits&&null==t.minimumFractionDigits?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):null==t.maximumFractionDigits?t.maximumFractionDigits=t.minimumFractionDigits:null==t.minimumFractionDigits&&(t.minimumFractionDigits=t.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=function(e,t,r,n){var i,o,a,s,l;let c=new Intl.NumberFormat(e,{...r,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),u=c.formatToParts(-10000.111),m=c.formatToParts(10000.111),d=p.map(e=>c.formatToParts(e)),y=null!=(l=null==(i=u.find(e=>"minusSign"===e.type))?void 0:i.value)?l:"-",g=null==(o=m.find(e=>"plusSign"===e.type))?void 0:o.value;g||(null==n?void 0:n.signDisplay)!=="exceptZero"&&(null==n?void 0:n.signDisplay)!=="always"||(g="+");let w=null==(a=new Intl.NumberFormat(e,{...r,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(e=>"decimal"===e.type))?void 0:a.value,b=null==(s=u.find(e=>"group"===e.type))?void 0:s.value,v=[...new Set([...u.filter(e=>!f.has(e.type)).map(e=>h(e.value)),...d.flatMap(e=>e.filter(e=>!f.has(e.type)).map(e=>h(e.value)))])].sort((e,t)=>t.length-e.length),x=0===v.length?RegExp("[\\p{White_Space}]","gu"):RegExp(`${v.join("|")}|[\\p{White_Space}]`,"gu"),O=[...new Intl.NumberFormat(r.locale,{useGrouping:!1}).format(0x24cb016ea)].reverse(),E=new Map(O.map((e,t)=>[e,t]));return{minusSign:y,plusSign:g,decimal:w,group:b,literals:x,numeral:RegExp(`[${O.join("")}]`,"g"),index:e=>String(E.get(e))}}(e,this.formatter,this.options,t),"percent"===this.options.style&&((null!=(r=this.options.minimumFractionDigits)?r:0)>18||(null!=(n=this.options.maximumFractionDigits)?n:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}let f=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),p=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function m(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function h(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}},85608(e,t,r){"use strict";r.r(t),r.d(t,{__addDisposableResource:()=>R,__assign:()=>o,__asyncDelegator:()=>j,__asyncGenerator:()=>_,__asyncValues:()=>S,__await:()=>E,__awaiter:()=>h,__classPrivateFieldGet:()=>H,__classPrivateFieldIn:()=>F,__classPrivateFieldSet:()=>T,__createBinding:()=>y,__decorate:()=>s,__disposeResources:()=>I,__esDecorate:()=>c,__exportStar:()=>g,__extends:()=>i,__generator:()=>d,__importDefault:()=>A,__importStar:()=>z,__makeTemplateObject:()=>P,__metadata:()=>m,__param:()=>l,__propKey:()=>f,__read:()=>b,__rest:()=>a,__rewriteRelativeImportExtension:()=>L,__runInitializers:()=>u,__setFunctionName:()=>p,__spread:()=>v,__spreadArray:()=>O,__spreadArrays:()=>x,__values:()=>w,default:()=>N});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function l(e,t){return function(r,n){t(r,n,e)}}function c(e,t,r,n,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,l=n.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?n.static?e:e.prototype:null,f=t||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),p=!1,m=r.length-1;m>=0;m--){var h={};for(var d in n)h[d]="access"===d?{}:n[d];for(var d in n.access)h.access[d]=n.access[d];h.addInitializer=function(e){if(p)throw TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var y=(0,r[m])("accessor"===l?{get:f.get,set:f.set}:f[c],h);if("accessor"===l){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw TypeError("Object expected");(s=a(y.get))&&(f.get=s),(s=a(y.set))&&(f.set=s),(s=a(y.init))&&i.unshift(s)}else(s=a(y))&&("field"===l?i.unshift(s):f[c]=s)}u&&Object.defineProperty(u,n.name,f),p=!0}function u(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function m(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})}function d(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var c=[s,l];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&c[0]?n.return:c[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,c[1])).done)return i;switch(n=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],n=0}finally{r=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var y=Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function g(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||y(t,e,r)}function w(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function x(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}function O(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function E(e){return this instanceof E?(this.v=e,this):new E(e)}function _(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){i[e]&&(n[e]=function(t){return new Promise(function(r,n){o.push([e,t,r,n])>1||s(e,t)})},t&&(n[e]=t(n[e])))}function s(e,t){try{var r;(r=i[e](t)).value instanceof E?Promise.resolve(r.value.v).then(l,c):u(o[0][2],r)}catch(e){u(o[0][3],e)}}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function j(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:E(e[n](t)),done:!1}:i?i(t):t}:i}}function S(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=w(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){var o,a,s;o=n,a=i,s=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:s})},a)})}}}function P(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var M=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},D=function(e){return(D=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)};function z(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=D(e),n=0;n<r.length;n++)"default"!==r[n]&&y(t,e,r[n]);return M(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function H(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function T(e,t,r,n,i){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r}function F(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,r){if(null!=t){var n,i;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(r){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var C="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function I(e){function t(t){e.error=e.hasError?new C(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function i(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function L(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,r,n,i,o){return r?t?".jsx":".js":!n||i&&o?n+i+"."+o.toLowerCase()+"js":e}):e}let N={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__esDecorate:c,__runInitializers:u,__propKey:f,__setFunctionName:p,__metadata:m,__awaiter:h,__generator:d,__createBinding:y,__exportStar:g,__values:w,__read:b,__spread:v,__spreadArrays:x,__spreadArray:O,__await:E,__asyncGenerator:_,__asyncDelegator:j,__asyncValues:S,__makeTemplateObject:P,__importStar:z,__importDefault:A,__classPrivateFieldGet:H,__classPrivateFieldSet:T,__classPrivateFieldIn:F,__addDisposableResource:R,__disposeResources:I,__rewriteRelativeImportExtension:L}}}]);
package/dist/41.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"41.js","sources":["webpack://@palladium-ethiopia/esm-billing-app/../../node_modules/@carbon/icon-helpers/es/index.js","webpack://@palladium-ethiopia/esm-billing-app/../../node_modules/@carbon/icons-react/es/Icon.js","webpack://@palladium-ethiopia/esm-billing-app/../../node_modules/@carbon/icons-react/es/generated/bucket-12.js","webpack://@palladium-ethiopia/esm-billing-app/../../node_modules/@carbon/icons-react/es/generated/bucket-13.js","webpack://@palladium-ethiopia/esm-billing-app/../../node_modules/@carbon/icons-react/es/generated/bucket-6.js","webpack://@palladium-ethiopia/esm-billing-app/../../node_modules/prop-types/factoryWithThrowingShims.js","webpack://@palladium-ethiopia/esm-billing-app/../../node_modules/prop-types/index.js","webpack://@palladium-ethiopia/esm-billing-app/../../node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://@palladium-ethiopia/esm-billing-app/../../node_modules/classnames/index.js","webpack://@palladium-ethiopia/esm-billing-app/../../node_modules/@babel/runtime/helpers/esm/extends.js","webpack://@palladium-ethiopia/esm-billing-app/../../node_modules/@internationalized/number/dist/NumberFormatter.mjs","webpack://@palladium-ethiopia/esm-billing-app/../../node_modules/@internationalized/number/dist/NumberParser.mjs","webpack://@palladium-ethiopia/esm-billing-app/../../node_modules/tslib/tslib.es6.mjs"],"names":["e","Object","arguments","Symbol","TypeError","String","Number","t","i","n","r","E","Error","Array","define","window","Map","Intl","Math","console","RangeError","RegExp","NaN","isNaN","Set","Reflect","a","Promise","Iterator","_","AsyncIterator","SuppressedError"],"mappings":"oKAQA,SAAS,EAAQA,CAAC,CAAE,CAAC,EACnB,IAAI,EAAIC,OAAO,IAAI,CAACD,GACpB,GAAIC,OAAO,qBAAqB,CAAE,CAChC,IAAI,EAAIA,OAAO,qBAAqB,CAACD,EACrC,IAAM,GAAI,EAAE,MAAM,CAAC,SAAU,CAAC,EAC5B,OAAOC,OAAO,wBAAwB,CAACD,EAAG,GAAG,UAAU,AACzD,EAAC,EAAI,EAAE,IAAI,CAAC,KAAK,CAAC,EAAG,EACvB,CACA,OAAO,CACT,CACA,SAAS,EAAeA,CAAC,EACvB,IAAK,IAAI,EAAI,EAAG,EAAIE,UAAU,MAAM,CAAE,IAAK,CACzC,IAAI,EAAI,MAAQA,SAAS,CAAC,EAAE,CAAGA,SAAS,CAAC,EAAE,CAAG,CAAC,CAC/C,GAAI,EAAI,EAAQD,OAAO,GAAI,IAAM,OAAO,CAAC,SAAU,CAAC,MArB5B,EAAG,EAAH,EAsBH,EAtBM,EAsBH,CAAC,CAAC,EAAE,CArBvB,AAAC,GAAI,AA0Dd,SAAwB,CAAC,EACvB,IAAI,EAAI,AAXV,SAAsB,CAAC,CAAE,CAAC,EACxB,GAAI,UAAY,OAAO,GAAK,CAAC,EAAG,OAAO,EACvC,IAAI,EAAI,CAAC,CAACE,OAAO,WAAW,CAAC,CAC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O,EAAI,EAAGV,EAAI,KAAK,CAAC,IAAI,CAACU,GAAIiB,QAAQ,OAAO,GAAG,IAAI,CAAC,GACjF,GAAIjB,EAAE,OAAO,CAAE,CACb,IAAI,EAASA,EAAE,OAAO,CAAC,IAAI,CAACA,EAAE,KAAK,EACnC,GAAIA,EAAE,KAAK,CAAE,OAAO,GAAK,EAAGiB,QAAQ,OAAO,CAAC,GAAQ,IAAI,CAAC,EAAM,SAAS3B,CAAC,EAAa,OAAT,EAAKA,GAAW,GAAQ,EACvG,MACK,GAAK,CACZ,CACA,MAAOA,EAAG,CACR,EAAKA,EACP,CAEF,GAAI,AAAM,IAAN,EAAS,OAAOA,EAAI,QAAQ,CAAG2B,QAAQ,MAAM,CAAC3B,EAAI,KAAK,EAAI2B,QAAQ,OAAO,GAC9E,GAAI3B,EAAI,QAAQ,CAAE,MAAMA,EAAI,KAAK,AACnC,GAEF,CAEO,SAAS,EAAiC,CAAI,CAAE,CAAW,QAChE,AAAI,AAAgB,UAAhB,OAAO,GAAqB,WAAW,IAAI,CAAC,GACrC,EAAK,OAAO,CAAC,mDAAoD,SAAU,CAAC,CAAE,CAAG,CAAE,CAAC,CAAE,CAAG,CAAE,CAAE,EAChG,OAAO,EAAM,EAAc,OAAS,MAAQ,IAAM,AAAC,GAAQ,EAAW,EAAI,EAAM,IAAM,EAAG,WAAW,GAAK,KAAxC,CACrE,GAEG,CACT,CAEA,MAAe,CACb,YACA,WACA,SACA,aACA,UACA,eACA,oBACA,YACA,oBACA,aACA,YACA,cACA,kBACA,eACA,WACA,SACA,WACA,iBACA,gBACA,UACA6B,iBAAAA,EACA,mBACA,gBACA,uBACA,eACA,kBACA,yBACA,yBACA,wBACA,0BACA,qBACA,kCACF,C"}
@@ -0,0 +1 @@
1
+ ace.define("ace/mode/xml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,a=function(e){var t="[_:a-zA-Z\xc0-￿][-_:.a-zA-Z0-9\xc0-￿]*";this.$rules={start:[{token:"string.cdata.xml",regex:"<\\!\\[CDATA\\[",next:"cdata"},{token:["punctuation.instruction.xml","keyword.instruction.xml"],regex:"(<\\?)("+t+")",next:"processing_instruction"},{token:"comment.start.xml",regex:"<\\!--",next:"comment"},{token:["xml-pe.doctype.xml","xml-pe.doctype.xml"],regex:"(<\\!)(DOCTYPE)(?=[\\s])",next:"doctype",caseInsensitive:!0},{include:"tag"},{token:"text.end-tag-open.xml",regex:"</"},{token:"text.tag-open.xml",regex:"<"},{include:"reference"},{defaultToken:"text.xml"}],processing_instruction:[{token:"entity.other.attribute-name.decl-attribute-name.xml",regex:t},{token:"keyword.operator.decl-attribute-equals.xml",regex:"="},{include:"whitespace"},{include:"string"},{token:"punctuation.xml-decl.xml",regex:"\\?>",next:"start"}],doctype:[{include:"whitespace"},{include:"string"},{token:"xml-pe.doctype.xml",regex:">",next:"start"},{token:"xml-pe.xml",regex:"[-_a-zA-Z0-9:]+"},{token:"punctuation.int-subset",regex:"\\[",push:"int_subset"}],int_subset:[{token:"text.xml",regex:"\\s+"},{token:"punctuation.int-subset.xml",regex:"]",next:"pop"},{token:["punctuation.markup-decl.xml","keyword.markup-decl.xml"],regex:"(<\\!)("+t+")",push:[{token:"text",regex:"\\s+"},{token:"punctuation.markup-decl.xml",regex:">",next:"pop"},{include:"string"}]}],cdata:[{token:"string.cdata.xml",regex:"\\]\\]>",next:"start"},{token:"text.xml",regex:"\\s+"},{token:"text.xml",regex:"(?:[^\\]]|\\](?!\\]>))+"}],comment:[{token:"comment.end.xml",regex:"--\x3e",next:"start"},{defaultToken:"comment.xml"}],reference:[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}],attr_reference:[{token:"constant.language.escape.reference.attribute-value.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}],tag:[{token:["meta.tag.punctuation.tag-open.xml","meta.tag.punctuation.end-tag-open.xml","meta.tag.tag-name.xml"],regex:"(?:(<)|(</))((?:"+t+":)?"+t+")",next:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start"}]}],tag_whitespace:[{token:"text.tag-whitespace.xml",regex:"\\s+"}],whitespace:[{token:"text.whitespace.xml",regex:"\\s+"}],string:[{token:"string.xml",regex:"'",push:[{token:"string.xml",regex:"'",next:"pop"},{defaultToken:"string.xml"}]},{token:"string.xml",regex:'"',push:[{token:"string.xml",regex:'"',next:"pop"},{defaultToken:"string.xml"}]}],attributes:[{token:"entity.other.attribute-name.xml",regex:t},{token:"keyword.operator.attribute-equals.xml",regex:"="},{include:"tag_whitespace"},{include:"attribute_value"}],attribute_value:[{token:"string.attribute-value.xml",regex:"'",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"attr_reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"attr_reference"},{defaultToken:"string.attribute-value.xml"}]}]},this.constructor===a&&this.normalizeRules()};(function(){this.embedTagRules=function(e,t,n){this.$rules.tag.unshift({token:["meta.tag.punctuation.tag-open.xml","meta.tag."+n+".tag-name.xml"],regex:"(<)("+n+"(?=\\s|>|$))",next:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:t+"start"}]}),this.$rules[n+"-end"]=[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start",onMatch:function(e,t,n){return n.splice(0),this.token}}],this.embedRules(e,t,[{token:["meta.tag.punctuation.end-tag-open.xml","meta.tag."+n+".tag-name.xml"],regex:"(</)("+n+"(?=\\s|>|$))",next:n+"-end"},{token:"string.cdata.xml",regex:"<\\!\\[CDATA\\["},{token:"string.cdata.xml",regex:"\\]\\]>"}])}}).call(o.prototype),r.inherits(a,o),t.XmlHighlightRules=a}),ace.define("ace/mode/behaviour/xml",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator"],function(e,t,n){"use strict";var r=e("../../lib/oop"),o=e("../behaviour").Behaviour,a=e("../../token_iterator").TokenIterator;function i(e,t){return e&&e.type.lastIndexOf(t+".xml")>-1}var l=function(){this.add("string_dquotes","insertion",function(e,t,n,r,o){if('"'==o||"'"==o){var l=r.doc.getTextRange(n.getSelectionRange());if(""!==l&&"'"!==l&&'"'!=l&&n.getWrapBehavioursEnabled())return{text:o+l+o,selection:!1};var u=n.getCursorPosition(),s=r.doc.getLine(u.row).substring(u.column,u.column+1),g=new a(r,u.row,u.column),c=g.getCurrentToken();if(s==o&&(i(c,"attribute-value")||i(c,"string")))return{text:"",selection:[1,1]};if(c||(c=g.stepBackward()),c){for(;i(c,"tag-whitespace")||i(c,"whitespace");)c=g.stepBackward();var m=!s||s.match(/\s/);if(i(c,"attribute-equals")&&(m||">"==s)||i(c,"decl-attribute-equals")&&(m||"?"==s))return{text:o+o,selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(e,t,n,r,o){var a=r.doc.getTextRange(o);if(!o.isMultiLine()&&('"'==a||"'"==a)&&r.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)==a)return o.end.column++,o}),this.add("autoclosing","insertion",function(e,t,n,r,o){if(">"==o){var l=n.getSelectionRange().start,u=new a(r,l.row,l.column),s=u.getCurrentToken()||u.stepBackward();if(!s||!(i(s,"tag-name")||i(s,"tag-whitespace")||i(s,"attribute-name")||i(s,"attribute-equals")||i(s,"attribute-value"))||i(s,"reference.attribute-value"))return;if(i(s,"attribute-value")){var g=u.getCurrentTokenColumn()+s.value.length;if(l.column<g)return;if(l.column==g){var c=u.stepForward();if(c&&i(c,"attribute-value"))return;u.stepBackward()}}if(!/^\s*>/.test(r.getLine(l.row).slice(l.column))){for(;!i(s,"tag-name");)if("<"==(s=u.stepBackward()).value){s=u.stepForward();break}var m=u.getCurrentTokenRow(),x=u.getCurrentTokenColumn();if(!i(u.stepBackward(),"end-tag-open")){var d=s.value;if(m==l.row&&(d=d.substring(0,l.column-x)),!(this.voidElements&&this.voidElements.hasOwnProperty(d.toLowerCase())))return{text:"></"+d+">",selection:[1,1]}}}}}),this.add("autoindent","insertion",function(e,t,n,r,o){if("\n"==o){var l=n.getCursorPosition(),u=r.getLine(l.row),s=new a(r,l.row,l.column),g=s.getCurrentToken();if(i(g,"")&&-1!==g.type.indexOf("tag-close")){if("/>"==g.value)return;for(;g&&-1===g.type.indexOf("tag-name");)g=s.stepBackward();if(!g)return;var c=g.value,m=s.getCurrentTokenRow();if(!(g=s.stepBackward())||-1!==g.type.indexOf("end-tag"))return;if(this.voidElements&&!this.voidElements[c]||!this.voidElements){var x=r.getTokenAt(l.row,l.column+1),u=r.getLine(m),d=this.$getIndent(u),h=d+r.getTabString();return x&&"</"===x.value?{text:"\n"+h+"\n"+d,selection:[1,h.length,1,h.length]}:{text:"\n"+h}}}}})};r.inherits(l,o),t.XmlBehaviour=l}),ace.define("ace/mode/folding/xml",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),o=e("../../range").Range,a=e("./fold_mode").FoldMode,i=t.FoldMode=function(e,t){a.call(this),this.voidElements=e||{},this.optionalEndTags=r.mixin({},this.voidElements),t&&r.mixin(this.optionalEndTags,t)};r.inherits(i,a);var l=function(){this.tagName="",this.closing=!1,this.selfClosing=!1,this.start={row:0,column:0},this.end={row:0,column:0}};function u(e,t){return e&&e.type&&e.type.lastIndexOf(t+".xml")>-1}(function(){this.getFoldWidget=function(e,t,n){var r=this._getFirstTagInLine(e,n);return r?r.closing||!r.tagName&&r.selfClosing?"markbeginend"===t?"end":"":!r.tagName||r.selfClosing||this.voidElements.hasOwnProperty(r.tagName.toLowerCase())||this._findEndTagInLine(e,n,r.tagName,r.end.column)?"":"start":this.getCommentFoldWidget(e,n)},this.getCommentFoldWidget=function(e,t){return/comment/.test(e.getState(t))&&/<!-/.test(e.getLine(t))?"start":""},this._getFirstTagInLine=function(e,t){for(var n=e.getTokens(t),r=new l,o=0;o<n.length;o++){var a=n[o];if(u(a,"tag-open")){if(r.end.column=r.start.column+a.value.length,r.closing=u(a,"end-tag-open"),!(a=n[++o]))return null;if(r.tagName=a.value,""===a.value){if(!(a=n[++o]))return null;r.tagName=a.value}for(r.end.column+=a.value.length,o++;o<n.length;o++)if(a=n[o],r.end.column+=a.value.length,u(a,"tag-close")){r.selfClosing="/>"==a.value;break}return r}if(u(a,"tag-close"))return r.selfClosing="/>"==a.value,r;r.start.column+=a.value.length}return null},this._findEndTagInLine=function(e,t,n,r){for(var o=e.getTokens(t),a=0,i=0;i<o.length;i++){var l=o[i];if(!((a+=l.value.length)<r-1)&&u(l,"end-tag-open")&&(u(l=o[i+1],"tag-name")&&""===l.value&&(l=o[i+2]),l&&l.value==n))return!0}return!1},this.getFoldWidgetRange=function(e,t,n){if(!this._getFirstTagInLine(e,n))return this.getCommentFoldWidget(e,n)&&e.getCommentFoldRange(n,e.getLine(n).length);var r=e.getMatchingTags({row:n,column:0});if(r)return new o(r.openTag.end.row,r.openTag.end.column,r.closeTag.start.row,r.closeTag.start.column)}}).call(i.prototype)}),ace.define("ace/mode/xml",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/xml_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/xml","ace/worker/worker_client"],function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("../lib/lang"),a=e("./text").Mode,i=e("./xml_highlight_rules").XmlHighlightRules,l=e("./behaviour/xml").XmlBehaviour,u=e("./folding/xml").FoldMode,s=e("../worker/worker_client").WorkerClient,g=function(){this.HighlightRules=i,this.$behaviour=new l,this.foldingRules=new u};r.inherits(g,a),(function(){this.voidElements=o.arrayToMap([]),this.blockComment={start:"\x3c!--",end:"--\x3e"},this.createWorker=function(e){var t=new s(["ace"],"ace/mode/xml_worker","Worker");return t.attachToDocument(e.getDocument()),t.on("error",function(t){e.setAnnotations(t.data)}),t.on("terminate",function(){e.clearAnnotations()}),t},this.$id="ace/mode/xml"}).call(g.prototype),t.Mode=g}),ace.require(["ace/mode/xml"],function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)});
@@ -0,0 +1 @@
1
+ ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},s.getTagRule(),{defaultToken:"comment.doc.body",caseInsensitive:!0}]}};r.inherits(s,o),s.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},s.getStartRule=function(e){return{token:"comment.doc",regex:/\/\*\*(?!\/)/,next:e}},s.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=s}),ace.define("ace/mode/c_cpp_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./doc_comment_highlight_rules").DocCommentHighlightRules,s=e("./text_highlight_rules").TextHighlightRules,i=t.cFunctions="hypot|hypotf|hypotl|sscanf|system|snprintf|scanf|scalbn|scalbnf|scalbnl|scalbln|scalblnf|scalblnl|sin|sinh|sinhf|sinhl|sinf|sinl|signal|signbit|strstr|strspn|strncpy|strncat|strncmp|strcspn|strchr|strcoll|strcpy|strcat|strcmp|strtoimax|strtod|strtoul|strtoull|strtoumax|strtok|strtof|strtol|strtold|strtoll|strerror|strpbrk|strftime|strlen|strrchr|strxfrm|sprintf|setjmp|setvbuf|setlocale|setbuf|sqrt|sqrtf|sqrtl|swscanf|swprintf|srand|nearbyint|nearbyintf|nearbyintl|nexttoward|nexttowardf|nexttowardl|nextafter|nextafterf|nextafterl|nan|nanf|nanl|csin|csinh|csinhf|csinhl|csinf|csinl|csqrt|csqrtf|csqrtl|ccos|ccosh|ccoshf|ccosf|ccosl|cimag|cimagf|cimagl|ctime|ctan|ctanh|ctanhf|ctanhl|ctanf|ctanl|cos|cosh|coshf|coshl|cosf|cosl|conj|conjf|conjl|copysign|copysignf|copysignl|cpow|cpowf|cpowl|cproj|cprojf|cprojl|ceil|ceilf|ceill|cexp|cexpf|cexpl|clock|clog|clogf|clogl|clearerr|casin|casinh|casinhf|casinhl|casinf|casinl|cacos|cacosh|cacoshf|cacoshl|cacosf|cacosl|catan|catanh|catanhf|catanhl|catanf|catanl|calloc|carg|cargf|cargl|cabs|cabsf|cabsl|creal|crealf|creall|cbrt|cbrtf|cbrtl|time|toupper|tolower|tan|tanh|tanhf|tanhl|tanf|tanl|trunc|truncf|truncl|tgamma|tgammaf|tgammal|tmpnam|tmpfile|isspace|isnormal|isnan|iscntrl|isinf|isdigit|isunordered|isupper|ispunct|isprint|isfinite|iswspace|iswcntrl|iswctype|iswdigit|iswupper|iswpunct|iswprint|iswlower|iswalnum|iswalpha|iswgraph|iswxdigit|iswblank|islower|isless|islessequal|islessgreater|isalnum|isalpha|isgreater|isgreaterequal|isgraph|isxdigit|isblank|ilogb|ilogbf|ilogbl|imaxdiv|imaxabs|div|difftime|_Exit|ungetc|ungetwc|pow|powf|powl|puts|putc|putchar|putwc|putwchar|perror|printf|erf|erfc|erfcf|erfcl|erff|erfl|exit|exp|exp2|exp2f|exp2l|expf|expl|expm1|expm1f|expm1l|vsscanf|vsnprintf|vscanf|vsprintf|vswscanf|vswprintf|vprintf|vfscanf|vfprintf|vfwscanf|vfwprintf|vwscanf|vwprintf|va_start|va_copy|va_end|va_arg|qsort|fscanf|fsetpos|fseek|fclose|ftell|fopen|fdim|fdimf|fdiml|fpclassify|fputs|fputc|fputws|fputwc|fprintf|feholdexcept|fesetenv|fesetexceptflag|fesetround|feclearexcept|fetestexcept|feof|feupdateenv|feraiseexcept|ferror|fegetenv|fegetexceptflag|fegetround|fflush|fwscanf|fwide|fwprintf|fwrite|floor|floorf|floorl|fabs|fabsf|fabsl|fgets|fgetc|fgetpos|fgetws|fgetwc|freopen|free|fread|frexp|frexpf|frexpl|fmin|fminf|fminl|fmod|fmodf|fmodl|fma|fmaf|fmal|fmax|fmaxf|fmaxl|ldiv|ldexp|ldexpf|ldexpl|longjmp|localtime|localeconv|log|log1p|log1pf|log1pl|log10|log10f|log10l|log2|log2f|log2l|logf|logl|logb|logbf|logbl|labs|lldiv|llabs|llrint|llrintf|llrintl|llround|llroundf|llroundl|lrint|lrintf|lrintl|lround|lroundf|lroundl|lgamma|lgammaf|lgammal|wscanf|wcsstr|wcsspn|wcsncpy|wcsncat|wcsncmp|wcscspn|wcschr|wcscoll|wcscpy|wcscat|wcscmp|wcstoimax|wcstod|wcstoul|wcstoull|wcstoumax|wcstok|wcstof|wcstol|wcstold|wcstoll|wcstombs|wcspbrk|wcsftime|wcslen|wcsrchr|wcsrtombs|wcsxfrm|wctob|wctomb|wcrtomb|wprintf|wmemset|wmemchr|wmemcpy|wmemcmp|wmemmove|assert|asctime|asin|asinh|asinhf|asinhl|asinf|asinl|acos|acosh|acoshf|acoshl|acosf|acosl|atoi|atof|atol|atoll|atexit|atan|atanh|atanhf|atanhl|atan2|atan2f|atan2l|atanf|atanl|abs|abort|gets|getc|getchar|getenv|getwc|getwchar|gmtime|rint|rintf|rintl|round|roundf|roundl|rename|realloc|rewind|remove|remquo|remquof|remquol|remainder|remainderf|remainderl|rand|raise|bsearch|btowc|modf|modff|modfl|memset|memchr|memcpy|memcmp|memmove|mktime|malloc|mbsinit|mbstowcs|mbsrtowcs|mbtowc|mblen|mbrtowc|mbrlen",a=function(e){var t=this.$keywords=this.createKeywordMapper(Object.assign({"keyword.control":"break|case|continue|default|do|else|for|goto|if|_Pragma|return|switch|while|catch|operator|try|throw|using","storage.type":"asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|int8_t|int16_t|int32_t|int64_t|long|short|signed|size_t|struct|typedef|uint8_t|uint16_t|uint32_t|uint64_t|union|unsigned|void|class|wchar_t|template|char16_t|char32_t","storage.modifier":"const|extern|register|restrict|static|volatile|inline|private|protected|public|friend|explicit|virtual|export|mutable|typename|constexpr|new|delete|alignas|alignof|decltype|noexcept|thread_local","keyword.operator":"and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|const_cast|dynamic_cast|reinterpret_cast|static_cast|sizeof|namespace","variable.language":"this","constant.language":"NULL|true|false|TRUE|FALSE|nullptr","support.function.C99.c":i},e),"identifier"),n=/\\(?:['"?\\abfnrtv]|[0-7]{1,3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}U[a-fA-F\d]{8}|.)/.source,r="%"+/(\d+\$)?/.source+/[#0\- +']*/.source+/[,;:_]?/.source+/((-?\d+)|\*(-?\d+\$)?)?/.source+/(\.((-?\d+)|\*(-?\d+\$)?)?)?/.source+/(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?/.source+/(\[[^"\]]+\]|[diouxXDOUeEfFgGaACcSspn%])/.source;this.$rules={start:[{token:"comment",regex:"//$",next:"start"},{token:"comment",regex:"//",next:"singleLineComment"},o.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment"},{token:"string",regex:"'(?:"+n+"|.)?'"},{token:"string.start",regex:'"',stateName:"qqstring",next:[{token:"string",regex:/\\\s*$/,next:"qqstring"},{token:"constant.language.escape",regex:n},{token:"constant.language.escape",regex:r},{token:"string.end",regex:'"|$',next:"start"},{defaultToken:"string"}]},{token:"string.start",regex:'R"\\(',stateName:"rawString",next:[{token:"string.end",regex:'\\)"',next:"start"},{defaultToken:"string"}]},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"keyword",regex:"#\\s*(?:include|import|pragma|line|define|undef)\\b",next:"directive"},{token:"keyword",regex:"#\\s*(?:endif|if|ifdef|else|elif|ifndef)\\b"},{token:t,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*"},{token:"keyword.operator",regex:/--|\+\+|<<=|>>=|>>>=|<>|&&|\|\||\?:|[*%\/+\-&\^|~!<>=]=?/},{token:"punctuation.operator",regex:"\\?|\\:|\\,|\\;|\\."},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],singleLineComment:[{token:"comment",regex:/\\$/,next:"singleLineComment"},{token:"comment",regex:/$/,next:"start"},{defaultToken:"comment"}],directive:[{token:"constant.other.multiline",regex:/\\/},{token:"constant.other.multiline",regex:/.*\\/},{token:"constant.other",regex:"\\s*<.+?>",next:"start"},{token:"constant.other",regex:'\\s*["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]',next:"start"},{token:"constant.other",regex:"\\s*['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']",next:"start"},{token:"constant.other",regex:/[^\\\/]+/,next:"start"}]},this.embedRules(o,"doc-",[o.getEndRule("start")]),this.normalizeRules()};r.inherits(a,s),t.c_cppHighlightRules=a}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){"use strict";var r=e("../range").Range,o=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var o=n[1].length,s=e.findMatchingBracket({row:t,column:o});if(!s||s.row==t)return 0;var i=this.$getIndent(e.getLine(s.row));e.replace(new r(t,0,t,o-1),i)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(o.prototype),t.MatchingBraceOutdent=o}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),o=e("../../range").Range,s=e("./fold_mode").FoldMode,i=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(i,s),(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var o=this._getFoldWidgetBase(e,t,n);return!o&&this.startRegionRe.test(r)?"start":o},this.getFoldWidgetRange=function(e,t,n,r){var o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);var s=o.match(this.foldingStartMarker);if(s){var i=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,i);var a=e.getCommentFoldRange(n,i+s[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t){var s=o.match(this.foldingStopMarker);if(s){var i=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,i):e.getCommentFoldRange(n,i,-1)}}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),s=t,i=n.length,a=t+=1,c=e.getLength();++t<c;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(r>l)break;var f=this.getFoldWidgetRange(e,"all",t);if(f){if(f.start.row<=s)break;else if(f.isMultiLine())t=f.end.row;else if(r==l)break}a=t}}return new o(s,i,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),s=e.getLength(),i=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<s;){t=e.getLine(n);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}var f=n;if(f>i)return new o(i,r,f,t.length)}}).call(i.prototype)}),ace.define("ace/mode/c_cpp",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/c_cpp_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle"],function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text").Mode,s=e("./c_cpp_highlight_rules").c_cppHighlightRules,i=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("./folding/cstyle").FoldMode,c=function(){this.HighlightRules=s,this.$outdent=new i,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new a};r.inherits(c,o),(function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),o=this.getTokenizer().getLineTokens(t,e),s=o.tokens,i=o.state;if(s.length&&"comment"==s[s.length-1].type)return r;if("start"==e){var a=t.match(/^.*[\{\(\[]\s*$/);a&&(r+=n)}else if("doc-start"==e){if("start"==i)return"";var a=t.match(/^\s*(\/?)\*/);a&&(a[1]&&(r+=" "),r+="* ")}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.$id="ace/mode/c_cpp",this.snippetFileId="ace/snippets/c_cpp"}).call(c.prototype),t.Mode=c}),ace.require(["ace/mode/c_cpp"],function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)});
@@ -0,0 +1 @@
1
+ ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var i=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},r.getTagRule(),{defaultToken:"comment.doc.body",caseInsensitive:!0}]}};i.inherits(r,o),r.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},r.getStartRule=function(e){return{token:"comment.doc",regex:/\/\*\*(?!\/)/,next:e}},r.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=r}),ace.define("ace/mode/haxe_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var i=e("../lib/oop"),o=e("./doc_comment_highlight_rules").DocCommentHighlightRules,r=e("./text_highlight_rules").TextHighlightRules,a=function(){var e=this.createKeywordMapper({"variable.language":"this",keyword:"break|case|cast|catch|class|continue|default|else|enum|extends|for|function|if|implements|import|in|inline|interface|new|override|package|private|public|return|static|super|switch|this|throw|trace|try|typedef|untyped|var|while|Array|Void|Bool|Int|UInt|Float|Dynamic|String|List|Hash|IntHash|Error|Unknown|Type|Std","constant.language":"null|true|false"},"identifier");this.$rules={start:[{token:"comment",regex:"\\/\\/.*$"},o.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment"},{token:"string.regexp",regex:"[/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\/|[^\\]/]))*[/]\\w*\\s*(?=[).,;]|$)"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\b(?:in|instanceof|new|delete|typeof|void)"},{token:"punctuation.operator",regex:"\\?|\\:|\\,|\\;|\\."},{token:"paren.lparen",regex:"[[({<]"},{token:"paren.rparen",regex:"[\\])}>]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]},this.embedRules(o,"doc-",[o.getEndRule("start")])};i.inherits(a,r),t.HaxeHighlightRules=a}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){"use strict";var i=e("../range").Range,o=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var o=n[1].length,r=e.findMatchingBracket({row:t,column:o});if(!r||r.row==t)return 0;var a=this.$getIndent(e.getLine(r.row));e.replace(new i(t,0,t,o-1),a)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(o.prototype),t.MatchingBraceOutdent=o}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var i=e("../../lib/oop"),o=e("../../range").Range,r=e("./fold_mode").FoldMode,a=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};i.inherits(a,r),(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var i=e.getLine(n);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var o=this._getFoldWidgetBase(e,t,n);return!o&&this.startRegionRe.test(i)?"start":o},this.getFoldWidgetRange=function(e,t,n,i){var o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);var r=o.match(this.foldingStartMarker);if(r){var a=r.index;if(r[1])return this.openingBracketBlock(e,r[1],n,a);var s=e.getCommentFoldRange(n,a+r[0].length,1);return s&&!s.isMultiLine()&&(i?s=this.getSectionRange(e,n):"all"!=t&&(s=null)),s}if("markbegin"!==t){var r=o.match(this.foldingStopMarker);if(r){var a=r.index+r[0].length;return r[1]?this.closingBracketBlock(e,r[1],n,a):e.getCommentFoldRange(n,a,-1)}}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),i=n.search(/\S/),r=t,a=n.length,s=t+=1,g=e.getLength();++t<g;){var c=(n=e.getLine(t)).search(/\S/);if(-1!==c){if(i>c)break;var l=this.getFoldWidgetRange(e,"all",t);if(l){if(l.start.row<=r)break;else if(l.isMultiLine())t=l.end.row;else if(i==c)break}s=t}}return new o(r,a,s,e.getLine(s).length)},this.getCommentRegionBlock=function(e,t,n){for(var i=t.search(/\s*$/),r=e.getLength(),a=n,s=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,g=1;++n<r;){t=e.getLine(n);var c=s.exec(t);if(c&&(c[1]?g--:g++,!g))break}var l=n;if(l>a)return new o(a,i,l,t.length)}}).call(a.prototype)}),ace.define("ace/mode/haxe",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/haxe_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle"],function(e,t,n){"use strict";var i=e("../lib/oop"),o=e("./text").Mode,r=e("./haxe_highlight_rules").HaxeHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,s=e("./folding/cstyle").FoldMode,g=function(){this.HighlightRules=r,this.$outdent=new a,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new s};i.inherits(g,o),(function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var i=this.$getIndent(t),o=this.getTokenizer().getLineTokens(t,e).tokens;return o.length&&"comment"==o[o.length-1].type||"start"==e&&t.match(/^.*[\{\(\[]\s*$/)&&(i+=n),i},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.$id="ace/mode/haxe"}).call(g.prototype),t.Mode=g}),ace.require(["ace/mode/haxe"],function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)});
@@ -0,0 +1 @@
1
+ ace.define("ace/theme/tomorrow_night_bright-css",["require","exports","module"],function(r,o,n){n.exports=".ace-tomorrow-night-bright .ace_gutter {\n background: #1a1a1a;\n color: #DEDEDE\n}\n\n.ace-tomorrow-night-bright .ace_print-margin {\n width: 1px;\n background: #1a1a1a\n}\n\n.ace-tomorrow-night-bright {\n background-color: #000000;\n color: #DEDEDE\n}\n\n.ace-tomorrow-night-bright .ace_cursor {\n color: #9F9F9F\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_selection {\n background: #424242\n}\n\n.ace-tomorrow-night-bright.ace_multiselect .ace_selection.ace_start {\n box-shadow: 0 0 3px 0px #000000;\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_step {\n background: rgb(102, 82, 0)\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid #888888\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_highlight {\n border: 1px solid rgb(110, 119, 0);\n border-bottom: 0;\n box-shadow: inset 0 -1px rgb(110, 119, 0);\n margin: -1px 0 0 -1px;\n background: rgba(255, 235, 0, 0.1)\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_active-line {\n background: #2A2A2A\n}\n\n.ace-tomorrow-night-bright .ace_gutter-active-line {\n background-color: #2A2A2A\n}\n\n.ace-tomorrow-night-bright .ace_stack {\n background-color: rgb(66, 90, 44)\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_selected-word {\n border: 1px solid #888888\n}\n\n.ace-tomorrow-night-bright .ace_invisible {\n color: #343434\n}\n\n.ace-tomorrow-night-bright .ace_keyword,\n.ace-tomorrow-night-bright .ace_meta,\n.ace-tomorrow-night-bright .ace_storage,\n.ace-tomorrow-night-bright .ace_storage.ace_type,\n.ace-tomorrow-night-bright .ace_support.ace_type {\n color: #C397D8\n}\n\n.ace-tomorrow-night-bright .ace_keyword.ace_operator {\n color: #70C0B1\n}\n\n.ace-tomorrow-night-bright .ace_constant.ace_character,\n.ace-tomorrow-night-bright .ace_constant.ace_language,\n.ace-tomorrow-night-bright .ace_constant.ace_numeric,\n.ace-tomorrow-night-bright .ace_keyword.ace_other.ace_unit,\n.ace-tomorrow-night-bright .ace_support.ace_constant,\n.ace-tomorrow-night-bright .ace_variable.ace_parameter {\n color: #E78C45\n}\n\n.ace-tomorrow-night-bright .ace_constant.ace_other {\n color: #EEEEEE\n}\n\n.ace-tomorrow-night-bright .ace_invalid {\n color: #CED2CF;\n background-color: #DF5F5F\n}\n\n.ace-tomorrow-night-bright .ace_invalid.ace_deprecated {\n color: #CED2CF;\n background-color: #B798BF\n}\n\n.ace-tomorrow-night-bright .ace_fold {\n background-color: #7AA6DA;\n border-color: #DEDEDE\n}\n\n.ace-tomorrow-night-bright .ace_entity.ace_name.ace_function,\n.ace-tomorrow-night-bright .ace_support.ace_function,\n.ace-tomorrow-night-bright .ace_variable {\n color: #7AA6DA\n}\n\n.ace-tomorrow-night-bright .ace_support.ace_class,\n.ace-tomorrow-night-bright .ace_support.ace_type {\n color: #E7C547\n}\n\n.ace-tomorrow-night-bright .ace_heading,\n.ace-tomorrow-night-bright .ace_markup.ace_heading,\n.ace-tomorrow-night-bright .ace_string {\n color: #B9CA4A\n}\n\n.ace-tomorrow-night-bright .ace_entity.ace_name.ace_tag,\n.ace-tomorrow-night-bright .ace_entity.ace_other.ace_attribute-name,\n.ace-tomorrow-night-bright .ace_meta.ace_tag,\n.ace-tomorrow-night-bright .ace_string.ace_regexp,\n.ace-tomorrow-night-bright .ace_variable {\n color: #D54E53\n}\n\n.ace-tomorrow-night-bright .ace_comment {\n color: #969896\n}\n\n.ace-tomorrow-night-bright .ace_c9searchresults.ace_keyword {\n color: #C2C280\n}\n\n.ace-tomorrow-night-bright .ace_indent-guide {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y\n}\n\n.ace-tomorrow-night-bright .ace_indent-guide-active {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQIW2PQ1dX9zzBz5sz/ABCcBFFentLlAAAAAElFTkSuQmCC) right repeat-y;\n}\n"}),ace.define("ace/theme/tomorrow_night_bright",["require","exports","module","ace/theme/tomorrow_night_bright-css","ace/lib/dom"],function(r,o,n){o.isDark=!0,o.cssClass="ace-tomorrow-night-bright",o.cssText=r("./tomorrow_night_bright-css"),r("../lib/dom").importCssString(o.cssText,o.cssClass,!1)}),ace.require(["ace/theme/tomorrow_night_bright"],function(r){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=r)});
@@ -0,0 +1 @@
1
+ ace.define("ace/mode/diff_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,i,t){"use strict";var o=e("../lib/oop"),n=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{regex:"^(?:\\*{15}|={67}|-{3}|\\+{3})$",token:"punctuation.definition.separator.diff",name:"keyword"},{regex:"^(@@)(\\s*.+?\\s*)(@@)(.*)$",token:["constant","constant.numeric","constant","comment.doc.tag"]},{regex:"^(\\d+)([,\\d]+)(a|d|c)(\\d+)([,\\d]+)(.*)$",token:["constant.numeric","punctuation.definition.range.diff","constant.function","constant.numeric","punctuation.definition.range.diff","invalid"],name:"meta."},{regex:"^(\\-{3}|\\+{3}|\\*{3})( .+)$",token:["constant.numeric","meta.tag"]},{regex:"^([!+>])(.*?)(\\s*)$",token:["support.constant","text","invalid"]},{regex:"^([<\\-])(.*?)(\\s*)$",token:["support.function","string","invalid"]},{regex:"^(diff)(\\s+--\\w+)?(.+?)( .+)?$",token:["variable","variable","keyword","variable"]},{regex:"^Index.+$",token:"variable"},{regex:"^\\s+$",token:"text"},{regex:"\\s*$",token:"invalid"},{defaultToken:"invisible",caseInsensitive:!0}]}};o.inherits(r,n),i.DiffHighlightRules=r}),ace.define("ace/mode/folding/diff",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(e,i,t){"use strict";var o=e("../../lib/oop"),n=e("./fold_mode").FoldMode,r=e("../../range").Range,a=i.FoldMode=function(e,i){this.regExpList=e,this.flag=i,this.foldingStartMarker=RegExp("^("+e.join("|")+")",this.flag)};o.inherits(a,n),(function(){this.getFoldWidgetRange=function(e,i,t){for(var o=e.getLine(t),n={row:t,column:o.length},a=this.regExpList,d=1;d<=a.length;d++){var f=RegExp("^("+a.slice(0,d).join("|")+")",this.flag);if(f.test(o))break}for(var s=e.getLength();++t<s&&(o=e.getLine(t),!f.test(o)););if(t!=n.row+1)return new r(n.row,n.column,t-1,o.length)}}).call(a.prototype)}),ace.define("ace/mode/diff",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/diff_highlight_rules","ace/mode/folding/diff"],function(e,i,t){"use strict";var o=e("../lib/oop"),n=e("./text").Mode,r=e("./diff_highlight_rules").DiffHighlightRules,a=e("./folding/diff").FoldMode,d=function(){this.HighlightRules=r,this.foldingRules=new a(["diff","@@|\\*{5}"],"i")};o.inherits(d,n),(function(){this.$id="ace/mode/diff",this.snippetFileId="ace/snippets/diff"}).call(d.prototype),i.Mode=d}),ace.require(["ace/mode/diff"],function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)});