tocco-admin 3.16.47 → 3.16.49

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 (223) hide show
  1. package/changelog.md +7 -0
  2. package/dist/chunk-11211.c047320bb9aeb6a8afa8.js +1 -0
  3. package/dist/chunk-11281.6cca64a6b22ae66dec22.js +1 -0
  4. package/dist/chunk-12718.73a401c947f6e416dc96.js +1 -0
  5. package/dist/chunk-1387.db4ea7c5b9b4bafd0f31.js +1 -0
  6. package/dist/chunk-14406.193e89b3bab4a76ff64c.js +1 -0
  7. package/dist/{chunk-14663.51eca5c9fc96acb3d3fd.js → chunk-14663.421a08fcfef247d7bf23.js} +1 -1
  8. package/dist/chunk-15802.a2be5411a1917623b937.js +1 -0
  9. package/dist/chunk-1766.135ab067cfb193cad638.js +1 -0
  10. package/dist/chunk-19249.d09c10c7e5a9775ab4b4.js +1 -0
  11. package/dist/chunk-19592.3efeef352f175343cea0.js +1 -0
  12. package/dist/chunk-19822.3bc1e73e57bda3decdc5.js +1 -0
  13. package/dist/chunk-20047.d792862a5cea6bfdf859.js +1 -0
  14. package/dist/{chunk-8992.f25442915b57342ae038.js → chunk-21843.36ffd9b3a70cd48a2cc9.js} +1 -1
  15. package/dist/chunk-2188.f5e8e30b02d2ae9ddfc0.js +1 -0
  16. package/dist/{chunk-2682.cfc3b87ba3066a6b6a95.js → chunk-22030.64b8bc22892016507951.js} +1 -1
  17. package/dist/chunk-22284.bda827c47ee03f966640.js +1 -0
  18. package/dist/chunk-22354.38812eb1ede449619ddb.js +1 -0
  19. package/dist/chunk-22981.e78181d1033636d18f3f.js +1 -0
  20. package/dist/chunk-23575.c4abf260b4a67d8b2080.js +1 -0
  21. package/dist/chunk-24499.d1a3adb4a5690ef7b337.js +1 -0
  22. package/dist/chunk-2451.6c2305080b6f382a2949.js +1 -0
  23. package/dist/chunk-24522.ddd8bdae432cd57c7de1.js +1 -0
  24. package/dist/chunk-24854.06fa1b4ac5587f8ec330.js +1 -0
  25. package/dist/chunk-25039.1acecd0e2ec0d44298d7.js +1 -0
  26. package/dist/chunk-25705.7bf358fd8862526e98d9.js +1 -0
  27. package/dist/chunk-26335.74f8d237b4e65213f5f5.js +1 -0
  28. package/dist/chunk-26605.cd60bdd885abc7c18078.js +1 -0
  29. package/dist/chunk-2682.09ac910c9ceab98e77bc.js +1 -0
  30. package/dist/{chunk-27136.6cfc9a658884e7239020.js → chunk-27136.11820865bd2883ab08fc.js} +1 -1
  31. package/dist/chunk-27311.576c573d4457ca290eff.js +1 -0
  32. package/dist/chunk-28507.72bdf3fbdefe3bfa8356.js +1 -0
  33. package/dist/chunk-29072.189a4bab1c2f18bc7010.js +1 -0
  34. package/dist/chunk-29755.ba2998b8fe60f4242a51.js +1 -0
  35. package/dist/chunk-29848.90041f421b399b4707aa.js +1 -0
  36. package/dist/chunk-30470.fd8e1f081abc3ead40b0.js +1 -0
  37. package/dist/chunk-30897.9100b21a0b33ef44bc2d.js +1 -0
  38. package/dist/chunk-31255.41459bc59a226f9c90a8.js +1 -0
  39. package/dist/chunk-32503.9f6c51bfe378ab9b09ca.js +1 -0
  40. package/dist/chunk-33050.07638f00a2dc06c76e2c.js +1 -0
  41. package/dist/chunk-34049.d1b8ce43aebe7eb8947a.js +1 -0
  42. package/dist/chunk-34132.5a95f8d35fe5833f09f6.js +1 -0
  43. package/dist/chunk-34678.aaa34585cfca61060329.js +1 -0
  44. package/dist/chunk-35396.15ab865b1d9c518bb1c5.js +1 -0
  45. package/dist/chunk-37210.74c360042493c073221e.js +1 -0
  46. package/dist/chunk-38066.8ba3c6b29ec25be68960.js +1 -0
  47. package/dist/chunk-38223.fd731c22ae46cc61f787.js +1 -0
  48. package/dist/chunk-38992.6b954202ee6bfc78ded2.js +1 -0
  49. package/dist/chunk-39643.d74bf444dd7cc8a9d82a.js +1 -0
  50. package/dist/chunk-41170.2a6ada0270fb4abf2546.js +1 -0
  51. package/dist/chunk-42618.0a674e4ef753d6fa8da1.js +1 -0
  52. package/dist/chunk-42969.f187f9ba7e157c7a8004.js +1 -0
  53. package/dist/chunk-43481.93124e6c6275e732a451.js +1 -0
  54. package/dist/chunk-44417.9ddb64dacd512ee6c3d6.js +1 -0
  55. package/dist/chunk-45631.91ed376096079673828e.js +1 -0
  56. package/dist/chunk-45814.2d787e4c45ea4eed738b.js +1 -0
  57. package/dist/chunk-46187.64927d85fa8962de9d90.js +1 -0
  58. package/dist/chunk-46623.9947ca9f92b9854e4c19.js +1 -0
  59. package/dist/{chunk-47145.9666bf5242e5cd840334.js → chunk-47145.c210e286a9b1d68a5d4a.js} +1 -1
  60. package/dist/{chunk-47610.9cdb867d2d27052f5c60.js → chunk-47610.bc6611aa02eeec8db919.js} +1 -1
  61. package/dist/{chunk-7802.c073d9cde178c9ad0f54.js → chunk-48077.94b2bcbbf99c1b412395.js} +1 -1
  62. package/dist/chunk-48645.00d6e2c767722527c04b.js +1 -0
  63. package/dist/chunk-50603.db2d85c8277f5d4be8e6.js +1 -0
  64. package/dist/chunk-50681.5b2787f97b6cfa2f60a3.js +1 -0
  65. package/dist/chunk-51057.d3aff53d711b4dbe2a68.js +1 -0
  66. package/dist/chunk-51544.c7c47f31473765978095.js +99 -0
  67. package/dist/chunk-51776.40c741a093e66885ddbd.js +1 -0
  68. package/dist/chunk-5243.38ede90cafc48c03b1aa.js +1 -0
  69. package/dist/chunk-54855.b9137f7b280835d9a6ef.js +1 -0
  70. package/dist/chunk-55009.c94a27239babc4897a84.js +1 -0
  71. package/dist/{chunk-55208.e70a76de3f33670270e7.js → chunk-55208.af3b76b1fc6311cfd237.js} +1 -1
  72. package/dist/{chunk-55348.41e9f542487999e7455f.js → chunk-55348.686c175cb0e61f80a8f3.js} +1 -1
  73. package/dist/chunk-56470.556c2caaae71dbc1b9bd.js +1 -0
  74. package/dist/chunk-57217.b823974cd02852a084c8.js +1 -0
  75. package/dist/chunk-59899.81644b59bd81178ad0a1.js +1 -0
  76. package/dist/chunk-6147.af3872a1411da6fbf4ed.js +1 -0
  77. package/dist/chunk-61624.9df0bea262b6eb637d5c.js +1 -0
  78. package/dist/chunk-61777.288fa59c359172e6126d.js +1 -0
  79. package/dist/chunk-62575.b74e4d4776cba26445e1.js +1 -0
  80. package/dist/chunk-62797.d4f371619412d7768cdb.js +1 -0
  81. package/dist/chunk-63489.5a8dce1cb48833d5098f.js +1 -0
  82. package/dist/chunk-63493.3fb8d713d01a768e3b9d.js +1 -0
  83. package/dist/chunk-63659.1c034f19e5cb1b3bb845.js +6 -0
  84. package/dist/chunk-6396.8e97e330cabfd435e595.js +1 -0
  85. package/dist/chunk-64108.2dbbf1c6eafebb45dd0b.js +1 -0
  86. package/dist/chunk-6425.58c76096ff75c179bbd0.js +1 -0
  87. package/dist/chunk-64570.c5abfeda2d7189588444.js +1 -0
  88. package/dist/chunk-65201.7a20a96bc4b63cdebac4.js +1 -0
  89. package/dist/chunk-65402.7ab1c0dfe662f9bde6d3.js +1 -0
  90. package/dist/chunk-65408.38bc9ffc89865c6de993.js +1 -0
  91. package/dist/chunk-67744.a20db61a624bf24be4c8.js +1 -0
  92. package/dist/chunk-67772.5742c8d21b6a0d48b45b.js +1 -0
  93. package/dist/chunk-69395.5ae310358e8037e47cea.js +1 -0
  94. package/dist/chunk-69465.94bf8c54128357a98b12.js +1 -0
  95. package/dist/chunk-69640.67bd5723c8dec93c7d35.js +1 -0
  96. package/dist/{chunk-71306.a936c4b0e9b978916d67.js → chunk-71306.eccd63887ac7c3406abd.js} +1 -1
  97. package/dist/{chunk-72969.59b9bb9406979abd2ad4.js → chunk-72969.47092d634da9a6969ecf.js} +7 -7
  98. package/dist/chunk-74251.44b44efc01520f07e00b.js +1 -0
  99. package/dist/chunk-74933.ab405f32e2cff2cdd84d.js +1 -0
  100. package/dist/chunk-76284.254502b1d77c1de47af3.js +1 -0
  101. package/dist/chunk-76667.98deb701ea4b5031b79c.js +1 -0
  102. package/dist/chunk-77385.69a8e97aeb8a75f27884.js +1 -0
  103. package/dist/chunk-77801.0075955446d760439982.js +1 -0
  104. package/dist/chunk-77890.24784c3b08b996a228fa.js +1 -0
  105. package/dist/chunk-7802.59c80f4e7a6fe3aca2a1.js +1 -0
  106. package/dist/chunk-7813.f28415e6e0480720cab3.js +1 -0
  107. package/dist/chunk-79258.1b988912f1bb8efa5f13.js +1 -0
  108. package/dist/chunk-80569.04a73392ac26218c9fe7.js +1 -0
  109. package/dist/{chunk-83136.dec3b88f3927ec5b0d54.js → chunk-83136.809c2d87aac4cbf33a9c.js} +1 -1
  110. package/dist/chunk-83864.b63ee961a4df265a5280.js +1 -0
  111. package/dist/chunk-84567.f954e8bdfcf816a84898.js +1 -0
  112. package/dist/chunk-8485.7e12ce9ed24aeba2f5b7.js +1 -0
  113. package/dist/chunk-84899.0dc926df213a81bdf407.js +1 -0
  114. package/dist/chunk-86133.144af952341736a58372.js +1 -0
  115. package/dist/chunk-86275.24d26f4dd8ecff940178.js +1 -0
  116. package/dist/chunk-87528.a421714d48229639fa03.js +1 -0
  117. package/dist/{chunk-89182.b33e543dcd32234ab9b3.js → chunk-89182.3670d4924a5412a0de5f.js} +1 -1
  118. package/dist/chunk-8992.32a58c0540d1fa7ccaee.js +1 -0
  119. package/dist/chunk-90008.80de96aa57b9515e18b2.js +1 -0
  120. package/dist/chunk-90616.ec520e8875ef5e0517b7.js +1 -0
  121. package/dist/chunk-90731.035b07edeba90881e486.js +1 -0
  122. package/dist/chunk-90846.4d10be711987b973fdbc.js +1 -0
  123. package/dist/chunk-92789.a864d1fd6e4eb478c7b8.js +1 -0
  124. package/dist/{chunk-1766.2ce3c5eea8b4df4a5d42.js → chunk-93236.e1914e888f5ea1db182a.js} +1 -1
  125. package/dist/chunk-94194.2a78eae9bf6ec9dbcafb.js +1 -0
  126. package/dist/chunk-95409.830b15294582db6f05e9.js +1 -0
  127. package/dist/chunk-96332.f81441fdb08acd52a402.js +1 -0
  128. package/dist/chunk-96410.f3e8ccef9b74dd15e5cf.js +1 -0
  129. package/dist/chunk-96679.2ce8f980519d1894e256.js +1 -0
  130. package/dist/chunk-97359.9fea99651ccf00bfb6ab.js +1 -0
  131. package/dist/chunk-97536.7c308a35c1fb7335cde1.js +1 -0
  132. package/dist/chunk-98636.704c73c1056e301d04e6.js +1 -0
  133. package/dist/chunk-99359.c8b798bdd150da73d79b.js +1 -0
  134. package/dist/chunk-actions.85668fe88943b670e4d9.js +1 -0
  135. package/dist/chunk-code-editor.a9ce0b5dfe5c6224a935.js +1 -0
  136. package/dist/chunk-docs-actions.01fb99caf1e95cbe69bd.js +1 -0
  137. package/dist/chunk-phone-formatter.50199e325bcd29d91e58.js +1 -0
  138. package/dist/chunk-vendor-fontawesome.dd2be8558ad1a2bb14cd.js +7 -0
  139. package/dist/chunk-vendor-libphonenumber-js.11c5886c5f63e2afbde1.js +1 -0
  140. package/dist/ckeditor4/ckeditor-new.js +1 -1
  141. package/dist/ckeditor4/plugins/codemirror/js/codemirror.addon.merge.min.js +1 -1
  142. package/dist/ckeditor4/plugins/codemirror/js/codemirror.addons.min.js +1 -1
  143. package/dist/ckeditor4/plugins/codemirror/js/codemirror.min.js +1 -1
  144. package/dist/index.js +78 -13
  145. package/package.json +1 -1
  146. package/dist/chunk-10561.201de36026c275f1e9af.js +0 -8
  147. package/dist/chunk-11211.926d9638327e0efad40e.js +0 -1
  148. package/dist/chunk-11281.576243eb67d0f56d5e28.js +0 -1
  149. package/dist/chunk-12260.6d09de73e7fe1ae9d72a.js +0 -1
  150. package/dist/chunk-15802.146075f3b6e0867dfb94.js +0 -1
  151. package/dist/chunk-19249.8692aacecaf00d03255c.js +0 -1
  152. package/dist/chunk-19592.5c79e7650797b40ff348.js +0 -1
  153. package/dist/chunk-20047.7e292bdc185653e20047.js +0 -1
  154. package/dist/chunk-21843.389fa58d1988f10127a2.js +0 -1
  155. package/dist/chunk-22030.fe79db6fd95d0b90cbf8.js +0 -1
  156. package/dist/chunk-22981.3fde02827aba40775960.js +0 -1
  157. package/dist/chunk-24499.a631aed256959430cd61.js +0 -1
  158. package/dist/chunk-2451.d8a73f1ea3d309b2514e.js +0 -1
  159. package/dist/chunk-24522.fbf1b70126485d175367.js +0 -1
  160. package/dist/chunk-24854.4e7379b40a481e724d8d.js +0 -1
  161. package/dist/chunk-25039.6019d09735e921cbc78e.js +0 -1
  162. package/dist/chunk-26335.2dc6db848213a1fbf863.js +0 -1
  163. package/dist/chunk-26605.2f25129f5f4770c729f6.js +0 -1
  164. package/dist/chunk-28507.61b1b50b51c1b0c9c733.js +0 -1
  165. package/dist/chunk-29072.b3fdfd9815fd7e1d0ce6.js +0 -1
  166. package/dist/chunk-29755.6c9218bc21f6ff34c232.js +0 -1
  167. package/dist/chunk-30470.6a67f86d48a5db19cef4.js +0 -1
  168. package/dist/chunk-30897.8a660b7a96c71fd003be.js +0 -1
  169. package/dist/chunk-31255.005592c481ce094dd183.js +0 -1
  170. package/dist/chunk-31985.2d57d01b09e8351790f9.js +0 -1
  171. package/dist/chunk-33050.f6c41b97edc485114855.js +0 -1
  172. package/dist/chunk-34678.4a3d6b9878d9177f1a13.js +0 -1
  173. package/dist/chunk-37210.f8445182dc028e794aa9.js +0 -1
  174. package/dist/chunk-38223.8dc9134b95f91f7729c8.js +0 -1
  175. package/dist/chunk-39643.7931aace9f5317d12c9e.js +0 -1
  176. package/dist/chunk-41170.12580798be5b61a92bb8.js +0 -1
  177. package/dist/chunk-44417.df904fa45a8304efdaf9.js +0 -1
  178. package/dist/chunk-45631.5fd88296a8a66f3df698.js +0 -1
  179. package/dist/chunk-45814.10275f4079f1d0827ba7.js +0 -1
  180. package/dist/chunk-46187.afef3dafa925bc8ef13f.js +0 -1
  181. package/dist/chunk-46623.1279fca408d8eef8d565.js +0 -1
  182. package/dist/chunk-48077.2fb0b2742a962906b7b4.js +0 -1
  183. package/dist/chunk-51057.adb220a7470a2c9062d3.js +0 -1
  184. package/dist/chunk-5243.ee71f57c73e80f87629a.js +0 -1
  185. package/dist/chunk-55009.0d5da94e279cbdfe723a.js +0 -1
  186. package/dist/chunk-56470.982607cc9a4aa4d5ca5d.js +0 -1
  187. package/dist/chunk-57217.900f6c296a9f8afffa57.js +0 -1
  188. package/dist/chunk-59899.01d1bca17584ae227c9a.js +0 -1
  189. package/dist/chunk-6147.9a8a75f0197a1ecf99cd.js +0 -1
  190. package/dist/chunk-61777.531f6b5370cfff653af7.js +0 -1
  191. package/dist/chunk-62575.36e66bf2ce9d21db8e7e.js +0 -1
  192. package/dist/chunk-62797.768ca65582be64c0f354.js +0 -1
  193. package/dist/chunk-63489.06b07e0f45fd3448362a.js +0 -1
  194. package/dist/chunk-6396.6782db80cca3b5a9bca5.js +0 -1
  195. package/dist/chunk-64108.48d41ee44d4be7e5e319.js +0 -1
  196. package/dist/chunk-64570.f6edc0c6bf6cf77509c8.js +0 -1
  197. package/dist/chunk-65408.8ce27d20f7461341b72f.js +0 -1
  198. package/dist/chunk-66672.4d6c9d397b9c66c7df45.js +0 -1
  199. package/dist/chunk-67744.d9e9ab2d5681b49a4397.js +0 -1
  200. package/dist/chunk-67772.20f99232e9aca7a89724.js +0 -1
  201. package/dist/chunk-76667.3378264c896fd671408e.js +0 -1
  202. package/dist/chunk-77385.105a95ec12f71a39392d.js +0 -1
  203. package/dist/chunk-79258.3be81f3cc638458f0544.js +0 -1
  204. package/dist/chunk-80569.b397fa7e0bc8a6a30c74.js +0 -1
  205. package/dist/chunk-84567.c6459754fc12d4a43ea4.js +0 -1
  206. package/dist/chunk-86275.9bb476a380a6c78e366f.js +0 -1
  207. package/dist/chunk-90008.4e4800bb5dd8b5d8f190.js +0 -1
  208. package/dist/chunk-90616.2065ebaa4e700cb050cb.js +0 -1
  209. package/dist/chunk-90731.debf1d82ea8d120be7bd.js +0 -1
  210. package/dist/chunk-90846.1fa1ead8c15f4ad0f759.js +0 -1
  211. package/dist/chunk-92789.a651a8882173aeea9aaf.js +0 -1
  212. package/dist/chunk-93236.87b618124f4c2689bfcf.js +0 -1
  213. package/dist/chunk-94194.4acac5b27ec3980e20e9.js +0 -1
  214. package/dist/chunk-96332.7603317cb6651cd7ac3e.js +0 -1
  215. package/dist/chunk-96679.70f165a867060dea0dd4.js +0 -1
  216. package/dist/chunk-97359.7e1cbe178906dbe30827.js +0 -1
  217. package/dist/chunk-97536.39d7b0e335bb9b864cf6.js +0 -1
  218. package/dist/chunk-actions.26cb6ae5cbc6158e25f8.js +0 -1
  219. package/dist/chunk-code-editor.960c6f046a6cb72f10e2.js +0 -1
  220. package/dist/chunk-docs-actions.979889a1bd9083681102.js +0 -1
  221. package/dist/chunk-phone-formatter.426a7ad83073a3a9db88.js +0 -1
  222. package/dist/chunk-vendor-fontawesome.4e9b85f1cc93e25fa170.js +0 -7
  223. package/dist/chunk-vendor-libphonenumber-js.12d68aad9e4cc8110972.js +0 -1
@@ -0,0 +1 @@
1
+ (this.webpackChunktocco_admin=this.webpackChunktocco_admin||[]).push([[5243],{5243(e,t,n){e=n.nmd(e),ace.define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=(e("../lib/lang"),e("./text_highlight_rules").TextHighlightRules),a=t.supportType="align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|border|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-shadow|box-sizing|caption-side|clear|clip|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|font|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|hanging-punctuation|height|justify-content|left|letter-spacing|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-bottom|margin-left|margin-right|margin-top|max-height|max-width|max-zoom|min-height|min-width|min-zoom|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|order|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-x|overflow-y|padding|padding-bottom|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|perspective|perspective-origin|position|quotes|resize|right|tab-size|table-layout|text-align|text-align-last|text-decoration|text-decoration-color|text-decoration-line|text-decoration-style|text-indent|text-justify|text-overflow|text-shadow|text-transform|top|transform|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|unicode-bidi|user-select|user-zoom|vertical-align|visibility|white-space|width|word-break|word-spacing|word-wrap|z-index",i=t.supportFunction="rgb|rgba|url|attr|counter|counters",s=t.supportConstant="absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|flex-end|flex-start|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero|zoom",l=t.supportConstantColor="aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen",g=t.supportConstantFonts="arial|century|comic|courier|cursive|fantasy|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace",u=t.numRe="\\-?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+))",c=t.pseudoElements="(\\:+)\\b(after|before|first-letter|first-line|moz-selection|selection)\\b",d=t.pseudoClasses="(:)\\b(active|checked|disabled|empty|enabled|first-child|first-of-type|focus|hover|indeterminate|invalid|last-child|last-of-type|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|required|root|target|valid|visited)\\b",p=function(){var e=this.createKeywordMapper({"support.function":i,"support.constant":s,"support.type":a,"support.constant.color":l,"support.constant.fonts":g},"text",!0);this.$rules={start:[{include:["strings","url","comments"]},{token:"paren.lparen",regex:"\\{",next:"ruleset"},{token:"paren.rparen",regex:"\\}"},{token:"string",regex:"@(?!viewport)",next:"media"},{token:"keyword",regex:"#[a-z0-9-_]+"},{token:"keyword",regex:"%"},{token:"variable",regex:"\\.[a-z0-9-_]+"},{token:"string",regex:":[a-z0-9-_]+"},{token:"constant.numeric",regex:u},{token:"constant",regex:"[a-z0-9-_]+"},{caseInsensitive:!0}],media:[{include:["strings","url","comments"]},{token:"paren.lparen",regex:"\\{",next:"start"},{token:"paren.rparen",regex:"\\}",next:"start"},{token:"string",regex:";",next:"start"},{token:"keyword",regex:"(?:media|supports|document|charset|import|namespace|media|supports|document|page|font|keyframes|viewport|counter-style|font-feature-values|swash|ornaments|annotation|stylistic|styleset|character-variant)"}],comments:[{token:"comment",regex:"\\/\\*",push:[{token:"comment",regex:"\\*\\/",next:"pop"},{defaultToken:"comment"}]}],ruleset:[{regex:"-(webkit|ms|moz|o)-",token:"text"},{token:"punctuation.operator",regex:"[:;]"},{token:"paren.rparen",regex:"\\}",next:"start"},{include:["strings","url","comments"]},{token:["constant.numeric","keyword"],regex:"("+u+")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vm|vw|%)"},{token:"constant.numeric",regex:u},{token:"constant.numeric",regex:"#[a-f0-9]{6}"},{token:"constant.numeric",regex:"#[a-f0-9]{3}"},{token:["punctuation","entity.other.attribute-name.pseudo-element.css"],regex:c},{token:["punctuation","entity.other.attribute-name.pseudo-class.css"],regex:d},{include:"url"},{token:e,regex:"\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"},{token:"paren.lparen",regex:"\\{"},{caseInsensitive:!0}],url:[{token:"support.function",regex:"(?:url(:?-prefix)?|domain|regexp)\\(",push:[{token:"support.function",regex:"\\)",next:"pop"},{defaultToken:"string"}]}],strings:[{token:"string.start",regex:"'",push:[{token:"string.end",regex:"'|$",next:"pop"},{include:"escapes"},{token:"constant.language.escape",regex:/\\$/,consumeLineEnd:!0},{defaultToken:"string"}]},{token:"string.start",regex:'"',push:[{token:"string.end",regex:'"|$',next:"pop"},{include:"escapes"},{token:"constant.language.escape",regex:/\\$/,consumeLineEnd:!0},{defaultToken:"string"}]}],escapes:[{token:"constant.language.escape",regex:/\\([a-fA-F\d]{1,6}|[^a-fA-F\d])/}]},this.normalizeRules()};r.inherits(p,o),t.CssHighlightRules=p})),ace.define("ace/mode/jsdoc_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,a=function(){this.$rules={start:[{token:["comment.doc.tag","comment.doc.text","lparen.doc"],regex:"(@(?:param|member|typedef|property|namespace|var|const|callback))(\\s*)({)",push:[{token:"lparen.doc",regex:"{",push:[{include:"doc-syntax"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"}]},{token:["rparen.doc","text.doc","variable.parameter.doc","lparen.doc","variable.parameter.doc","rparen.doc"],regex:/(})(\s*)(?:([\w=:\/\.]+)|(?:(\[)([\w=:\/\.\-\'\" ]+)(\])))/,next:"pop"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"},{include:"doc-syntax"},{defaultToken:"text.doc"}]},{token:["comment.doc.tag","text.doc","lparen.doc"],regex:"(@(?:returns?|yields|type|this|suppress|public|protected|private|package|modifies|implements|external|exception|throws|enum|define|extends))(\\s*)({)",push:[{token:"lparen.doc",regex:"{",push:[{include:"doc-syntax"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"}]},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"},{include:"doc-syntax"},{defaultToken:"text.doc"}]},{token:["comment.doc.tag","text.doc","variable.parameter.doc"],regex:'(@(?:alias|memberof|instance|module|name|lends|namespace|external|this|template|requires|param|implements|function|extends|typedef|mixes|constructor|var|memberof\\!|event|listens|exports|class|constructs|interface|emits|fires|throws|const|callback|borrows|augments))(\\s+)(\\w[\\w#.:/~"\\-]*)?'},{token:["comment.doc.tag","text.doc","variable.parameter.doc"],regex:"(@method)(\\s+)(\\w[\\w.\\(\\)]*)"},{token:"comment.doc.tag",regex:"@access\\s+(?:private|public|protected)"},{token:"comment.doc.tag",regex:"@kind\\s+(?:class|constant|event|external|file|function|member|mixin|module|namespace|typedef)"},{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},a.getTagRule(),{defaultToken:"comment.doc.body",caseInsensitive:!0}],"doc-syntax":[{token:"operator.doc",regex:/[|:]/},{token:"paren.doc",regex:/[\[\]]/}]},this.normalizeRules()};r.inherits(a,o),a.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},a.getStartRule=function(e){return{token:"comment.doc",regex:/\/\*\*(?!\/)/,next:e}},a.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.JsDocCommentHighlightRules=a})),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/jsdoc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./jsdoc_comment_highlight_rules").JsDocCommentHighlightRules,a=e("./text_highlight_rules").TextHighlightRules,i="[a-zA-Z\\$_¡-￿][a-zA-Z\\d\\$_¡-￿]*",s=function(e){var t={"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Symbol|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static|constructor","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},n=this.createKeywordMapper(t,"identifier"),r="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)",a="(function)(\\s*)(\\*?)",s={token:["identifier","text","paren.lparen"],regex:"(\\b(?!"+Object.values(t).join("|")+"\\b)"+i+")(\\s*)(\\()"};this.$rules={no_regex:[o.getStartRule("doc-start"),g("no_regex"),s,{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{include:"numeric_constants"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","storage.type","text","paren.lparen"],regex:"("+i+")(\\s*)(=)(\\s*)"+a+"(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","storage.type","text","text","entity.name.function","text","paren.lparen"],regex:"(function)(?:(?:(\\s*)(\\*)(\\s*))|(\\s+))("+i+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","storage.type","text","paren.lparen"],regex:"("+i+")(\\s*)(:)(\\s*)"+a+"(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)"+a+"(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:"from(?=\\s*('|\"))"},{token:"keyword",regex:"(?:case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void)\\b",next:"start"},{token:"support.constant",regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|debug|time|trace|timeEnd|assert)\b/},{token:n,regex:i},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"storage.type",regex:/=>/,next:"start"},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:"keyword.operator",regex:/=/},{token:["storage.type","text","storage.type","text","paren.lparen"],regex:a+"(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","storage.type","text","text","entity.name.function","text","paren.lparen"],regex:"(function)(?:(?:(\\s*)(\\*)(\\s*))|(\\s+))(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:"prototype"},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|lter|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward|rEach)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:i},{regex:"",token:"empty",next:"no_regex"}],start:[o.getStartRule("doc-start"),g("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],default_parameter:[{token:"string",regex:"'(?=.)",push:[{token:"string",regex:"'|$",next:"pop"},{include:"qstring"}]},{token:"string",regex:'"(?=.)',push:[{token:"string",regex:'"|$',next:"pop"},{include:"qqstring"}]},{token:"constant.language",regex:"null|Infinity|NaN|undefined"},{include:"numeric_constants"},{token:"punctuation.operator",regex:",",next:"function_arguments"},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],function_arguments:[g("function_arguments"),{token:"variable.parameter",regex:i},{token:"punctuation.operator",regex:","},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:r},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:r},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}],numeric_constants:[{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F_]+|[oO][0-7_]+|[bB][01_]+)\b/},{token:"constant.numeric",regex:/(?:\d[\d_]*(?:\.[\d_]*)?|\.\d[\d_]*)(?:[eE][+-]?\d+\b)?/}]},e&&e.noES6||(this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(e,t,n){if(this.next="{"==e?this.nextState:"","{"==e&&n.length)n.unshift("start",t);else if("}"==e&&n.length&&(n.shift(),this.next=n.shift(),-1!=this.next.indexOf("string")||-1!=this.next.indexOf("jsx")))return"paren.quasi.end";return"{"==e?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:r},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]},{token:["variable.parameter","text"],regex:"("+i+")(\\s*)(?=\\=>)"},{token:"paren.lparen",regex:"(\\()(?=[^\\(]+\\s*=>)",next:"function_arguments"},{token:"variable.language",regex:"(?:(?:(?:Weak)?(?:Set|Map))|Promise)\\b"}),this.$rules.function_arguments.unshift({token:"keyword.operator",regex:"=",next:"default_parameter"},{token:"keyword.operator",regex:"\\.{3}"}),this.$rules.property.unshift({token:"support.function",regex:"(findIndex|repeat|startsWith|endsWith|includes|isSafeInteger|trunc|cbrt|log2|log10|sign|then|catch|finally|resolve|reject|race|any|all|allSettled|keys|entries|isInteger)\\b(?=\\()"},{token:"constant.language",regex:"(?:MAX_SAFE_INTEGER|MIN_SAFE_INTEGER|EPSILON)\\b"}),e&&0==e.jsx||l.call(this)),this.embedRules(o,"doc-",[o.getEndRule("no_regex")]),this.normalizeRules()};function l(){var e=i.replace("\\d","\\d\\-"),t={onMatch:function(e,t,n){var r="/"==e.charAt(1)?2:1;return 1==r?(t!=this.nextState?n.unshift(this.next,this.nextState,0):n.unshift(this.next),n[2]++):2==r&&t==this.nextState&&(n[1]--,(!n[1]||n[1]<0)&&(n.shift(),n.shift())),[{type:"meta.tag.punctuation."+(1==r?"":"end-")+"tag-open.xml",value:e.slice(0,r)},{type:"meta.tag.tag-name.xml",value:e.substr(r)}]},regex:"</?(?:"+e+"|(?=>))",next:"jsxAttributes",nextState:"jsx"};this.$rules.start.unshift(t);var n={regex:"{",token:"paren.quasi.start",push:"start"};this.$rules.jsx=[n,t,{include:"reference"},{defaultToken:"string.xml"}],this.$rules.jsxAttributes=[{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",onMatch:function(e,t,n){return t==n[0]&&n.shift(),2==e.length&&(n[0]==this.nextState&&n[1]--,(!n[1]||n[1]<0)&&n.splice(0,2)),this.next=n[0]||"start",[{type:this.token,value:e}]},nextState:"jsx"},n,g("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:e},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},t],this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}function g(e){return[{token:"comment",regex:/\/\*/,next:[o.getTagRule(),{token:"comment",regex:"\\*\\/",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[o.getTagRule(),{token:"comment",regex:"$|^",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}r.inherits(s,a),t.JavaScriptHighlightRules=s})),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À-￿][-_:.a-zA-Z0-9À-￿]*";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/html_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/css_highlight_rules","ace/mode/javascript_highlight_rules","ace/mode/xml_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("../lib/lang"),a=e("./css_highlight_rules").CssHighlightRules,i=e("./javascript_highlight_rules").JavaScriptHighlightRules,s=e("./xml_highlight_rules").XmlHighlightRules,l=o.createMap({a:"anchor",button:"form",form:"form",img:"image",input:"form",label:"form",option:"form",script:"script",select:"form",textarea:"form",style:"style",table:"table",tbody:"table",td:"table",tfoot:"table",th:"table",tr:"table"}),g=function(){s.call(this),this.addRules({attributes:[{include:"tag_whitespace"},{token:"entity.other.attribute-name.xml",regex:"[-_a-zA-Z0-9:.]+"},{token:"keyword.operator.attribute-equals.xml",regex:"=",push:[{include:"tag_whitespace"},{token:"string.unquoted.attribute-value.html",regex:"[^<>='\"`\\s]+",next:"pop"},{token:"empty",regex:"",next:"pop"}]},{include:"attribute_value"}],tag:[{token:function(e,t){var n=l[t];return["meta.tag.punctuation."+("<"==e?"":"end-")+"tag-open.xml","meta.tag"+(n?"."+n:"")+".tag-name.xml"]},regex:"(</?)([-_a-zA-Z0-9:.]+)",next:"tag_stuff"}],tag_stuff:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start"}]}),this.embedTagRules(a,"css-","style"),this.embedTagRules(new i({jsx:!1}).getRules(),"js-","script"),this.constructor===g&&this.normalizeRules()};r.inherits(g,s),t.HtmlHighlightRules=g})),ace.define("ace/mode/markdown_highlight_rules",["require","exports","module","ace/config","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules","ace/mode/html_highlight_rules"],(function(e,t,n){"use strict";var r=e("../config").$modes,o=e("../lib/oop"),a=e("../lib/lang"),i=e("./text_highlight_rules").TextHighlightRules,s=e("./html_highlight_rules").HtmlHighlightRules,l=function(e){return"(?:[^"+a.escapeRegExp(e)+"\\\\]|\\\\.)*"},g=function(){s.call(this);var e={token:"support.function",regex:/^\s*(```+[^`]*|~~~+[^~]*)$/,onMatch:function(e,t,n,o){var a=e.match(/^(\s*)([`~]+)(.*)/),i=/[\w-]+|$/.exec(a[3])[0];return r[i]||(i=""),n.unshift("githubblock",[],[a[1],a[2],i],t),this.token},next:"githubblock"},t=[{token:"support.function",regex:".*",onMatch:function(e,t,n,o){var a=n[1],i=n[2][0],s=n[2][1],l=n[2][2],g=/^(\s*)(`+|~+)\s*$/.exec(e);if(g&&g[1].length<i.length+3&&g[2].length>=s.length&&g[2][0]==s[0])return n.splice(0,3),this.next=n.shift(),this.token;if(this.next="",l&&r[l]){var u=r[l].getTokenizer().getLineTokens(e,a.slice(0));return n[1]=u.state,u.tokens}return this.token}}];this.$rules.start.unshift({token:"empty_line",regex:"^$",next:"allowBlock"},{token:"markup.heading.1",regex:"^=+(?=\\s*$)"},{token:"markup.heading.2",regex:"^\\-+(?=\\s*$)"},{token:function(e){return"markup.heading."+e.length},regex:/^#{1,6}(?=\s|$)/,next:"header"},e,{token:"string.blockquote",regex:"^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",next:"blockquote"},{token:"constant",regex:"^ {0,3}(?:(?:\\* ?){3,}|(?:\\- ?){3,}|(?:\\_ ?){3,})\\s*$",next:"allowBlock"},{token:"markup.list",regex:"^\\s{0,3}(?:[*+-]|\\d+\\.)\\s+",next:"listblock-start"},{include:"basic"}),this.addRules({basic:[{token:"constant.language.escape",regex:/\\[\\`*_{}\[\]()#+\-.!]/},{token:"support.function",regex:"(`+)(.*?[^`])(\\1)"},{token:["text","constant","text","url","string","text"],regex:'^([ ]{0,3}\\[)([^\\]]+)(\\]:\\s*)([^ ]+)(\\s*(?:["][^"]+["])?(\\s*))$'},{token:["text","string","text","constant","text"],regex:"(\\[)("+l("]")+")(\\]\\s*\\[)("+l("]")+")(\\])"},{token:["text","string","text","markup.underline","string","text"],regex:"(\\!?\\[)("+l("]")+')(\\]\\()((?:[^\\)\\s\\\\]|\\\\.|\\s(?=[^"]))*)(\\s*"'+l('"')+'"\\s*)?(\\))'},{token:"string.strong",regex:"([*]{2}|[_]{2}(?=\\S))(.*?\\S[*_]*)(\\1)"},{token:"string.emphasis",regex:"([*]|[_](?=\\S))(.*?\\S[*_]*)(\\1)"},{token:["text","url","text"],regex:"(<)((?:https?|ftp|dict):[^'\">\\s]+|(?:mailto:)?[-.\\w]+\\@[-a-z0-9]+(?:\\.[-a-z0-9]+)*\\.[a-z]+)(>)"}],allowBlock:[{token:"support.function",regex:"^ {4}.+",next:"allowBlock"},{token:"empty_line",regex:"^$",next:"allowBlock"},{token:"empty",regex:"",next:"start"}],header:[{regex:"$",next:"start"},{include:"basic"},{defaultToken:"heading"}],"listblock-start":[{token:"support.variable",regex:/(?:\[[ x]\])?/,next:"listblock"}],listblock:[{token:"empty_line",regex:"^$",next:"start"},{token:"markup.list",regex:"^\\s{0,3}(?:[*+-]|\\d+\\.)\\s+",next:"listblock-start"},{include:"basic",noEscape:!0},e,{defaultToken:"list"}],blockquote:[{token:"empty_line",regex:"^\\s*$",next:"start"},{token:"string.blockquote",regex:"^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",next:"blockquote"},{include:"basic",noEscape:!0},{defaultToken:"string.blockquote"}],githubblock:t}),this.normalizeRules()};o.inherits(g,i),t.MarkdownHighlightRules=g})),ace.define("ace/mode/scss_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules","ace/mode/css_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("../lib/lang"),a=e("./text_highlight_rules").TextHighlightRules,i=e("./css_highlight_rules"),s=function(){var e=o.arrayToMap(i.supportType.split("|")),t=o.arrayToMap("hsl|hsla|rgb|rgba|url|attr|counter|counters|abs|adjust_color|adjust_hue|alpha|join|blue|ceil|change_color|comparable|complement|darken|desaturate|floor|grayscale|green|hue|if|invert|join|length|lighten|lightness|mix|nth|opacify|opacity|percentage|quote|red|round|saturate|saturation|scale_color|transparentize|type_of|unit|unitless|unquote".split("|")),n=o.arrayToMap(i.supportConstant.split("|")),r=o.arrayToMap(i.supportConstantColor.split("|")),a=o.arrayToMap("@mixin|@extend|@include|@import|@media|@debug|@warn|@if|@for|@each|@while|@else|@font-face|@-webkit-keyframes|if|and|!default|module|def|end|declare".split("|")),s=o.arrayToMap("a|abbr|acronym|address|applet|area|article|aside|audio|b|base|basefont|bdo|big|blockquote|body|br|button|canvas|caption|center|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|dir|div|dl|dt|em|embed|fieldset|figcaption|figure|font|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hgroup|hr|html|i|iframe|img|input|ins|keygen|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|s|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|u|ul|var|video|wbr|xmp".split("|")),l="\\-?(?:(?:[0-9]+)|(?:[0-9]*\\.[0-9]+))";this.$rules={start:[{token:"comment",regex:"\\/\\/.*$"},{token:"comment",regex:"\\/\\*",next:"comment"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:'["].*\\\\$',next:"qqstring"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"string",regex:"['].*\\\\$",next:"qstring"},{token:"constant.numeric",regex:l+"(?:ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vm|vw|%)"},{token:"constant.numeric",regex:"#[a-f0-9]{6}"},{token:"constant.numeric",regex:"#[a-f0-9]{3}"},{token:"constant.numeric",regex:l},{token:["support.function","string","support.function"],regex:"(url\\()(.*)(\\))"},{token:function(o){return e.hasOwnProperty(o.toLowerCase())?"support.type":a.hasOwnProperty(o)?"keyword":n.hasOwnProperty(o)?"constant.language":t.hasOwnProperty(o)?"support.function":r.hasOwnProperty(o.toLowerCase())?"support.constant.color":s.hasOwnProperty(o.toLowerCase())?"variable.language":"text"},regex:"\\-?[@a-z_][@a-z0-9_\\-]*"},{token:"variable",regex:"[a-z_\\-$][a-z0-9_\\-$]*\\b"},{token:"variable.language",regex:"#[a-z0-9-_]+"},{token:"variable.language",regex:"\\.[a-z0-9-_]+"},{token:"variable.language",regex:":[a-z0-9-_]+"},{token:"constant",regex:"[a-z0-9-_]+"},{token:"keyword.operator",regex:"<|>|<=|>=|==|!=|-|%|#|\\+|\\$|\\+|\\*"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"},{caseInsensitive:!0}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],qqstring:[{token:"string",regex:'(?:(?:\\\\.)|(?:[^"\\\\]))*?"',next:"start"},{token:"string",regex:".+"}],qstring:[{token:"string",regex:"(?:(?:\\\\.)|(?:[^'\\\\]))*?'",next:"start"},{token:"string",regex:".+"}]}};r.inherits(s,a),t.ScssHighlightRules=s})),ace.define("ace/mode/less_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules","ace/mode/css_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,a=e("./css_highlight_rules"),i=function(){var e="@import|@media|@font-face|@keyframes|@-webkit-keyframes|@supports|@charset|@plugin|@namespace|@document|@page|@viewport|@-ms-viewport|or|and|when|not",t=e.split("|"),n=a.supportType.split("|"),r=this.createKeywordMapper({"support.constant":a.supportConstant,keyword:e,"support.constant.color":a.supportConstantColor,"support.constant.fonts":a.supportConstantFonts},"identifier",!0),o="\\-?(?:(?:[0-9]+)|(?:[0-9]*\\.[0-9]+))";this.$rules={start:[{token:"comment",regex:"\\/\\/.*$"},{token:"comment",regex:"\\/\\*",next:"comment"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:["constant.numeric","keyword"],regex:"("+o+")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vm|vw|%)"},{token:"constant.numeric",regex:"#[a-f0-9]{6}"},{token:"constant.numeric",regex:"#[a-f0-9]{3}"},{token:"constant.numeric",regex:o},{token:["support.function","paren.lparen","string","paren.rparen"],regex:"(url)(\\()(.*)(\\))"},{token:["support.function","paren.lparen"],regex:"(:extend|[a-z0-9_\\-]+)(\\()"},{token:function(e){return t.indexOf(e.toLowerCase())>-1?"keyword":"variable"},regex:"[@\\$][a-z0-9_\\-@\\$]*\\b"},{token:"variable",regex:"[@\\$]\\{[a-z0-9_\\-@\\$]*\\}"},{token:function(e,t){return n.indexOf(e.toLowerCase())>-1?["support.type.property","text"]:["support.type.unknownProperty","text"]},regex:"([a-z0-9-_]+)(\\s*:)"},{token:"keyword",regex:"&"},{token:r,regex:"\\-?[@a-z_][@a-z0-9_\\-]*"},{token:"variable.language",regex:"#[a-z0-9-_]+"},{token:"variable.language",regex:"\\.[a-z0-9-_]+"},{token:"variable.language",regex:":[a-z_][a-z0-9-_]*"},{token:"constant",regex:"[a-z0-9-_]+"},{token:"keyword.operator",regex:"<|>|<=|>=|=|!=|-|%|\\+|\\*"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"},{caseInsensitive:!0}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]},this.normalizeRules()};r.inherits(i,o),t.LessHighlightRules=i})),ace.define("ace/mode/coffee_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;function a(){var e="[$A-Za-z_\\x7f-\\uffff][$\\w\\x7f-\\uffff]*",t="case|const|function|var|void|with|enum|implements|interface|let|package|private|protected|public|static",n=this.createKeywordMapper({keyword:"this|throw|then|try|typeof|super|switch|return|break|by|continue|catch|class|in|instanceof|is|isnt|if|else|extends|for|own|finally|function|while|when|new|no|not|delete|debugger|do|loop|of|off|or|on|unless|until|and|yes|yield|export|import|default","constant.language":"true|false|null|undefined|NaN|Infinity","invalid.illegal":t,"language.support.class":"Array|Boolean|Date|Function|Number|Object|RegExp|ReferenceError|String|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray","language.support.function":"Math|JSON|isNaN|isFinite|parseInt|parseFloat|encodeURI|encodeURIComponent|decodeURI|decodeURIComponent|String|","variable.language":"window|arguments|prototype|document"},"identifier"),r={token:["paren.lparen","variable.parameter","paren.rparen","text","storage.type"],regex:/(?:(\()((?:"[^")]*?"|'[^')]*?'|\/[^\/)]*?\/|[^()"'\/])*?)(\))(\s*))?([\-=]>)/.source},o=/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)/;this.$rules={start:[{token:"constant.numeric",regex:"(?:0x[\\da-fA-F]+|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:[eE][+-]?\\d+)?)"},{stateName:"qdoc",token:"string",regex:"'''",next:[{token:"string",regex:"'''",next:"start"},{token:"constant.language.escape",regex:o},{defaultToken:"string"}]},{stateName:"qqdoc",token:"string",regex:'"""',next:[{token:"string",regex:'"""',next:"start"},{token:"paren.string",regex:"#{",push:"start"},{token:"constant.language.escape",regex:o},{defaultToken:"string"}]},{stateName:"qstring",token:"string",regex:"'",next:[{token:"string",regex:"'",next:"start"},{token:"constant.language.escape",regex:o},{defaultToken:"string"}]},{stateName:"qqstring",token:"string.start",regex:'"',next:[{token:"string.end",regex:'"',next:"start"},{token:"paren.string",regex:"#{",push:"start"},{token:"constant.language.escape",regex:o},{defaultToken:"string"}]},{stateName:"js",token:"string",regex:"`",next:[{token:"string",regex:"`",next:"start"},{token:"constant.language.escape",regex:o},{defaultToken:"string"}]},{regex:"[{}]",onMatch:function(e,t,n){return this.next="","{"==e&&n.length?(n.unshift("start",t),"paren"):"}"==e&&n.length&&(n.shift(),this.next=n.shift()||"",-1!=this.next.indexOf("string"))?"paren.string":"paren"}},{token:"string.regex",regex:"///",next:"heregex"},{token:"string.regex",regex:/(?:\/(?![\s=])[^[\/\n\\]*(?:(?:\\[\s\S]|\[[^\]\n\\]*(?:\\[\s\S][^\]\n\\]*)*])[^[\/\n\\]*)*\/)(?:[imgy]{0,4})(?!\w)/},{token:"comment",regex:"###(?!#)",next:"comment"},{token:"comment",regex:"#.*"},{token:["punctuation.operator","text","identifier"],regex:"(\\.)(\\s*)("+t+")"},{token:"punctuation.operator",regex:"\\.{1,3}"},{token:["keyword","text","language.support.class","text","keyword","text","language.support.class"],regex:"(class)(\\s+)("+e+")(?:(\\s+)(extends)(\\s+)("+e+"))?"},{token:["entity.name.function","text","keyword.operator","text"].concat(r.token),regex:"("+e+")(\\s*)([=:])(\\s*)"+r.regex},r,{token:"variable",regex:"@(?:"+e+")?"},{token:n,regex:e},{token:"punctuation.operator",regex:"\\,|\\."},{token:"storage.type",regex:"[\\-=]>"},{token:"keyword.operator",regex:"(?:[-+*/%<>&|^!?=]=|>>>=?|\\-\\-|\\+\\+|::|&&=|\\|\\|=|<<=|>>=|\\?\\.|\\.{2,3}|[!*+-=><])"},{token:"paren.lparen",regex:"[({[]"},{token:"paren.rparen",regex:"[\\]})]"},{token:"text",regex:"\\s+"}],heregex:[{token:"string.regex",regex:".*?///[imgy]{0,4}",next:"start"},{token:"comment.regex",regex:"\\s+(?:#.*)?"},{token:"string.regex",regex:"\\S+"}],comment:[{token:"comment",regex:"###",next:"start"},{defaultToken:"comment"}]},this.normalizeRules()}r.inherits(a,o),t.CoffeeHighlightRules=a})),ace.define("ace/mode/jade_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules","ace/mode/markdown_highlight_rules","ace/mode/scss_highlight_rules","ace/mode/less_highlight_rules","ace/mode/coffee_highlight_rules","ace/mode/javascript_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,a=(e("./markdown_highlight_rules").MarkdownHighlightRules,e("./scss_highlight_rules").ScssHighlightRules,e("./less_highlight_rules").LessHighlightRules,e("./coffee_highlight_rules").CoffeeHighlightRules,e("./javascript_highlight_rules").JavaScriptHighlightRules);function i(e,t){return{token:"entity.name.function.jade",regex:"^\\s*\\:"+e,next:t+"start"}}var s=function(){var e="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)";this.$rules={start:[{token:"keyword.control.import.include.jade",regex:"\\s*\\binclude\\b"},{token:"keyword.other.doctype.jade",regex:"^!!!\\s*(?:[a-zA-Z0-9-_]+)?"},{onMatch:function(e,t,n){return n.unshift(this.next,e.length-2,t),"comment"},regex:/^\s*\/\//,next:"comment_block"},i("markdown","markdown-"),i("sass","sass-"),i("less","less-"),i("coffee","coffee-"),{token:["storage.type.function.jade","entity.name.function.jade","punctuation.definition.parameters.begin.jade","variable.parameter.function.jade","punctuation.definition.parameters.end.jade"],regex:"^(\\s*mixin)( [\\w\\-]+)(\\s*\\()(.*?)(\\))"},{token:["storage.type.function.jade","entity.name.function.jade"],regex:"^(\\s*mixin)( [\\w\\-]+)"},{token:"source.js.embedded.jade",regex:"^\\s*(?:-|=|!=)",next:"js-start"},{token:"string.interpolated.jade",regex:"[#!]\\{[^\\}]+\\}"},{token:"meta.tag.any.jade",regex:/^\s*(?!\w+:)(?:[\w-]+|(?=\.|#)])/,next:"tag_single"},{token:"suport.type.attribute.id.jade",regex:"#\\w+"},{token:"suport.type.attribute.class.jade",regex:"\\.\\w+"},{token:"punctuation",regex:"\\s*(?:\\()",next:"tag_attributes"}],comment_block:[{regex:/^\s*(?:\/\/)?/,onMatch:function(e,t,n){return e.length<=n[1]?"/"==e.slice(-1)?(n[1]=e.length-2,this.next="","comment"):(n.shift(),n.shift(),this.next=n.shift(),"text"):(this.next="","comment")},next:"start"},{defaultToken:"comment"}],tag_single:[{token:"entity.other.attribute-name.class.jade",regex:"\\.[\\w-]+"},{token:"entity.other.attribute-name.id.jade",regex:"#[\\w-]+"},{token:["text","punctuation"],regex:"($)|((?!\\.|#|=|-))",next:"start"}],tag_attributes:[{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:["entity.other.attribute-name.jade","punctuation"],regex:"([a-zA-Z:\\.-]+)(=)?",next:"attribute_strings"},{token:"punctuation",regex:"\\)",next:"start"}],attribute_strings:[{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"string",regex:"(?=\\S)",next:"tag_attributes"}],qqstring:[{token:"constant.language.escape",regex:e},{token:"string",regex:'[^"\\\\]+'},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"tag_attributes"}],qstring:[{token:"constant.language.escape",regex:e},{token:"string",regex:"[^'\\\\]+"},{token:"string",regex:"\\\\$",next:"qstring"},{token:"string",regex:"'|$",next:"tag_attributes"}]},this.embedRules(a,"js-",[{token:"text",regex:".$",next:"start"}])};r.inherits(s,o),t.JadeHighlightRules=s})),ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),o=e("./fold_mode").FoldMode,a=e("../../range").Range,i=t.FoldMode=function(){};r.inherits(i,o),function(){this.commentBlock=function(e,t){var n=/\S/,r=e.getLine(t),o=r.search(n);if(-1!=o&&"#"==r[o]){for(var i=r.length,s=e.getLength(),l=t,g=t;++t<s;){var u=(r=e.getLine(t)).search(n);if(-1!=u){if("#"!=r[u])break;g=t}}if(g>l){var c=e.getLine(g).length;return new a(l,i,g,c)}}},this.getFoldWidgetRange=function(e,t,n){var r=this.indentationBlock(e,n);return r||((r=this.commentBlock(e,n))||void 0)},this.getFoldWidget=function(e,t,n){var r=e.getLine(n),o=r.search(/\S/),a=e.getLine(n+1),i=e.getLine(n-1),s=i.search(/\S/),l=a.search(/\S/);if(-1==o)return e.foldWidgets[n-1]=-1!=s&&s<l?"start":"","";if(-1==s){if(o==l&&"#"==r[o]&&"#"==a[o])return e.foldWidgets[n-1]="",e.foldWidgets[n+1]="","start"}else if(s==o&&"#"==r[o]&&"#"==i[o]&&-1==e.getLine(n-2).search(/\S/))return e.foldWidgets[n-1]="start",e.foldWidgets[n+1]="","";return e.foldWidgets[n-1]=-1!=s&&s<o?"start":"",o<l?"start":""}}.call(i.prototype)})),ace.define("ace/mode/jade",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/jade_highlight_rules","ace/mode/folding/coffee"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text").Mode,a=e("./jade_highlight_rules").JadeHighlightRules,i=e("./folding/coffee").FoldMode,s=function(){this.HighlightRules=a,this.foldingRules=new i,this.$behaviour=this.$defaultBehaviour};r.inherits(s,o),function(){this.lineCommentStart="//",this.$id="ace/mode/jade"}.call(s.prototype),t.Mode=s})),ace.require(["ace/mode/jade"],(function(t){e&&(e.exports=t)}))}}]);
@@ -0,0 +1 @@
1
+ "use strict";(this.webpackChunktocco_admin=this.webpackChunktocco_admin||[]).push([[54855,63493],{63493(e,n,t){function a(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}t.r(n),t.d(n,{default:()=>a}),a.displayName="clike",a.aliases=[]},54855(e,n,t){t.r(n),t.d(n,{default:()=>s});var a=t(63493);function s(e){e.register(a.default),function(e){var n=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,t=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,a={pattern:RegExp(/(^|[^\w.])/.source+t+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[a,{pattern:RegExp(/(^|[^\w.])/.source+t+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:a.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+t+/[A-Z]\w*\b/.source),lookbehind:!0,inside:a.inside}],keyword:n,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":a,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+t+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:a.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+t+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:a.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return n.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(e)}s.displayName="java",s.aliases=[]}}]);
@@ -0,0 +1 @@
1
+ (this.webpackChunktocco_admin=this.webpackChunktocco_admin||[]).push([[55009],{55009(t,e,n){!function(t){if(!(void 0!==t.window&&t.document||t.require&&t.define)){t.console||(t.console=function(){var t=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:t})},t.console.error=t.console.warn=t.console.log=t.console.trace=t.console),t.window=t,t.ace=t,t.onerror=function(t,e,n,r,i){postMessage({type:"error",data:{message:t,data:i&&i.data,file:e,line:n,col:r,stack:i&&i.stack}})},t.normalizeModule=function(e,n){if(-1!==n.indexOf("!")){var r=n.split("!");return t.normalizeModule(e,r[0])+"!"+t.normalizeModule(e,r[1])}if("."==n.charAt(0)){var i=e.split("/").slice(0,-1).join("/");for(n=(i?i+"/":"")+n;-1!==n.indexOf(".")&&o!=n;){var o=n;n=n.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},t.require=function(e,n){if(n||(n=e,e=null),!n.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");n=t.normalizeModule(e,n);var r=t.require.modules[n];if(r)return r.initialized||(r.initialized=!0,r.exports=r.factory().exports),r.exports;if(!t.require.tlns)return console.log("unable to load "+n);var i=function(t,e){var n=t,r="";for(;n;){var i=e[n];if("string"==typeof i)return i+r;if(i)return i.location.replace(/\/*$/,"/")+(r||i.main||i.name);if(!1===i)return"";var o=n.lastIndexOf("/");if(-1===o)break;r=n.substr(o)+r,n=n.slice(0,o)}return t}(n,t.require.tlns);return".js"!=i.slice(-3)&&(i+=".js"),t.require.id=n,t.require.modules[n]={},importScripts(i),t.require(e,n)},t.require.modules={},t.require.tlns={},t.define=function(e,n,r){if(2==arguments.length?(r=n,"string"!=typeof e&&(n=e,e=t.require.id)):1==arguments.length&&(r=e,n=[],e=t.require.id),"function"==typeof r){n.length||(n=["require","exports","module"]);var i=function(n){return t.require(e,n)};t.require.modules[e]={exports:{},factory:function(){var t=this,e=r.apply(this,n.slice(0,r.length).map((function(e){switch(e){case"require":return i;case"exports":return t.exports;case"module":return t;default:return i(e)}})));return e&&(t.exports=e),t}}}else t.require.modules[e]={exports:r,initialized:!0}},t.define.amd={},t.require.tlns={},t.initBaseUrls=function(t){for(var e in t)this.require.tlns[e]=t[e]},t.initSender=function(){var e=t.require("ace/lib/event_emitter").EventEmitter,n=t.require("ace/lib/oop"),r=function(){};return function(){n.implement(this,e),this.callback=function(t,e){postMessage({type:"call",id:e,data:t})},this.emit=function(t,e){postMessage({type:"event",name:t,data:e})}}.call(r.prototype),new r};var e=t.main=null,n=t.sender=null;t.onmessage=function(r){var i=r.data;if(i.event&&n)n._signal(i.event,i.data);else if(i.command)if(e[i.command])e[i.command].apply(e,i.args);else{if(!t[i.command])throw new Error("Unknown command:"+i.command);t[i.command].apply(t,i.args)}else if(i.init){t.initBaseUrls(i.tlns),n=t.sender=t.initSender();var o=this.require(i.module)[i.classname];e=t.main=new o(n)}}}}(this),ace.define("ace/lib/oop",[],(function(t,e,n){"use strict";e.inherits=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})},e.mixin=function(t,e){for(var n in e)t[n]=e[n];return t},e.implement=function(t,n){e.mixin(t,n)}})),ace.define("ace/apply_delta",[],(function(t,e,n){"use strict";e.applyDelta=function(t,e,n){var r=e.start.row,i=e.start.column,o=t[r]||"";switch(e.action){case"insert":if(1===e.lines.length)t[r]=o.substring(0,i)+e.lines[0]+o.substring(i);else{var s=[r,1].concat(e.lines);t.splice.apply(t,s),t[r]=o.substring(0,i)+t[r],t[r+e.lines.length-1]+=o.substring(i)}break;case"remove":var a=e.end.column,c=e.end.row;r===c?t[r]=o.substring(0,i)+o.substring(a):t.splice(r,c-r+1,o.substring(0,i)+t[c].substring(a))}}})),ace.define("ace/lib/event_emitter",[],(function(t,e,n){"use strict";var r={},i=function(){this.propagationStopped=!0},o=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(t,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[t]||[],r=this._defaultHandlers[t];if(n.length||r){"object"==typeof e&&e||(e={}),e.type||(e.type=t),e.stopPropagation||(e.stopPropagation=i),e.preventDefault||(e.preventDefault=o),n=n.slice();for(var s=0;s<n.length&&(n[s](e,this),!e.propagationStopped);s++);return r&&!e.defaultPrevented?r(e,this):void 0}},r._signal=function(t,e){var n=(this._eventRegistry||{})[t];if(n){n=n.slice();for(var r=0;r<n.length;r++)n[r](e,this)}},r.once=function(t,e){var n=this;if(this.on(t,(function r(){n.off(t,r),e.apply(null,arguments)})),!e)return new Promise((function(t){e=t}))},r.setDefaultHandler=function(t,e){var n=this._defaultHandlers;if(n||(n=this._defaultHandlers={_disabled_:{}}),n[t]){var r=n[t],i=n._disabled_[t];i||(n._disabled_[t]=i=[]),i.push(r);var o=i.indexOf(e);-1!=o&&i.splice(o,1)}n[t]=e},r.removeDefaultHandler=function(t,e){var n=this._defaultHandlers;if(n){var r=n._disabled_[t];if(n[t]==e)r&&this.setDefaultHandler(t,r.pop());else if(r){var i=r.indexOf(e);-1!=i&&r.splice(i,1)}}},r.on=r.addEventListener=function(t,e,n){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[t];return r||(r=this._eventRegistry[t]=[]),-1==r.indexOf(e)&&r[n?"unshift":"push"](e),e},r.off=r.removeListener=r.removeEventListener=function(t,e){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[t];if(n){var r=n.indexOf(e);-1!==r&&n.splice(r,1)}},r.removeAllListeners=function(t){t||(this._eventRegistry=this._defaultHandlers=void 0),this._eventRegistry&&(this._eventRegistry[t]=void 0),this._defaultHandlers&&(this._defaultHandlers[t]=void 0)},e.EventEmitter=r})),ace.define("ace/range",[],(function(t,e,n){"use strict";var r=function(){function t(t,e,n,r){this.start={row:t,column:e},this.end={row:n,column:r}}return t.prototype.isEqual=function(t){return this.start.row===t.start.row&&this.end.row===t.end.row&&this.start.column===t.start.column&&this.end.column===t.end.column},t.prototype.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},t.prototype.contains=function(t,e){return 0==this.compare(t,e)},t.prototype.compareRange=function(t){var e,n=t.end,r=t.start;return 1==(e=this.compare(n.row,n.column))?1==(e=this.compare(r.row,r.column))?2:0==e?1:0:-1==e?-2:-1==(e=this.compare(r.row,r.column))?-1:1==e?42:0},t.prototype.comparePoint=function(t){return this.compare(t.row,t.column)},t.prototype.containsRange=function(t){return 0==this.comparePoint(t.start)&&0==this.comparePoint(t.end)},t.prototype.intersects=function(t){var e=this.compareRange(t);return-1==e||0==e||1==e},t.prototype.isEnd=function(t,e){return this.end.row==t&&this.end.column==e},t.prototype.isStart=function(t,e){return this.start.row==t&&this.start.column==e},t.prototype.setStart=function(t,e){"object"==typeof t?(this.start.column=t.column,this.start.row=t.row):(this.start.row=t,this.start.column=e)},t.prototype.setEnd=function(t,e){"object"==typeof t?(this.end.column=t.column,this.end.row=t.row):(this.end.row=t,this.end.column=e)},t.prototype.inside=function(t,e){return 0==this.compare(t,e)&&(!this.isEnd(t,e)&&!this.isStart(t,e))},t.prototype.insideStart=function(t,e){return 0==this.compare(t,e)&&!this.isEnd(t,e)},t.prototype.insideEnd=function(t,e){return 0==this.compare(t,e)&&!this.isStart(t,e)},t.prototype.compare=function(t,e){return this.isMultiLine()||t!==this.start.row?t<this.start.row?-1:t>this.end.row?1:this.start.row===t?e>=this.start.column?0:-1:this.end.row===t?e<=this.end.column?0:1:0:e<this.start.column?-1:e>this.end.column?1:0},t.prototype.compareStart=function(t,e){return this.start.row==t&&this.start.column==e?-1:this.compare(t,e)},t.prototype.compareEnd=function(t,e){return this.end.row==t&&this.end.column==e?1:this.compare(t,e)},t.prototype.compareInside=function(t,e){return this.end.row==t&&this.end.column==e?1:this.start.row==t&&this.start.column==e?-1:this.compare(t,e)},t.prototype.clipRows=function(e,n){if(this.end.row>n)var r={row:n+1,column:0};else if(this.end.row<e)r={row:e,column:0};if(this.start.row>n)var i={row:n+1,column:0};else if(this.start.row<e)i={row:e,column:0};return t.fromPoints(i||this.start,r||this.end)},t.prototype.extend=function(e,n){var r=this.compare(e,n);if(0==r)return this;if(-1==r)var i={row:e,column:n};else var o={row:e,column:n};return t.fromPoints(i||this.start,o||this.end)},t.prototype.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},t.prototype.isMultiLine=function(){return this.start.row!==this.end.row},t.prototype.clone=function(){return t.fromPoints(this.start,this.end)},t.prototype.collapseRows=function(){return 0==this.end.column?new t(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new t(this.start.row,0,this.end.row,0)},t.prototype.toScreenRange=function(e){var n=e.documentToScreenPosition(this.start),r=e.documentToScreenPosition(this.end);return new t(n.row,n.column,r.row,r.column)},t.prototype.moveBy=function(t,e){this.start.row+=t,this.start.column+=e,this.end.row+=t,this.end.column+=e},t}();r.fromPoints=function(t,e){return new r(t.row,t.column,e.row,e.column)},r.comparePoints=function(t,e){return t.row-e.row||t.column-e.column},e.Range=r})),ace.define("ace/anchor",[],(function(t,e,n){"use strict";var r=t("./lib/oop"),i=t("./lib/event_emitter").EventEmitter,o=function(){function t(t,e,n){this.$onChange=this.onChange.bind(this),this.attach(t),"number"!=typeof e?this.setPosition(e.row,e.column):this.setPosition(e,n)}return t.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},t.prototype.getDocument=function(){return this.document},t.prototype.onChange=function(t){if(!(t.start.row==t.end.row&&t.start.row!=this.row||t.start.row>this.row)){var e=function(t,e,n){var r="insert"==t.action,i=(r?1:-1)*(t.end.row-t.start.row),o=(r?1:-1)*(t.end.column-t.start.column),a=t.start,c=r?a:t.end;if(s(e,a,n))return{row:e.row,column:e.column};if(s(c,e,!n))return{row:e.row+i,column:e.column+(e.row==c.row?o:0)};return{row:a.row,column:a.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(e.row,e.column,!0)}},t.prototype.setPosition=function(t,e,n){var r;if(r=n?{row:t,column:e}:this.$clipPositionToDocument(t,e),this.row!=r.row||this.column!=r.column){var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})}},t.prototype.detach=function(){this.document.off("change",this.$onChange)},t.prototype.attach=function(t){this.document=t||this.document,this.document.on("change",this.$onChange)},t.prototype.$clipPositionToDocument=function(t,e){var n={};return t>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):t<0?(n.row=0,n.column=0):(n.row=t,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,e))),e<0&&(n.column=0),n},t}();function s(t,e,n){var r=n?t.column<=e.column:t.column<e.column;return t.row<e.row||t.row==e.row&&r}o.prototype.$insertRight=!1,r.implement(o.prototype,i),e.Anchor=o})),ace.define("ace/document",[],(function(t,e,n){"use strict";var r=t("./lib/oop"),i=t("./apply_delta").applyDelta,o=t("./lib/event_emitter").EventEmitter,s=t("./range").Range,a=t("./anchor").Anchor,c=function(){function t(t){this.$lines=[""],0===t.length?this.$lines=[""]:Array.isArray(t)?this.insertMergedLines({row:0,column:0},t):this.insert({row:0,column:0},t)}return t.prototype.setValue=function(t){var e=this.getLength()-1;this.remove(new s(0,0,e,this.getLine(e).length)),this.insert({row:0,column:0},t||"")},t.prototype.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},t.prototype.createAnchor=function(t,e){return new a(this,t,e)},t.prototype.$detectNewLine=function(t){var e=t.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=e?e[1]:"\n",this._signal("changeNewLineMode")},t.prototype.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},t.prototype.setNewLineMode=function(t){this.$newLineMode!==t&&(this.$newLineMode=t,this._signal("changeNewLineMode"))},t.prototype.getNewLineMode=function(){return this.$newLineMode},t.prototype.isNewLine=function(t){return"\r\n"==t||"\r"==t||"\n"==t},t.prototype.getLine=function(t){return this.$lines[t]||""},t.prototype.getLines=function(t,e){return this.$lines.slice(t,e+1)},t.prototype.getAllLines=function(){return this.getLines(0,this.getLength())},t.prototype.getLength=function(){return this.$lines.length},t.prototype.getTextRange=function(t){return this.getLinesForRange(t).join(this.getNewLineCharacter())},t.prototype.getLinesForRange=function(t){var e;if(t.start.row===t.end.row)e=[this.getLine(t.start.row).substring(t.start.column,t.end.column)];else{(e=this.getLines(t.start.row,t.end.row))[0]=(e[0]||"").substring(t.start.column);var n=e.length-1;t.end.row-t.start.row==n&&(e[n]=e[n].substring(0,t.end.column))}return e},t.prototype.insertLines=function(t,e){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(t,e)},t.prototype.removeLines=function(t,e){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(t,e)},t.prototype.insertNewLine=function(t){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(t,["",""])},t.prototype.insert=function(t,e){return this.getLength()<=1&&this.$detectNewLine(e),this.insertMergedLines(t,this.$split(e))},t.prototype.insertInLine=function(t,e){var n=this.clippedPos(t.row,t.column),r=this.pos(t.row,t.column+e.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[e]},!0),this.clonePos(r)},t.prototype.clippedPos=function(t,e){var n=this.getLength();void 0===t?t=n:t<0?t=0:t>=n&&(t=n-1,e=void 0);var r=this.getLine(t);return null==e&&(e=r.length),{row:t,column:e=Math.min(Math.max(e,0),r.length)}},t.prototype.clonePos=function(t){return{row:t.row,column:t.column}},t.prototype.pos=function(t,e){return{row:t,column:e}},t.prototype.$clipPosition=function(t){var e=this.getLength();return t.row>=e?(t.row=Math.max(0,e-1),t.column=this.getLine(e-1).length):(t.row=Math.max(0,t.row),t.column=Math.min(Math.max(t.column,0),this.getLine(t.row).length)),t},t.prototype.insertFullLines=function(t,e){var n=0;(t=Math.min(Math.max(t,0),this.getLength()))<this.getLength()?(e=e.concat([""]),n=0):(e=[""].concat(e),t--,n=this.$lines[t].length),this.insertMergedLines({row:t,column:n},e)},t.prototype.insertMergedLines=function(t,e){var n=this.clippedPos(t.row,t.column),r={row:n.row+e.length-1,column:(1==e.length?n.column:0)+e[e.length-1].length};return this.applyDelta({start:n,end:r,action:"insert",lines:e}),this.clonePos(r)},t.prototype.remove=function(t){var e=this.clippedPos(t.start.row,t.start.column),n=this.clippedPos(t.end.row,t.end.column);return this.applyDelta({start:e,end:n,action:"remove",lines:this.getLinesForRange({start:e,end:n})}),this.clonePos(e)},t.prototype.removeInLine=function(t,e,n){var r=this.clippedPos(t,e),i=this.clippedPos(t,n);return this.applyDelta({start:r,end:i,action:"remove",lines:this.getLinesForRange({start:r,end:i})},!0),this.clonePos(r)},t.prototype.removeFullLines=function(t,e){t=Math.min(Math.max(0,t),this.getLength()-1);var n=(e=Math.min(Math.max(0,e),this.getLength()-1))==this.getLength()-1&&t>0,r=e<this.getLength()-1,i=n?t-1:t,o=n?this.getLine(i).length:0,a=r?e+1:e,c=r?0:this.getLine(a).length,u=new s(i,o,a,c),l=this.$lines.slice(t,e+1);return this.applyDelta({start:u.start,end:u.end,action:"remove",lines:this.getLinesForRange(u)}),l},t.prototype.removeNewLine=function(t){t<this.getLength()-1&&t>=0&&this.applyDelta({start:this.pos(t,this.getLine(t).length),end:this.pos(t+1,0),action:"remove",lines:["",""]})},t.prototype.replace=function(t,e){return t instanceof s||(t=s.fromPoints(t.start,t.end)),0===e.length&&t.isEmpty()?t.start:e==this.getTextRange(t)?t.end:(this.remove(t),e?this.insert(t.start,e):t.start)},t.prototype.applyDeltas=function(t){for(var e=0;e<t.length;e++)this.applyDelta(t[e])},t.prototype.revertDeltas=function(t){for(var e=t.length-1;e>=0;e--)this.revertDelta(t[e])},t.prototype.applyDelta=function(t,e){var n="insert"==t.action;(n?t.lines.length<=1&&!t.lines[0]:!s.comparePoints(t.start,t.end))||(n&&t.lines.length>2e4?this.$splitAndapplyLargeDelta(t,2e4):(i(this.$lines,t,e),this._signal("change",t)))},t.prototype.$safeApplyDelta=function(t){var e=this.$lines.length;("remove"==t.action&&t.start.row<e&&t.end.row<e||"insert"==t.action&&t.start.row<=e)&&this.applyDelta(t)},t.prototype.$splitAndapplyLargeDelta=function(t,e){for(var n=t.lines,r=n.length-e+1,i=t.start.row,o=t.start.column,s=0,a=0;s<r;s=a){a+=e-1;var c=n.slice(s,a);c.push(""),this.applyDelta({start:this.pos(i+s,o),end:this.pos(i+a,o=0),action:t.action,lines:c},!0)}t.lines=n.slice(s),t.start.row=i+s,t.start.column=o,this.applyDelta(t,!0)},t.prototype.revertDelta=function(t){this.$safeApplyDelta({start:this.clonePos(t.start),end:this.clonePos(t.end),action:"insert"==t.action?"remove":"insert",lines:t.lines.slice()})},t.prototype.indexToPosition=function(t,e){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=e||0,o=n.length;i<o;i++)if((t-=n[i].length+r)<0)return{row:i,column:t+n[i].length+r};return{row:o-1,column:t+n[o-1].length+r}},t.prototype.positionToIndex=function(t,e){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=0,o=Math.min(t.row,n.length),s=e||0;s<o;++s)i+=n[s].length+r;return i+t.column},t.prototype.$split=function(t){return t.split(/\r\n|\r|\n/)},t}();c.prototype.$autoNewLine="",c.prototype.$newLineMode="auto",r.implement(c.prototype,o),e.Document=c})),ace.define("ace/lib/deep_copy",[],(function(t,e,n){e.deepCopy=function t(e){if("object"!=typeof e||!e)return e;var n;if(Array.isArray(e)){n=[];for(var r=0;r<e.length;r++)n[r]=t(e[r]);return n}if("[object Object]"!==Object.prototype.toString.call(e))return e;for(var r in n={},e)n[r]=t(e[r]);return n}})),ace.define("ace/lib/lang",[],(function(t,e,n){"use strict";e.last=function(t){return t[t.length-1]},e.stringReverse=function(t){return t.split("").reverse().join("")},e.stringRepeat=function(t,e){for(var n="";e>0;)1&e&&(n+=t),(e>>=1)&&(t+=t);return n};var r=/^\s\s*/,i=/\s\s*$/;e.stringTrimLeft=function(t){return t.replace(r,"")},e.stringTrimRight=function(t){return t.replace(i,"")},e.copyObject=function(t){var e={};for(var n in t)e[n]=t[n];return e},e.copyArray=function(t){for(var e=[],n=0,r=t.length;n<r;n++)t[n]&&"object"==typeof t[n]?e[n]=this.copyObject(t[n]):e[n]=t[n];return e},e.deepCopy=t("./deep_copy").deepCopy,e.arrayToMap=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=1;return e},e.createMap=function(t){var e=Object.create(null);for(var n in t)e[n]=t[n];return e},e.arrayRemove=function(t,e){for(var n=0;n<=t.length;n++)e===t[n]&&t.splice(n,1)},e.escapeRegExp=function(t){return t.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},e.escapeHTML=function(t){return(""+t).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},e.getMatchOffsets=function(t,e){var n=[];return t.replace(e,(function(t){n.push({offset:arguments[arguments.length-2],length:t.length})})),n},e.deferredCall=function(t){var e=null,n=function(){e=null,t()},r=function(t){return r.cancel(),e=setTimeout(n,t||0),r};return r.schedule=r,r.call=function(){return this.cancel(),t(),r},r.cancel=function(){return clearTimeout(e),e=null,r},r.isPending=function(){return e},r},e.delayedCall=function(t,e){var n=null,r=function(){n=null,t()},i=function(t){null==n&&(n=setTimeout(r,t||e))};return i.delay=function(t){n&&clearTimeout(n),n=setTimeout(r,t||e)},i.schedule=i,i.call=function(){this.cancel(),t()},i.cancel=function(){n&&clearTimeout(n),n=null},i.isPending=function(){return n},i},e.sleep=function(t){return new Promise((function(e){setTimeout(e,t)}))},e.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch(t){return!1}return!0},e.skipEmptyMatch=function(t,e,n){return n&&t.codePointAt(e)>65535?2:1}})),ace.define("ace/worker/mirror",[],(function(t,e,n){"use strict";var r=t("../document").Document,i=t("../lib/lang"),o=e.Mirror=function(t){this.sender=t;var e=this.doc=new r(""),n=this.deferredUpdate=i.delayedCall(this.onUpdate.bind(this)),o=this;t.on("change",(function(t){var r=t.data;if(r[0].start)e.applyDeltas(r);else for(var i=0;i<r.length;i+=2){var s,a;if(("insert"==(s=Array.isArray(r[i+1])?{action:"insert",start:r[i],lines:r[i+1]}:{action:"remove",start:r[i],end:r[i+1]}).action?s.start:s.end).row>=e.$lines.length)throw(a=new Error("Invalid delta")).data={path:o.$path,linesLength:e.$lines.length,start:s.start,end:s.end},a;e.applyDelta(s,!0)}if(o.$timeout)return n.schedule(o.$timeout);o.onUpdate()}))};(function(){this.$timeout=500,this.setTimeout=function(t){this.$timeout=t},this.setValue=function(t){this.doc.setValue(t),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(t){this.sender.callback(this.doc.getValue(),t)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(o.prototype)})),ace.define("ace/mode/yaml/yaml-lint",[],(function(t,e,r){var i={require:t,exports:e,module:r};function o(e,n,r){"function"==typeof e&&(r=e,n=["require","exports","module"],e=i.module.id),"string"!=typeof e&&(r=n,n=e,e=i.module.id),r||(r=n,n=[]);var o="function"==typeof r?r.apply(i.module,n.map((function(e){return i[e]||t(e)}))):r;null!=o&&(i.module.exports=o)}e=void 0,r=void 0,o.amd=!0,function(t){if("object"==typeof e&&void 0!==r)r.exports=t();else if(o.amd)o([],t);else{("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).lint=t()}}((function(){return function e(n,r,i){function o(a,c){if(!r[a]){if(!n[a]){var u="function"==typeof t&&t;if(!c&&u)return u(a,!0);if(s)return s(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var p=r[a]={exports:{}};n[a][0].call(p.exports,(function(t){return o(n[a][1][t]||t)}),p,p.exports,e,n,r,i)}return r[a].exports}for(var s="function"==typeof t&&t,a=0;a<i.length;a++)o(i[a]);return o}({1:[function(t,e,n){},{}],2:[function(t,e,n){t("fs");var r=t("lodash.merge"),i=t("js-yaml"),o={schema:"DEFAULT_SAFE_SCHEMA"};e.exports={lint:function(t,e,n){var s=r({},o,e);try{i.safeLoad(t,{schema:i[s.schema]}),n()}catch(t){n(t)}}}},{fs:1,"js-yaml":3,"lodash.merge":33}],3:[function(t,e,n){"use strict";var r=t("./lib/js-yaml.js");e.exports=r},{"./lib/js-yaml.js":4}],4:[function(t,e,n){"use strict";var r=t("./js-yaml/loader"),i=t("./js-yaml/dumper");function o(t){return function(){throw new Error("Function "+t+" is deprecated and cannot be used.")}}e.exports.Type=t("./js-yaml/type"),e.exports.Schema=t("./js-yaml/schema"),e.exports.FAILSAFE_SCHEMA=t("./js-yaml/schema/failsafe"),e.exports.JSON_SCHEMA=t("./js-yaml/schema/json"),e.exports.CORE_SCHEMA=t("./js-yaml/schema/core"),e.exports.DEFAULT_SAFE_SCHEMA=t("./js-yaml/schema/default_safe"),e.exports.DEFAULT_FULL_SCHEMA=t("./js-yaml/schema/default_full"),e.exports.load=r.load,e.exports.loadAll=r.loadAll,e.exports.safeLoad=r.safeLoad,e.exports.safeLoadAll=r.safeLoadAll,e.exports.dump=i.dump,e.exports.safeDump=i.safeDump,e.exports.YAMLException=t("./js-yaml/exception"),e.exports.MINIMAL_SCHEMA=t("./js-yaml/schema/failsafe"),e.exports.SAFE_SCHEMA=t("./js-yaml/schema/default_safe"),e.exports.DEFAULT_SCHEMA=t("./js-yaml/schema/default_full"),e.exports.scan=o("scan"),e.exports.parse=o("parse"),e.exports.compose=o("compose"),e.exports.addConstructor=o("addConstructor")},{"./js-yaml/dumper":6,"./js-yaml/exception":7,"./js-yaml/loader":8,"./js-yaml/schema":10,"./js-yaml/schema/core":11,"./js-yaml/schema/default_full":12,"./js-yaml/schema/default_safe":13,"./js-yaml/schema/failsafe":14,"./js-yaml/schema/json":15,"./js-yaml/type":16}],5:[function(t,e,n){"use strict";function r(t){return null==t}e.exports.isNothing=r,e.exports.isObject=function(t){return"object"==typeof t&&null!==t},e.exports.toArray=function(t){return Array.isArray(t)?t:r(t)?[]:[t]},e.exports.repeat=function(t,e){var n,r="";for(n=0;n<e;n+=1)r+=t;return r},e.exports.isNegativeZero=function(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t},e.exports.extend=function(t,e){var n,r,i,o;if(e)for(n=0,r=(o=Object.keys(e)).length;n<r;n+=1)t[i=o[n]]=e[i];return t}},{}],6:[function(t,e,n){"use strict";var r=t("./common"),i=t("./exception"),o=t("./schema/default_full"),s=t("./schema/default_safe"),a=Object.prototype.toString,c=Object.prototype.hasOwnProperty,u={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},l=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function p(t){var e,n,o;if(e=t.toString(16).toUpperCase(),t<=255)n="x",o=2;else if(t<=65535)n="u",o=4;else{if(!(t<=4294967295))throw new i("code point within a string may not be greater than 0xFFFFFFFF");n="U",o=8}return"\\"+n+r.repeat("0",o-e.length)+e}function f(t){this.schema=t.schema||o,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=r.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=function(t,e){var n,r,i,o,s,a,u;if(null===e)return{};for(n={},i=0,o=(r=Object.keys(e)).length;i<o;i+=1)s=r[i],a=String(e[s]),"!!"===s.slice(0,2)&&(s="tag:yaml.org,2002:"+s.slice(2)),(u=t.compiledTypeMap.fallback[s])&&c.call(u.styleAliases,a)&&(a=u.styleAliases[a]),n[s]=a;return n}(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function h(t,e){for(var n,i=r.repeat(" ",e),o=0,s=-1,a="",c=t.length;o<c;)-1===(s=t.indexOf("\n",o))?(n=t.slice(o),o=c):(n=t.slice(o,s+1),o=s+1),n.length&&"\n"!==n&&(a+=i),a+=n;return a}function d(t,e){return"\n"+r.repeat(" ",t.indent*e)}function m(t){return 32===t||9===t}function g(t){return t>=32&&t<=126||t>=161&&t<=55295&&8232!==t&&8233!==t||t>=57344&&t<=65533&&65279!==t||t>=65536&&t<=1114111}function y(t){return g(t)&&65279!==t&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t&&58!==t&&35!==t}function v(t){return/^\n* /.test(t)}function w(t,e,n,r,i){var o,s,a,c=!1,u=!1,l=-1!==r,p=-1,f=g(a=t.charCodeAt(0))&&65279!==a&&!m(a)&&45!==a&&63!==a&&58!==a&&44!==a&&91!==a&&93!==a&&123!==a&&125!==a&&35!==a&&38!==a&&42!==a&&33!==a&&124!==a&&62!==a&&39!==a&&34!==a&&37!==a&&64!==a&&96!==a&&!m(t.charCodeAt(t.length-1));if(e)for(o=0;o<t.length;o++){if(!g(s=t.charCodeAt(o)))return 5;f=f&&y(s)}else{for(o=0;o<t.length;o++){if(10===(s=t.charCodeAt(o)))c=!0,l&&(u=u||o-p-1>r&&" "!==t[p+1],p=o);else if(!g(s))return 5;f=f&&y(s)}u=u||l&&o-p-1>r&&" "!==t[p+1]}return c||u?n>9&&v(t)?5:u?4:3:f&&!i(t)?1:2}function b(t,e,n,r){t.dump=function(){if(0===e.length)return"''";if(!t.noCompatMode&&-1!==l.indexOf(e))return"'"+e+"'";var o=t.indent*Math.max(1,n),s=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-o),a=r||t.flowLevel>-1&&n>=t.flowLevel;switch(w(e,a,t.indent,s,(function(e){return function(t,e){var n,r;for(n=0,r=t.implicitTypes.length;n<r;n+=1)if(t.implicitTypes[n].resolve(e))return!0;return!1}(t,e)}))){case 1:return e;case 2:return"'"+e.replace(/'/g,"''")+"'";case 3:return"|"+x(e,t.indent)+A(h(e,o));case 4:return">"+x(e,t.indent)+A(h(function(t,e){var n,r,i=/(\n+)([^\n]*)/g,o=(a=t.indexOf("\n"),a=-1!==a?a:t.length,i.lastIndex=a,_(t.slice(0,a),e)),s="\n"===t[0]||" "===t[0];var a;for(;r=i.exec(t);){var c=r[1],u=r[2];n=" "===u[0],o+=c+(s||n||""===u?"":"\n")+_(u,e),s=n}return o}(e,s),o));case 5:return'"'+function(t){for(var e,n,r,i="",o=0;o<t.length;o++)(e=t.charCodeAt(o))>=55296&&e<=56319&&(n=t.charCodeAt(o+1))>=56320&&n<=57343?(i+=p(1024*(e-55296)+n-56320+65536),o++):i+=!(r=u[e])&&g(e)?t[o]:r||p(e);return i}(e)+'"';default:throw new i("impossible error: invalid scalar style")}}()}function x(t,e){var n=v(t)?String(e):"",r="\n"===t[t.length-1];return n+(r&&("\n"===t[t.length-2]||"\n"===t)?"+":r?"":"-")+"\n"}function A(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function _(t,e){if(""===t||" "===t[0])return t;for(var n,r,i=/ [^ ]/g,o=0,s=0,a=0,c="";n=i.exec(t);)(a=n.index)-o>e&&(r=s>o?s:a,c+="\n"+t.slice(o,r),o=r+1),s=a;return c+="\n",t.length-o>e&&s>o?c+=t.slice(o,s)+"\n"+t.slice(s+1):c+=t.slice(o),c.slice(1)}function j(t,e,n){var r,o,s,u,l,p;for(s=0,u=(o=n?t.explicitTypes:t.implicitTypes).length;s<u;s+=1)if(((l=o[s]).instanceOf||l.predicate)&&(!l.instanceOf||"object"==typeof e&&e instanceof l.instanceOf)&&(!l.predicate||l.predicate(e))){if(t.tag=n?l.tag:"?",l.represent){if(p=t.styleMap[l.tag]||l.defaultStyle,"[object Function]"===a.call(l.represent))r=l.represent(e,p);else{if(!c.call(l.represent,p))throw new i("!<"+l.tag+'> tag resolver accepts not "'+p+'" style');r=l.represent[p](e,p)}t.dump=r}return!0}return!1}function k(t,e,n,r,o,s){t.tag=null,t.dump=n,j(t,n,!1)||j(t,n,!0);var c=a.call(t.dump);r&&(r=t.flowLevel<0||t.flowLevel>e);var u,l,p="[object Object]"===c||"[object Array]"===c;if(p&&(l=-1!==(u=t.duplicates.indexOf(n))),(null!==t.tag&&"?"!==t.tag||l||2!==t.indent&&e>0)&&(o=!1),l&&t.usedDuplicates[u])t.dump="*ref_"+u;else{if(p&&l&&!t.usedDuplicates[u]&&(t.usedDuplicates[u]=!0),"[object Object]"===c)r&&0!==Object.keys(t.dump).length?(!function(t,e,n,r){var o,s,a,c,u,l,p="",f=t.tag,h=Object.keys(n);if(!0===t.sortKeys)h.sort();else if("function"==typeof t.sortKeys)h.sort(t.sortKeys);else if(t.sortKeys)throw new i("sortKeys must be a boolean or a function");for(o=0,s=h.length;o<s;o+=1)l="",r&&0===o||(l+=d(t,e)),c=n[a=h[o]],k(t,e+1,a,!0,!0,!0)&&((u=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&10===t.dump.charCodeAt(0)?l+="?":l+="? "),l+=t.dump,u&&(l+=d(t,e)),k(t,e+1,c,!0,u)&&(t.dump&&10===t.dump.charCodeAt(0)?l+=":":l+=": ",p+=l+=t.dump));t.tag=f,t.dump=p||"{}"}(t,e,t.dump,o),l&&(t.dump="&ref_"+u+t.dump)):(!function(t,e,n){var r,i,o,s,a,c="",u=t.tag,l=Object.keys(n);for(r=0,i=l.length;r<i;r+=1)a=t.condenseFlow?'"':"",0!==r&&(a+=", "),s=n[o=l[r]],k(t,e,o,!1,!1)&&(t.dump.length>1024&&(a+="? "),a+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),k(t,e,s,!1,!1)&&(c+=a+=t.dump));t.tag=u,t.dump="{"+c+"}"}(t,e,t.dump),l&&(t.dump="&ref_"+u+" "+t.dump));else if("[object Array]"===c){var f=t.noArrayIndent&&e>0?e-1:e;r&&0!==t.dump.length?(!function(t,e,n,r){var i,o,s="",a=t.tag;for(i=0,o=n.length;i<o;i+=1)k(t,e+1,n[i],!0,!0)&&(r&&0===i||(s+=d(t,e)),t.dump&&10===t.dump.charCodeAt(0)?s+="-":s+="- ",s+=t.dump);t.tag=a,t.dump=s||"[]"}(t,f,t.dump,o),l&&(t.dump="&ref_"+u+t.dump)):(!function(t,e,n){var r,i,o="",s=t.tag;for(r=0,i=n.length;r<i;r+=1)k(t,e,n[r],!1,!1)&&(0!==r&&(o+=","+(t.condenseFlow?"":" ")),o+=t.dump);t.tag=s,t.dump="["+o+"]"}(t,f,t.dump),l&&(t.dump="&ref_"+u+" "+t.dump))}else{if("[object String]"!==c){if(t.skipInvalid)return!1;throw new i("unacceptable kind of an object to dump "+c)}"?"!==t.tag&&b(t,t.dump,e,s)}null!==t.tag&&"?"!==t.tag&&(t.dump="!<"+t.tag+"> "+t.dump)}return!0}function C(t,e){var n,r,i=[],o=[];for(L(t,i,o),n=0,r=o.length;n<r;n+=1)e.duplicates.push(i[o[n]]);e.usedDuplicates=new Array(r)}function L(t,e,n){var r,i,o;if(null!==t&&"object"==typeof t)if(-1!==(i=e.indexOf(t)))-1===n.indexOf(i)&&n.push(i);else if(e.push(t),Array.isArray(t))for(i=0,o=t.length;i<o;i+=1)L(t[i],e,n);else for(i=0,o=(r=Object.keys(t)).length;i<o;i+=1)L(t[r[i]],e,n)}function O(t,e){var n=new f(e=e||{});return n.noRefs||C(t,n),k(n,0,t,!0,!0)?n.dump+"\n":""}e.exports.dump=O,e.exports.safeDump=function(t,e){return O(t,r.extend({schema:s},e))}},{"./common":5,"./exception":7,"./schema/default_full":12,"./schema/default_safe":13}],7:[function(t,e,n){"use strict";function r(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r.prototype.toString=function(t){var e=this.name+": ";return e+=this.reason||"(unknown reason)",!t&&this.mark&&(e+=" "+this.mark.toString()),e},e.exports=r},{}],8:[function(t,e,n){"use strict";var r=t("./common"),i=t("./exception"),o=t("./mark"),s=t("./schema/default_safe"),a=t("./schema/default_full"),c=Object.prototype.hasOwnProperty,u=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,l=/[\x85\u2028\u2029]/,p=/[,\[\]\{\}]/,f=/^(?:!|!!|![a-z\-]+!)$/i,h=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function d(t){return 10===t||13===t}function m(t){return 9===t||32===t}function g(t){return 9===t||32===t||10===t||13===t}function y(t){return 44===t||91===t||93===t||123===t||125===t}function v(t){var e;return t>=48&&t<=57?t-48:(e=32|t)>=97&&e<=102?e-97+10:-1}function w(t){return 48===t?"\0":97===t?"":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"…":95===t?" ":76===t?"\u2028":80===t?"\u2029":""}function b(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var x=new Array(256),A=new Array(256),_=0;_<256;_++)x[_]=w(_)?1:0,A[_]=w(_);function j(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||a,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function k(t,e){return new i(e,new o(t.filename,t.input,t.position,t.line,t.position-t.lineStart))}function C(t,e){throw k(t,e)}function L(t,e){t.onWarning&&t.onWarning.call(null,k(t,e))}var O={YAML:function(t,e,n){var r,i,o;null!==t.version&&C(t,"duplication of %YAML directive"),1!==n.length&&C(t,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&C(t,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),o=parseInt(r[2],10),1!==i&&C(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,1!==o&&2!==o&&L(t,"unsupported YAML version of the document")},TAG:function(t,e,n){var r,i;2!==n.length&&C(t,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],f.test(r)||C(t,"ill-formed tag handle (first argument) of the TAG directive"),c.call(t.tagMap,r)&&C(t,'there is a previously declared suffix for "'+r+'" tag handle'),h.test(i)||C(t,"ill-formed tag prefix (second argument) of the TAG directive"),t.tagMap[r]=i}};function S(t,e,n,r){var i,o,s,a;if(e<n){if(a=t.input.slice(e,n),r)for(i=0,o=a.length;i<o;i+=1)9===(s=a.charCodeAt(i))||s>=32&&s<=1114111||C(t,"expected valid JSON character");else u.test(a)&&C(t,"the stream contains non-printable characters");t.result+=a}}function M(t,e,n,i){var o,s,a,u;for(r.isObject(n)||C(t,"cannot merge mappings; the provided source object is unacceptable"),a=0,u=(o=Object.keys(n)).length;a<u;a+=1)s=o[a],c.call(e,s)||(e[s]=n[s],i[s]=!0)}function E(t,e,n,r,i,o,s,a){var u,l;if(i=String(i),null===e&&(e={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(o))for(u=0,l=o.length;u<l;u+=1)M(t,e,o[u],n);else M(t,e,o,n);else t.json||c.call(n,i)||!c.call(e,i)||(t.line=s||t.line,t.position=a||t.position,C(t,"duplicated mapping key")),e[i]=o,delete n[i];return e}function I(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):C(t,"a line break is expected"),t.line+=1,t.lineStart=t.position}function F(t,e,n){for(var r=0,i=t.input.charCodeAt(t.position);0!==i;){for(;m(i);)i=t.input.charCodeAt(++t.position);if(e&&35===i)do{i=t.input.charCodeAt(++t.position)}while(10!==i&&13!==i&&0!==i);if(!d(i))break;for(I(t),i=t.input.charCodeAt(t.position),r++,t.lineIndent=0;32===i;)t.lineIndent++,i=t.input.charCodeAt(++t.position)}return-1!==n&&0!==r&&t.lineIndent<n&&L(t,"deficient indentation"),r}function T(t){var e,n=t.position;return!(45!==(e=t.input.charCodeAt(n))&&46!==e||e!==t.input.charCodeAt(n+1)||e!==t.input.charCodeAt(n+2)||(n+=3,0!==(e=t.input.charCodeAt(n))&&!g(e)))}function N(t,e){1===e?t.result+=" ":e>1&&(t.result+=r.repeat("\n",e-1))}function D(t,e){var n,r,i=t.tag,o=t.anchor,s=[],a=!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=s),r=t.input.charCodeAt(t.position);0!==r&&45===r&&g(t.input.charCodeAt(t.position+1));)if(a=!0,t.position++,F(t,!0,-1)&&t.lineIndent<=e)s.push(null),r=t.input.charCodeAt(t.position);else if(n=t.line,R(t,e,3,!1,!0),s.push(t.result),F(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&0!==r)C(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!a&&(t.tag=i,t.anchor=o,t.kind="sequence",t.result=s,!0)}function $(t){var e,n,r,i,o=!1,s=!1;if(33!==(i=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&C(t,"duplication of a tag property"),60===(i=t.input.charCodeAt(++t.position))?(o=!0,i=t.input.charCodeAt(++t.position)):33===i?(s=!0,n="!!",i=t.input.charCodeAt(++t.position)):n="!",e=t.position,o){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&62!==i);t.position<t.length?(r=t.input.slice(e,t.position),i=t.input.charCodeAt(++t.position)):C(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!g(i);)33===i&&(s?C(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),f.test(n)||C(t,"named tag handle cannot contain such characters"),s=!0,e=t.position+1)),i=t.input.charCodeAt(++t.position);r=t.input.slice(e,t.position),p.test(r)&&C(t,"tag suffix cannot contain flow indicator characters")}return r&&!h.test(r)&&C(t,"tag name cannot contain such characters: "+r),o?t.tag=r:c.call(t.tagMap,n)?t.tag=t.tagMap[n]+r:"!"===n?t.tag="!"+r:"!!"===n?t.tag="tag:yaml.org,2002:"+r:C(t,'undeclared tag handle "'+n+'"'),!0}function P(t){var e,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&C(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!g(n)&&!y(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&C(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function R(t,e,n,i,o){var s,a,u,l,p,f,h,w,_=1,j=!1,k=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,s=a=u=4===n||3===n,i&&F(t,!0,-1)&&(j=!0,t.lineIndent>e?_=1:t.lineIndent===e?_=0:t.lineIndent<e&&(_=-1)),1===_)for(;$(t)||P(t);)F(t,!0,-1)?(j=!0,u=s,t.lineIndent>e?_=1:t.lineIndent===e?_=0:t.lineIndent<e&&(_=-1)):u=!1;if(u&&(u=j||o),1!==_&&4!==n||(h=1===n||2===n?e:e+1,w=t.position-t.lineStart,1===_?u&&(D(t,w)||function(t,e,n){var r,i,o,s,a,c=t.tag,u=t.anchor,l={},p={},f=null,h=null,d=null,y=!1,v=!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=l),a=t.input.charCodeAt(t.position);0!==a;){if(r=t.input.charCodeAt(t.position+1),o=t.line,s=t.position,63!==a&&58!==a||!g(r)){if(!R(t,n,2,!1,!0))break;if(t.line===o){for(a=t.input.charCodeAt(t.position);m(a);)a=t.input.charCodeAt(++t.position);if(58===a)g(a=t.input.charCodeAt(++t.position))||C(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(E(t,l,p,f,h,null),f=h=d=null),v=!0,y=!1,i=!1,f=t.tag,h=t.result;else{if(!v)return t.tag=c,t.anchor=u,!0;C(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!v)return t.tag=c,t.anchor=u,!0;C(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===a?(y&&(E(t,l,p,f,h,null),f=h=d=null),v=!0,y=!0,i=!0):y?(y=!1,i=!0):C(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,a=r;if((t.line===o||t.lineIndent>e)&&(R(t,e,4,!0,i)&&(y?h=t.result:d=t.result),y||(E(t,l,p,f,h,d,o,s),f=h=d=null),F(t,!0,-1),a=t.input.charCodeAt(t.position)),t.lineIndent>e&&0!==a)C(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&E(t,l,p,f,h,null),v&&(t.tag=c,t.anchor=u,t.kind="mapping",t.result=l),v}(t,w,h))||function(t,e){var n,r,i,o,s,a,c,u,l,p,f=!0,h=t.tag,d=t.anchor,m={};if(91===(p=t.input.charCodeAt(t.position)))i=93,a=!1,r=[];else{if(123!==p)return!1;i=125,a=!0,r={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=r),p=t.input.charCodeAt(++t.position);0!==p;){if(F(t,!0,e),(p=t.input.charCodeAt(t.position))===i)return t.position++,t.tag=h,t.anchor=d,t.kind=a?"mapping":"sequence",t.result=r,!0;f||C(t,"missed comma between flow collection entries"),l=null,o=s=!1,63===p&&g(t.input.charCodeAt(t.position+1))&&(o=s=!0,t.position++,F(t,!0,e)),n=t.line,R(t,e,1,!1,!0),u=t.tag,c=t.result,F(t,!0,e),p=t.input.charCodeAt(t.position),!s&&t.line!==n||58!==p||(o=!0,p=t.input.charCodeAt(++t.position),F(t,!0,e),R(t,e,1,!1,!0),l=t.result),a?E(t,r,m,u,c,l):o?r.push(E(t,null,m,u,c,l)):r.push(c),F(t,!0,e),44===(p=t.input.charCodeAt(t.position))?(f=!0,p=t.input.charCodeAt(++t.position)):f=!1}C(t,"unexpected end of the stream within a flow collection")}(t,h)?k=!0:(a&&function(t,e){var n,i,o,s,a,c=1,u=!1,l=!1,p=e,f=0,h=!1;if(124===(s=t.input.charCodeAt(t.position)))i=!1;else{if(62!==s)return!1;i=!0}for(t.kind="scalar",t.result="";0!==s;)if(43===(s=t.input.charCodeAt(++t.position))||45===s)1===c?c=43===s?3:2:C(t,"repeat of a chomping mode identifier");else{if(!((o=(a=s)>=48&&a<=57?a-48:-1)>=0))break;0===o?C(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?C(t,"repeat of an indentation width identifier"):(p=e+o-1,l=!0)}if(m(s)){do{s=t.input.charCodeAt(++t.position)}while(m(s));if(35===s)do{s=t.input.charCodeAt(++t.position)}while(!d(s)&&0!==s)}for(;0!==s;){for(I(t),t.lineIndent=0,s=t.input.charCodeAt(t.position);(!l||t.lineIndent<p)&&32===s;)t.lineIndent++,s=t.input.charCodeAt(++t.position);if(!l&&t.lineIndent>p&&(p=t.lineIndent),d(s))f++;else{if(t.lineIndent<p){3===c?t.result+=r.repeat("\n",u?1+f:f):1===c&&u&&(t.result+="\n");break}for(i?m(s)?(h=!0,t.result+=r.repeat("\n",u?1+f:f)):h?(h=!1,t.result+=r.repeat("\n",f+1)):0===f?u&&(t.result+=" "):t.result+=r.repeat("\n",f):t.result+=r.repeat("\n",u?1+f:f),u=!0,l=!0,f=0,n=t.position;!d(s)&&0!==s;)s=t.input.charCodeAt(++t.position);S(t,n,t.position,!1)}}return!0}(t,h)||function(t,e){var n,r,i;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(S(t,r,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;r=t.position,t.position++,i=t.position}else d(n)?(S(t,r,i,!0),N(t,F(t,!1,e)),r=i=t.position):t.position===t.lineStart&&T(t)?C(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);C(t,"unexpected end of the stream within a single quoted scalar")}(t,h)||function(t,e){var n,r,i,o,s,a,c;if(34!==(a=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=r=t.position;0!==(a=t.input.charCodeAt(t.position));){if(34===a)return S(t,n,t.position,!0),t.position++,!0;if(92===a){if(S(t,n,t.position,!0),d(a=t.input.charCodeAt(++t.position)))F(t,!1,e);else if(a<256&&x[a])t.result+=A[a],t.position++;else if((s=120===(c=a)?2:117===c?4:85===c?8:0)>0){for(i=s,o=0;i>0;i--)(s=v(a=t.input.charCodeAt(++t.position)))>=0?o=(o<<4)+s:C(t,"expected hexadecimal character");t.result+=b(o),t.position++}else C(t,"unknown escape sequence");n=r=t.position}else d(a)?(S(t,n,r,!0),N(t,F(t,!1,e)),n=r=t.position):t.position===t.lineStart&&T(t)?C(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}C(t,"unexpected end of the stream within a double quoted scalar")}(t,h)?k=!0:!function(t){var e,n,r;if(42!==(r=t.input.charCodeAt(t.position)))return!1;for(r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!g(r)&&!y(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&C(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),t.anchorMap.hasOwnProperty(n)||C(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],F(t,!0,-1),!0}(t)?function(t,e,n){var r,i,o,s,a,c,u,l,p=t.kind,f=t.result;if(g(l=t.input.charCodeAt(t.position))||y(l)||35===l||38===l||42===l||33===l||124===l||62===l||39===l||34===l||37===l||64===l||96===l)return!1;if((63===l||45===l)&&(g(r=t.input.charCodeAt(t.position+1))||n&&y(r)))return!1;for(t.kind="scalar",t.result="",i=o=t.position,s=!1;0!==l;){if(58===l){if(g(r=t.input.charCodeAt(t.position+1))||n&&y(r))break}else if(35===l){if(g(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&T(t)||n&&y(l))break;if(d(l)){if(a=t.line,c=t.lineStart,u=t.lineIndent,F(t,!1,-1),t.lineIndent>=e){s=!0,l=t.input.charCodeAt(t.position);continue}t.position=o,t.line=a,t.lineStart=c,t.lineIndent=u;break}}s&&(S(t,i,o,!1),N(t,t.line-a),i=o=t.position,s=!1),m(l)||(o=t.position+1),l=t.input.charCodeAt(++t.position)}return S(t,i,o,!1),!!t.result||(t.kind=p,t.result=f,!1)}(t,h,1===n)&&(k=!0,null===t.tag&&(t.tag="?")):(k=!0,null===t.tag&&null===t.anchor||C(t,"alias node should not have any properties")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===_&&(k=u&&D(t,w))),null!==t.tag&&"!"!==t.tag)if("?"===t.tag){for(l=0,p=t.implicitTypes.length;l<p;l+=1)if((f=t.implicitTypes[l]).resolve(t.result)){t.result=f.construct(t.result),t.tag=f.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else c.call(t.typeMap[t.kind||"fallback"],t.tag)?(f=t.typeMap[t.kind||"fallback"][t.tag],null!==t.result&&f.kind!==t.kind&&C(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+f.kind+'", not "'+t.kind+'"'),f.resolve(t.result)?(t.result=f.construct(t.result),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):C(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")):C(t,"unknown tag !<"+t.tag+">");return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||k}function U(t){var e,n,r,i,o=t.position,s=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap={},t.anchorMap={};0!==(i=t.input.charCodeAt(t.position))&&(F(t,!0,-1),i=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==i));){for(s=!0,i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!g(i);)i=t.input.charCodeAt(++t.position);for(r=[],(n=t.input.slice(e,t.position)).length<1&&C(t,"directive name must not be less than one character in length");0!==i;){for(;m(i);)i=t.input.charCodeAt(++t.position);if(35===i){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&!d(i));break}if(d(i))break;for(e=t.position;0!==i&&!g(i);)i=t.input.charCodeAt(++t.position);r.push(t.input.slice(e,t.position))}0!==i&&I(t),c.call(O,n)?O[n](t,n,r):L(t,'unknown document directive "'+n+'"')}F(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,F(t,!0,-1)):s&&C(t,"directives end mark is expected"),R(t,t.lineIndent-1,4,!1,!0),F(t,!0,-1),t.checkLineBreaks&&l.test(t.input.slice(o,t.position))&&L(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&T(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,F(t,!0,-1)):t.position<t.length-1&&C(t,"end of the stream or a document separator is expected")}function q(t,e){e=e||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new j(t,e);for(n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)U(n);return n.documents}function z(t,e,n){var r,i,o=q(t,n);if("function"!=typeof e)return o;for(r=0,i=o.length;r<i;r+=1)e(o[r])}function H(t,e){var n=q(t,e);if(0!==n.length){if(1===n.length)return n[0];throw new i("expected a single document in the stream, but found more")}}e.exports.loadAll=z,e.exports.load=H,e.exports.safeLoadAll=function(t,e,n){if("function"!=typeof e)return z(t,r.extend({schema:s},n));z(t,e,r.extend({schema:s},n))},e.exports.safeLoad=function(t,e){return H(t,r.extend({schema:s},e))}},{"./common":5,"./exception":7,"./mark":9,"./schema/default_full":12,"./schema/default_safe":13}],9:[function(t,e,n){"use strict";var r=t("./common");function i(t,e,n,r,i){this.name=t,this.buffer=e,this.position=n,this.line=r,this.column=i}i.prototype.getSnippet=function(t,e){var n,i,o,s,a;if(!this.buffer)return null;for(t=t||4,e=e||75,n="",i=this.position;i>0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(i-1));)if(i-=1,this.position-i>e/2-1){n=" ... ",i+=5;break}for(o="",s=this.position;s<this.buffer.length&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(s));)if((s+=1)-this.position>e/2-1){o=" ... ",s-=5;break}return a=this.buffer.slice(i,s),r.repeat(" ",t)+n+a+o+"\n"+r.repeat(" ",t+this.position-i+n.length)+"^"},i.prototype.toString=function(t){var e,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),t||(e=this.getSnippet())&&(n+=":\n"+e),n},e.exports=i},{"./common":5}],10:[function(t,e,n){"use strict";var r=t("./common"),i=t("./exception"),o=t("./type");function s(t,e,n){var r=[];return t.include.forEach((function(t){n=s(t,e,n)})),t[e].forEach((function(t){n.forEach((function(e,n){e.tag===t.tag&&e.kind===t.kind&&r.push(n)})),n.push(t)})),n.filter((function(t,e){return-1===r.indexOf(e)}))}function a(t){this.include=t.include||[],this.implicit=t.implicit||[],this.explicit=t.explicit||[],this.implicit.forEach((function(t){if(t.loadKind&&"scalar"!==t.loadKind)throw new i("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=s(this,"implicit",[]),this.compiledExplicit=s(this,"explicit",[]),this.compiledTypeMap=function(){var t,e,n={scalar:{},sequence:{},mapping:{},fallback:{}};function r(t){n[t.kind][t.tag]=n.fallback[t.tag]=t}for(t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(r);return n}(this.compiledImplicit,this.compiledExplicit)}a.DEFAULT=null,a.create=function(){var t,e;switch(arguments.length){case 1:t=a.DEFAULT,e=arguments[0];break;case 2:t=arguments[0],e=arguments[1];break;default:throw new i("Wrong number of arguments for Schema.create function")}if(t=r.toArray(t),e=r.toArray(e),!t.every((function(t){return t instanceof a})))throw new i("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!e.every((function(t){return t instanceof o})))throw new i("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new a({include:t,explicit:e})},e.exports=a},{"./common":5,"./exception":7,"./type":16}],11:[function(t,e,n){"use strict";var r=t("../schema");e.exports=new r({include:[t("./json")]})},{"../schema":10,"./json":15}],12:[function(t,e,n){"use strict";var r=t("../schema");e.exports=r.DEFAULT=new r({include:[t("./default_safe")],explicit:[t("../type/js/undefined"),t("../type/js/regexp"),t("../type/js/function")]})},{"../schema":10,"../type/js/function":21,"../type/js/regexp":22,"../type/js/undefined":23,"./default_safe":13}],13:[function(t,e,n){"use strict";var r=t("../schema");e.exports=new r({include:[t("./core")],implicit:[t("../type/timestamp"),t("../type/merge")],explicit:[t("../type/binary"),t("../type/omap"),t("../type/pairs"),t("../type/set")]})},{"../schema":10,"../type/binary":17,"../type/merge":25,"../type/omap":27,"../type/pairs":28,"../type/set":30,"../type/timestamp":32,"./core":11}],14:[function(t,e,n){"use strict";var r=t("../schema");e.exports=new r({explicit:[t("../type/str"),t("../type/seq"),t("../type/map")]})},{"../schema":10,"../type/map":24,"../type/seq":29,"../type/str":31}],15:[function(t,e,n){"use strict";var r=t("../schema");e.exports=new r({include:[t("./failsafe")],implicit:[t("../type/null"),t("../type/bool"),t("../type/int"),t("../type/float")]})},{"../schema":10,"../type/bool":18,"../type/float":19,"../type/int":20,"../type/null":26,"./failsafe":14}],16:[function(t,e,n){"use strict";var r=t("./exception"),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],o=["scalar","sequence","mapping"];e.exports=function(t,e){var n,s;if(e=e||{},Object.keys(e).forEach((function(e){if(-1===i.indexOf(e))throw new r('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.defaultStyle=e.defaultStyle||null,this.styleAliases=(n=e.styleAliases||null,s={},null!==n&&Object.keys(n).forEach((function(t){n[t].forEach((function(e){s[String(e)]=t}))})),s),-1===o.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}},{"./exception":7}],17:[function(t,e,n){"use strict";var r;try{r=t("buffer").Buffer}catch(t){}var i=t("../type"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";e.exports=new i("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,r=0,i=t.length,s=o;for(n=0;n<i;n++)if(!((e=s.indexOf(t.charAt(n)))>64)){if(e<0)return!1;r+=6}return r%8==0},construct:function(t){var e,n,i=t.replace(/[\r\n=]/g,""),s=i.length,a=o,c=0,u=[];for(e=0;e<s;e++)e%4==0&&e&&(u.push(c>>16&255),u.push(c>>8&255),u.push(255&c)),c=c<<6|a.indexOf(i.charAt(e));return 0===(n=s%4*6)?(u.push(c>>16&255),u.push(c>>8&255),u.push(255&c)):18===n?(u.push(c>>10&255),u.push(c>>2&255)):12===n&&u.push(c>>4&255),r?r.from?r.from(u):new r(u):u},predicate:function(t){return r&&r.isBuffer(t)},represent:function(t){var e,n,r="",i=0,s=t.length,a=o;for(e=0;e<s;e++)e%3==0&&e&&(r+=a[i>>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]),i=(i<<8)+t[e];return 0===(n=s%3)?(r+=a[i>>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]):2===n?(r+=a[i>>10&63],r+=a[i>>4&63],r+=a[i<<2&63],r+=a[64]):1===n&&(r+=a[i>>2&63],r+=a[i<<4&63],r+=a[64],r+=a[64]),r}})},{"../type":16}],18:[function(t,e,n){"use strict";var r=t("../type");e.exports=new r("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)},construct:function(t){return"true"===t||"True"===t||"TRUE"===t},predicate:function(t){return"[object Boolean]"===Object.prototype.toString.call(t)},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"})},{"../type":16}],19:[function(t,e,n){"use strict";var r=t("../common"),i=t("../type"),o=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var s=/^[-+]?[0-9]+e/;e.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return null!==t&&!(!o.test(t)||"_"===t[t.length-1])},construct:function(t){var e,n,r,i;return n="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,i=[],"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:e.indexOf(":")>=0?(e.split(":").forEach((function(t){i.unshift(parseFloat(t,10))})),e=0,r=1,i.forEach((function(t){e+=t*r,r*=60})),n*e):n*parseFloat(e,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||r.isNegativeZero(t))},represent:function(t,e){var n;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(r.isNegativeZero(t))return"-0.0";return n=t.toString(10),s.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},{"../common":5,"../type":16}],20:[function(t,e,n){"use strict";var r=t("../common"),i=t("../type");function o(t){return t>=48&&t<=55}function s(t){return t>=48&&t<=57}e.exports=new i("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,r=t.length,i=0,a=!1;if(!r)return!1;if("-"!==(e=t[i])&&"+"!==e||(e=t[++i]),"0"===e){if(i+1===r)return!0;if("b"===(e=t[++i])){for(i++;i<r;i++)if("_"!==(e=t[i])){if("0"!==e&&"1"!==e)return!1;a=!0}return a&&"_"!==e}if("x"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!((n=t.charCodeAt(i))>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102))return!1;a=!0}return a&&"_"!==e}for(;i<r;i++)if("_"!==(e=t[i])){if(!o(t.charCodeAt(i)))return!1;a=!0}return a&&"_"!==e}if("_"===e)return!1;for(;i<r;i++)if("_"!==(e=t[i])){if(":"===e)break;if(!s(t.charCodeAt(i)))return!1;a=!0}return!(!a||"_"===e)&&(":"!==e||/^(:[0-5]?[0-9])+$/.test(t.slice(i)))},construct:function(t){var e,n,r=t,i=1,o=[];return-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),"-"!==(e=r[0])&&"+"!==e||("-"===e&&(i=-1),e=(r=r.slice(1))[0]),"0"===r?0:"0"===e?"b"===r[1]?i*parseInt(r.slice(2),2):"x"===r[1]?i*parseInt(r,16):i*parseInt(r,8):-1!==r.indexOf(":")?(r.split(":").forEach((function(t){o.unshift(parseInt(t,10))})),r=0,n=1,o.forEach((function(t){r+=t*n,n*=60})),i*r):i*parseInt(r,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!r.isNegativeZero(t)},represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0"+t.toString(8):"-0"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},{"../common":5,"../type":16}],21:[function(t,e,n){"use strict";var r;try{r=t("esprima")}catch(t){"undefined"!=typeof window&&(r=window.esprima)}var i=t("../../type");e.exports=new i("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(t){if(null===t)return!1;try{var e="("+t+")",n=r.parse(e,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(t){return!1}},construct:function(t){return function(){}},predicate:function(t){return"[object Function]"===Object.prototype.toString.call(t)},represent:function(t){return t.toString()}})},{"../../type":16}],22:[function(t,e,n){"use strict";var r=t("../../type");e.exports=new r("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:function(t){if(null===t)return!1;if(0===t.length)return!1;var e=t,n=/\/([gim]*)$/.exec(t),r="";if("/"===e[0]){if(n&&(r=n[1]),r.length>3)return!1;if("/"!==e[e.length-r.length-1])return!1}return!0},construct:function(t){var e=t,n=/\/([gim]*)$/.exec(t),r="";return"/"===e[0]&&(n&&(r=n[1]),e=e.slice(1,e.length-r.length-1)),new RegExp(e,r)},predicate:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},represent:function(t){var e="/"+t.source+"/";return t.global&&(e+="g"),t.multiline&&(e+="m"),t.ignoreCase&&(e+="i"),e}})},{"../../type":16}],23:[function(t,e,n){"use strict";var r=t("../../type");e.exports=new r("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:function(){return!0},construct:function(){},predicate:function(t){return void 0===t},represent:function(){return""}})},{"../../type":16}],24:[function(t,e,n){"use strict";var r=t("../type");e.exports=new r("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}})},{"../type":16}],25:[function(t,e,n){"use strict";var r=t("../type");e.exports=new r("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}})},{"../type":16}],26:[function(t,e,n){"use strict";var r=t("../type");e.exports=new r("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)},construct:function(){return null},predicate:function(t){return null===t},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},{"../type":16}],27:[function(t,e,n){"use strict";var r=t("../type"),i=Object.prototype.hasOwnProperty,o=Object.prototype.toString;e.exports=new r("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,r,s,a,c=[],u=t;for(e=0,n=u.length;e<n;e+=1){if(r=u[e],a=!1,"[object Object]"!==o.call(r))return!1;for(s in r)if(i.call(r,s)){if(a)return!1;a=!0}if(!a)return!1;if(-1!==c.indexOf(s))return!1;c.push(s)}return!0},construct:function(t){return null!==t?t:[]}})},{"../type":16}],28:[function(t,e,n){"use strict";var r=t("../type"),i=Object.prototype.toString;e.exports=new r("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,r,o,s,a=t;for(s=new Array(a.length),e=0,n=a.length;e<n;e+=1){if(r=a[e],"[object Object]"!==i.call(r))return!1;if(1!==(o=Object.keys(r)).length)return!1;s[e]=[o[0],r[o[0]]]}return!0},construct:function(t){if(null===t)return[];var e,n,r,i,o,s=t;for(o=new Array(s.length),e=0,n=s.length;e<n;e+=1)r=s[e],i=Object.keys(r),o[e]=[i[0],r[i[0]]];return o}})},{"../type":16}],29:[function(t,e,n){"use strict";var r=t("../type");e.exports=new r("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}})},{"../type":16}],30:[function(t,e,n){"use strict";var r=t("../type"),i=Object.prototype.hasOwnProperty;e.exports=new r("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(t){if(null===t)return!0;var e,n=t;for(e in n)if(i.call(n,e)&&null!==n[e])return!1;return!0},construct:function(t){return null!==t?t:{}}})},{"../type":16}],31:[function(t,e,n){"use strict";var r=t("../type");e.exports=new r("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}})},{"../type":16}],32:[function(t,e,n){"use strict";var r=t("../type"),i=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),o=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");e.exports=new r("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==i.exec(t)||null!==o.exec(t))},construct:function(t){var e,n,r,s,a,c,u,l,p=0,f=null;if(null===(e=i.exec(t))&&(e=o.exec(t)),null===e)throw new Error("Date resolve error");if(n=+e[1],r=+e[2]-1,s=+e[3],!e[4])return new Date(Date.UTC(n,r,s));if(a=+e[4],c=+e[5],u=+e[6],e[7]){for(p=e[7].slice(0,3);p.length<3;)p+="0";p=+p}return e[9]&&(f=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(f=-f)),l=new Date(Date.UTC(n,r,s,a,c,u,p)),f&&l.setTime(l.getTime()-f),l},instanceOf:Date,represent:function(t){return t.toISOString()}})},{"../type":16}],33:[function(t,e,r){(function(t){var n="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",s="[object Function]",a="[object Object]",c=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l[o]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l[s]=l["[object Map]"]=l["[object Number]"]=l[a]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1;var p="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,h=p||f||Function("return this")(),d="object"==typeof r&&r&&!r.nodeType&&r,m=d&&"object"==typeof e&&e&&!e.nodeType&&e,g=m&&m.exports===d,y=g&&p.process,v=function(){try{return y&&y.binding&&y.binding("util")}catch(t){}}(),w=v&&v.isTypedArray;function b(t,e){return"__proto__"==e?void 0:t[e]}var x,A,_,j=Array.prototype,k=Function.prototype,C=Object.prototype,L=h["__core-js_shared__"],O=k.toString,S=C.hasOwnProperty,M=(x=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"",E=C.toString,I=O.call(Object),F=RegExp("^"+O.call(S).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),T=g?h.Buffer:void 0,N=h.Symbol,D=h.Uint8Array,$=T?T.allocUnsafe:void 0,P=(A=Object.getPrototypeOf,_=Object,function(t){return A(_(t))}),R=Object.create,U=C.propertyIsEnumerable,q=j.splice,z=N?N.toStringTag:void 0,H=function(){try{var t=mt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Y=T?T.isBuffer:void 0,B=Math.max,V=Date.now,W=mt(h,"Map"),K=mt(Object,"create"),G=function(){function t(){}return function(e){if(!Ct(e))return{};if(R)return R(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Z(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function J(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Q(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function X(t){var e=this.__data__=new J(t);this.size=e.size}function tt(t,e){var n=xt(t),r=!n&&bt(t),i=!n&&!r&&_t(t),o=!n&&!r&&!i&&Ot(t),s=n||r||i||o,a=s?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],c=a.length;for(var u in t)!e&&!S.call(t,u)||s&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||gt(u,c))||a.push(u);return a}function et(t,e,n){(void 0!==n&&!wt(t[e],n)||void 0===n&&!(e in t))&&it(t,e,n)}function nt(t,e,n){var r=t[e];S.call(t,e)&&wt(r,n)&&(void 0!==n||e in t)||it(t,e,n)}function rt(t,e){for(var n=t.length;n--;)if(wt(t[n][0],e))return n;return-1}function it(t,e,n){"__proto__"==e&&H?H(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}Z.prototype.clear=function(){this.__data__=K?K(null):{},this.size=0},Z.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Z.prototype.get=function(t){var e=this.__data__;if(K){var r=e[t];return r===n?void 0:r}return S.call(e,t)?e[t]:void 0},Z.prototype.has=function(t){var e=this.__data__;return K?void 0!==e[t]:S.call(e,t)},Z.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=K&&void 0===e?n:e,this},J.prototype.clear=function(){this.__data__=[],this.size=0},J.prototype.delete=function(t){var e=this.__data__,n=rt(e,t);return!(n<0)&&(n==e.length-1?e.pop():q.call(e,n,1),--this.size,!0)},J.prototype.get=function(t){var e=this.__data__,n=rt(e,t);return n<0?void 0:e[n][1]},J.prototype.has=function(t){return rt(this.__data__,t)>-1},J.prototype.set=function(t,e){var n=this.__data__,r=rt(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new Z,map:new(W||J),string:new Z}},Q.prototype.delete=function(t){var e=dt(this,t).delete(t);return this.size-=e?1:0,e},Q.prototype.get=function(t){return dt(this,t).get(t)},Q.prototype.has=function(t){return dt(this,t).has(t)},Q.prototype.set=function(t,e){var n=dt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},X.prototype.clear=function(){this.__data__=new J,this.size=0},X.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},X.prototype.get=function(t){return this.__data__.get(t)},X.prototype.has=function(t){return this.__data__.has(t)},X.prototype.set=function(t,e){var n=this.__data__;if(n instanceof J){var r=n.__data__;if(!W||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Q(r)}return n.set(t,e),this.size=n.size,this};var ot,st=function(t,e,n){for(var r=-1,i=Object(t),o=n(t),s=o.length;s--;){var a=o[ot?s:++r];if(!1===e(i[a],a,i))break}return t};function at(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":z&&z in Object(t)?function(t){var e=S.call(t,z),n=t[z];try{t[z]=void 0;var r=!0}catch(t){}var i=E.call(t);r&&(e?t[z]=n:delete t[z]);return i}(t):function(t){return E.call(t)}(t)}function ct(t){return Lt(t)&&at(t)==o}function ut(t){return!(!Ct(t)||function(t){return!!M&&M in t}(t))&&(jt(t)?F:c).test(function(t){if(null!=t){try{return O.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}function lt(t){if(!Ct(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=yt(t),n=[];for(var r in t)("constructor"!=r||!e&&S.call(t,r))&&n.push(r);return n}function pt(t,e,n,r,i){t!==e&&st(e,(function(o,s){if(Ct(o))i||(i=new X),function(t,e,n,r,i,o,s){var c=b(t,n),u=b(e,n),l=s.get(u);if(l)return void et(t,n,l);var p=o?o(c,u,n+"",t,e,s):void 0,f=void 0===p;if(f){var h=xt(u),d=!h&&_t(u),m=!h&&!d&&Ot(u);p=u,h||d||m?xt(c)?p=c:Lt(x=c)&&At(x)?p=function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(c):d?(f=!1,p=function(t,e){if(e)return t.slice();var n=t.length,r=$?$(n):new t.constructor(n);return t.copy(r),r}(u,!0)):m?(f=!1,g=u,y=!0?(v=g.buffer,w=new v.constructor(v.byteLength),new D(w).set(new D(v)),w):g.buffer,p=new g.constructor(y,g.byteOffset,g.length)):p=[]:function(t){if(!Lt(t)||at(t)!=a)return!1;var e=P(t);if(null===e)return!0;var n=S.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&O.call(n)==I}(u)||bt(u)?(p=c,bt(c)?p=function(t){return function(t,e,n,r){var i=!n;n||(n={});var o=-1,s=e.length;for(;++o<s;){var a=e[o],c=r?r(n[a],t[a],a,n,t):void 0;void 0===c&&(c=t[a]),i?it(n,a,c):nt(n,a,c)}return n}(t,St(t))}(c):(!Ct(c)||r&&jt(c))&&(p=function(t){return"function"!=typeof t.constructor||yt(t)?{}:G(P(t))}(u))):f=!1}var g,y,v,w;var x;f&&(s.set(u,p),i(p,u,r,o,s),s.delete(u));et(t,n,p)}(t,e,s,n,pt,r,i);else{var c=r?r(b(t,s),o,s+"",t,e,i):void 0;void 0===c&&(c=o),et(t,s,c)}}),St)}function ft(t,e){return vt(function(t,e,n){return e=B(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=B(r.length-e,0),s=Array(o);++i<o;)s[i]=r[e+i];i=-1;for(var a=Array(e+1);++i<e;)a[i]=r[i];return a[e]=n(s),function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}(t,this,a)}}(t,e,It),t+"")}var ht=H?function(t,e){return H(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:It;function dt(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function mt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return ut(n)?n:void 0}function gt(t,e){var n=typeof t;return!!(e=e??i)&&("number"==n||"symbol"!=n&&u.test(t))&&t>-1&&t%1==0&&t<e}function yt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||C)}var vt=function(t){var e=0,n=0;return function(){var r=V(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(ht);function wt(t,e){return t===e||t!=t&&e!=e}var bt=ct(function(){return arguments}())?ct:function(t){return Lt(t)&&S.call(t,"callee")&&!U.call(t,"callee")},xt=Array.isArray;function At(t){return null!=t&&kt(t.length)&&!jt(t)}var _t=Y||function(){return!1};function jt(t){if(!Ct(t))return!1;var e=at(t);return e==s||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function kt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}function Ct(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Lt(t){return null!=t&&"object"==typeof t}var Ot=w?function(t){return function(e){return t(e)}}(w):function(t){return Lt(t)&&kt(t.length)&&!!l[at(t)]};function St(t){return At(t)?tt(t,!0):lt(t)}var Mt,Et=(Mt=function(t,e,n){pt(t,e,n)},ft((function(t,e){var n=-1,r=e.length,i=r>1?e[r-1]:void 0,o=r>2?e[2]:void 0;for(i=Mt.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(t,e,n){if(!Ct(n))return!1;var r=typeof e;return!!("number"==r?At(n)&&gt(e,n.length):"string"==r&&e in n)&&wt(n[e],t)}(e[0],e[1],o)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var s=e[n];s&&Mt(t,s,n,i)}return t})));function It(t){return t}e.exports=Et}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[2])(2)}))})),ace.define("ace/mode/yaml_worker",[],(function(t,e){"use strict";var n=t("../lib/oop"),r=t("../worker/mirror").Mirror,i=t("./yaml/yaml-lint").lint,o=e.YamlWorker=function(t){r.call(this,t),this.setTimeout(500),this.setOptions()};n.inherits(o,r),function(){this.setOptions=function(){this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.changeOptions=function(t){n.mixin(this.options,t),this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.onUpdate=function(){var t=this,e=this.doc.getValue(),n=[];i(e,{},(function(e){if(e){var r=!!e.mark;n.push({row:r?e.mark.line:0,column:r?e.mark.column:0,text:e.reason,type:"error",raw:e}),t.sender.emit("annotate",n)}else t.sender.emit("annotate",n)}))}}.call(o.prototype)}))}}]);
@@ -1 +1 @@
1
- (this.webpackChunktocco_admin=this.webpackChunktocco_admin||[]).push([[55208],{55208(e,t,n){e=n.nmd(e),ace.define("ace/ext/searchbox-css",["require","exports","module"],(function(e,t,n){n.exports='\n\n/* ------------------------------------------------------------------------------------------\n * Editor Search Form\n * --------------------------------------------------------------------------------------- */\n.ace_search {\n background-color: #ddd;\n color: #666;\n border: 1px solid #cbcbcb;\n border-top: 0 none;\n overflow: hidden;\n margin: 0;\n padding: 4px 6px 0 4px;\n position: absolute;\n top: 0;\n z-index: 99;\n white-space: normal;\n}\n.ace_search.left {\n border-left: 0 none;\n border-radius: 0px 0px 5px 0px;\n left: 0;\n}\n.ace_search.right {\n border-radius: 0px 0px 0px 5px;\n border-right: 0 none;\n right: 0;\n}\n\n.ace_search_form, .ace_replace_form {\n margin: 0 20px 4px 0;\n overflow: hidden;\n line-height: 1.9;\n}\n.ace_replace_form {\n margin-right: 0;\n}\n.ace_search_form.ace_nomatch {\n outline: 1px solid red;\n}\n\n.ace_search_field {\n border-radius: 3px 0 0 3px;\n background-color: white;\n color: black;\n border: 1px solid #cbcbcb;\n border-right: 0 none;\n outline: 0;\n padding: 0;\n font-size: inherit;\n margin: 0;\n line-height: inherit;\n padding: 0 6px;\n min-width: 17em;\n vertical-align: top;\n min-height: 1.8em;\n box-sizing: content-box;\n}\n.ace_searchbtn {\n border: 1px solid #cbcbcb;\n line-height: inherit;\n display: inline-block;\n padding: 0 6px;\n background: #fff;\n border-right: 0 none;\n border-left: 1px solid #dcdcdc;\n cursor: pointer;\n margin: 0;\n position: relative;\n color: #666;\n}\n.ace_searchbtn:last-child {\n border-radius: 0 3px 3px 0;\n border-right: 1px solid #cbcbcb;\n}\n.ace_searchbtn:disabled {\n background: none;\n cursor: default;\n}\n.ace_searchbtn:hover {\n background-color: #eef1f6;\n}\n.ace_searchbtn.prev, .ace_searchbtn.next {\n padding: 0px 0.7em\n}\n.ace_searchbtn.prev:after, .ace_searchbtn.next:after {\n content: "";\n border: solid 2px #888;\n width: 0.5em;\n height: 0.5em;\n border-width: 2px 0 0 2px;\n display:inline-block;\n transform: rotate(-45deg);\n}\n.ace_searchbtn.next:after {\n border-width: 0 2px 2px 0 ;\n}\n.ace_searchbtn_close {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;\n border-radius: 50%;\n border: 0 none;\n color: #656565;\n cursor: pointer;\n font: 16px/16px Arial;\n padding: 0;\n height: 14px;\n width: 14px;\n top: 9px;\n right: 7px;\n position: absolute;\n}\n.ace_searchbtn_close:hover {\n background-color: #656565;\n background-position: 50% 100%;\n color: white;\n}\n\n.ace_button {\n margin-left: 2px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -o-user-select: none;\n -ms-user-select: none;\n user-select: none;\n overflow: hidden;\n opacity: 0.7;\n border: 1px solid rgba(100,100,100,0.23);\n padding: 1px;\n box-sizing: border-box!important;\n color: black;\n}\n\n.ace_button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_button:active {\n background-color: #ddd;\n}\n\n.ace_button.checked {\n border-color: #3399ff;\n opacity:1;\n}\n\n.ace_search_options{\n margin-bottom: 3px;\n text-align: right;\n -webkit-user-select: none;\n -moz-user-select: none;\n -o-user-select: none;\n -ms-user-select: none;\n user-select: none;\n clear: both;\n}\n\n.ace_search_counter {\n float: left;\n font-family: arial;\n padding: 0 8px;\n}'})),ace.define("ace/ext/searchbox",["require","exports","module","ace/ext/searchbox","ace/ext/searchbox","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/ext/searchbox-css","ace/keyboard/hash_handler","ace/lib/keys","ace/config"],(function(e,t,n){"use strict";var i=e("../lib/dom"),o=e("../lib/lang"),c=e("../lib/event"),s=e("./searchbox-css"),a=e("../keyboard/hash_handler").HashHandler,r=e("../lib/keys"),h=e("../config").nls;i.importCssString(s,"ace_searchbox",!1);var l=function(){function e(e,t,n){this.activeInput,this.element=i.buildDom(["div",{class:"ace_search right"},["span",{action:"hide",class:"ace_searchbtn_close"}],["div",{class:"ace_search_form"},["input",{class:"ace_search_field",placeholder:h("search-box.find.placeholder","Search for"),spellcheck:"false"}],["span",{action:"findPrev",class:"ace_searchbtn prev"},"​"],["span",{action:"findNext",class:"ace_searchbtn next"},"​"],["span",{action:"findAll",class:"ace_searchbtn",title:"Alt-Enter"},h("search-box.find-all.text","All")]],["div",{class:"ace_replace_form"},["input",{class:"ace_search_field",placeholder:h("search-box.replace.placeholder","Replace with"),spellcheck:"false"}],["span",{action:"replaceAndFindNext",class:"ace_searchbtn"},h("search-box.replace-next.text","Replace")],["span",{action:"replaceAll",class:"ace_searchbtn"},h("search-box.replace-all.text","All")]],["div",{class:"ace_search_options"},["span",{action:"toggleReplace",class:"ace_button",title:h("search-box.toggle-replace.title","Toggle Replace mode"),style:"float:left;margin-top:-2px;padding:0 5px;"},"+"],["span",{class:"ace_search_counter"}],["span",{action:"toggleRegexpMode",class:"ace_button",title:h("search-box.toggle-regexp.title","RegExp Search")},".*"],["span",{action:"toggleCaseSensitive",class:"ace_button",title:h("search-box.toggle-case.title","CaseSensitive Search")},"Aa"],["span",{action:"toggleWholeWords",class:"ace_button",title:h("search-box.toggle-whole-word.title","Whole Word Search")},"\\b"],["span",{action:"searchInSelection",class:"ace_button",title:h("search-box.toggle-in-selection.title","Search In Selection")},"S"]]]),this.setSession=this.setSession.bind(this),this.$onEditorInput=this.onEditorInput.bind(this),this.$init(),this.setEditor(e),i.importCssString(s,"ace_searchbox",e.container),c.addListener(this.element,"touchstart",(function(e){e.stopPropagation()}),e)}return e.prototype.setEditor=function(e){e.searchBox=this,e.renderer.scroller.appendChild(this.element),this.editor=e},e.prototype.setSession=function(e){this.searchRange=null,this.$syncOptions(!0)},e.prototype.onEditorInput=function(){this.find(!1,!1,!0)},e.prototype.$initElements=function(e){this.searchBox=e.querySelector(".ace_search_form"),this.replaceBox=e.querySelector(".ace_replace_form"),this.searchOption=e.querySelector("[action=searchInSelection]"),this.replaceOption=e.querySelector("[action=toggleReplace]"),this.regExpOption=e.querySelector("[action=toggleRegexpMode]"),this.caseSensitiveOption=e.querySelector("[action=toggleCaseSensitive]"),this.wholeWordOption=e.querySelector("[action=toggleWholeWords]"),this.searchInput=this.searchBox.querySelector(".ace_search_field"),this.replaceInput=this.replaceBox.querySelector(".ace_search_field"),this.searchCounter=e.querySelector(".ace_search_counter")},e.prototype.$init=function(){var e=this.element;this.$initElements(e);var t=this;c.addListener(e,"mousedown",(function(e){setTimeout((function(){t.activeInput.focus()}),0),c.stopPropagation(e)})),c.addListener(e,"click",(function(e){var n=(e.target||e.srcElement).getAttribute("action");n&&t[n]?t[n]():t.$searchBarKb.commands[n]&&t.$searchBarKb.commands[n].exec(t),c.stopPropagation(e)})),c.addCommandKeyListener(e,(function(e,n,i){var o=r.keyCodeToString(i),s=t.$searchBarKb.findKeyCommand(n,o);s&&s.exec&&(s.exec(t),c.stopEvent(e))})),this.$onChange=o.delayedCall((function(){t.find(!1,!1)})),c.addListener(this.searchInput,"input",(function(){t.$onChange.schedule(20)})),c.addListener(this.searchInput,"focus",(function(){t.activeInput=t.searchInput,t.searchInput.value&&t.highlight()})),c.addListener(this.replaceInput,"focus",(function(){t.activeInput=t.replaceInput,t.searchInput.value&&t.highlight()}))},e.prototype.setSearchRange=function(e){this.searchRange=e,e?this.searchRangeMarker=this.editor.session.addMarker(e,"ace_active-line"):this.searchRangeMarker&&(this.editor.session.removeMarker(this.searchRangeMarker),this.searchRangeMarker=null)},e.prototype.$syncOptions=function(e){i.setCssClass(this.replaceOption,"checked",this.searchRange),i.setCssClass(this.searchOption,"checked",this.searchOption.checked),this.replaceOption.textContent=this.replaceOption.checked?"-":"+",i.setCssClass(this.regExpOption,"checked",this.regExpOption.checked),i.setCssClass(this.wholeWordOption,"checked",this.wholeWordOption.checked),i.setCssClass(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked);var t=this.editor.getReadOnly();this.replaceOption.style.display=t?"none":"",this.replaceBox.style.display=this.replaceOption.checked&&!t?"":"none",this.find(!1,!1,e)},e.prototype.highlight=function(e){this.editor.session.highlight(e||this.editor.$search.$options.re),this.editor.renderer.updateBackMarkers()},e.prototype.find=function(e,t,n){if(this.editor.session){var o=!this.editor.find(this.searchInput.value,{skipCurrent:e,backwards:t,wrap:!0,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked,preventScroll:n,range:this.searchRange})&&this.searchInput.value;i.setCssClass(this.searchBox,"ace_nomatch",o),this.editor._emit("findSearchBox",{match:!o}),this.highlight(),this.updateCounter()}},e.prototype.updateCounter=function(){var e=this.editor,t=e.$search.$options.re,n=t.unicode,i=0,c=0;if(t){var s=this.searchRange?e.session.getTextRange(this.searchRange):e.getValue();e.$search.$isMultilineSearch(e.getLastSearchOptions())&&(s=s.replace(/\r\n|\r|\n/g,"\n"),e.session.doc.$autoNewLine="\n");var a=e.session.doc.positionToIndex(e.selection.anchor);this.searchRange&&(a-=e.session.doc.positionToIndex(this.searchRange.start));for(var r,l=t.lastIndex=0;(r=t.exec(s))&&(i++,(l=r.index)<=a&&c++,!(i>999))&&(r[0]||(t.lastIndex=l+=o.skipEmptyMatch(s,l,n),!(l>=s.length))););}this.searchCounter.textContent=h("search-box.search-counter","$0 of $1",[c,i>999?"999+":i])},e.prototype.findNext=function(){this.find(!0,!1)},e.prototype.findPrev=function(){this.find(!0,!0)},e.prototype.findAll=function(){var e=!this.editor.findAll(this.searchInput.value,{regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked})&&this.searchInput.value;i.setCssClass(this.searchBox,"ace_nomatch",e),this.editor._emit("findSearchBox",{match:!e}),this.highlight(),this.hide()},e.prototype.replace=function(){this.editor.getReadOnly()||this.editor.replace(this.replaceInput.value)},e.prototype.replaceAndFindNext=function(){this.editor.getReadOnly()||(this.editor.replace(this.replaceInput.value),this.findNext())},e.prototype.replaceAll=function(){this.editor.getReadOnly()||this.editor.replaceAll(this.replaceInput.value)},e.prototype.hide=function(){this.active=!1,this.setSearchRange(null),this.editor.off("changeSession",this.setSession),this.editor.off("input",this.$onEditorInput),this.element.style.display="none",this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb),this.editor.focus()},e.prototype.show=function(e,t){this.active=!0,this.editor.on("changeSession",this.setSession),this.editor.on("input",this.$onEditorInput),this.element.style.display="",this.replaceOption.checked=t,this.editor.$search.$options.regExp&&(e=o.escapeRegExp(e)),null!=e&&(this.searchInput.value=e),this.searchInput.focus(),this.searchInput.select(),this.editor.keyBinding.addKeyboardHandler(this.$closeSearchBarKb),this.$syncOptions(!0)},e.prototype.isFocused=function(){var e=document.activeElement;return e==this.searchInput||e==this.replaceInput},e}(),p=new a;p.bindKeys({"Ctrl-f|Command-f":function(e){var t=e.isReplace=!e.isReplace;e.replaceBox.style.display=t?"":"none",e.replaceOption.checked=!1,e.$syncOptions(),e.searchInput.focus()},"Ctrl-H|Command-Option-F":function(e){e.editor.getReadOnly()||(e.replaceOption.checked=!0,e.$syncOptions(),e.replaceInput.focus())},"Ctrl-G|Command-G":function(e){e.findNext()},"Ctrl-Shift-G|Command-Shift-G":function(e){e.findPrev()},esc:function(e){setTimeout((function(){e.hide()}))},Return:function(e){e.activeInput==e.replaceInput&&e.replace(),e.findNext()},"Shift-Return":function(e){e.activeInput==e.replaceInput&&e.replace(),e.findPrev()},"Alt-Return":function(e){e.activeInput==e.replaceInput&&e.replaceAll(),e.findAll()},Tab:function(e){(e.activeInput==e.replaceInput?e.searchInput:e.replaceInput).focus()}}),p.addCommands([{name:"toggleRegexpMode",bindKey:{win:"Alt-R|Alt-/",mac:"Ctrl-Alt-R|Ctrl-Alt-/"},exec:function(e){e.regExpOption.checked=!e.regExpOption.checked,e.$syncOptions()}},{name:"toggleCaseSensitive",bindKey:{win:"Alt-C|Alt-I",mac:"Ctrl-Alt-R|Ctrl-Alt-I"},exec:function(e){e.caseSensitiveOption.checked=!e.caseSensitiveOption.checked,e.$syncOptions()}},{name:"toggleWholeWords",bindKey:{win:"Alt-B|Alt-W",mac:"Ctrl-Alt-B|Ctrl-Alt-W"},exec:function(e){e.wholeWordOption.checked=!e.wholeWordOption.checked,e.$syncOptions()}},{name:"toggleReplace",exec:function(e){e.replaceOption.checked=!e.replaceOption.checked,e.$syncOptions()}},{name:"searchInSelection",exec:function(e){e.searchOption.checked=!e.searchRange,e.setSearchRange(e.searchOption.checked&&e.editor.getSelectionRange()),e.$syncOptions()}}]);var d=new a([{bindKey:"Esc",name:"closeSearchBar",exec:function(e){e.searchBox.hide()}}]);l.prototype.$searchBarKb=p,l.prototype.$closeSearchBarKb=d,t.SearchBox=l,t.Search=function(e,t){var n=e.searchBox||new l(e),i=e.session.selection.getRange(),o=i.isMultiLine()?"":e.session.getTextRange(i);n.show(o,t)}})),ace.require(["ace/ext/searchbox"],(function(t){e&&(e.exports=t)}))}}]);
1
+ (this.webpackChunktocco_admin=this.webpackChunktocco_admin||[]).push([[55208],{55208(e,t,n){e=n.nmd(e),ace.define("ace/ext/searchbox-css",["require","exports","module"],(function(e,t,n){n.exports='\n\n/* ------------------------------------------------------------------------------------------\n * Editor Search Form\n * --------------------------------------------------------------------------------------- */\n.ace_search {\n background-color: #ddd;\n color: #666;\n border: 1px solid #cbcbcb;\n border-top: 0 none;\n overflow: hidden;\n margin: 0;\n padding: 4px 6px 0 4px;\n position: absolute;\n top: 0;\n z-index: 99;\n white-space: normal;\n}\n.ace_search.left {\n border-left: 0 none;\n border-radius: 0px 0px 5px 0px;\n left: 0;\n}\n.ace_search.right {\n border-radius: 0px 0px 0px 5px;\n border-right: 0 none;\n right: 0;\n}\n\n.ace_search_form, .ace_replace_form {\n margin: 0 20px 4px 0;\n overflow: hidden;\n line-height: 1.9;\n}\n.ace_replace_form {\n margin-right: 0;\n}\n.ace_search_form.ace_nomatch {\n outline: 1px solid red;\n}\n\n.ace_search_field {\n border-radius: 3px 0 0 3px;\n background-color: white;\n color: black;\n border: 1px solid #cbcbcb;\n border-right: 0 none;\n outline: 0;\n padding: 0;\n font-size: inherit;\n margin: 0;\n line-height: inherit;\n padding: 0 6px;\n min-width: 17em;\n vertical-align: top;\n min-height: 1.8em;\n box-sizing: content-box;\n}\n.ace_searchbtn {\n border: 1px solid #cbcbcb;\n line-height: inherit;\n display: inline-block;\n padding: 0 6px;\n background: #fff;\n border-right: 0 none;\n border-left: 1px solid #dcdcdc;\n cursor: pointer;\n margin: 0;\n position: relative;\n color: #666;\n}\n.ace_searchbtn:last-child {\n border-radius: 0 3px 3px 0;\n border-right: 1px solid #cbcbcb;\n}\n.ace_searchbtn:disabled {\n background: none;\n cursor: default;\n}\n.ace_searchbtn:hover {\n background-color: #eef1f6;\n}\n.ace_searchbtn.prev, .ace_searchbtn.next {\n padding: 0px 0.7em\n}\n.ace_searchbtn.prev:after, .ace_searchbtn.next:after {\n content: "";\n border: solid 2px #888;\n width: 0.5em;\n height: 0.5em;\n border-width: 2px 0 0 2px;\n display:inline-block;\n transform: rotate(-45deg);\n}\n.ace_searchbtn.next:after {\n border-width: 0 2px 2px 0 ;\n}\n.ace_searchbtn_close {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;\n border-radius: 50%;\n border: 0 none;\n color: #656565;\n cursor: pointer;\n font: 16px/16px Arial;\n padding: 0;\n height: 14px;\n width: 14px;\n top: 9px;\n right: 7px;\n position: absolute;\n}\n.ace_searchbtn_close:hover {\n background-color: #656565;\n background-position: 50% 100%;\n color: white;\n}\n\n.ace_button {\n margin-left: 2px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -o-user-select: none;\n -ms-user-select: none;\n user-select: none;\n overflow: hidden;\n opacity: 0.7;\n border: 1px solid rgba(100,100,100,0.23);\n padding: 1px;\n box-sizing: border-box!important;\n color: black;\n}\n\n.ace_button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_button:active {\n background-color: #ddd;\n}\n\n.ace_button.checked {\n border-color: #3399ff;\n opacity:1;\n}\n\n.ace_search_options{\n margin-bottom: 3px;\n text-align: right;\n -webkit-user-select: none;\n -moz-user-select: none;\n -o-user-select: none;\n -ms-user-select: none;\n user-select: none;\n clear: both;\n}\n\n.ace_search_counter {\n float: left;\n font-family: arial;\n padding: 0 8px;\n}'})),ace.define("ace/ext/searchbox",["require","exports","module","ace/ext/searchbox","ace/ext/searchbox","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/ext/searchbox-css","ace/keyboard/hash_handler","ace/lib/keys","ace/config"],(function(e,t,n){"use strict";var i=e("../lib/dom"),o=e("../lib/lang"),c=e("../lib/event"),s=e("./searchbox-css"),a=e("../keyboard/hash_handler").HashHandler,r=e("../lib/keys"),h=e("../config").nls;i.importCssString(s,"ace_searchbox",!1);var l=function(){function e(e,t,n){this.activeInput,this.element=i.buildDom(["div",{class:"ace_search right"},["span",{action:"hide",class:"ace_searchbtn_close"}],["div",{class:"ace_search_form"},["input",{class:"ace_search_field",placeholder:h("search-box.find.placeholder","Search for"),spellcheck:"false"}],["span",{action:"findPrev",class:"ace_searchbtn prev"},"​"],["span",{action:"findNext",class:"ace_searchbtn next"},"​"],["span",{action:"findAll",class:"ace_searchbtn",title:"Alt-Enter"},h("search-box.find-all.text","All")]],["div",{class:"ace_replace_form"},["input",{class:"ace_search_field",placeholder:h("search-box.replace.placeholder","Replace with"),spellcheck:"false"}],["span",{action:"replaceAndFindNext",class:"ace_searchbtn"},h("search-box.replace-next.text","Replace")],["span",{action:"replaceAll",class:"ace_searchbtn"},h("search-box.replace-all.text","All")]],["div",{class:"ace_search_options"},["span",{action:"toggleReplace",class:"ace_button",title:h("search-box.toggle-replace.title","Toggle Replace mode"),style:"float:left;margin-top:-2px;padding:0 5px;"},"+"],["span",{class:"ace_search_counter"}],["span",{action:"toggleRegexpMode",class:"ace_button",title:h("search-box.toggle-regexp.title","RegExp Search")},".*"],["span",{action:"toggleCaseSensitive",class:"ace_button",title:h("search-box.toggle-case.title","CaseSensitive Search")},"Aa"],["span",{action:"toggleWholeWords",class:"ace_button",title:h("search-box.toggle-whole-word.title","Whole Word Search")},"\\b"],["span",{action:"searchInSelection",class:"ace_button",title:h("search-box.toggle-in-selection.title","Search In Selection")},"S"]]]),this.setSession=this.setSession.bind(this),this.$onEditorInput=this.onEditorInput.bind(this),this.$init(),this.setEditor(e),i.importCssString(s,"ace_searchbox",e.container),c.addListener(this.element,"touchstart",(function(e){e.stopPropagation()}),e)}return e.prototype.setEditor=function(e){e.searchBox=this,e.renderer.scroller.appendChild(this.element),this.editor=e},e.prototype.setSession=function(e){this.searchRange=null,this.$syncOptions(!0)},e.prototype.onEditorInput=function(){this.find(!1,!1,!0)},e.prototype.$initElements=function(e){this.searchBox=e.querySelector(".ace_search_form"),this.replaceBox=e.querySelector(".ace_replace_form"),this.searchOption=e.querySelector("[action=searchInSelection]"),this.replaceOption=e.querySelector("[action=toggleReplace]"),this.regExpOption=e.querySelector("[action=toggleRegexpMode]"),this.caseSensitiveOption=e.querySelector("[action=toggleCaseSensitive]"),this.wholeWordOption=e.querySelector("[action=toggleWholeWords]"),this.searchInput=this.searchBox.querySelector(".ace_search_field"),this.replaceInput=this.replaceBox.querySelector(".ace_search_field"),this.searchCounter=e.querySelector(".ace_search_counter")},e.prototype.$init=function(){var e=this.element;this.$initElements(e);var t=this;c.addListener(e,"mousedown",(function(e){setTimeout((function(){t.activeInput.focus()}),0),c.stopPropagation(e)})),c.addListener(e,"click",(function(e){var n=(e.target||e.srcElement).getAttribute("action");n&&t[n]?t[n]():t.$searchBarKb.commands[n]&&t.$searchBarKb.commands[n].exec(t),c.stopPropagation(e)})),c.addCommandKeyListener(e,(function(e,n,i){var o=r.keyCodeToString(i),s=t.$searchBarKb.findKeyCommand(n,o);s&&s.exec&&(s.exec(t),c.stopEvent(e))})),this.$onChange=o.delayedCall((function(){t.find(!1,!1)})),c.addListener(this.searchInput,"input",(function(){t.$onChange.schedule(20)})),c.addListener(this.searchInput,"focus",(function(){t.activeInput=t.searchInput,t.searchInput.value&&t.highlight()})),c.addListener(this.replaceInput,"focus",(function(){t.activeInput=t.replaceInput,t.searchInput.value&&t.highlight()}))},e.prototype.setSearchRange=function(e){this.searchRange=e,e?this.searchRangeMarker=this.editor.session.addMarker(e,"ace_active-line"):this.searchRangeMarker&&(this.editor.session.removeMarker(this.searchRangeMarker),this.searchRangeMarker=null)},e.prototype.$syncOptions=function(e){i.setCssClass(this.replaceOption,"checked",this.searchRange),i.setCssClass(this.searchOption,"checked",this.searchOption.checked),this.replaceOption.textContent=this.replaceOption.checked?"-":"+",i.setCssClass(this.regExpOption,"checked",this.regExpOption.checked),i.setCssClass(this.wholeWordOption,"checked",this.wholeWordOption.checked),i.setCssClass(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked);var t=this.editor.getReadOnly();this.replaceOption.style.display=t?"none":"",this.replaceBox.style.display=this.replaceOption.checked&&!t?"":"none",this.find(!1,!1,e)},e.prototype.highlight=function(e){this.editor.session.highlight(e||this.editor.$search.$options.re),this.editor.renderer.updateBackMarkers()},e.prototype.find=function(e,t,n){if(this.editor.session){var o=!this.editor.find(this.searchInput.value,{skipCurrent:e,backwards:t,wrap:!0,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked,preventScroll:n,range:this.searchRange})&&this.searchInput.value;i.setCssClass(this.searchBox,"ace_nomatch",o),this.editor._emit("findSearchBox",{match:!o}),this.highlight(),this.updateCounter()}},e.prototype.updateCounter=function(){var e=this.editor,t=e.$search.$options.re,n=t.unicode,i=0,c=0;if(t){var s=this.searchRange?e.session.getTextRange(this.searchRange):e.getValue();e.$search.$isMultilineSearch(e.getLastSearchOptions())&&(s=s.replace(/\r\n|\r|\n/g,"\n"),e.session.doc.$autoNewLine="\n");var a=e.session.doc.positionToIndex(e.selection.anchor);this.searchRange&&(a-=e.session.doc.positionToIndex(this.searchRange.start));for(var r,l=t.lastIndex=0;(r=t.exec(s))&&(i++,(l=r.index)<=a&&c++,!(i>999))&&(r[0]||(t.lastIndex=l+=o.skipEmptyMatch(s,l,n),!(l>=s.length))););}this.searchCounter.textContent=h("search-box.search-counter","$0 of $1",[c,i>999?"999+":i])},e.prototype.findNext=function(){this.find(!0,!1)},e.prototype.findPrev=function(){this.find(!0,!0)},e.prototype.findAll=function(){var e=!this.editor.findAll(this.searchInput.value,{regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked})&&this.searchInput.value;i.setCssClass(this.searchBox,"ace_nomatch",e),this.editor._emit("findSearchBox",{match:!e}),this.highlight(),this.hide()},e.prototype.replace=function(){this.editor.getReadOnly()||this.editor.replace(this.replaceInput.value)},e.prototype.replaceAndFindNext=function(){this.editor.getReadOnly()||(this.editor.replace(this.replaceInput.value),this.findNext())},e.prototype.replaceAll=function(){this.editor.getReadOnly()||this.editor.replaceAll(this.replaceInput.value)},e.prototype.hide=function(){this.active=!1,this.setSearchRange(null),this.editor.off("changeSession",this.setSession),this.editor.off("input",this.$onEditorInput),this.element.style.display="none",this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb),this.editor.focus()},e.prototype.show=function(e,t){this.active=!0,this.editor.on("changeSession",this.setSession),this.editor.on("input",this.$onEditorInput),this.element.style.display="",this.replaceOption.checked=t,this.editor.$search.$options.regExp&&(e=o.escapeRegExp(e)),null!=e&&(this.searchInput.value=e),this.searchInput.focus(),this.searchInput.select(),this.editor.keyBinding.addKeyboardHandler(this.$closeSearchBarKb),this.$syncOptions(!0)},e.prototype.isFocused=function(){var e=document.activeElement;return e==this.searchInput||e==this.replaceInput},e}(),p=new a;p.bindKeys({"Ctrl-f|Command-f":function(e){var t=e.isReplace=!e.isReplace;e.replaceBox.style.display=t?"":"none",e.replaceOption.checked=!1,e.$syncOptions(),e.searchInput.focus()},"Ctrl-H|Command-Option-F":function(e){e.editor.getReadOnly()||(e.replaceOption.checked=!0,e.$syncOptions(),e.replaceInput.focus())},"Ctrl-G|Command-G":function(e){e.findNext()},"Ctrl-Shift-G|Command-Shift-G":function(e){e.findPrev()},esc:function(e){setTimeout((function(){e.hide()}))},Return:function(e){e.activeInput==e.replaceInput&&e.replace(),e.findNext()},"Shift-Return":function(e){e.activeInput==e.replaceInput&&e.replace(),e.findPrev()},"Alt-Return":function(e){e.activeInput==e.replaceInput&&e.replaceAll(),e.findAll()},"Tab|Shift-Tab":function(e){(e.activeInput==e.replaceInput?e.searchInput:e.replaceInput).focus()}}),p.addCommands([{name:"toggleRegexpMode",bindKey:{win:"Alt-R|Alt-/",mac:"Ctrl-Alt-R|Ctrl-Alt-/"},exec:function(e){e.regExpOption.checked=!e.regExpOption.checked,e.$syncOptions()}},{name:"toggleCaseSensitive",bindKey:{win:"Alt-C|Alt-I",mac:"Ctrl-Alt-R|Ctrl-Alt-I"},exec:function(e){e.caseSensitiveOption.checked=!e.caseSensitiveOption.checked,e.$syncOptions()}},{name:"toggleWholeWords",bindKey:{win:"Alt-B|Alt-W",mac:"Ctrl-Alt-B|Ctrl-Alt-W"},exec:function(e){e.wholeWordOption.checked=!e.wholeWordOption.checked,e.$syncOptions()}},{name:"toggleReplace",exec:function(e){e.replaceOption.checked=!e.replaceOption.checked,e.$syncOptions()}},{name:"searchInSelection",exec:function(e){e.searchOption.checked=!e.searchRange,e.setSearchRange(e.searchOption.checked&&e.editor.getSelectionRange()),e.$syncOptions()}}]);var d=new a([{bindKey:"Esc",name:"closeSearchBar",exec:function(e){e.searchBox.hide()}}]);l.prototype.$searchBarKb=p,l.prototype.$closeSearchBarKb=d,t.SearchBox=l,t.Search=function(e,t){var n=e.searchBox||new l(e),i=e.session.selection.getRange(),o=i.isMultiLine()?"":e.session.getTextRange(i);n.show(o,t)}})),ace.require(["ace/ext/searchbox"],(function(t){e&&(e.exports=t)}))}}]);
@@ -1 +1 @@
1
- (this.webpackChunktocco_admin=this.webpackChunktocco_admin||[]).push([[55348],{55348(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>zn});var r,i,o,a,s,c=n(64467),l=n(10582),u=n(6730),d=n(6192),p=n(12199),y=n(97699),f=n(71468),h="history/UPDATE_HISTORY",v="history/SET_MODEL_NAME",m="history/SET_CURRENT_ENTITY",g="history/SET_VIEW",b="history/SET_BREADCRUMBS_INFO",A=function(e){return{type:b,payload:{breadcrumbsInfo:e}}},x=n(4883),w=n(50766),O=n(73615),T="historyEntityOverview/INITIALIZE_ENTITY_OVERVIEW",j="historyEntityOverview/SET_SEARCH_FORM",S="historyEntityOverview/SET_LIST_FORM",E="historyEntityOverview/ADD_ENTRY",P="historyEntityOverview/SET_MAX_AGE",C=function(e){return{type:j,payload:{searchForm:e}}},k=function(e){return{type:S,payload:{listForm:e}}},D=function(e,t){return{type:E,payload:{pk:e,entry:t}}},_=function(e){return{type:P,payload:{maxAge:e}}},F=n(88208),N=n(5544),R=n(144),I=n(38978),L=n(15115),M=n(57528),J=n(51510),V=n(57488),W=n(23366),H=J.Ay.div.withConfig({displayName:"StyledPaneWrapper"})(r||(r=(0,M.A)(["\n display: flex;\n height: 100%;\n flex-direction: column;\n"]))),B=J.Ay.div.withConfig({displayName:"StyledListView"})(i||(i=(0,M.A)(["\n display: grid;\n grid-template-rows: [action-start] auto [table-start] minmax(0, 1fr);\n height: 100%;\n width: 100%;\n"]))),z=J.Ay.div.withConfig({displayName:"StyledListWrapper"})(o||(o=(0,M.A)(["\n grid-row-start: table-start;\n border-radius: ",";\n overflow: clip;\n margin-bottom: ",";\n"])),V.t7.radii("large"),V.t7.space("outerPadding")),q=(0,J.Ay)(W.Fu).withConfig({displayName:"StyledSidepanelContent"})(a||(a=(0,M.A)(["\n overflow-x: auto;\n"]))),G=n(74848);const Q=function(e){var t=e.SidepanelComponent,n=e.DetailComponent,r=(0,x.useState)(!1),i=(0,N.A)(r,2),o=i[0],a=i[1];return(0,G.jsx)(H,{children:(0,G.jsxs)(R.A,{sidepanelPosition:"left",sidepanelCollapsed:o,setSidepanelCollapsed:a,scrollBehaviour:"inline",children:[(0,G.jsxs)(I.A,{children:[s||(s=(0,G.jsx)(L.A,{})),t]}),(0,G.jsx)(q,{children:(0,G.jsx)(B,{children:(0,G.jsx)(z,{children:n})})})]})})};var U,Y,K="historyTable/SET_CURRENT_PAGE",Z="historyTable/LOAD_NEW_PAGE",X="historyTable/SET_TOTAL_COUNT",$="historyTable/SET_SEARCH_FIELDS",ee="historyTable/SET_TABLE_DATA",te="historyTable/SET_LOADING",ne="historyTable/ON_SELECT_CHANGE",re="historyTable/SET_SELECTION",ie=function(e){return{type:X,payload:{totalCount:e}}},oe=function(e){return{type:ee,payload:{tableData:e}}},ae=function(e){return{type:te,payload:{loading:e}}},se=function(e){return{type:re,payload:{selection:e}}},ce=n(60895),le=n.n(ce),ue=n(17678),de=n(26166),pe=n(31934),ye=J.Ay.div.withConfig({displayName:"Box"})(U||(U=(0,M.A)(["\n background-color: ",";\n overflow-y: auto;\n padding: "," "," "," ",";\n position: relative;\n border-radius: 0;\n\n "," {\n margin-bottom: 0;\n }\n\n &:first-of-type {\n z-index: 2; /* higher than StyledTether to prevent cover on scroll */\n }\n"])),V.t7.color("paper"),de.A.space(-.75),de.A.space(-.375),de.A.space(-1.1),de.A.space(-.375),pe.A);J.Ay.div.withConfig({displayName:"StyledExtendSearchButtonWrapper"})(Y||(Y=(0,M.A)(["\n && {\n width: 100%;\n text-align: center;\n }\n"])));const fe=function(e){var t=e.searchFormDefinition,n=e.setSearchFields,r=e.setCurrentPage,i=(0,x.useCallback)((function(e){var t=e.values,i=e.event,o=Object.keys(t).length>0;"init"===i?(r(1),n(o?t:{})):le()((function(){r(1),n(o?t:{})}),500)}),[n,r]);return t.children?(0,G.jsx)(ye,{children:(0,G.jsx)(ue.A,{form:t,noButtons:!0,validate:!1,mappingType:"search",mode:"search",onChange:i,onSubmit:i,labelPosition:"inside"})}):null};var he={setSearchFields:function(e){return{type:$,payload:{searchFields:e}}},setCurrentPage:function(e){return{type:K,payload:{currentPage:e}}}};const ve=(0,f.Ng)((function(){return{}}),he)(fe);var me,ge,be,Ae=n(72954),xe=n(16172),we=n(41394),Oe=n(11341),Te=function(e){return!e.hidden},je=function(e,t){return{username:t.username,entityModel:e,entityKey:t.entity_key,ipAddress:t.ip_address,operation:t.operation,dateFrom:Se(t,"from"),dateTo:Se(t,"to")}},Se=function(e,t){var n;return null!=e&&null!==(n=e.date)&&void 0!==n&&n.isRangeValue?e.date[t]:null!=e&&e.date?"to"===t?(0,xe.f)(null==e?void 0:e.date,1).toISOString():(0,we.H)(null==e?void 0:e.date).toISOString():null==e?void 0:e.date},Ee=n(48235),Pe=n(1671),Ce=J.Ay.div.withConfig({displayName:"StyledTableWrapper"})(me||(me=(0,M.A)(["\n width: 100%;\n height: 100%;\n overflow: auto;\n\n && th {\n border-bottom: 3px solid ",";\n padding: "," 0 "," 0;\n }\n"])),V.t7.color("backgroundBody"),de.A.space(-1.1),de.A.space(-1.1)),ke=(J.Ay.div.withConfig({displayName:"StyledColumnContentWrapper"})(ge||(ge=(0,M.A)(["\n display: flex;\n align-items: center;\n\n > * {\n margin-right: ",";\n }\n"])),de.A.space(-2)),J.Ay.div.withConfig({displayName:"StyledCell"})(be||(be=(0,M.A)(["\n display: flex;\n align-items: center;\n width: 100%;\n\n "," {\n margin-right: 10px;\n }\n"])),Pe.NR)),De=function(e){var t=e.column,n=e.rowData;return null!=t&&t.children?(0,G.jsx)(G.Fragment,{children:t.children.map((function(e){var t=e.path,r=e.dataType,i=e.id,o=Ee.A.factory("list",r),a=n[t];return(0,G.jsx)(ke,{children:(0,G.jsx)(o,{type:r,mappingType:"list",formField:e,value:a,breakWords:!1})},i)}))}):null};const _e=function(e){var t=e.tableData,n=e.listFormDefinition,r=e.totalCount,i=e.currentPage,o=e.recordsPerPage,a=e.loadNewPage,s=e.selection,c=e.onSelectChange,l=e.selectionStyle,u=e.loading,d=e.onRowClick;if(!n.children)return null;var p=function(e,t){return e.table.children.map((function(e){return{id:e.id,label:e.label,dynamic:!0,sorting:{sortable:!1},shrinkToContent:e.shrinkToContent||!1,sticky:e.sticky||!1,children:e.children.filter(Te),resizable:!e.widthFixed,fixedPosition:!0,alignment:"left",CellRenderer:t}}))}({table:n.children.find((function(e){return e.componentType===Oe.A.componentTypes.TABLE}))},De);return(0,G.jsx)(Ce,{children:(0,G.jsx)(Ae.A,{columns:p,data:t,scrollBehaviour:"inline",paginationInfo:{currentPage:i,recordsPerPage:o,totalCount:r},onPageChange:a,selectionStyle:l,selection:s,onSelectionChange:c,hasSelectionHeader:!1,onRowClick:d,clickable:Boolean(d),dataLoadingInProgress:u})})};var Fe={loadNewPage:function(e){return{type:Z,payload:{newPage:e}}},onSelectChange:function(e,t){return{type:ne,payload:{keys:e,isSelected:t}}}};const Ne=(0,f.Ng)((function(e){return{loading:e.historyTable.loading,tableData:e.historyTable.tableData,totalCount:e.historyTable.totalCount,currentPage:e.historyTable.currentPage,recordsPerPage:e.historyTable.recordsPerPage,selection:e.historyTable.selection}}),Fe)(_e);var Re=n(53986),Ie=["theme"];function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Me=(0,x.lazy)((function(){return n.e(10561).then(n.bind(n,10561))}));const Je=(0,J.SL)((function(e){var t=e.theme,n=(0,Re.A)(e,Ie);return(0,G.jsx)(Me,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hideSummary:!0,useDarkTheme:t.diffViewerDarkTheme,styles:{variables:{light:t.diffViewer,dark:t.diffViewer},diffContainer:{position:"absolute"},codeFold:{color:t.colors.text},lineNumber:{color:t.colors.text},titleBlock:{height:"auto"}}},n))}));var Ve,We,He,Be,ze,qe,Ge,Qe,Ue,Ye=n(17819),Ke=n(5016),Ze=J.Ay.div.withConfig({displayName:"StyledSidepanelSearchWrapper"})(Ve||(Ve=(0,M.A)(["\n display: grid;\n position: relative;\n grid-template-rows: auto 1fr;\n flex: 1;\n margin-bottom: ",";\n"])),V.t7.space("outerPadding")),Xe=J.Ay.div.withConfig({displayName:"StyledSearchFormWrapper"})(We||(We=(0,M.A)(["\n margin-bottom: 4px;\n"]))),$e=J.Ay.div.withConfig({displayName:"StyledTableWrapper"})(He||(He=(0,M.A)(["\n width: 100%;\n height: 100%;\n overflow: auto;\n border-radius: 0 0 "," ",";\n\n "," {\n overflow-x: hidden;\n }\n"])),V.t7.radii("large"),V.t7.radii("large"),Ye.dm),et=J.Ay.div.withConfig({displayName:"StyledContainer"})(Be||(Be=(0,M.A)(["\n height: 100%;\n background-color: ",";\n position: relative;\n border-radius: ",";\n overflow: clip;\n"])),V.t7.color("paper"),V.t7.radii("medium")),tt=J.Ay.div.withConfig({displayName:"StyledHintContainer"})(ze||(ze=(0,M.A)(["\n background-color: ",";\n height: 100%;\n padding: ",";\n text-align: center;\n"])),V.t7.color("paper"),de.A.space(1)),nt=J.Ay.span.withConfig({displayName:"StyledTitleWrapper"})(qe||(qe=(0,M.A)(["\n text-align: center;\n display: block;\n"]))),rt=(0,J.Ay)(Ke.oY).withConfig({displayName:"StyledTitleText"})(Ge||(Ge=(0,M.A)(["\n && {\n margin-left: ",";\n }\n"])),de.A.space(-1.37)),it=J.Ay.div.withConfig({displayName:"StyledDiffViewerWrapper"})(Qe||(Qe=(0,M.A)(["\n position: relative;\n overflow: auto;\n flex: 1;\n"]))),ot=n(76956),at=function(e){return(0,G.jsxs)(nt,{children:[(0,G.jsx)(ot.A,{value:null==e?void 0:e.created,type:"datetime"}),(0,G.jsxs)(rt,{children:["(",null==e?void 0:e.commitId,")"]}),Ue||(Ue=(0,G.jsx)("br",{})),(0,G.jsxs)(rt,{children:[null==e?void 0:e.username,"@",null==e?void 0:e.ipAddress]})]})};const st=function(e){var t=e.selection,n=e.entries[t[0]];return(0,G.jsx)(F.A,{required:[n],children:(0,G.jsx)(it,{children:(0,G.jsx)(Je,{oldValue:null==n?void 0:n.xmlContent,newValue:null==n?void 0:n.xmlContent,splitView:!1,showDiffOnly:!1,hideLineNumbers:!0,leftTitle:at(n)})})})};var ct=n(60436),lt=n(87046),ut=n(56375),dt=function(e){return null==e?void 0:e.replaceAll(' changed="true"',"")};const pt=function(e){var t=e.selection,n=e.entries,r=(0,ct.A)(t).sort((function(e,t){return e-t})),i=(0,N.A)(r,2),o=i[0],a=i[1],s=n[o],c=n[a];return(0,G.jsx)(F.A,{required:[s,c],children:(0,G.jsx)(it,{children:(0,G.jsx)(Je,{oldValue:dt(null==s?void 0:s.xmlContent),newValue:dt(null==c?void 0:c.xmlContent),leftTitle:at(s),rightTitle:at(c),compareMethod:"diffWords",codeFoldMessageRenderer:function(e){return(0,G.jsx)(ut.Ay.P,{children:(0,G.jsx)(lt.sA,{id:"client.actions.history.moreLines",values:{number:e}})})}})})})};var yt;const ft=function(e){var t=e.maxAge;return(0,G.jsxs)(tt,{children:[yt||(yt=(0,G.jsx)(ut.Ay.P,{children:(0,G.jsx)(lt.sA,{id:"client.actions.history.overviewEmpty"})})),(0,G.jsx)(ut.Ay.P,{children:(0,G.jsx)(lt.sA,{id:"client.actions.history.maxAge",values:{months:t}})})]})};const ht=function(e){var t=e.initializeEntityOverview,n=e.searchFormDefinition,r=e.listFormDefinition,i=e.entries,o=e.selection,a=e.maxAge;(0,x.useEffect)((function(){t()}),[t]);var s=(0,G.jsxs)(Ze,{children:[(0,G.jsx)(Xe,{children:(0,G.jsx)(ve,{searchFormDefinition:n})}),(0,G.jsx)($e,{children:(0,G.jsx)(Ne,{listFormDefinition:r,selectionStyle:"multi"})})]}),c=(0,G.jsxs)(et,{children:[0===o.length&&(0,G.jsx)(ft,{maxAge:a}),1===o.length&&(0,G.jsx)(st,{selection:o,entries:i}),2===o.length&&(0,G.jsx)(pt,{selection:o,entries:i})]});return(0,G.jsx)(F.A,{required:[n,r],children:(0,G.jsx)(Q,{SidepanelComponent:s,DetailComponent:c})})};var vt={initializeEntityOverview:function(){return{type:T}}};const mt=(0,f.Ng)((function(e){return{searchFormDefinition:e.historyEntityOverview.searchForm,listFormDefinition:e.historyEntityOverview.listForm,selection:e.historyTable.selection,entries:e.historyEntityOverview.entries,maxAge:e.historyEntityOverview.maxAge}}),vt)(ht);var gt="historyModelOverview/INITIALIZE_MODEL_OVERVIEW",bt="historyModelOverview/SET_SEARCH_FORM",At="historyModelOverview/SET_LIST_FORM",xt=function(e){return{type:bt,payload:{searchForm:e}}},wt=function(e){return{type:At,payload:{listForm:e}}};const Ot=function(e){var t=e.initializeModelOverview,n=e.modelName,r=e.tableData,i=e.searchFormDefinition,o=e.listFormDefinition,a=e.setSelection,s=(0,w.Zp)();(0,x.useEffect)((function(){t(),a([])}),[t,a]);var c=(0,G.jsx)(Ne,{listFormDefinition:o,selectionStyle:"none",onRowClick:function(e){var t=r.find((function(t){return t.__key===e}));s("/history/".concat(n,"/").concat(t.entity_key)),a([e])}});return(0,G.jsx)(F.A,{required:[i,o],children:(0,G.jsx)(Q,{SidepanelComponent:(0,G.jsx)(ve,{searchFormDefinition:i}),DetailComponent:c})})};var Tt={initializeModelOverview:function(){return{type:gt}},setSelection:se};const jt=(0,f.Ng)((function(e){return{modelName:e.history.modelName,tableData:e.historyTable.tableData,searchFormDefinition:e.historyModelOverview.searchForm,listFormDefinition:e.historyModelOverview.listForm}}),Tt)(Ot);var St,Et;const Pt=function(e){var t=e.updateHistory,n=e.view,r=e.breadcrumbsInfo,i=(0,w.zy)();return(0,x.useEffect)((function(){t(i.pathname)}),[t,i.pathname]),(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(O.A,{breadcrumbsInfo:r,updateDocumentTitle:!0,showToccoHome:!0}),"entityOverview"===n?St||(St=(0,G.jsx)(mt,{})):Et||(Et=(0,G.jsx)(jt,{}))]})};var Ct={updateHistory:function(e){return{type:h,payload:{pathname:e}}}};const kt=(0,f.Ng)((function(e){return{view:e.history.view,breadcrumbsInfo:e.history.breadcrumbsInfo}}),Ct)(Pt);var Dt=n(98671),_t={modelName:void 0,currentEntity:void 0,view:void 0,breadcrumbsInfo:[]},Ft=(0,c.A)((0,c.A)((0,c.A)((0,c.A)({},v,Dt.A.singleTransferReducer("modelName")),m,Dt.A.singleTransferReducer("currentEntity")),g,Dt.A.singleTransferReducer("view")),b,Dt.A.singleTransferReducer("breadcrumbsInfo"));const Nt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_t,t=arguments.length>1?arguments[1]:void 0,n=Ft[t.type];return n?n(e,t):e};var Rt=n(54756),It=n.n(Rt),Lt=n(69917),Mt=n(93750),Jt=n(37756),Vt=It().mark(Bt),Wt=It().mark(qt),Ht=function(e,t){return e.app.messages[t]};function Bt(){return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Q7)([(0,Lt.p8)(h,zt)]);case 1:case"end":return e.stop()}}),Vt)}function zt(e){var t=e.payload.pathname;return It().mark((function e(){var n;return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.T1)(Jt.A.extractParamsFromPath,"/history/:model{/:key}?",t);case 1:return n=e.sent,e.next=2,(0,Lt.yJ)((o=n.model,{type:v,payload:{modelName:o}}));case 2:return e.next=3,(0,Lt.yJ)((i=n.key?"entityOverview":"modelOverview",{type:g,payload:{view:i}}));case 3:return e.next=4,(0,Lt.yJ)((r=n.key,{type:m,payload:{currentEntity:r}}));case 4:return e.next=5,(0,Lt.T1)(qt,n.model,n.key);case 5:case"end":return e.stop()}var r,i,o}),e)}))()}function qt(e,t){var n,r,i,o,a;return It().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=1,(0,Lt.Lt)(Ht,"client.actions.history.title");case 1:return n=s.sent,s.next=2,(0,Lt.T1)(Mt.A.fetchModel,e);case 2:if(r=s.sent,i=[{display:"".concat(n," - ").concat(r.label),path:"history/".concat(e),title:"".concat(n," - ").concat(r.label),type:"list"}],!t){s.next=4;break}return s.next=3,(0,Lt.T1)(Mt.A.fetchDisplay,e,t);case 3:o=s.sent,a=o?"".concat(t," (").concat(o,")"):t,i.push({display:a,title:"".concat(n," - ").concat(r.label," - ").concat(a)});case 4:return s.next=5,(0,Lt.yJ)(A(i));case 5:case"end":return s.stop()}}),Wt)}function Gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gt(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ut={searchForm:void 0,listForm:void 0,entries:{},maxAge:void 0},Yt=(0,c.A)((0,c.A)((0,c.A)((0,c.A)({},j,Dt.A.singleTransferReducer("searchForm")),S,Dt.A.singleTransferReducer("listForm")),E,(function(e,t){var n=t.payload,r=n.pk,i=n.entry;return Qt(Qt({},e),{},{entries:Qt(Qt({},e.entries),{},(0,c.A)({},r,i))})})),P,Dt.A.singleTransferReducer("maxAge"));const Kt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ut,t=arguments.length>1?arguments[1]:void 0,n=Yt[t.type];return n?n(e,t):e};function Zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $t(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return en(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?en(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function en(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var tn=It().mark(sn),nn=It().mark(cn),rn=It().mark(un),on=It().mark(dn),an=function(e){return e.historyEntityOverview};function sn(){return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Q7)([(0,Lt.p8)(T,cn),(0,Lt.p8)(re,ln)]);case 1:case"end":return e.stop()}}),tn)}function cn(){var e,t,n,r;return It().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=1,(0,Lt.Q7)([(0,Lt.T1)(Mt.A.fetchForm,"History_action_entity_overview","search"),(0,Lt.T1)(Mt.A.fetchForm,"History_action_entity_overview","list"),(0,Lt.T1)(dn)]);case 1:return e=i.sent,t=(0,N.A)(e,2),n=t[0],r=t[1],i.next=2,(0,Lt.yJ)(C(n));case 2:return i.next=3,(0,Lt.yJ)(k(r));case 3:case"end":return i.stop()}}),nn)}function ln(e){var t=e.payload.selection;return It().mark((function e(){var n,r,i,o;return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=$t(t),e.prev=1,n.s();case 2:if((r=n.n()).done){e.next=4;break}return i=r.value,e.next=3,(0,Lt.T1)(un,i);case 3:e.next=2;break;case 4:e.next=6;break;case 5:e.prev=5,o=e.catch(1),n.e(o);case 6:return e.prev=6,n.f(),e.finish(6);case 7:case"end":return e.stop()}}),e,null,[[1,5,6,7]])}))()}function un(e){var t,n,r;return It().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=1,(0,Lt.Lt)(an);case 1:if(t=i.sent,!t.entries[e]){i.next=2;break}return i.abrupt("return");case 2:return i.prev=2,i.next=3,(0,Lt.T1)(Mt.A.requestSaga,"actions/history/".concat(e),{method:"GET"});case 3:return n=i.sent,r=Xt({xmlContent:n.body.xmlContent},n.body.entry),i.next=4,(0,Lt.yJ)(D(e,r));case 4:i.next=6;break;case 5:return i.prev=5,i.catch(2),i.next=6,(0,Lt.yJ)(d.A.toaster({type:"error",title:"client.actions.history.error.table.header",body:"client.actions.history.error.table.body"}));case 6:case"end":return i.stop()}}),rn,null,[[2,5]])}function dn(){var e,t;return It().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=1,(0,Lt.Lt)(an);case 1:if(e=n.sent,e.maxAge){n.next=3;break}return n.next=2,(0,Lt.T1)(Mt.A.requestSaga,"actions/history",{method:"GET"});case 2:return t=n.sent,n.next=3,(0,Lt.yJ)(_(t.body.maxAge));case 3:case"end":return n.stop()}}),on)}var pn={searchForm:void 0,listForm:void 0},yn=(0,c.A)((0,c.A)({},bt,Dt.A.singleTransferReducer("searchForm")),At,Dt.A.singleTransferReducer("listForm"));const fn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pn,t=arguments.length>1?arguments[1]:void 0,n=yn[t.type];return n?n(e,t):e};var hn=It().mark(mn),vn=It().mark(gn);function mn(){return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Q7)([(0,Lt.p8)(gt,gn)]);case 1:case"end":return e.stop()}}),hn)}function gn(){var e,t,n,r;return It().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=1,(0,Lt.Q7)([(0,Lt.T1)(Mt.A.fetchForm,"History_action_model_overview","search"),(0,Lt.T1)(Mt.A.fetchForm,"History_action_model_overview","list")]);case 1:return e=i.sent,t=(0,N.A)(e,2),n=t[0],r=t[1],i.next=2,(0,Lt.yJ)(xt(n));case 2:return i.next=3,(0,Lt.yJ)(wt(r));case 3:case"end":return i.stop()}}),vn)}var bn={totalCount:0,currentPage:1,recordsPerPage:25,searchFields:{},loading:!1,tableData:[],selection:[]},An=(0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)({},te,Dt.A.singleTransferReducer("loading")),X,Dt.A.singleTransferReducer("totalCount")),K,Dt.A.singleTransferReducer("currentPage")),Z,Dt.A.mappingTransferReducer("newPage","currentPage")),$,Dt.A.singleTransferReducer("searchFields")),ee,Dt.A.singleTransferReducer("tableData")),re,Dt.A.singleTransferReducer("selection"));const xn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:bn,t=arguments.length>1?arguments[1]:void 0,n=An[t.type];return n?n(e,t):e};var wn=n(63375),On=n.n(wn),Tn=function(e,t,n){return n?On()([].concat((0,ct.A)(e),(0,ct.A)(t))).slice(-2):e.filter((function(e){return!t.includes(e)}))};function jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jn(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var En=It().mark(Dn),Pn=It().mark(Fn),Cn=function(e){return e.history},kn=function(e){return e.historyTable};function Dn(){return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Q7)([(0,Lt.p8)(ne,_n),(0,Lt.p8)($,Fn),(0,Lt.p8)(Z,Fn)]);case 1:case"end":return e.stop()}}),En)}function _n(e){var t=e.payload,n=t.keys,r=t.isSelected;return It().mark((function e(){var t,i,o;return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Lt)(kn);case 1:return t=e.sent,i=t.selection,e.next=2,(0,Lt.T1)(Tn,i,n,r);case 2:return o=e.sent,e.next=3,(0,Lt.yJ)(se(o));case 3:case"end":return e.stop()}}),e)}))()}function Fn(){var e,t,n,r,i,o,a,s,c,l,u;return It().wrap((function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=1,(0,Lt.Lt)(Cn);case 1:return e=p.sent,t=e.modelName,n=e.currentEntity,p.next=2,(0,Lt.Lt)(kn);case 2:return r=p.sent,i=r.recordsPerPage,o=r.currentPage,a=r.searchFields,s=Sn(Sn(Sn({},je(t,a)),n?{entityKey:n}:{}),{},{offset:(o-1)*i,limit:i}),p.prev=3,p.next=4,(0,Lt.yJ)(ae(!0));case 4:return p.next=5,(0,Lt.T1)(Mt.A.requestSaga,"/actions/history",{method:"POST",body:s});case 5:return c=p.sent,l=c.body.entries,u=c.body.totalCount,p.next=6,(0,Lt.yJ)(oe(l.map((function(e){return{__key:(t=e).pk,entity_key:t.entityKey,operation:t.operation,username:t.username,ip_address:t.ipAddress,date:t.created};var t}))));case 6:return p.next=7,(0,Lt.yJ)(ie(u));case 7:return p.next=8,(0,Lt.yJ)(ae(!1));case 8:p.next=13;break;case 9:return p.prev=9,p.catch(3),p.next=10,(0,Lt.yJ)(d.A.toaster({type:"error",title:"client.actions.history.error.table.header",body:"client.actions.history.error.table.body"}));case 10:return p.next=11,(0,Lt.yJ)(oe([]));case 11:return p.next=12,(0,Lt.yJ)(ie(0));case 12:return p.next=13,(0,Lt.yJ)(ae(!1));case 13:case"end":return p.stop()}}),Pn,null,[[3,9]])}const Nn={history:Nt,historyEntityOverview:Kt,historyModelOverview:fn,historyTable:xn};var Rn,In=[Bt,sn,mn,Dn],Ln="history",Mn=["emitAction"],Jn=function(e,t,n,r){var i=Rn||(Rn=(0,G.jsx)(kt,{})),o=l.A.createStore(Nn,In,t,Ln);u.A.addToStore(o,(function(e){return e.input.emitAction}));var a=!(null!=n&&n.emitAction);return d.A.addToStore(o,a),y.A.addToStore(o,a,["console","remote","notification"]),p.A.addToStore(o,(function(e){return l.A.getEvents(Mn,e.input)})),l.A.createApp(Ln,i,o,{input:t,events:n,actions:[],publicPath:r,textResourceModules:["component","common","actions",Ln]})},Vn=function(e){return l.A.useApp({initApp:Jn,props:e,packageName:Ln}).component};Vn.propTypes={};const Wn=Vn;function Hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const Bn=function(e){return(0,G.jsx)(Wn,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hn(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))},zn={container:Bn}},20085(e){e.exports=function(e,t,n){if("function"!=typeof e)throw new TypeError("Expected a function");return setTimeout((function(){e.apply(void 0,n)}),t)}},60895(e,t,n){var r=n(20085),i=n(69302),o=n(99374),a=i((function(e,t,n){return r(e,o(t)||0,n)}));e.exports=a}}]);
1
+ (this.webpackChunktocco_admin=this.webpackChunktocco_admin||[]).push([[55348],{55348(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>zn});var r,i,o,a,s,c=n(64467),l=n(10582),u=n(6730),d=n(6192),p=n(12199),y=n(97699),f=n(71468),h="history/UPDATE_HISTORY",v="history/SET_MODEL_NAME",m="history/SET_CURRENT_ENTITY",g="history/SET_VIEW",b="history/SET_BREADCRUMBS_INFO",A=function(e){return{type:b,payload:{breadcrumbsInfo:e}}},x=n(4883),w=n(44581),O=n(73615),T="historyEntityOverview/INITIALIZE_ENTITY_OVERVIEW",j="historyEntityOverview/SET_SEARCH_FORM",S="historyEntityOverview/SET_LIST_FORM",E="historyEntityOverview/ADD_ENTRY",P="historyEntityOverview/SET_MAX_AGE",C=function(e){return{type:j,payload:{searchForm:e}}},k=function(e){return{type:S,payload:{listForm:e}}},D=function(e,t){return{type:E,payload:{pk:e,entry:t}}},_=function(e){return{type:P,payload:{maxAge:e}}},F=n(88208),N=n(5544),R=n(144),I=n(38978),L=n(15115),M=n(57528),J=n(51510),V=n(57488),W=n(23366),H=J.Ay.div.withConfig({displayName:"StyledPaneWrapper"})(r||(r=(0,M.A)(["\n display: flex;\n height: 100%;\n flex-direction: column;\n"]))),B=J.Ay.div.withConfig({displayName:"StyledListView"})(i||(i=(0,M.A)(["\n display: grid;\n grid-template-rows: [action-start] auto [table-start] minmax(0, 1fr);\n height: 100%;\n width: 100%;\n"]))),z=J.Ay.div.withConfig({displayName:"StyledListWrapper"})(o||(o=(0,M.A)(["\n grid-row-start: table-start;\n border-radius: ",";\n overflow: clip;\n margin-bottom: ",";\n"])),V.t7.radii("large"),V.t7.space("outerPadding")),q=(0,J.Ay)(W.Fu).withConfig({displayName:"StyledSidepanelContent"})(a||(a=(0,M.A)(["\n overflow-x: auto;\n"]))),G=n(74848);const Q=function(e){var t=e.SidepanelComponent,n=e.DetailComponent,r=(0,x.useState)(!1),i=(0,N.A)(r,2),o=i[0],a=i[1];return(0,G.jsx)(H,{children:(0,G.jsxs)(R.A,{sidepanelPosition:"left",sidepanelCollapsed:o,setSidepanelCollapsed:a,scrollBehaviour:"inline",children:[(0,G.jsxs)(I.A,{children:[s||(s=(0,G.jsx)(L.A,{})),t]}),(0,G.jsx)(q,{children:(0,G.jsx)(B,{children:(0,G.jsx)(z,{children:n})})})]})})};var U,Y,K="historyTable/SET_CURRENT_PAGE",Z="historyTable/LOAD_NEW_PAGE",X="historyTable/SET_TOTAL_COUNT",$="historyTable/SET_SEARCH_FIELDS",ee="historyTable/SET_TABLE_DATA",te="historyTable/SET_LOADING",ne="historyTable/ON_SELECT_CHANGE",re="historyTable/SET_SELECTION",ie=function(e){return{type:X,payload:{totalCount:e}}},oe=function(e){return{type:ee,payload:{tableData:e}}},ae=function(e){return{type:te,payload:{loading:e}}},se=function(e){return{type:re,payload:{selection:e}}},ce=n(60895),le=n.n(ce),ue=n(17678),de=n(26166),pe=n(31934),ye=J.Ay.div.withConfig({displayName:"Box"})(U||(U=(0,M.A)(["\n background-color: ",";\n overflow-y: auto;\n padding: "," "," "," ",";\n position: relative;\n border-radius: 0;\n\n "," {\n margin-bottom: 0;\n }\n\n &:first-of-type {\n z-index: 2; /* higher than StyledTether to prevent cover on scroll */\n }\n"])),V.t7.color("paper"),de.A.space(-.75),de.A.space(-.375),de.A.space(-1.1),de.A.space(-.375),pe.A);J.Ay.div.withConfig({displayName:"StyledExtendSearchButtonWrapper"})(Y||(Y=(0,M.A)(["\n && {\n width: 100%;\n text-align: center;\n }\n"])));const fe=function(e){var t=e.searchFormDefinition,n=e.setSearchFields,r=e.setCurrentPage,i=(0,x.useCallback)((function(e){var t=e.values,i=e.event,o=Object.keys(t).length>0;"init"===i?(r(1),n(o?t:{})):le()((function(){r(1),n(o?t:{})}),500)}),[n,r]);return t.children?(0,G.jsx)(ye,{children:(0,G.jsx)(ue.A,{form:t,noButtons:!0,validate:!1,mappingType:"search",mode:"search",onChange:i,onSubmit:i,labelPosition:"inside"})}):null};var he={setSearchFields:function(e){return{type:$,payload:{searchFields:e}}},setCurrentPage:function(e){return{type:K,payload:{currentPage:e}}}};const ve=(0,f.Ng)((function(){return{}}),he)(fe);var me,ge,be,Ae=n(72954),xe=n(16172),we=n(41394),Oe=n(11341),Te=function(e){return!e.hidden},je=function(e,t){return{username:t.username,entityModel:e,entityKey:t.entity_key,ipAddress:t.ip_address,operation:t.operation,dateFrom:Se(t,"from"),dateTo:Se(t,"to")}},Se=function(e,t){var n;return null!=e&&null!==(n=e.date)&&void 0!==n&&n.isRangeValue?e.date[t]:null!=e&&e.date?"to"===t?(0,xe.f)(null==e?void 0:e.date,1).toISOString():(0,we.H)(null==e?void 0:e.date).toISOString():null==e?void 0:e.date},Ee=n(48235),Pe=n(1671),Ce=J.Ay.div.withConfig({displayName:"StyledTableWrapper"})(me||(me=(0,M.A)(["\n width: 100%;\n height: 100%;\n overflow: auto;\n\n && th {\n border-bottom: 3px solid ",";\n padding: "," 0 "," 0;\n }\n"])),V.t7.color("backgroundBody"),de.A.space(-1.1),de.A.space(-1.1)),ke=(J.Ay.div.withConfig({displayName:"StyledColumnContentWrapper"})(ge||(ge=(0,M.A)(["\n display: flex;\n align-items: center;\n\n > * {\n margin-right: ",";\n }\n"])),de.A.space(-2)),J.Ay.div.withConfig({displayName:"StyledCell"})(be||(be=(0,M.A)(["\n display: flex;\n align-items: center;\n width: 100%;\n\n "," {\n margin-right: 10px;\n }\n"])),Pe.NR)),De=function(e){var t=e.column,n=e.rowData;return null!=t&&t.children?(0,G.jsx)(G.Fragment,{children:t.children.map((function(e){var t=e.path,r=e.dataType,i=e.id,o=Ee.A.factory("list",r),a=n[t];return(0,G.jsx)(ke,{children:(0,G.jsx)(o,{type:r,mappingType:"list",formField:e,value:a,breakWords:!1})},i)}))}):null};const _e=function(e){var t=e.tableData,n=e.listFormDefinition,r=e.totalCount,i=e.currentPage,o=e.recordsPerPage,a=e.loadNewPage,s=e.selection,c=e.onSelectChange,l=e.selectionStyle,u=e.loading,d=e.onRowClick;if(!n.children)return null;var p=function(e,t){return e.table.children.map((function(e){return{id:e.id,label:e.label,dynamic:!0,sorting:{sortable:!1},shrinkToContent:e.shrinkToContent||!1,sticky:e.sticky||!1,children:e.children.filter(Te),resizable:!e.widthFixed,fixedPosition:!0,alignment:"left",CellRenderer:t}}))}({table:n.children.find((function(e){return e.componentType===Oe.A.componentTypes.TABLE}))},De);return(0,G.jsx)(Ce,{children:(0,G.jsx)(Ae.A,{columns:p,data:t,scrollBehaviour:"inline",paginationInfo:{currentPage:i,recordsPerPage:o,totalCount:r},onPageChange:a,selectionStyle:l,selection:s,onSelectionChange:c,hasSelectionHeader:!1,onRowClick:d,clickable:Boolean(d),dataLoadingInProgress:u})})};var Fe={loadNewPage:function(e){return{type:Z,payload:{newPage:e}}},onSelectChange:function(e,t){return{type:ne,payload:{keys:e,isSelected:t}}}};const Ne=(0,f.Ng)((function(e){return{loading:e.historyTable.loading,tableData:e.historyTable.tableData,totalCount:e.historyTable.totalCount,currentPage:e.historyTable.currentPage,recordsPerPage:e.historyTable.recordsPerPage,selection:e.historyTable.selection}}),Fe)(_e);var Re=n(53986),Ie=["theme"];function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Me=(0,x.lazy)((function(){return n.e(63659).then(n.bind(n,63659))}));const Je=(0,J.SL)((function(e){var t=e.theme,n=(0,Re.A)(e,Ie);return(0,G.jsx)(Me,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hideSummary:!0,useDarkTheme:t.diffViewerDarkTheme,styles:{variables:{light:t.diffViewer,dark:t.diffViewer},diffContainer:{position:"absolute"},codeFold:{color:t.colors.text},lineNumber:{color:t.colors.text},titleBlock:{height:"auto"}}},n))}));var Ve,We,He,Be,ze,qe,Ge,Qe,Ue,Ye=n(17819),Ke=n(5016),Ze=J.Ay.div.withConfig({displayName:"StyledSidepanelSearchWrapper"})(Ve||(Ve=(0,M.A)(["\n display: grid;\n position: relative;\n grid-template-rows: auto 1fr;\n flex: 1;\n margin-bottom: ",";\n"])),V.t7.space("outerPadding")),Xe=J.Ay.div.withConfig({displayName:"StyledSearchFormWrapper"})(We||(We=(0,M.A)(["\n margin-bottom: 4px;\n"]))),$e=J.Ay.div.withConfig({displayName:"StyledTableWrapper"})(He||(He=(0,M.A)(["\n width: 100%;\n height: 100%;\n overflow: auto;\n border-radius: 0 0 "," ",";\n\n "," {\n overflow-x: hidden;\n }\n"])),V.t7.radii("large"),V.t7.radii("large"),Ye.dm),et=J.Ay.div.withConfig({displayName:"StyledContainer"})(Be||(Be=(0,M.A)(["\n height: 100%;\n background-color: ",";\n position: relative;\n border-radius: ",";\n overflow: clip;\n"])),V.t7.color("paper"),V.t7.radii("medium")),tt=J.Ay.div.withConfig({displayName:"StyledHintContainer"})(ze||(ze=(0,M.A)(["\n background-color: ",";\n height: 100%;\n padding: ",";\n text-align: center;\n"])),V.t7.color("paper"),de.A.space(1)),nt=J.Ay.span.withConfig({displayName:"StyledTitleWrapper"})(qe||(qe=(0,M.A)(["\n text-align: center;\n display: block;\n"]))),rt=(0,J.Ay)(Ke.oY).withConfig({displayName:"StyledTitleText"})(Ge||(Ge=(0,M.A)(["\n && {\n margin-left: ",";\n }\n"])),de.A.space(-1.37)),it=J.Ay.div.withConfig({displayName:"StyledDiffViewerWrapper"})(Qe||(Qe=(0,M.A)(["\n position: relative;\n overflow: auto;\n flex: 1;\n"]))),ot=n(76956),at=function(e){return(0,G.jsxs)(nt,{children:[(0,G.jsx)(ot.A,{value:null==e?void 0:e.created,type:"datetime"}),(0,G.jsxs)(rt,{children:["(",null==e?void 0:e.commitId,")"]}),Ue||(Ue=(0,G.jsx)("br",{})),(0,G.jsxs)(rt,{children:[null==e?void 0:e.username,"@",null==e?void 0:e.ipAddress]})]})};const st=function(e){var t=e.selection,n=e.entries[t[0]];return(0,G.jsx)(F.A,{required:[n],children:(0,G.jsx)(it,{children:(0,G.jsx)(Je,{oldValue:null==n?void 0:n.xmlContent,newValue:null==n?void 0:n.xmlContent,splitView:!1,showDiffOnly:!1,hideLineNumbers:!0,leftTitle:at(n)})})})};var ct=n(60436),lt=n(87046),ut=n(56375),dt=function(e){return null==e?void 0:e.replaceAll(' changed="true"',"")};const pt=function(e){var t=e.selection,n=e.entries,r=(0,ct.A)(t).sort((function(e,t){return e-t})),i=(0,N.A)(r,2),o=i[0],a=i[1],s=n[o],c=n[a];return(0,G.jsx)(F.A,{required:[s,c],children:(0,G.jsx)(it,{children:(0,G.jsx)(Je,{oldValue:dt(null==s?void 0:s.xmlContent),newValue:dt(null==c?void 0:c.xmlContent),leftTitle:at(s),rightTitle:at(c),compareMethod:"diffWords",codeFoldMessageRenderer:function(e){return(0,G.jsx)(ut.Ay.P,{children:(0,G.jsx)(lt.sA,{id:"client.actions.history.moreLines",values:{number:e}})})}})})})};var yt;const ft=function(e){var t=e.maxAge;return(0,G.jsxs)(tt,{children:[yt||(yt=(0,G.jsx)(ut.Ay.P,{children:(0,G.jsx)(lt.sA,{id:"client.actions.history.overviewEmpty"})})),(0,G.jsx)(ut.Ay.P,{children:(0,G.jsx)(lt.sA,{id:"client.actions.history.maxAge",values:{months:t}})})]})};const ht=function(e){var t=e.initializeEntityOverview,n=e.searchFormDefinition,r=e.listFormDefinition,i=e.entries,o=e.selection,a=e.maxAge;(0,x.useEffect)((function(){t()}),[t]);var s=(0,G.jsxs)(Ze,{children:[(0,G.jsx)(Xe,{children:(0,G.jsx)(ve,{searchFormDefinition:n})}),(0,G.jsx)($e,{children:(0,G.jsx)(Ne,{listFormDefinition:r,selectionStyle:"multi"})})]}),c=(0,G.jsxs)(et,{children:[0===o.length&&(0,G.jsx)(ft,{maxAge:a}),1===o.length&&(0,G.jsx)(st,{selection:o,entries:i}),2===o.length&&(0,G.jsx)(pt,{selection:o,entries:i})]});return(0,G.jsx)(F.A,{required:[n,r],children:(0,G.jsx)(Q,{SidepanelComponent:s,DetailComponent:c})})};var vt={initializeEntityOverview:function(){return{type:T}}};const mt=(0,f.Ng)((function(e){return{searchFormDefinition:e.historyEntityOverview.searchForm,listFormDefinition:e.historyEntityOverview.listForm,selection:e.historyTable.selection,entries:e.historyEntityOverview.entries,maxAge:e.historyEntityOverview.maxAge}}),vt)(ht);var gt="historyModelOverview/INITIALIZE_MODEL_OVERVIEW",bt="historyModelOverview/SET_SEARCH_FORM",At="historyModelOverview/SET_LIST_FORM",xt=function(e){return{type:bt,payload:{searchForm:e}}},wt=function(e){return{type:At,payload:{listForm:e}}};const Ot=function(e){var t=e.initializeModelOverview,n=e.modelName,r=e.tableData,i=e.searchFormDefinition,o=e.listFormDefinition,a=e.setSelection,s=(0,w.Zp)();(0,x.useEffect)((function(){t(),a([])}),[t,a]);var c=(0,G.jsx)(Ne,{listFormDefinition:o,selectionStyle:"none",onRowClick:function(e){var t=r.find((function(t){return t.__key===e}));s("/history/".concat(n,"/").concat(t.entity_key)),a([e])}});return(0,G.jsx)(F.A,{required:[i,o],children:(0,G.jsx)(Q,{SidepanelComponent:(0,G.jsx)(ve,{searchFormDefinition:i}),DetailComponent:c})})};var Tt={initializeModelOverview:function(){return{type:gt}},setSelection:se};const jt=(0,f.Ng)((function(e){return{modelName:e.history.modelName,tableData:e.historyTable.tableData,searchFormDefinition:e.historyModelOverview.searchForm,listFormDefinition:e.historyModelOverview.listForm}}),Tt)(Ot);var St,Et;const Pt=function(e){var t=e.updateHistory,n=e.view,r=e.breadcrumbsInfo,i=(0,w.zy)();return(0,x.useEffect)((function(){t(i.pathname)}),[t,i.pathname]),(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(O.A,{breadcrumbsInfo:r,updateDocumentTitle:!0,showToccoHome:!0}),"entityOverview"===n?St||(St=(0,G.jsx)(mt,{})):Et||(Et=(0,G.jsx)(jt,{}))]})};var Ct={updateHistory:function(e){return{type:h,payload:{pathname:e}}}};const kt=(0,f.Ng)((function(e){return{view:e.history.view,breadcrumbsInfo:e.history.breadcrumbsInfo}}),Ct)(Pt);var Dt=n(98671),_t={modelName:void 0,currentEntity:void 0,view:void 0,breadcrumbsInfo:[]},Ft=(0,c.A)((0,c.A)((0,c.A)((0,c.A)({},v,Dt.A.singleTransferReducer("modelName")),m,Dt.A.singleTransferReducer("currentEntity")),g,Dt.A.singleTransferReducer("view")),b,Dt.A.singleTransferReducer("breadcrumbsInfo"));const Nt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_t,t=arguments.length>1?arguments[1]:void 0,n=Ft[t.type];return n?n(e,t):e};var Rt=n(54756),It=n.n(Rt),Lt=n(69917),Mt=n(93750),Jt=n(33779),Vt=It().mark(Bt),Wt=It().mark(qt),Ht=function(e,t){return e.app.messages[t]};function Bt(){return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Q7)([(0,Lt.p8)(h,zt)]);case 1:case"end":return e.stop()}}),Vt)}function zt(e){var t=e.payload.pathname;return It().mark((function e(){var n;return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.T1)(Jt.A.extractParamsFromPath,"/history/:model{/:key}?",t);case 1:return n=e.sent,e.next=2,(0,Lt.yJ)((o=n.model,{type:v,payload:{modelName:o}}));case 2:return e.next=3,(0,Lt.yJ)((i=n.key?"entityOverview":"modelOverview",{type:g,payload:{view:i}}));case 3:return e.next=4,(0,Lt.yJ)((r=n.key,{type:m,payload:{currentEntity:r}}));case 4:return e.next=5,(0,Lt.T1)(qt,n.model,n.key);case 5:case"end":return e.stop()}var r,i,o}),e)}))()}function qt(e,t){var n,r,i,o,a;return It().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=1,(0,Lt.Lt)(Ht,"client.actions.history.title");case 1:return n=s.sent,s.next=2,(0,Lt.T1)(Mt.A.fetchModel,e);case 2:if(r=s.sent,i=[{display:"".concat(n," - ").concat(r.label),path:"history/".concat(e),title:"".concat(n," - ").concat(r.label),type:"list"}],!t){s.next=4;break}return s.next=3,(0,Lt.T1)(Mt.A.fetchDisplay,e,t);case 3:o=s.sent,a=o?"".concat(t," (").concat(o,")"):t,i.push({display:a,title:"".concat(n," - ").concat(r.label," - ").concat(a)});case 4:return s.next=5,(0,Lt.yJ)(A(i));case 5:case"end":return s.stop()}}),Wt)}function Gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gt(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ut={searchForm:void 0,listForm:void 0,entries:{},maxAge:void 0},Yt=(0,c.A)((0,c.A)((0,c.A)((0,c.A)({},j,Dt.A.singleTransferReducer("searchForm")),S,Dt.A.singleTransferReducer("listForm")),E,(function(e,t){var n=t.payload,r=n.pk,i=n.entry;return Qt(Qt({},e),{},{entries:Qt(Qt({},e.entries),{},(0,c.A)({},r,i))})})),P,Dt.A.singleTransferReducer("maxAge"));const Kt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ut,t=arguments.length>1?arguments[1]:void 0,n=Yt[t.type];return n?n(e,t):e};function Zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $t(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return en(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?en(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function en(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var tn=It().mark(sn),nn=It().mark(cn),rn=It().mark(un),on=It().mark(dn),an=function(e){return e.historyEntityOverview};function sn(){return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Q7)([(0,Lt.p8)(T,cn),(0,Lt.p8)(re,ln)]);case 1:case"end":return e.stop()}}),tn)}function cn(){var e,t,n,r;return It().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=1,(0,Lt.Q7)([(0,Lt.T1)(Mt.A.fetchForm,"History_action_entity_overview","search"),(0,Lt.T1)(Mt.A.fetchForm,"History_action_entity_overview","list"),(0,Lt.T1)(dn)]);case 1:return e=i.sent,t=(0,N.A)(e,2),n=t[0],r=t[1],i.next=2,(0,Lt.yJ)(C(n));case 2:return i.next=3,(0,Lt.yJ)(k(r));case 3:case"end":return i.stop()}}),nn)}function ln(e){var t=e.payload.selection;return It().mark((function e(){var n,r,i,o;return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=$t(t),e.prev=1,n.s();case 2:if((r=n.n()).done){e.next=4;break}return i=r.value,e.next=3,(0,Lt.T1)(un,i);case 3:e.next=2;break;case 4:e.next=6;break;case 5:e.prev=5,o=e.catch(1),n.e(o);case 6:return e.prev=6,n.f(),e.finish(6);case 7:case"end":return e.stop()}}),e,null,[[1,5,6,7]])}))()}function un(e){var t,n,r;return It().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=1,(0,Lt.Lt)(an);case 1:if(t=i.sent,!t.entries[e]){i.next=2;break}return i.abrupt("return");case 2:return i.prev=2,i.next=3,(0,Lt.T1)(Mt.A.requestSaga,"actions/history/".concat(e),{method:"GET"});case 3:return n=i.sent,r=Xt({xmlContent:n.body.xmlContent},n.body.entry),i.next=4,(0,Lt.yJ)(D(e,r));case 4:i.next=6;break;case 5:return i.prev=5,i.catch(2),i.next=6,(0,Lt.yJ)(d.A.toaster({type:"error",title:"client.actions.history.error.table.header",body:"client.actions.history.error.table.body"}));case 6:case"end":return i.stop()}}),rn,null,[[2,5]])}function dn(){var e,t;return It().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=1,(0,Lt.Lt)(an);case 1:if(e=n.sent,e.maxAge){n.next=3;break}return n.next=2,(0,Lt.T1)(Mt.A.requestSaga,"actions/history",{method:"GET"});case 2:return t=n.sent,n.next=3,(0,Lt.yJ)(_(t.body.maxAge));case 3:case"end":return n.stop()}}),on)}var pn={searchForm:void 0,listForm:void 0},yn=(0,c.A)((0,c.A)({},bt,Dt.A.singleTransferReducer("searchForm")),At,Dt.A.singleTransferReducer("listForm"));const fn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pn,t=arguments.length>1?arguments[1]:void 0,n=yn[t.type];return n?n(e,t):e};var hn=It().mark(mn),vn=It().mark(gn);function mn(){return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Q7)([(0,Lt.p8)(gt,gn)]);case 1:case"end":return e.stop()}}),hn)}function gn(){var e,t,n,r;return It().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=1,(0,Lt.Q7)([(0,Lt.T1)(Mt.A.fetchForm,"History_action_model_overview","search"),(0,Lt.T1)(Mt.A.fetchForm,"History_action_model_overview","list")]);case 1:return e=i.sent,t=(0,N.A)(e,2),n=t[0],r=t[1],i.next=2,(0,Lt.yJ)(xt(n));case 2:return i.next=3,(0,Lt.yJ)(wt(r));case 3:case"end":return i.stop()}}),vn)}var bn={totalCount:0,currentPage:1,recordsPerPage:25,searchFields:{},loading:!1,tableData:[],selection:[]},An=(0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)({},te,Dt.A.singleTransferReducer("loading")),X,Dt.A.singleTransferReducer("totalCount")),K,Dt.A.singleTransferReducer("currentPage")),Z,Dt.A.mappingTransferReducer("newPage","currentPage")),$,Dt.A.singleTransferReducer("searchFields")),ee,Dt.A.singleTransferReducer("tableData")),re,Dt.A.singleTransferReducer("selection"));const xn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:bn,t=arguments.length>1?arguments[1]:void 0,n=An[t.type];return n?n(e,t):e};var wn=n(63375),On=n.n(wn),Tn=function(e,t,n){return n?On()([].concat((0,ct.A)(e),(0,ct.A)(t))).slice(-2):e.filter((function(e){return!t.includes(e)}))};function jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jn(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var En=It().mark(Dn),Pn=It().mark(Fn),Cn=function(e){return e.history},kn=function(e){return e.historyTable};function Dn(){return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Q7)([(0,Lt.p8)(ne,_n),(0,Lt.p8)($,Fn),(0,Lt.p8)(Z,Fn)]);case 1:case"end":return e.stop()}}),En)}function _n(e){var t=e.payload,n=t.keys,r=t.isSelected;return It().mark((function e(){var t,i,o;return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Lt)(kn);case 1:return t=e.sent,i=t.selection,e.next=2,(0,Lt.T1)(Tn,i,n,r);case 2:return o=e.sent,e.next=3,(0,Lt.yJ)(se(o));case 3:case"end":return e.stop()}}),e)}))()}function Fn(){var e,t,n,r,i,o,a,s,c,l,u;return It().wrap((function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=1,(0,Lt.Lt)(Cn);case 1:return e=p.sent,t=e.modelName,n=e.currentEntity,p.next=2,(0,Lt.Lt)(kn);case 2:return r=p.sent,i=r.recordsPerPage,o=r.currentPage,a=r.searchFields,s=Sn(Sn(Sn({},je(t,a)),n?{entityKey:n}:{}),{},{offset:(o-1)*i,limit:i}),p.prev=3,p.next=4,(0,Lt.yJ)(ae(!0));case 4:return p.next=5,(0,Lt.T1)(Mt.A.requestSaga,"/actions/history",{method:"POST",body:s});case 5:return c=p.sent,l=c.body.entries,u=c.body.totalCount,p.next=6,(0,Lt.yJ)(oe(l.map((function(e){return{__key:(t=e).pk,entity_key:t.entityKey,operation:t.operation,username:t.username,ip_address:t.ipAddress,date:t.created};var t}))));case 6:return p.next=7,(0,Lt.yJ)(ie(u));case 7:return p.next=8,(0,Lt.yJ)(ae(!1));case 8:p.next=13;break;case 9:return p.prev=9,p.catch(3),p.next=10,(0,Lt.yJ)(d.A.toaster({type:"error",title:"client.actions.history.error.table.header",body:"client.actions.history.error.table.body"}));case 10:return p.next=11,(0,Lt.yJ)(oe([]));case 11:return p.next=12,(0,Lt.yJ)(ie(0));case 12:return p.next=13,(0,Lt.yJ)(ae(!1));case 13:case"end":return p.stop()}}),Pn,null,[[3,9]])}const Nn={history:Nt,historyEntityOverview:Kt,historyModelOverview:fn,historyTable:xn};var Rn,In=[Bt,sn,mn,Dn],Ln="history",Mn=["emitAction"],Jn=function(e,t,n,r){var i=Rn||(Rn=(0,G.jsx)(kt,{})),o=l.A.createStore(Nn,In,t,Ln);u.A.addToStore(o,(function(e){return e.input.emitAction}));var a=!(null!=n&&n.emitAction);return d.A.addToStore(o,a),y.A.addToStore(o,a,["console","remote","notification"]),p.A.addToStore(o,(function(e){return l.A.getEvents(Mn,e.input)})),l.A.createApp(Ln,i,o,{input:t,events:n,actions:[],publicPath:r,textResourceModules:["component","common","actions",Ln]})},Vn=function(e){return l.A.useApp({initApp:Jn,props:e,packageName:Ln}).component};Vn.propTypes={};const Wn=Vn;function Hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const Bn=function(e){return(0,G.jsx)(Wn,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hn(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))},zn={container:Bn}},20085(e){e.exports=function(e,t,n){if("function"!=typeof e)throw new TypeError("Expected a function");return setTimeout((function(){e.apply(void 0,n)}),t)}},60895(e,t,n){var r=n(20085),i=n(69302),o=n(99374),a=i((function(e,t,n){return r(e,o(t)||0,n)}));e.exports=a}}]);